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.v1.ContainerRegistryDestination
Methods
public ContainerRegistryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ContainerRegistryDestination build()
Returns
public ContainerRegistryDestination buildPartial()
Returns
public ContainerRegistryDestination.Builder clear()
Returns
Overrides
public ContainerRegistryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ContainerRegistryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public ContainerRegistryDestination.Builder clone()
Returns
Overrides
public ContainerRegistryDestination getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ContainerRegistryDestination.Builder mergeFrom(ContainerRegistryDestination other)
Parameter
Returns
public ContainerRegistryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ContainerRegistryDestination.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ContainerRegistryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ContainerRegistryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public ContainerRegistryDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ContainerRegistryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides