Class PipelineTemplateMetadata.Builder (3.54.0)

public static final class PipelineTemplateMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PipelineTemplateMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PipelineTemplateMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTemplateMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.