Class ContainerRegistryDestination.Builder (3.29.0)

public static final class ContainerRegistryDestination.Builder extends GeneratedMessageV3.Builder<ContainerRegistryDestination.Builder> implements ContainerRegistryDestinationOrBuilder

The Container Registry location for the container image.

Protobuf type google.cloud.aiplatform.v1beta1.ContainerRegistryDestination

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerRegistryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

build()

public ContainerRegistryDestination build()
Returns
TypeDescription
ContainerRegistryDestination

buildPartial()

public ContainerRegistryDestination buildPartial()
Returns
TypeDescription
ContainerRegistryDestination

clear()

public ContainerRegistryDestination.Builder clear()
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContainerRegistryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerRegistryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

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
TypeDescription
ContainerRegistryDestination.Builder

This builder for chaining.

clone()

public ContainerRegistryDestination.Builder clone()
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

getDefaultInstanceForType()

public ContainerRegistryDestination getDefaultInstanceForType()
Returns
TypeDescription
ContainerRegistryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
String

The outputUri.

getOutputUriBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for outputUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ContainerRegistryDestination other)

public ContainerRegistryDestination.Builder mergeFrom(ContainerRegistryDestination other)
Parameter
NameDescription
otherContainerRegistryDestination
Returns
TypeDescription
ContainerRegistryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerRegistryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ContainerRegistryDestination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerRegistryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerRegistryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

setOutputUri(String value)

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];

Parameter
NameDescription
valueString

The outputUri to set.

Returns
TypeDescription
ContainerRegistryDestination.Builder

This builder for chaining.

setOutputUriBytes(ByteString value)

public ContainerRegistryDestination.Builder setOutputUriBytes(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];

Parameter
NameDescription
valueByteString

The bytes for outputUri to set.

Returns
TypeDescription
ContainerRegistryDestination.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ContainerRegistryDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerRegistryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerRegistryDestination.Builder
Overrides