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
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getSubscriptions(int index) Optional.com.google.protobuf.ByteStringgetSubscriptionsBytes(int index) Optional.intOptional.Optional.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
Optional. The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the subscriptions.
-
getSubscriptionsCount
int getSubscriptionsCount()Optional. The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The count of subscriptions.
-
getSubscriptions
Optional. The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL, (.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) Optional. The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL, (.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()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for nextPageToken.
-