public final class AccountVerificationInfo extends GeneratedMessageV3 implements AccountVerificationInfoOrBuilder
Information about account verification, used for identity verification.
Protobuf type google.cloud.recaptchaenterprise.v1.AccountVerificationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LATEST_VERIFICATION_RESULT_FIELD_NUMBER
public static final int LATEST_VERIFICATION_RESULT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AccountVerificationInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AccountVerificationInfo.Builder newBuilder()
newBuilder(AccountVerificationInfo prototype)
public static AccountVerificationInfo.Builder newBuilder(AccountVerificationInfo prototype)
public static AccountVerificationInfo parseDelimitedFrom(InputStream input)
public static AccountVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AccountVerificationInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AccountVerificationInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(CodedInputStream input)
public static AccountVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(InputStream input)
public static AccountVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AccountVerificationInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AccountVerificationInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AccountVerificationInfo getDefaultInstanceForType()
getEndpoints(int index)
public EndpointVerificationInfo getEndpoints(int index)
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getEndpointsCount()
public int getEndpointsCount()
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getEndpointsList()
public List<EndpointVerificationInfo> getEndpointsList()
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
getEndpointsOrBuilder(int index)
public EndpointVerificationInfoOrBuilder getEndpointsOrBuilder(int index)
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getEndpointsOrBuilderList()
public List<? extends EndpointVerificationInfoOrBuilder> getEndpointsOrBuilderList()
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder> |
|
getLanguageCode()
public String getLanguageCode()
Optional. Language code preference for the verification message, set as a
IETF BCP 47 language code.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Optional. Language code preference for the verification message, set as a
IETF BCP 47 language code.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for languageCode.
|
getLatestVerificationResult()
public AccountVerificationInfo.Result getLatestVerificationResult()
Output only. Result of the latest account verification challenge.
.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result latest_verification_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLatestVerificationResultValue()
public int getLatestVerificationResultValue()
Output only. Result of the latest account verification challenge.
.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.Result latest_verification_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for latestVerificationResult.
|
getParserForType()
public Parser<AccountVerificationInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUsername() (deprecated)
public String getUsername()
Deprecated. google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.
See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=602
Username of the account that is being verified. Deprecated. Customers
should now provide the account_id
field in event.user_info
.
string username = 2 [deprecated = true];
Returns |
Type |
Description |
String |
The username.
|
getUsernameBytes() (deprecated)
public ByteString getUsernameBytes()
Deprecated. google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.
See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=602
Username of the account that is being verified. Deprecated. Customers
should now provide the account_id
field in event.user_info
.
string username = 2 [deprecated = true];
Returns |
Type |
Description |
ByteString |
The bytes for username.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AccountVerificationInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccountVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AccountVerificationInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides