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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
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()
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()
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()
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)
Overrides
toBuilder()
public TransactionData.User.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides