Class AnnotatedDatasetMetadata (0.123.3)

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
TypeDescription
int

EVENT_CONFIG_FIELD_NUMBER

public static final int EVENT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

HUMAN_ANNOTATION_CONFIG_FIELD_NUMBER

public static final int HUMAN_ANNOTATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECT_DETECTION_CONFIG_FIELD_NUMBER

public static final int OBJECT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

POLYLINE_CONFIG_FIELD_NUMBER

public static final int POLYLINE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SEGMENTATION_CONFIG_FIELD_NUMBER

public static final int SEGMENTATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER

public static final int TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnnotatedDatasetMetadata getDefaultInstance()
Returns
TypeDescription
AnnotatedDatasetMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnnotatedDatasetMetadata.Builder newBuilder()
Returns
TypeDescription
AnnotatedDatasetMetadata.Builder

newBuilder(AnnotatedDatasetMetadata prototype)

public static AnnotatedDatasetMetadata.Builder newBuilder(AnnotatedDatasetMetadata prototype)
Parameter
NameDescription
prototypeAnnotatedDatasetMetadata
Returns
TypeDescription
AnnotatedDatasetMetadata.Builder

parseDelimitedFrom(InputStream input)

public static AnnotatedDatasetMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnnotatedDatasetMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotatedDatasetMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotatedDatasetMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnnotatedDatasetMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnnotatedDatasetMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotatedDatasetMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotatedDatasetMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnnotatedDatasetMetadata> parser()
Returns
TypeDescription
Parser<AnnotatedDatasetMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnnotationRequestConfigCase()

public AnnotatedDatasetMetadata.AnnotationRequestConfigCase getAnnotationRequestConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BoundingPolyConfigOrBuilder

getDefaultInstanceForType()

public AnnotatedDatasetMetadata getDefaultInstanceForType()
Returns
TypeDescription
AnnotatedDatasetMetadata

getEventConfig()

public EventConfig getEventConfig()

Configuration for video event labeling task.

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

Returns
TypeDescription
EventConfig

The eventConfig.

getEventConfigOrBuilder()

public EventConfigOrBuilder getEventConfigOrBuilder()

Configuration for video event labeling task.

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

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

getImageClassificationConfig()

public ImageClassificationConfig getImageClassificationConfig()

Configuration for image classification task.

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

Returns
TypeDescription
ImageClassificationConfig

The imageClassificationConfig.

getImageClassificationConfigOrBuilder()

public ImageClassificationConfigOrBuilder getImageClassificationConfigOrBuilder()

Configuration for image classification task.

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

Returns
TypeDescription
ImageClassificationConfigOrBuilder

getObjectDetectionConfig()

public ObjectDetectionConfig getObjectDetectionConfig()

Configuration for video object detection task.

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

Returns
TypeDescription
ObjectDetectionConfig

The objectDetectionConfig.

getObjectDetectionConfigOrBuilder()

public ObjectDetectionConfigOrBuilder getObjectDetectionConfigOrBuilder()

Configuration for video object detection task.

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

Returns
TypeDescription
ObjectDetectionConfigOrBuilder

getObjectTrackingConfig()

public ObjectTrackingConfig getObjectTrackingConfig()

Configuration for video object tracking task.

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

Returns
TypeDescription
ObjectTrackingConfig

The objectTrackingConfig.

getObjectTrackingConfigOrBuilder()

public ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Configuration for video object tracking task.

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

Returns
TypeDescription
ObjectTrackingConfigOrBuilder

getParserForType()

public Parser<AnnotatedDatasetMetadata> getParserForType()
Returns
TypeDescription
Parser<AnnotatedDatasetMetadata>
Overrides

getPolylineConfig()

public PolylineConfig getPolylineConfig()

Configuration for image polyline task.

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

Returns
TypeDescription
PolylineConfig

The polylineConfig.

getPolylineConfigOrBuilder()

public PolylineConfigOrBuilder getPolylineConfigOrBuilder()

Configuration for image polyline task.

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

Returns
TypeDescription
PolylineConfigOrBuilder

getSegmentationConfig()

public SegmentationConfig getSegmentationConfig()

Configuration for image segmentation task.

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

Returns
TypeDescription
SegmentationConfig

The segmentationConfig.

getSegmentationConfigOrBuilder()

public SegmentationConfigOrBuilder getSegmentationConfigOrBuilder()

Configuration for image segmentation task.

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

Returns
TypeDescription
SegmentationConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTextClassificationConfig()

public TextClassificationConfig getTextClassificationConfig()

Configuration for text classification task.

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

Returns
TypeDescription
TextClassificationConfig

The textClassificationConfig.

getTextClassificationConfigOrBuilder()

public TextClassificationConfigOrBuilder getTextClassificationConfigOrBuilder()

Configuration for text classification task.

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

Returns
TypeDescription
TextClassificationConfigOrBuilder

getTextEntityExtractionConfig()

public TextEntityExtractionConfig getTextEntityExtractionConfig()

Configuration for text entity extraction task.

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

Returns
TypeDescription
TextEntityExtractionConfig

The textEntityExtractionConfig.

getTextEntityExtractionConfigOrBuilder()

public TextEntityExtractionConfigOrBuilder getTextEntityExtractionConfigOrBuilder()

Configuration for text entity extraction task.

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

Returns
TypeDescription
TextEntityExtractionConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVideoClassificationConfig()

public VideoClassificationConfig getVideoClassificationConfig()

Configuration for video classification task.

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

Returns
TypeDescription
VideoClassificationConfig

The videoClassificationConfig.

getVideoClassificationConfigOrBuilder()

public VideoClassificationConfigOrBuilder getVideoClassificationConfigOrBuilder()

Configuration for video classification task.

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

Returns
TypeDescription
VideoClassificationConfigOrBuilder

hasBoundingPolyConfig()

public boolean hasBoundingPolyConfig()

Configuration for image bounding box and bounding poly task.

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

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

Whether the videoClassificationConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnnotatedDatasetMetadata.Builder newBuilderForType()
Returns
TypeDescription
AnnotatedDatasetMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotatedDatasetMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnnotatedDatasetMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnnotatedDatasetMetadata.Builder toBuilder()
Returns
TypeDescription
AnnotatedDatasetMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException