Package com.google.bigtable.admin.v2
Class BigtableTableAdminGrpc.BigtableTableAdminBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BigtableTableAdminGrpc.BigtableTableAdminBlockingStub>
com.google.bigtable.admin.v2.BigtableTableAdminGrpc.BigtableTableAdminBlockingStub
- Enclosing class:
- BigtableTableAdminGrpc
public static final class BigtableTableAdminGrpc.BigtableTableAdminBlockingStub
extends io.grpc.stub.AbstractBlockingStub<BigtableTableAdminGrpc.BigtableTableAdminBlockingStub>
A stub to allow clients to do synchronous rpc calls to service BigtableTableAdmin.
Service for creating, configuring, and deleting Cloud Bigtable tables. Provides access to the table schemas only, not the data stored within the tables.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) 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.com.google.longrunning.OperationcreateBackup(CreateBackupRequest request) Starts creating a new Cloud Bigtable Backup.createTable(CreateTableRequest request) Creates a new table in the specified instance.com.google.longrunning.OperationCreates a new table from the specified snapshot.com.google.protobuf.EmptydeleteBackup(DeleteBackupRequest request) Deletes a pending or completed Cloud Bigtable backup.com.google.protobuf.EmptydeleteSnapshot(DeleteSnapshotRequest request) Permanently deletes the specified snapshot.com.google.protobuf.EmptydeleteTable(DeleteTableRequest request) Permanently deletes a specified table and all of its data.com.google.protobuf.EmptydropRowRange(DropRowRangeRequest request) Permanently drop/delete a row range from a specified table.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.getBackup(GetBackupRequest request) Gets metadata on a pending or completed Cloud Bigtable Backup.com.google.iam.v1.PolicygetIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) Gets the access control policy for a Table or Backup resource.getSnapshot(GetSnapshotRequest request) Gets metadata information about the specified snapshot.getTable(GetTableRequest request) Gets metadata information about the specified table.listBackups(ListBackupsRequest request) Lists Cloud Bigtable backups.listSnapshots(ListSnapshotsRequest request) Lists all snapshots associated with the specified cluster.listTables(ListTablesRequest request) Lists all tables served from a specified instance.Performs a series of column family modifications on the specified table.com.google.longrunning.OperationrestoreTable(RestoreTableRequest request) Create a new table by restoring from a completed backup.com.google.iam.v1.PolicysetIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) Sets the access control policy on a Table or Backup resource.com.google.longrunning.OperationsnapshotTable(SnapshotTableRequest request) Creates a new snapshot in the specified cluster from the specified source table.com.google.iam.v1.TestIamPermissionsResponsetestIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) Returns permissions that the caller has on the specified Table or Backup resource.com.google.longrunning.OperationundeleteTable(UndeleteTableRequest request) Restores a specified table which was accidentally deleted.updateBackup(UpdateBackupRequest request) Updates a pending or completed Cloud Bigtable Backup.com.google.longrunning.OperationupdateTable(UpdateTableRequest request) Updates a specified table.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected BigtableTableAdminGrpc.BigtableTableAdminBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BigtableTableAdminGrpc.BigtableTableAdminBlockingStub>
-
createTable
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.
-
createTableFromSnapshot
public com.google.longrunning.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.
-
listTables
Lists all tables served from a specified instance.
-
getTable
Gets metadata information about the specified table.
-
updateTable
Updates a specified table.
-
deleteTable
Permanently deletes a specified table and all of its data.
-
undeleteTable
Restores a specified table which was accidentally deleted.
-
modifyColumnFamilies
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.
-
dropRowRange
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.
-
generateConsistencyToken
public 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.
-
checkConsistency
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.
-
snapshotTable
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.
-
getSnapshot
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.
-
listSnapshots
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.
-
deleteSnapshot
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.
-
createBackup
Starts creating a new Cloud Bigtable Backup. The returned backup [long-running operation][google.longrunning.Operation] can be used to track creation of the backup. The [metadata][google.longrunning.Operation.metadata] field type is [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The [response][google.longrunning.Operation.response] field type is [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the creation and delete the backup.
-
getBackup
Gets metadata on a pending or completed Cloud Bigtable Backup.
-
updateBackup
Updates a pending or completed Cloud Bigtable Backup.
-
deleteBackup
Deletes a pending or completed Cloud Bigtable backup.
-
listBackups
Lists Cloud Bigtable backups. Returns both completed and pending backups.
-
restoreTable
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][google.longrunning.Operation] can be used to track the progress of the operation, and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The [response][google.longrunning.Operation.response] type is [Table][google.bigtable.admin.v2.Table], if successful.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.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.
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) Sets the access control policy on a Table or Backup resource. Replaces any existing policy.
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) Returns permissions that the caller has on the specified Table or Backup resource.
-