Class BigtableTableAdminGrpc.BigtableTableAdminStub (2.17.1)

public static final class BigtableTableAdminGrpc.BigtableTableAdminStub extends AbstractAsyncStub<BigtableTableAdminGrpc.BigtableTableAdminStub>

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.AbstractAsyncStub > BigtableTableAdminGrpc.BigtableTableAdminStub

Methods

build(Channel channel, CallOptions callOptions)

protected BigtableTableAdminGrpc.BigtableTableAdminStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
BigtableTableAdminGrpc.BigtableTableAdminStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

checkConsistency(CheckConsistencyRequest request, StreamObserver<CheckConsistencyResponse> responseObserver)

public void checkConsistency(CheckConsistencyRequest request, StreamObserver<CheckConsistencyResponse> responseObserver)

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.

Parameters
NameDescription
requestCheckConsistencyRequest
responseObserverio.grpc.stub.StreamObserver<CheckConsistencyResponse>

createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateBackupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)

public void createTable(CreateTableRequest request, StreamObserver<Table> responseObserver)

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.

Parameters
NameDescription
requestCreateTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

createTableFromSnapshot(CreateTableFromSnapshotRequest request, StreamObserver<Operation> responseObserver)

public void createTableFromSnapshot(CreateTableFromSnapshotRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateTableFromSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteBackup(DeleteBackupRequest request, StreamObserver<Empty> responseObserver)

public void deleteBackup(DeleteBackupRequest request, StreamObserver<Empty> responseObserver)

Deletes a pending or completed Cloud Bigtable backup.

Parameters
NameDescription
requestDeleteBackupRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Empty> responseObserver)

public void deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
NameDescription
requestDeleteSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteTable(DeleteTableRequest request, StreamObserver<Empty> responseObserver)

public void deleteTable(DeleteTableRequest request, StreamObserver<Empty> responseObserver)

Permanently deletes a specified table and all of its data.

Parameters
NameDescription
requestDeleteTableRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

dropRowRange(DropRowRangeRequest request, StreamObserver<Empty> responseObserver)

public void dropRowRange(DropRowRangeRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
NameDescription
requestDropRowRangeRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

generateConsistencyToken(GenerateConsistencyTokenRequest request, StreamObserver<GenerateConsistencyTokenResponse> responseObserver)

public void generateConsistencyToken(GenerateConsistencyTokenRequest request, StreamObserver<GenerateConsistencyTokenResponse> responseObserver)

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.

Parameters
NameDescription
requestGenerateConsistencyTokenRequest
responseObserverio.grpc.stub.StreamObserver<GenerateConsistencyTokenResponse>

getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

Gets metadata on a pending or completed Cloud Bigtable Backup.

Parameters
NameDescription
requestGetBackupRequest
responseObserverio.grpc.stub.StreamObserver<Backup>

getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

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.

Parameters
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)

public void getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)

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.

Parameters
NameDescription
requestGetSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<Snapshot>

getTable(GetTableRequest request, StreamObserver<Table> responseObserver)

public void getTable(GetTableRequest request, StreamObserver<Table> responseObserver)

Gets metadata information about the specified table.

Parameters
NameDescription
requestGetTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

Lists Cloud Bigtable backups. Returns both completed and pending backups.

Parameters
NameDescription
requestListBackupsRequest
responseObserverio.grpc.stub.StreamObserver<ListBackupsResponse>

listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)

public void listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)

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.

Parameters
NameDescription
requestListSnapshotsRequest
responseObserverio.grpc.stub.StreamObserver<ListSnapshotsResponse>

listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

public void listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

Lists all tables served from a specified instance.

Parameters
NameDescription
requestListTablesRequest
responseObserverio.grpc.stub.StreamObserver<ListTablesResponse>

modifyColumnFamilies(ModifyColumnFamiliesRequest request, StreamObserver<Table> responseObserver)

public void modifyColumnFamilies(ModifyColumnFamiliesRequest request, StreamObserver<Table> responseObserver)

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.

Parameters
NameDescription
requestModifyColumnFamiliesRequest
responseObserverio.grpc.stub.StreamObserver<Table>

restoreTable(RestoreTableRequest request, StreamObserver<Operation> responseObserver)

public void restoreTable(RestoreTableRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestRestoreTableRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

Sets the access control policy on a Table or Backup resource. Replaces any existing policy.

Parameters
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

snapshotTable(SnapshotTableRequest request, StreamObserver<Operation> responseObserver)

public void snapshotTable(SnapshotTableRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestSnapshotTableRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

Returns permissions that the caller has on the specified Table or Backup resource.

Parameters
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>

undeleteTable(UndeleteTableRequest request, StreamObserver<Operation> responseObserver)

public void undeleteTable(UndeleteTableRequest request, StreamObserver<Operation> responseObserver)

Restores a specified table which was accidentally deleted.

Parameters
NameDescription
requestUndeleteTableRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateBackup(UpdateBackupRequest request, StreamObserver<Backup> responseObserver)

public void updateBackup(UpdateBackupRequest request, StreamObserver<Backup> responseObserver)

Updates a pending or completed Cloud Bigtable Backup.

Parameters
NameDescription
requestUpdateBackupRequest
responseObserverio.grpc.stub.StreamObserver<Backup>

updateTable(UpdateTableRequest request, StreamObserver<Operation> responseObserver)

public void updateTable(UpdateTableRequest request, StreamObserver<Operation> responseObserver)

Updates a specified table.

Parameters
NameDescription
requestUpdateTableRequest
responseObserverio.grpc.stub.StreamObserver<Operation>