public class HttpJsonOracleDatabaseStub extends OracleDatabaseStub
REST stub implementation for the OracleDatabase service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonOracleDatabaseStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonOracleDatabaseStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonOracleDatabaseStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonOracleDatabaseStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(OracleDatabaseStubSettings settings)
public static final HttpJsonOracleDatabaseStub create(OracleDatabaseStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
OracleDatabaseStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonOracleDatabaseStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonOracleDatabaseStub(OracleDatabaseStubSettings settings, ClientContext clientContext)
protected HttpJsonOracleDatabaseStub(OracleDatabaseStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonOracleDatabaseStub, 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 |
OracleDatabaseStubSettings |
clientContext |
ClientContext |
HttpJsonOracleDatabaseStub(OracleDatabaseStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonOracleDatabaseStub(OracleDatabaseStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonOracleDatabaseStub, 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 |
OracleDatabaseStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
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()
createAutonomousDatabaseCallable()
public UnaryCallable<CreateAutonomousDatabaseRequest,Operation> createAutonomousDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateAutonomousDatabaseRequest,Operation> |
createAutonomousDatabaseOperationCallable()
public OperationCallable<CreateAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata> createAutonomousDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata> |
createCloudExadataInfrastructureCallable()
public UnaryCallable<CreateCloudExadataInfrastructureRequest,Operation> createCloudExadataInfrastructureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCloudExadataInfrastructureRequest,Operation> |
createCloudExadataInfrastructureOperationCallable()
public OperationCallable<CreateCloudExadataInfrastructureRequest,CloudExadataInfrastructure,OperationMetadata> createCloudExadataInfrastructureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateCloudExadataInfrastructureRequest,CloudExadataInfrastructure,OperationMetadata> |
createCloudVmClusterCallable()
public UnaryCallable<CreateCloudVmClusterRequest,Operation> createCloudVmClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCloudVmClusterRequest,Operation> |
createCloudVmClusterOperationCallable()
public OperationCallable<CreateCloudVmClusterRequest,CloudVmCluster,OperationMetadata> createCloudVmClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateCloudVmClusterRequest,CloudVmCluster,OperationMetadata> |
deleteAutonomousDatabaseCallable()
public UnaryCallable<DeleteAutonomousDatabaseRequest,Operation> deleteAutonomousDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteAutonomousDatabaseRequest,Operation> |
deleteAutonomousDatabaseOperationCallable()
public OperationCallable<DeleteAutonomousDatabaseRequest,Empty,OperationMetadata> deleteAutonomousDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteAutonomousDatabaseRequest,Empty,OperationMetadata> |
deleteCloudExadataInfrastructureCallable()
public UnaryCallable<DeleteCloudExadataInfrastructureRequest,Operation> deleteCloudExadataInfrastructureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteCloudExadataInfrastructureRequest,Operation> |
deleteCloudExadataInfrastructureOperationCallable()
public OperationCallable<DeleteCloudExadataInfrastructureRequest,Empty,OperationMetadata> deleteCloudExadataInfrastructureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteCloudExadataInfrastructureRequest,Empty,OperationMetadata> |
deleteCloudVmClusterCallable()
public UnaryCallable<DeleteCloudVmClusterRequest,Operation> deleteCloudVmClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteCloudVmClusterRequest,Operation> |
deleteCloudVmClusterOperationCallable()
public OperationCallable<DeleteCloudVmClusterRequest,Empty,OperationMetadata> deleteCloudVmClusterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteCloudVmClusterRequest,Empty,OperationMetadata> |
generateAutonomousDatabaseWalletCallable()
public UnaryCallable<GenerateAutonomousDatabaseWalletRequest,GenerateAutonomousDatabaseWalletResponse> generateAutonomousDatabaseWalletCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateAutonomousDatabaseWalletRequest,GenerateAutonomousDatabaseWalletResponse> |
getAutonomousDatabaseCallable()
public UnaryCallable<GetAutonomousDatabaseRequest,AutonomousDatabase> getAutonomousDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetAutonomousDatabaseRequest,AutonomousDatabase> |
getCloudExadataInfrastructureCallable()
public UnaryCallable<GetCloudExadataInfrastructureRequest,CloudExadataInfrastructure> getCloudExadataInfrastructureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCloudExadataInfrastructureRequest,CloudExadataInfrastructure> |
getCloudVmClusterCallable()
public UnaryCallable<GetCloudVmClusterRequest,CloudVmCluster> getCloudVmClusterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCloudVmClusterRequest,CloudVmCluster> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listAutonomousDatabaseBackupsCallable()
public UnaryCallable<ListAutonomousDatabaseBackupsRequest,ListAutonomousDatabaseBackupsResponse> listAutonomousDatabaseBackupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDatabaseBackupsRequest,ListAutonomousDatabaseBackupsResponse> |
listAutonomousDatabaseBackupsPagedCallable()
public UnaryCallable<ListAutonomousDatabaseBackupsRequest,OracleDatabaseClient.ListAutonomousDatabaseBackupsPagedResponse> listAutonomousDatabaseBackupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDatabaseBackupsRequest,ListAutonomousDatabaseBackupsPagedResponse> |
listAutonomousDatabaseCharacterSetsCallable()
public UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,ListAutonomousDatabaseCharacterSetsResponse> listAutonomousDatabaseCharacterSetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,ListAutonomousDatabaseCharacterSetsResponse> |
listAutonomousDatabaseCharacterSetsPagedCallable()
public UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,OracleDatabaseClient.ListAutonomousDatabaseCharacterSetsPagedResponse> listAutonomousDatabaseCharacterSetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,ListAutonomousDatabaseCharacterSetsPagedResponse> |
listAutonomousDatabasesCallable()
public UnaryCallable<ListAutonomousDatabasesRequest,ListAutonomousDatabasesResponse> listAutonomousDatabasesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDatabasesRequest,ListAutonomousDatabasesResponse> |
listAutonomousDatabasesPagedCallable()
public UnaryCallable<ListAutonomousDatabasesRequest,OracleDatabaseClient.ListAutonomousDatabasesPagedResponse> listAutonomousDatabasesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDatabasesRequest,ListAutonomousDatabasesPagedResponse> |
listAutonomousDbVersionsCallable()
public UnaryCallable<ListAutonomousDbVersionsRequest,ListAutonomousDbVersionsResponse> listAutonomousDbVersionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDbVersionsRequest,ListAutonomousDbVersionsResponse> |
listAutonomousDbVersionsPagedCallable()
public UnaryCallable<ListAutonomousDbVersionsRequest,OracleDatabaseClient.ListAutonomousDbVersionsPagedResponse> listAutonomousDbVersionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListAutonomousDbVersionsRequest,ListAutonomousDbVersionsPagedResponse> |
listCloudExadataInfrastructuresCallable()
public UnaryCallable<ListCloudExadataInfrastructuresRequest,ListCloudExadataInfrastructuresResponse> listCloudExadataInfrastructuresCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCloudExadataInfrastructuresRequest,ListCloudExadataInfrastructuresResponse> |
listCloudExadataInfrastructuresPagedCallable()
public UnaryCallable<ListCloudExadataInfrastructuresRequest,OracleDatabaseClient.ListCloudExadataInfrastructuresPagedResponse> listCloudExadataInfrastructuresPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCloudExadataInfrastructuresRequest,ListCloudExadataInfrastructuresPagedResponse> |
listCloudVmClustersCallable()
public UnaryCallable<ListCloudVmClustersRequest,ListCloudVmClustersResponse> listCloudVmClustersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCloudVmClustersRequest,ListCloudVmClustersResponse> |
listCloudVmClustersPagedCallable()
public UnaryCallable<ListCloudVmClustersRequest,OracleDatabaseClient.ListCloudVmClustersPagedResponse> listCloudVmClustersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCloudVmClustersRequest,ListCloudVmClustersPagedResponse> |
listDbNodesCallable()
public UnaryCallable<ListDbNodesRequest,ListDbNodesResponse> listDbNodesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDbNodesRequest,ListDbNodesResponse> |
listDbNodesPagedCallable()
public UnaryCallable<ListDbNodesRequest,OracleDatabaseClient.ListDbNodesPagedResponse> listDbNodesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDbNodesRequest,ListDbNodesPagedResponse> |
listDbServersCallable()
public UnaryCallable<ListDbServersRequest,ListDbServersResponse> listDbServersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDbServersRequest,ListDbServersResponse> |
listDbServersPagedCallable()
public UnaryCallable<ListDbServersRequest,OracleDatabaseClient.ListDbServersPagedResponse> listDbServersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDbServersRequest,ListDbServersPagedResponse> |
listDbSystemShapesCallable()
public UnaryCallable<ListDbSystemShapesRequest,ListDbSystemShapesResponse> listDbSystemShapesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDbSystemShapesRequest,ListDbSystemShapesResponse> |
listDbSystemShapesPagedCallable()
public UnaryCallable<ListDbSystemShapesRequest,OracleDatabaseClient.ListDbSystemShapesPagedResponse> listDbSystemShapesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDbSystemShapesRequest,ListDbSystemShapesPagedResponse> |
listEntitlementsCallable()
public UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> listEntitlementsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> |
listEntitlementsPagedCallable()
public UnaryCallable<ListEntitlementsRequest,OracleDatabaseClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEntitlementsRequest,ListEntitlementsPagedResponse> |
listGiVersionsCallable()
public UnaryCallable<ListGiVersionsRequest,ListGiVersionsResponse> listGiVersionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGiVersionsRequest,ListGiVersionsResponse> |
listGiVersionsPagedCallable()
public UnaryCallable<ListGiVersionsRequest,OracleDatabaseClient.ListGiVersionsPagedResponse> listGiVersionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGiVersionsRequest,ListGiVersionsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,OracleDatabaseClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
restoreAutonomousDatabaseCallable()
public UnaryCallable<RestoreAutonomousDatabaseRequest,Operation> restoreAutonomousDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RestoreAutonomousDatabaseRequest,Operation> |
restoreAutonomousDatabaseOperationCallable()
public OperationCallable<RestoreAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata> restoreAutonomousDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RestoreAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()