- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class Dataset.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Dataset.BuilderImplements
DatasetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Dataset.Builder |
build()
public Dataset build()
Type | Description |
Dataset |
buildPartial()
public Dataset buildPartial()
Type | Description |
Dataset |
clear()
public Dataset.Builder clear()
Type | Description |
Dataset.Builder |
clearCreateTime()
public Dataset.Builder clearCreateTime()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Type | Description |
Dataset.Builder |
clearDatasetMetadata()
public Dataset.Builder clearDatasetMetadata()
Type | Description |
Dataset.Builder |
clearDescription()
public Dataset.Builder clearDescription()
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;
Type | Description |
Dataset.Builder | 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;
Type | Description |
Dataset.Builder | 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;
Type | Description |
Dataset.Builder | This builder for chaining. |
clearExampleCount()
public Dataset.Builder clearExampleCount()
Output only. The number of examples in the dataset.
int32 example_count = 21;
Type | Description |
Dataset.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Dataset.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Dataset.Builder |
clearImageClassificationDatasetMetadata()
public Dataset.Builder clearImageClassificationDatasetMetadata()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Type | Description |
Dataset.Builder |
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;
Type | Description |
Dataset.Builder |
clearLabels()
public Dataset.Builder clearLabels()
Type | Description |
Dataset.Builder |
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;
Type | Description |
Dataset.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Dataset.Builder |
clearTextClassificationDatasetMetadata()
public Dataset.Builder clearTextClassificationDatasetMetadata()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Type | Description |
Dataset.Builder |
clearTextExtractionDatasetMetadata()
public Dataset.Builder clearTextExtractionDatasetMetadata()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Type | Description |
Dataset.Builder |
clearTextSentimentDatasetMetadata()
public Dataset.Builder clearTextSentimentDatasetMetadata()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Type | Description |
Dataset.Builder |
clearTranslationDatasetMetadata()
public Dataset.Builder clearTranslationDatasetMetadata()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Type | Description |
Dataset.Builder |
clone()
public Dataset.Builder clone()
Type | Description |
Dataset.Builder |
containsLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Type | Description |
TimestampOrBuilder |
getDatasetMetadataCase()
public Dataset.DatasetMetadataCase getDatasetMetadataCase()
Type | Description |
Dataset.DatasetMetadataCase |
getDefaultInstanceForType()
public Dataset getDefaultInstanceForType()
Type | Description |
Dataset |
getDescription()
public String getDescription()
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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;
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 17;
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 17;
Type | Description |
ByteString | The bytes for etag. |
getExampleCount()
public int getExampleCount()
Output only. The number of examples in the dataset.
int32 example_count = 21;
Type | Description |
int | The exampleCount. |
getImageClassificationDatasetMetadata()
public ImageClassificationDatasetMetadata getImageClassificationDatasetMetadata()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Type | Description |
ImageClassificationDatasetMetadata | The imageClassificationDatasetMetadata. |
getImageClassificationDatasetMetadataBuilder()
public ImageClassificationDatasetMetadata.Builder getImageClassificationDatasetMetadataBuilder()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Type | Description |
ImageClassificationDatasetMetadata.Builder |
getImageClassificationDatasetMetadataOrBuilder()
public ImageClassificationDatasetMetadataOrBuilder getImageClassificationDatasetMetadataOrBuilder()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Type | Description |
ImageClassificationDatasetMetadataOrBuilder |
getImageObjectDetectionDatasetMetadata()
public ImageObjectDetectionDatasetMetadata getImageObjectDetectionDatasetMetadata()
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
Type | Description |
ImageObjectDetectionDatasetMetadata | The imageObjectDetectionDatasetMetadata. |
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;
Type | Description |
ImageObjectDetectionDatasetMetadata.Builder |
getImageObjectDetectionDatasetMetadataOrBuilder()
public ImageObjectDetectionDatasetMetadataOrBuilder getImageObjectDetectionDatasetMetadataOrBuilder()
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
Type | Description |
ImageObjectDetectionDatasetMetadataOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public 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;
Type | Description |
int |
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;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
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;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the dataset.
Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getTextClassificationDatasetMetadata()
public TextClassificationDatasetMetadata getTextClassificationDatasetMetadata()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Type | Description |
TextClassificationDatasetMetadata | The textClassificationDatasetMetadata. |
getTextClassificationDatasetMetadataBuilder()
public TextClassificationDatasetMetadata.Builder getTextClassificationDatasetMetadataBuilder()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Type | Description |
TextClassificationDatasetMetadata.Builder |
getTextClassificationDatasetMetadataOrBuilder()
public TextClassificationDatasetMetadataOrBuilder getTextClassificationDatasetMetadataOrBuilder()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Type | Description |
TextClassificationDatasetMetadataOrBuilder |
getTextExtractionDatasetMetadata()
public TextExtractionDatasetMetadata getTextExtractionDatasetMetadata()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Type | Description |
TextExtractionDatasetMetadata | The textExtractionDatasetMetadata. |
getTextExtractionDatasetMetadataBuilder()
public TextExtractionDatasetMetadata.Builder getTextExtractionDatasetMetadataBuilder()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Type | Description |
TextExtractionDatasetMetadata.Builder |
getTextExtractionDatasetMetadataOrBuilder()
public TextExtractionDatasetMetadataOrBuilder getTextExtractionDatasetMetadataOrBuilder()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Type | Description |
TextExtractionDatasetMetadataOrBuilder |
getTextSentimentDatasetMetadata()
public TextSentimentDatasetMetadata getTextSentimentDatasetMetadata()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Type | Description |
TextSentimentDatasetMetadata | The textSentimentDatasetMetadata. |
getTextSentimentDatasetMetadataBuilder()
public TextSentimentDatasetMetadata.Builder getTextSentimentDatasetMetadataBuilder()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Type | Description |
TextSentimentDatasetMetadata.Builder |
getTextSentimentDatasetMetadataOrBuilder()
public TextSentimentDatasetMetadataOrBuilder getTextSentimentDatasetMetadataOrBuilder()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Type | Description |
TextSentimentDatasetMetadataOrBuilder |
getTranslationDatasetMetadata()
public TranslationDatasetMetadata getTranslationDatasetMetadata()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Type | Description |
TranslationDatasetMetadata | The translationDatasetMetadata. |
getTranslationDatasetMetadataBuilder()
public TranslationDatasetMetadata.Builder getTranslationDatasetMetadataBuilder()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Type | Description |
TranslationDatasetMetadata.Builder |
getTranslationDatasetMetadataOrBuilder()
public TranslationDatasetMetadataOrBuilder getTranslationDatasetMetadataOrBuilder()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Type | Description |
TranslationDatasetMetadataOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Type | Description |
boolean | Whether the createTime field is set. |
hasImageClassificationDatasetMetadata()
public boolean hasImageClassificationDatasetMetadata()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Type | Description |
boolean | Whether the imageClassificationDatasetMetadata field is set. |
hasImageObjectDetectionDatasetMetadata()
public boolean hasImageObjectDetectionDatasetMetadata()
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
Type | Description |
boolean | Whether the imageObjectDetectionDatasetMetadata field is set. |
hasTextClassificationDatasetMetadata()
public boolean hasTextClassificationDatasetMetadata()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Type | Description |
boolean | Whether the textClassificationDatasetMetadata field is set. |
hasTextExtractionDatasetMetadata()
public boolean hasTextExtractionDatasetMetadata()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Type | Description |
boolean | Whether the textExtractionDatasetMetadata field is set. |
hasTextSentimentDatasetMetadata()
public boolean hasTextSentimentDatasetMetadata()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Type | Description |
boolean | Whether the textSentimentDatasetMetadata field is set. |
hasTranslationDatasetMetadata()
public boolean hasTranslationDatasetMetadata()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Type | Description |
boolean | Whether the translationDatasetMetadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Dataset.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Name | Description |
value | Timestamp |
Type | Description |
Dataset.Builder |
mergeFrom(Dataset other)
public Dataset.Builder mergeFrom(Dataset other)
Name | Description |
other | Dataset |
Type | Description |
Dataset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Dataset.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Dataset.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Dataset.Builder |
mergeImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)
public Dataset.Builder mergeImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Name | Description |
value | ImageClassificationDatasetMetadata |
Type | Description |
Dataset.Builder |
mergeImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata value)
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;
Name | Description |
value | ImageObjectDetectionDatasetMetadata |
Type | Description |
Dataset.Builder |
mergeTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)
public Dataset.Builder mergeTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Name | Description |
value | TextClassificationDatasetMetadata |
Type | Description |
Dataset.Builder |
mergeTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)
public Dataset.Builder mergeTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Name | Description |
value | TextExtractionDatasetMetadata |
Type | Description |
Dataset.Builder |
mergeTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)
public Dataset.Builder mergeTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Name | Description |
value | TextSentimentDatasetMetadata |
Type | Description |
Dataset.Builder |
mergeTranslationDatasetMetadata(TranslationDatasetMetadata value)
public Dataset.Builder mergeTranslationDatasetMetadata(TranslationDatasetMetadata value)
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Name | Description |
value | TranslationDatasetMetadata |
Type | Description |
Dataset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Dataset.Builder |
putAllLabels(Map<String,String> values)
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;
Name | Description |
values | Map<String,String> |
Type | Description |
Dataset.Builder |
putLabels(String key, String value)
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;
Name | Description |
key | String |
value | String |
Type | Description |
Dataset.Builder |
removeLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
Dataset.Builder |
setCreateTime(Timestamp value)
public Dataset.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Name | Description |
value | Timestamp |
Type | Description |
Dataset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Dataset.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;
Name | Description |
builderForValue | Builder |
Type | Description |
Dataset.Builder |
setDescription(String value)
public Dataset.Builder setDescription(String value)
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Dataset.Builder setDescriptionBytes(ByteString value)
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setDisplayName(String value)
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;
Name | Description |
value | String The displayName to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Dataset.Builder setDisplayNameBytes(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;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setEtag(String value)
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;
Name | Description |
value | String The etag to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Dataset.Builder setEtagBytes(ByteString value)
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 17;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setExampleCount(int value)
public Dataset.Builder setExampleCount(int value)
Output only. The number of examples in the dataset.
int32 example_count = 21;
Name | Description |
value | int The exampleCount to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Dataset.Builder |
setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)
public Dataset.Builder setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
Name | Description |
value | ImageClassificationDatasetMetadata |
Type | Description |
Dataset.Builder |
setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata.Builder builderForValue)
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;
Name | Description |
builderForValue | ImageClassificationDatasetMetadata.Builder |
Type | Description |
Dataset.Builder |
setImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata value)
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;
Name | Description |
value | ImageObjectDetectionDatasetMetadata |
Type | Description |
Dataset.Builder |
setImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata.Builder builderForValue)
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;
Name | Description |
builderForValue | ImageObjectDetectionDatasetMetadata.Builder |
Type | Description |
Dataset.Builder |
setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Dataset.Builder setNameBytes(ByteString value)
Output only. The resource name of the dataset.
Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Dataset.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Dataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Dataset.Builder |
setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)
public Dataset.Builder setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
Name | Description |
value | TextClassificationDatasetMetadata |
Type | Description |
Dataset.Builder |
setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata.Builder builderForValue)
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;
Name | Description |
builderForValue | TextClassificationDatasetMetadata.Builder |
Type | Description |
Dataset.Builder |
setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)
public Dataset.Builder setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
Name | Description |
value | TextExtractionDatasetMetadata |
Type | Description |
Dataset.Builder |
setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata.Builder builderForValue)
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;
Name | Description |
builderForValue | TextExtractionDatasetMetadata.Builder |
Type | Description |
Dataset.Builder |
setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)
public Dataset.Builder setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
Name | Description |
value | TextSentimentDatasetMetadata |
Type | Description |
Dataset.Builder |
setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata.Builder builderForValue)
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;
Name | Description |
builderForValue | TextSentimentDatasetMetadata.Builder |
Type | Description |
Dataset.Builder |
setTranslationDatasetMetadata(TranslationDatasetMetadata value)
public Dataset.Builder setTranslationDatasetMetadata(TranslationDatasetMetadata value)
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Name | Description |
value | TranslationDatasetMetadata |
Type | Description |
Dataset.Builder |
setTranslationDatasetMetadata(TranslationDatasetMetadata.Builder builderForValue)
public Dataset.Builder setTranslationDatasetMetadata(TranslationDatasetMetadata.Builder builderForValue)
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
Name | Description |
builderForValue | TranslationDatasetMetadata.Builder |
Type | Description |
Dataset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Dataset.Builder |