public static enum AnnotateAssessmentRequest.Annotation extends Enum<AnnotateAssessmentRequest.Annotation> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents the types of annotations.Protobuf enum
google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation
Enum Constant and Description |
---|
ANNOTATION_UNSPECIFIED
Default unspecified type.
|
FRAUDULENT
Provides information that the event turned out to be fraudulent.
|
LEGITIMATE
Provides information that the event turned out to be legitimate.
|
PASSWORD_CORRECT
Deprecated.
|
PASSWORD_INCORRECT
Deprecated.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ANNOTATION_UNSPECIFIED_VALUE
Default unspecified type.
|
static int |
FRAUDULENT_VALUE
Provides information that the event turned out to be fraudulent.
|
static int |
LEGITIMATE_VALUE
Provides information that the event turned out to be legitimate.
|
static int |
PASSWORD_CORRECT_VALUE
Deprecated.
|
static int |
PASSWORD_INCORRECT_VALUE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AnnotateAssessmentRequest.Annotation |
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<AnnotateAssessmentRequest.Annotation> |
internalGetValueMap() |
static AnnotateAssessmentRequest.Annotation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AnnotateAssessmentRequest.Annotation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AnnotateAssessmentRequest.Annotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotateAssessmentRequest.Annotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotateAssessmentRequest.Annotation ANNOTATION_UNSPECIFIED
Default unspecified type.
ANNOTATION_UNSPECIFIED = 0;
public static final AnnotateAssessmentRequest.Annotation LEGITIMATE
Provides information that the event turned out to be legitimate.
LEGITIMATE = 1;
public static final AnnotateAssessmentRequest.Annotation FRAUDULENT
Provides information that the event turned out to be fraudulent.
FRAUDULENT = 2;
@Deprecated public static final AnnotateAssessmentRequest.Annotation PASSWORD_CORRECT
Provides information that the event was related to a login event in which the user typed the correct password. Deprecated, prefer indicating CORRECT_PASSWORD through the reasons field instead.
PASSWORD_CORRECT = 3 [deprecated = true];
@Deprecated public static final AnnotateAssessmentRequest.Annotation PASSWORD_INCORRECT
Provides information that the event was related to a login event in which the user typed the incorrect password. Deprecated, prefer indicating INCORRECT_PASSWORD through the reasons field instead.
PASSWORD_INCORRECT = 4 [deprecated = true];
public static final AnnotateAssessmentRequest.Annotation UNRECOGNIZED
public static final int ANNOTATION_UNSPECIFIED_VALUE
Default unspecified type.
ANNOTATION_UNSPECIFIED = 0;
public static final int LEGITIMATE_VALUE
Provides information that the event turned out to be legitimate.
LEGITIMATE = 1;
public static final int FRAUDULENT_VALUE
Provides information that the event turned out to be fraudulent.
FRAUDULENT = 2;
@Deprecated public static final int PASSWORD_CORRECT_VALUE
Provides information that the event was related to a login event in which the user typed the correct password. Deprecated, prefer indicating CORRECT_PASSWORD through the reasons field instead.
PASSWORD_CORRECT = 3 [deprecated = true];
@Deprecated public static final int PASSWORD_INCORRECT_VALUE
Provides information that the event was related to a login event in which the user typed the incorrect password. Deprecated, prefer indicating INCORRECT_PASSWORD through the reasons field instead.
PASSWORD_INCORRECT = 4 [deprecated = true];
public static AnnotateAssessmentRequest.Annotation[] values()
for (AnnotateAssessmentRequest.Annotation c : AnnotateAssessmentRequest.Annotation.values()) System.out.println(c);
public static AnnotateAssessmentRequest.Annotation 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static AnnotateAssessmentRequest.Annotation valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AnnotateAssessmentRequest.Annotation forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AnnotateAssessmentRequest.Annotation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AnnotateAssessmentRequest.Annotation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.