Class AnnotatedDatasetMetadata (0.174.0)

public final class AnnotatedDatasetMetadata extends GeneratedMessageV3 implements AnnotatedDatasetMetadataOrBuilder

Metadata on AnnotatedDataset.

Protobuf type google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata

Static Fields

BOUNDING_POLY_CONFIG_FIELD_NUMBER

public static final int BOUNDING_POLY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

EVENT_CONFIG_FIELD_NUMBER

public static final int EVENT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

HUMAN_ANNOTATION_CONFIG_FIELD_NUMBER

public static final int HUMAN_ANNOTATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_DETECTION_CONFIG_FIELD_NUMBER

public static final int OBJECT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

POLYLINE_CONFIG_FIELD_NUMBER

public static final int POLYLINE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SEGMENTATION_CONFIG_FIELD_NUMBER

public static final int SEGMENTATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER

public static final int TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnnotatedDatasetMetadata getDefaultInstance()
Returns
Type Description
AnnotatedDatasetMetadata

getDescriptor()

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

newBuilder()

public static AnnotatedDatasetMetadata.Builder newBuilder()
Returns
Type Description
AnnotatedDatasetMetadata.Builder

newBuilder(AnnotatedDatasetMetadata prototype)

public static AnnotatedDatasetMetadata.Builder newBuilder(AnnotatedDatasetMetadata prototype)
Parameter
Name Description
prototype AnnotatedDatasetMetadata
Returns
Type Description
AnnotatedDatasetMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AnnotatedDatasetMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnnotatedDatasetMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotatedDatasetMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotatedDatasetMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnnotatedDatasetMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnnotatedDatasetMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotatedDatasetMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnnotatedDatasetMetadata> parser()
Returns
Type Description
Parser<AnnotatedDatasetMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getEventConfig()

public EventConfig getEventConfig()

Configuration for video event labeling task.

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

Returns
Type Description
EventConfig

The eventConfig.

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.

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.

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.

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.

getObjectTrackingConfigOrBuilder()

public ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Configuration for video object tracking task.

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

Returns
Type Description
ObjectTrackingConfigOrBuilder

getParserForType()

public Parser<AnnotatedDatasetMetadata> getParserForType()
Returns
Type Description
Parser<AnnotatedDatasetMetadata>
Overrides

getPolylineConfig()

public PolylineConfig getPolylineConfig()

Configuration for image polyline task.

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

Returns
Type Description
PolylineConfig

The polylineConfig.

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.

getSegmentationConfigOrBuilder()

public SegmentationConfigOrBuilder getSegmentationConfigOrBuilder()

Configuration for image segmentation task.

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

Returns
Type Description
SegmentationConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTextClassificationConfig()

public TextClassificationConfig getTextClassificationConfig()

Configuration for text classification task.

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

Returns
Type Description
TextClassificationConfig

The textClassificationConfig.

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotatedDatasetMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnnotatedDatasetMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException