public enum LabelLevel extends java.lang.Enum<LabelLevel> implements ProtocolMessageEnum
Label level (scope).Protobuf enum
google.cloud.videointelligence.v1beta1.LabelLevel
Enum Constant and Description |
---|
FRAME_LEVEL
Frame-level.
|
LABEL_LEVEL_UNSPECIFIED
Unspecified.
|
SEGMENT_LEVEL
Segment-level.
|
SHOT_LEVEL
Shot-level.
|
UNRECOGNIZED |
VIDEO_LEVEL
Video-level.
|
Modifier and Type | Field and Description |
---|---|
static int |
FRAME_LEVEL_VALUE
Frame-level.
|
static int |
LABEL_LEVEL_UNSPECIFIED_VALUE
Unspecified.
|
static int |
SEGMENT_LEVEL_VALUE
Segment-level.
|
static int |
SHOT_LEVEL_VALUE
Shot-level.
|
static int |
VIDEO_LEVEL_VALUE
Video-level.
|
Modifier and Type | Method and Description |
---|---|
static LabelLevel |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<LabelLevel> |
internalGetValueMap() |
static LabelLevel |
valueOf(Descriptors.EnumValueDescriptor desc) |
static LabelLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LabelLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LabelLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelLevel LABEL_LEVEL_UNSPECIFIED
Unspecified.
LABEL_LEVEL_UNSPECIFIED = 0;
public static final LabelLevel VIDEO_LEVEL
Video-level. Corresponds to the whole video.
VIDEO_LEVEL = 1;
public static final LabelLevel SEGMENT_LEVEL
Segment-level. Corresponds to one of `AnnotateSpec.segments`.
SEGMENT_LEVEL = 2;
public static final LabelLevel SHOT_LEVEL
Shot-level. Corresponds to a single shot (i.e. a series of frames without a major camera position or background change).
SHOT_LEVEL = 3;
public static final LabelLevel FRAME_LEVEL
Frame-level. Corresponds to a single video frame.
FRAME_LEVEL = 4;
public static final LabelLevel UNRECOGNIZED
public static final int LABEL_LEVEL_UNSPECIFIED_VALUE
Unspecified.
LABEL_LEVEL_UNSPECIFIED = 0;
public static final int VIDEO_LEVEL_VALUE
Video-level. Corresponds to the whole video.
VIDEO_LEVEL = 1;
public static final int SEGMENT_LEVEL_VALUE
Segment-level. Corresponds to one of `AnnotateSpec.segments`.
SEGMENT_LEVEL = 2;
public static final int SHOT_LEVEL_VALUE
Shot-level. Corresponds to a single shot (i.e. a series of frames without a major camera position or background change).
SHOT_LEVEL = 3;
public static final int FRAME_LEVEL_VALUE
Frame-level. Corresponds to a single video frame.
FRAME_LEVEL = 4;
public static LabelLevel[] values()
for (LabelLevel c : LabelLevel.values()) System.out.println(c);
public static LabelLevel 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 LabelLevel valueOf(int value)
forNumber(int)
instead.public static LabelLevel forNumber(int value)
public static Internal.EnumLiteMap<LabelLevel> 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 LabelLevel valueOf(Descriptors.EnumValueDescriptor desc)