Interface ListSnapshotsResponseOrBuilder (1.122.2)

public interface ListSnapshotsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSnapshots(int index)

public abstract Snapshot getSnapshots(int index)

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Snapshot

getSnapshotsCount()

public abstract int getSnapshotsCount()

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Returns
TypeDescription
int

getSnapshotsList()

public abstract List<Snapshot> getSnapshotsList()

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Returns
TypeDescription
List<Snapshot>

getSnapshotsOrBuilder(int index)

public abstract SnapshotOrBuilder getSnapshotsOrBuilder(int index)

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnapshotOrBuilder

getSnapshotsOrBuilderList()

public abstract List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()

The resulting snapshots.

repeated .google.pubsub.v1.Snapshot snapshots = 1;

Returns
TypeDescription
List<? extends com.google.pubsub.v1.SnapshotOrBuilder>