Package com.heroiclabs.nakama.api
Class ListStorageObjectsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
com.heroiclabs.nakama.api.ListStorageObjectsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ListStorageObjectsRequestOrBuilder
,Cloneable
- Enclosing class:
- ListStorageObjectsRequest
public static final class ListStorageObjectsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
implements ListStorageObjectsRequestOrBuilder
List publicly readable storage objects in a given collection.Protobuf type
nakama.api.ListStorageObjectsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The collection which stores the object.The cursor to page through results from.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The number of storage objects to list.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) ID of the user.clone()
The collection which stores the object.com.google.protobuf.ByteString
The collection which stores the object.The cursor to page through results from.com.google.protobuf.ByteString
The cursor to page through results from.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getLimit()
The number of storage objects to list.The number of storage objects to list.The number of storage objects to list.ID of the user.com.google.protobuf.ByteString
ID of the user.boolean
hasLimit()
The number of storage objects to list.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeLimit
(Int32Value value) The number of storage objects to list.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCollection
(String value) The collection which stores the object.setCollectionBytes
(com.google.protobuf.ByteString value) The collection which stores the object.The cursor to page through results from.setCursorBytes
(com.google.protobuf.ByteString value) The cursor to page through results from.setLimit
(Int32Value value) The number of storage objects to list.setLimit
(Int32Value.Builder builderForValue) The number of storage objects to list.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) ID of the user.setUserIdBytes
(com.google.protobuf.ByteString value) ID of the user.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
setField
public ListStorageObjectsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
clearField
public ListStorageObjectsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
clearOneof
public ListStorageObjectsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
setRepeatedField
public ListStorageObjectsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
addRepeatedField
public ListStorageObjectsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListStorageObjectsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
mergeFrom
public ListStorageObjectsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListStorageObjectsRequest.Builder>
- Throws:
IOException
-
getUserId
ID of the user.
string user_id = 1;
- Specified by:
getUserId
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()ID of the user.
string user_id = 1;
- Specified by:
getUserIdBytes
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
ID of the user.
string user_id = 1;
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
ID of the user.
string user_id = 1;
- Returns:
- This builder for chaining.
-
setUserIdBytes
ID of the user.
string user_id = 1;
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
getCollection
The collection which stores the object.
string collection = 2;
- Specified by:
getCollection
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The collection.
-
getCollectionBytes
public com.google.protobuf.ByteString getCollectionBytes()The collection which stores the object.
string collection = 2;
- Specified by:
getCollectionBytes
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The bytes for collection.
-
setCollection
The collection which stores the object.
string collection = 2;
- Parameters:
value
- The collection to set.- Returns:
- This builder for chaining.
-
clearCollection
The collection which stores the object.
string collection = 2;
- Returns:
- This builder for chaining.
-
setCollectionBytes
The collection which stores the object.
string collection = 2;
- Parameters:
value
- The bytes for collection to set.- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
- Specified by:
hasLimit
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- Whether the limit field is set.
-
getLimit
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
- Specified by:
getLimit
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The limit.
-
setLimit
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
-
setLimit
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
-
mergeLimit
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
-
clearLimit
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
-
getLimitBuilder
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
-
getLimitOrBuilder
The number of storage objects to list. Between 1 and 100.
.google.protobuf.Int32Value limit = 3;
- Specified by:
getLimitOrBuilder
in interfaceListStorageObjectsRequestOrBuilder
-
getCursor
The cursor to page through results from.
string cursor = 4;
- Specified by:
getCursor
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The cursor.
-
getCursorBytes
public com.google.protobuf.ByteString getCursorBytes()The cursor to page through results from.
string cursor = 4;
- Specified by:
getCursorBytes
in interfaceListStorageObjectsRequestOrBuilder
- Returns:
- The bytes for cursor.
-
setCursor
The cursor to page through results from.
string cursor = 4;
- Parameters:
value
- The cursor to set.- Returns:
- This builder for chaining.
-
clearCursor
The cursor to page through results from.
string cursor = 4;
- Returns:
- This builder for chaining.
-
setCursorBytes
The cursor to page through results from.
string cursor = 4;
- Parameters:
value
- The bytes for cursor to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListStorageObjectsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-
mergeUnknownFields
public final ListStorageObjectsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
-