Class ListTopicsResponse.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<ListTopicsResponse.Builder>
      • clear

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

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

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

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

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • setField

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • clearField

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • clearOneof

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • setRepeatedField

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • addRepeatedField

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • mergeFrom

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
      • isInitialized

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

        public ListTopicsResponse.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<ListTopicsResponse.Builder>
        Throws:
        IOException
      • getTopicsList

        public List<Topic> getTopicsList()
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
        Specified by:
        getTopicsList in interface ListTopicsResponseOrBuilder
      • getTopicsCount

        public int getTopicsCount()
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
        Specified by:
        getTopicsCount in interface ListTopicsResponseOrBuilder
      • getTopics

        public Topic getTopics​(int index)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
        Specified by:
        getTopics in interface ListTopicsResponseOrBuilder
      • setTopics

        public ListTopicsResponse.Builder setTopics​(int index,
                                                    Topic value)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • setTopics

        public ListTopicsResponse.Builder setTopics​(int index,
                                                    Topic.Builder builderForValue)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addTopics

        public ListTopicsResponse.Builder addTopics​(Topic value)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addTopics

        public ListTopicsResponse.Builder addTopics​(int index,
                                                    Topic value)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addTopics

        public ListTopicsResponse.Builder addTopics​(Topic.Builder builderForValue)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addTopics

        public ListTopicsResponse.Builder addTopics​(int index,
                                                    Topic.Builder builderForValue)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addAllTopics

        public ListTopicsResponse.Builder addAllTopics​(Iterable<? extends Topic> values)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • clearTopics

        public ListTopicsResponse.Builder clearTopics()
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • removeTopics

        public ListTopicsResponse.Builder removeTopics​(int index)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • getTopicsBuilder

        public Topic.Builder getTopicsBuilder​(int index)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addTopicsBuilder

        public Topic.Builder addTopicsBuilder()
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • addTopicsBuilder

        public Topic.Builder addTopicsBuilder​(int index)
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • getTopicsBuilderList

        public List<Topic.Builder> getTopicsBuilderList()
         The list of topic in the requested parent. The order of the topics is
         unspecified.
         
        repeated .google.cloud.pubsublite.v1.Topic topics = 1;
      • getNextPageToken

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

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

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

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

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

        public final ListTopicsResponse.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<ListTopicsResponse.Builder>
      • mergeUnknownFields

        public final ListTopicsResponse.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<ListTopicsResponse.Builder>