Class TransactionData.User.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransactionData.User.Builder>
com.google.recaptchaenterprise.v1beta1.TransactionData.User.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransactionData.UserOrBuilder,Cloneable
- Enclosing class:
- TransactionData.User
public static final class TransactionData.User.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransactionData.User.Builder>
implements TransactionData.UserOrBuilder
Details about a user's account involved in the transaction.Protobuf type
google.cloud.recaptchaenterprise.v1beta1.TransactionData.User-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Unique account identifier for this user.The epoch milliseconds of the user's account creation.The email address of the user.Whether the email has been verified to be accessible by the user (OTP or similar).The phone number of the user, with country code.Whether the phone number has been verified to be accessible by the user (OTP or similar).Unique account identifier for this user.com.google.protobuf.ByteStringUnique account identifier for this user.longThe epoch milliseconds of the user's account creation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEmail()The email address of the user.com.google.protobuf.ByteStringThe email address of the user.booleanWhether the email has been verified to be accessible by the user (OTP or similar).The phone number of the user, with country code.com.google.protobuf.ByteStringThe phone number of the user, with country code.booleanWhether the phone number has been verified to be accessible by the user (OTP or similar).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TransactionData.User other) setAccountId(String value) Unique account identifier for this user.setAccountIdBytes(com.google.protobuf.ByteString value) Unique account identifier for this user.setCreationMs(long value) The epoch milliseconds of the user's account creation.The email address of the user.setEmailBytes(com.google.protobuf.ByteString value) The email address of the user.setEmailVerified(boolean value) Whether the email has been verified to be accessible by the user (OTP or similar).setPhoneNumber(String value) The phone number of the user, with country code.setPhoneNumberBytes(com.google.protobuf.ByteString value) The phone number of the user, with country code.setPhoneVerified(boolean value) Whether the phone number has been verified to be accessible by the user (OTP or similar).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<TransactionData.User.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<TransactionData.User.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<TransactionData.User.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<TransactionData.User.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransactionData.User.Builder>
-
mergeFrom
public TransactionData.User.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<TransactionData.User.Builder>- Throws:
IOException
-
getAccountId
Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
string account_id = 6;- Specified by:
getAccountIdin interfaceTransactionData.UserOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
string account_id = 6;- Specified by:
getAccountIdBytesin interfaceTransactionData.UserOrBuilder- Returns:
- The bytes for accountId.
-
setAccountId
Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
string account_id = 6;- Parameters:
value- The accountId to set.- Returns:
- This builder for chaining.
-
clearAccountId
Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
string account_id = 6;- Returns:
- This builder for chaining.
-
setAccountIdBytes
Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
string account_id = 6;- Parameters:
value- The bytes for accountId to set.- Returns:
- This builder for chaining.
-
getCreationMs
public long getCreationMs()The epoch milliseconds of the user's account creation.
int64 creation_ms = 1;- Specified by:
getCreationMsin interfaceTransactionData.UserOrBuilder- Returns:
- The creationMs.
-
setCreationMs
The epoch milliseconds of the user's account creation.
int64 creation_ms = 1;- Parameters:
value- The creationMs to set.- Returns:
- This builder for chaining.
-
clearCreationMs
The epoch milliseconds of the user's account creation.
int64 creation_ms = 1;- Returns:
- This builder for chaining.
-
getEmail
The email address of the user.
string email = 2;- Specified by:
getEmailin interfaceTransactionData.UserOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()The email address of the user.
string email = 2;- Specified by:
getEmailBytesin interfaceTransactionData.UserOrBuilder- Returns:
- The bytes for email.
-
setEmail
The email address of the user.
string email = 2;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
The email address of the user.
string email = 2;- Returns:
- This builder for chaining.
-
setEmailBytes
The email address of the user.
string email = 2;- Parameters:
value- The bytes for email to set.- Returns:
- This builder for chaining.
-
getEmailVerified
public boolean getEmailVerified()Whether the email has been verified to be accessible by the user (OTP or similar).
bool email_verified = 3;- Specified by:
getEmailVerifiedin interfaceTransactionData.UserOrBuilder- Returns:
- The emailVerified.
-
setEmailVerified
Whether the email has been verified to be accessible by the user (OTP or similar).
bool email_verified = 3;- Parameters:
value- The emailVerified to set.- Returns:
- This builder for chaining.
-
clearEmailVerified
Whether the email has been verified to be accessible by the user (OTP or similar).
bool email_verified = 3;- Returns:
- This builder for chaining.
-
getPhoneNumber
The phone number of the user, with country code.
string phone_number = 4;- Specified by:
getPhoneNumberin interfaceTransactionData.UserOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
public com.google.protobuf.ByteString getPhoneNumberBytes()The phone number of the user, with country code.
string phone_number = 4;- Specified by:
getPhoneNumberBytesin interfaceTransactionData.UserOrBuilder- Returns:
- The bytes for phoneNumber.
-
setPhoneNumber
The phone number of the user, with country code.
string phone_number = 4;- Parameters:
value- The phoneNumber to set.- Returns:
- This builder for chaining.
-
clearPhoneNumber
The phone number of the user, with country code.
string phone_number = 4;- Returns:
- This builder for chaining.
-
setPhoneNumberBytes
The phone number of the user, with country code.
string phone_number = 4;- Parameters:
value- The bytes for phoneNumber to set.- Returns:
- This builder for chaining.
-
getPhoneVerified
public boolean getPhoneVerified()Whether the phone number has been verified to be accessible by the user (OTP or similar).
bool phone_verified = 5;- Specified by:
getPhoneVerifiedin interfaceTransactionData.UserOrBuilder- Returns:
- The phoneVerified.
-
setPhoneVerified
Whether the phone number has been verified to be accessible by the user (OTP or similar).
bool phone_verified = 5;- Parameters:
value- The phoneVerified to set.- Returns:
- This builder for chaining.
-
clearPhoneVerified
Whether the phone number has been verified to be accessible by the user (OTP or similar).
bool phone_verified = 5;- Returns:
- This builder for chaining.
-