Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • internalGetFieldAccessorTable

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

        public Dataset.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • setField

        public Dataset.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • clearField

        public Dataset.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • clearOneof

        public Dataset.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • setRepeatedField

        public Dataset.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                int index,
                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • addRepeatedField

        public Dataset.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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;
      • 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.
      • 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;
      • 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.
      • 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;
      • 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.
      • 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;
      • 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.
      • 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;
      • 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.
      • 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;
      • 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
      • 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
      • 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;
      • setUnknownFields

        public final Dataset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • mergeUnknownFields

        public final Dataset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>