public static final class ListChannelMessagesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder> implements ListChannelMessagesRequestOrBuilder
List a channel's message history.Protobuf type
nakama.api.ListChannelMessagesRequest
Modifier and Type | Method and Description |
---|---|
ListChannelMessagesRequest |
build() |
ListChannelMessagesRequest |
buildPartial() |
ListChannelMessagesRequest.Builder |
clear() |
ListChannelMessagesRequest.Builder |
clearChannelId()
The channel ID to list from.
|
ListChannelMessagesRequest.Builder |
clearCursor()
A pagination cursor, if any.
|
ListChannelMessagesRequest.Builder |
clearForward()
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
clearLimit()
Max number of records to return.
|
java.lang.String |
getChannelId()
The channel ID to list from.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
The channel ID to list from.
|
java.lang.String |
getCursor()
A pagination cursor, if any.
|
com.google.protobuf.ByteString |
getCursorBytes()
A pagination cursor, if any.
|
ListChannelMessagesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.BoolValue |
getForward()
True if listing should be older messages to newer, false if reverse.
|
com.google.protobuf.BoolValue.Builder |
getForwardBuilder()
True if listing should be older messages to newer, false if reverse.
|
com.google.protobuf.BoolValueOrBuilder |
getForwardOrBuilder()
True if listing should be older messages to newer, false if reverse.
|
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.
|
boolean |
hasForward()
True if listing should be older messages to newer, false if reverse.
|
boolean |
hasLimit()
Max number of records to return.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListChannelMessagesRequest.Builder |
mergeForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListChannelMessagesRequest.Builder |
mergeFrom(ListChannelMessagesRequest other) |
ListChannelMessagesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListChannelMessagesRequest.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
ListChannelMessagesRequest.Builder |
setChannelId(java.lang.String value)
The channel ID to list from.
|
ListChannelMessagesRequest.Builder |
setChannelIdBytes(com.google.protobuf.ByteString value)
The channel ID to list from.
|
ListChannelMessagesRequest.Builder |
setCursor(java.lang.String value)
A pagination cursor, if any.
|
ListChannelMessagesRequest.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
A pagination cursor, if any.
|
ListChannelMessagesRequest.Builder |
setForward(com.google.protobuf.BoolValue.Builder builderForValue)
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
setForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
|
ListChannelMessagesRequest.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return.
|
ListChannelMessagesRequest.Builder |
setLimit(com.google.protobuf.Int32Value value)
Max number of records to return.
|
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<ListChannelMessagesRequest.Builder>
public ListChannelMessagesRequest.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<ListChannelMessagesRequest.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<ListChannelMessagesRequest.Builder>
public ListChannelMessagesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListChannelMessagesRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListChannelMessagesRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListChannelMessagesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListChannelMessagesRequest.Builder>
public ListChannelMessagesRequest.Builder mergeFrom(ListChannelMessagesRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ListChannelMessagesRequest.Builder>
public ListChannelMessagesRequest.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<ListChannelMessagesRequest.Builder>
java.io.IOException
public java.lang.String getChannelId()
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ListChannelMessagesRequestOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ListChannelMessagesRequestOrBuilder
public ListChannelMessagesRequest.Builder setChannelId(java.lang.String value)
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];
value
- The channelId to set.public ListChannelMessagesRequest.Builder clearChannelId()
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];
public ListChannelMessagesRequest.Builder setChannelIdBytes(com.google.protobuf.ByteString value)
The channel ID to list from.
string channel_id = 1 [json_name = "channelId"];
value
- The bytes for channelId to set.public boolean hasLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
hasLimit
in interface ListChannelMessagesRequestOrBuilder
public com.google.protobuf.Int32Value getLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
getLimit
in interface ListChannelMessagesRequestOrBuilder
public ListChannelMessagesRequest.Builder setLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public ListChannelMessagesRequest.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public ListChannelMessagesRequest.Builder mergeLimit(com.google.protobuf.Int32Value value)
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public ListChannelMessagesRequest.Builder clearLimit()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public com.google.protobuf.Int32Value.Builder getLimitBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
Max number of records to return. Between 1 and 100.
.google.protobuf.Int32Value limit = 2 [json_name = "limit"];
getLimitOrBuilder
in interface ListChannelMessagesRequestOrBuilder
public boolean hasForward()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
hasForward
in interface ListChannelMessagesRequestOrBuilder
public com.google.protobuf.BoolValue getForward()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
getForward
in interface ListChannelMessagesRequestOrBuilder
public ListChannelMessagesRequest.Builder setForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
public ListChannelMessagesRequest.Builder setForward(com.google.protobuf.BoolValue.Builder builderForValue)
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
public ListChannelMessagesRequest.Builder mergeForward(com.google.protobuf.BoolValue value)
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
public ListChannelMessagesRequest.Builder clearForward()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
public com.google.protobuf.BoolValue.Builder getForwardBuilder()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
public com.google.protobuf.BoolValueOrBuilder getForwardOrBuilder()
True if listing should be older messages to newer, false if reverse.
.google.protobuf.BoolValue forward = 3 [json_name = "forward"];
getForwardOrBuilder
in interface ListChannelMessagesRequestOrBuilder
public java.lang.String getCursor()
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];
getCursor
in interface ListChannelMessagesRequestOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];
getCursorBytes
in interface ListChannelMessagesRequestOrBuilder
public ListChannelMessagesRequest.Builder setCursor(java.lang.String value)
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];
value
- The cursor to set.public ListChannelMessagesRequest.Builder clearCursor()
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];
public ListChannelMessagesRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
A pagination cursor, if any.
string cursor = 4 [json_name = "cursor"];
value
- The bytes for cursor to set.