Interface UserInfoOrBuilder (3.37.0)

public interface UserInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountId()

public abstract String getAccountId()

Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.

string account_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The accountId.

getAccountIdBytes()

public abstract ByteString getAccountIdBytes()

Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.

string account_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for accountId.

getCreateAccountTime()

public abstract Timestamp getCreateAccountTime()

Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.

.google.protobuf.Timestamp create_account_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Timestamp

The createAccountTime.

getCreateAccountTimeOrBuilder()

public abstract TimestampOrBuilder getCreateAccountTimeOrBuilder()

Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.

.google.protobuf.Timestamp create_account_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampOrBuilder

getUserIds(int index)

public abstract UserId getUserIds(int index)

Optional. Identifiers associated with this user or request.

repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
UserId

getUserIdsCount()

public abstract int getUserIdsCount()

Optional. Identifiers associated with this user or request.

repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getUserIdsList()

public abstract List<UserId> getUserIdsList()

Optional. Identifiers associated with this user or request.

repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<UserId>

getUserIdsOrBuilder(int index)

public abstract UserIdOrBuilder getUserIdsOrBuilder(int index)

Optional. Identifiers associated with this user or request.

repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
UserIdOrBuilder

getUserIdsOrBuilderList()

public abstract List<? extends UserIdOrBuilder> getUserIdsOrBuilderList()

Optional. Identifiers associated with this user or request.

repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1.UserIdOrBuilder>

hasCreateAccountTime()

public abstract boolean hasCreateAccountTime()

Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.

.google.protobuf.Timestamp create_account_time = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the createAccountTime field is set.