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

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

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

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

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

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

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

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

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

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

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

        public ListSubscribersResponse.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<ListSubscribersResponse.Builder>
        Throws:
        IOException
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
         Name of the topic registered with the reseller.
         
        string topic = 1;
        Specified by:
        getTopicBytes in interface ListSubscribersResponseOrBuilder
        Returns:
        The bytes for topic.
      • setTopic

        public ListSubscribersResponse.Builder setTopic​(String value)
         Name of the topic registered with the reseller.
         
        string topic = 1;
        Parameters:
        value - The topic to set.
        Returns:
        This builder for chaining.
      • clearTopic

        public ListSubscribersResponse.Builder clearTopic()
         Name of the topic registered with the reseller.
         
        string topic = 1;
        Returns:
        This builder for chaining.
      • setTopicBytes

        public ListSubscribersResponse.Builder setTopicBytes​(com.google.protobuf.ByteString value)
         Name of the topic registered with the reseller.
         
        string topic = 1;
        Parameters:
        value - The bytes for topic to set.
        Returns:
        This builder for chaining.
      • getServiceAccountsList

        public com.google.protobuf.ProtocolStringList getServiceAccountsList()
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Specified by:
        getServiceAccountsList in interface ListSubscribersResponseOrBuilder
        Returns:
        A list containing the serviceAccounts.
      • getServiceAccountsCount

        public int getServiceAccountsCount()
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Specified by:
        getServiceAccountsCount in interface ListSubscribersResponseOrBuilder
        Returns:
        The count of serviceAccounts.
      • getServiceAccounts

        public String getServiceAccounts​(int index)
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Specified by:
        getServiceAccounts in interface ListSubscribersResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The serviceAccounts at the given index.
      • getServiceAccountsBytes

        public com.google.protobuf.ByteString getServiceAccountsBytes​(int index)
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Specified by:
        getServiceAccountsBytes in interface ListSubscribersResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the serviceAccounts at the given index.
      • setServiceAccounts

        public ListSubscribersResponse.Builder setServiceAccounts​(int index,
                                                                  String value)
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Parameters:
        index - The index to set the value at.
        value - The serviceAccounts to set.
        Returns:
        This builder for chaining.
      • addServiceAccounts

        public ListSubscribersResponse.Builder addServiceAccounts​(String value)
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Parameters:
        value - The serviceAccounts to add.
        Returns:
        This builder for chaining.
      • addAllServiceAccounts

        public ListSubscribersResponse.Builder addAllServiceAccounts​(Iterable<String> values)
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Parameters:
        values - The serviceAccounts to add.
        Returns:
        This builder for chaining.
      • clearServiceAccounts

        public ListSubscribersResponse.Builder clearServiceAccounts()
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Returns:
        This builder for chaining.
      • addServiceAccountsBytes

        public ListSubscribersResponse.Builder addServiceAccountsBytes​(com.google.protobuf.ByteString value)
         List of service accounts which have subscriber access to the topic.
         
        repeated string service_accounts = 2;
        Parameters:
        value - The bytes of the serviceAccounts to add.
        Returns:
        This builder for chaining.
      • getNextPageToken

        public String getNextPageToken()
         A token that 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 = 3;
        Specified by:
        getNextPageToken in interface ListSubscribersResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token that 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 = 3;
        Specified by:
        getNextPageTokenBytes in interface ListSubscribersResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListSubscribersResponse.Builder setNextPageToken​(String value)
         A token that 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 = 3;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListSubscribersResponse.Builder clearNextPageToken()
         A token that 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 = 3;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListSubscribersResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token that 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 = 3;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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