@Generated(value="by gapic-generator-java") public class GrpcDatabaseAdminStub extends DatabaseAdminStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcDatabaseAdminStub, using the given settings.
|
protected |
GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDatabaseAdminStub, using the given settings.
|
protected GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDatabaseAdminStub create(DatabaseAdminStubSettings settings) throws IOException
IOException
public static final GrpcDatabaseAdminStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcDatabaseAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class DatabaseAdminStub
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
listDatabasesCallable
in class DatabaseAdminStub
public UnaryCallable<ListDatabasesRequest,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
listDatabasesPagedCallable
in class DatabaseAdminStub
public UnaryCallable<CreateDatabaseRequest,Operation> createDatabaseCallable()
createDatabaseCallable
in class DatabaseAdminStub
public OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
createDatabaseOperationCallable
in class DatabaseAdminStub
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
getDatabaseCallable
in class DatabaseAdminStub
public UnaryCallable<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlCallable()
updateDatabaseDdlCallable
in class DatabaseAdminStub
public OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationCallable()
updateDatabaseDdlOperationCallable
in class DatabaseAdminStub
public UnaryCallable<DropDatabaseRequest,Empty> dropDatabaseCallable()
dropDatabaseCallable
in class DatabaseAdminStub
public UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlCallable()
getDatabaseDdlCallable
in class DatabaseAdminStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class DatabaseAdminStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class DatabaseAdminStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class DatabaseAdminStub
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
createBackupCallable
in class DatabaseAdminStub
public OperationCallable<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationCallable()
createBackupOperationCallable
in class DatabaseAdminStub
public UnaryCallable<CopyBackupRequest,Operation> copyBackupCallable()
copyBackupCallable
in class DatabaseAdminStub
public OperationCallable<CopyBackupRequest,Backup,CopyBackupMetadata> copyBackupOperationCallable()
copyBackupOperationCallable
in class DatabaseAdminStub
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
getBackupCallable
in class DatabaseAdminStub
public UnaryCallable<UpdateBackupRequest,Backup> updateBackupCallable()
updateBackupCallable
in class DatabaseAdminStub
public UnaryCallable<DeleteBackupRequest,Empty> deleteBackupCallable()
deleteBackupCallable
in class DatabaseAdminStub
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
listBackupsCallable
in class DatabaseAdminStub
public UnaryCallable<ListBackupsRequest,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsPagedCallable()
listBackupsPagedCallable
in class DatabaseAdminStub
public UnaryCallable<RestoreDatabaseRequest,Operation> restoreDatabaseCallable()
restoreDatabaseCallable
in class DatabaseAdminStub
public OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationCallable()
restoreDatabaseOperationCallable
in class DatabaseAdminStub
public UnaryCallable<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> listDatabaseOperationsCallable()
listDatabaseOperationsCallable
in class DatabaseAdminStub
public UnaryCallable<ListDatabaseOperationsRequest,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsPagedCallable()
listDatabaseOperationsPagedCallable
in class DatabaseAdminStub
public UnaryCallable<ListBackupOperationsRequest,ListBackupOperationsResponse> listBackupOperationsCallable()
listBackupOperationsCallable
in class DatabaseAdminStub
public UnaryCallable<ListBackupOperationsRequest,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsPagedCallable()
listBackupOperationsPagedCallable
in class DatabaseAdminStub
public final void close()
close
in interface AutoCloseable
close
in class DatabaseAdminStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.