Package com.google.pubsub.v1
Interface ListTopicSnapshotsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListTopicSnapshotsResponse,ListTopicSnapshotsResponse.Builder
public interface ListTopicSnapshotsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getSnapshots(int index) Optional.com.google.protobuf.ByteStringgetSnapshotsBytes(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
-
getSnapshotsList
Optional. The names of the snapshots that match the request.
repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the snapshots.
-
getSnapshotsCount
int getSnapshotsCount()Optional. The names of the snapshots that match the request.
repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of snapshots.
-
getSnapshots
Optional. The names of the snapshots that match the request.
repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The snapshots at the given index.
-
getSnapshotsBytes
com.google.protobuf.ByteString getSnapshotsBytes(int index) Optional. The names of the snapshots that match the request.
repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the snapshots at the given index.
-
getNextPageToken
String getNextPageToken()Optional. If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
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 snapshots that match the request; this value should be passed in a new `ListTopicSnapshotsRequest` to get more snapshots.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for nextPageToken.
-