Interface ListTopicSnapshotsResponseOrBuilder (1.120.24)

public interface ListTopicSnapshotsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract 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
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract 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
TypeDescription
ByteString

The bytes for nextPageToken.

getSnapshots(int index)

public abstract String getSnapshots(int index)

The names of the snapshots that match the request.

repeated string snapshots = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The snapshots at the given index.

getSnapshotsBytes(int index)

public abstract ByteString getSnapshotsBytes(int index)

The names of the snapshots that match the request.

repeated string snapshots = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the snapshots at the given index.

getSnapshotsCount()

public abstract int getSnapshotsCount()

The names of the snapshots that match the request.

repeated string snapshots = 1;

Returns
TypeDescription
int

The count of snapshots.

getSnapshotsList()

public abstract List<String> getSnapshotsList()

The names of the snapshots that match the request.

repeated string snapshots = 1;

Returns
TypeDescription
List<String>

A list containing the snapshots.