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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_BOUNDING_BOX_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_BOUNDING_POLY_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_CLASSIFICATION_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_ORIENTED_BOUNDING_BOX_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_POLYLINE_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMAGE_SEGMENTATION_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TEXT_CLASSIFICATION_DETAILS_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TEXT_ENTITY_EXTRACTION_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VIDEO_CLASSIFICATION_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VIDEO_EVENT_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VIDEO_OBJECT_DETECTION_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VIDEO_OBJECT_TRACKING_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static LabelOperationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static LabelOperationMetadata.Builder newBuilder()
public static LabelOperationMetadata.Builder newBuilder(LabelOperationMetadata prototype)
public static LabelOperationMetadata parseDelimitedFrom(InputStream input)
public static LabelOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LabelOperationMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static LabelOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LabelOperationMetadata parseFrom(ByteString data)
public static LabelOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LabelOperationMetadata parseFrom(CodedInputStream input)
public static LabelOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LabelOperationMetadata parseFrom(InputStream input)
public static LabelOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LabelOperationMetadata parseFrom(ByteBuffer data)
public static LabelOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<LabelOperationMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when labeling request was created.
.google.protobuf.Timestamp create_time = 16;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when labeling request was created.
.google.protobuf.Timestamp create_time = 16;
public LabelOperationMetadata getDefaultInstanceForType()
public LabelOperationMetadata.DetailsCase getDetailsCase()
public LabelImageBoundingBoxOperationMetadata getImageBoundingBoxDetails()
Details of label image bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata image_bounding_box_details = 4;
public LabelImageBoundingBoxOperationMetadataOrBuilder getImageBoundingBoxDetailsOrBuilder()
Details of label image bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingBoxOperationMetadata image_bounding_box_details = 4;
public LabelImageBoundingPolyOperationMetadata getImageBoundingPolyDetails()
Details of label image bounding poly operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata image_bounding_poly_details = 11;
public LabelImageBoundingPolyOperationMetadataOrBuilder getImageBoundingPolyDetailsOrBuilder()
Details of label image bounding poly operation.
.google.cloud.datalabeling.v1beta1.LabelImageBoundingPolyOperationMetadata image_bounding_poly_details = 11;
public LabelImageClassificationOperationMetadata getImageClassificationDetails()
Details of label image classification operation.
.google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata image_classification_details = 3;
public LabelImageClassificationOperationMetadataOrBuilder getImageClassificationDetailsOrBuilder()
Details of label image classification operation.
.google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata image_classification_details = 3;
public LabelImageOrientedBoundingBoxOperationMetadata getImageOrientedBoundingBoxDetails()
Details of label image oriented bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata image_oriented_bounding_box_details = 14;
public LabelImageOrientedBoundingBoxOperationMetadataOrBuilder getImageOrientedBoundingBoxDetailsOrBuilder()
Details of label image oriented bounding box operation.
.google.cloud.datalabeling.v1beta1.LabelImageOrientedBoundingBoxOperationMetadata image_oriented_bounding_box_details = 14;
public LabelImagePolylineOperationMetadata getImagePolylineDetails()
Details of label image polyline operation.
.google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata image_polyline_details = 12;
public LabelImagePolylineOperationMetadataOrBuilder getImagePolylineDetailsOrBuilder()
Details of label image polyline operation.
.google.cloud.datalabeling.v1beta1.LabelImagePolylineOperationMetadata image_polyline_details = 12;
public LabelImageSegmentationOperationMetadata getImageSegmentationDetails()
Details of label image segmentation operation.
.google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata image_segmentation_details = 15;
public LabelImageSegmentationOperationMetadataOrBuilder getImageSegmentationDetailsOrBuilder()
Details of label image segmentation operation.
.google.cloud.datalabeling.v1beta1.LabelImageSegmentationOperationMetadata image_segmentation_details = 15;
public Parser<LabelOperationMetadata> getParserForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
getTextClassificationDetails()
public LabelTextClassificationOperationMetadata getTextClassificationDetails()
Details of label text classification operation.
.google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata text_classification_details = 9;
getTextClassificationDetailsOrBuilder()
public LabelTextClassificationOperationMetadataOrBuilder getTextClassificationDetailsOrBuilder()
Details of label text classification operation.
.google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata text_classification_details = 9;
public LabelTextEntityExtractionOperationMetadata getTextEntityExtractionDetails()
Details of label text entity extraction operation.
.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata text_entity_extraction_details = 13;
public LabelTextEntityExtractionOperationMetadataOrBuilder getTextEntityExtractionDetailsOrBuilder()
Details of label text entity extraction operation.
.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata text_entity_extraction_details = 13;
public LabelVideoClassificationOperationMetadata getVideoClassificationDetails()
Details of label video classification operation.
.google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata video_classification_details = 5;
public LabelVideoClassificationOperationMetadataOrBuilder getVideoClassificationDetailsOrBuilder()
Details of label video classification operation.
.google.cloud.datalabeling.v1beta1.LabelVideoClassificationOperationMetadata video_classification_details = 5;
public LabelVideoEventOperationMetadata getVideoEventDetails()
Details of label video event operation.
.google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata video_event_details = 8;
public LabelVideoEventOperationMetadataOrBuilder getVideoEventDetailsOrBuilder()
Details of label video event operation.
.google.cloud.datalabeling.v1beta1.LabelVideoEventOperationMetadata video_event_details = 8;
public LabelVideoObjectDetectionOperationMetadata getVideoObjectDetectionDetails()
Details of label video object detection operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata video_object_detection_details = 6;
public LabelVideoObjectDetectionOperationMetadataOrBuilder getVideoObjectDetectionDetailsOrBuilder()
Details of label video object detection operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectDetectionOperationMetadata video_object_detection_details = 6;
public LabelVideoObjectTrackingOperationMetadata getVideoObjectTrackingDetails()
Details of label video object tracking operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata video_object_tracking_details = 7;
public LabelVideoObjectTrackingOperationMetadataOrBuilder getVideoObjectTrackingDetailsOrBuilder()
Details of label video object tracking operation.
.google.cloud.datalabeling.v1beta1.LabelVideoObjectTrackingOperationMetadata video_object_tracking_details = 7;
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LabelOperationMetadata.Builder newBuilderForType()
protected LabelOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public LabelOperationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides