Class HttpJsonOracleDatabaseStub (0.2.0)

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.

Inheritance

java.lang.Object > OracleDatabaseStub > HttpJsonOracleDatabaseStub

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()
Overrides

createAutonomousDatabaseCallable()

public UnaryCallable<CreateAutonomousDatabaseRequest,Operation> createAutonomousDatabaseCallable()
Returns
Type Description
UnaryCallable<CreateAutonomousDatabaseRequest,Operation>
Overrides

createAutonomousDatabaseOperationCallable()

public OperationCallable<CreateAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata> createAutonomousDatabaseOperationCallable()
Returns
Type Description
OperationCallable<CreateAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata>
Overrides

createCloudExadataInfrastructureCallable()

public UnaryCallable<CreateCloudExadataInfrastructureRequest,Operation> createCloudExadataInfrastructureCallable()
Returns
Type Description
UnaryCallable<CreateCloudExadataInfrastructureRequest,Operation>
Overrides

createCloudExadataInfrastructureOperationCallable()

public OperationCallable<CreateCloudExadataInfrastructureRequest,CloudExadataInfrastructure,OperationMetadata> createCloudExadataInfrastructureOperationCallable()
Returns
Type Description
OperationCallable<CreateCloudExadataInfrastructureRequest,CloudExadataInfrastructure,OperationMetadata>
Overrides

createCloudVmClusterCallable()

public UnaryCallable<CreateCloudVmClusterRequest,Operation> createCloudVmClusterCallable()
Returns
Type Description
UnaryCallable<CreateCloudVmClusterRequest,Operation>
Overrides

createCloudVmClusterOperationCallable()

public OperationCallable<CreateCloudVmClusterRequest,CloudVmCluster,OperationMetadata> createCloudVmClusterOperationCallable()
Returns
Type Description
OperationCallable<CreateCloudVmClusterRequest,CloudVmCluster,OperationMetadata>
Overrides

deleteAutonomousDatabaseCallable()

public UnaryCallable<DeleteAutonomousDatabaseRequest,Operation> deleteAutonomousDatabaseCallable()
Returns
Type Description
UnaryCallable<DeleteAutonomousDatabaseRequest,Operation>
Overrides

deleteAutonomousDatabaseOperationCallable()

public OperationCallable<DeleteAutonomousDatabaseRequest,Empty,OperationMetadata> deleteAutonomousDatabaseOperationCallable()
Returns
Type Description
OperationCallable<DeleteAutonomousDatabaseRequest,Empty,OperationMetadata>
Overrides

deleteCloudExadataInfrastructureCallable()

public UnaryCallable<DeleteCloudExadataInfrastructureRequest,Operation> deleteCloudExadataInfrastructureCallable()
Returns
Type Description
UnaryCallable<DeleteCloudExadataInfrastructureRequest,Operation>
Overrides

deleteCloudExadataInfrastructureOperationCallable()

public OperationCallable<DeleteCloudExadataInfrastructureRequest,Empty,OperationMetadata> deleteCloudExadataInfrastructureOperationCallable()
Returns
Type Description
OperationCallable<DeleteCloudExadataInfrastructureRequest,Empty,OperationMetadata>
Overrides

deleteCloudVmClusterCallable()

public UnaryCallable<DeleteCloudVmClusterRequest,Operation> deleteCloudVmClusterCallable()
Returns
Type Description
UnaryCallable<DeleteCloudVmClusterRequest,Operation>
Overrides

deleteCloudVmClusterOperationCallable()

public OperationCallable<DeleteCloudVmClusterRequest,Empty,OperationMetadata> deleteCloudVmClusterOperationCallable()
Returns
Type Description
OperationCallable<DeleteCloudVmClusterRequest,Empty,OperationMetadata>
Overrides

generateAutonomousDatabaseWalletCallable()

public UnaryCallable<GenerateAutonomousDatabaseWalletRequest,GenerateAutonomousDatabaseWalletResponse> generateAutonomousDatabaseWalletCallable()
Returns
Type Description
UnaryCallable<GenerateAutonomousDatabaseWalletRequest,GenerateAutonomousDatabaseWalletResponse>
Overrides

getAutonomousDatabaseCallable()

public UnaryCallable<GetAutonomousDatabaseRequest,AutonomousDatabase> getAutonomousDatabaseCallable()
Returns
Type Description
UnaryCallable<GetAutonomousDatabaseRequest,AutonomousDatabase>
Overrides

getCloudExadataInfrastructureCallable()

public UnaryCallable<GetCloudExadataInfrastructureRequest,CloudExadataInfrastructure> getCloudExadataInfrastructureCallable()
Returns
Type Description
UnaryCallable<GetCloudExadataInfrastructureRequest,CloudExadataInfrastructure>
Overrides

getCloudVmClusterCallable()

public UnaryCallable<GetCloudVmClusterRequest,CloudVmCluster> getCloudVmClusterCallable()
Returns
Type Description
UnaryCallable<GetCloudVmClusterRequest,CloudVmCluster>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

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>
Overrides

listAutonomousDatabaseBackupsPagedCallable()

public UnaryCallable<ListAutonomousDatabaseBackupsRequest,OracleDatabaseClient.ListAutonomousDatabaseBackupsPagedResponse> listAutonomousDatabaseBackupsPagedCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDatabaseBackupsRequest,ListAutonomousDatabaseBackupsPagedResponse>
Overrides

listAutonomousDatabaseCharacterSetsCallable()

public UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,ListAutonomousDatabaseCharacterSetsResponse> listAutonomousDatabaseCharacterSetsCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,ListAutonomousDatabaseCharacterSetsResponse>
Overrides

listAutonomousDatabaseCharacterSetsPagedCallable()

public UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,OracleDatabaseClient.ListAutonomousDatabaseCharacterSetsPagedResponse> listAutonomousDatabaseCharacterSetsPagedCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDatabaseCharacterSetsRequest,ListAutonomousDatabaseCharacterSetsPagedResponse>
Overrides

listAutonomousDatabasesCallable()

public UnaryCallable<ListAutonomousDatabasesRequest,ListAutonomousDatabasesResponse> listAutonomousDatabasesCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDatabasesRequest,ListAutonomousDatabasesResponse>
Overrides

listAutonomousDatabasesPagedCallable()

public UnaryCallable<ListAutonomousDatabasesRequest,OracleDatabaseClient.ListAutonomousDatabasesPagedResponse> listAutonomousDatabasesPagedCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDatabasesRequest,ListAutonomousDatabasesPagedResponse>
Overrides

listAutonomousDbVersionsCallable()

public UnaryCallable<ListAutonomousDbVersionsRequest,ListAutonomousDbVersionsResponse> listAutonomousDbVersionsCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDbVersionsRequest,ListAutonomousDbVersionsResponse>
Overrides

listAutonomousDbVersionsPagedCallable()

public UnaryCallable<ListAutonomousDbVersionsRequest,OracleDatabaseClient.ListAutonomousDbVersionsPagedResponse> listAutonomousDbVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListAutonomousDbVersionsRequest,ListAutonomousDbVersionsPagedResponse>
Overrides

listCloudExadataInfrastructuresCallable()

public UnaryCallable<ListCloudExadataInfrastructuresRequest,ListCloudExadataInfrastructuresResponse> listCloudExadataInfrastructuresCallable()
Returns
Type Description
UnaryCallable<ListCloudExadataInfrastructuresRequest,ListCloudExadataInfrastructuresResponse>
Overrides

listCloudExadataInfrastructuresPagedCallable()

public UnaryCallable<ListCloudExadataInfrastructuresRequest,OracleDatabaseClient.ListCloudExadataInfrastructuresPagedResponse> listCloudExadataInfrastructuresPagedCallable()
Returns
Type Description
UnaryCallable<ListCloudExadataInfrastructuresRequest,ListCloudExadataInfrastructuresPagedResponse>
Overrides

listCloudVmClustersCallable()

public UnaryCallable<ListCloudVmClustersRequest,ListCloudVmClustersResponse> listCloudVmClustersCallable()
Returns
Type Description
UnaryCallable<ListCloudVmClustersRequest,ListCloudVmClustersResponse>
Overrides

listCloudVmClustersPagedCallable()

public UnaryCallable<ListCloudVmClustersRequest,OracleDatabaseClient.ListCloudVmClustersPagedResponse> listCloudVmClustersPagedCallable()
Returns
Type Description
UnaryCallable<ListCloudVmClustersRequest,ListCloudVmClustersPagedResponse>
Overrides

listDbNodesCallable()

public UnaryCallable<ListDbNodesRequest,ListDbNodesResponse> listDbNodesCallable()
Returns
Type Description
UnaryCallable<ListDbNodesRequest,ListDbNodesResponse>
Overrides

listDbNodesPagedCallable()

public UnaryCallable<ListDbNodesRequest,OracleDatabaseClient.ListDbNodesPagedResponse> listDbNodesPagedCallable()
Returns
Type Description
UnaryCallable<ListDbNodesRequest,ListDbNodesPagedResponse>
Overrides

listDbServersCallable()

public UnaryCallable<ListDbServersRequest,ListDbServersResponse> listDbServersCallable()
Returns
Type Description
UnaryCallable<ListDbServersRequest,ListDbServersResponse>
Overrides

listDbServersPagedCallable()

public UnaryCallable<ListDbServersRequest,OracleDatabaseClient.ListDbServersPagedResponse> listDbServersPagedCallable()
Returns
Type Description
UnaryCallable<ListDbServersRequest,ListDbServersPagedResponse>
Overrides

listDbSystemShapesCallable()

public UnaryCallable<ListDbSystemShapesRequest,ListDbSystemShapesResponse> listDbSystemShapesCallable()
Returns
Type Description
UnaryCallable<ListDbSystemShapesRequest,ListDbSystemShapesResponse>
Overrides

listDbSystemShapesPagedCallable()

public UnaryCallable<ListDbSystemShapesRequest,OracleDatabaseClient.ListDbSystemShapesPagedResponse> listDbSystemShapesPagedCallable()
Returns
Type Description
UnaryCallable<ListDbSystemShapesRequest,ListDbSystemShapesPagedResponse>
Overrides

listEntitlementsCallable()

public UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> listEntitlementsCallable()
Returns
Type Description
UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse>
Overrides

listEntitlementsPagedCallable()

public UnaryCallable<ListEntitlementsRequest,OracleDatabaseClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
Returns
Type Description
UnaryCallable<ListEntitlementsRequest,ListEntitlementsPagedResponse>
Overrides

listGiVersionsCallable()

public UnaryCallable<ListGiVersionsRequest,ListGiVersionsResponse> listGiVersionsCallable()
Returns
Type Description
UnaryCallable<ListGiVersionsRequest,ListGiVersionsResponse>
Overrides

listGiVersionsPagedCallable()

public UnaryCallable<ListGiVersionsRequest,OracleDatabaseClient.ListGiVersionsPagedResponse> listGiVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListGiVersionsRequest,ListGiVersionsPagedResponse>
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,OracleDatabaseClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

restoreAutonomousDatabaseCallable()

public UnaryCallable<RestoreAutonomousDatabaseRequest,Operation> restoreAutonomousDatabaseCallable()
Returns
Type Description
UnaryCallable<RestoreAutonomousDatabaseRequest,Operation>
Overrides

restoreAutonomousDatabaseOperationCallable()

public OperationCallable<RestoreAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata> restoreAutonomousDatabaseOperationCallable()
Returns
Type Description
OperationCallable<RestoreAutonomousDatabaseRequest,AutonomousDatabase,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()