Class Dataset.Builder

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

public static final class Dataset.Builder extends com.google.protobuf.GeneratedMessage.Builder<Dataset.Builder> implements DatasetOrBuilder
 A workspace for solving a single, particular machine learning (ML) problem.
 A workspace contains examples that may be annotated.
 
Protobuf type google.cloud.automl.v1.Dataset
  • 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<Dataset.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public Dataset.Builder mergeFrom(Dataset other)
    • isInitialized

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

      public Dataset.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<Dataset.Builder>
      Throws:
      IOException
    • getDatasetMetadataCase

      public Dataset.DatasetMetadataCase getDatasetMetadataCase()
      Specified by:
      getDatasetMetadataCase in interface DatasetOrBuilder
    • clearDatasetMetadata

      public Dataset.Builder clearDatasetMetadata()
    • hasTranslationDatasetMetadata

      public boolean hasTranslationDatasetMetadata()
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
      Specified by:
      hasTranslationDatasetMetadata in interface DatasetOrBuilder
      Returns:
      Whether the translationDatasetMetadata field is set.
    • getTranslationDatasetMetadata

      public TranslationDatasetMetadata getTranslationDatasetMetadata()
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
      Specified by:
      getTranslationDatasetMetadata in interface DatasetOrBuilder
      Returns:
      The translationDatasetMetadata.
    • setTranslationDatasetMetadata

      public Dataset.Builder setTranslationDatasetMetadata(TranslationDatasetMetadata value)
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
    • setTranslationDatasetMetadata

      public Dataset.Builder setTranslationDatasetMetadata(TranslationDatasetMetadata.Builder builderForValue)
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
    • mergeTranslationDatasetMetadata

      public Dataset.Builder mergeTranslationDatasetMetadata(TranslationDatasetMetadata value)
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
    • clearTranslationDatasetMetadata

      public Dataset.Builder clearTranslationDatasetMetadata()
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
    • getTranslationDatasetMetadataBuilder

      public TranslationDatasetMetadata.Builder getTranslationDatasetMetadataBuilder()
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
    • getTranslationDatasetMetadataOrBuilder

      public TranslationDatasetMetadataOrBuilder getTranslationDatasetMetadataOrBuilder()
       Metadata for a dataset used for translation.
       
      .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
      Specified by:
      getTranslationDatasetMetadataOrBuilder in interface DatasetOrBuilder
    • hasImageClassificationDatasetMetadata

      public boolean hasImageClassificationDatasetMetadata()
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
      Specified by:
      hasImageClassificationDatasetMetadata in interface DatasetOrBuilder
      Returns:
      Whether the imageClassificationDatasetMetadata field is set.
    • getImageClassificationDatasetMetadata

      public ImageClassificationDatasetMetadata getImageClassificationDatasetMetadata()
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
      Specified by:
      getImageClassificationDatasetMetadata in interface DatasetOrBuilder
      Returns:
      The imageClassificationDatasetMetadata.
    • setImageClassificationDatasetMetadata

      public Dataset.Builder setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
    • setImageClassificationDatasetMetadata

      public Dataset.Builder setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata.Builder builderForValue)
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
    • mergeImageClassificationDatasetMetadata

      public Dataset.Builder mergeImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
    • clearImageClassificationDatasetMetadata

      public Dataset.Builder clearImageClassificationDatasetMetadata()
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
    • getImageClassificationDatasetMetadataBuilder

      public ImageClassificationDatasetMetadata.Builder getImageClassificationDatasetMetadataBuilder()
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
    • getImageClassificationDatasetMetadataOrBuilder

      public ImageClassificationDatasetMetadataOrBuilder getImageClassificationDatasetMetadataOrBuilder()
       Metadata for a dataset used for image classification.
       
      .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
      Specified by:
      getImageClassificationDatasetMetadataOrBuilder in interface DatasetOrBuilder
    • hasTextClassificationDatasetMetadata

      public boolean hasTextClassificationDatasetMetadata()
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
      Specified by:
      hasTextClassificationDatasetMetadata in interface DatasetOrBuilder
      Returns:
      Whether the textClassificationDatasetMetadata field is set.
    • getTextClassificationDatasetMetadata

      public TextClassificationDatasetMetadata getTextClassificationDatasetMetadata()
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
      Specified by:
      getTextClassificationDatasetMetadata in interface DatasetOrBuilder
      Returns:
      The textClassificationDatasetMetadata.
    • setTextClassificationDatasetMetadata

      public Dataset.Builder setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
    • setTextClassificationDatasetMetadata

      public Dataset.Builder setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata.Builder builderForValue)
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
    • mergeTextClassificationDatasetMetadata

      public Dataset.Builder mergeTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
    • clearTextClassificationDatasetMetadata

      public Dataset.Builder clearTextClassificationDatasetMetadata()
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
    • getTextClassificationDatasetMetadataBuilder

      public TextClassificationDatasetMetadata.Builder getTextClassificationDatasetMetadataBuilder()
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
    • getTextClassificationDatasetMetadataOrBuilder

      public TextClassificationDatasetMetadataOrBuilder getTextClassificationDatasetMetadataOrBuilder()
       Metadata for a dataset used for text classification.
       
      .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
      Specified by:
      getTextClassificationDatasetMetadataOrBuilder in interface DatasetOrBuilder
    • hasImageObjectDetectionDatasetMetadata

      public boolean hasImageObjectDetectionDatasetMetadata()
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
      Specified by:
      hasImageObjectDetectionDatasetMetadata in interface DatasetOrBuilder
      Returns:
      Whether the imageObjectDetectionDatasetMetadata field is set.
    • getImageObjectDetectionDatasetMetadata

      public ImageObjectDetectionDatasetMetadata getImageObjectDetectionDatasetMetadata()
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
      Specified by:
      getImageObjectDetectionDatasetMetadata in interface DatasetOrBuilder
      Returns:
      The imageObjectDetectionDatasetMetadata.
    • setImageObjectDetectionDatasetMetadata

      public Dataset.Builder setImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata value)
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
    • setImageObjectDetectionDatasetMetadata

      public Dataset.Builder setImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata.Builder builderForValue)
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
    • mergeImageObjectDetectionDatasetMetadata

      public Dataset.Builder mergeImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata value)
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
    • clearImageObjectDetectionDatasetMetadata

      public Dataset.Builder clearImageObjectDetectionDatasetMetadata()
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
    • getImageObjectDetectionDatasetMetadataBuilder

      public ImageObjectDetectionDatasetMetadata.Builder getImageObjectDetectionDatasetMetadataBuilder()
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
    • getImageObjectDetectionDatasetMetadataOrBuilder

      public ImageObjectDetectionDatasetMetadataOrBuilder getImageObjectDetectionDatasetMetadataOrBuilder()
       Metadata for a dataset used for image object detection.
       
      .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
      Specified by:
      getImageObjectDetectionDatasetMetadataOrBuilder in interface DatasetOrBuilder
    • hasTextExtractionDatasetMetadata

      public boolean hasTextExtractionDatasetMetadata()
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
      Specified by:
      hasTextExtractionDatasetMetadata in interface DatasetOrBuilder
      Returns:
      Whether the textExtractionDatasetMetadata field is set.
    • getTextExtractionDatasetMetadata

      public TextExtractionDatasetMetadata getTextExtractionDatasetMetadata()
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
      Specified by:
      getTextExtractionDatasetMetadata in interface DatasetOrBuilder
      Returns:
      The textExtractionDatasetMetadata.
    • setTextExtractionDatasetMetadata

      public Dataset.Builder setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
    • setTextExtractionDatasetMetadata

      public Dataset.Builder setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata.Builder builderForValue)
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
    • mergeTextExtractionDatasetMetadata

      public Dataset.Builder mergeTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
    • clearTextExtractionDatasetMetadata

      public Dataset.Builder clearTextExtractionDatasetMetadata()
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
    • getTextExtractionDatasetMetadataBuilder

      public TextExtractionDatasetMetadata.Builder getTextExtractionDatasetMetadataBuilder()
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
    • getTextExtractionDatasetMetadataOrBuilder

      public TextExtractionDatasetMetadataOrBuilder getTextExtractionDatasetMetadataOrBuilder()
       Metadata for a dataset used for text extraction.
       
      .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
      Specified by:
      getTextExtractionDatasetMetadataOrBuilder in interface DatasetOrBuilder
    • hasTextSentimentDatasetMetadata

      public boolean hasTextSentimentDatasetMetadata()
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
      Specified by:
      hasTextSentimentDatasetMetadata in interface DatasetOrBuilder
      Returns:
      Whether the textSentimentDatasetMetadata field is set.
    • getTextSentimentDatasetMetadata

      public TextSentimentDatasetMetadata getTextSentimentDatasetMetadata()
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
      Specified by:
      getTextSentimentDatasetMetadata in interface DatasetOrBuilder
      Returns:
      The textSentimentDatasetMetadata.
    • setTextSentimentDatasetMetadata

      public Dataset.Builder setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
    • setTextSentimentDatasetMetadata

      public Dataset.Builder setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata.Builder builderForValue)
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
    • mergeTextSentimentDatasetMetadata

      public Dataset.Builder mergeTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
    • clearTextSentimentDatasetMetadata

      public Dataset.Builder clearTextSentimentDatasetMetadata()
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
    • getTextSentimentDatasetMetadataBuilder

      public TextSentimentDatasetMetadata.Builder getTextSentimentDatasetMetadataBuilder()
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
    • getTextSentimentDatasetMetadataOrBuilder

      public TextSentimentDatasetMetadataOrBuilder getTextSentimentDatasetMetadataOrBuilder()
       Metadata for a dataset used for text sentiment.
       
      .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
      Specified by:
      getTextSentimentDatasetMetadataOrBuilder in interface DatasetOrBuilder
    • getName

      public String getName()
       Output only. The resource name of the dataset.
       Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
       
      string name = 1;
      Specified by:
      getName in interface DatasetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the dataset.
       Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
       
      string name = 1;
      Specified by:
      getNameBytes in interface DatasetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Dataset.Builder setName(String value)
       Output only. The resource name of the dataset.
       Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Dataset.Builder clearName()
       Output only. The resource name of the dataset.
       Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the dataset.
       Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The name of the dataset to show in the interface. The name can be
       up to 32 characters long and can consist only of ASCII Latin letters A-Z
       and a-z, underscores
       (_), and ASCII digits 0-9.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface DatasetOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The name of the dataset to show in the interface. The name can be
       up to 32 characters long and can consist only of ASCII Latin letters A-Z
       and a-z, underscores
       (_), and ASCII digits 0-9.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface DatasetOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Dataset.Builder setDisplayName(String value)
       Required. The name of the dataset to show in the interface. The name can be
       up to 32 characters long and can consist only of ASCII Latin letters A-Z
       and a-z, underscores
       (_), and ASCII digits 0-9.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Dataset.Builder clearDisplayName()
       Required. The name of the dataset to show in the interface. The name can be
       up to 32 characters long and can consist only of ASCII Latin letters A-Z
       and a-z, underscores
       (_), and ASCII digits 0-9.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Dataset.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the dataset to show in the interface. The name can be
       up to 32 characters long and can consist only of ASCII Latin letters A-Z
       and a-z, underscores
       (_), and ASCII digits 0-9.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       User-provided description of the dataset. The description can be up to
       25000 characters long.
       
      string description = 3;
      Specified by:
      getDescription in interface DatasetOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       User-provided description of the dataset. The description can be up to
       25000 characters long.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface DatasetOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Dataset.Builder setDescription(String value)
       User-provided description of the dataset. The description can be up to
       25000 characters long.
       
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Dataset.Builder clearDescription()
       User-provided description of the dataset. The description can be up to
       25000 characters long.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Dataset.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       User-provided description of the dataset. The description can be up to
       25000 characters long.
       
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getExampleCount

      public int getExampleCount()
       Output only. The number of examples in the dataset.
       
      int32 example_count = 21;
      Specified by:
      getExampleCount in interface DatasetOrBuilder
      Returns:
      The exampleCount.
    • setExampleCount

      public Dataset.Builder setExampleCount(int value)
       Output only. The number of examples in the dataset.
       
      int32 example_count = 21;
      Parameters:
      value - The exampleCount to set.
      Returns:
      This builder for chaining.
    • clearExampleCount

      public Dataset.Builder clearExampleCount()
       Output only. The number of examples in the dataset.
       
      int32 example_count = 21;
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
      Specified by:
      hasCreateTime in interface DatasetOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
      Specified by:
      getCreateTime in interface DatasetOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Dataset.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
    • setCreateTime

      public Dataset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
    • mergeCreateTime

      public Dataset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
    • clearCreateTime

      public Dataset.Builder clearCreateTime()
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this dataset was created.
       
      .google.protobuf.Timestamp create_time = 14;
      Specified by:
      getCreateTimeOrBuilder in interface DatasetOrBuilder
    • getEtag

      public String getEtag()
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 17;
      Specified by:
      getEtag in interface DatasetOrBuilder
      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 = 17;
      Specified by:
      getEtagBytes in interface DatasetOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

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

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

      public Dataset.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 = 17;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DatasetOrBuilder
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
      Specified by:
      getLabelsCount in interface DatasetOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
      Specified by:
      containsLabels in interface DatasetOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DatasetOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
      Specified by:
      getLabelsMap in interface DatasetOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
      Specified by:
      getLabelsOrDefault in interface DatasetOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
      Specified by:
      getLabelsOrThrow in interface DatasetOrBuilder
    • clearLabels

      public Dataset.Builder clearLabels()
    • removeLabels

      public Dataset.Builder removeLabels(String key)
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
    • getMutableLabels

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

      public Dataset.Builder putLabels(String key, String value)
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;
    • putAllLabels

      public Dataset.Builder putAllLabels(Map<String,String> values)
       Optional. The labels with user-defined metadata to organize your dataset.
      
       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.
       Label values are optional. Label keys must start with a letter.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       
      map<string, string> labels = 39;