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_BOXLabel image with bounding boxes for labels.BOUNDING_POLYLabel images with bounding poly.CLASSIFICATIONLabel whole image with one or more of labels.FEATURE_UNSPECIFIEDFEATURE_UNSPECIFIED = 0;ORIENTED_BOUNDING_BOXLabel oriented bounding box.POLYLINELabel images with polyline.SEGMENTATIONLabel images with segmentation.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBOUNDING_BOX_VALUELabel image with bounding boxes for labels.static intBOUNDING_POLY_VALUELabel images with bounding poly.static intCLASSIFICATION_VALUELabel whole image with one or more of labels.static intFEATURE_UNSPECIFIED_VALUEFEATURE_UNSPECIFIED = 0;static intORIENTED_BOUNDING_BOX_VALUELabel oriented bounding box.static intPOLYLINE_VALUELabel images with polyline.static intSEGMENTATION_VALUELabel images with segmentation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LabelImageRequest.FeatureforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature>internalGetValueMap()static LabelImageRequest.FeaturevalueOf(int value)Deprecated.static LabelImageRequest.FeaturevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LabelImageRequest.FeaturevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-