Class AccountVerificationInfo (3.13.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
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

LATEST_VERIFICATION_RESULT_FIELD_NUMBER

public static final int LATEST_VERIFICATION_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccountVerificationInfo getDefaultInstance()
Returns
TypeDescription
AccountVerificationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AccountVerificationInfo.Builder newBuilder()
Returns
TypeDescription
AccountVerificationInfo.Builder

newBuilder(AccountVerificationInfo prototype)

public static AccountVerificationInfo.Builder newBuilder(AccountVerificationInfo prototype)
Parameter
NameDescription
prototypeAccountVerificationInfo
Returns
TypeDescription
AccountVerificationInfo.Builder

parseDelimitedFrom(InputStream input)

public static AccountVerificationInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AccountVerificationInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccountVerificationInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccountVerificationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AccountVerificationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AccountVerificationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccountVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AccountVerificationInfo> parser()
Returns
TypeDescription
Parser<AccountVerificationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AccountVerificationInfo getDefaultInstanceForType()
Returns
TypeDescription
AccountVerificationInfo

getEndpoints(int index)

public EndpointVerificationInfo getEndpoints(int index)

Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EndpointVerificationInfo

getEndpointsCount()

public int getEndpointsCount()

Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;

Returns
TypeDescription
int

getEndpointsList()

public List<EndpointVerificationInfo> getEndpointsList()

Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;

Returns
TypeDescription
List<EndpointVerificationInfo>

getEndpointsOrBuilder(int index)

public EndpointVerificationInfoOrBuilder getEndpointsOrBuilder(int index)

Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EndpointVerificationInfoOrBuilder

getEndpointsOrBuilderList()

public List<? extends EndpointVerificationInfoOrBuilder> getEndpointsOrBuilderList()

Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1.EndpointVerificationInfoOrBuilder>

getLanguageCode()

public String getLanguageCode()

Language code preference for the verification message, set as a IETF BCP 47 language code.

string language_code = 3;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Language code preference for the verification message, set as a IETF BCP 47 language code.

string language_code = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for latestVerificationResult.

getParserForType()

public Parser<AccountVerificationInfo> getParserForType()
Returns
TypeDescription
Parser<AccountVerificationInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUsername() (deprecated)

public String getUsername()

Deprecated. google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=503

Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.

string username = 2 [deprecated = true];

Returns
TypeDescription
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=503

Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.

string username = 2 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for username.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AccountVerificationInfo.Builder newBuilderForType()
Returns
TypeDescription
AccountVerificationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccountVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AccountVerificationInfo.Builder toBuilder()
Returns
TypeDescription
AccountVerificationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException