Class TransactionData.User.Builder (3.51.0)

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

Static 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
Overrides

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
Overrides

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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransactionData.User.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransactionData.User.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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
Overrides

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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransactionData.User.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransactionData.User.Builder
Overrides