Class ContainerRegistryDestination.Builder (3.46.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerRegistryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

build()

public ContainerRegistryDestination build()
Returns
Type Description
ContainerRegistryDestination

buildPartial()

public ContainerRegistryDestination buildPartial()
Returns
Type Description
ContainerRegistryDestination

clear()

public ContainerRegistryDestination.Builder clear()
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContainerRegistryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerRegistryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ContainerRegistryDestination.Builder

This builder for chaining.

clone()

public ContainerRegistryDestination.Builder clone()
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

getDefaultInstanceForType()

public ContainerRegistryDestination getDefaultInstanceForType()
Returns
Type Description
ContainerRegistryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for outputUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContainerRegistryDestination other)

public ContainerRegistryDestination.Builder mergeFrom(ContainerRegistryDestination other)
Parameter
Name Description
other ContainerRegistryDestination
Returns
Type Description
ContainerRegistryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerRegistryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ContainerRegistryDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerRegistryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerRegistryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The outputUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for outputUri to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerRegistryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerRegistryDestination.Builder
Overrides