Package com.google.cloud.automl.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.User-provided description of the dataset.Required.Used to perform consistent read-modify-write updates.Output only.Metadata for a dataset used for image classification.Metadata for a dataset used for image object detection.Output only.Metadata for a dataset used for text classification.Metadata for a dataset used for text extraction.Metadata for a dataset used for text sentiment.Metadata for a dataset used for translation.booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.User-provided description of the dataset.com.google.protobuf.ByteStringUser-provided description of the dataset.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringUsed to perform consistent read-modify-write updates.intOutput only.Metadata for a dataset used for image classification.Metadata for a dataset used for image classification.Metadata for a dataset used for image classification.Metadata for a dataset used for image object detection.Metadata for a dataset used for image object detection.Metadata for a dataset used for image object detection.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Metadata for a dataset used for text classification.Metadata for a dataset used for text classification.Metadata for a dataset used for text classification.Metadata for a dataset used for text extraction.Metadata for a dataset used for text extraction.Metadata for a dataset used for text extraction.Metadata for a dataset used for text sentiment.Metadata for a dataset used for text sentiment.Metadata for a dataset used for text sentiment.Metadata for a dataset used for translation.Metadata for a dataset used for translation.Metadata for a dataset used for translation.booleanOutput only.booleanMetadata for a dataset used for image classification.booleanMetadata for a dataset used for image object detection.booleanMetadata for a dataset used for text classification.booleanMetadata for a dataset used for text extraction.booleanMetadata for a dataset used for text sentiment.booleanMetadata for a dataset used for translation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Metadata for a dataset used for image classification.Metadata for a dataset used for image object detection.Metadata for a dataset used for text classification.Metadata for a dataset used for text extraction.Metadata for a dataset used for text sentiment.Metadata for a dataset used for translation.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) User-provided description of the dataset.setDescriptionBytes(com.google.protobuf.ByteString value) User-provided description of the dataset.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.Used to perform consistent read-modify-write updates.setEtagBytes(com.google.protobuf.ByteString value) Used to perform consistent read-modify-write updates.setExampleCount(int value) Output only.Metadata for a dataset used for image classification.Metadata for a dataset used for image classification.Metadata for a dataset used for image object detection.Metadata for a dataset used for image object detection.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Metadata for a dataset used for text classification.Metadata for a dataset used for text classification.Metadata for a dataset used for text extraction.setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata.Builder builderForValue) Metadata for a dataset used for text extraction.Metadata for a dataset used for text sentiment.setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata.Builder builderForValue) Metadata for a dataset used for text sentiment.Metadata for a dataset used for translation.setTranslationDatasetMetadata(TranslationDatasetMetadata.Builder builderForValue) Metadata for a dataset used for translation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>- Throws:
IOException
-
getDatasetMetadataCase
- Specified by:
getDatasetMetadataCasein interfaceDatasetOrBuilder
-
clearDatasetMetadata
-
hasTranslationDatasetMetadata
public boolean hasTranslationDatasetMetadata()Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;- Specified by:
hasTranslationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the translationDatasetMetadata field is set.
-
getTranslationDatasetMetadata
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;- Specified by:
getTranslationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The translationDatasetMetadata.
-
setTranslationDatasetMetadata
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
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23; -
clearTranslationDatasetMetadata
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23; -
getTranslationDatasetMetadataBuilder
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23; -
getTranslationDatasetMetadataOrBuilder
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;- Specified by:
getTranslationDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasImageClassificationDatasetMetadata
public boolean hasImageClassificationDatasetMetadata()Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;- Specified by:
hasImageClassificationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the imageClassificationDatasetMetadata field is set.
-
getImageClassificationDatasetMetadata
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;- Specified by:
getImageClassificationDatasetMetadatain interfaceDatasetOrBuilder- 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
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24; -
getImageClassificationDatasetMetadataBuilder
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24; -
getImageClassificationDatasetMetadataOrBuilder
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;- Specified by:
getImageClassificationDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasTextClassificationDatasetMetadata
public boolean hasTextClassificationDatasetMetadata()Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;- Specified by:
hasTextClassificationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the textClassificationDatasetMetadata field is set.
-
getTextClassificationDatasetMetadata
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;- Specified by:
getTextClassificationDatasetMetadatain interfaceDatasetOrBuilder- 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
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25; -
getTextClassificationDatasetMetadataBuilder
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25; -
getTextClassificationDatasetMetadataOrBuilder
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;- Specified by:
getTextClassificationDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
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:
hasImageObjectDetectionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the imageObjectDetectionDatasetMetadata field is set.
-
getImageObjectDetectionDatasetMetadata
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;- Specified by:
getImageObjectDetectionDatasetMetadatain interfaceDatasetOrBuilder- 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
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26; -
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:
getImageObjectDetectionDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasTextExtractionDatasetMetadata
public boolean hasTextExtractionDatasetMetadata()Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;- Specified by:
hasTextExtractionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the textExtractionDatasetMetadata field is set.
-
getTextExtractionDatasetMetadata
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;- Specified by:
getTextExtractionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The textExtractionDatasetMetadata.
-
setTextExtractionDatasetMetadata
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
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28; -
clearTextExtractionDatasetMetadata
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28; -
getTextExtractionDatasetMetadataBuilder
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28; -
getTextExtractionDatasetMetadataOrBuilder
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;- Specified by:
getTextExtractionDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasTextSentimentDatasetMetadata
public boolean hasTextSentimentDatasetMetadata()Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;- Specified by:
hasTextSentimentDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the textSentimentDatasetMetadata field is set.
-
getTextSentimentDatasetMetadata
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;- Specified by:
getTextSentimentDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The textSentimentDatasetMetadata.
-
setTextSentimentDatasetMetadata
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
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30; -
clearTextSentimentDatasetMetadata
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30; -
getTextSentimentDatasetMetadataBuilder
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30; -
getTextSentimentDatasetMetadataOrBuilder
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;- Specified by:
getTextSentimentDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
getName
Output only. The resource name of the dataset. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`string name = 1;- Specified by:
getNamein interfaceDatasetOrBuilder- 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:
getNameBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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
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:
getDisplayNamein interfaceDatasetOrBuilder- 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:
getDisplayNameBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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
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
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
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;- Specified by:
getDescriptionin interfaceDatasetOrBuilder- 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:
getDescriptionBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for description.
-
setDescription
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
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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:
getExampleCountin interfaceDatasetOrBuilder- Returns:
- The exampleCount.
-
setExampleCount
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
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:
hasCreateTimein interfaceDatasetOrBuilder- 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:
getCreateTimein interfaceDatasetOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14; -
setCreateTime
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14; -
mergeCreateTime
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14; -
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:
getCreateTimeOrBuilderin interfaceDatasetOrBuilder
-
getEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 17;- Specified by:
getEtagin interfaceDatasetOrBuilder- 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:
getEtagBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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
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
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:DatasetOrBuilderOptional. 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:
getLabelsCountin interfaceDatasetOrBuilder
-
containsLabels
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:
containsLabelsin interfaceDatasetOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDatasetOrBuilder
-
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:
getLabelsMapin interfaceDatasetOrBuilder
-
getLabelsOrDefault
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:
getLabelsOrDefaultin interfaceDatasetOrBuilder
-
getLabelsOrThrow
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:
getLabelsOrThrowin interfaceDatasetOrBuilder
-
clearLabels
-
removeLabels
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.Use alternate mutation accessors instead. -
putLabels
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
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;
-