Package com.google.pubsub.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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
getSubscriptions(int index)
The names of subscriptions attached to the topic specified in the request.com.google.protobuf.ByteString
getSubscriptionsBytes(int index)
The names of subscriptions attached to the topic specified in the request.int
getSubscriptionsCount()
The names of subscriptions attached to the topic specified in the request.List<String>
getSubscriptionsList()
The names of subscriptions attached to the topic specified in the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-