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, 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<ListFriendsRequest.Builder>
public ListFriendsRequest.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<ListFriendsRequest.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<ListFriendsRequest.Builder>
public ListFriendsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListFriendsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListFriendsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListFriendsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListFriendsRequest.Builder>
java.io.IOException
public boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];
hasLimit
in interface ListFriendsRequestOrBuilder
public 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 ListFriendsRequestOrBuilder
public 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 ListFriendsRequestOrBuilder
public boolean hasState()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];
hasState
in interface ListFriendsRequestOrBuilder
public com.google.protobuf.Int32Value getState()
The friend state to list.
.google.protobuf.Int32Value state = 2 [json_name = "state"];
getState
in interface ListFriendsRequestOrBuilder
public 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 ListFriendsRequestOrBuilder
public java.lang.String getCursor()
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];
getCursor
in interface ListFriendsRequestOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
An optional next page cursor.
string cursor = 3 [json_name = "cursor"];
getCursorBytes
in interface ListFriendsRequestOrBuilder
public 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.