Class AnnotatedDatasetMetadata.Builder (0.164.0)

public static final class AnnotatedDatasetMetadata.Builder extends GeneratedMessageV3.Builder<AnnotatedDatasetMetadata.Builder> implements AnnotatedDatasetMetadataOrBuilder

Metadata on AnnotatedDataset.

Protobuf type google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotatedDatasetMetadata build()
Returns
Type Description
AnnotatedDatasetMetadata

buildPartial()

public AnnotatedDatasetMetadata buildPartial()
Returns
Type Description
AnnotatedDatasetMetadata

clear()

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

clearAnnotationRequestConfig()

public AnnotatedDatasetMetadata.Builder clearAnnotationRequestConfig()
Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearBoundingPolyConfig()

public AnnotatedDatasetMetadata.Builder clearBoundingPolyConfig()

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearEventConfig()

public AnnotatedDatasetMetadata.Builder clearEventConfig()

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearHumanAnnotationConfig()

public AnnotatedDatasetMetadata.Builder clearHumanAnnotationConfig()

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearImageClassificationConfig()

public AnnotatedDatasetMetadata.Builder clearImageClassificationConfig()

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearObjectDetectionConfig()

public AnnotatedDatasetMetadata.Builder clearObjectDetectionConfig()

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearObjectTrackingConfig()

public AnnotatedDatasetMetadata.Builder clearObjectTrackingConfig()

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolylineConfig()

public AnnotatedDatasetMetadata.Builder clearPolylineConfig()

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearSegmentationConfig()

public AnnotatedDatasetMetadata.Builder clearSegmentationConfig()

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearTextClassificationConfig()

public AnnotatedDatasetMetadata.Builder clearTextClassificationConfig()

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearTextEntityExtractionConfig()

public AnnotatedDatasetMetadata.Builder clearTextEntityExtractionConfig()

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clearVideoClassificationConfig()

public AnnotatedDatasetMetadata.Builder clearVideoClassificationConfig()

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Returns
Type Description
AnnotatedDatasetMetadata.Builder

clone()

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

getAnnotationRequestConfigCase()

public AnnotatedDatasetMetadata.AnnotationRequestConfigCase getAnnotationRequestConfigCase()
Returns
Type Description
AnnotatedDatasetMetadata.AnnotationRequestConfigCase

getBoundingPolyConfig()

public BoundingPolyConfig getBoundingPolyConfig()

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Returns
Type Description
BoundingPolyConfig

The boundingPolyConfig.

getBoundingPolyConfigBuilder()

public BoundingPolyConfig.Builder getBoundingPolyConfigBuilder()

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Returns
Type Description
BoundingPolyConfig.Builder

getBoundingPolyConfigOrBuilder()

public BoundingPolyConfigOrBuilder getBoundingPolyConfigOrBuilder()

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Returns
Type Description
BoundingPolyConfigOrBuilder

getDefaultInstanceForType()

public AnnotatedDatasetMetadata getDefaultInstanceForType()
Returns
Type Description
AnnotatedDatasetMetadata

getDescriptorForType()

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

getEventConfig()

public EventConfig getEventConfig()

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Returns
Type Description
EventConfig

The eventConfig.

getEventConfigBuilder()

public EventConfig.Builder getEventConfigBuilder()

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Returns
Type Description
EventConfig.Builder

getEventConfigOrBuilder()

public EventConfigOrBuilder getEventConfigOrBuilder()

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Returns
Type Description
EventConfigOrBuilder

getHumanAnnotationConfig()

public HumanAnnotationConfig getHumanAnnotationConfig()

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Returns
Type Description
HumanAnnotationConfig

The humanAnnotationConfig.

getHumanAnnotationConfigBuilder()

public HumanAnnotationConfig.Builder getHumanAnnotationConfigBuilder()

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Returns
Type Description
HumanAnnotationConfig.Builder

getHumanAnnotationConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getHumanAnnotationConfigOrBuilder()

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Returns
Type Description
HumanAnnotationConfigOrBuilder

getImageClassificationConfig()

public ImageClassificationConfig getImageClassificationConfig()

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Returns
Type Description
ImageClassificationConfig

The imageClassificationConfig.

getImageClassificationConfigBuilder()

public ImageClassificationConfig.Builder getImageClassificationConfigBuilder()

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Returns
Type Description
ImageClassificationConfig.Builder

getImageClassificationConfigOrBuilder()

