Class PipelineJob.RuntimeConfig.InputArtifact.Builder (3.20.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public PipelineJob.RuntimeConfig.InputArtifact build()

buildPartial()

public PipelineJob.RuntimeConfig.InputArtifact buildPartial()

clear()

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

clearKind()

public PipelineJob.RuntimeConfig.InputArtifact.Builder clearKind()

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKindCase()

public PipelineJob.RuntimeConfig.InputArtifact.KindCase getKindCase()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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