public static final class SubscriptionList.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubscriptionList.Builder> implements SubscriptionListOrBuilder
A list of validated subscriptions stored by Nakama.Protobuf type
nakama.api.SubscriptionList
Modifier and Type | Method and Description |
---|---|
SubscriptionList.Builder |
addAllValidatedSubscriptions(java.lang.Iterable<? extends ValidatedSubscription> values)
Stored validated subscriptions.
|
SubscriptionList.Builder |
addValidatedSubscriptions(int index,
ValidatedSubscription.Builder builderForValue)
Stored validated subscriptions.
|
SubscriptionList.Builder |
addValidatedSubscriptions(int index,
ValidatedSubscription value)
Stored validated subscriptions.
|
SubscriptionList.Builder |
addValidatedSubscriptions(ValidatedSubscription.Builder builderForValue)
Stored validated subscriptions.
|
SubscriptionList.Builder |
addValidatedSubscriptions(ValidatedSubscription value)
Stored validated subscriptions.
|
ValidatedSubscription.Builder |
addValidatedSubscriptionsBuilder()
Stored validated subscriptions.
|
ValidatedSubscription.Builder |
addValidatedSubscriptionsBuilder(int index)
Stored validated subscriptions.
|
SubscriptionList |
build() |
SubscriptionList |
buildPartial() |
SubscriptionList.Builder |
clear() |
SubscriptionList.Builder |
clearCursor()
The cursor to send when retrieving the next page, if any.
|
SubscriptionList.Builder |
clearPrevCursor()
The cursor to send when retrieving the previous page, if any.
|
SubscriptionList.Builder |
clearValidatedSubscriptions()
Stored validated subscriptions.
|
java.lang.String |
getCursor()
The cursor to send when retrieving the next page, if any.
|
com.google.protobuf.ByteString |
getCursorBytes()
The cursor to send when retrieving the next page, if any.
|
SubscriptionList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPrevCursor()
The cursor to send when retrieving the previous page, if any.
|
com.google.protobuf.ByteString |
getPrevCursorBytes()
The cursor to send when retrieving the previous page, if any.
|
ValidatedSubscription |
getValidatedSubscriptions(int index)
Stored validated subscriptions.
|
ValidatedSubscription.Builder |
getValidatedSubscriptionsBuilder(int index)
Stored validated subscriptions.
|
java.util.List<ValidatedSubscription.Builder> |
getValidatedSubscriptionsBuilderList()
Stored validated subscriptions.
|
int |
getValidatedSubscriptionsCount()
Stored validated subscriptions.
|
java.util.List<ValidatedSubscription> |
getValidatedSubscriptionsList()
Stored validated subscriptions.
|
ValidatedSubscriptionOrBuilder |
getValidatedSubscriptionsOrBuilder(int index)
Stored validated subscriptions.
|
java.util.List<? extends ValidatedSubscriptionOrBuilder> |
getValidatedSubscriptionsOrBuilderList()
Stored validated subscriptions.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SubscriptionList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SubscriptionList.Builder |
mergeFrom(com.google.protobuf.Message other) |
SubscriptionList.Builder |
mergeFrom(SubscriptionList other) |
SubscriptionList.Builder |
removeValidatedSubscriptions(int index)
Stored validated subscriptions.
|
SubscriptionList.Builder |
setCursor(java.lang.String value)
The cursor to send when retrieving the next page, if any.
|
SubscriptionList.Builder |
setCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the next page, if any.
|
SubscriptionList.Builder |
setPrevCursor(java.lang.String value)
The cursor to send when retrieving the previous page, if any.
|
SubscriptionList.Builder |
setPrevCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the previous page, if any.
|
SubscriptionList.Builder |
setValidatedSubscriptions(int index,
ValidatedSubscription.Builder builderForValue)
Stored validated subscriptions.
|
SubscriptionList.Builder |
setValidatedSubscriptions(int index,
ValidatedSubscription value)
Stored validated subscriptions.
|
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<SubscriptionList.Builder>
public SubscriptionList.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<SubscriptionList.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<SubscriptionList.Builder>
public SubscriptionList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SubscriptionList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SubscriptionList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SubscriptionList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SubscriptionList.Builder>
public SubscriptionList.Builder mergeFrom(SubscriptionList other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<SubscriptionList.Builder>
public SubscriptionList.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<SubscriptionList.Builder>
java.io.IOException
public java.util.List<ValidatedSubscription> getValidatedSubscriptionsList()
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
getValidatedSubscriptionsList
in interface SubscriptionListOrBuilder
public int getValidatedSubscriptionsCount()
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
getValidatedSubscriptionsCount
in interface SubscriptionListOrBuilder
public ValidatedSubscription getValidatedSubscriptions(int index)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
getValidatedSubscriptions
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setValidatedSubscriptions(int index, ValidatedSubscription value)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder setValidatedSubscriptions(int index, ValidatedSubscription.Builder builderForValue)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder addValidatedSubscriptions(ValidatedSubscription value)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder addValidatedSubscriptions(int index, ValidatedSubscription value)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder addValidatedSubscriptions(ValidatedSubscription.Builder builderForValue)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder addValidatedSubscriptions(int index, ValidatedSubscription.Builder builderForValue)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder addAllValidatedSubscriptions(java.lang.Iterable<? extends ValidatedSubscription> values)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder clearValidatedSubscriptions()
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public SubscriptionList.Builder removeValidatedSubscriptions(int index)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public ValidatedSubscription.Builder getValidatedSubscriptionsBuilder(int index)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public ValidatedSubscriptionOrBuilder getValidatedSubscriptionsOrBuilder(int index)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
getValidatedSubscriptionsOrBuilder
in interface SubscriptionListOrBuilder
public java.util.List<? extends ValidatedSubscriptionOrBuilder> getValidatedSubscriptionsOrBuilderList()
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
getValidatedSubscriptionsOrBuilderList
in interface SubscriptionListOrBuilder
public ValidatedSubscription.Builder addValidatedSubscriptionsBuilder()
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public ValidatedSubscription.Builder addValidatedSubscriptionsBuilder(int index)
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public java.util.List<ValidatedSubscription.Builder> getValidatedSubscriptionsBuilderList()
Stored validated subscriptions.
repeated .nakama.api.ValidatedSubscription validated_subscriptions = 1 [json_name = "validatedSubscriptions"];
public java.lang.String getCursor()
The cursor to send when retrieving the next page, if any.
string cursor = 2 [json_name = "cursor"];
getCursor
in interface SubscriptionListOrBuilder
public com.google.protobuf.ByteString getCursorBytes()
The cursor to send when retrieving the next page, if any.
string cursor = 2 [json_name = "cursor"];
getCursorBytes
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setCursor(java.lang.String value)
The cursor to send when retrieving the next page, if any.
string cursor = 2 [json_name = "cursor"];
value
- The cursor to set.public SubscriptionList.Builder clearCursor()
The cursor to send when retrieving the next page, if any.
string cursor = 2 [json_name = "cursor"];
public SubscriptionList.Builder setCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the next page, if any.
string cursor = 2 [json_name = "cursor"];
value
- The bytes for cursor to set.public java.lang.String getPrevCursor()
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];
getPrevCursor
in interface SubscriptionListOrBuilder
public com.google.protobuf.ByteString getPrevCursorBytes()
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];
getPrevCursorBytes
in interface SubscriptionListOrBuilder
public SubscriptionList.Builder setPrevCursor(java.lang.String value)
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];
value
- The prevCursor to set.public SubscriptionList.Builder clearPrevCursor()
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];
public SubscriptionList.Builder setPrevCursorBytes(com.google.protobuf.ByteString value)
The cursor to send when retrieving the previous page, if any.
string prev_cursor = 3 [json_name = "prevCursor"];
value
- The bytes for prevCursor to set.