public class GrpcDatabaseAdminStub extends DatabaseAdminStub
gRPC stub implementation for the DatabaseAdmin service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcDatabaseAdminStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatabaseAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DatabaseAdminStubSettings settings)
public static final GrpcDatabaseAdminStub create(DatabaseAdminStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, ClientContext clientContext)
protected GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDatabaseAdminStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDatabaseAdminStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
copyBackupCallable()
public UnaryCallable<CopyBackupRequest,Operation> copyBackupCallable()
Returns
Overrides
copyBackupOperationCallable()
public OperationCallable<CopyBackupRequest,Backup,CopyBackupMetadata> copyBackupOperationCallable()
Returns
Overrides
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns
Overrides
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationCallable()
Returns
Overrides
createDatabaseCallable()
public UnaryCallable<CreateDatabaseRequest,Operation> createDatabaseCallable()
Returns
Overrides
createDatabaseOperationCallable()
public OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
Returns
Overrides
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Empty> deleteBackupCallable()
Returns
Overrides
dropDatabaseCallable()
public UnaryCallable<DropDatabaseRequest,Empty> dropDatabaseCallable()
Returns
Overrides
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns
Overrides
getDatabaseCallable()
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Returns
Overrides
getDatabaseDdlCallable()
public UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listBackupOperationsCallable()
public UnaryCallable<ListBackupOperationsRequest,ListBackupOperationsResponse> listBackupOperationsCallable()
Returns
Overrides
listBackupOperationsPagedCallable()
public UnaryCallable<ListBackupOperationsRequest,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsPagedCallable()
Returns
Overrides
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns
Overrides
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns
Overrides
listDatabaseOperationsCallable()
public UnaryCallable<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> listDatabaseOperationsCallable()
Returns
Overrides
listDatabaseOperationsPagedCallable()
public UnaryCallable<ListDatabaseOperationsRequest,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsPagedCallable()
Returns
Overrides
listDatabasesCallable()
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Returns
Overrides
listDatabasesPagedCallable()
public UnaryCallable<ListDatabasesRequest,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
Returns
Overrides
restoreDatabaseCallable()
public UnaryCallable<RestoreDatabaseRequest,Operation> restoreDatabaseCallable()
Returns
Overrides
restoreDatabaseOperationCallable()
public OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Backup> updateBackupCallable()
Returns
Overrides
updateDatabaseDdlCallable()
public UnaryCallable<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlCallable()
Returns
Overrides
updateDatabaseDdlOperationCallable()
public OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationCallable()
Returns
Overrides