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 enum
google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLabel image with bounding boxes for labels.Label images with bounding poly.Label whole image with one or more of labels.FEATURE_UNSPECIFIED = 0;Label oriented bounding box.Label images with polyline.Label images with segmentation. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLabel image with bounding boxes for labels.static final intLabel images with bounding poly.static final intLabel whole image with one or more of labels.static final intFEATURE_UNSPECIFIED = 0;static final intLabel oriented bounding box.static final intLabel images with polyline.static final intLabel images with segmentation. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelImageRequest.FeatureforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature>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.FeatureReturns 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 Details
-
FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0; -
CLASSIFICATION
Label whole image with one or more of labels.
CLASSIFICATION = 1; -
BOUNDING_BOX
Label image with bounding boxes for labels.
BOUNDING_BOX = 2; -
ORIENTED_BOUNDING_BOX
Label oriented bounding box. The box does not have to be parallel to horizontal line.
ORIENTED_BOUNDING_BOX = 6; -
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
Label images with polyline. Polyline is formed by connected line segments which are not in closed form.
POLYLINE = 4; -
SEGMENTATION
Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.
SEGMENTATION = 5; -
UNRECOGNIZED
-
-
Field Details
-
FEATURE_UNSPECIFIED_VALUE
public static final int FEATURE_UNSPECIFIED_VALUEFEATURE_UNSPECIFIED = 0;- See Also:
-
CLASSIFICATION_VALUE
public static final int CLASSIFICATION_VALUELabel whole image with one or more of labels.
CLASSIFICATION = 1;- See Also:
-
BOUNDING_BOX_VALUE
public static final int BOUNDING_BOX_VALUELabel image with bounding boxes for labels.
BOUNDING_BOX = 2;- See Also:
-
ORIENTED_BOUNDING_BOX_VALUE
public static final int ORIENTED_BOUNDING_BOX_VALUELabel oriented bounding box. The box does not have to be parallel to horizontal line.
ORIENTED_BOUNDING_BOX = 6;- See Also:
-
BOUNDING_POLY_VALUE
public static final int BOUNDING_POLY_VALUELabel 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:
-
POLYLINE_VALUE
public static final int POLYLINE_VALUELabel images with polyline. Polyline is formed by connected line segments which are not in closed form.
POLYLINE = 4;- See Also:
-
SEGMENTATION_VALUE
public static final int SEGMENTATION_VALUELabel images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.
SEGMENTATION = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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 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
-