public enum LabelDetectionMode extends Enum<LabelDetectionMode> implements com.google.protobuf.ProtocolMessageEnum
Label detection mode.Protobuf enum
google.cloud.videointelligence.v1p3beta1.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 com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LabelDetectionMode> |
internalGetValueMap() |
static LabelDetectionMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LabelDetectionMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LabelDetectionMode |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LabelDetectionMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LabelDetectionMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LabelDetectionMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LabelDetectionMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.