Interface DatasetOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Dataset, Dataset.Builder

    public interface DatasetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTranslationDatasetMetadata

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

        TranslationDatasetMetadata getTranslationDatasetMetadata()
         Metadata for a dataset used for translation.
         
        .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
        Returns:
        The translationDatasetMetadata.
      • getTranslationDatasetMetadataOrBuilder

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

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

        ImageClassificationDatasetMetadata getImageClassificationDatasetMetadata()
         Metadata for a dataset used for image classification.
         
        .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
        Returns:
        The imageClassificationDatasetMetadata.
      • getImageClassificationDatasetMetadataOrBuilder

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

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

        TextClassificationDatasetMetadata getTextClassificationDatasetMetadata()
         Metadata for a dataset used for text classification.
         
        .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
        Returns:
        The textClassificationDatasetMetadata.
      • getTextClassificationDatasetMetadataOrBuilder

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

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

        ImageObjectDetectionDatasetMetadata getImageObjectDetectionDatasetMetadata()
         Metadata for a dataset used for image object detection.
         
        .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
        Returns:
        The imageObjectDetectionDatasetMetadata.
      • getImageObjectDetectionDatasetMetadataOrBuilder

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

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

        TextExtractionDatasetMetadata getTextExtractionDatasetMetadata()
         Metadata for a dataset used for text extraction.
         
        .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
        Returns:
        The textExtractionDatasetMetadata.
      • getTextExtractionDatasetMetadataOrBuilder

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

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

        TextSentimentDatasetMetadata getTextSentimentDatasetMetadata()
         Metadata for a dataset used for text sentiment.
         
        .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
        Returns:
        The textSentimentDatasetMetadata.
      • getTextSentimentDatasetMetadataOrBuilder

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

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

        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;
        Returns:
        The bytes for name.
      • getDisplayName

        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;
        Returns:
        The displayName.
      • getDisplayNameBytes

        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;
        Returns:
        The bytes for displayName.
      • getDescription

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

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

        int getExampleCount()
         Output only. The number of examples in the dataset.
         
        int32 example_count = 21;
        Returns:
        The exampleCount.
      • hasCreateTime

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

        com.google.protobuf.Timestamp getCreateTime()
         Output only. Timestamp when this dataset was created.
         
        .google.protobuf.Timestamp create_time = 14;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

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

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

        com.google.protobuf.ByteString getEtagBytes()
         Used to perform consistent read-modify-write updates. If not set, a blind
         "overwrite" update happens.
         
        string etag = 17;
        Returns:
        The bytes for etag.
      • getLabelsCount

        int getLabelsCount()
         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;
      • containsLabels

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

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

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

        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;