public enum Feature extends java.lang.Enum<Feature> implements ProtocolMessageEnum
Video annotation feature.Protobuf enum
google.cloud.videointelligence.v1p1beta1.Feature
Enum Constant and Description |
---|
EXPLICIT_CONTENT_DETECTION
Explicit content detection.
|
FEATURE_UNSPECIFIED
Unspecified.
|
LABEL_DETECTION
Label detection.
|
SHOT_CHANGE_DETECTION
Shot change detection.
|
SPEECH_TRANSCRIPTION
Speech transcription.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EXPLICIT_CONTENT_DETECTION_VALUE
Explicit content detection.
|
static int |
FEATURE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
LABEL_DETECTION_VALUE
Label detection.
|
static int |
SHOT_CHANGE_DETECTION_VALUE
Shot change detection.
|
static int |
SPEECH_TRANSCRIPTION_VALUE
Speech transcription.
|
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 SPEECH_TRANSCRIPTION
Speech transcription.
SPEECH_TRANSCRIPTION = 6;
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 SPEECH_TRANSCRIPTION_VALUE
Speech transcription.
SPEECH_TRANSCRIPTION = 6;
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)