public static final class ListFriendsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFriendsRequest.Builder> implements ListFriendsRequestOrBuilder
List friends for a user.Protobuf type
nakama.api.ListFriendsRequest| Modifier and Type | Method and Description |
|---|---|
ListFriendsRequest |
build() |
ListFriendsRequest |
buildPartial() |
ListFriendsRequest.Builder |
clear() |
ListFriendsRequest.Builder |
clearCursor()
An optional next page cursor.
|
ListFriendsRequest.Builder |
clearLimit()
Max number of records to return.
|
ListFriendsRequest.Builder |
clearState()
The friend state to list.
|
java.lang.String |
getCursor()
An optional next page cursor.
|
com.google.protobuf.ByteString |
getCursorBytes()
An optional next page cursor.
|
ListFriendsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Int32Value |
getLimit()
Max number of records to return.
|
com.google.protobuf.Int32Value.Builder |
getLimitBuilder()
Max number of records to return.
|
com.google.protobuf.Int32ValueOrBuilder |
getLimitOrBuilder()
Max number of records to return.
|
com.google.protobuf.Int32Value |
getState()
The friend state to list.
|
com.google.protobuf.Int32Value.Builder |
getStateBuilder()
The friend state to list.
|
com.google.protobuf.Int32ValueOrBuilder |
getStateOrBuilder()
The friend state to list.
|
boolean |
hasLimit()
Max number of records to return.
|
boolean |
hasState()
The friend state to list.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListFriendsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListFriendsRequest.Builder |
mergeFrom(ListFriendsRequest other) |
ListFriendsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListFriendsRequest.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListFriendsRequest.Builder |
mergeState(com.google.protobuf.Int32Value value)
The friend state to list.
|
ListFriendsRequest.Builder |
setCursor(java.lang.String value)
An optional next page cursor.
|
ListFriendsRequest.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
An optional next page cursor.
|
ListFriendsRequest.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return.
|
ListFriendsRequest.Builder |
setLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListFriendsRequest.Builder |
setState(com.google.protobuf.Int32Value.Builder builderForValue)
The friend state to list.
|
ListFriendsRequest.Builder |
setState(com.google.protobuf.Int32Value value)
The friend state to list.
|
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<ListFriendsRequest.Builder>public ListFriendsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListFriendsRequest.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<ListFriendsRequest.Builder>public ListFriendsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListFriendsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListFriendsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListFriendsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListFriendsRequest.Builder>public ListFriendsRequest.Builder mergeFrom(ListFriendsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListFriendsRequest.Builder>public ListFriendsRequest.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<ListFriendsRequest.Builder>java.io.IOExceptionpublic boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];hasLimit in interface ListFriendsRequestOrBuilderpublic com.google.protobuf.Int32Value getLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];getLimit in interface ListFriendsRequestOrBuilderpublic ListFriendsRequest.Builder setLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public ListFriendsRequest.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public ListFriendsRequest.Builder mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public ListFriendsRequest.Builder clearLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public com.google.protobuf.Int32Value.Builder getLimitBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];getLimitOrBuilder in interface ListFriendsRequestOrBuilderpublic boolean hasState()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];hasState in interface ListFriendsRequestOrBuilderpublic com.google.protobuf.Int32Value getState()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];getState in interface ListFriendsRequestOrBuilderpublic ListFriendsRequest.Builder setState(com.google.protobuf.Int32Value value)
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];public ListFriendsRequest.Builder setState(com.google.protobuf.Int32Value.Builder builderForValue)
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];public ListFriendsRequest.Builder mergeState(com.google.protobuf.Int32Value value)
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];public ListFriendsRequest.Builder clearState()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];public com.google.protobuf.Int32Value.Builder getStateBuilder()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];public com.google.protobuf.Int32ValueOrBuilder getStateOrBuilder()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];getStateOrBuilder in interface ListFriendsRequestOrBuilderpublic java.lang.String getCursor()
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];getCursor in interface ListFriendsRequestOrBuilderpublic com.google.protobuf.ByteString getCursorBytes()
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];getCursorBytes in interface ListFriendsRequestOrBuilderpublic ListFriendsRequest.Builder setCursor(java.lang.String value)
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];value - The cursor to set.public ListFriendsRequest.Builder clearCursor()
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];public ListFriendsRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];value - The bytes for cursor to set.