public enum Feature extends java.lang.Enum<Feature> implements ProtocolMessageEnum
Video annotation feature.Protobuf enum
google.cloud.videointelligence.v1beta2.Feature
Enum Constant and Description |
---|
EXPLICIT_CONTENT_DETECTION
Explicit content detection.
|
FACE_DETECTION
Human face detection and tracking.
|
FEATURE_UNSPECIFIED
Unspecified.
|
LABEL_DETECTION
Label detection.
|
SHOT_CHANGE_DETECTION
Shot change detection.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EXPLICIT_CONTENT_DETECTION_VALUE
Explicit content detection.
|
static int |
FACE_DETECTION_VALUE
Human face detection and tracking.
|
static int |
FEATURE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
LABEL_DETECTION_VALUE
Label detection.
|
static int |
SHOT_CHANGE_DETECTION_VALUE
Shot change detection.
|
Modifier and Type | Method and Description |
---|---|
static Feature |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Feature> |
internalGetValueMap() |
static Feature |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Feature |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Feature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature FEATURE_UNSPECIFIED
Unspecified.
FEATURE_UNSPECIFIED = 0;
public static final Feature LABEL_DETECTION
Label detection. Detect objects, such as dog or flower.
LABEL_DETECTION = 1;
public static final Feature SHOT_CHANGE_DETECTION
Shot change detection.
SHOT_CHANGE_DETECTION = 2;
public static final Feature EXPLICIT_CONTENT_DETECTION
Explicit content detection.
EXPLICIT_CONTENT_DETECTION = 3;
public static final Feature FACE_DETECTION
Human face detection and tracking.
FACE_DETECTION = 4;
public static final Feature UNRECOGNIZED
public static final int FEATURE_UNSPECIFIED_VALUE
Unspecified.
FEATURE_UNSPECIFIED = 0;
public static final int LABEL_DETECTION_VALUE
Label detection. Detect objects, such as dog or flower.
LABEL_DETECTION = 1;
public static final int SHOT_CHANGE_DETECTION_VALUE
Shot change detection.
SHOT_CHANGE_DETECTION = 2;
public static final int EXPLICIT_CONTENT_DETECTION_VALUE
Explicit content detection.
EXPLICIT_CONTENT_DETECTION = 3;
public static final int FACE_DETECTION_VALUE
Human face detection and tracking.
FACE_DETECTION = 4;
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Feature valueOf(int value)
forNumber(int)
instead.public static Feature forNumber(int value)
public static Internal.EnumLiteMap<Feature> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Feature valueOf(Descriptors.EnumValueDescriptor desc)