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 TypeMethodDescriptionA token that can be sent as `page_token` to retrieve the next page of results.com.google.protobuf.ByteStringA token that can be sent as `page_token` to retrieve the next page of results.getSubscriptions(int index) The names of subscriptions attached to the topic.com.google.protobuf.ByteStringgetSubscriptionsBytes(int index) The names of subscriptions attached to the topic.intThe names of subscriptions attached to the topic.The names of subscriptions attached to the topic.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSubscriptionsList
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;- Returns:
- A list containing the subscriptions.
-
getSubscriptionsCount
int getSubscriptionsCount()The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;- Returns:
- The count of subscriptions.
-
getSubscriptions
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;- 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. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subscriptions at the given index.
-
getNextPageToken
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;- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
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;- Returns:
- The bytes for nextPageToken.
-