Class DeployPublisherModelOperationMetadata.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

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

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

       The operation generic information.
       
      .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
    • setGenericMetadata

       The operation generic information.
       
      .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
    • mergeGenericMetadata

       The operation generic information.
       
      .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
    • clearGenericMetadata

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

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

      public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()
       The operation generic information.
       
      .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
      Specified by:
      getGenericMetadataOrBuilder in interface DeployPublisherModelOperationMetadataOrBuilder
    • 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPublisherModel in interface DeployPublisherModelOperationMetadataOrBuilder
      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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPublisherModelBytes in interface DeployPublisherModelOperationMetadataOrBuilder
      Returns:
      The bytes for publisherModel.
    • setPublisherModel

      public DeployPublisherModelOperationMetadata.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The publisherModel to set.
      Returns:
      This builder for chaining.
    • clearPublisherModel

      public DeployPublisherModelOperationMetadata.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setPublisherModelBytes

      public DeployPublisherModelOperationMetadata.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 = 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 DeployPublisherModelOperationMetadataOrBuilder
      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 DeployPublisherModelOperationMetadataOrBuilder
      Returns:
      The bytes for destination.
    • setDestination

       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

       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 DeployPublisherModelOperationMetadata.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 DeployPublisherModelOperationMetadataOrBuilder
      Returns:
      The projectNumber.
    • setProjectNumber

      public DeployPublisherModelOperationMetadata.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 DeployPublisherModelOperationMetadata.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.