Class AccountVerificationInfo.Builder (3.30.0)

public static final class AccountVerificationInfo.Builder extends GeneratedMessageV3.Builder<AccountVerificationInfo.Builder> implements AccountVerificationInfoOrBuilder

Information about account verification, used for identity verification.

Protobuf type google.cloud.recaptchaenterprise.v1.AccountVerificationInfo

Static Methods

getDescriptor()

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

Methods

addAllEndpoints(Iterable<? extends EndpointVerificationInfo> values)

public AccountVerificationInfo.Builder addAllEndpoints(Iterable<? extends EndpointVerificationInfo> values)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1.EndpointVerificationInfo>
Returns
TypeDescription
AccountVerificationInfo.Builder

addEndpoints(EndpointVerificationInfo value)

public AccountVerificationInfo.Builder addEndpoints(EndpointVerificationInfo value)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEndpointVerificationInfo
Returns
TypeDescription
AccountVerificationInfo.Builder

addEndpoints(EndpointVerificationInfo.Builder builderForValue)

public AccountVerificationInfo.Builder addEndpoints(EndpointVerificationInfo.Builder builderForValue)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueEndpointVerificationInfo.Builder
Returns
TypeDescription
AccountVerificationInfo.Builder

addEndpoints(int index, EndpointVerificationInfo value)

public AccountVerificationInfo.Builder addEndpoints(int index, EndpointVerificationInfo value)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueEndpointVerificationInfo
Returns
TypeDescription
AccountVerificationInfo.Builder

addEndpoints(int index, EndpointVerificationInfo.Builder builderForValue)

public AccountVerificationInfo.Builder addEndpoints(int index, EndpointVerificationInfo.Builder builderForValue)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueEndpointVerificationInfo.Builder
Returns
TypeDescription
AccountVerificationInfo.Builder

addEndpointsBuilder()

public EndpointVerificationInfo.Builder addEndpointsBuilder()

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EndpointVerificationInfo.Builder

addEndpointsBuilder(int index)

public EndpointVerificationInfo.Builder addEndpointsBuilder(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
NameDescription
indexint
Returns
TypeDescription
EndpointVerificationInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccountVerificationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

build()

public AccountVerificationInfo build()
Returns
TypeDescription
AccountVerificationInfo

buildPartial()

public AccountVerificationInfo buildPartial()
Returns
TypeDescription
AccountVerificationInfo

clear()

public AccountVerificationInfo.Builder clear()
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

clearEndpoints()

public AccountVerificationInfo.Builder clearEndpoints()

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AccountVerificationInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public AccountVerificationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

clearLanguageCode()

public AccountVerificationInfo.Builder clearLanguageCode()

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
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.

clearLatestVerificationResult()

public AccountVerificationInfo.Builder clearLatestVerificationResult()

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.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AccountVerificationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

clearUsername() (deprecated)

public AccountVerificationInfo.Builder clearUsername()

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

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
AccountVerificationInfo.Builder

This builder for chaining.

clone()

public AccountVerificationInfo.Builder clone()
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

getDefaultInstanceForType()

public AccountVerificationInfo getDefaultInstanceForType()
Returns
TypeDescription
AccountVerificationInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
NameDescription
indexint
Returns
TypeDescription
EndpointVerificationInfo

getEndpointsBuilder(int index)

public EndpointVerificationInfo.Builder getEndpointsBuilder(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
NameDescription
indexint
Returns
TypeDescription
EndpointVerificationInfo.Builder

getEndpointsBuilderList()

public List<EndpointVerificationInfo.Builder> getEndpointsBuilderList()

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Builder>

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

getUsername() (deprecated)

public String getUsername()

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

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccountVerificationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccountVerificationInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

mergeFrom(AccountVerificationInfo other)

public AccountVerificationInfo.Builder mergeFrom(AccountVerificationInfo other)
Parameter
NameDescription
otherAccountVerificationInfo
Returns
TypeDescription
AccountVerificationInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccountVerificationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

removeEndpoints(int index)

public AccountVerificationInfo.Builder removeEndpoints(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
NameDescription
indexint
Returns
TypeDescription
AccountVerificationInfo.Builder

setEndpoints(int index, EndpointVerificationInfo value)

public AccountVerificationInfo.Builder setEndpoints(int index, EndpointVerificationInfo value)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueEndpointVerificationInfo
Returns
TypeDescription
AccountVerificationInfo.Builder

setEndpoints(int index, EndpointVerificationInfo.Builder builderForValue)

public AccountVerificationInfo.Builder setEndpoints(int index, EndpointVerificationInfo.Builder builderForValue)

Optional. Endpoints that can be used for identity verification.

repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueEndpointVerificationInfo.Builder
Returns
TypeDescription
AccountVerificationInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AccountVerificationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

setLanguageCode(String value)

public AccountVerificationInfo.Builder setLanguageCode(String value)

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

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public AccountVerificationInfo.Builder setLanguageCodeBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.

setLatestVerificationResult(AccountVerificationInfo.Result value)

public AccountVerificationInfo.Builder setLatestVerificationResult(AccountVerificationInfo.Result value)

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

Parameter
NameDescription
valueAccountVerificationInfo.Result

The latestVerificationResult to set.

Returns
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.

setLatestVerificationResultValue(int value)

public AccountVerificationInfo.Builder setLatestVerificationResultValue(int value)

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for latestVerificationResult to set.

Returns
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccountVerificationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccountVerificationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccountVerificationInfo.Builder
Overrides

setUsername(String value) (deprecated)

public AccountVerificationInfo.Builder setUsername(String value)

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

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

Parameter
NameDescription
valueString

The username to set.

Returns
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.

setUsernameBytes(ByteString value) (deprecated)

public AccountVerificationInfo.Builder setUsernameBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for username to set.

Returns
TypeDescription
AccountVerificationInfo.Builder

This builder for chaining.