public final class Artifact extends GeneratedMessageV3 implements ArtifactOrBuilder
Instance of a general artifact.
Protobuf type google.cloud.aiplatform.v1.Artifact
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
public static final int ETAG_FIELD_NUMBER
Field Value
public static final int LABELS_FIELD_NUMBER
Field Value
public static final int METADATA_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int SCHEMA_TITLE_FIELD_NUMBER
Field Value
public static final int SCHEMA_VERSION_FIELD_NUMBER
Field Value
public static final int STATE_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
public static Artifact getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Artifact.Builder newBuilder()
Returns
public static Artifact.Builder newBuilder(Artifact prototype)
Parameter
Returns
public static Artifact parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Artifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifact parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Artifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifact parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Artifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifact parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Artifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifact parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Artifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Artifact parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Artifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Artifact> parser()
Returns
Methods
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
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Artifact getDefaultInstanceForType()
Returns
public String getDescription()
Description of the Artifact
string description = 17;
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Description of the Artifact
string description = 17;
Returns
Type | Description |
ByteString | The bytes for description.
|
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.
|
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.
|
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.
|
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
public Map<String,String> getLabels()
Returns
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
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
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
Returns
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
Returns
public Struct getMetadata()
Properties of the Artifact.
The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
Returns
Type | Description |
Struct | The metadata.
|
public StructOrBuilder getMetadataOrBuilder()
Properties of the Artifact.
The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
Returns
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<Artifact> getParserForType()
Returns
Overrides
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.
|
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.
|
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.
|
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.
|
public int getSerializedSize()
Returns
Overrides
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
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
The uniform resource identifier of the artifact file.
May be empty if there is no actual artifact file.
string uri = 6;
Returns
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
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.
|
public boolean hasMetadata()
Properties of the Artifact.
The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
Returns
Type | Description |
boolean | Whether the metadata field is set.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Artifact.Builder newBuilderForType()
Returns
protected Artifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Artifact.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions