Class Dataset.Builder (2.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Dataset.Builder
Overrides

build()

public Dataset build()
Returns
TypeDescription
Dataset

buildPartial()

public Dataset buildPartial()
Returns
TypeDescription
Dataset

clear()

public Dataset.Builder clear()
Returns
TypeDescription
Dataset.Builder
Overrides

clearCreateTime()

public Dataset.Builder clearCreateTime()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
TypeDescription
Dataset.Builder

clearDatasetMetadata()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Dataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Dataset.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Dataset.Builder

clearTranslationDatasetMetadata()

public Dataset.Builder clearTranslationDatasetMetadata()

Metadata for a dataset used for translation.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Dataset.Builder

clone()

public Dataset.Builder clone()
Returns
TypeDescription
Dataset.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
TypeDescription
TimestampOrBuilder

getDatasetMetadataCase()

public Dataset.DatasetMetadataCase getDatasetMetadataCase()
Returns
TypeDescription
Dataset.DatasetMetadataCase

getDefaultInstanceForType()

public Dataset getDefaultInstanceForType()
Returns
TypeDescription
Dataset

getDescription()

public String getDescription()

User-provided description of the dataset. The description can be up to 25000 characters long.

string description = 3;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for etag.

getExampleCount()

public int getExampleCount()

Output only. The number of examples in the dataset.

int32 example_count = 21;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TablesDatasetMetadata.Builder

getTablesDatasetMetadataOrBuilder()

public TablesDatasetMetadataOrBuilder getTablesDatasetMetadataOrBuilder()

Metadata for a dataset used for Tables.

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

Returns
TypeDescription
TablesDatasetMetadataOrBuilder

getTextClassificationDatasetMetadata()

public TextClassificationDatasetMetadata getTextClassificationDatasetMetadata()

Metadata for a dataset used for text classification.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TextClassificationDatasetMetadataOrBuilder

getTextExtractionDatasetMetadata()

public TextExtractionDatasetMetadata getTextExtractionDatasetMetadata()

Metadata for a dataset used for text extraction.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TextExtractionDatasetMetadataOrBuilder

getTextSentimentDatasetMetadata()

public TextSentimentDatasetMetadata getTextSentimentDatasetMetadata()

Metadata for a dataset used for text sentiment.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TextSentimentDatasetMetadataOrBuilder

getTranslationDatasetMetadata()

public TranslationDatasetMetadata getTranslationDatasetMetadata()

Metadata for a dataset used for translation.

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

Returns
TypeDescription
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
TypeDescription
TranslationDatasetMetadata.Builder

getTranslationDatasetMetadataOrBuilder()

public TranslationDatasetMetadataOrBuilder getTranslationDatasetMetadataOrBuilder()

Metadata for a dataset used for translation.

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

Returns
TypeDescription
TranslationDatasetMetadataOrBuilder

getVideoClassificationDatasetMetadata()

public VideoClassificationDatasetMetadata getVideoClassificationDatasetMetadata()

Metadata for a dataset used for video classification.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
VideoObjectTrackingDatasetMetadataOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this dataset was created.

.google.protobuf.Timestamp create_time = 14;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the videoObjectTrackingDatasetMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Dataset.Builder

mergeFrom(Dataset other)

public Dataset.Builder mergeFrom(Dataset other)
Parameter
NameDescription
otherDataset
Returns
TypeDescription
Dataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Dataset.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Dataset.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueImageClassificationDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueImageObjectDetectionDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueTablesDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueTextClassificationDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueTextExtractionDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueTextSentimentDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueTranslationDatasetMetadata
Returns
TypeDescription
Dataset.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVideoClassificationDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueVideoObjectTrackingDatasetMetadata
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
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
NameDescription
valueint

The exampleCount to set.

Returns
TypeDescription
Dataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueImageClassificationDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueImageClassificationDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueImageObjectDetectionDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueImageObjectDetectionDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTablesDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTablesDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTextClassificationDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTextClassificationDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTextExtractionDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTextExtractionDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTextSentimentDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTextSentimentDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTranslationDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueTranslationDatasetMetadata.Builder
Returns
TypeDescription
Dataset.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVideoClassificationDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueVideoClassificationDatasetMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueVideoObjectTrackingDatasetMetadata
Returns
TypeDescription
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
NameDescription
builderForValueVideoObjectTrackingDatasetMetadata.Builder
Returns
TypeDescription
Dataset.Builder