public static final class UserInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder> implements UserInfoOrBuilder
User information associated with a request protected by reCAPTCHA Enterprise.Protobuf type
google.cloud.recaptchaenterprise.v1.UserInfo| Modifier and Type | Method and Description |
|---|---|
UserInfo.Builder |
addAllUserIds(Iterable<? extends UserId> values)
Optional.
|
UserInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UserInfo.Builder |
addUserIds(int index,
UserId.Builder builderForValue)
Optional.
|
UserInfo.Builder |
addUserIds(int index,
UserId value)
Optional.
|
UserInfo.Builder |
addUserIds(UserId.Builder builderForValue)
Optional.
|
UserInfo.Builder |
addUserIds(UserId value)
Optional.
|
UserId.Builder |
addUserIdsBuilder()
Optional.
|
UserId.Builder |
addUserIdsBuilder(int index)
Optional.
|
UserInfo |
build() |
UserInfo |
buildPartial() |
UserInfo.Builder |
clear() |
UserInfo.Builder |
clearAccountId()
Optional.
|
UserInfo.Builder |
clearCreateAccountTime()
Optional.
|
UserInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UserInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UserInfo.Builder |
clearUserIds()
Optional.
|
UserInfo.Builder |
clone() |
String |
getAccountId()
Optional.
|
com.google.protobuf.ByteString |
getAccountIdBytes()
Optional.
|
com.google.protobuf.Timestamp |
getCreateAccountTime()
Optional.
|
com.google.protobuf.Timestamp.Builder |
getCreateAccountTimeBuilder()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getCreateAccountTimeOrBuilder()
Optional.
|
UserInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
UserId |
getUserIds(int index)
Optional.
|
UserId.Builder |
getUserIdsBuilder(int index)
Optional.
|
List<UserId.Builder> |
getUserIdsBuilderList()
Optional.
|
int |
getUserIdsCount()
Optional.
|
List<UserId> |
getUserIdsList()
Optional.
|
UserIdOrBuilder |
getUserIdsOrBuilder(int index)
Optional.
|
List<? extends UserIdOrBuilder> |
getUserIdsOrBuilderList()
Optional.
|
boolean |
hasCreateAccountTime()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UserInfo.Builder |
mergeCreateAccountTime(com.google.protobuf.Timestamp value)
Optional.
|
UserInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UserInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
UserInfo.Builder |
mergeFrom(UserInfo other) |
UserInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UserInfo.Builder |
removeUserIds(int index)
Optional.
|
UserInfo.Builder |
setAccountId(String value)
Optional.
|
UserInfo.Builder |
setAccountIdBytes(com.google.protobuf.ByteString value)
Optional.
|
UserInfo.Builder |
setCreateAccountTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional.
|
UserInfo.Builder |
setCreateAccountTime(com.google.protobuf.Timestamp value)
Optional.
|
UserInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UserInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UserInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UserInfo.Builder |
setUserIds(int index,
UserId.Builder builderForValue)
Optional.
|
UserInfo.Builder |
setUserIds(int index,
UserId value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UserInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UserInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UserInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserInfo.Builder>public UserInfo.Builder mergeFrom(UserInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public UserInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserInfo.Builder>IOExceptionpublic 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];
hasCreateAccountTime in interface UserInfoOrBuilderpublic com.google.protobuf.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];
getCreateAccountTime in interface UserInfoOrBuilderpublic UserInfo.Builder setCreateAccountTime(com.google.protobuf.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];
public UserInfo.Builder setCreateAccountTime(com.google.protobuf.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];
public UserInfo.Builder mergeCreateAccountTime(com.google.protobuf.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];
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];
public com.google.protobuf.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];
public com.google.protobuf.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];
getCreateAccountTimeOrBuilder in interface UserInfoOrBuilderpublic 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];getAccountId in interface UserInfoOrBuilderpublic com.google.protobuf.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];getAccountIdBytes in interface UserInfoOrBuilderpublic 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];value - The accountId to set.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];public UserInfo.Builder setAccountIdBytes(com.google.protobuf.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];value - The bytes for accountId to set.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];
getUserIdsList in interface UserInfoOrBuilderpublic int getUserIdsCount()
Optional. Identifiers associated with this user or request.
repeated .google.cloud.recaptchaenterprise.v1.UserId user_ids = 3 [(.google.api.field_behavior) = OPTIONAL];
getUserIdsCount in interface UserInfoOrBuilderpublic 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];
getUserIds in interface UserInfoOrBuilderpublic 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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
getUserIdsOrBuilder in interface UserInfoOrBuilderpublic 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];
getUserIdsOrBuilderList in interface UserInfoOrBuilderpublic 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];
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];
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];
public final UserInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>public final UserInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.