Class TransactionData.User (3.51.0)

public static final class TransactionData.User extends GeneratedMessageV3 implements TransactionData.UserOrBuilder

Details about a user's account involved in the transaction.

Protobuf type google.cloud.recaptchaenterprise.v1beta1.TransactionData.User

Static Fields

ACCOUNT_ID_FIELD_NUMBER

public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value
Type Description
int

CREATION_MS_FIELD_NUMBER

public static final int CREATION_MS_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_VERIFIED_FIELD_NUMBER

public static final int EMAIL_VERIFIED_FIELD_NUMBER
Field Value
Type Description
int

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

PHONE_VERIFIED_FIELD_NUMBER

public static final int PHONE_VERIFIED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransactionData.User getDefaultInstance()
Returns
Type Description
TransactionData.User

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransactionData.User.Builder newBuilder()
Returns
Type Description
TransactionData.User.Builder

newBuilder(TransactionData.User prototype)

public static TransactionData.User.Builder newBuilder(TransactionData.User prototype)
Parameter
Name Description
prototype TransactionData.User
Returns
Type Description
TransactionData.User.Builder

parseDelimitedFrom(InputStream input)

public static TransactionData.User parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransactionData.User
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.User
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransactionData.User parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransactionData.User
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.User
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransactionData.User parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransactionData.User
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.User
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransactionData.User parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransactionData.User
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.User
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransactionData.User parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransactionData.User
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.User
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransactionData.User parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransactionData.User
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.User
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransactionData.User> parser()
Returns
Type Description
Parser<User>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<TransactionData.User> getParserForType()
Returns
Type Description
Parser<User>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransactionData.User.Builder newBuilderForType()
Returns
Type Description
TransactionData.User.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransactionData.User.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransactionData.User.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransactionData.User.Builder toBuilder()
Returns
Type Description
TransactionData.User.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException