public static final class BigtableTableAdminGrpc.BigtableTableAdminFutureStub extends AbstractFutureStub<BigtableTableAdminGrpc.BigtableTableAdminFutureStub>
Service for creating, configuring, and deleting Cloud Bigtable tables.
Provides access to the table schemas only, not the data stored within
the tables.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
BigtableTableAdminGrpc.BigtableTableAdminFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected BigtableTableAdminGrpc.BigtableTableAdminFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
checkConsistency(CheckConsistencyRequest request)
public ListenableFuture<CheckConsistencyResponse> checkConsistency(CheckConsistencyRequest request)
Checks replication consistency based on a consistency token, that is, if
replication has caught up based on the conditions specified in the token
and the check request.
Parameter
Returns
createBackup(CreateBackupRequest request)
public ListenableFuture<Operation> createBackup(CreateBackupRequest request)
Starts creating a new Cloud Bigtable Backup. The returned backup
long-running operation can be used to
track creation of the backup. The
metadata field type is
CreateBackupMetadata. The
response field type is
Backup, if successful. Cancelling the returned operation will stop the
creation and delete the backup.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
createTable(CreateTableRequest request)
public ListenableFuture<Table> createTable(CreateTableRequest request)
Creates a new table in the specified instance.
The table can be created with a full set of initial column families,
specified in the request.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Table> | |
createTableFromSnapshot(CreateTableFromSnapshotRequest request)
public ListenableFuture<Operation> createTableFromSnapshot(CreateTableFromSnapshotRequest request)
Creates a new table from the specified snapshot. The target table must
not exist. The snapshot and the table must be in the same instance.
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.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
deleteBackup(DeleteBackupRequest request)
public ListenableFuture<Empty> deleteBackup(DeleteBackupRequest request)
Deletes a pending or completed Cloud Bigtable backup.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteSnapshot(DeleteSnapshotRequest request)
public ListenableFuture<Empty> deleteSnapshot(DeleteSnapshotRequest request)
Permanently deletes the specified snapshot.
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.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteTable(DeleteTableRequest request)
public ListenableFuture<Empty> deleteTable(DeleteTableRequest request)
Permanently deletes a specified table and all of its data.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
dropRowRange(DropRowRangeRequest request)
public ListenableFuture<Empty> dropRowRange(DropRowRangeRequest request)
Permanently drop/delete a row range from a specified table. The request can
specify whether to delete all rows in a table, or only those that match a
particular prefix.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
generateConsistencyToken(GenerateConsistencyTokenRequest request)
public ListenableFuture<GenerateConsistencyTokenResponse> generateConsistencyToken(GenerateConsistencyTokenRequest request)
Generates a consistency token for a Table, which can be used in
CheckConsistency to check whether mutations to the table that finished
before this call started have been replicated. The tokens will be available
for 90 days.
Parameter
Returns
getBackup(GetBackupRequest request)
public ListenableFuture<Backup> getBackup(GetBackupRequest request)
Gets metadata on a pending or completed Cloud Bigtable Backup.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Backup> | |
getIamPolicy(GetIamPolicyRequest request)
public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)
Gets the access control policy for a Table or Backup resource.
Returns an empty policy if the resource exists but does not have a policy
set.
Parameter
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> | |
getSnapshot(GetSnapshotRequest request)
public ListenableFuture<Snapshot> getSnapshot(GetSnapshotRequest request)
Gets metadata information about the specified snapshot.
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.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Snapshot> | |
getTable(GetTableRequest request)
public ListenableFuture<Table> getTable(GetTableRequest request)
Gets metadata information about the specified table.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Table> | |
listBackups(ListBackupsRequest request)
public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)
Lists Cloud Bigtable backups. Returns both completed and pending
backups.
Parameter
Returns
listSnapshots(ListSnapshotsRequest request)
public ListenableFuture<ListSnapshotsResponse> listSnapshots(ListSnapshotsRequest request)
Lists all snapshots associated with the specified cluster.
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.
Parameter
Returns
listTables(ListTablesRequest request)
public ListenableFuture<ListTablesResponse> listTables(ListTablesRequest request)
Lists all tables served from a specified instance.
Parameter
Returns
modifyColumnFamilies(ModifyColumnFamiliesRequest request)
public ListenableFuture<Table> modifyColumnFamilies(ModifyColumnFamiliesRequest request)
Performs a series of column family modifications on the specified table.
Either all or none of the modifications will occur before this method
returns, but data requests received prior to that point may see a table
where only some modifications have taken effect.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Table> | |
restoreTable(RestoreTableRequest request)
public ListenableFuture<Operation> restoreTable(RestoreTableRequest request)
Create a new table by restoring from a completed backup. The new table
must be in the same project as the instance containing the backup. The
returned table long-running operation can
be used to track the progress of the operation, and to cancel it. The
metadata field type is
RestoreTableMetadata. The
response type is
Table, if successful.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
setIamPolicy(SetIamPolicyRequest request)
public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)
Sets the access control policy on a Table or Backup resource.
Replaces any existing policy.
Parameter
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> | |
snapshotTable(SnapshotTableRequest request)
public ListenableFuture<Operation> snapshotTable(SnapshotTableRequest request)
Creates a new snapshot in the specified cluster from the specified
source table. The cluster and the table must be in the same instance.
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.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
testIamPermissions(TestIamPermissionsRequest request)
public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
Returns permissions that the caller has on the specified Table or Backup resource.
Parameter
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> | |
updateBackup(UpdateBackupRequest request)
public ListenableFuture<Backup> updateBackup(UpdateBackupRequest request)
Updates a pending or completed Cloud Bigtable Backup.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Backup> | |