public static final class ListSnapshotsResponse.Builder extends GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder> 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
Methods
addAllSnapshots(Iterable<? extends Snapshot> values)
public ListSnapshotsResponse.Builder addAllSnapshots(Iterable<? extends Snapshot> values)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.bigtable.admin.v2.Snapshot>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSnapshotsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSnapshots(Snapshot value)
public ListSnapshotsResponse.Builder addSnapshots(Snapshot value)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
addSnapshots(Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder addSnapshots(Snapshot.Builder builderForValue)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
addSnapshots(int index, Snapshot value)
public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot value)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameters
Returns
addSnapshots(int index, Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot.Builder builderForValue)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameters
Returns
addSnapshotsBuilder()
public Snapshot.Builder addSnapshotsBuilder()
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Returns
addSnapshotsBuilder(int index)
public Snapshot.Builder addSnapshotsBuilder(int index)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
build()
public ListSnapshotsResponse build()
Returns
buildPartial()
public ListSnapshotsResponse buildPartial()
Returns
clear()
public ListSnapshotsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSnapshotsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSnapshotsResponse.Builder clearNextPageToken()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSnapshotsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSnapshots()
public ListSnapshotsResponse.Builder clearSnapshots()
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Returns
clone()
public ListSnapshotsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSnapshotsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSnapshots(int index)
public Snapshot getSnapshots(int index)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
getSnapshotsBuilder(int index)
public Snapshot.Builder getSnapshotsBuilder(int index)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
getSnapshotsBuilderList()
public List<Snapshot.Builder> getSnapshotsBuilderList()
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Returns
getSnapshotsCount()
public int getSnapshotsCount()
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Returns
getSnapshotsList()
public List<Snapshot> getSnapshotsList()
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Returns
getSnapshotsOrBuilder(int index)
public SnapshotOrBuilder getSnapshotsOrBuilder(int index)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
getSnapshotsOrBuilderList()
public List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Returns
Type | Description |
List<? extends com.google.bigtable.admin.v2.SnapshotOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSnapshotsResponse other)
public ListSnapshotsResponse.Builder mergeFrom(ListSnapshotsResponse other)
Parameter
Returns
public ListSnapshotsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSnapshotsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSnapshotsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSnapshots(int index)
public ListSnapshotsResponse.Builder removeSnapshots(int index)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSnapshotsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListSnapshotsResponse.Builder setNextPageToken(String value)
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;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListSnapshotsResponse.Builder setNextPageTokenBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSnapshotsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSnapshots(int index, Snapshot value)
public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot value)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameters
Returns
setSnapshots(int index, Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot.Builder builderForValue)
The snapshots present in the requested cluster.
repeated .google.bigtable.admin.v2.Snapshot snapshots = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSnapshotsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides