public final class LabelOperationMetadata extends GeneratedMessageV3 implements LabelOperationMetadataOrBuilder
Metadata of a labeling operation, such as LabelImage or LabelVideo.
Next tag: 20
Protobuf type google.cloud.datalabeling.v1beta1.LabelOperationMetadata
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int IMAGE_BOUNDING_BOX_DETAILS_FIELD_NUMBER
Field Value
public static final int IMAGE_BOUNDING_POLY_DETAILS_FIELD_NUMBER
Field Value
public static final int IMAGE_CLASSIFICATION_DETAILS_FIELD_NUMBER
Field Value
public static final int IMAGE_ORIENTED_BOUNDING_BOX_DETAILS_FIELD_NUMBER
Field Value
public static final int IMAGE_POLYLINE_DETAILS_FIELD_NUMBER
Field Value
public static final int IMAGE_SEGMENTATION_DETAILS_FIELD_NUMBER
Field Value
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
TEXT_CLASSIFICATION_DETAILS_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_DETAILS_FIELD_NUMBER
Field Value
public static final int TEXT_ENTITY_EXTRACTION_DETAILS_FIELD_NUMBER
Field Value
public static final int VIDEO_CLASSIFICATION_DETAILS_FIELD_NUMBER
Field Value
public static final int VIDEO_EVENT_DETAILS_FIELD_NUMBER
Field Value
public static final int VIDEO_OBJECT_DETECTION_DETAILS_FIELD_NUMBER
Field Value
public static final int VIDEO_OBJECT_TRACKING_DETAILS_FIELD_NUMBER
Field Value
Static Methods
public static LabelOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static LabelOperationMetadata.Builder newBuilder()
Returns
public static LabelOperationMetadata.Builder newBuilder(LabelOperationMetadata prototype)
Parameter
Returns
public static LabelOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LabelOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LabelOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static LabelOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LabelOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static LabelOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LabelOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LabelOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LabelOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LabelOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LabelOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static LabelOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<LabelOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when labeling request was created.
.google.protobuf.Timestamp create_time = 16;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when labeling request was created.
.google.protobuf.Timestamp create_time = 16;
Returns
public LabelOperationMetadata getDefaultInstanceForType()
Returns
public LabelOperationMetadata.DetailsCase getDetailsCase()
Returns
public LabelImageBoundingBoxOperationMetadata getImageBoundingBoxDetails()
Details of label image bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata image_bounding_box_details = 4;
Returns
public LabelImageBoundingBoxOperationMetadataOrBuilder getImageBoundingBoxDetailsOrBuilder()
Details of label image bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata image_bounding_box_details = 4;
Returns
public LabelImageBoundingPolyOperationMetadata getImageBoundingPolyDetails()
Details of label image bounding poly operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata image_bounding_poly_details = 11;
Returns
public LabelImageBoundingPolyOperationMetadataOrBuilder getImageBoundingPolyDetailsOrBuilder()
Details of label image bounding poly operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata image_bounding_poly_details = 11;
Returns
public LabelImageClassificationOperationMetadata getImageClassificationDetails()
Details of label image classification operation.
.google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata image_classification_details = 3;
Returns
public LabelImageClassificationOperationMetadataOrBuilder getImageClassificationDetailsOrBuilder()
Details of label image classification operation.
.google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata image_classification_details = 3;
Returns
public LabelImageOrientedBoundingBoxOperationMetadata getImageOrientedBoundingBoxDetails()
Details of label image oriented bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata image_oriented_bounding_box_details = 14;
Returns
public LabelImageOrientedBoundingBoxOperationMetadataOrBuilder getImageOrientedBoundingBoxDetailsOrBuilder()
Details of label image oriented bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata image_oriented_bounding_box_details = 14;
Returns
public LabelImagePolylineOperationMetadata getImagePolylineDetails()
Details of label image polyline operation.
.google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata image_polyline_details = 12;
Returns
public LabelImagePolylineOperationMetadataOrBuilder getImagePolylineDetailsOrBuilder()
Details of label image polyline operation.
.google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata image_polyline_details = 12;
Returns
public LabelImageSegmentationOperationMetadata getImageSegmentationDetails()
Details of label image segmentation operation.
.google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata image_segmentation_details = 15;
Returns
public LabelImageSegmentationOperationMetadataOrBuilder getImageSegmentationDetailsOrBuilder()
Details of label image segmentation operation.
.google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata image_segmentation_details = 15;
Returns
public Parser<LabelOperationMetadata> getParserForType()
Returns
Overrides
public Status getPartialFailures(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter
Returns
Type | Description |
com.google.rpc.Status | |
public int getPartialFailuresCount()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns
public List<Status> getPartialFailuresList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns
Type | Description |
List<com.google.rpc.Status> | |
public StatusOrBuilder getPartialFailuresOrBuilder(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> | |
public int getProgressPercent()
Output only. Progress of label operation. Range: [0, 100].
int32 progress_percent = 1;
Returns
Type | Description |
int | The progressPercent.
|
public int getSerializedSize()
Returns
Overrides
getTextClassificationDetails()
public LabelTextClassificationOperationMetadata getTextClassificationDetails()
Details of label text classification operation.
.google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata text_classification_details = 9;
Returns
getTextClassificationDetailsOrBuilder()
public LabelTextClassificationOperationMetadataOrBuilder getTextClassificationDetailsOrBuilder()
Details of label text classification operation.
.google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata text_classification_details = 9;
Returns
public LabelTextEntityExtractionOperationMetadata getTextEntityExtractionDetails()
Details of label text entity extraction operation.
.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata text_entity_extraction_details = 13;
Returns
public LabelTextEntityExtractionOperationMetadataOrBuilder getTextEntityExtractionDetailsOrBuilder()
Details of label text entity extraction operation.
.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata text_entity_extraction_details = 13;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public LabelVideoClassificationOperationMetadata getVideoClassificationDetails()
Details of label video classification operation.
.google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata video_classification_details = 5;
Returns
public LabelVideoClassificationOperationMetadataOrBuilder getVideoClassificationDetailsOrBuilder()
Details of label video classification operation.
.google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata video_classification_details = 5;
Returns
public LabelVideoEventOperationMetadata getVideoEventDetails()
Details of label video event operation.
.google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata video_event_details = 8;
Returns
public LabelVideoEventOperationMetadataOrBuilder getVideoEventDetailsOrBuilder()
Details of label video event operation.
.google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata video_event_details = 8;
Returns
public LabelVideoObjectDetectionOperationMetadata getVideoObjectDetectionDetails()
Details of label video object detection operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata video_object_detection_details = 6;
Returns
public LabelVideoObjectDetectionOperationMetadataOrBuilder getVideoObjectDetectionDetailsOrBuilder()
Details of label video object detection operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata video_object_detection_details = 6;
Returns
public LabelVideoObjectTrackingOperationMetadata getVideoObjectTrackingDetails()
Details of label video object tracking operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata video_object_tracking_details = 7;
Returns
public LabelVideoObjectTrackingOperationMetadataOrBuilder getVideoObjectTrackingDetailsOrBuilder()
Details of label video object tracking operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata video_object_tracking_details = 7;
Returns
public boolean hasCreateTime()
Output only. Timestamp when labeling request was created.
.google.protobuf.Timestamp create_time = 16;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasImageBoundingBoxDetails()
Details of label image bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata image_bounding_box_details = 4;
Returns
Type | Description |
boolean | Whether the imageBoundingBoxDetails field is set.
|
public boolean hasImageBoundingPolyDetails()
Details of label image bounding poly operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata image_bounding_poly_details = 11;
Returns
Type | Description |
boolean | Whether the imageBoundingPolyDetails field is set.
|
public boolean hasImageClassificationDetails()
Details of label image classification operation.
.google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata image_classification_details = 3;
Returns
Type | Description |
boolean | Whether the imageClassificationDetails field is set.
|
public boolean hasImageOrientedBoundingBoxDetails()
Details of label image oriented bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata image_oriented_bounding_box_details = 14;
Returns
Type | Description |
boolean | Whether the imageOrientedBoundingBoxDetails field is set.
|
public boolean hasImagePolylineDetails()
Details of label image polyline operation.
.google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata image_polyline_details = 12;
Returns
Type | Description |
boolean | Whether the imagePolylineDetails field is set.
|
public boolean hasImageSegmentationDetails()
Details of label image segmentation operation.
.google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata image_segmentation_details = 15;
Returns
Type | Description |
boolean | Whether the imageSegmentationDetails field is set.
|
hasTextClassificationDetails()
public boolean hasTextClassificationDetails()
Details of label text classification operation.
.google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata text_classification_details = 9;
Returns
Type | Description |
boolean | Whether the textClassificationDetails field is set.
|
public boolean hasTextEntityExtractionDetails()
Details of label text entity extraction operation.
.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata text_entity_extraction_details = 13;
Returns
Type | Description |
boolean | Whether the textEntityExtractionDetails field is set.
|
public boolean hasVideoClassificationDetails()
Details of label video classification operation.
.google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata video_classification_details = 5;
Returns
Type | Description |
boolean | Whether the videoClassificationDetails field is set.
|
public boolean hasVideoEventDetails()
Details of label video event operation.
.google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata video_event_details = 8;
Returns
Type | Description |
boolean | Whether the videoEventDetails field is set.
|
public boolean hasVideoObjectDetectionDetails()
Details of label video object detection operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata video_object_detection_details = 6;
Returns
Type | Description |
boolean | Whether the videoObjectDetectionDetails field is set.
|
public boolean hasVideoObjectTrackingDetails()
Details of label video object tracking operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata video_object_tracking_details = 7;
Returns
Type | Description |
boolean | Whether the videoObjectTrackingDetails field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public LabelOperationMetadata.Builder newBuilderForType()
Returns
protected LabelOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public LabelOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions