com.google.cloud.automl.v1.DatasetOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-automl-v1 Show documentation
Show all versions of proto-google-cloud-automl-v1 Show documentation
PROTO library for proto-google-cloud-automl-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/automl/v1/dataset.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.automl.v1;
public interface DatasetOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.Dataset)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Metadata for a dataset used for translation.
*
*
* .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
*
*
* @return Whether the translationDatasetMetadata field is set.
*/
boolean hasTranslationDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for translation.
*
*
* .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
*
*
* @return The translationDatasetMetadata.
*/
com.google.cloud.automl.v1.TranslationDatasetMetadata getTranslationDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for translation.
*
*
* .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
*
*/
com.google.cloud.automl.v1.TranslationDatasetMetadataOrBuilder
getTranslationDatasetMetadataOrBuilder();
/**
*
*
*
* Metadata for a dataset used for image classification.
*
*
*
* .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
*
*
* @return Whether the imageClassificationDatasetMetadata field is set.
*/
boolean hasImageClassificationDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for image classification.
*
*
*
* .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
*
*
* @return The imageClassificationDatasetMetadata.
*/
com.google.cloud.automl.v1.ImageClassificationDatasetMetadata
getImageClassificationDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for image classification.
*
*
*
* .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
*
*/
com.google.cloud.automl.v1.ImageClassificationDatasetMetadataOrBuilder
getImageClassificationDatasetMetadataOrBuilder();
/**
*
*
*
* Metadata for a dataset used for text classification.
*
*
*
* .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
*
*
* @return Whether the textClassificationDatasetMetadata field is set.
*/
boolean hasTextClassificationDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for text classification.
*
*
*
* .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
*
*
* @return The textClassificationDatasetMetadata.
*/
com.google.cloud.automl.v1.TextClassificationDatasetMetadata
getTextClassificationDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for text classification.
*
*
*
* .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
*
*/
com.google.cloud.automl.v1.TextClassificationDatasetMetadataOrBuilder
getTextClassificationDatasetMetadataOrBuilder();
/**
*
*
*
* Metadata for a dataset used for image object detection.
*
*
*
* .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
*
*
* @return Whether the imageObjectDetectionDatasetMetadata field is set.
*/
boolean hasImageObjectDetectionDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for image object detection.
*
*
*
* .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
*
*
* @return The imageObjectDetectionDatasetMetadata.
*/
com.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata
getImageObjectDetectionDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for image object detection.
*
*
*
* .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
*
*/
com.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadataOrBuilder
getImageObjectDetectionDatasetMetadataOrBuilder();
/**
*
*
*
* Metadata for a dataset used for text extraction.
*
*
*
* .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
*
*
* @return Whether the textExtractionDatasetMetadata field is set.
*/
boolean hasTextExtractionDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for text extraction.
*
*
*
* .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
*
*
* @return The textExtractionDatasetMetadata.
*/
com.google.cloud.automl.v1.TextExtractionDatasetMetadata getTextExtractionDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for text extraction.
*
*
*
* .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
*
*/
com.google.cloud.automl.v1.TextExtractionDatasetMetadataOrBuilder
getTextExtractionDatasetMetadataOrBuilder();
/**
*
*
*
* Metadata for a dataset used for text sentiment.
*
*
*
* .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
*
*
* @return Whether the textSentimentDatasetMetadata field is set.
*/
boolean hasTextSentimentDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for text sentiment.
*
*
*
* .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
*
*
* @return The textSentimentDatasetMetadata.
*/
com.google.cloud.automl.v1.TextSentimentDatasetMetadata getTextSentimentDatasetMetadata();
/**
*
*
*
* Metadata for a dataset used for text sentiment.
*
*
*
* .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
*
*/
com.google.cloud.automl.v1.TextSentimentDatasetMetadataOrBuilder
getTextSentimentDatasetMetadataOrBuilder();
/**
*
*
*
* Output only. The resource name of the dataset.
* Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The resource name of the dataset.
* Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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;
*
* @return The displayName.
*/
java.lang.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;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* User-provided description of the dataset. The description can be up to
* 25000 characters long.
*
*
* string description = 3;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* User-provided description of the dataset. The description can be up to
* 25000 characters long.
*
*
* string description = 3;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Output only. The number of examples in the dataset.
*
*
* int32 example_count = 21;
*
* @return The exampleCount.
*/
int getExampleCount();
/**
*
*
*
* Output only. Timestamp when this dataset was created.
*
*
* .google.protobuf.Timestamp create_time = 14;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Timestamp when this dataset was created.
*
*
* .google.protobuf.Timestamp create_time = 14;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Timestamp when this dataset was created.
*
*
* .google.protobuf.Timestamp create_time = 14;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Used to perform consistent read-modify-write updates. If not set, a blind
* "overwrite" update happens.
*
*
* string etag = 17;
*
* @return The etag.
*/
java.lang.String getEtag();
/**
*
*
*
* Used to perform consistent read-modify-write updates. If not set, a blind
* "overwrite" update happens.
*
*
* string etag = 17;
*
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
/**
*
*
*
* 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;
*/
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;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* 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;
*/
java.util.Map 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;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.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;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
com.google.cloud.automl.v1.Dataset.DatasetMetadataCase getDatasetMetadataCase();
}