public ImageClassificationConfigOrBuilder getImageClassificationConfigOrBuilder()

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Returns
Type Description
ImageClassificationConfigOrBuilder

getObjectDetectionConfig()

public ObjectDetectionConfig getObjectDetectionConfig()

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Returns
Type Description
ObjectDetectionConfig

The objectDetectionConfig.

getObjectDetectionConfigBuilder()

public ObjectDetectionConfig.Builder getObjectDetectionConfigBuilder()

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Returns
Type Description
ObjectDetectionConfig.Builder

getObjectDetectionConfigOrBuilder()

public ObjectDetectionConfigOrBuilder getObjectDetectionConfigOrBuilder()

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Returns
Type Description
ObjectDetectionConfigOrBuilder

getObjectTrackingConfig()

public ObjectTrackingConfig getObjectTrackingConfig()

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Returns
Type Description
ObjectTrackingConfig

The objectTrackingConfig.

getObjectTrackingConfigBuilder()

public ObjectTrackingConfig.Builder getObjectTrackingConfigBuilder()

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Returns
Type Description
ObjectTrackingConfig.Builder

getObjectTrackingConfigOrBuilder()

public ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Returns
Type Description
ObjectTrackingConfigOrBuilder

getPolylineConfig()

public PolylineConfig getPolylineConfig()

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Returns
Type Description
PolylineConfig

The polylineConfig.

getPolylineConfigBuilder()

public PolylineConfig.Builder getPolylineConfigBuilder()

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Returns
Type Description
PolylineConfig.Builder

getPolylineConfigOrBuilder()

public PolylineConfigOrBuilder getPolylineConfigOrBuilder()

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Returns
Type Description
PolylineConfigOrBuilder

getSegmentationConfig()

public SegmentationConfig getSegmentationConfig()

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Returns
Type Description
SegmentationConfig

The segmentationConfig.

getSegmentationConfigBuilder()

public SegmentationConfig.Builder getSegmentationConfigBuilder()

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Returns
Type Description
SegmentationConfig.Builder

getSegmentationConfigOrBuilder()

public SegmentationConfigOrBuilder getSegmentationConfigOrBuilder()

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Returns
Type Description
SegmentationConfigOrBuilder

getTextClassificationConfig()

public TextClassificationConfig getTextClassificationConfig()

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Returns
Type Description
TextClassificationConfig

The textClassificationConfig.

getTextClassificationConfigBuilder()

public TextClassificationConfig.Builder getTextClassificationConfigBuilder()

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Returns
Type Description
TextClassificationConfig.Builder

getTextClassificationConfigOrBuilder()

public TextClassificationConfigOrBuilder getTextClassificationConfigOrBuilder()

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Returns
Type Description
TextClassificationConfigOrBuilder

getTextEntityExtractionConfig()

public TextEntityExtractionConfig getTextEntityExtractionConfig()

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Returns
Type Description
TextEntityExtractionConfig

The textEntityExtractionConfig.

getTextEntityExtractionConfigBuilder()

public TextEntityExtractionConfig.Builder getTextEntityExtractionConfigBuilder()

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Returns
Type Description
TextEntityExtractionConfig.Builder

getTextEntityExtractionConfigOrBuilder()

public TextEntityExtractionConfigOrBuilder getTextEntityExtractionConfigOrBuilder()

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Returns
Type Description
TextEntityExtractionConfigOrBuilder

getVideoClassificationConfig()

public VideoClassificationConfig getVideoClassificationConfig()

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Returns
Type Description
VideoClassificationConfig

The videoClassificationConfig.

getVideoClassificationConfigBuilder()

public VideoClassificationConfig.Builder getVideoClassificationConfigBuilder()

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Returns
Type Description
VideoClassificationConfig.Builder

getVideoClassificationConfigOrBuilder()

public VideoClassificationConfigOrBuilder getVideoClassificationConfigOrBuilder()

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Returns
Type Description
VideoClassificationConfigOrBuilder

hasBoundingPolyConfig()

public boolean hasBoundingPolyConfig()

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Returns
Type Description
boolean

Whether the boundingPolyConfig field is set.

hasEventConfig()

public boolean hasEventConfig()

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Returns
Type Description
boolean

Whether the eventConfig field is set.

hasHumanAnnotationConfig()

public boolean hasHumanAnnotationConfig()

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Returns
Type Description
boolean

Whether the humanAnnotationConfig field is set.

hasImageClassificationConfig()

public boolean hasImageClassificationConfig()

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Returns
Type Description
boolean

