Class PipelineJob.RuntimeConfig.InputArtifact.Builder (3.42.0)

public static final class PipelineJob.RuntimeConfig.InputArtifact.Builder extends GeneratedMessageV3.Builder<PipelineJob.RuntimeConfig.InputArtifact.Builder> implements PipelineJob.RuntimeConfig.InputArtifactOrBuilder

The type of an input artifact.

Protobuf type google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PipelineJob.RuntimeConfig.InputArtifact build()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact

buildPartial()

public PipelineJob.RuntimeConfig.InputArtifact buildPartial()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact

clear()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clear()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

clearArtifactId()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearArtifactId()

Artifact resource id from MLMD. Which is the last portion of an artifact resource name: projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}. The artifact must stay within the same project, location and default metadatastore as the pipeline.

string artifact_id = 1;

Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

clearKind()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearKind()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

clone()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clone()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

getArtifactId()

public String getArtifactId()

Artifact resource id from MLMD. Which is the last portion of an artifact resource name: projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}. The artifact must stay within the same project, location and default metadatastore as the pipeline.

string artifact_id = 1;

Returns
Type Description
String

The artifactId.

getArtifactIdBytes()

public ByteString getArtifactIdBytes()

Artifact resource id from MLMD. Which is the last portion of an artifact resource name: projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}. The artifact must stay within the same project, location and default metadatastore as the pipeline.

string artifact_id = 1;

Returns
Type Description
ByteString

The bytes for artifactId.

getDefaultInstanceForType()

public PipelineJob.RuntimeConfig.InputArtifact getDefaultInstanceForType()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact

getDescriptorForType()

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

getKindCase()

public PipelineJob.RuntimeConfig.InputArtifact.KindCase getKindCase()
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.KindCase

hasArtifactId()

public boolean hasArtifactId()

Artifact resource id from MLMD. Which is the last portion of an artifact resource name: projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}. The artifact must stay within the same project, location and default metadatastore as the pipeline.

string artifact_id = 1;

Returns
Type Description
boolean

Whether the artifactId field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PipelineJob.RuntimeConfig.InputArtifact other)

public PipelineJob.RuntimeConfig.InputArtifact.Builder mergeFrom(PipelineJob.RuntimeConfig.InputArtifact other)
Parameter
Name Description
other PipelineJob.RuntimeConfig.InputArtifact
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PipelineJob.RuntimeConfig.InputArtifact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PipelineJob.RuntimeConfig.InputArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

setArtifactId(String value)

public PipelineJob.RuntimeConfig.InputArtifact.Builder setArtifactId(String value)

Artifact resource id from MLMD. Which is the last portion of an artifact resource name: projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}. The artifact must stay within the same project, location and default metadatastore as the pipeline.

string artifact_id = 1;

Parameter
Name Description
value String

The artifactId to set.

Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder

This builder for chaining.

setArtifactIdBytes(ByteString value)

public PipelineJob.RuntimeConfig.InputArtifact.Builder setArtifactIdBytes(ByteString value)

Artifact resource id from MLMD. Which is the last portion of an artifact resource name: projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}. The artifact must stay within the same project, location and default metadatastore as the pipeline.

string artifact_id = 1;

Parameter
Name Description
value ByteString

The bytes for artifactId to set.

Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PipelineJob.RuntimeConfig.InputArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides