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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • getDefaultInstanceForType

      public ListStorageObjectsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListStorageObjectsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListStorageObjectsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • setField

      public ListStorageObjectsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • clearField

      public ListStorageObjectsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • clearOneof

      public ListStorageObjectsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • addRepeatedField

      public ListStorageObjectsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • mergeFrom

      public ListStorageObjectsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStorageObjectsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListStorageObjectsRequest.Builder>
      Throws:
      IOException
    • getUserId

      public String getUserId()
       ID of the user.
       
      string user_id = 1;
      Specified by:
      getUserId in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The userId.
    • getUserIdBytes

      public com.google.protobuf.ByteString getUserIdBytes()
       ID of the user.
       
      string user_id = 1;
      Specified by:
      getUserIdBytes in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The bytes for userId.
    • setUserId

      public ListStorageObjectsRequest.Builder setUserId(String value)
       ID of the user.
       
      string user_id = 1;
      Parameters:
      value - The userId to set.
      Returns:
      This builder for chaining.
    • clearUserId

      public ListStorageObjectsRequest.Builder clearUserId()
       ID of the user.
       
      string user_id = 1;
      Returns:
      This builder for chaining.
    • setUserIdBytes

      public ListStorageObjectsRequest.Builder setUserIdBytes(com.google.protobuf.ByteString value)
       ID of the user.
       
      string user_id = 1;
      Parameters:
      value - The bytes for userId to set.
      Returns:
      This builder for chaining.
    • getCollection

      public String getCollection()
       The collection which stores the object.
       
      string collection = 2;
      Specified by:
      getCollection in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The collection.
    • getCollectionBytes

      public com.google.protobuf.ByteString getCollectionBytes()
       The collection which stores the object.
       
      string collection = 2;
      Specified by:
      getCollectionBytes in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The bytes for collection.
    • setCollection

      public ListStorageObjectsRequest.Builder setCollection(String value)
       The collection which stores the object.
       
      string collection = 2;
      Parameters:
      value - The collection to set.
      Returns:
      This builder for chaining.
    • clearCollection

      public ListStorageObjectsRequest.Builder clearCollection()
       The collection which stores the object.
       
      string collection = 2;
      Returns:
      This builder for chaining.
    • setCollectionBytes

      public ListStorageObjectsRequest.Builder setCollectionBytes(com.google.protobuf.ByteString value)
       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 interface ListStorageObjectsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public Int32Value getLimit()
       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
      Specified by:
      getLimit in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
    • setLimit

      public ListStorageObjectsRequest.Builder setLimit(Int32Value.Builder builderForValue)
       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
    • mergeLimit

      public ListStorageObjectsRequest.Builder mergeLimit(Int32Value value)
       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
    • clearLimit

      public ListStorageObjectsRequest.Builder clearLimit()
       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
    • getLimitBuilder

      public Int32Value.Builder getLimitBuilder()
       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
    • getLimitOrBuilder

      public Int32ValueOrBuilder getLimitOrBuilder()
       The number of storage objects to list. Between 1 and 100.
       
      .google.protobuf.Int32Value limit = 3;
      Specified by:
      getLimitOrBuilder in interface ListStorageObjectsRequestOrBuilder
    • getCursor

      public String getCursor()
       The cursor to page through results from.
       
      string cursor = 4;
      Specified by:
      getCursor in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The cursor.
    • getCursorBytes

      public com.google.protobuf.ByteString getCursorBytes()
       The cursor to page through results from.
       
      string cursor = 4;
      Specified by:
      getCursorBytes in interface ListStorageObjectsRequestOrBuilder
      Returns:
      The bytes for cursor.
    • setCursor

      public ListStorageObjectsRequest.Builder setCursor(String value)
       The cursor to page through results from.
       
      string cursor = 4;
      Parameters:
      value - The cursor to set.
      Returns:
      This builder for chaining.
    • clearCursor

      public ListStorageObjectsRequest.Builder clearCursor()
       The cursor to page through results from.
       
      string cursor = 4;
      Returns:
      This builder for chaining.
    • setCursorBytes

      public ListStorageObjectsRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
       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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>
    • mergeUnknownFields

      public final ListStorageObjectsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListStorageObjectsRequest.Builder>