Enum LabelVideoRequest.Feature
java.lang.Object
java.lang.Enum<LabelVideoRequest.Feature>
com.google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LabelVideoRequest.Feature>
- Enclosing class:
- LabelVideoRequest
public static enum LabelVideoRequest.Feature
extends Enum<LabelVideoRequest.Feature>
implements com.google.protobuf.ProtocolMessageEnum
Video labeling task feature.Protobuf enum
google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLabel whole video or video segment with one or more labels.Label the range of video for the specified events.FEATURE_UNSPECIFIED = 0;Label objects with bounding box on image frames extracted from the video.Label and track objects in video. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLabel whole video or video segment with one or more labels.static final intLabel the range of video for the specified events.static final intFEATURE_UNSPECIFIED = 0;static final intLabel objects with bounding box on image frames extracted from the video.static final intLabel and track objects in video. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelVideoRequest.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<LabelVideoRequest.Feature>static LabelVideoRequest.FeaturevalueOf(int value) Deprecated.static LabelVideoRequest.FeaturevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LabelVideoRequest.FeatureReturns the enum constant of this type with the specified name.static LabelVideoRequest.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 video or video segment with one or more labels.
CLASSIFICATION = 1; -
OBJECT_DETECTION
Label objects with bounding box on image frames extracted from the video.
OBJECT_DETECTION = 2; -
OBJECT_TRACKING
Label and track objects in video.
OBJECT_TRACKING = 3; -
EVENT
Label the range of video for the specified events.
EVENT = 4; -
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 video or video segment with one or more labels.
CLASSIFICATION = 1;- See Also:
-
OBJECT_DETECTION_VALUE
public static final int OBJECT_DETECTION_VALUELabel objects with bounding box on image frames extracted from the video.
OBJECT_DETECTION = 2;- See Also:
-
OBJECT_TRACKING_VALUE
public static final int OBJECT_TRACKING_VALUELabel and track objects in video.
OBJECT_TRACKING = 3;- See Also:
-
EVENT_VALUE
public static final int EVENT_VALUELabel the range of video for the specified events.
EVENT = 4;- 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<LabelVideoRequest.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 LabelVideoRequest.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
-