Class AccountVerificationInfo (3.40.0)

public final class AccountVerificationInfo extends GeneratedMessageV3 implements AccountVerificationInfoOrBuilder

Information about account verification, used for identity verification.

Protobuf type google.cloud.recaptchaenterprise.v1.AccountVerificationInfo

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()
Returns
Type Description
AccountVerificationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AccountVerificationInfo.Builder newBuilder()
Returns
Type Description
AccountVerificationInfo.Builder

newBuilder(AccountVerificationInfo prototype)

public static AccountVerificationInfo.Builder newBuilder(AccountVerificationInfo prototype)
Parameter
Name Description
prototype AccountVerificationInfo
Returns
Type Description
AccountVerificationInfo.Builder

parseDelimitedFrom(InputStream input)

public static AccountVerificationInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AccountVerificationInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccountVerificationInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccountVerificationInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AccountVerificationInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AccountVerificationInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccountVerificationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AccountVerificationInfo> parser()
Returns
Type Description
Parser<AccountVerificationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AccountVerificationInfo getDefaultInstanceForType()
Returns
Type Description
AccountVerificationInfo

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
Returns
Type Description
EndpointVerificationInfo

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];

Returns
Type Description
List<EndpointVerificationInfo>

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
Returns
Type Description
EndpointVerificationInfoOrBuilder

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];

Returns
Type Description
AccountVerificationInfo.Result

The latestVerificationResult.

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()
Returns
Type Description
Parser<AccountVerificationInfo>
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=567

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=567

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AccountVerificationInfo.Builder newBuilderForType()
Returns
Type Description
AccountVerificationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccountVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AccountVerificationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AccountVerificationInfo.Builder toBuilder()
Returns
Type Description
AccountVerificationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException