public static final class GetUsersRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetUsersRequest.Builder> implements GetUsersRequestOrBuilder
Fetch a batch of zero or more users from the server.Protobuf type
nakama.api.GetUsersRequest
Modifier and Type | Method and Description |
---|---|
GetUsersRequest.Builder |
addAllFacebookIds(java.lang.Iterable<java.lang.String> values)
The Facebook ID of a user.
|
GetUsersRequest.Builder |
addAllIds(java.lang.Iterable<java.lang.String> values)
The account id of a user.
|
GetUsersRequest.Builder |
addAllUsernames(java.lang.Iterable<java.lang.String> values)
The account username of a user.
|
GetUsersRequest.Builder |
addFacebookIds(java.lang.String value)
The Facebook ID of a user.
|
GetUsersRequest.Builder |
addFacebookIdsBytes(com.google.protobuf.ByteString value)
The Facebook ID of a user.
|
GetUsersRequest.Builder |
addIds(java.lang.String value)
The account id of a user.
|
GetUsersRequest.Builder |
addIdsBytes(com.google.protobuf.ByteString value)
The account id of a user.
|
GetUsersRequest.Builder |
addUsernames(java.lang.String value)
The account username of a user.
|
GetUsersRequest.Builder |
addUsernamesBytes(com.google.protobuf.ByteString value)
The account username of a user.
|
GetUsersRequest |
build() |
GetUsersRequest |
buildPartial() |
GetUsersRequest.Builder |
clear() |
GetUsersRequest.Builder |
clearFacebookIds()
The Facebook ID of a user.
|
GetUsersRequest.Builder |
clearIds()
The account id of a user.
|
GetUsersRequest.Builder |
clearUsernames()
The account username of a user.
|
GetUsersRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFacebookIds(int index)
The Facebook ID of a user.
|
com.google.protobuf.ByteString |
getFacebookIdsBytes(int index)
The Facebook ID of a user.
|
int |
getFacebookIdsCount()
The Facebook ID of a user.
|
com.google.protobuf.ProtocolStringList |
getFacebookIdsList()
The Facebook ID of a user.
|
java.lang.String |
getIds(int index)
The account id of a user.
|
com.google.protobuf.ByteString |
getIdsBytes(int index)
The account id of a user.
|
int |
getIdsCount()
The account id of a user.
|
com.google.protobuf.ProtocolStringList |
getIdsList()
The account id of a user.
|
java.lang.String |
getUsernames(int index)
The account username of a user.
|
com.google.protobuf.ByteString |
getUsernamesBytes(int index)
The account username of a user.
|
int |
getUsernamesCount()
The account username of a user.
|
com.google.protobuf.ProtocolStringList |
getUsernamesList()
The account username of a user.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetUsersRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetUsersRequest.Builder |
mergeFrom(GetUsersRequest other) |
GetUsersRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetUsersRequest.Builder |
setFacebookIds(int index,
java.lang.String value)
The Facebook ID of a user.
|
GetUsersRequest.Builder |
setIds(int index,
java.lang.String value)
The account id of a user.
|
GetUsersRequest.Builder |
setUsernames(int index,
java.lang.String value)
The account username of a user.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<GetUsersRequest.Builder>
public GetUsersRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<GetUsersRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<GetUsersRequest.Builder>
public GetUsersRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GetUsersRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GetUsersRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GetUsersRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GetUsersRequest.Builder>
public GetUsersRequest.Builder mergeFrom(GetUsersRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<GetUsersRequest.Builder>
public GetUsersRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GetUsersRequest.Builder>
java.io.IOException
public com.google.protobuf.ProtocolStringList getIdsList()
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
getIdsList
in interface GetUsersRequestOrBuilder
public int getIdsCount()
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
getIdsCount
in interface GetUsersRequestOrBuilder
public java.lang.String getIds(int index)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
getIds
in interface GetUsersRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getIdsBytes(int index)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
getIdsBytes
in interface GetUsersRequestOrBuilder
index
- The index of the value to return.public GetUsersRequest.Builder setIds(int index, java.lang.String value)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
index
- The index to set the value at.value
- The ids to set.public GetUsersRequest.Builder addIds(java.lang.String value)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
value
- The ids to add.public GetUsersRequest.Builder addAllIds(java.lang.Iterable<java.lang.String> values)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
values
- The ids to add.public GetUsersRequest.Builder clearIds()
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
public GetUsersRequest.Builder addIdsBytes(com.google.protobuf.ByteString value)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];
value
- The bytes of the ids to add.public com.google.protobuf.ProtocolStringList getUsernamesList()
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
getUsernamesList
in interface GetUsersRequestOrBuilder
public int getUsernamesCount()
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
getUsernamesCount
in interface GetUsersRequestOrBuilder
public java.lang.String getUsernames(int index)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
getUsernames
in interface GetUsersRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getUsernamesBytes(int index)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
getUsernamesBytes
in interface GetUsersRequestOrBuilder
index
- The index of the value to return.public GetUsersRequest.Builder setUsernames(int index, java.lang.String value)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
index
- The index to set the value at.value
- The usernames to set.public GetUsersRequest.Builder addUsernames(java.lang.String value)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
value
- The usernames to add.public GetUsersRequest.Builder addAllUsernames(java.lang.Iterable<java.lang.String> values)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
values
- The usernames to add.public GetUsersRequest.Builder clearUsernames()
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
public GetUsersRequest.Builder addUsernamesBytes(com.google.protobuf.ByteString value)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];
value
- The bytes of the usernames to add.public com.google.protobuf.ProtocolStringList getFacebookIdsList()
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
getFacebookIdsList
in interface GetUsersRequestOrBuilder
public int getFacebookIdsCount()
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
getFacebookIdsCount
in interface GetUsersRequestOrBuilder
public java.lang.String getFacebookIds(int index)
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
getFacebookIds
in interface GetUsersRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getFacebookIdsBytes(int index)
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
getFacebookIdsBytes
in interface GetUsersRequestOrBuilder
index
- The index of the value to return.public GetUsersRequest.Builder setFacebookIds(int index, java.lang.String value)
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
index
- The index to set the value at.value
- The facebookIds to set.public GetUsersRequest.Builder addFacebookIds(java.lang.String value)
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
value
- The facebookIds to add.public GetUsersRequest.Builder addAllFacebookIds(java.lang.Iterable<java.lang.String> values)
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
values
- The facebookIds to add.public GetUsersRequest.Builder clearFacebookIds()
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
public GetUsersRequest.Builder addFacebookIdsBytes(com.google.protobuf.ByteString value)
The Facebook ID of a user.
repeated string facebook_ids = 3 [json_name = "facebookIds"];
value
- The bytes of the facebookIds to add.