public enum Likelihood extends Enum<Likelihood> implements com.google.protobuf.ProtocolMessageEnum
Bucketized representation of likelihood.Protobuf enum
google.cloud.videointelligence.v1p2beta1.Likelihood| Enum Constant and Description |
|---|
LIKELIHOOD_UNSPECIFIED
Unspecified likelihood.
|
LIKELY
Likely.
|
POSSIBLE
Possible.
|
UNLIKELY
Unlikely.
|
UNRECOGNIZED |
VERY_LIKELY
Very likely.
|
VERY_UNLIKELY
Very unlikely.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
LIKELIHOOD_UNSPECIFIED_VALUE
Unspecified likelihood.
|
static int |
LIKELY_VALUE
Likely.
|
static int |
POSSIBLE_VALUE
Possible.
|
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 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<Likelihood> |
internalGetValueMap() |
static Likelihood |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Likelihood |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Likelihood |
valueOf(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 LIKELIHOOD_UNSPECIFIED
Unspecified likelihood.
LIKELIHOOD_UNSPECIFIED = 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 LIKELIHOOD_UNSPECIFIED_VALUE
Unspecified likelihood.
LIKELIHOOD_UNSPECIFIED = 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(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 Likelihood valueOf(int value)
forNumber(int) instead.public static Likelihood forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Likelihood> 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 Likelihood valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Google LLC. All rights reserved.