Class Dataset.Builder (2.43.0)

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.v1beta1.Dataset

Implements

DatasetOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dataset.Builder
Overrides

build()

public Dataset build()
Returns
Type Description
Dataset

buildPartial()

public Dataset buildPartial()
Returns
Type Description
Dataset

clear()

public Dataset.Builder clear()
Returns
Type Description
Dataset.Builder
Overrides

clearCreateTime()

public Dataset.Builder clearCreateTime()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
Dataset.Builder

clearDatasetMetadata()

public Dataset.Builder clearDatasetMetadata()
Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
Dataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Dataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Dataset.Builder
Overrides

clearImageClassificationDatasetMetadata()

public Dataset.Builder clearImageClassificationDatasetMetadata()

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Returns
Type Description
Dataset.Builder

clearImageObjectDetectionDatasetMetadata()

public Dataset.Builder clearImageObjectDetectionDatasetMetadata()

Metadata for a dataset used for image object detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Returns
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;

Returns
Type Description
Dataset.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Dataset.Builder
Overrides

clearTablesDatasetMetadata()

public Dataset.Builder clearTablesDatasetMetadata()

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Returns
Type Description
Dataset.Builder

clearTextClassificationDatasetMetadata()

public Dataset.Builder clearTextClassificationDatasetMetadata()

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Returns
Type Description
Dataset.Builder

clearTextExtractionDatasetMetadata()

public Dataset.Builder clearTextExtractionDatasetMetadata()

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Returns
Type Description
Dataset.Builder

clearTextSentimentDatasetMetadata()

public Dataset.Builder clearTextSentimentDatasetMetadata()

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Returns
Type Description
Dataset.Builder

clearTranslationDatasetMetadata()

public Dataset.Builder clearTranslationDatasetMetadata()

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Returns
Type Description
Dataset.Builder

clearVideoClassificationDatasetMetadata()

public Dataset.Builder clearVideoClassificationDatasetMetadata()

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Returns
Type Description
Dataset.Builder

clearVideoObjectTrackingDatasetMetadata()

public Dataset.Builder clearVideoObjectTrackingDatasetMetadata()

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Returns
Type Description
Dataset.Builder

clone()

public Dataset.Builder clone()
Returns
Type Description
Dataset.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
TimestampOrBuilder

getDatasetMetadataCase()

public Dataset.DatasetMetadataCase getDatasetMetadataCase()
Returns
Type Description
Dataset.DatasetMetadataCase

getDefaultInstanceForType()

public Dataset getDefaultInstanceForType()
Returns
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;

Returns
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;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
ByteString

The bytes for etag.

getExampleCount()

public int getExampleCount()

Output only. The number of examples in the dataset.

int32 example_count = 21;

Returns
Type Description
int

The exampleCount.

getImageClassificationDatasetMetadata()

public ImageClassificationDatasetMetadata getImageClassificationDatasetMetadata()

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Returns
Type Description
ImageClassificationDatasetMetadata

The imageClassificationDatasetMetadata.

getImageClassificationDatasetMetadataBuilder()

public ImageClassificationDatasetMetadata.Builder getImageClassificationDatasetMetadataBuilder()

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Returns
Type Description
ImageClassificationDatasetMetadata.Builder

getImageClassificationDatasetMetadataOrBuilder()

public ImageClassificationDatasetMetadataOrBuilder getImageClassificationDatasetMetadataOrBuilder()

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Returns
Type Description
ImageClassificationDatasetMetadataOrBuilder

getImageObjectDetectionDatasetMetadata()

public ImageObjectDetectionDatasetMetadata getImageObjectDetectionDatasetMetadata()

Metadata for a dataset used for image object detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Returns
Type Description
ImageObjectDetectionDatasetMetadata

The imageObjectDetectionDatasetMetadata.

getImageObjectDetectionDatasetMetadataBuilder()

public ImageObjectDetectionDatasetMetadata.Builder getImageObjectDetectionDatasetMetadataBuilder()

Metadata for a dataset used for image object detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Returns
Type Description
ImageObjectDetectionDatasetMetadata.Builder

getImageObjectDetectionDatasetMetadataOrBuilder()

public ImageObjectDetectionDatasetMetadataOrBuilder getImageObjectDetectionDatasetMetadataOrBuilder()

