Interface LabelImageRequestOrBuilder (0.153.0)

public interface LabelImageRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBasicConfig()

public abstract HumanAnnotationConfig getBasicConfig()

Required. Basic human annotation config.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
HumanAnnotationConfig

The basicConfig.

getBasicConfigOrBuilder()

public abstract HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Required. Basic human annotation config.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
HumanAnnotationConfigOrBuilder

getBoundingPolyConfig()

public abstract 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
TypeDescription
BoundingPolyConfig

The boundingPolyConfig.

getBoundingPolyConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
BoundingPolyConfigOrBuilder

getFeature()

public abstract LabelImageRequest.Feature getFeature()

Required. The type of image labeling task.

.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LabelImageRequest.Feature

The feature.

getFeatureValue()

public abstract int getFeatureValue()

Required. The type of image labeling task.

.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for feature.

getImageClassificationConfig()

public abstract 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
TypeDescription
ImageClassificationConfig

The imageClassificationConfig.

getImageClassificationConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
ImageClassificationConfigOrBuilder

getParent()

public abstract 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
TypeDescription
String

The parent.

getParentBytes()

public abstract 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
TypeDescription
ByteString

The bytes for parent.

getPolylineConfig()

public abstract 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
TypeDescription
PolylineConfig

The polylineConfig.

getPolylineConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
PolylineConfigOrBuilder

getRequestConfigCase()

public abstract LabelImageRequest.RequestConfigCase getRequestConfigCase()
Returns
TypeDescription
LabelImageRequest.RequestConfigCase

getSegmentationConfig()

public abstract 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
TypeDescription
SegmentationConfig

The segmentationConfig.

getSegmentationConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
SegmentationConfigOrBuilder

hasBasicConfig()

public abstract boolean hasBasicConfig()

Required. Basic human annotation config.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the basicConfig field is set.

hasBoundingPolyConfig()

public abstract 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
TypeDescription
boolean

Whether the boundingPolyConfig field is set.

hasImageClassificationConfig()

public abstract 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
TypeDescription
boolean

Whether the imageClassificationConfig field is set.

hasPolylineConfig()

public abstract 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
TypeDescription
boolean

Whether the polylineConfig field is set.

hasSegmentationConfig()

public abstract 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
TypeDescription
boolean

Whether the segmentationConfig field is set.