Interface ListTopicSnapshotsResponseOrBuilder (1.127.3)

public interface ListTopicSnapshotsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

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

The nextPageToken.

getNextPageTokenBytes()

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

The bytes for nextPageToken.

getSnapshots(int index)

public abstract String getSnapshots(int index)

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of snapshots.

getSnapshotsList()

public abstract List<String> getSnapshotsList()

Optional. The names of the snapshots that match the request.

repeated string snapshots = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the snapshots.