- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class LabelImageRequest.Builder extends GeneratedMessageV3.Builder<LabelImageRequest.Builder> implements LabelImageRequestOrBuilder
Request message for starting an image labeling task.
Protobuf type google.cloud.datalabeling.v1beta1.LabelImageRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LabelImageRequest.BuilderImplements
LabelImageRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LabelImageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LabelImageRequest.Builder |
build()
public LabelImageRequest build()
Type | Description |
LabelImageRequest |
buildPartial()
public LabelImageRequest buildPartial()
Type | Description |
LabelImageRequest |
clear()
public LabelImageRequest.Builder clear()
Type | Description |
LabelImageRequest.Builder |
clearBasicConfig()
public LabelImageRequest.Builder clearBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LabelImageRequest.Builder |
clearBoundingPolyConfig()
public LabelImageRequest.Builder clearBoundingPolyConfig()
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;
Type | Description |
LabelImageRequest.Builder |
clearFeature()
public LabelImageRequest.Builder clearFeature()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LabelImageRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LabelImageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LabelImageRequest.Builder |
clearImageClassificationConfig()
public LabelImageRequest.Builder clearImageClassificationConfig()
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;
Type | Description |
LabelImageRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LabelImageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LabelImageRequest.Builder |
clearParent()
public LabelImageRequest.Builder clearParent()
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) = { ... }
Type | Description |
LabelImageRequest.Builder | This builder for chaining. |
clearPolylineConfig()
public LabelImageRequest.Builder clearPolylineConfig()
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;
Type | Description |
LabelImageRequest.Builder |
clearRequestConfig()
public LabelImageRequest.Builder clearRequestConfig()
Type | Description |
LabelImageRequest.Builder |
clearSegmentationConfig()
public LabelImageRequest.Builder clearSegmentationConfig()
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;
Type | Description |
LabelImageRequest.Builder |
clone()
public LabelImageRequest.Builder clone()
Type | Description |
LabelImageRequest.Builder |
getBasicConfig()
public HumanAnnotationConfig getBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HumanAnnotationConfig | The basicConfig. |
getBasicConfigBuilder()
public HumanAnnotationConfig.Builder getBasicConfigBuilder()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HumanAnnotationConfig.Builder |
getBasicConfigOrBuilder()
public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HumanAnnotationConfigOrBuilder |
getBoundingPolyConfig()
public 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;
Type | Description |
BoundingPolyConfig | The boundingPolyConfig. |
getBoundingPolyConfigBuilder()
public BoundingPolyConfig.Builder getBoundingPolyConfigBuilder()
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;
Type | Description |
BoundingPolyConfig.Builder |
getBoundingPolyConfigOrBuilder()
public 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;
Type | Description |
BoundingPolyConfigOrBuilder |
getDefaultInstanceForType()
public LabelImageRequest getDefaultInstanceForType()
Type | Description |
LabelImageRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFeature()
public LabelImageRequest.Feature getFeature()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LabelImageRequest.Feature | The feature. |
getFeatureValue()
public int getFeatureValue()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for feature. |
getImageClassificationConfig()
public 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;
Type | Description |
ImageClassificationConfig | The imageClassificationConfig. |
getImageClassificationConfigBuilder()
public ImageClassificationConfig.Builder getImageClassificationConfigBuilder()
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;
Type | Description |
ImageClassificationConfig.Builder |
getImageClassificationConfigOrBuilder()
public 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;
Type | Description |
ImageClassificationConfigOrBuilder |
getParent()
public 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) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getPolylineConfig()
public 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;
Type | Description |
PolylineConfig | The polylineConfig. |
getPolylineConfigBuilder()
public PolylineConfig.Builder getPolylineConfigBuilder()
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;
Type | Description |
PolylineConfig.Builder |
getPolylineConfigOrBuilder()
public 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;
Type | Description |
PolylineConfigOrBuilder |
getRequestConfigCase()
public LabelImageRequest.RequestConfigCase getRequestConfigCase()
Type | Description |
LabelImageRequest.RequestConfigCase |
getSegmentationConfig()
public 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;
Type | Description |
SegmentationConfig | The segmentationConfig. |
getSegmentationConfigBuilder()
public SegmentationConfig.Builder getSegmentationConfigBuilder()
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;
Type | Description |
SegmentationConfig.Builder |
getSegmentationConfigOrBuilder()
public 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;
Type | Description |
SegmentationConfigOrBuilder |
hasBasicConfig()
public boolean hasBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the basicConfig field is set. |
hasBoundingPolyConfig()
public 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;
Type | Description |
boolean | Whether the boundingPolyConfig field is set. |
hasImageClassificationConfig()
public 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;
Type | Description |
boolean | Whether the imageClassificationConfig field is set. |
hasPolylineConfig()
public 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;
Type | Description |
boolean | Whether the polylineConfig field is set. |
hasSegmentationConfig()
public 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;
Type | Description |
boolean | Whether the segmentationConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBasicConfig(HumanAnnotationConfig value)
public LabelImageRequest.Builder mergeBasicConfig(HumanAnnotationConfig value)
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | HumanAnnotationConfig |
Type | Description |
LabelImageRequest.Builder |
mergeBoundingPolyConfig(BoundingPolyConfig value)
public LabelImageRequest.Builder mergeBoundingPolyConfig(BoundingPolyConfig value)
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;
Name | Description |
value | BoundingPolyConfig |
Type | Description |
LabelImageRequest.Builder |
mergeFrom(LabelImageRequest other)
public LabelImageRequest.Builder mergeFrom(LabelImageRequest other)
Name | Description |
other | LabelImageRequest |
Type | Description |
LabelImageRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LabelImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LabelImageRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LabelImageRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LabelImageRequest.Builder |
mergeImageClassificationConfig(ImageClassificationConfig value)
public LabelImageRequest.Builder mergeImageClassificationConfig(ImageClassificationConfig value)
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;
Name | Description |
value | ImageClassificationConfig |
Type | Description |
LabelImageRequest.Builder |
mergePolylineConfig(PolylineConfig value)
public LabelImageRequest.Builder mergePolylineConfig(PolylineConfig value)
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;
Name | Description |
value | PolylineConfig |
Type | Description |
LabelImageRequest.Builder |
mergeSegmentationConfig(SegmentationConfig value)
public LabelImageRequest.Builder mergeSegmentationConfig(SegmentationConfig value)
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;
Name | Description |
value | SegmentationConfig |
Type | Description |
LabelImageRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LabelImageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LabelImageRequest.Builder |
setBasicConfig(HumanAnnotationConfig value)
public LabelImageRequest.Builder setBasicConfig(HumanAnnotationConfig value)
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | HumanAnnotationConfig |
Type | Description |
LabelImageRequest.Builder |
setBasicConfig(HumanAnnotationConfig.Builder builderForValue)
public LabelImageRequest.Builder setBasicConfig(HumanAnnotationConfig.Builder builderForValue)
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | HumanAnnotationConfig.Builder |
Type | Description |
LabelImageRequest.Builder |
setBoundingPolyConfig(BoundingPolyConfig value)
public LabelImageRequest.Builder setBoundingPolyConfig(BoundingPolyConfig value)
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;
Name | Description |
value | BoundingPolyConfig |
Type | Description |
LabelImageRequest.Builder |
setBoundingPolyConfig(BoundingPolyConfig.Builder builderForValue)
public LabelImageRequest.Builder setBoundingPolyConfig(BoundingPolyConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | BoundingPolyConfig.Builder |
Type | Description |
LabelImageRequest.Builder |
setFeature(LabelImageRequest.Feature value)
public LabelImageRequest.Builder setFeature(LabelImageRequest.Feature value)
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | LabelImageRequest.Feature The feature to set. |
Type | Description |
LabelImageRequest.Builder | This builder for chaining. |
setFeatureValue(int value)
public LabelImageRequest.Builder setFeatureValue(int value)
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for feature to set. |
Type | Description |
LabelImageRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LabelImageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LabelImageRequest.Builder |
setImageClassificationConfig(ImageClassificationConfig value)
public LabelImageRequest.Builder setImageClassificationConfig(ImageClassificationConfig value)
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;
Name | Description |
value | ImageClassificationConfig |
Type | Description |
LabelImageRequest.Builder |
setImageClassificationConfig(ImageClassificationConfig.Builder builderForValue)
public LabelImageRequest.Builder setImageClassificationConfig(ImageClassificationConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | ImageClassificationConfig.Builder |
Type | Description |
LabelImageRequest.Builder |
setParent(String value)
public LabelImageRequest.Builder setParent(String value)
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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
LabelImageRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public LabelImageRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
LabelImageRequest.Builder | This builder for chaining. |
setPolylineConfig(PolylineConfig value)
public LabelImageRequest.Builder setPolylineConfig(PolylineConfig value)
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;
Name | Description |
value | PolylineConfig |
Type | Description |
LabelImageRequest.Builder |
setPolylineConfig(PolylineConfig.Builder builderForValue)
public LabelImageRequest.Builder setPolylineConfig(PolylineConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | PolylineConfig.Builder |
Type | Description |
LabelImageRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LabelImageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LabelImageRequest.Builder |
setSegmentationConfig(SegmentationConfig value)
public LabelImageRequest.Builder setSegmentationConfig(SegmentationConfig value)
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;
Name | Description |
value | SegmentationConfig |
Type | Description |
LabelImageRequest.Builder |
setSegmentationConfig(SegmentationConfig.Builder builderForValue)
public LabelImageRequest.Builder setSegmentationConfig(SegmentationConfig.Builder builderForValue)
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;
Name | Description |
builderForValue | SegmentationConfig.Builder |
Type | Description |
LabelImageRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LabelImageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LabelImageRequest.Builder |