Metadata for a dataset used for image object detection.

.google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Returns
Type Description
ImageObjectDetectionDatasetMetadataOrBuilder

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;

Returns
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;

Returns
Type Description
ByteString

The bytes for name.

getTablesDatasetMetadata()

public TablesDatasetMetadata getTablesDatasetMetadata()

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Returns
Type Description
TablesDatasetMetadata

The tablesDatasetMetadata.

getTablesDatasetMetadataBuilder()

public TablesDatasetMetadata.Builder getTablesDatasetMetadataBuilder()

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Returns
Type Description
TablesDatasetMetadata.Builder

getTablesDatasetMetadataOrBuilder()

public TablesDatasetMetadataOrBuilder getTablesDatasetMetadataOrBuilder()

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Returns
Type Description
TablesDatasetMetadataOrBuilder

getTextClassificationDatasetMetadata()

public TextClassificationDatasetMetadata getTextClassificationDatasetMetadata()

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Returns
Type Description
TextClassificationDatasetMetadata

The textClassificationDatasetMetadata.

getTextClassificationDatasetMetadataBuilder()

public TextClassificationDatasetMetadata.Builder getTextClassificationDatasetMetadataBuilder()

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Returns
Type Description
TextClassificationDatasetMetadata.Builder

getTextClassificationDatasetMetadataOrBuilder()

public TextClassificationDatasetMetadataOrBuilder getTextClassificationDatasetMetadataOrBuilder()

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Returns
Type Description
TextClassificationDatasetMetadataOrBuilder

getTextExtractionDatasetMetadata()

public TextExtractionDatasetMetadata getTextExtractionDatasetMetadata()

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Returns
Type Description
TextExtractionDatasetMetadata

The textExtractionDatasetMetadata.

getTextExtractionDatasetMetadataBuilder()

public TextExtractionDatasetMetadata.Builder getTextExtractionDatasetMetadataBuilder()

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Returns
Type Description
TextExtractionDatasetMetadata.Builder

getTextExtractionDatasetMetadataOrBuilder()

public TextExtractionDatasetMetadataOrBuilder getTextExtractionDatasetMetadataOrBuilder()

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Returns
Type Description
TextExtractionDatasetMetadataOrBuilder

getTextSentimentDatasetMetadata()

public TextSentimentDatasetMetadata getTextSentimentDatasetMetadata()

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Returns
Type Description
TextSentimentDatasetMetadata

The textSentimentDatasetMetadata.

getTextSentimentDatasetMetadataBuilder()

public TextSentimentDatasetMetadata.Builder getTextSentimentDatasetMetadataBuilder()

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Returns
Type Description
TextSentimentDatasetMetadata.Builder

getTextSentimentDatasetMetadataOrBuilder()

public TextSentimentDatasetMetadataOrBuilder getTextSentimentDatasetMetadataOrBuilder()

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Returns
Type Description
TextSentimentDatasetMetadataOrBuilder

getTranslationDatasetMetadata()

public TranslationDatasetMetadata getTranslationDatasetMetadata()

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Returns
Type Description
TranslationDatasetMetadata

The translationDatasetMetadata.

getTranslationDatasetMetadataBuilder()

public TranslationDatasetMetadata.Builder getTranslationDatasetMetadataBuilder()

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Returns
Type Description
TranslationDatasetMetadata.Builder

getTranslationDatasetMetadataOrBuilder()

public TranslationDatasetMetadataOrBuilder getTranslationDatasetMetadataOrBuilder()

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Returns
Type Description
TranslationDatasetMetadataOrBuilder

getVideoClassificationDatasetMetadata()

public VideoClassificationDatasetMetadata getVideoClassificationDatasetMetadata()

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Returns
Type Description
VideoClassificationDatasetMetadata

The videoClassificationDatasetMetadata.

getVideoClassificationDatasetMetadataBuilder()

public VideoClassificationDatasetMetadata.Builder getVideoClassificationDatasetMetadataBuilder()

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Returns
Type Description
VideoClassificationDatasetMetadata.Builder

getVideoClassificationDatasetMetadataOrBuilder()

