public enum LabelDetectionMode extends java.lang.Enum<LabelDetectionMode> implements ProtocolMessageEnum
Label detection mode.Protobuf enum
google.cloud.videointelligence.v1p1beta1.LabelDetectionMode
Enum Constant and Description |
---|
FRAME_MODE
Detect frame-level labels.
|
LABEL_DETECTION_MODE_UNSPECIFIED
Unspecified.
|
SHOT_AND_FRAME_MODE
Detect both shot-level and frame-level labels.
|
SHOT_MODE
Detect shot-level labels.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FRAME_MODE_VALUE
Detect frame-level labels.
|
static int |
LABEL_DETECTION_MODE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
SHOT_AND_FRAME_MODE_VALUE
Detect both shot-level and frame-level labels.
|
static int |
SHOT_MODE_VALUE
Detect shot-level labels.
|
Modifier and Type | Method and Description |
---|---|
static LabelDetectionMode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<LabelDetectionMode> |
internalGetValueMap() |
static LabelDetectionMode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static LabelDetectionMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LabelDetectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LabelDetectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelDetectionMode LABEL_DETECTION_MODE_UNSPECIFIED
Unspecified.
LABEL_DETECTION_MODE_UNSPECIFIED = 0;
public static final LabelDetectionMode SHOT_MODE
Detect shot-level labels.
SHOT_MODE = 1;
public static final LabelDetectionMode FRAME_MODE
Detect frame-level labels.
FRAME_MODE = 2;
public static final LabelDetectionMode SHOT_AND_FRAME_MODE
Detect both shot-level and frame-level labels.
SHOT_AND_FRAME_MODE = 3;
public static final LabelDetectionMode UNRECOGNIZED
public static final int LABEL_DETECTION_MODE_UNSPECIFIED_VALUE
Unspecified.
LABEL_DETECTION_MODE_UNSPECIFIED = 0;
public static final int SHOT_MODE_VALUE
Detect shot-level labels.
SHOT_MODE = 1;
public static final int FRAME_MODE_VALUE
Detect frame-level labels.
FRAME_MODE = 2;
public static final int SHOT_AND_FRAME_MODE_VALUE
Detect both shot-level and frame-level labels.
SHOT_AND_FRAME_MODE = 3;
public static LabelDetectionMode[] values()
for (LabelDetectionMode c : LabelDetectionMode.values()) System.out.println(c);
public static LabelDetectionMode 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 LabelDetectionMode valueOf(int value)
forNumber(int)
instead.public static LabelDetectionMode forNumber(int value)
public static Internal.EnumLiteMap<LabelDetectionMode> 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 LabelDetectionMode valueOf(Descriptors.EnumValueDescriptor desc)