Class ListPartitionCursorsResponse.Builder

    • Method Detail

      • 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<ListPartitionCursorsResponse.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<ListPartitionCursorsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
      • mergeFrom

        public ListPartitionCursorsResponse.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<ListPartitionCursorsResponse.Builder>
        Throws:
        IOException
      • clearPartitionCursors

        public ListPartitionCursorsResponse.Builder clearPartitionCursors()
         The partition cursors from this request.
         
        repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
      • removePartitionCursors

        public ListPartitionCursorsResponse.Builder removePartitionCursors​(int index)
         The partition cursors from this request.
         
        repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
      • getPartitionCursorsBuilder

        public PartitionCursor.Builder getPartitionCursorsBuilder​(int index)
         The partition cursors from this request.
         
        repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
      • addPartitionCursorsBuilder

        public PartitionCursor.Builder addPartitionCursorsBuilder()
         The partition cursors from this request.
         
        repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
      • addPartitionCursorsBuilder

        public PartitionCursor.Builder addPartitionCursorsBuilder​(int index)
         The partition cursors from this request.
         
        repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
      • getPartitionCursorsBuilderList

        public List<PartitionCursor.Builder> getPartitionCursorsBuilderList()
         The partition cursors from this request.
         
        repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListPartitionCursorsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListPartitionCursorsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListPartitionCursorsResponse.Builder setNextPageToken​(String value)
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListPartitionCursorsResponse.Builder clearNextPageToken()
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListPartitionCursorsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token, which can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.