public static enum ProvideValidationFeedbackRequest.ValidationConclusion extends Enum<ProvideValidationFeedbackRequest.ValidationConclusion> implements com.google.protobuf.ProtocolMessageEnum
The possible final outcomes of the sequence of address validation requests needed to validate an address.Protobuf enum
google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion| Enum Constant and Description |
|---|
UNRECOGNIZED |
UNUSED
The transaction was abandoned and the address was not used.
|
UNVALIDATED_VERSION_USED
A version of the address that was entered after the last validation
attempt but that was not re-validated was used for the transaction.
|
USER_VERSION_USED
The version of the address provided by the user was used for the
transaction
|
VALIDATED_VERSION_USED
The version of the address returned by the Address Validation API was
used for the transaction.
|
VALIDATION_CONCLUSION_UNSPECIFIED
This value is unused.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
UNUSED_VALUE
The transaction was abandoned and the address was not used.
|
static int |
UNVALIDATED_VERSION_USED_VALUE
A version of the address that was entered after the last validation
attempt but that was not re-validated was used for the transaction.
|
static int |
USER_VERSION_USED_VALUE
The version of the address provided by the user was used for the
transaction
|
static int |
VALIDATED_VERSION_USED_VALUE
The version of the address returned by the Address Validation API was
used for the transaction.
|
static int |
VALIDATION_CONCLUSION_UNSPECIFIED_VALUE
This value is unused.
|
| Modifier and Type | Method and Description |
|---|---|
static ProvideValidationFeedbackRequest.ValidationConclusion |
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<ProvideValidationFeedbackRequest.ValidationConclusion> |
internalGetValueMap() |
static ProvideValidationFeedbackRequest.ValidationConclusion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProvideValidationFeedbackRequest.ValidationConclusion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProvideValidationFeedbackRequest.ValidationConclusion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProvideValidationFeedbackRequest.ValidationConclusion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProvideValidationFeedbackRequest.ValidationConclusion VALIDATION_CONCLUSION_UNSPECIFIED
This value is unused. If the `ProvideValidationFeedbackRequest.conclusion` field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
VALIDATION_CONCLUSION_UNSPECIFIED = 0;public static final ProvideValidationFeedbackRequest.ValidationConclusion VALIDATED_VERSION_USED
The version of the address returned by the Address Validation API was used for the transaction.
VALIDATED_VERSION_USED = 1;public static final ProvideValidationFeedbackRequest.ValidationConclusion USER_VERSION_USED
The version of the address provided by the user was used for the transaction
USER_VERSION_USED = 2;public static final ProvideValidationFeedbackRequest.ValidationConclusion UNVALIDATED_VERSION_USED
A version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.
UNVALIDATED_VERSION_USED = 3;public static final ProvideValidationFeedbackRequest.ValidationConclusion UNUSED
The transaction was abandoned and the address was not used.
UNUSED = 4;public static final ProvideValidationFeedbackRequest.ValidationConclusion UNRECOGNIZED
public static final int VALIDATION_CONCLUSION_UNSPECIFIED_VALUE
This value is unused. If the `ProvideValidationFeedbackRequest.conclusion` field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
VALIDATION_CONCLUSION_UNSPECIFIED = 0;public static final int VALIDATED_VERSION_USED_VALUE
The version of the address returned by the Address Validation API was used for the transaction.
VALIDATED_VERSION_USED = 1;public static final int USER_VERSION_USED_VALUE
The version of the address provided by the user was used for the transaction
USER_VERSION_USED = 2;public static final int UNVALIDATED_VERSION_USED_VALUE
A version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.
UNVALIDATED_VERSION_USED = 3;public static final int UNUSED_VALUE
The transaction was abandoned and the address was not used.
UNUSED = 4;public static ProvideValidationFeedbackRequest.ValidationConclusion[] values()
for (ProvideValidationFeedbackRequest.ValidationConclusion c : ProvideValidationFeedbackRequest.ValidationConclusion.values()) System.out.println(c);
public static ProvideValidationFeedbackRequest.ValidationConclusion 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 ProvideValidationFeedbackRequest.ValidationConclusion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ProvideValidationFeedbackRequest.ValidationConclusion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ProvideValidationFeedbackRequest.ValidationConclusion> 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 ProvideValidationFeedbackRequest.ValidationConclusion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.