- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class TransactionData.User.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransactionData.User.BuilderImplements
TransactionData.UserOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.User.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
build()
public TransactionData.User build()
Returns | |
---|---|
Type | Description |
TransactionData.User |
buildPartial()
public TransactionData.User buildPartial()
Returns | |
---|---|
Type | Description |
TransactionData.User |
clear()
public TransactionData.User.Builder clear()
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
clearAccountId()
public TransactionData.User.Builder 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 | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
clearCreationMs()
public TransactionData.User.Builder clearCreationMs()
The epoch milliseconds of the user's account creation.
int64 creation_ms = 1;
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
clearEmail()
public TransactionData.User.Builder clearEmail()
The email address of the user.
string email = 2;
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
clearEmailVerified()
public TransactionData.User.Builder clearEmailVerified()
Whether the email has been verified to be accessible by the user (OTP or similar).
bool email_verified = 3;
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransactionData.User.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransactionData.User.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
clearPhoneNumber()
public TransactionData.User.Builder clearPhoneNumber()
The phone number of the user, with country code.
string phone_number = 4;
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
clearPhoneVerified()
public TransactionData.User.Builder clearPhoneVerified()
Whether the phone number has been verified to be accessible by the user (OTP or similar).
bool phone_verified = 5;
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
clone()
public TransactionData.User.Builder clone()
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
getAccountId()
public String 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;
Returns | |
---|---|
Type | Description |
String |
The accountId. |
getAccountIdBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for accountId. |
getCreationMs()
public long getCreationMs()
The epoch milliseconds of the user's account creation.
int64 creation_ms = 1;
Returns | |
---|---|
Type | Description |
long |
The creationMs. |
getDefaultInstanceForType()
public TransactionData.User getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TransactionData.User |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEmail()
public String getEmail()
The email address of the user.
string email = 2;
Returns | |
---|---|
Type | Description |
String |
The email. |
getEmailBytes()
public ByteString getEmailBytes()
The email address of the user.
string email = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for email. |
getEmailVerified()
public boolean getEmailVerified()
Whether the email has been verified to be accessible by the user (OTP or similar).
bool email_verified = 3;
Returns | |
---|---|
Type | Description |
boolean |
The emailVerified. |
getPhoneNumber()
public String getPhoneNumber()
The phone number of the user, with country code.
string phone_number = 4;
Returns | |
---|---|
Type | Description |
String |
The phoneNumber. |
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes()
The phone number of the user, with country code.
string phone_number = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for phoneNumber. |
getPhoneVerified()
public boolean getPhoneVerified()
Whether the phone number has been verified to be accessible by the user (OTP or similar).
bool phone_verified = 5;
Returns | |
---|---|
Type | Description |
boolean |
The phoneVerified. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransactionData.User.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransactionData.User.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
mergeFrom(TransactionData.User other)
public TransactionData.User.Builder mergeFrom(TransactionData.User other)
Parameter | |
---|---|
Name | Description |
other |
TransactionData.User |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.User.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
setAccountId(String value)
public TransactionData.User.Builder setAccountId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The accountId to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setAccountIdBytes(ByteString value)
public TransactionData.User.Builder setAccountIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for accountId to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setCreationMs(long value)
public TransactionData.User.Builder setCreationMs(long value)
The epoch milliseconds of the user's account creation.
int64 creation_ms = 1;
Parameter | |
---|---|
Name | Description |
value |
long The creationMs to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setEmail(String value)
public TransactionData.User.Builder setEmail(String value)
The email address of the user.
string email = 2;
Parameter | |
---|---|
Name | Description |
value |
String The email to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setEmailBytes(ByteString value)
public TransactionData.User.Builder setEmailBytes(ByteString value)
The email address of the user.
string email = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for email to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setEmailVerified(boolean value)
public TransactionData.User.Builder setEmailVerified(boolean value)
Whether the email has been verified to be accessible by the user (OTP or similar).
bool email_verified = 3;
Parameter | |
---|---|
Name | Description |
value |
boolean The emailVerified to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.User.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
setPhoneNumber(String value)
public TransactionData.User.Builder setPhoneNumber(String value)
The phone number of the user, with country code.
string phone_number = 4;
Parameter | |
---|---|
Name | Description |
value |
String The phoneNumber to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setPhoneNumberBytes(ByteString value)
public TransactionData.User.Builder setPhoneNumberBytes(ByteString value)
The phone number of the user, with country code.
string phone_number = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for phoneNumber to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setPhoneVerified(boolean value)
public TransactionData.User.Builder setPhoneVerified(boolean value)
Whether the phone number has been verified to be accessible by the user (OTP or similar).
bool phone_verified = 5;
Parameter | |
---|---|
Name | Description |
value |
boolean The phoneVerified to set. |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransactionData.User.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.User.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |