Class Artifact.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder>
com.google.cloud.aiplatform.v1.Artifact.Builder
All Implemented Interfaces:
ArtifactOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Artifact

public static final class Artifact.Builder extends com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder> implements ArtifactOrBuilder
 Instance of a general artifact.
 
Protobuf type google.cloud.aiplatform.v1.Artifact
  • 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.Builder<Artifact.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder>
    • clear

      public Artifact.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder>
    • getDefaultInstanceForType

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

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

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

      public Artifact.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Artifact.Builder>
    • mergeFrom

      public Artifact.Builder mergeFrom(Artifact other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Artifact.Builder>
    • mergeFrom

      public Artifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Artifact.Builder>
      Throws:
      IOException
    • 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.
    • setName

      public Artifact.Builder setName(String value)
       Output only. The resource name of the Artifact.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Artifact.Builder clearName()
       Output only. The resource name of the Artifact.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Artifact.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the Artifact.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDisplayName

      public Artifact.Builder setDisplayName(String value)
       User provided display name of the Artifact.
       May be up to 128 Unicode characters.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      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:
      This builder for chaining.
    • setDisplayNameBytes

      public Artifact.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       User provided display name of the Artifact.
       May be up to 128 Unicode characters.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setUri

      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;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setUriBytes

      public Artifact.Builder setUriBytes(com.google.protobuf.ByteString value)
       The uniform resource identifier of the artifact file.
       May be empty if there is no actual artifact file.
       
      string uri = 6;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • 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.
    • setEtag

      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;
      Parameters:
      value - The etag to set.
      Returns:
      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:
      This builder for chaining.
    • setEtagBytes

      public Artifact.Builder setEtagBytes(com.google.protobuf.ByteString value)
       An eTag used to perform consistent read-modify-write updates. If not set, a
       blind "overwrite" update happens.
       
      string etag = 9;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • 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
    • clearLabels

      public Artifact.Builder clearLabels()
    • removeLabels

      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;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      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;
    • putAllLabels

      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;
    • 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.
    • setCreateTime

      public Artifact.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Artifact was created.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Artifact.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this Artifact was created.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Artifact.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Artifact was created.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this Artifact was created.
       
      .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setUpdateTime

      public Artifact.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Artifact was last updated.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Artifact.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this Artifact was last updated.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Artifact.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this Artifact was last updated.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp when this Artifact was last updated.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setStateValue

      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;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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.
    • setState

      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;
      Parameters:
      value - The state to set.
      Returns:
      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:
      This builder for chaining.
    • 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.
    • setSchemaTitle

      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;
      Parameters:
      value - The schemaTitle to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setSchemaTitleBytes

      public Artifact.Builder setSchemaTitleBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for schemaTitle to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSchemaVersion

      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;
      Parameters:
      value - The schemaVersion to set.
      Returns:
      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:
      This builder for chaining.
    • setSchemaVersionBytes

      public Artifact.Builder setSchemaVersionBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for schemaVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setMetadata

      public Artifact.Builder setMetadata(com.google.protobuf.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;
    • setMetadata

      public Artifact.Builder setMetadata(com.google.protobuf.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;
    • mergeMetadata

      public Artifact.Builder mergeMetadata(com.google.protobuf.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;
    • 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;
    • getMetadataBuilder

      public com.google.protobuf.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;
    • 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.
    • setDescription

      public Artifact.Builder setDescription(String value)
       Description of the Artifact
       
      string description = 17;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Artifact.Builder clearDescription()
       Description of the Artifact
       
      string description = 17;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Artifact.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the Artifact
       
      string description = 17;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.