public static final class ListNotificationsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNotificationsRequest.Builder> implements ListNotificationsRequestOrBuilder
Get a list of unexpired notifications.Protobuf type
nakama.api.ListNotificationsRequest| Modifier and Type | Method and Description |
|---|---|
ListNotificationsRequest |
build() |
ListNotificationsRequest |
buildPartial() |
ListNotificationsRequest.Builder |
clear() |
ListNotificationsRequest.Builder |
clearCacheableCursor()
A cursor to page through notifications.
|
ListNotificationsRequest.Builder |
clearLimit()
The number of notifications to get.
|
java.lang.String |
getCacheableCursor()
A cursor to page through notifications.
|
com.google.protobuf.ByteString |
getCacheableCursorBytes()
A cursor to page through notifications.
|
ListNotificationsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Int32Value |
getLimit()
The number of notifications to get.
|
com.google.protobuf.Int32Value.Builder |
getLimitBuilder()
The number of notifications to get.
|
com.google.protobuf.Int32ValueOrBuilder |
getLimitOrBuilder()
The number of notifications to get.
|
boolean |
hasLimit()
The number of notifications to get.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListNotificationsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListNotificationsRequest.Builder |
mergeFrom(ListNotificationsRequest other) |
ListNotificationsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListNotificationsRequest.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
The number of notifications to get.
|
ListNotificationsRequest.Builder |
setCacheableCursor(java.lang.String value)
A cursor to page through notifications.
|
ListNotificationsRequest.Builder |
setCacheableCursorBytes(com.google.protobuf.ByteString value)
A cursor to page through notifications.
|
ListNotificationsRequest.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
The number of notifications to get.
|
ListNotificationsRequest.Builder |
setLimit(com.google.protobuf.Int32Value value)
The number of notifications to get.
|
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<ListNotificationsRequest.Builder>public ListNotificationsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationsRequest.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<ListNotificationsRequest.Builder>public ListNotificationsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListNotificationsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationsRequest.Builder>public ListNotificationsRequest.Builder mergeFrom(ListNotificationsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationsRequest.Builder>public ListNotificationsRequest.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<ListNotificationsRequest.Builder>java.io.IOExceptionpublic boolean hasLimit()
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];hasLimit in interface ListNotificationsRequestOrBuilderpublic com.google.protobuf.Int32Value getLimit()
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];getLimit in interface ListNotificationsRequestOrBuilderpublic ListNotificationsRequest.Builder setLimit(com.google.protobuf.Int32Value value)
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public ListNotificationsRequest.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public ListNotificationsRequest.Builder mergeLimit(com.google.protobuf.Int32Value value)
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public ListNotificationsRequest.Builder clearLimit()
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public com.google.protobuf.Int32Value.Builder getLimitBuilder()
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];getLimitOrBuilder in interface ListNotificationsRequestOrBuilderpublic java.lang.String getCacheableCursor()
A cursor to page through notifications. May be cached by clients to get from point in time forwards.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];getCacheableCursor in interface ListNotificationsRequestOrBuilderpublic com.google.protobuf.ByteString getCacheableCursorBytes()
A cursor to page through notifications. May be cached by clients to get from point in time forwards.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];getCacheableCursorBytes in interface ListNotificationsRequestOrBuilderpublic ListNotificationsRequest.Builder setCacheableCursor(java.lang.String value)
A cursor to page through notifications. May be cached by clients to get from point in time forwards.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];value - The cacheableCursor to set.public ListNotificationsRequest.Builder clearCacheableCursor()
A cursor to page through notifications. May be cached by clients to get from point in time forwards.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];public ListNotificationsRequest.Builder setCacheableCursorBytes(com.google.protobuf.ByteString value)
A cursor to page through notifications. May be cached by clients to get from point in time forwards.
string cacheable_cursor = 2 [json_name = "cacheableCursor"];value - The bytes for cacheableCursor to set.