Interface LabelImageRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LabelImageRequest,LabelImageRequest.Builder
public interface LabelImageRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HumanAnnotationConfiggetBasicConfig()Required.HumanAnnotationConfigOrBuildergetBasicConfigOrBuilder()Required.BoundingPolyConfiggetBoundingPolyConfig()Configuration for bounding box and bounding poly task.BoundingPolyConfigOrBuildergetBoundingPolyConfigOrBuilder()Configuration for bounding box and bounding poly task.LabelImageRequest.FeaturegetFeature()Required.intgetFeatureValue()Required.ImageClassificationConfiggetImageClassificationConfig()Configuration for image classification task.ImageClassificationConfigOrBuildergetImageClassificationConfigOrBuilder()Configuration for image classification task.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.PolylineConfiggetPolylineConfig()Configuration for polyline task.PolylineConfigOrBuildergetPolylineConfigOrBuilder()Configuration for polyline task.LabelImageRequest.RequestConfigCasegetRequestConfigCase()SegmentationConfiggetSegmentationConfig()Configuration for segmentation task.SegmentationConfigOrBuildergetSegmentationConfigOrBuilder()Configuration for segmentation task.booleanhasBasicConfig()Required.booleanhasBoundingPolyConfig()Configuration for bounding box and bounding poly task.booleanhasImageClassificationConfig()Configuration for image classification task.booleanhasPolylineConfig()Configuration for polyline task.booleanhasSegmentationConfig()Configuration for segmentation task.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasImageClassificationConfig
boolean hasImageClassificationConfig()
Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;- Returns:
- Whether the imageClassificationConfig field is set.
-
getImageClassificationConfig
ImageClassificationConfig getImageClassificationConfig()
Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;- Returns:
- The imageClassificationConfig.
-
getImageClassificationConfigOrBuilder
ImageClassificationConfigOrBuilder getImageClassificationConfigOrBuilder()
Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
-
hasBoundingPolyConfig
boolean hasBoundingPolyConfig()
Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;- Returns:
- Whether the boundingPolyConfig field is set.
-
getBoundingPolyConfig
BoundingPolyConfig getBoundingPolyConfig()
Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;- Returns:
- The boundingPolyConfig.
-
getBoundingPolyConfigOrBuilder
BoundingPolyConfigOrBuilder getBoundingPolyConfigOrBuilder()
Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;
-
hasPolylineConfig
boolean hasPolylineConfig()
Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 6;- Returns:
- Whether the polylineConfig field is set.
-
getPolylineConfig
PolylineConfig getPolylineConfig()
Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 6;- Returns:
- The polylineConfig.
-
getPolylineConfigOrBuilder
PolylineConfigOrBuilder getPolylineConfigOrBuilder()
Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 6;
-
hasSegmentationConfig
boolean hasSegmentationConfig()
Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;- Returns:
- Whether the segmentationConfig field is set.
-
getSegmentationConfig
SegmentationConfig getSegmentationConfig()
Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;- Returns:
- The segmentationConfig.
-
getSegmentationConfigOrBuilder
SegmentationConfigOrBuilder getSegmentationConfigOrBuilder()
Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.
.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;
-
getParent
String getParent()
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasBasicConfig
boolean hasBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the basicConfig field is set.
-
getBasicConfig
HumanAnnotationConfig getBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The basicConfig.
-
getBasicConfigOrBuilder
HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
-
getFeatureValue
int getFeatureValue()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for feature.
-
getFeature
LabelImageRequest.Feature getFeature()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The feature.
-
getRequestConfigCase
LabelImageRequest.RequestConfigCase getRequestConfigCase()
-
-