Class DeployResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployResponse.Builder>
com.google.cloud.aiplatform.v1.DeployResponse.Builder
All Implemented Interfaces:
DeployResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeployResponse

public static final class DeployResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployResponse.Builder> implements DeployResponseOrBuilder
 Response message for
 [ModelGardenService.Deploy][google.cloud.aiplatform.v1.ModelGardenService.Deploy].
 
Protobuf type google.cloud.aiplatform.v1.DeployResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeployResponse.Builder>
    • clear

      public DeployResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DeployResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DeployResponse.Builder>
    • getDefaultInstanceForType

      public DeployResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DeployResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DeployResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DeployResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployResponse.Builder>
    • mergeFrom

      public DeployResponse.Builder mergeFrom(DeployResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployResponse.Builder>
    • mergeFrom

      public DeployResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployResponse.Builder>
      Throws:
      IOException
    • getPublisherModel

      public String getPublisherModel()
       Output only. The name of the PublisherModel resource.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
       
      string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPublisherModel in interface DeployResponseOrBuilder
      Returns:
      The publisherModel.
    • getPublisherModelBytes

      public com.google.protobuf.ByteString getPublisherModelBytes()
       Output only. The name of the PublisherModel resource.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
       
      string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPublisherModelBytes in interface DeployResponseOrBuilder
      Returns:
      The bytes for publisherModel.
    • setPublisherModel

      public DeployResponse.Builder setPublisherModel(String value)
       Output only. The name of the PublisherModel resource.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
       
      string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The publisherModel to set.
      Returns:
      This builder for chaining.
    • clearPublisherModel

      public DeployResponse.Builder clearPublisherModel()
       Output only. The name of the PublisherModel resource.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
       
      string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setPublisherModelBytes

      public DeployResponse.Builder setPublisherModelBytes(com.google.protobuf.ByteString value)
       Output only. The name of the PublisherModel resource.
       Format:
       `publishers/{publisher}/models/{publisher_model}@{version_id}`, or
       `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`
       
      string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for publisherModel to set.
      Returns:
      This builder for chaining.
    • getEndpoint

      public String getEndpoint()
       Output only. The name of the Endpoint created.
       Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getEndpoint in interface DeployResponseOrBuilder
      Returns:
      The endpoint.
    • getEndpointBytes

      public com.google.protobuf.ByteString getEndpointBytes()
       Output only. The name of the Endpoint created.
       Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getEndpointBytes in interface DeployResponseOrBuilder
      Returns:
      The bytes for endpoint.
    • setEndpoint

      public DeployResponse.Builder setEndpoint(String value)
       Output only. The name of the Endpoint created.
       Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The endpoint to set.
      Returns:
      This builder for chaining.
    • clearEndpoint

      public DeployResponse.Builder clearEndpoint()
       Output only. The name of the Endpoint created.
       Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setEndpointBytes

      public DeployResponse.Builder setEndpointBytes(com.google.protobuf.ByteString value)
       Output only. The name of the Endpoint created.
       Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
       
      string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for endpoint to set.
      Returns:
      This builder for chaining.
    • getModel

      public String getModel()
       Output only. The name of the Model created.
       Format: `projects/{project}/locations/{location}/models/{model}`
       
      string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getModel in interface DeployResponseOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
       Output only. The name of the Model created.
       Format: `projects/{project}/locations/{location}/models/{model}`
       
      string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getModelBytes in interface DeployResponseOrBuilder
      Returns:
      The bytes for model.
    • setModel

      public DeployResponse.Builder setModel(String value)
       Output only. The name of the Model created.
       Format: `projects/{project}/locations/{location}/models/{model}`
       
      string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The model to set.
      Returns:
      This builder for chaining.
    • clearModel

      public DeployResponse.Builder clearModel()
       Output only. The name of the Model created.
       Format: `projects/{project}/locations/{location}/models/{model}`
       
      string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setModelBytes

      public DeployResponse.Builder setModelBytes(com.google.protobuf.ByteString value)
       Output only. The name of the Model created.
       Format: `projects/{project}/locations/{location}/models/{model}`
       
      string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for model to set.
      Returns:
      This builder for chaining.