Interface ListTopicSubscriptionsResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ListTopicSubscriptionsResponse, ListTopicSubscriptionsResponse.Builder

public interface ListTopicSubscriptionsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions.
    com.google.protobuf.ByteString
    If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions.
    getSubscriptions(int index)
    The names of subscriptions attached to the topic specified in the request.
    com.google.protobuf.ByteString
    The names of subscriptions attached to the topic specified in the request.
    int
    The names of subscriptions attached to the topic specified in the request.
    The names of subscriptions attached to the topic specified in the request.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSubscriptionsList

      List<String> getSubscriptionsList()
       The names of subscriptions attached to the topic specified in the request.
       
      repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      A list containing the subscriptions.
    • getSubscriptionsCount

      int getSubscriptionsCount()
       The names of subscriptions attached to the topic specified in the request.
       
      repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The count of subscriptions.
    • getSubscriptions

      String getSubscriptions(int index)
       The names of subscriptions attached to the topic specified in the request.
       
      repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The subscriptions at the given index.
    • getSubscriptionsBytes

      com.google.protobuf.ByteString getSubscriptionsBytes(int index)
       The names of subscriptions attached to the topic specified in the request.
       
      repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subscriptions at the given index.
    • getNextPageToken

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

      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
       `ListTopicSubscriptionsRequest` to get more subscriptions.
       
      string next_page_token = 2;
      Returns:
      The bytes for nextPageToken.