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
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
LATEST_VERIFICATION_RESULT_FIELD_NUMBER
public static final int LATEST_VERIFICATION_RESULT_FIELD_NUMBER
Field Value
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AccountVerificationInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AccountVerificationInfo.Builder newBuilder()
Returns
newBuilder(AccountVerificationInfo prototype)
public static AccountVerificationInfo.Builder newBuilder(AccountVerificationInfo prototype)
Parameter
Returns
public static AccountVerificationInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AccountVerificationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AccountVerificationInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AccountVerificationInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AccountVerificationInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AccountVerificationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AccountVerificationInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AccountVerificationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AccountVerificationInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccountVerificationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AccountVerificationInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AccountVerificationInfo getDefaultInstanceForType()
Returns
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
Returns
getEndpointsCount()
public int getEndpointsCount()
Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
Returns
getEndpointsList()
public List<EndpointVerificationInfo> getEndpointsList()
Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
Returns
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
Returns
getEndpointsOrBuilderList()
public List<? extends EndpointVerificationInfoOrBuilder> getEndpointsOrBuilderList()
Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1;
Returns
Type | Description |
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
Type | Description |
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
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUsername() (deprecated)
public String getUsername()
Deprecated. google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.
See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=374
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
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=374
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AccountVerificationInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccountVerificationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AccountVerificationInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions