Class Artifact

  • All Implemented Interfaces:
    ArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Artifact
    extends com.google.protobuf.GeneratedMessageV3
    implements ArtifactOrBuilder
     Instance of a general artifact.
     
    Protobuf type google.cloud.aiplatform.v1.Artifact
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Artifact.Builder
      Instance of a general artifact.
      static class  Artifact.State
      Describes the state of the Artifact.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Output only. The resource name of the Artifact.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface ArtifactOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of the Artifact.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface ArtifactOrBuilder
        Returns:
        The bytes for name.
      • getDisplayName

        public String getDisplayName()
         User provided display name of the Artifact.
         May be up to 128 Unicode characters.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface ArtifactOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         User provided display name of the Artifact.
         May be up to 128 Unicode characters.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface ArtifactOrBuilder
        Returns:
        The bytes for displayName.
      • 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;
        Specified by:
        getUri in interface ArtifactOrBuilder
        Returns:
        The uri.
      • getUriBytes

        public com.google.protobuf.ByteString getUriBytes()
         The uniform resource identifier of the artifact file.
         May be empty if there is no actual artifact file.
         
        string uri = 6;
        Specified by:
        getUriBytes in interface ArtifactOrBuilder
        Returns:
        The bytes for uri.
      • 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;
        Specified by:
        getEtag in interface ArtifactOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         An eTag used to perform consistent read-modify-write updates. If not set, a
         blind "overwrite" update happens.
         
        string etag = 9;
        Specified by:
        getEtagBytes in interface ArtifactOrBuilder
        Returns:
        The bytes for etag.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: ArtifactOrBuilder
         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;
        Specified by:
        getLabelsCount in interface ArtifactOrBuilder
      • containsLabels

        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;
        Specified by:
        containsLabels in interface ArtifactOrBuilder
      • 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;
        Specified by:
        getLabelsMap in interface ArtifactOrBuilder
      • getLabelsOrDefault

        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;
        Specified by:
        getLabelsOrDefault in interface ArtifactOrBuilder
      • getLabelsOrThrow

        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;
        Specified by:
        getLabelsOrThrow in interface ArtifactOrBuilder
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Timestamp when this Artifact was created.
         
        .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface ArtifactOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Timestamp when this Artifact was created.
         
        .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface ArtifactOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Timestamp when this Artifact was created.
         
        .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface ArtifactOrBuilder
      • 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];
        Specified by:
        hasUpdateTime in interface ArtifactOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Timestamp when this Artifact was last updated.
         
        .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface ArtifactOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Timestamp when this Artifact was last updated.
         
        .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface ArtifactOrBuilder
      • 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;
        Specified by:
        getStateValue in interface ArtifactOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • 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;
        Specified by:
        getState in interface ArtifactOrBuilder
        Returns:
        The state.
      • 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;
        Specified by:
        getSchemaTitle in interface ArtifactOrBuilder
        Returns:
        The schemaTitle.
      • getSchemaTitleBytes

        public com.google.protobuf.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;
        Specified by:
        getSchemaTitleBytes in interface ArtifactOrBuilder
        Returns:
        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;
        Specified by:
        getSchemaVersion in interface ArtifactOrBuilder
        Returns:
        The schemaVersion.
      • getSchemaVersionBytes

        public com.google.protobuf.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;
        Specified by:
        getSchemaVersionBytes in interface ArtifactOrBuilder
        Returns:
        The bytes for schemaVersion.
      • 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;
        Specified by:
        hasMetadata in interface ArtifactOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public com.google.protobuf.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;
        Specified by:
        getMetadata in interface ArtifactOrBuilder
        Returns:
        The metadata.
      • getMetadataOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getMetadataOrBuilder in interface ArtifactOrBuilder
      • getDescription

        public String getDescription()
         Description of the Artifact
         
        string description = 17;
        Specified by:
        getDescription in interface ArtifactOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description of the Artifact
         
        string description = 17;
        Specified by:
        getDescriptionBytes in interface ArtifactOrBuilder
        Returns:
        The bytes for description.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Artifact parseFrom​(ByteBuffer data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Artifact parseFrom​(ByteBuffer data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Artifact parseFrom​(com.google.protobuf.ByteString data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Artifact parseFrom​(com.google.protobuf.ByteString data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Artifact parseFrom​(byte[] data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Artifact parseFrom​(byte[] data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Artifact parseFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Artifact.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Artifact.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Artifact.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Artifact getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Artifact> parser()
      • getParserForType

        public com.google.protobuf.Parser<Artifact> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Artifact getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder