public class HttpJsonAlloyDBAdminStub extends AlloyDBAdminStub
REST 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 HttpJsonAlloyDBAdminStub create(ClientContext clientContext)
Name | Description |
clientContext |
ClientContext |
Type | Description |
HttpJsonAlloyDBAdminStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAlloyDBAdminStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Type | Description |
HttpJsonAlloyDBAdminStub |
Type | Description |
IOException |
create(AlloyDBAdminStubSettings settings)
public static final HttpJsonAlloyDBAdminStub create(AlloyDBAdminStubSettings settings)
Name | Description |
settings |
AlloyDBAdminStubSettings |
Type | Description |
HttpJsonAlloyDBAdminStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext)
protected HttpJsonAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAlloyDBAdminStub, 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 |
HttpJsonAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAlloyDBAdminStub(AlloyDBAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAlloyDBAdminStub, 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 |
HttpJsonStubCallableFactory |
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> |
createSecondaryClusterCallable()
public UnaryCallable<CreateSecondaryClusterRequest,Operation> createSecondaryClusterCallable()
Type | Description |
UnaryCallable<CreateSecondaryClusterRequest,Operation> |
createSecondaryClusterOperationCallable()
public OperationCallable<CreateSecondaryClusterRequest,Cluster,OperationMetadata> createSecondaryClusterOperationCallable()
Type | Description |
OperationCallable<CreateSecondaryClusterRequest,Cluster,OperationMetadata> |
createSecondaryInstanceCallable()
public UnaryCallable<CreateSecondaryInstanceRequest,Operation> createSecondaryInstanceCallable()
Type | Description |
UnaryCallable<CreateSecondaryInstanceRequest,Operation> |
createSecondaryInstanceOperationCallable()
public OperationCallable<CreateSecondaryInstanceRequest,Instance,OperationMetadata> createSecondaryInstanceOperationCallable()
Type | Description |
OperationCallable<CreateSecondaryInstanceRequest,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> |
generateClientCertificateCallable()
public UnaryCallable<GenerateClientCertificateRequest,GenerateClientCertificateResponse> generateClientCertificateCallable()
Type | Description |
UnaryCallable<GenerateClientCertificateRequest,GenerateClientCertificateResponse> |
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Type | Description |
UnaryCallable<GetBackupRequest,Backup> |
getClusterCallable()
public UnaryCallable<GetClusterRequest,Cluster> getClusterCallable()
Type | Description |
UnaryCallable<GetClusterRequest,Cluster> |
getConnectionInfoCallable()
public UnaryCallable<GetConnectionInfoRequest,ConnectionInfo> getConnectionInfoCallable()
Type | Description |
UnaryCallable<GetConnectionInfoRequest,ConnectionInfo> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
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> |
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> |
promoteClusterCallable()
public UnaryCallable<PromoteClusterRequest,Operation> promoteClusterCallable()
Type | Description |
UnaryCallable<PromoteClusterRequest,Operation> |
promoteClusterOperationCallable()
public OperationCallable<PromoteClusterRequest,Cluster,OperationMetadata> promoteClusterOperationCallable()
Type | Description |
OperationCallable<PromoteClusterRequest,Cluster,OperationMetadata> |
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> |