public VideoClassificationDatasetMetadataOrBuilder getVideoClassificationDatasetMetadataOrBuilder()

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Returns
Type Description
VideoClassificationDatasetMetadataOrBuilder

getVideoObjectTrackingDatasetMetadata()

public VideoObjectTrackingDatasetMetadata getVideoObjectTrackingDatasetMetadata()

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Returns
Type Description
VideoObjectTrackingDatasetMetadata

The videoObjectTrackingDatasetMetadata.

getVideoObjectTrackingDatasetMetadataBuilder()

public VideoObjectTrackingDatasetMetadata.Builder getVideoObjectTrackingDatasetMetadataBuilder()

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Returns
Type Description
VideoObjectTrackingDatasetMetadata.Builder

getVideoObjectTrackingDatasetMetadataOrBuilder()

public VideoObjectTrackingDatasetMetadataOrBuilder getVideoObjectTrackingDatasetMetadataOrBuilder()

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Returns
Type Description
VideoObjectTrackingDatasetMetadataOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
Type Description
boolean

Whether the createTime field is set.

hasImageClassificationDatasetMetadata()

public boolean hasImageClassificationDatasetMetadata()

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Returns
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.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Returns
Type Description
boolean

Whether the imageObjectDetectionDatasetMetadata field is set.

hasTablesDatasetMetadata()

public boolean hasTablesDatasetMetadata()

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Returns
Type Description
boolean

Whether the tablesDatasetMetadata field is set.

hasTextClassificationDatasetMetadata()

public boolean hasTextClassificationDatasetMetadata()

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Returns
Type Description
boolean

Whether the textClassificationDatasetMetadata field is set.

hasTextExtractionDatasetMetadata()

public boolean hasTextExtractionDatasetMetadata()

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Returns
Type Description
boolean

Whether the textExtractionDatasetMetadata field is set.

hasTextSentimentDatasetMetadata()

public boolean hasTextSentimentDatasetMetadata()

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Returns
Type Description
boolean

Whether the textSentimentDatasetMetadata field is set.

hasTranslationDatasetMetadata()

public boolean hasTranslationDatasetMetadata()

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Returns
Type Description
boolean

Whether the translationDatasetMetadata field is set.

hasVideoClassificationDatasetMetadata()

public boolean hasVideoClassificationDatasetMetadata()

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Returns
Type Description
boolean

Whether the videoClassificationDatasetMetadata field is set.

hasVideoObjectTrackingDatasetMetadata()

public boolean hasVideoObjectTrackingDatasetMetadata()

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Returns
Type Description
boolean

Whether the videoObjectTrackingDatasetMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Dataset.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Parameter
Name Description
value Timestamp
Returns
Type Description
Dataset.Builder

mergeFrom(Dataset other)

public Dataset.Builder mergeFrom(Dataset other)
Parameter
Name Description
other Dataset
Returns
Type Description
Dataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dataset.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Dataset.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Dataset.Builder
Overrides

mergeImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)

public Dataset.Builder mergeImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Parameter
Name Description
value ImageClassificationDatasetMetadata
Returns
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.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Parameter
Name Description
value ImageObjectDetectionDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeTablesDatasetMetadata(TablesDatasetMetadata value)

public Dataset.Builder mergeTablesDatasetMetadata(TablesDatasetMetadata value)

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Parameter
Name Description
value TablesDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)

public Dataset.Builder mergeTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Parameter
Name Description
value TextClassificationDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)

public Dataset.Builder mergeTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Parameter
Name Description
value TextExtractionDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)

public Dataset.Builder mergeTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Parameter
Name Description
value TextSentimentDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeTranslationDatasetMetadata(TranslationDatasetMetadata value)

public Dataset.Builder mergeTranslationDatasetMetadata(TranslationDatasetMetadata value)

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Parameter
Name Description
value TranslationDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.Builder
Overrides

mergeVideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata value)

public Dataset.Builder mergeVideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata value)

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Parameter
Name Description
value VideoClassificationDatasetMetadata
Returns
Type Description
Dataset.Builder

mergeVideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata value)

public Dataset.Builder mergeVideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata value)

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Parameter
Name Description
value VideoObjectTrackingDatasetMetadata
Returns
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;

Parameter
Name Description
value Timestamp
Returns
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;

