public static enum SmsTollFraudVerdict.SmsTollFraudReason extends Enum<SmsTollFraudVerdict.SmsTollFraudReason> implements com.google.protobuf.ProtocolMessageEnum
Reasons contributing to the SMS toll fraud verdict.Protobuf enum
google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason| Enum Constant and Description |
|---|
INVALID_PHONE_NUMBER
The provided phone number was invalid
INVALID_PHONE_NUMBER = 1; |
SMS_TOLL_FRAUD_REASON_UNSPECIFIED
Default unspecified reason
SMS_TOLL_FRAUD_REASON_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_PHONE_NUMBER_VALUE
The provided phone number was invalid
INVALID_PHONE_NUMBER = 1; |
static int |
SMS_TOLL_FRAUD_REASON_UNSPECIFIED_VALUE
Default unspecified reason
SMS_TOLL_FRAUD_REASON_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static SmsTollFraudVerdict.SmsTollFraudReason |
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<SmsTollFraudVerdict.SmsTollFraudReason> |
internalGetValueMap() |
static SmsTollFraudVerdict.SmsTollFraudReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SmsTollFraudVerdict.SmsTollFraudReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SmsTollFraudVerdict.SmsTollFraudReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmsTollFraudVerdict.SmsTollFraudReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmsTollFraudVerdict.SmsTollFraudReason SMS_TOLL_FRAUD_REASON_UNSPECIFIED
Default unspecified reason
SMS_TOLL_FRAUD_REASON_UNSPECIFIED = 0;public static final SmsTollFraudVerdict.SmsTollFraudReason INVALID_PHONE_NUMBER
The provided phone number was invalid
INVALID_PHONE_NUMBER = 1;public static final SmsTollFraudVerdict.SmsTollFraudReason UNRECOGNIZED
public static final int SMS_TOLL_FRAUD_REASON_UNSPECIFIED_VALUE
Default unspecified reason
SMS_TOLL_FRAUD_REASON_UNSPECIFIED = 0;public static final int INVALID_PHONE_NUMBER_VALUE
The provided phone number was invalid
INVALID_PHONE_NUMBER = 1;public static SmsTollFraudVerdict.SmsTollFraudReason[] values()
for (SmsTollFraudVerdict.SmsTollFraudReason c : SmsTollFraudVerdict.SmsTollFraudReason.values()) System.out.println(c);
public static SmsTollFraudVerdict.SmsTollFraudReason 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 SmsTollFraudVerdict.SmsTollFraudReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SmsTollFraudVerdict.SmsTollFraudReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SmsTollFraudVerdict.SmsTollFraudReason> 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 SmsTollFraudVerdict.SmsTollFraudReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.