Whether the imageClassificationConfig field is set.

hasObjectDetectionConfig()

public boolean hasObjectDetectionConfig()

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Returns
Type Description
boolean

Whether the objectDetectionConfig field is set.

hasObjectTrackingConfig()

public boolean hasObjectTrackingConfig()

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Returns
Type Description
boolean

Whether the objectTrackingConfig field is set.

hasPolylineConfig()

public boolean hasPolylineConfig()

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Returns
Type Description
boolean

Whether the polylineConfig field is set.

hasSegmentationConfig()

public boolean hasSegmentationConfig()

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Returns
Type Description
boolean

Whether the segmentationConfig field is set.

hasTextClassificationConfig()

public boolean hasTextClassificationConfig()

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Returns
Type Description
boolean

Whether the textClassificationConfig field is set.

hasTextEntityExtractionConfig()

public boolean hasTextEntityExtractionConfig()

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Returns
Type Description
boolean

Whether the textEntityExtractionConfig field is set.

hasVideoClassificationConfig()

public boolean hasVideoClassificationConfig()

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Returns
Type Description
boolean

Whether the videoClassificationConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBoundingPolyConfig(BoundingPolyConfig value)

public AnnotatedDatasetMetadata.Builder mergeBoundingPolyConfig(BoundingPolyConfig value)

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Parameter
Name Description
value BoundingPolyConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeEventConfig(EventConfig value)

