Class DeployOperationMetadata.Builder

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

public static final class DeployOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployOperationMetadata.Builder> implements DeployOperationMetadataOrBuilder
 Runtime operation information for
 [ModelGardenService.Deploy][google.cloud.aiplatform.v1.ModelGardenService.Deploy].
 
Protobuf type google.cloud.aiplatform.v1.DeployOperationMetadata
  • 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<DeployOperationMetadata.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<DeployOperationMetadata.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<DeployOperationMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public DeployOperationMetadata.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<DeployOperationMetadata.Builder>
    • mergeFrom

    • isInitialized

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

      public DeployOperationMetadata.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<DeployOperationMetadata.Builder>
      Throws:
      IOException
    • hasGenericMetadata

      public boolean hasGenericMetadata()
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
      Specified by:
      hasGenericMetadata in interface DeployOperationMetadataOrBuilder
      Returns:
      Whether the genericMetadata field is set.
    • getGenericMetadata

      public GenericOperationMetadata getGenericMetadata()
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
      Specified by:
      getGenericMetadata in interface DeployOperationMetadataOrBuilder
      Returns:
      The genericMetadata.
    • setGenericMetadata

      public DeployOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • setGenericMetadata

      public DeployOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • mergeGenericMetadata

      public DeployOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • clearGenericMetadata

      public DeployOperationMetadata.Builder clearGenericMetadata()
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • getGenericMetadataBuilder

      public GenericOperationMetadata.Builder getGenericMetadataBuilder()
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
    • getGenericMetadataOrBuilder

      public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()
       The operation generic information.
       
      .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
      Specified by:
      getGenericMetadataOrBuilder in interface DeployOperationMetadataOrBuilder
    • getPublisherModel

      public String getPublisherModel()
       Output only. The name of the model resource.
       
      string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPublisherModel in interface DeployOperationMetadataOrBuilder
      Returns:
      The publisherModel.
    • getPublisherModelBytes

      public com.google.protobuf.ByteString getPublisherModelBytes()
       Output only. The name of the model resource.
       
      string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPublisherModelBytes in interface DeployOperationMetadataOrBuilder
      Returns:
      The bytes for publisherModel.
    • setPublisherModel

      public DeployOperationMetadata.Builder setPublisherModel(String value)
       Output only. The name of the model resource.
       
      string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The publisherModel to set.
      Returns:
      This builder for chaining.
    • clearPublisherModel

      public DeployOperationMetadata.Builder clearPublisherModel()
       Output only. The name of the model resource.
       
      string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setPublisherModelBytes

      public DeployOperationMetadata.Builder setPublisherModelBytes(com.google.protobuf.ByteString value)
       Output only. The name of the model resource.
       
      string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for publisherModel to set.
      Returns:
      This builder for chaining.
    • getDestination

      public String getDestination()
       Output only. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDestination in interface DeployOperationMetadataOrBuilder
      Returns:
      The destination.
    • getDestinationBytes

      public com.google.protobuf.ByteString getDestinationBytes()
       Output only. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDestinationBytes in interface DeployOperationMetadataOrBuilder
      Returns:
      The bytes for destination.
    • setDestination

      public DeployOperationMetadata.Builder setDestination(String value)
       Output only. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The destination to set.
      Returns:
      This builder for chaining.
    • clearDestination

      public DeployOperationMetadata.Builder clearDestination()
       Output only. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setDestinationBytes

      public DeployOperationMetadata.Builder setDestinationBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the Location to deploy the model in.
       Format: `projects/{project}/locations/{location}`
       
      string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for destination to set.
      Returns:
      This builder for chaining.
    • getProjectNumber

      public long getProjectNumber()
       Output only. The project number where the deploy model request is sent.
       
      int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProjectNumber in interface DeployOperationMetadataOrBuilder
      Returns:
      The projectNumber.
    • setProjectNumber

      public DeployOperationMetadata.Builder setProjectNumber(long value)
       Output only. The project number where the deploy model request is sent.
       
      int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The projectNumber to set.
      Returns:
      This builder for chaining.
    • clearProjectNumber

      public DeployOperationMetadata.Builder clearProjectNumber()
       Output only. The project number where the deploy model request is sent.
       
      int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getModelId

      public String getModelId()
       Output only. The model id to be used at query time.
       
      string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModelId in interface DeployOperationMetadataOrBuilder
      Returns:
      The modelId.
    • getModelIdBytes

      public com.google.protobuf.ByteString getModelIdBytes()
       Output only. The model id to be used at query time.
       
      string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModelIdBytes in interface DeployOperationMetadataOrBuilder
      Returns:
      The bytes for modelId.
    • setModelId

      public DeployOperationMetadata.Builder setModelId(String value)
       Output only. The model id to be used at query time.
       
      string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The modelId to set.
      Returns:
      This builder for chaining.
    • clearModelId

      public DeployOperationMetadata.Builder clearModelId()
       Output only. The model id to be used at query time.
       
      string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setModelIdBytes

      public DeployOperationMetadata.Builder setModelIdBytes(com.google.protobuf.ByteString value)
       Output only. The model id to be used at query time.
       
      string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for modelId to set.
      Returns:
      This builder for chaining.