Class AccountVerificationInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AccountVerificationInfo.Builder>
com.google.recaptchaenterprise.v1.AccountVerificationInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AccountVerificationInfoOrBuilder,Cloneable
- Enclosing class:
- AccountVerificationInfo
public static final class AccountVerificationInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AccountVerificationInfo.Builder>
implements AccountVerificationInfoOrBuilder
Information about account verification, used for identity verification.Protobuf type
google.cloud.recaptchaenterprise.v1.AccountVerificationInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpoints(Iterable<? extends EndpointVerificationInfo> values) Optional.addEndpoints(int index, EndpointVerificationInfo value) Optional.addEndpoints(int index, EndpointVerificationInfo.Builder builderForValue) Optional.Optional.addEndpoints(EndpointVerificationInfo.Builder builderForValue) Optional.Optional.addEndpointsBuilder(int index) Optional.build()clear()Optional.Optional.Output only.Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpoints(int index) Optional.getEndpointsBuilder(int index) Optional.Optional.intOptional.Optional.getEndpointsOrBuilder(int index) Optional.List<? extends EndpointVerificationInfoOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.Output only.intOutput only.Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AccountVerificationInfo other) removeEndpoints(int index) Optional.setEndpoints(int index, EndpointVerificationInfo value) Optional.setEndpoints(int index, EndpointVerificationInfo.Builder builderForValue) Optional.setLanguageCode(String value) Optional.setLanguageCodeBytes(com.google.protobuf.ByteString value) Optional.Output only.setLatestVerificationResultValue(int value) Output only.setUsername(String value) Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.setUsernameBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AccountVerificationInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AccountVerificationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AccountVerificationInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountVerificationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AccountVerificationInfo.Builder>
-
mergeFrom
public AccountVerificationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountVerificationInfo.Builder>- Throws:
IOException
-
getEndpointsList
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointsListin interfaceAccountVerificationInfoOrBuilder
-
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];- Specified by:
getEndpointsCountin interfaceAccountVerificationInfoOrBuilder
-
getEndpoints
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointsin interfaceAccountVerificationInfoOrBuilder
-
setEndpoints
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setEndpoints
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]; -
addEndpoints
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addEndpoints
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addEndpoints
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]; -
addEndpoints
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]; -
addAllEndpoints
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]; -
clearEndpoints
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
removeEndpoints
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getEndpointsBuilder
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getEndpointsOrBuilder
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointsOrBuilderin interfaceAccountVerificationInfoOrBuilder
-
getEndpointsOrBuilderList
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndpointsOrBuilderListin interfaceAccountVerificationInfoOrBuilder
-
addEndpointsBuilder
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addEndpointsBuilder
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getEndpointsBuilderList
Optional. Endpoints that can be used for identity verification.
repeated .google.cloud.recaptchaenterprise.v1.EndpointVerificationInfo endpoints = 1 [(.google.api.field_behavior) = OPTIONAL]; -
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];- Specified by:
getLanguageCodein interfaceAccountVerificationInfoOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.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];- Specified by:
getLanguageCodeBytesin interfaceAccountVerificationInfoOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLanguageCodeBytes
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];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getLatestVerificationResultValuein interfaceAccountVerificationInfoOrBuilder- Returns:
- The enum numeric value on the wire for latestVerificationResult.
-
setLatestVerificationResultValue
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];- Parameters:
value- The enum numeric value on the wire for latestVerificationResult to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getLatestVerificationResultin interfaceAccountVerificationInfoOrBuilder- Returns:
- The latestVerificationResult.
-
setLatestVerificationResult
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];- Parameters:
value- The latestVerificationResult to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getUsername
Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=621Username 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];- Specified by:
getUsernamein interfaceAccountVerificationInfoOrBuilder- Returns:
- The username.
-
getUsernameBytes
Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=621Username 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];- Specified by:
getUsernameBytesin interfaceAccountVerificationInfoOrBuilder- Returns:
- The bytes for username.
-
setUsername
Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=621Username 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];- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=621Username 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:
- This builder for chaining.
-
setUsernameBytes
@Deprecated public AccountVerificationInfo.Builder setUsernameBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo.username is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=621Username 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];- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-