Class PipelineTemplateMetadata.Builder (3.38.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.v1.PipelineTemplateMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PipelineTemplateMetadata build()
Returns
TypeDescription
PipelineTemplateMetadata

buildPartial()

public PipelineTemplateMetadata buildPartial()
Returns
TypeDescription
PipelineTemplateMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineTemplateMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PipelineTemplateMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PipelineTemplateMetadata getDefaultInstanceForType()
Returns
TypeDescription
PipelineTemplateMetadata

getDescriptorForType()

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

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PipelineTemplateMetadata other)

public PipelineTemplateMetadata.Builder mergeFrom(PipelineTemplateMetadata other)
Parameter
NameDescription
otherPipelineTemplateMetadata
Returns
TypeDescription
PipelineTemplateMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTemplateMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
PipelineTemplateMetadata.Builder

This builder for chaining.