Class PipelineTemplateMetadata.Builder (3.84.0)

public static final class PipelineTemplateMetadata.Builder extends GeneratedMessage.Builder<PipelineTemplateMetadata.Builder> implements PipelineTemplateMetadataOrBuilder

Pipeline template metadata if PipelineJob.template_uri is from supported template registry. Currently, the only supported registry is Artifact Registry.

Protobuf type google.cloud.aiplatform.v1beta1.PipelineTemplateMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PipelineTemplateMetadata build()
Returns
Type Description
PipelineTemplateMetadata

buildPartial()

public PipelineTemplateMetadata buildPartial()
Returns
Type Description
PipelineTemplateMetadata

clear()

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

clearVersion()

public PipelineTemplateMetadata.Builder clearVersion()

The version_name in artifact registry.

Will always be presented in output if the PipelineJob.template_uri is from supported template registry.

Format is "sha256:abcdef123456...".

string version = 3;

Returns
Type Description
PipelineTemplateMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public PipelineTemplateMetadata getDefaultInstanceForType()
Returns
Type Description
PipelineTemplateMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVersion()

public String getVersion()

The version_name in artifact registry.

Will always be presented in output if the PipelineJob.template_uri is from supported template registry.

Format is "sha256:abcdef123456...".

string version = 3;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version_name in artifact registry.

Will always be presented in output if the PipelineJob.template_uri is from supported template registry.

Format is "sha256:abcdef123456...".

string version = 3;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PipelineTemplateMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setVersion(String value)

public PipelineTemplateMetadata.Builder setVersion(String value)

The version_name in artifact registry.

Will always be presented in output if the PipelineJob.template_uri is from supported template registry.

Format is "sha256:abcdef123456...".

string version = 3;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
PipelineTemplateMetadata.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public PipelineTemplateMetadata.Builder setVersionBytes(ByteString value)

The version_name in artifact registry.

Will always be presented in output if the PipelineJob.template_uri is from supported template registry.

Format is "sha256:abcdef123456...".

string version = 3;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
PipelineTemplateMetadata.Builder

This builder for chaining.