Parameter
Name Description
builderForValue Builder
Returns
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;

Parameter
Name Description
value String

The description to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
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;

Parameter
Name Description
value String

The displayName to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
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;

Parameter
Name Description
value String

The etag to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
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;

Parameter
Name Description
value int

The exampleCount to set.

Returns
Type Description
Dataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dataset.Builder
Overrides

setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)

public Dataset.Builder setImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata value)

Metadata for a dataset used for image classification.

.google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Parameter
Name Description
value ImageClassificationDatasetMetadata
Returns
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.v1beta1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;

Parameter
Name Description
builderForValue ImageClassificationDatasetMetadata.Builder
Returns
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.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Parameter
Name Description
value ImageObjectDetectionDatasetMetadata
Returns
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.v1beta1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;

Parameter
Name Description
builderForValue ImageObjectDetectionDatasetMetadata.Builder
Returns
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;

Parameter
Name Description
value String

The name to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Dataset.Builder
Overrides

setTablesDatasetMetadata(TablesDatasetMetadata value)

public Dataset.Builder setTablesDatasetMetadata(TablesDatasetMetadata value)

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Parameter
Name Description
value TablesDatasetMetadata
Returns
Type Description
Dataset.Builder

setTablesDatasetMetadata(TablesDatasetMetadata.Builder builderForValue)

public Dataset.Builder setTablesDatasetMetadata(TablesDatasetMetadata.Builder builderForValue)

Metadata for a dataset used for Tables.

.google.cloud.automl.v1beta1.TablesDatasetMetadata tables_dataset_metadata = 33;

Parameter
Name Description
builderForValue TablesDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder

setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)

public Dataset.Builder setTextClassificationDatasetMetadata(TextClassificationDatasetMetadata value)

Metadata for a dataset used for text classification.

.google.cloud.automl.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Parameter
Name Description
value TextClassificationDatasetMetadata
Returns
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.v1beta1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;

Parameter
Name Description
builderForValue TextClassificationDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder

setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)

public Dataset.Builder setTextExtractionDatasetMetadata(TextExtractionDatasetMetadata value)

Metadata for a dataset used for text extraction.

.google.cloud.automl.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Parameter
Name Description
value TextExtractionDatasetMetadata
Returns
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.v1beta1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;

Parameter
Name Description
builderForValue TextExtractionDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder

setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)

public Dataset.Builder setTextSentimentDatasetMetadata(TextSentimentDatasetMetadata value)

Metadata for a dataset used for text sentiment.

.google.cloud.automl.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Parameter
Name Description
value TextSentimentDatasetMetadata
Returns
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.v1beta1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;

Parameter
Name Description
builderForValue TextSentimentDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder

setTranslationDatasetMetadata(TranslationDatasetMetadata value)

public Dataset.Builder setTranslationDatasetMetadata(TranslationDatasetMetadata value)

Metadata for a dataset used for translation.

.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Parameter
Name Description
value TranslationDatasetMetadata
Returns
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.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;

Parameter
Name Description
builderForValue TranslationDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.Builder
Overrides

setVideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata value)

public Dataset.Builder setVideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata value)

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Parameter
Name Description
value VideoClassificationDatasetMetadata
Returns
Type Description
Dataset.Builder

setVideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata.Builder builderForValue)

public Dataset.Builder setVideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata.Builder builderForValue)

Metadata for a dataset used for video classification.

.google.cloud.automl.v1beta1.VideoClassificationDatasetMetadata video_classification_dataset_metadata = 31;

Parameter
Name Description
builderForValue VideoClassificationDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder

setVideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata value)

public Dataset.Builder setVideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata value)

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Parameter
Name Description
value VideoObjectTrackingDatasetMetadata
Returns
Type Description
Dataset.Builder

setVideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata.Builder builderForValue)

public Dataset.Builder setVideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata.Builder builderForValue)

Metadata for a dataset used for video object tracking.

.google.cloud.automl.v1beta1.VideoObjectTrackingDatasetMetadata video_object_tracking_dataset_metadata = 29;

Parameter
Name Description
builderForValue VideoObjectTrackingDatasetMetadata.Builder
Returns
Type Description
Dataset.Builder