public enum Likelihood extends java.lang.Enum<Likelihood> implements ProtocolMessageEnum
Bucketized representation of likelihood.Protobuf enum
google.cloud.videointelligence.v1beta1.Likelihood
Enum Constant and Description |
---|
LIKELY
Likely.
|
POSSIBLE
Possible.
|
UNKNOWN
Unknown likelihood.
|
UNLIKELY
Unlikely.
|
UNRECOGNIZED |
VERY_LIKELY
Very likely.
|
VERY_UNLIKELY
Very unlikely.
|
Modifier and Type | Field and Description |
---|---|
static int |
LIKELY_VALUE
Likely.
|
static int |
POSSIBLE_VALUE
Possible.
|
static int |
UNKNOWN_VALUE
Unknown likelihood.
|
static int |
UNLIKELY_VALUE
Unlikely.
|
static int |
VERY_LIKELY_VALUE
Very likely.
|
static int |
VERY_UNLIKELY_VALUE
Very unlikely.
|
Modifier and Type | Method and Description |
---|---|
static Likelihood |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Likelihood> |
internalGetValueMap() |
static Likelihood |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Likelihood |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Likelihood |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Likelihood[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Likelihood UNKNOWN
Unknown likelihood.
UNKNOWN = 0;
public static final Likelihood VERY_UNLIKELY
Very unlikely.
VERY_UNLIKELY = 1;
public static final Likelihood UNLIKELY
Unlikely.
UNLIKELY = 2;
public static final Likelihood POSSIBLE
Possible.
POSSIBLE = 3;
public static final Likelihood LIKELY
Likely.
LIKELY = 4;
public static final Likelihood VERY_LIKELY
Very likely.
VERY_LIKELY = 5;
public static final Likelihood UNRECOGNIZED
public static final int UNKNOWN_VALUE
Unknown likelihood.
UNKNOWN = 0;
public static final int VERY_UNLIKELY_VALUE
Very unlikely.
VERY_UNLIKELY = 1;
public static final int UNLIKELY_VALUE
Unlikely.
UNLIKELY = 2;
public static final int POSSIBLE_VALUE
Possible.
POSSIBLE = 3;
public static final int LIKELY_VALUE
Likely.
LIKELY = 4;
public static final int VERY_LIKELY_VALUE
Very likely.
VERY_LIKELY = 5;
public static Likelihood[] values()
for (Likelihood c : Likelihood.values()) System.out.println(c);
public static Likelihood 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 Likelihood valueOf(int value)
forNumber(int)
instead.public static Likelihood forNumber(int value)
public static Internal.EnumLiteMap<Likelihood> 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 Likelihood valueOf(Descriptors.EnumValueDescriptor desc)