public static final class FriendList.Builder extends com.google.protobuf.GeneratedMessage.Builder<FriendList.Builder> implements FriendListOrBuilder
A collection of zero or more friends of the user.Protobuf type
nakama.api.FriendList
Modifier and Type | Method and Description |
---|---|
FriendList.Builder |
addAllFriends(java.lang.Iterable<? extends Friend> values)
The Friend objects.
|
FriendList.Builder |
addFriends(Friend.Builder builderForValue)
The Friend objects.
|
FriendList.Builder |
addFriends(Friend value)
The Friend objects.
|
FriendList.Builder |
addFriends(int index,
Friend.Builder builderForValue)
The Friend objects.
|
FriendList.Builder |
addFriends(int index,
Friend value)
The Friend objects.
|
Friend.Builder |
addFriendsBuilder()
The Friend objects.
|
Friend.Builder |
addFriendsBuilder(int index)
The Friend objects.
|
FriendList |
build() |
FriendList |
buildPartial() |
FriendList.Builder |
clear() |
FriendList.Builder |
clearCursor()
Cursor for the next page of results, if any.
|
FriendList.Builder |
clearFriends()
The Friend objects.
|
java.lang.String |
getCursor()
Cursor for the next page of results, if any.
|
com.google.protobuf.ByteString |
getCursorBytes()
Cursor for the next page of results, if any.
|
FriendList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Friend |
getFriends(int index)
The Friend objects.
|
Friend.Builder |
getFriendsBuilder(int index)
The Friend objects.
|
java.util.List<Friend.Builder> |
getFriendsBuilderList()
The Friend objects.
|
int |
getFriendsCount()
The Friend objects.
|
java.util.List<Friend> |
getFriendsList()
The Friend objects.
|
FriendOrBuilder |
getFriendsOrBuilder(int index)
The Friend objects.
|
java.util.List<? extends FriendOrBuilder> |
getFriendsOrBuilderList()
The Friend objects.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FriendList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FriendList.Builder |
mergeFrom(FriendList other) |
FriendList.Builder |
mergeFrom(com.google.protobuf.Message other) |
FriendList.Builder |
removeFriends(int index)
The Friend objects.
|
FriendList.Builder |
setCursor(java.lang.String value)
Cursor for the next page of results, if any.
|
FriendList.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
Cursor for the next page of results, if any.
|
FriendList.Builder |
setFriends(int index,
Friend.Builder builderForValue)
The Friend objects.
|
FriendList.Builder |
setFriends(int index,
Friend value)
The Friend objects.
|
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<FriendList.Builder>
public FriendList.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<FriendList.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<FriendList.Builder>
public FriendList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FriendList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FriendList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FriendList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FriendList.Builder>
public FriendList.Builder mergeFrom(FriendList other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<FriendList.Builder>
public FriendList.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<FriendList.Builder>
java.io.IOException
public java.util.List<Friend> getFriendsList()
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
getFriendsList
in interface FriendListOrBuilder
public int getFriendsCount()
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
getFriendsCount
in interface FriendListOrBuilder
public Friend getFriends(int index)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
getFriends
in interface FriendListOrBuilder
public FriendList.Builder setFriends(int index, Friend value)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder setFriends(int index, Friend.Builder builderForValue)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder addFriends(Friend value)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder addFriends(int index, Friend value)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder addFriends(Friend.Builder builderForValue)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder addFriends(int index, Friend.Builder builderForValue)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder addAllFriends(java.lang.Iterable<? extends Friend> values)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder clearFriends()
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendList.Builder removeFriends(int index)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public Friend.Builder getFriendsBuilder(int index)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public FriendOrBuilder getFriendsOrBuilder(int index)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
getFriendsOrBuilder
in interface FriendListOrBuilder
public java.util.List<? extends FriendOrBuilder> getFriendsOrBuilderList()
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
getFriendsOrBuilderList
in interface FriendListOrBuilder
public Friend.Builder addFriendsBuilder()
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public Friend.Builder addFriendsBuilder(int index)
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public java.util.List<Friend.Builder> getFriendsBuilderList()
The Friend objects.
repeated .nakama.api.Friend friends = 1 [json_name = "friends"];
public java.lang.String getCursor()
Cursor for the next page of results, if any.
string cursor = 2 [json_name = "cursor"];
getCursor
in interface FriendListOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
Cursor for the next page of results, if any.
string cursor = 2 [json_name = "cursor"];
getCursorBytes
in interface FriendListOrBuilder
public FriendList.Builder setCursor(java.lang.String value)
Cursor for the next page of results, if any.
string cursor = 2 [json_name = "cursor"];
value
- The cursor to set.public FriendList.Builder clearCursor()
Cursor for the next page of results, if any.
string cursor = 2 [json_name = "cursor"];
public FriendList.Builder setCursorBytes(com.google.protobuf.ByteString value)
Cursor for the next page of results, if any.
string cursor = 2 [json_name = "cursor"];
value
- The bytes for cursor to set.