public AnnotatedDatasetMetadata.Builder mergeEventConfig(EventConfig value)

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Parameter
Name Description
value EventConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeFrom(AnnotatedDatasetMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHumanAnnotationConfig(HumanAnnotationConfig value)

public AnnotatedDatasetMetadata.Builder mergeHumanAnnotationConfig(HumanAnnotationConfig value)

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Parameter
Name Description
value HumanAnnotationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeImageClassificationConfig(ImageClassificationConfig value)

public AnnotatedDatasetMetadata.Builder mergeImageClassificationConfig(ImageClassificationConfig value)

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Parameter
Name Description
value ImageClassificationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeObjectDetectionConfig(ObjectDetectionConfig value)

public AnnotatedDatasetMetadata.Builder mergeObjectDetectionConfig(ObjectDetectionConfig value)

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Parameter
Name Description
value ObjectDetectionConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeObjectTrackingConfig(ObjectTrackingConfig value)

public AnnotatedDatasetMetadata.Builder mergeObjectTrackingConfig(ObjectTrackingConfig value)

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Parameter
Name Description
value ObjectTrackingConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergePolylineConfig(PolylineConfig value)

public AnnotatedDatasetMetadata.Builder mergePolylineConfig(PolylineConfig value)

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Parameter
Name Description
value PolylineConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeSegmentationConfig(SegmentationConfig value)

public AnnotatedDatasetMetadata.Builder mergeSegmentationConfig(SegmentationConfig value)

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Parameter
Name Description
value SegmentationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeTextClassificationConfig(TextClassificationConfig value)

public AnnotatedDatasetMetadata.Builder mergeTextClassificationConfig(TextClassificationConfig value)

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Parameter
Name Description
value TextClassificationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeTextEntityExtractionConfig(TextEntityExtractionConfig value)

public AnnotatedDatasetMetadata.Builder mergeTextEntityExtractionConfig(TextEntityExtractionConfig value)

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Parameter
Name Description
value TextEntityExtractionConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVideoClassificationConfig(VideoClassificationConfig value)

public AnnotatedDatasetMetadata.Builder mergeVideoClassificationConfig(VideoClassificationConfig value)

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Parameter
Name Description
value VideoClassificationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setBoundingPolyConfig(BoundingPolyConfig value)

public AnnotatedDatasetMetadata.Builder setBoundingPolyConfig(BoundingPolyConfig value)

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Parameter
Name Description
value BoundingPolyConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setBoundingPolyConfig(BoundingPolyConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setBoundingPolyConfig(BoundingPolyConfig.Builder builderForValue)

Configuration for image bounding box and bounding poly task.

.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;

Parameter
Name Description
builderForValue BoundingPolyConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setEventConfig(EventConfig value)

public AnnotatedDatasetMetadata.Builder setEventConfig(EventConfig value)

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Parameter
Name Description
value EventConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setEventConfig(EventConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setEventConfig(EventConfig.Builder builderForValue)

Configuration for video event labeling task.

.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;

Parameter
Name Description
builderForValue EventConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHumanAnnotationConfig(HumanAnnotationConfig value)

public AnnotatedDatasetMetadata.Builder setHumanAnnotationConfig(HumanAnnotationConfig value)

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Parameter
Name Description
value HumanAnnotationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setHumanAnnotationConfig(HumanAnnotationConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setHumanAnnotationConfig(HumanAnnotationConfig.Builder builderForValue)

HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;

Parameter
Name Description
builderForValue HumanAnnotationConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setImageClassificationConfig(ImageClassificationConfig value)

public AnnotatedDatasetMetadata.Builder setImageClassificationConfig(ImageClassificationConfig value)

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Parameter
Name Description
value ImageClassificationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setImageClassificationConfig(ImageClassificationConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setImageClassificationConfig(ImageClassificationConfig.Builder builderForValue)

Configuration for image classification task.

.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;

Parameter
Name Description
builderForValue ImageClassificationConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setObjectDetectionConfig(ObjectDetectionConfig value)

public AnnotatedDatasetMetadata.Builder setObjectDetectionConfig(ObjectDetectionConfig value)

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Parameter
Name Description
value ObjectDetectionConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setObjectDetectionConfig(ObjectDetectionConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setObjectDetectionConfig(ObjectDetectionConfig.Builder builderForValue)

Configuration for video object detection task.

.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;

Parameter
Name Description
builderForValue ObjectDetectionConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setObjectTrackingConfig(ObjectTrackingConfig value)

public AnnotatedDatasetMetadata.Builder setObjectTrackingConfig(ObjectTrackingConfig value)

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Parameter
Name Description
value ObjectTrackingConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setObjectTrackingConfig(ObjectTrackingConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setObjectTrackingConfig(ObjectTrackingConfig.Builder builderForValue)

Configuration for video object tracking task.

.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;

Parameter
Name Description
builderForValue ObjectTrackingConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setPolylineConfig(PolylineConfig value)

public AnnotatedDatasetMetadata.Builder setPolylineConfig(PolylineConfig value)

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Parameter
Name Description
value PolylineConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setPolylineConfig(PolylineConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setPolylineConfig(PolylineConfig.Builder builderForValue)

Configuration for image polyline task.

.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;

Parameter
Name Description
builderForValue PolylineConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnnotatedDatasetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnnotatedDatasetMetadata.Builder
Overrides

setSegmentationConfig(SegmentationConfig value)

public AnnotatedDatasetMetadata.Builder setSegmentationConfig(SegmentationConfig value)

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Parameter
Name Description
value SegmentationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setSegmentationConfig(SegmentationConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setSegmentationConfig(SegmentationConfig.Builder builderForValue)

Configuration for image segmentation task.

.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;

Parameter
Name Description
builderForValue SegmentationConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setTextClassificationConfig(TextClassificationConfig value)

public AnnotatedDatasetMetadata.Builder setTextClassificationConfig(TextClassificationConfig value)

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Parameter
Name Description
value TextClassificationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setTextClassificationConfig(TextClassificationConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setTextClassificationConfig(TextClassificationConfig.Builder builderForValue)

Configuration for text classification task.

.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;

Parameter
Name Description
builderForValue TextClassificationConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setTextEntityExtractionConfig(TextEntityExtractionConfig value)

public AnnotatedDatasetMetadata.Builder setTextEntityExtractionConfig(TextEntityExtractionConfig value)

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Parameter
Name Description
value TextEntityExtractionConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setTextEntityExtractionConfig(TextEntityExtractionConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setTextEntityExtractionConfig(TextEntityExtractionConfig.Builder builderForValue)

Configuration for text entity extraction task.

.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;

Parameter
Name Description
builderForValue TextEntityExtractionConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVideoClassificationConfig(VideoClassificationConfig value)

public AnnotatedDatasetMetadata.Builder setVideoClassificationConfig(VideoClassificationConfig value)

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Parameter
Name Description
value VideoClassificationConfig
Returns
Type Description
AnnotatedDatasetMetadata.Builder

setVideoClassificationConfig(VideoClassificationConfig.Builder builderForValue)

public AnnotatedDatasetMetadata.Builder setVideoClassificationConfig(VideoClassificationConfig.Builder builderForValue)

Configuration for video classification task.

.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;

Parameter
Name Description
builderForValue VideoClassificationConfig.Builder
Returns
Type Description
AnnotatedDatasetMetadata.Builder