Class GrpcDatabaseAdminStub (6.74.0)

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.

Inheritance

java.lang.Object > DatabaseAdminStub > GrpcDatabaseAdminStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDatabaseAdminStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDatabaseAdminStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDatabaseAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDatabaseAdminStub
Exceptions
Type Description
IOException

create(DatabaseAdminStubSettings settings)

public static final GrpcDatabaseAdminStub create(DatabaseAdminStubSettings settings)
Parameter
Name Description
settings DatabaseAdminStubSettings
Returns
Type Description
GrpcDatabaseAdminStub
Exceptions
Type Description
IOException

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
Name Description
settings DatabaseAdminStubSettings
clientContext ClientContext

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
Name Description
settings DatabaseAdminStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

copyBackupCallable()

public UnaryCallable<CopyBackupRequest,Operation> copyBackupCallable()
Returns
Type Description
UnaryCallable<CopyBackupRequest,Operation>
Overrides

copyBackupOperationCallable()

public OperationCallable<CopyBackupRequest,Backup,CopyBackupMetadata> copyBackupOperationCallable()
Returns
Type Description
OperationCallable<CopyBackupRequest,Backup,CopyBackupMetadata>
Overrides

createBackupCallable()

public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns
Type Description
UnaryCallable<CreateBackupRequest,Operation>
Overrides

createBackupOperationCallable()

public OperationCallable<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationCallable()
Returns
Type Description
OperationCallable<CreateBackupRequest,Backup,CreateBackupMetadata>
Overrides

createBackupScheduleCallable()

public UnaryCallable<CreateBackupScheduleRequest,BackupSchedule> createBackupScheduleCallable()
Returns
Type Description
UnaryCallable<CreateBackupScheduleRequest,BackupSchedule>
Overrides

createDatabaseCallable()

public UnaryCallable<CreateDatabaseRequest,Operation> createDatabaseCallable()
Returns
Type Description
UnaryCallable<CreateDatabaseRequest,Operation>
Overrides

createDatabaseOperationCallable()

public OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
Returns
Type Description
OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata>
Overrides

deleteBackupCallable()

public UnaryCallable<DeleteBackupRequest,Empty> deleteBackupCallable()
Returns
Type Description
UnaryCallable<DeleteBackupRequest,Empty>
Overrides

deleteBackupScheduleCallable()

public UnaryCallable<DeleteBackupScheduleRequest,Empty> deleteBackupScheduleCallable()
Returns
Type Description
UnaryCallable<DeleteBackupScheduleRequest,Empty>
Overrides

dropDatabaseCallable()

public UnaryCallable<DropDatabaseRequest,Empty> dropDatabaseCallable()
Returns
Type Description
UnaryCallable<DropDatabaseRequest,Empty>
Overrides

getBackupCallable()

public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns
Type Description
UnaryCallable<GetBackupRequest,Backup>
Overrides

getBackupScheduleCallable()

public UnaryCallable<GetBackupScheduleRequest,BackupSchedule> getBackupScheduleCallable()
Returns
Type Description
UnaryCallable<GetBackupScheduleRequest,BackupSchedule>
Overrides

getDatabaseCallable()

public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Returns
Type Description
UnaryCallable<GetDatabaseRequest,Database>
Overrides

getDatabaseDdlCallable()

public UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlCallable()
Returns
Type Description
UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse>
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
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBackupOperationsCallable()

public UnaryCallable<ListBackupOperationsRequest,ListBackupOperationsResponse> listBackupOperationsCallable()
Returns
Type Description
UnaryCallable<ListBackupOperationsRequest,ListBackupOperationsResponse>
Overrides

listBackupOperationsPagedCallable()

public UnaryCallable<ListBackupOperationsRequest,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupOperationsRequest,ListBackupOperationsPagedResponse>
Overrides

listBackupSchedulesCallable()

public UnaryCallable<ListBackupSchedulesRequest,ListBackupSchedulesResponse> listBackupSchedulesCallable()
Returns
Type Description
UnaryCallable<ListBackupSchedulesRequest,ListBackupSchedulesResponse>
Overrides

listBackupSchedulesPagedCallable()

public UnaryCallable<ListBackupSchedulesRequest,DatabaseAdminClient.ListBackupSchedulesPagedResponse> listBackupSchedulesPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupSchedulesRequest,ListBackupSchedulesPagedResponse>
Overrides

listBackupsCallable()

public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns
Type Description
UnaryCallable<ListBackupsRequest,ListBackupsResponse>
Overrides

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse>
Overrides

listDatabaseOperationsCallable()

public UnaryCallable<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> listDatabaseOperationsCallable()
Returns
Type Description
UnaryCallable<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse>
Overrides

listDatabaseOperationsPagedCallable()

public UnaryCallable<ListDatabaseOperationsRequest,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsPagedCallable()
Returns
Type Description
UnaryCallable<ListDatabaseOperationsRequest,ListDatabaseOperationsPagedResponse>
Overrides

listDatabaseRolesCallable()

public UnaryCallable<ListDatabaseRolesRequest,ListDatabaseRolesResponse> listDatabaseRolesCallable()
Returns
Type Description
UnaryCallable<ListDatabaseRolesRequest,ListDatabaseRolesResponse>
Overrides

listDatabaseRolesPagedCallable()

public UnaryCallable<ListDatabaseRolesRequest,DatabaseAdminClient.ListDatabaseRolesPagedResponse> listDatabaseRolesPagedCallable()
Returns
Type Description
UnaryCallable<ListDatabaseRolesRequest,ListDatabaseRolesPagedResponse>
Overrides

listDatabasesCallable()

public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Returns
Type Description
UnaryCallable<ListDatabasesRequest,ListDatabasesResponse>
Overrides

listDatabasesPagedCallable()

public UnaryCallable<ListDatabasesRequest,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
Returns
Type Description
UnaryCallable<ListDatabasesRequest,ListDatabasesPagedResponse>
Overrides

restoreDatabaseCallable()

public UnaryCallable<RestoreDatabaseRequest,Operation> restoreDatabaseCallable()
Returns
Type Description
UnaryCallable<RestoreDatabaseRequest,Operation>
Overrides

restoreDatabaseOperationCallable()

public OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationCallable()
Returns
Type Description
OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void 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
Type Description
UnaryCallable<UpdateBackupRequest,Backup>
Overrides

updateBackupScheduleCallable()

public UnaryCallable<UpdateBackupScheduleRequest,BackupSchedule> updateBackupScheduleCallable()
Returns
Type Description
UnaryCallable<UpdateBackupScheduleRequest,BackupSchedule>
Overrides

updateDatabaseCallable()

public UnaryCallable<UpdateDatabaseRequest,Operation> updateDatabaseCallable()
Returns
Type Description
UnaryCallable<UpdateDatabaseRequest,Operation>
Overrides

updateDatabaseDdlCallable()

public UnaryCallable<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlCallable()
Returns
Type Description
UnaryCallable<UpdateDatabaseDdlRequest,Operation>
Overrides

updateDatabaseDdlOperationCallable()

public OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationCallable()
Returns
Type Description
OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata>
Overrides

updateDatabaseOperationCallable()

public OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> updateDatabaseOperationCallable()
Returns
Type Description
OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata>
Overrides