Class DatasetVersion.Builder

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

public static final class DatasetVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder> implements DatasetVersionOrBuilder
 Describes the dataset version.
 
Protobuf type google.cloud.aiplatform.v1.DatasetVersion
  • Method Details

    • getDescriptor

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

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

      public DatasetVersion.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<DatasetVersion.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<DatasetVersion.Builder>
    • getDefaultInstanceForType

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

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

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

      public DatasetVersion.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<DatasetVersion.Builder>
    • mergeFrom

      public DatasetVersion.Builder mergeFrom(DatasetVersion other)
    • isInitialized

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

      public DatasetVersion.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<DatasetVersion.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Identifier. The resource name of the DatasetVersion.
       Format:
       `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface DatasetVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier. The resource name of the DatasetVersion.
       Format:
       `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface DatasetVersionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DatasetVersion.Builder setName(String value)
       Output only. Identifier. The resource name of the DatasetVersion.
       Format:
       `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DatasetVersion.Builder clearName()
       Output only. Identifier. The resource name of the DatasetVersion.
       Format:
       `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public DatasetVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Identifier. The resource name of the DatasetVersion.
       Format:
       `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

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

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

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

      public DatasetVersion.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this DatasetVersion was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public DatasetVersion.Builder clearCreateTime()
       Output only. Timestamp when this DatasetVersion was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this DatasetVersion was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this DatasetVersion was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DatasetVersionOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp when this DatasetVersion was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DatasetVersionOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

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

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

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

      public DatasetVersion.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this DatasetVersion was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public DatasetVersion.Builder clearUpdateTime()
       Output only. Timestamp when this DatasetVersion was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp when this DatasetVersion was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this DatasetVersion was last updated.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DatasetVersionOrBuilder
    • getEtag

      public String getEtag()
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 3;
      Specified by:
      getEtag in interface DatasetVersionOrBuilder
      Returns:
      The etag.
    • getEtagBytes

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

      public DatasetVersion.Builder setEtag(String value)
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 3;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DatasetVersion.Builder clearEtag()
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 3;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DatasetVersion.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 3;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getBigQueryDatasetName

      public String getBigQueryDatasetName()
       Output only. Name of the associated BigQuery dataset.
       
      string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBigQueryDatasetName in interface DatasetVersionOrBuilder
      Returns:
      The bigQueryDatasetName.
    • getBigQueryDatasetNameBytes

      public com.google.protobuf.ByteString getBigQueryDatasetNameBytes()
       Output only. Name of the associated BigQuery dataset.
       
      string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBigQueryDatasetNameBytes in interface DatasetVersionOrBuilder
      Returns:
      The bytes for bigQueryDatasetName.
    • setBigQueryDatasetName

      public DatasetVersion.Builder setBigQueryDatasetName(String value)
       Output only. Name of the associated BigQuery dataset.
       
      string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bigQueryDatasetName to set.
      Returns:
      This builder for chaining.
    • clearBigQueryDatasetName

      public DatasetVersion.Builder clearBigQueryDatasetName()
       Output only. Name of the associated BigQuery dataset.
       
      string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBigQueryDatasetNameBytes

      public DatasetVersion.Builder setBigQueryDatasetNameBytes(com.google.protobuf.ByteString value)
       Output only. Name of the associated BigQuery dataset.
       
      string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for bigQueryDatasetName to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       The user-defined name of the DatasetVersion.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 7;
      Specified by:
      getDisplayName in interface DatasetVersionOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The user-defined name of the DatasetVersion.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 7;
      Specified by:
      getDisplayNameBytes in interface DatasetVersionOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DatasetVersion.Builder setDisplayName(String value)
       The user-defined name of the DatasetVersion.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 7;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DatasetVersion.Builder clearDisplayName()
       The user-defined name of the DatasetVersion.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 7;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DatasetVersion.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       The user-defined name of the DatasetVersion.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 7;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasMetadata

      public boolean hasMetadata()
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasMetadata in interface DatasetVersionOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public com.google.protobuf.Value getMetadata()
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetadata in interface DatasetVersionOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public DatasetVersion.Builder setMetadata(com.google.protobuf.Value value)
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
    • setMetadata

      public DatasetVersion.Builder setMetadata(com.google.protobuf.Value.Builder builderForValue)
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
    • mergeMetadata

      public DatasetVersion.Builder mergeMetadata(com.google.protobuf.Value value)
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
    • clearMetadata

      public DatasetVersion.Builder clearMetadata()
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
    • getMetadataBuilder

      public com.google.protobuf.Value.Builder getMetadataBuilder()
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
    • getMetadataOrBuilder

      public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()
       Required. Output only. Additional information about the DatasetVersion.
       
      .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getMetadataOrBuilder in interface DatasetVersionOrBuilder
    • getModelReference

      public String getModelReference()
       Output only. Reference to the public base model last used by the dataset
       version. Only set for prompt dataset versions.
       
      string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModelReference in interface DatasetVersionOrBuilder
      Returns:
      The modelReference.
    • getModelReferenceBytes

      public com.google.protobuf.ByteString getModelReferenceBytes()
       Output only. Reference to the public base model last used by the dataset
       version. Only set for prompt dataset versions.
       
      string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModelReferenceBytes in interface DatasetVersionOrBuilder
      Returns:
      The bytes for modelReference.
    • setModelReference

      public DatasetVersion.Builder setModelReference(String value)
       Output only. Reference to the public base model last used by the dataset
       version. Only set for prompt dataset versions.
       
      string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The modelReference to set.
      Returns:
      This builder for chaining.
    • clearModelReference

      public DatasetVersion.Builder clearModelReference()
       Output only. Reference to the public base model last used by the dataset
       version. Only set for prompt dataset versions.
       
      string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setModelReferenceBytes

      public DatasetVersion.Builder setModelReferenceBytes(com.google.protobuf.ByteString value)
       Output only. Reference to the public base model last used by the dataset
       version. Only set for prompt dataset versions.
       
      string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for modelReference to set.
      Returns:
      This builder for chaining.
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface DatasetVersionOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public DatasetVersion.Builder setSatisfiesPzs(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public DatasetVersion.Builder clearSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface DatasetVersionOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public DatasetVersion.Builder setSatisfiesPzi(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzi

      public DatasetVersion.Builder clearSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.