Class TransactionData.User (3.30.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
TypeDescription
int

CREATION_MS_FIELD_NUMBER

public static final int CREATION_MS_FIELD_NUMBER
Field Value
TypeDescription
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

EMAIL_VERIFIED_FIELD_NUMBER

public static final int EMAIL_VERIFIED_FIELD_NUMBER
Field Value
TypeDescription
int

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

PHONE_VERIFIED_FIELD_NUMBER

public static final int PHONE_VERIFIED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransactionData.User getDefaultInstance()
Returns
TypeDescription
TransactionData.User

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransactionData.User.Builder newBuilder()
Returns
TypeDescription
TransactionData.User.Builder

newBuilder(TransactionData.User prototype)

public static TransactionData.User.Builder newBuilder(TransactionData.User prototype)
Parameter
NameDescription
prototypeTransactionData.User
Returns
TypeDescription
TransactionData.User.Builder

parseDelimitedFrom(InputStream input)

public static TransactionData.User parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransactionData.User parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransactionData.User parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransactionData.User parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransactionData.User parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransactionData.User parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.User parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.User
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for accountId.

getCreationMs()

public long getCreationMs()

The epoch milliseconds of the user's account creation.

int64 creation_ms = 1;

Returns
TypeDescription
long

The creationMs.

getDefaultInstanceForType()

public TransactionData.User getDefaultInstanceForType()
Returns
TypeDescription
TransactionData.User

getEmail()

public String getEmail()

The email address of the user.

string email = 2;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

The email address of the user.

string email = 2;

Returns
TypeDescription
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
TypeDescription
boolean

The emailVerified.

getParserForType()

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

getPhoneNumber()

public String getPhoneNumber()

The phone number of the user, with country code.

string phone_number = 4;

Returns
TypeDescription
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

The phone number of the user, with country code.

string phone_number = 4;

Returns
TypeDescription
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
TypeDescription
boolean

The phoneVerified.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransactionData.User.Builder newBuilderForType()
Returns
TypeDescription
TransactionData.User.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransactionData.User.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransactionData.User.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransactionData.User.Builder toBuilder()
Returns
TypeDescription
TransactionData.User.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException