public class GrpcAlloyDBAdminStub extends AlloyDBAdminStub
gRPC stub implementation for the AlloyDBAdmin service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcAlloyDBAdminStub create(ClientContext clientContext)
Name | Description |
clientContext |
ClientContext |
Type | Description |
GrpcAlloyDBAdminStub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAlloyDBAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Type | Description |
GrpcAlloyDBAdminStub |
Type | Description |
IOException |
create(AlloyDBAdminStubSettings settings)
public static final GrpcAlloyDBAdminStub create(AlloyDBAdminStubSettings settings)
Name | Description |
settings |
AlloyDBAdminStubSettings |
Type | Description |
GrpcAlloyDBAdminStub |
Type | Description |
IOException |
Constructors
GrpcAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext)
protected GrpcAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcAlloyDBAdminStub, 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.
Name | Description |
settings |
AlloyDBAdminStubSettings |
clientContext |
ClientContext |
GrpcAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAlloyDBAdminStub, 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.
Name | Description |
settings |
AlloyDBAdminStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration |
long |
unit |
TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
batchCreateInstancesCallable()
public UnaryCallable<BatchCreateInstancesRequest,Operation> batchCreateInstancesCallable()
Type | Description |
UnaryCallable<BatchCreateInstancesRequest,Operation> |
batchCreateInstancesOperationCallable()
public OperationCallable<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata> batchCreateInstancesOperationCallable()
Type | Description |
OperationCallable<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata> |
close()
public final void close()
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Type | Description |
UnaryCallable<CreateBackupRequest,Operation> |
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Type | Description |
OperationCallable<CreateBackupRequest,Backup,OperationMetadata> |
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Type | Description |
UnaryCallable<CreateClusterRequest,Operation> |
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Type | Description |
OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> |
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Type | Description |
UnaryCallable<CreateInstanceRequest,Operation> |
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Type | Description |
OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> |
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Type | Description |
UnaryCallable<DeleteBackupRequest,Operation> |
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Type | Description |
OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> |
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Type | Description |
UnaryCallable<DeleteClusterRequest,Operation> |
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Type | Description |
OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> |
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Type | Description |
UnaryCallable<DeleteInstanceRequest,Operation> |
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Type | Description |
OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> |
failoverInstanceCallable()
public UnaryCallable<FailoverInstanceRequest,Operation> failoverInstanceCallable()
Type | Description |
UnaryCallable<FailoverInstanceRequest,Operation> |
failoverInstanceOperationCallable()
public OperationCallable<FailoverInstanceRequest,Instance,OperationMetadata> failoverInstanceOperationCallable()
Type | Description |
OperationCallable<FailoverInstanceRequest,Instance,OperationMetadata> |
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Type | Description |
UnaryCallable<GetBackupRequest,Backup> |
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Type | Description |
UnaryCallable<GetClusterRequest,Cluster> |
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Type | Description |
UnaryCallable<GetInstanceRequest,Instance> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsResponse> |
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,AlloyDBAdminClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse> |
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersResponse> |
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,AlloyDBAdminClient.ListClustersPagedResponse> listClustersPagedCallable()
Type | Description |
UnaryCallable<ListClustersRequest,ListClustersPagedResponse> |
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,AlloyDBAdminClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,AlloyDBAdminClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listSupportedDatabaseFlagsCallable()
public UnaryCallable<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse> listSupportedDatabaseFlagsCallable()
Type | Description |
UnaryCallable<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse> |
listSupportedDatabaseFlagsPagedCallable()
public UnaryCallable<ListSupportedDatabaseFlagsRequest,AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse> listSupportedDatabaseFlagsPagedCallable()
Type | Description |
UnaryCallable<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsPagedResponse> |
restartInstanceCallable()
public UnaryCallable<RestartInstanceRequest,Operation> restartInstanceCallable()
Type | Description |
UnaryCallable<RestartInstanceRequest,Operation> |
restartInstanceOperationCallable()
public OperationCallable<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationCallable()
Type | Description |
OperationCallable<RestartInstanceRequest,Instance,OperationMetadata> |
restoreClusterCallable()
public UnaryCallable<RestoreClusterRequest,Operation> restoreClusterCallable()
Type | Description |
UnaryCallable<RestoreClusterRequest,Operation> |
restoreClusterOperationCallable()
public OperationCallable<RestoreClusterRequest,Cluster,OperationMetadata> restoreClusterOperationCallable()
Type | Description |
OperationCallable<RestoreClusterRequest,Cluster,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Type | Description |
UnaryCallable<UpdateBackupRequest,Operation> |
updateBackupOperationCallable()
public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Type | Description |
OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> |
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Type | Description |
UnaryCallable<UpdateClusterRequest,Operation> |
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Type | Description |
OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> |
updateInstanceCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Type | Description |
UnaryCallable<UpdateInstanceRequest,Operation> |
updateInstanceOperationCallable()
public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Type | Description |
OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> |