public static final class DeleteNotificationsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeleteNotificationsRequest.Builder> implements DeleteNotificationsRequestOrBuilder
Delete one or more notifications for the current user.Protobuf type
nakama.api.DeleteNotificationsRequest
Modifier and Type | Method and Description |
---|---|
DeleteNotificationsRequest.Builder |
addAllIds(java.lang.Iterable<java.lang.String> values)
The id of notifications.
|
DeleteNotificationsRequest.Builder |
addIds(java.lang.String value)
The id of notifications.
|
DeleteNotificationsRequest.Builder |
addIdsBytes(com.google.protobuf.ByteString value)
The id of notifications.
|
DeleteNotificationsRequest |
build() |
DeleteNotificationsRequest |
buildPartial() |
DeleteNotificationsRequest.Builder |
clear() |
DeleteNotificationsRequest.Builder |
clearIds()
The id of notifications.
|
DeleteNotificationsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getIds(int index)
The id of notifications.
|
com.google.protobuf.ByteString |
getIdsBytes(int index)
The id of notifications.
|
int |
getIdsCount()
The id of notifications.
|
com.google.protobuf.ProtocolStringList |
getIdsList()
The id of notifications.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeleteNotificationsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeleteNotificationsRequest.Builder |
mergeFrom(DeleteNotificationsRequest other) |
DeleteNotificationsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeleteNotificationsRequest.Builder |
setIds(int index,
java.lang.String value)
The id of notifications.
|
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<DeleteNotificationsRequest.Builder>
public DeleteNotificationsRequest.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<DeleteNotificationsRequest.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<DeleteNotificationsRequest.Builder>
public DeleteNotificationsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DeleteNotificationsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DeleteNotificationsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DeleteNotificationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DeleteNotificationsRequest.Builder>
public DeleteNotificationsRequest.Builder mergeFrom(DeleteNotificationsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<DeleteNotificationsRequest.Builder>
public DeleteNotificationsRequest.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<DeleteNotificationsRequest.Builder>
java.io.IOException
public com.google.protobuf.ProtocolStringList getIdsList()
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
getIdsList
in interface DeleteNotificationsRequestOrBuilder
public int getIdsCount()
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
getIdsCount
in interface DeleteNotificationsRequestOrBuilder
public java.lang.String getIds(int index)
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
getIds
in interface DeleteNotificationsRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getIdsBytes(int index)
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
getIdsBytes
in interface DeleteNotificationsRequestOrBuilder
index
- The index of the value to return.public DeleteNotificationsRequest.Builder setIds(int index, java.lang.String value)
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
index
- The index to set the value at.value
- The ids to set.public DeleteNotificationsRequest.Builder addIds(java.lang.String value)
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
value
- The ids to add.public DeleteNotificationsRequest.Builder addAllIds(java.lang.Iterable<java.lang.String> values)
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
values
- The ids to add.public DeleteNotificationsRequest.Builder clearIds()
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
public DeleteNotificationsRequest.Builder addIdsBytes(com.google.protobuf.ByteString value)
The id of notifications.
repeated string ids = 1 [json_name = "ids"];
value
- The bytes of the ids to add.