Class Artifact

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Artifact
All Implemented Interfaces:
ArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Instance of a general artifact.
    static enum 
    Describes the state of the Artifact.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The labels with user-defined metadata to organize your Artifacts.
    boolean
     
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    static Artifact
     
     
    Description of the Artifact
    com.google.protobuf.ByteString
    Description of the Artifact
    static final com.google.protobuf.Descriptors.Descriptor
     
    User provided display name of the Artifact.
    com.google.protobuf.ByteString
    User provided display name of the Artifact.
    An eTag used to perform consistent read-modify-write updates.
    com.google.protobuf.ByteString
    An eTag used to perform consistent read-modify-write updates.
    Deprecated.
    int
    The labels with user-defined metadata to organize your Artifacts.
    The labels with user-defined metadata to organize your Artifacts.
    getLabelsOrDefault(String key, String defaultValue)
    The labels with user-defined metadata to organize your Artifacts.
    The labels with user-defined metadata to organize your Artifacts.
    com.google.protobuf.Struct
    Properties of the Artifact.
    com.google.protobuf.StructOrBuilder
    Properties of the Artifact.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    com.google.protobuf.Parser<Artifact>
     
    The title of the schema describing the metadata.
    com.google.protobuf.ByteString
    The title of the schema describing the metadata.
    The version of the schema in schema_name to use.
    com.google.protobuf.ByteString
    The version of the schema in schema_name to use.
    int
     
    The state of this Artifact.
    int
    The state of this Artifact.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    The uniform resource identifier of the artifact file.
    com.google.protobuf.ByteString
    The uniform resource identifier of the artifact file.
    boolean
    Output only.
    int
     
    boolean
    Properties of the Artifact.
    boolean
    Output only.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    newBuilder(Artifact prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Artifact
     
    static Artifact
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Artifact
    parseFrom(byte[] data)
     
    static Artifact
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Artifact
    parseFrom(com.google.protobuf.ByteString data)
     
    static Artifact
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Artifact
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Artifact
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Artifact
     
    static Artifact
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Artifact
     
    static Artifact
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Artifact>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Artifact parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Artifact parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Artifact parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Artifact parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static Artifact.Builder newBuilder()
    • newBuilder

      public static Artifact.Builder newBuilder(Artifact prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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