public final class AnnotatedDatasetMetadata extends GeneratedMessageV3 implements AnnotatedDatasetMetadataOrBuilder
Metadata on AnnotatedDataset.
Protobuf type google.cloud.datalabeling.v1beta1.AnnotatedDatasetMetadata
Static Fields
public static final int BOUNDING_POLY_CONFIG_FIELD_NUMBER
Field Value
public static final int EVENT_CONFIG_FIELD_NUMBER
Field Value
public static final int HUMAN_ANNOTATION_CONFIG_FIELD_NUMBER
Field Value
public static final int IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
public static final int OBJECT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
public static final int POLYLINE_CONFIG_FIELD_NUMBER
Field Value
public static final int SEGMENTATION_CONFIG_FIELD_NUMBER
Field Value
TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
public static final int TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER
Field Value
public static final int VIDEO_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
Static Methods
public static AnnotatedDatasetMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static AnnotatedDatasetMetadata.Builder newBuilder()
Returns
public static AnnotatedDatasetMetadata.Builder newBuilder(AnnotatedDatasetMetadata prototype)
Parameter
Returns
public static AnnotatedDatasetMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnnotatedDatasetMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AnnotatedDatasetMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AnnotatedDatasetMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public AnnotatedDatasetMetadata.AnnotationRequestConfigCase getAnnotationRequestConfigCase()
Returns
public BoundingPolyConfig getBoundingPolyConfig()
Configuration for image bounding box and bounding poly task.
.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;
Returns
public BoundingPolyConfigOrBuilder getBoundingPolyConfigOrBuilder()
Configuration for image bounding box and bounding poly task.
.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 3;
Returns
public AnnotatedDatasetMetadata getDefaultInstanceForType()
Returns
public EventConfig getEventConfig()
Configuration for video event labeling task.
.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;
Returns
public EventConfigOrBuilder getEventConfigOrBuilder()
Configuration for video event labeling task.
.google.cloud.datalabeling.v1beta1.EventConfig event_config = 9;
Returns
public HumanAnnotationConfig getHumanAnnotationConfig()
HumanAnnotationConfig used when requesting the human labeling task for this
AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;
Returns
public HumanAnnotationConfigOrBuilder getHumanAnnotationConfigOrBuilder()
HumanAnnotationConfig used when requesting the human labeling task for this
AnnotatedDataset.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 1;
Returns
public ImageClassificationConfig getImageClassificationConfig()
Configuration for image classification task.
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;
Returns
public ImageClassificationConfigOrBuilder getImageClassificationConfigOrBuilder()
Configuration for image classification task.
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 2;
Returns
public ObjectDetectionConfig getObjectDetectionConfig()
Configuration for video object detection task.
.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;
Returns
public ObjectDetectionConfigOrBuilder getObjectDetectionConfigOrBuilder()
Configuration for video object detection task.
.google.cloud.datalabeling.v1beta1.ObjectDetectionConfig object_detection_config = 7;
Returns
public ObjectTrackingConfig getObjectTrackingConfig()
Configuration for video object tracking task.
.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;
Returns
public ObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()
Configuration for video object tracking task.
.google.cloud.datalabeling.v1beta1.ObjectTrackingConfig object_tracking_config = 8;
Returns
public Parser<AnnotatedDatasetMetadata> getParserForType()
Returns
Overrides
public PolylineConfig getPolylineConfig()
Configuration for image polyline task.
.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;
Returns
public PolylineConfigOrBuilder getPolylineConfigOrBuilder()
Configuration for image polyline task.
.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 4;
Returns
public SegmentationConfig getSegmentationConfig()
Configuration for image segmentation task.
.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;
Returns
public SegmentationConfigOrBuilder getSegmentationConfigOrBuilder()
Configuration for image segmentation task.
.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 5;
Returns
public int getSerializedSize()
Returns
Overrides
getTextClassificationConfig()
public TextClassificationConfig getTextClassificationConfig()
Configuration for text classification task.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;
Returns
getTextClassificationConfigOrBuilder()
public TextClassificationConfigOrBuilder getTextClassificationConfigOrBuilder()
Configuration for text classification task.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 10;
Returns
public TextEntityExtractionConfig getTextEntityExtractionConfig()
Configuration for text entity extraction task.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;
Returns
public TextEntityExtractionConfigOrBuilder getTextEntityExtractionConfigOrBuilder()
Configuration for text entity extraction task.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 11;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public VideoClassificationConfig getVideoClassificationConfig()
Configuration for video classification task.
.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;
Returns
public VideoClassificationConfigOrBuilder getVideoClassificationConfigOrBuilder()
Configuration for video classification task.
.google.cloud.datalabeling.v1beta1.VideoClassificationConfig video_classification_config = 6;
Returns
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AnnotatedDatasetMetadata.Builder newBuilderForType()
Returns
protected AnnotatedDatasetMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public AnnotatedDatasetMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions