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, 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<ListNotificationsRequest.Builder>
public ListNotificationsRequest.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<ListNotificationsRequest.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<ListNotificationsRequest.Builder>
public ListNotificationsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListNotificationsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListNotificationsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListNotificationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListNotificationsRequest.Builder>
java.io.IOException
public boolean hasLimit()
The number of notifications to get. Between 1 and 100.
.google.protobuf.Int32Value limit = 1 [json_name = "limit"];
hasLimit
in interface ListNotificationsRequestOrBuilder
public 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 ListNotificationsRequestOrBuilder
public 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 ListNotificationsRequestOrBuilder
public 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 ListNotificationsRequestOrBuilder
public 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 ListNotificationsRequestOrBuilder
public 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.