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
      • getSubscriptionsCount

        public int getSubscriptionsCount()
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
        Specified by:
        getSubscriptionsCount in interface ListSubscriptionsResponseOrBuilder
      • getSubscriptions

        public Subscription getSubscriptions​(int index)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
        Specified by:
        getSubscriptions in interface ListSubscriptionsResponseOrBuilder
      • setSubscriptions

        public ListSubscriptionsResponse.Builder setSubscriptions​(int index,
                                                                  Subscription value)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • setSubscriptions

        public ListSubscriptionsResponse.Builder setSubscriptions​(int index,
                                                                  Subscription.Builder builderForValue)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addSubscriptions

        public ListSubscriptionsResponse.Builder addSubscriptions​(Subscription value)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addSubscriptions

        public ListSubscriptionsResponse.Builder addSubscriptions​(int index,
                                                                  Subscription value)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addSubscriptions

        public ListSubscriptionsResponse.Builder addSubscriptions​(Subscription.Builder builderForValue)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addSubscriptions

        public ListSubscriptionsResponse.Builder addSubscriptions​(int index,
                                                                  Subscription.Builder builderForValue)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addAllSubscriptions

        public ListSubscriptionsResponse.Builder addAllSubscriptions​(Iterable<? extends Subscription> values)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • clearSubscriptions

        public ListSubscriptionsResponse.Builder clearSubscriptions()
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • removeSubscriptions

        public ListSubscriptionsResponse.Builder removeSubscriptions​(int index)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • getSubscriptionsBuilder

        public Subscription.Builder getSubscriptionsBuilder​(int index)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addSubscriptionsBuilder

        public Subscription.Builder addSubscriptionsBuilder()
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • addSubscriptionsBuilder

        public Subscription.Builder addSubscriptionsBuilder​(int index)
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;
      • getSubscriptionsBuilderList

        public List<Subscription.Builder> getSubscriptionsBuilderList()
         The list of subscriptions in the requested parent. The order of the
         subscriptions is unspecified.
         
        repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 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 ListSubscriptionsResponseOrBuilder
        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 ListSubscriptionsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

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