- 3.80.0 (latest)
- 3.79.0
- 3.77.0
- 3.75.0
- 3.73.0
- 3.72.0
- 3.71.0
- 3.70.0
- 3.69.0
- 3.67.0
- 3.65.0
- 3.64.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class UserInfo.Builder extends GeneratedMessage.Builder<UserInfo.Builder> implements UserInfoOrBuilderUser information associated with a request protected by reCAPTCHA Enterprise.
Protobuf type google.cloud.recaptchaenterprise.v1.UserInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserInfo.BuilderImplements
UserInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllUserIds(Iterable<? extends UserId> values)
public UserInfo.Builder addAllUserIds(Iterable<? extends UserId> values)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.recaptchaenterprise.v1.UserId> |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
addUserIds(UserId value)
public UserInfo.Builder addUserIds(UserId value)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
UserId |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
addUserIds(UserId.Builder builderForValue)
public UserInfo.Builder addUserIds(UserId.Builder builderForValue)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserId.Builder |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
addUserIds(int index, UserId value)
public UserInfo.Builder addUserIds(int index, UserId value)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UserId |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
addUserIds(int index, UserId.Builder builderForValue)
public UserInfo.Builder addUserIds(int index, UserId.Builder builderForValue)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UserId.Builder |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
addUserIdsBuilder()
public UserId.Builder addUserIdsBuilder()Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserId.Builder |
|
addUserIdsBuilder(int index)
public UserId.Builder addUserIdsBuilder(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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserId.Builder |
|
build()
public UserInfo build()| Returns | |
|---|---|
| Type | Description |
UserInfo |
|
buildPartial()
public UserInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
UserInfo |
|
clear()
public UserInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
clearAccountId()
public UserInfo.Builder clearAccountId()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 | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
clearCreateAccountTime()
public UserInfo.Builder clearCreateAccountTime()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 | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
clearUserIds()
public UserInfo.Builder clearUserIds()Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
getAccountId()
public 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 | |
|---|---|
| Type | Description |
String |
The accountId. |
getAccountIdBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for accountId. |
getCreateAccountTime()
public 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 | |
|---|---|
| Type | Description |
Timestamp |
The createAccountTime. |
getCreateAccountTimeBuilder()
public Timestamp.Builder getCreateAccountTimeBuilder()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 | |
|---|---|
| Type | Description |
Builder |
|
getCreateAccountTimeOrBuilder()
public 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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public UserInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUserIds(int index)
public 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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserId |
|
getUserIdsBuilder(int index)
public UserId.Builder getUserIdsBuilder(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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserId.Builder |
|
getUserIdsBuilderList()
public List<UserId.Builder> getUserIdsBuilderList()Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getUserIdsCount()
public 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 | |
|---|---|
| Type | Description |
int |
|
getUserIdsList()
public 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 | |
|---|---|
| Type | Description |
List<UserId> |
|
getUserIdsOrBuilder(int index)
public 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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserIdOrBuilder |
|
getUserIdsOrBuilderList()
public 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 | |
|---|---|
| Type | Description |
List<? extends com.google.recaptchaenterprise.v1.UserIdOrBuilder> |
|
hasCreateAccountTime()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the createAccountTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateAccountTime(Timestamp value)
public UserInfo.Builder mergeCreateAccountTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
mergeFrom(UserInfo other)
public UserInfo.Builder mergeFrom(UserInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
UserInfo |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
removeUserIds(int index)
public UserInfo.Builder removeUserIds(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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setAccountId(String value)
public UserInfo.Builder setAccountId(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe accountId to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setAccountIdBytes(ByteString value)
public UserInfo.Builder setAccountIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for accountId to set. |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
This builder for chaining. |
setCreateAccountTime(Timestamp value)
public UserInfo.Builder setCreateAccountTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setCreateAccountTime(Timestamp.Builder builderForValue)
public UserInfo.Builder setCreateAccountTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setUserIds(int index, UserId value)
public UserInfo.Builder setUserIds(int index, UserId value)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UserId |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|
setUserIds(int index, UserId.Builder builderForValue)
public UserInfo.Builder setUserIds(int index, UserId.Builder builderForValue)Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UserId.Builder |
| Returns | |
|---|---|
| Type | Description |
UserInfo.Builder |
|