Class PipelineJob.RuntimeConfig.InputArtifact.Builder (3.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PipelineJob.RuntimeConfig.InputArtifact build()
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact

buildPartial()

public PipelineJob.RuntimeConfig.InputArtifact buildPartial()
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact

clear()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clear()
Returns
TypeDescription
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
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

clearKind()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearKind()
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

clone()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for artifactId.

getDefaultInstanceForType()

public PipelineJob.RuntimeConfig.InputArtifact getDefaultInstanceForType()
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKindCase()

public PipelineJob.RuntimeConfig.InputArtifact.KindCase getKindCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the artifactId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PipelineJob.RuntimeConfig.InputArtifact other)

public PipelineJob.RuntimeConfig.InputArtifact.Builder mergeFrom(PipelineJob.RuntimeConfig.InputArtifact other)
Parameter
NameDescription
otherPipelineJob.RuntimeConfig.InputArtifact
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PipelineJob.RuntimeConfig.InputArtifact.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PipelineJob.RuntimeConfig.InputArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The artifactId to set.

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

The bytes for artifactId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PipelineJob.RuntimeConfig.InputArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PipelineJob.RuntimeConfig.InputArtifact.Builder
Overrides