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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAlloyDBAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(AlloyDBAdminStubSettings settings)
public static final GrpcAlloyDBAdminStub create(AlloyDBAdminStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchCreateInstancesCallable()
public UnaryCallable<BatchCreateInstancesRequest,Operation> batchCreateInstancesCallable()
Overrides
batchCreateInstancesOperationCallable()
public OperationCallable<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata> batchCreateInstancesOperationCallable()
Overrides
close()
public final void close()
Overrides
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Overrides
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Overrides
createClusterCallable()
public UnaryCallable<CreateClusterRequest,Operation> createClusterCallable()
Overrides
createClusterOperationCallable()
public OperationCallable<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationCallable()
Overrides
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Overrides
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Overrides
createSecondaryClusterCallable()
public UnaryCallable<CreateSecondaryClusterRequest,Operation> createSecondaryClusterCallable()
Overrides
createSecondaryClusterOperationCallable()
public OperationCallable<CreateSecondaryClusterRequest,Cluster,OperationMetadata> createSecondaryClusterOperationCallable()
Overrides
createSecondaryInstanceCallable()
public UnaryCallable<CreateSecondaryInstanceRequest,Operation> createSecondaryInstanceCallable()
Overrides
createSecondaryInstanceOperationCallable()
public OperationCallable<CreateSecondaryInstanceRequest,Instance,OperationMetadata> createSecondaryInstanceOperationCallable()
Overrides
createUserCallable()
public UnaryCallable<CreateUserRequest,User> createUserCallable()
Overrides
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Overrides
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Overrides
deleteClusterCallable()
public UnaryCallable<DeleteClusterRequest,Operation> deleteClusterCallable()
Overrides
deleteClusterOperationCallable()
public OperationCallable<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationCallable()
Overrides
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Overrides
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Overrides
deleteUserCallable()
public UnaryCallable<DeleteUserRequest,Empty> deleteUserCallable()
Overrides
failoverInstanceCallable()
public UnaryCallable<FailoverInstanceRequest,Operation> failoverInstanceCallable()
Overrides
failoverInstanceOperationCallable()
public OperationCallable<FailoverInstanceRequest,Instance,OperationMetadata> failoverInstanceOperationCallable()
Overrides
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Overrides
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Overrides
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getUserCallable()
public UnaryCallable<GetUserRequest,User> getUserCallable()
Overrides
injectFaultCallable()
public UnaryCallable<InjectFaultRequest,Operation> injectFaultCallable()
Overrides
injectFaultOperationCallable()
public OperationCallable<InjectFaultRequest,Instance,OperationMetadata> injectFaultOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Overrides
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,AlloyDBAdminClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Overrides
listClustersCallable()
public UnaryCallable<ListClustersRequest,ListClustersResponse> listClustersCallable()
Overrides
listClustersPagedCallable()
public UnaryCallable<ListClustersRequest,AlloyDBAdminClient.ListClustersPagedResponse> listClustersPagedCallable()
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,AlloyDBAdminClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,AlloyDBAdminClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listSupportedDatabaseFlagsCallable()
public UnaryCallable<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse> listSupportedDatabaseFlagsCallable()
Overrides
listSupportedDatabaseFlagsPagedCallable()
public UnaryCallable<ListSupportedDatabaseFlagsRequest,AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse> listSupportedDatabaseFlagsPagedCallable()
Overrides
listUsersCallable()
public UnaryCallable<ListUsersRequest,ListUsersResponse> listUsersCallable()
Overrides
listUsersPagedCallable()
public UnaryCallable<ListUsersRequest,AlloyDBAdminClient.ListUsersPagedResponse> listUsersPagedCallable()
Overrides
public UnaryCallable<PromoteClusterRequest,Operation> promoteClusterCallable()
Overrides
public OperationCallable<PromoteClusterRequest,Cluster,OperationMetadata> promoteClusterOperationCallable()
Overrides
restartInstanceCallable()
public UnaryCallable<RestartInstanceRequest,Operation> restartInstanceCallable()
Overrides
restartInstanceOperationCallable()
public OperationCallable<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationCallable()
Overrides
restoreClusterCallable()
public UnaryCallable<RestoreClusterRequest,Operation> restoreClusterCallable()
Overrides
restoreClusterOperationCallable()
public OperationCallable<RestoreClusterRequest,Cluster,OperationMetadata> restoreClusterOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Overrides
updateBackupOperationCallable()
public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Overrides
updateClusterCallable()
public UnaryCallable<UpdateClusterRequest,Operation> updateClusterCallable()
Overrides
updateClusterOperationCallable()
public OperationCallable<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationCallable()
Overrides
updateInstanceCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Overrides
updateInstanceOperationCallable()
public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Overrides
updateUserCallable()
public UnaryCallable<UpdateUserRequest,User> updateUserCallable()
Overrides