public final class LabelImageRequest extends com.google.protobuf.GeneratedMessageV3 implements LabelImageRequestOrBuilder
Request message for starting an image labeling task.Protobuf type
google.cloud.datalabeling.v1beta1.LabelImageRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LabelImageRequest.Builder
Request message for starting an image labeling task.
|
static class |
LabelImageRequest.Feature
Image labeling task feature.
|
static class |
LabelImageRequest.RequestConfigCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_CONFIG_FIELD_NUMBER |
static int |
BOUNDING_POLY_CONFIG_FIELD_NUMBER |
static int |
FEATURE_FIELD_NUMBER |
static int |
IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
POLYLINE_CONFIG_FIELD_NUMBER |
static int |
SEGMENTATION_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HumanAnnotationConfig |
getBasicConfig()
Required.
|
HumanAnnotationConfigOrBuilder |
getBasicConfigOrBuilder()
Required.
|
BoundingPolyConfig |
getBoundingPolyConfig()
Configuration for bounding box and bounding poly task.
|
BoundingPolyConfigOrBuilder |
getBoundingPolyConfigOrBuilder()
Configuration for bounding box and bounding poly task.
|
static LabelImageRequest |
getDefaultInstance() |
LabelImageRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LabelImageRequest.Feature |
getFeature()
Required.
|
int |
getFeatureValue()
Required.
|
ImageClassificationConfig |
getImageClassificationConfig()
Configuration for image classification task.
|
ImageClassificationConfigOrBuilder |
getImageClassificationConfigOrBuilder()
Configuration for image classification task.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<LabelImageRequest> |
getParserForType() |
PolylineConfig |
getPolylineConfig()
Configuration for polyline task.
|
PolylineConfigOrBuilder |
getPolylineConfigOrBuilder()
Configuration for polyline task.
|
LabelImageRequest.RequestConfigCase |
getRequestConfigCase() |
SegmentationConfig |
getSegmentationConfig()
Configuration for segmentation task.
|
SegmentationConfigOrBuilder |
getSegmentationConfigOrBuilder()
Configuration for segmentation task.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBasicConfig()
Required.
|
boolean |
hasBoundingPolyConfig()
Configuration for bounding box and bounding poly task.
|
int |
hashCode() |
boolean |
hasImageClassificationConfig()
Configuration for image classification task.
|
boolean |
hasPolylineConfig()
Configuration for polyline task.
|
boolean |
hasSegmentationConfig()
Configuration for segmentation task.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LabelImageRequest.Builder |
newBuilder() |
static LabelImageRequest.Builder |
newBuilder(LabelImageRequest prototype) |
LabelImageRequest.Builder |
newBuilderForType() |
protected LabelImageRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LabelImageRequest |
parseDelimitedFrom(InputStream input) |
static LabelImageRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelImageRequest |
parseFrom(byte[] data) |
static LabelImageRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelImageRequest |
parseFrom(ByteBuffer data) |
static LabelImageRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelImageRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LabelImageRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelImageRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LabelImageRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelImageRequest |
parseFrom(InputStream input) |
static LabelImageRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LabelImageRequest> |
parser() |
LabelImageRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IMAGE_CLASSIFICATION_CONFIG_FIELD_NUMBER
public static final int BOUNDING_POLY_CONFIG_FIELD_NUMBER
public static final int POLYLINE_CONFIG_FIELD_NUMBER
public static final int SEGMENTATION_CONFIG_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int BASIC_CONFIG_FIELD_NUMBER
public static final int FEATURE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public LabelImageRequest.RequestConfigCase getRequestConfigCase()
getRequestConfigCase in interface LabelImageRequestOrBuilderpublic 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;
hasImageClassificationConfig in interface LabelImageRequestOrBuilderpublic 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;
getImageClassificationConfig in interface LabelImageRequestOrBuilderpublic 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;
getImageClassificationConfigOrBuilder in interface LabelImageRequestOrBuilderpublic 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;hasBoundingPolyConfig in interface LabelImageRequestOrBuilderpublic 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;getBoundingPolyConfig in interface LabelImageRequestOrBuilderpublic 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;getBoundingPolyConfigOrBuilder in interface LabelImageRequestOrBuilderpublic 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;hasPolylineConfig in interface LabelImageRequestOrBuilderpublic 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;getPolylineConfig in interface LabelImageRequestOrBuilderpublic 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;getPolylineConfigOrBuilder in interface LabelImageRequestOrBuilderpublic 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;hasSegmentationConfig in interface LabelImageRequestOrBuilderpublic 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;getSegmentationConfig in interface LabelImageRequestOrBuilderpublic 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;getSegmentationConfigOrBuilder in interface LabelImageRequestOrBuilderpublic String getParent()
Required. Name of the dataset to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;getParent in interface LabelImageRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Name of the dataset to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;getParentBytes in interface LabelImageRequestOrBuilderpublic boolean hasBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;hasBasicConfig in interface LabelImageRequestOrBuilderpublic HumanAnnotationConfig getBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;getBasicConfig in interface LabelImageRequestOrBuilderpublic HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;getBasicConfigOrBuilder in interface LabelImageRequestOrBuilderpublic int getFeatureValue()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3;getFeatureValue in interface LabelImageRequestOrBuilderpublic LabelImageRequest.Feature getFeature()
Required. The type of image labeling task.
.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3;getFeature in interface LabelImageRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LabelImageRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelImageRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelImageRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelImageRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelImageRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelImageRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static LabelImageRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LabelImageRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LabelImageRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LabelImageRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LabelImageRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LabelImageRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LabelImageRequest.Builder newBuilder()
public static LabelImageRequest.Builder newBuilder(LabelImageRequest prototype)
public LabelImageRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LabelImageRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LabelImageRequest getDefaultInstance()
public static com.google.protobuf.Parser<LabelImageRequest> parser()
public com.google.protobuf.Parser<LabelImageRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LabelImageRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.