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

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

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

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

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

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

        public ListSubscriptionsResponse.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<ListSubscriptionsResponse.Builder>
        Throws:
        IOException
      • clearSubscriptions

        public ListSubscriptionsResponse.Builder clearSubscriptions()
         The subscriptions that match the request.
         
        repeated .google.pubsub.v1.Subscription subscriptions = 1;
      • removeSubscriptions

        public ListSubscriptionsResponse.Builder removeSubscriptions​(int index)
         The subscriptions that match the request.
         
        repeated .google.pubsub.v1.Subscription subscriptions = 1;
      • getSubscriptionsBuilder

        public Subscription.Builder getSubscriptionsBuilder​(int index)
         The subscriptions that match the request.
         
        repeated .google.pubsub.v1.Subscription subscriptions = 1;
      • addSubscriptionsBuilder

        public Subscription.Builder addSubscriptionsBuilder()
         The subscriptions that match the request.
         
        repeated .google.pubsub.v1.Subscription subscriptions = 1;
      • addSubscriptionsBuilder

        public Subscription.Builder addSubscriptionsBuilder​(int index)
         The subscriptions that match the request.
         
        repeated .google.pubsub.v1.Subscription subscriptions = 1;
      • getSubscriptionsBuilderList

        public List<Subscription.Builder> getSubscriptionsBuilderList()
         The subscriptions that match the request.
         
        repeated .google.pubsub.v1.Subscription subscriptions = 1;
      • getNextPageToken

        public String getNextPageToken()
         If not empty, indicates that there may be more subscriptions that match
         the request; this value should be passed in a new
         `ListSubscriptionsRequest` to get more subscriptions.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListSubscriptionsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         If not empty, indicates that there may be more subscriptions that match
         the request; this value should be passed in a new
         `ListSubscriptionsRequest` to get more subscriptions.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListSubscriptionsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListSubscriptionsResponse.Builder setNextPageToken​(String value)
         If not empty, indicates that there may be more subscriptions that match
         the request; this value should be passed in a new
         `ListSubscriptionsRequest` to get more subscriptions.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListSubscriptionsResponse.Builder clearNextPageToken()
         If not empty, indicates that there may be more subscriptions that match
         the request; this value should be passed in a new
         `ListSubscriptionsRequest` to get more subscriptions.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListSubscriptionsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         If not empty, indicates that there may be more subscriptions that match
         the request; this value should be passed in a new
         `ListSubscriptionsRequest` to get more subscriptions.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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