Class ListSnapshotsResponse (2.11.2)

public final class ListSnapshotsResponse extends GeneratedMessageV3 implements ListSnapshotsResponseOrBuilder

Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Protobuf type google.bigtable.admin.v2.ListSnapshotsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOTS_FIELD_NUMBER

public static final int SNAPSHOTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSnapshotsResponse getDefaultInstance()
Returns
TypeDescription
ListSnapshotsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSnapshotsResponse.Builder newBuilder()
Returns
TypeDescription
ListSnapshotsResponse.Builder

newBuilder(ListSnapshotsResponse prototype)

public static ListSnapshotsResponse.Builder newBuilder(ListSnapshotsResponse prototype)
Parameter
NameDescription
prototypeListSnapshotsResponse
Returns
TypeDescription
ListSnapshotsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSnapshotsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSnapshotsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSnapshotsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSnapshotsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSnapshotsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSnapshotsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSnapshotsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSnapshotsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSnapshotsResponse> parser()
Returns
TypeDescription
Parser<ListSnapshotsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSnapshotsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSnapshotsResponse

getNextPageToken()

public String getNextPageToken()

Set if not all snapshots could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Set if not all snapshots could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSnapshotsResponse> getParserForType()
Returns
TypeDescription
Parser<ListSnapshotsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshots(int index)

public Snapshot getSnapshots(int index)

The snapshots present in the requested cluster.

repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Snapshot

getSnapshotsCount()

public int getSnapshotsCount()

The snapshots present in the requested cluster.

repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;

Returns
TypeDescription
int

getSnapshotsList()

public List<Snapshot> getSnapshotsList()

The snapshots present in the requested cluster.

repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;

Returns
TypeDescription
List<Snapshot>

getSnapshotsOrBuilder(int index)

public SnapshotOrBuilder getSnapshotsOrBuilder(int index)

The snapshots present in the requested cluster.

repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnapshotOrBuilder

getSnapshotsOrBuilderList()

public List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()

The snapshots present in the requested cluster.

repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;

Returns
TypeDescription
List<? extends com.google.bigtable.admin.v2.SnapshotOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSnapshotsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSnapshotsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSnapshotsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSnapshotsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSnapshotsResponse.Builder toBuilder()
Returns
TypeDescription
ListSnapshotsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException