Send feedback
Class TransactionData.User (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
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.v1.TransactionData.User
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static TransactionData . User . Builder newBuilder ()
newBuilder(TransactionData.User prototype)
public static TransactionData . User . Builder newBuilder ( TransactionData . User prototype )
public static TransactionData . User parseDelimitedFrom ( InputStream input )
public static TransactionData . User parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static TransactionData . User parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransactionData . User parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static TransactionData . User parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransactionData . User parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TransactionData . User parseFrom ( CodedInputStream input )
public static TransactionData . User parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TransactionData . User parseFrom ( InputStream input )
public static TransactionData . User parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static TransactionData . User parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransactionData . User parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<TransactionData . User > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAccountId()
public String getAccountId ()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The accountId.
getAccountIdBytes()
public ByteString getAccountIdBytes ()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for accountId.
getCreationMs()
public long getCreationMs ()
Optional. The epoch milliseconds of the user's account creation.
int64 creation_ms = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
long
The creationMs.
getDefaultInstanceForType()
public TransactionData . User getDefaultInstanceForType ()
getEmail()
Optional. The email address of the user.
string email = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The email.
getEmailBytes()
public ByteString getEmailBytes ()
Optional. The email address of the user.
string email = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for email.
getEmailVerified()
public boolean getEmailVerified ()
Optional. Whether the email has been verified to be accessible by the
user (OTP or similar).
bool email_verified = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The emailVerified.
getParserForType()
public Parser<TransactionData . User > getParserForType ()
Overrides
getPhoneNumber()
public String getPhoneNumber ()
Optional. The phone number of the user, with country code.
string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The phoneNumber.
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes ()
Optional. The phone number of the user, with country code.
string phone_number = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for phoneNumber.
getPhoneVerified()
public boolean getPhoneVerified ()
Optional. Whether the phone number has been verified to be accessible by
the user (OTP or similar).
bool phone_verified = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The phoneVerified.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public TransactionData . User . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransactionData . User . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public TransactionData . User . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]