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 TypeMethodDescriptionIf 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.com.google.protobuf.ByteString
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.getSnapshots
(int index) The names of the snapshots that match the request.com.google.protobuf.ByteString
getSnapshotsBytes
(int index) The names of the snapshots that match the request.int
The names of the snapshots that match the request.The names of the snapshots that match 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
-
getSnapshotsList
The names of the snapshots that match the request.
repeated string snapshots = 1;
- Returns:
- A list containing the snapshots.
-
getSnapshotsCount
int getSnapshotsCount()The names of the snapshots that match the request.
repeated string snapshots = 1;
- Returns:
- The count of snapshots.
-
getSnapshots
The names of the snapshots that match the request.
repeated string snapshots = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The snapshots at the given index.
-
getSnapshotsBytes
com.google.protobuf.ByteString getSnapshotsBytes(int index) The names of the snapshots that match the request.
repeated string snapshots = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the snapshots at the given index.
-
getNextPageToken
String getNextPageToken()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;
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()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;
- Returns:
- The bytes for nextPageToken.
-