Enum LabelImageRequest.Feature
- java.lang.Object
-
- java.lang.Enum<LabelImageRequest.Feature>
-
- com.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<LabelImageRequest.Feature>
- Enclosing class:
- LabelImageRequest
public static enum LabelImageRequest.Feature extends Enum<LabelImageRequest.Feature> implements com.google.protobuf.ProtocolMessageEnum
Image labeling task feature.
Protobuf enumgoogle.cloud.datalabeling.v1beta1.LabelImageRequest.Feature
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOUNDING_BOX
Label image with bounding boxes for labels.BOUNDING_POLY
Label images with bounding poly.CLASSIFICATION
Label whole image with one or more of labels.FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0;
ORIENTED_BOUNDING_BOX
Label oriented bounding box.POLYLINE
Label images with polyline.SEGMENTATION
Label images with segmentation.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BOUNDING_BOX_VALUE
Label image with bounding boxes for labels.static int
BOUNDING_POLY_VALUE
Label images with bounding poly.static int
CLASSIFICATION_VALUE
Label whole image with one or more of labels.static int
FEATURE_UNSPECIFIED_VALUE
FEATURE_UNSPECIFIED = 0;
static int
ORIENTED_BOUNDING_BOX_VALUE
Label oriented bounding box.static int
POLYLINE_VALUE
Label images with polyline.static int
SEGMENTATION_VALUE
Label images with segmentation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LabelImageRequest.Feature
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature>
internalGetValueMap()
static LabelImageRequest.Feature
valueOf(int value)
Deprecated.static LabelImageRequest.Feature
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static LabelImageRequest.Feature
valueOf(String name)
Returns the enum constant of this type with the specified name.static LabelImageRequest.Feature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEATURE_UNSPECIFIED
public static final LabelImageRequest.Feature FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0;
-
CLASSIFICATION
public static final LabelImageRequest.Feature CLASSIFICATION
Label whole image with one or more of labels.
CLASSIFICATION = 1;
-
BOUNDING_BOX
public static final LabelImageRequest.Feature BOUNDING_BOX
Label image with bounding boxes for labels.
BOUNDING_BOX = 2;
-
ORIENTED_BOUNDING_BOX
public static final LabelImageRequest.Feature ORIENTED_BOUNDING_BOX
Label oriented bounding box. The box does not have to be parallel to horizontal line.
ORIENTED_BOUNDING_BOX = 6;
-
BOUNDING_POLY
public static final LabelImageRequest.Feature BOUNDING_POLY
Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.
BOUNDING_POLY = 3;
-
POLYLINE
public static final LabelImageRequest.Feature POLYLINE
Label images with polyline. Polyline is formed by connected line segments which are not in closed form.
POLYLINE = 4;
-
SEGMENTATION
public static final LabelImageRequest.Feature SEGMENTATION
Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.
SEGMENTATION = 5;
-
UNRECOGNIZED
public static final LabelImageRequest.Feature UNRECOGNIZED
-
-
Field Detail
-
FEATURE_UNSPECIFIED_VALUE
public static final int FEATURE_UNSPECIFIED_VALUE
FEATURE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CLASSIFICATION_VALUE
public static final int CLASSIFICATION_VALUE
Label whole image with one or more of labels.
CLASSIFICATION = 1;
- See Also:
- Constant Field Values
-
BOUNDING_BOX_VALUE
public static final int BOUNDING_BOX_VALUE
Label image with bounding boxes for labels.
BOUNDING_BOX = 2;
- See Also:
- Constant Field Values
-
ORIENTED_BOUNDING_BOX_VALUE
public static final int ORIENTED_BOUNDING_BOX_VALUE
Label oriented bounding box. The box does not have to be parallel to horizontal line.
ORIENTED_BOUNDING_BOX = 6;
- See Also:
- Constant Field Values
-
BOUNDING_POLY_VALUE
public static final int BOUNDING_POLY_VALUE
Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.
BOUNDING_POLY = 3;
- See Also:
- Constant Field Values
-
POLYLINE_VALUE
public static final int POLYLINE_VALUE
Label images with polyline. Polyline is formed by connected line segments which are not in closed form.
POLYLINE = 4;
- See Also:
- Constant Field Values
-
SEGMENTATION_VALUE
public static final int SEGMENTATION_VALUE
Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.
SEGMENTATION = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LabelImageRequest.Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LabelImageRequest.Feature c : LabelImageRequest.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelImageRequest.Feature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static LabelImageRequest.Feature valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static LabelImageRequest.Feature forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static LabelImageRequest.Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-