public static final class BlockFriendsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BlockFriendsRequest.Builder> implements BlockFriendsRequestOrBuilder
Block one or more friends for the current user.Protobuf type
nakama.api.BlockFriendsRequest| Modifier and Type | Method and Description |
|---|---|
BlockFriendsRequest.Builder |
addAllIds(java.lang.Iterable<java.lang.String> values)
The account id of a user.
|
BlockFriendsRequest.Builder |
addAllUsernames(java.lang.Iterable<java.lang.String> values)
The account username of a user.
|
BlockFriendsRequest.Builder |
addIds(java.lang.String value)
The account id of a user.
|
BlockFriendsRequest.Builder |
addIdsBytes(com.google.protobuf.ByteString value)
The account id of a user.
|
BlockFriendsRequest.Builder |
addUsernames(java.lang.String value)
The account username of a user.
|
BlockFriendsRequest.Builder |
addUsernamesBytes(com.google.protobuf.ByteString value)
The account username of a user.
|
BlockFriendsRequest |
build() |
BlockFriendsRequest |
buildPartial() |
BlockFriendsRequest.Builder |
clear() |
BlockFriendsRequest.Builder |
clearIds()
The account id of a user.
|
BlockFriendsRequest.Builder |
clearUsernames()
The account username of a user.
|
BlockFriendsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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() |
BlockFriendsRequest.Builder |
mergeFrom(BlockFriendsRequest other) |
BlockFriendsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BlockFriendsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BlockFriendsRequest.Builder |
setIds(int index,
java.lang.String value)
The account id of a user.
|
BlockFriendsRequest.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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BlockFriendsRequest.Builder>public BlockFriendsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<BlockFriendsRequest.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.GeneratedMessage.Builder<BlockFriendsRequest.Builder>public BlockFriendsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BlockFriendsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BlockFriendsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BlockFriendsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BlockFriendsRequest.Builder>public BlockFriendsRequest.Builder mergeFrom(BlockFriendsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<BlockFriendsRequest.Builder>public BlockFriendsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BlockFriendsRequest.Builder>java.io.IOExceptionpublic com.google.protobuf.ProtocolStringList getIdsList()
The account id of a user.
repeated string ids = 1 [json_name = "ids"];getIdsList in interface BlockFriendsRequestOrBuilderpublic int getIdsCount()
The account id of a user.
repeated string ids = 1 [json_name = "ids"];getIdsCount in interface BlockFriendsRequestOrBuilderpublic java.lang.String getIds(int index)
The account id of a user.
repeated string ids = 1 [json_name = "ids"];getIds in interface BlockFriendsRequestOrBuilderindex - 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 BlockFriendsRequestOrBuilderindex - The index of the value to return.public BlockFriendsRequest.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 BlockFriendsRequest.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 BlockFriendsRequest.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 BlockFriendsRequest.Builder clearIds()
The account id of a user.
repeated string ids = 1 [json_name = "ids"];public BlockFriendsRequest.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 BlockFriendsRequestOrBuilderpublic int getUsernamesCount()
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];getUsernamesCount in interface BlockFriendsRequestOrBuilderpublic java.lang.String getUsernames(int index)
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];getUsernames in interface BlockFriendsRequestOrBuilderindex - 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 BlockFriendsRequestOrBuilderindex - The index of the value to return.public BlockFriendsRequest.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 BlockFriendsRequest.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 BlockFriendsRequest.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 BlockFriendsRequest.Builder clearUsernames()
The account username of a user.
repeated string usernames = 2 [json_name = "usernames"];public BlockFriendsRequest.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.