Class ContainerRegistryDestination.Builder

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

public static final class ContainerRegistryDestination.Builder extends com.google.protobuf.GeneratedMessage.Builder<ContainerRegistryDestination.Builder> implements ContainerRegistryDestinationOrBuilder
 The Container Registry location for the container image.
 
Protobuf type google.cloud.aiplatform.v1.ContainerRegistryDestination
  • 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<ContainerRegistryDestination.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<ContainerRegistryDestination.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<ContainerRegistryDestination.Builder>
    • getDefaultInstanceForType

      public ContainerRegistryDestination 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

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

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

      public ContainerRegistryDestination.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<ContainerRegistryDestination.Builder>
      Throws:
      IOException
    • getOutputUri

      public String getOutputUri()
       Required. Container Registry URI of a container image.
       Only Google Container Registry and Artifact Registry are supported now.
       Accepted forms:
      
       *  Google Container Registry path. For example:
       `gcr.io/projectId/imageName:tag`.
      
       *  Artifact Registry path. For example:
       `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
      
       If a tag is not specified, "latest" will be used as the default tag.
       
      string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputUri in interface ContainerRegistryDestinationOrBuilder
      Returns:
      The outputUri.
    • getOutputUriBytes

      public com.google.protobuf.ByteString getOutputUriBytes()
       Required. Container Registry URI of a container image.
       Only Google Container Registry and Artifact Registry are supported now.
       Accepted forms:
      
       *  Google Container Registry path. For example:
       `gcr.io/projectId/imageName:tag`.
      
       *  Artifact Registry path. For example:
       `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
      
       If a tag is not specified, "latest" will be used as the default tag.
       
      string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputUriBytes in interface ContainerRegistryDestinationOrBuilder
      Returns:
      The bytes for outputUri.
    • setOutputUri

      public ContainerRegistryDestination.Builder setOutputUri(String value)
       Required. Container Registry URI of a container image.
       Only Google Container Registry and Artifact Registry are supported now.
       Accepted forms:
      
       *  Google Container Registry path. For example:
       `gcr.io/projectId/imageName:tag`.
      
       *  Artifact Registry path. For example:
       `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
      
       If a tag is not specified, "latest" will be used as the default tag.
       
      string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The outputUri to set.
      Returns:
      This builder for chaining.
    • clearOutputUri

      public ContainerRegistryDestination.Builder clearOutputUri()
       Required. Container Registry URI of a container image.
       Only Google Container Registry and Artifact Registry are supported now.
       Accepted forms:
      
       *  Google Container Registry path. For example:
       `gcr.io/projectId/imageName:tag`.
      
       *  Artifact Registry path. For example:
       `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
      
       If a tag is not specified, "latest" will be used as the default tag.
       
      string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOutputUriBytes

      public ContainerRegistryDestination.Builder setOutputUriBytes(com.google.protobuf.ByteString value)
       Required. Container Registry URI of a container image.
       Only Google Container Registry and Artifact Registry are supported now.
       Accepted forms:
      
       *  Google Container Registry path. For example:
       `gcr.io/projectId/imageName:tag`.
      
       *  Artifact Registry path. For example:
       `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
      
       If a tag is not specified, "latest" will be used as the default tag.
       
      string output_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for outputUri to set.
      Returns:
      This builder for chaining.