Class Artifact.Builder (2.7.4)

public static final class Artifact.Builder extends GeneratedMessageV3.Builder<Artifact.Builder> implements ArtifactOrBuilder

Instance of a general artifact.

Protobuf type google.cloud.aiplatform.v1.Artifact

Implements

ArtifactOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Artifact build()
Returns
TypeDescription
Artifact

buildPartial()

public Artifact buildPartial()
Returns
TypeDescription
Artifact

clear()

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

clearCreateTime()

public Artifact.Builder clearCreateTime()

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Artifact.Builder

clearDescription()

public Artifact.Builder clearDescription()

Description of the Artifact

string description = 17;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearDisplayName()

public Artifact.Builder clearDisplayName()

User provided display name of the Artifact. May be up to 128 Unicode characters.

string display_name = 2;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearEtag()

public Artifact.Builder clearEtag()

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Artifact.Builder clearLabels()
Returns
TypeDescription
Artifact.Builder

clearMetadata()

public Artifact.Builder clearMetadata()

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
TypeDescription
Artifact.Builder

clearName()

public Artifact.Builder clearName()

Output only. The resource name of the Artifact.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Artifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Artifact.Builder
Overrides

clearSchemaTitle()

public Artifact.Builder clearSchemaTitle()

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 14;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearSchemaVersion()

public Artifact.Builder clearSchemaVersion()

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 15;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearState()

public Artifact.Builder clearState()

The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.

.google.cloud.aiplatform.v1.Artifact.State state = 13;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clearUpdateTime()

public Artifact.Builder clearUpdateTime()

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Artifact.Builder

clearUri()

public Artifact.Builder clearUri()

The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.

string uri = 6;

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Artifact getDefaultInstanceForType()
Returns
TypeDescription
Artifact

getDescription()

public String getDescription()

Description of the Artifact

string description = 17;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Artifact

string description = 17;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

User provided display name of the Artifact. May be up to 128 Unicode characters.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User provided display name of the Artifact. May be up to 128 Unicode characters.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMetadata()

public Struct getMetadata()

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
TypeDescription
Struct

The metadata.

getMetadataBuilder()

public Struct.Builder getMetadataBuilder()

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
TypeDescription
Builder

getMetadataOrBuilder()

public StructOrBuilder getMetadataOrBuilder()

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
TypeDescription
StructOrBuilder

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. The resource name of the Artifact.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the Artifact.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getSchemaTitle()

public String getSchemaTitle()

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 14;

Returns
TypeDescription
String

The schemaTitle.

getSchemaTitleBytes()

public ByteString getSchemaTitleBytes()

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 14;

Returns
TypeDescription
ByteString

The bytes for schemaTitle.

getSchemaVersion()

public String getSchemaVersion()

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 15;

Returns
TypeDescription
String

The schemaVersion.

getSchemaVersionBytes()

public ByteString getSchemaVersionBytes()

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 15;

Returns
TypeDescription
ByteString

The bytes for schemaVersion.

getState()

public Artifact.State getState()

The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.

.google.cloud.aiplatform.v1.Artifact.State state = 13;

Returns
TypeDescription
Artifact.State

The state.

getStateValue()

public int getStateValue()

The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.

.google.cloud.aiplatform.v1.Artifact.State state = 13;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getUri()

public String getUri()

The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.

string uri = 6;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.

string uri = 6;

Returns
TypeDescription
ByteString

The bytes for uri.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasMetadata()

public boolean hasMetadata()

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Artifact.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Artifact.Builder

mergeFrom(Artifact other)

public Artifact.Builder mergeFrom(Artifact other)
Parameter
NameDescription
otherArtifact
Returns
TypeDescription
Artifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(Struct value)

public Artifact.Builder mergeMetadata(Struct value)

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
Artifact.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Artifact.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Artifact.Builder

putAllLabels(Map<String,String> values)

public Artifact.Builder putAllLabels(Map<String,String> values)

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Artifact.Builder

putLabels(String key, String value)

public Artifact.Builder putLabels(String key, String value)

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Artifact.Builder

removeLabels(String key)

public Artifact.Builder removeLabels(String key)

The labels with user-defined metadata to organize your Artifacts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Artifact (System labels are excluded).

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
Artifact.Builder

setCreateTime(Timestamp value)

public Artifact.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Artifact.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Artifact.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Artifact was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Artifact.Builder

setDescription(String value)

public Artifact.Builder setDescription(String value)

Description of the Artifact

string description = 17;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Artifact.Builder setDescriptionBytes(ByteString value)

Description of the Artifact

string description = 17;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setDisplayName(String value)

public Artifact.Builder setDisplayName(String value)

User provided display name of the Artifact. May be up to 128 Unicode characters.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Artifact.Builder setDisplayNameBytes(ByteString value)

User provided display name of the Artifact. May be up to 128 Unicode characters.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setEtag(String value)

public Artifact.Builder setEtag(String value)

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Artifact.Builder setEtagBytes(ByteString value)

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(Struct value)

public Artifact.Builder setMetadata(Struct value)

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
Artifact.Builder

setMetadata(Struct.Builder builderForValue)

public Artifact.Builder setMetadata(Struct.Builder builderForValue)

Properties of the Artifact. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Artifact.Builder

setName(String value)

public Artifact.Builder setName(String value)

Output only. The resource name of the Artifact.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Artifact.Builder setNameBytes(ByteString value)

Output only. The resource name of the Artifact.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

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

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

setSchemaTitle(String value)

public Artifact.Builder setSchemaTitle(String value)

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 14;

Parameter
NameDescription
valueString

The schemaTitle to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setSchemaTitleBytes(ByteString value)

public Artifact.Builder setSchemaTitleBytes(ByteString value)

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 14;

Parameter
NameDescription
valueByteString

The bytes for schemaTitle to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setSchemaVersion(String value)

public Artifact.Builder setSchemaVersion(String value)

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 15;

Parameter
NameDescription
valueString

The schemaVersion to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setSchemaVersionBytes(ByteString value)

public Artifact.Builder setSchemaVersionBytes(ByteString value)

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 15;

Parameter
NameDescription
valueByteString

The bytes for schemaVersion to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setState(Artifact.State value)

public Artifact.Builder setState(Artifact.State value)

The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.

.google.cloud.aiplatform.v1.Artifact.State state = 13;

Parameter
NameDescription
valueArtifact.State

The state to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setStateValue(int value)

public Artifact.Builder setStateValue(int value)

The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.

.google.cloud.aiplatform.v1.Artifact.State state = 13;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Artifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Artifact.Builder
Overrides

setUpdateTime(Timestamp value)

public Artifact.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Artifact.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Artifact.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Artifact was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Artifact.Builder

setUri(String value)

public Artifact.Builder setUri(String value)

The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.

string uri = 6;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Artifact.Builder setUriBytes(ByteString value)

The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.

string uri = 6;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
Artifact.Builder

This builder for chaining.