Class Artifact.Builder (3.55.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Artifact build()
Returns
Type Description
Artifact

buildPartial()

public Artifact buildPartial()
Returns
Type Description
Artifact

clear()

public Artifact.Builder clear()
Returns
Type Description
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
Type Description
Artifact.Builder

clearDescription()

public Artifact.Builder clearDescription()

Description of the Artifact

string description = 17;

Returns
Type Description
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
Type Description
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
Type Description
Artifact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Artifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Artifact.Builder
Overrides

clearLabels()

public Artifact.Builder clearLabels()
Returns
Type Description
Artifact.Builder

clearMetadata()

public Artifact.Builder clearMetadata()

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
Type Description
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
Type Description
Artifact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Artifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Artifact.Builder

This builder for chaining.

clone()

public Artifact.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Artifact getDefaultInstanceForType()
Returns
Type Description
Artifact

getDescription()

public String getDescription()

Description of the Artifact

string description = 17;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Artifact

string description = 17;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getMetadata()

public Struct getMetadata()

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
Type Description
Struct

The metadata.

getMetadataBuilder()

public Struct.Builder getMetadataBuilder()

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
Type Description
Builder

getMetadataOrBuilder()

public StructOrBuilder getMetadataOrBuilder()

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
Type Description
StructOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the createTime field is set.

hasMetadata()

public boolean hasMetadata()

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Returns
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Artifact.Builder

mergeFrom(Artifact other)

public Artifact.Builder mergeFrom(Artifact other)
Parameter
Name Description
other Artifact
Returns
Type Description
Artifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Artifact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Artifact.Builder
Overrides

mergeMetadata(Struct value)

public Artifact.Builder mergeMetadata(Struct value)

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Parameter
Name Description
value Struct
Returns
Type Description
Artifact.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Artifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Artifact.Builder

setDescription(String value)

public Artifact.Builder setDescription(String value)

Description of the Artifact

string description = 17;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Artifact.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Artifact.Builder setDescriptionBytes(ByteString value)

Description of the Artifact

string description = 17;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
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
Name Description
value String

The etag to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Artifact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(Struct value)

public Artifact.Builder setMetadata(Struct value)

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Parameter
Name Description
value Struct
Returns
Type Description
Artifact.Builder

setMetadata(Struct.Builder builderForValue)

public Artifact.Builder setMetadata(Struct.Builder builderForValue)

Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 16;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The schemaTitle to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for schemaTitle to set.

Returns
Type Description
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
Name Description
value String

The schemaVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for schemaVersion to set.

Returns
Type Description
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
Name Description
value Artifact.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
Artifact.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Artifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The uri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
Artifact.Builder

This builder for chaining.