Class HttpJsonBareMetalSolutionStub
- java.lang.Object
-
- com.google.cloud.baremetalsolution.v2.stub.BareMetalSolutionStub
-
- com.google.cloud.baremetalsolution.v2.stub.HttpJsonBareMetalSolutionStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub
REST stub implementation for the BareMetalSolution service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonBareMetalSolutionStub, using the given settings.protectedHttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonBareMetalSolutionStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.baremetalsolution.v2.stub.BareMetalSolutionStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonBareMetalSolutionStub
protected HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonBareMetalSolutionStub, 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.- Throws:
IOException
-
HttpJsonBareMetalSolutionStub
protected HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonBareMetalSolutionStub, 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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonBareMetalSolutionStub create(BareMetalSolutionStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonBareMetalSolutionStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonBareMetalSolutionStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin classBareMetalSolutionStub
-
listInstancesCallable
public com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
- Overrides:
listInstancesCallablein classBareMetalSolutionStub
-
listInstancesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesPagedCallable()
- Overrides:
listInstancesPagedCallablein classBareMetalSolutionStub
-
getInstanceCallable
public com.google.api.gax.rpc.UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
- Overrides:
getInstanceCallablein classBareMetalSolutionStub
-
updateInstanceCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceCallable()
- Overrides:
updateInstanceCallablein classBareMetalSolutionStub
-
updateInstanceOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
- Overrides:
updateInstanceOperationCallablein classBareMetalSolutionStub
-
renameInstanceCallable
public com.google.api.gax.rpc.UnaryCallable<RenameInstanceRequest,Instance> renameInstanceCallable()
- Overrides:
renameInstanceCallablein classBareMetalSolutionStub
-
resetInstanceCallable
public com.google.api.gax.rpc.UnaryCallable<ResetInstanceRequest,com.google.longrunning.Operation> resetInstanceCallable()
- Overrides:
resetInstanceCallablein classBareMetalSolutionStub
-
resetInstanceOperationCallable
public com.google.api.gax.rpc.OperationCallable<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationCallable()
- Overrides:
resetInstanceOperationCallablein classBareMetalSolutionStub
-
startInstanceCallable
public com.google.api.gax.rpc.UnaryCallable<StartInstanceRequest,com.google.longrunning.Operation> startInstanceCallable()
- Overrides:
startInstanceCallablein classBareMetalSolutionStub
-
startInstanceOperationCallable
public com.google.api.gax.rpc.OperationCallable<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationCallable()
- Overrides:
startInstanceOperationCallablein classBareMetalSolutionStub
-
stopInstanceCallable
public com.google.api.gax.rpc.UnaryCallable<StopInstanceRequest,com.google.longrunning.Operation> stopInstanceCallable()
- Overrides:
stopInstanceCallablein classBareMetalSolutionStub
-
stopInstanceOperationCallable
public com.google.api.gax.rpc.OperationCallable<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationCallable()
- Overrides:
stopInstanceOperationCallablein classBareMetalSolutionStub
-
enableInteractiveSerialConsoleCallable
public com.google.api.gax.rpc.UnaryCallable<EnableInteractiveSerialConsoleRequest,com.google.longrunning.Operation> enableInteractiveSerialConsoleCallable()
- Overrides:
enableInteractiveSerialConsoleCallablein classBareMetalSolutionStub
-
enableInteractiveSerialConsoleOperationCallable
public com.google.api.gax.rpc.OperationCallable<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata> enableInteractiveSerialConsoleOperationCallable()
- Overrides:
enableInteractiveSerialConsoleOperationCallablein classBareMetalSolutionStub
-
disableInteractiveSerialConsoleCallable
public com.google.api.gax.rpc.UnaryCallable<DisableInteractiveSerialConsoleRequest,com.google.longrunning.Operation> disableInteractiveSerialConsoleCallable()
- Overrides:
disableInteractiveSerialConsoleCallablein classBareMetalSolutionStub
-
disableInteractiveSerialConsoleOperationCallable
public com.google.api.gax.rpc.OperationCallable<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata> disableInteractiveSerialConsoleOperationCallable()
- Overrides:
disableInteractiveSerialConsoleOperationCallablein classBareMetalSolutionStub
-
detachLunCallable
public com.google.api.gax.rpc.UnaryCallable<DetachLunRequest,com.google.longrunning.Operation> detachLunCallable()
- Overrides:
detachLunCallablein classBareMetalSolutionStub
-
detachLunOperationCallable
public com.google.api.gax.rpc.OperationCallable<DetachLunRequest,Instance,OperationMetadata> detachLunOperationCallable()
- Overrides:
detachLunOperationCallablein classBareMetalSolutionStub
-
listSSHKeysCallable
public com.google.api.gax.rpc.UnaryCallable<ListSSHKeysRequest,ListSSHKeysResponse> listSSHKeysCallable()
- Overrides:
listSSHKeysCallablein classBareMetalSolutionStub
-
listSSHKeysPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSSHKeysRequest,BareMetalSolutionClient.ListSSHKeysPagedResponse> listSSHKeysPagedCallable()
- Overrides:
listSSHKeysPagedCallablein classBareMetalSolutionStub
-
createSSHKeyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSSHKeyRequest,SSHKey> createSSHKeyCallable()
- Overrides:
createSSHKeyCallablein classBareMetalSolutionStub
-
deleteSSHKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSSHKeyRequest,com.google.protobuf.Empty> deleteSSHKeyCallable()
- Overrides:
deleteSSHKeyCallablein classBareMetalSolutionStub
-
listVolumesCallable
public com.google.api.gax.rpc.UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
- Overrides:
listVolumesCallablein classBareMetalSolutionStub
-
listVolumesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListVolumesRequest,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesPagedCallable()
- Overrides:
listVolumesPagedCallablein classBareMetalSolutionStub
-
getVolumeCallable
public com.google.api.gax.rpc.UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
- Overrides:
getVolumeCallablein classBareMetalSolutionStub
-
updateVolumeCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateVolumeRequest,com.google.longrunning.Operation> updateVolumeCallable()
- Overrides:
updateVolumeCallablein classBareMetalSolutionStub
-
updateVolumeOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
- Overrides:
updateVolumeOperationCallablein classBareMetalSolutionStub
-
renameVolumeCallable
public com.google.api.gax.rpc.UnaryCallable<RenameVolumeRequest,Volume> renameVolumeCallable()
- Overrides:
renameVolumeCallablein classBareMetalSolutionStub
-
evictVolumeCallable
public com.google.api.gax.rpc.UnaryCallable<EvictVolumeRequest,com.google.longrunning.Operation> evictVolumeCallable()
- Overrides:
evictVolumeCallablein classBareMetalSolutionStub
-
evictVolumeOperationCallable
public com.google.api.gax.rpc.OperationCallable<EvictVolumeRequest,com.google.protobuf.Empty,OperationMetadata> evictVolumeOperationCallable()
- Overrides:
evictVolumeOperationCallablein classBareMetalSolutionStub
-
resizeVolumeCallable
public com.google.api.gax.rpc.UnaryCallable<ResizeVolumeRequest,com.google.longrunning.Operation> resizeVolumeCallable()
- Overrides:
resizeVolumeCallablein classBareMetalSolutionStub
-
resizeVolumeOperationCallable
public com.google.api.gax.rpc.OperationCallable<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationCallable()
- Overrides:
resizeVolumeOperationCallablein classBareMetalSolutionStub
-
listNetworksCallable
public com.google.api.gax.rpc.UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
- Overrides:
listNetworksCallablein classBareMetalSolutionStub
-
listNetworksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNetworksRequest,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksPagedCallable()
- Overrides:
listNetworksPagedCallablein classBareMetalSolutionStub
-
listNetworkUsageCallable
public com.google.api.gax.rpc.UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageCallable()
- Overrides:
listNetworkUsageCallablein classBareMetalSolutionStub
-
getNetworkCallable
public com.google.api.gax.rpc.UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
- Overrides:
getNetworkCallablein classBareMetalSolutionStub
-
updateNetworkCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateNetworkRequest,com.google.longrunning.Operation> updateNetworkCallable()
- Overrides:
updateNetworkCallablein classBareMetalSolutionStub
-
updateNetworkOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationCallable()
- Overrides:
updateNetworkOperationCallablein classBareMetalSolutionStub
-
createVolumeSnapshotCallable
public com.google.api.gax.rpc.UnaryCallable<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotCallable()
- Overrides:
createVolumeSnapshotCallablein classBareMetalSolutionStub
-
restoreVolumeSnapshotCallable
public com.google.api.gax.rpc.UnaryCallable<RestoreVolumeSnapshotRequest,com.google.longrunning.Operation> restoreVolumeSnapshotCallable()
- Overrides:
restoreVolumeSnapshotCallablein classBareMetalSolutionStub
-
restoreVolumeSnapshotOperationCallable
public com.google.api.gax.rpc.OperationCallable<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata> restoreVolumeSnapshotOperationCallable()
- Overrides:
restoreVolumeSnapshotOperationCallablein classBareMetalSolutionStub
-
deleteVolumeSnapshotCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteVolumeSnapshotRequest,com.google.protobuf.Empty> deleteVolumeSnapshotCallable()
- Overrides:
deleteVolumeSnapshotCallablein classBareMetalSolutionStub
-
getVolumeSnapshotCallable
public com.google.api.gax.rpc.UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotCallable()
- Overrides:
getVolumeSnapshotCallablein classBareMetalSolutionStub
-
listVolumeSnapshotsCallable
public com.google.api.gax.rpc.UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse> listVolumeSnapshotsCallable()
- Overrides:
listVolumeSnapshotsCallablein classBareMetalSolutionStub
-
listVolumeSnapshotsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListVolumeSnapshotsRequest,BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsPagedCallable()
- Overrides:
listVolumeSnapshotsPagedCallablein classBareMetalSolutionStub
-
getLunCallable
public com.google.api.gax.rpc.UnaryCallable<GetLunRequest,Lun> getLunCallable()
- Overrides:
getLunCallablein classBareMetalSolutionStub
-
listLunsCallable
public com.google.api.gax.rpc.UnaryCallable<ListLunsRequest,ListLunsResponse> listLunsCallable()
- Overrides:
listLunsCallablein classBareMetalSolutionStub
-
listLunsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLunsRequest,BareMetalSolutionClient.ListLunsPagedResponse> listLunsPagedCallable()
- Overrides:
listLunsPagedCallablein classBareMetalSolutionStub
-
evictLunCallable
public com.google.api.gax.rpc.UnaryCallable<EvictLunRequest,com.google.longrunning.Operation> evictLunCallable()
- Overrides:
evictLunCallablein classBareMetalSolutionStub
-
evictLunOperationCallable
public com.google.api.gax.rpc.OperationCallable<EvictLunRequest,com.google.protobuf.Empty,OperationMetadata> evictLunOperationCallable()
- Overrides:
evictLunOperationCallablein classBareMetalSolutionStub
-
getNfsShareCallable
public com.google.api.gax.rpc.UnaryCallable<GetNfsShareRequest,NfsShare> getNfsShareCallable()
- Overrides:
getNfsShareCallablein classBareMetalSolutionStub
-
listNfsSharesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> listNfsSharesCallable()
- Overrides:
listNfsSharesCallablein classBareMetalSolutionStub
-
listNfsSharesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNfsSharesRequest,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesPagedCallable()
- Overrides:
listNfsSharesPagedCallablein classBareMetalSolutionStub
-
updateNfsShareCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateNfsShareRequest,com.google.longrunning.Operation> updateNfsShareCallable()
- Overrides:
updateNfsShareCallablein classBareMetalSolutionStub
-
updateNfsShareOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationCallable()
- Overrides:
updateNfsShareOperationCallablein classBareMetalSolutionStub
-
createNfsShareCallable
public com.google.api.gax.rpc.UnaryCallable<CreateNfsShareRequest,com.google.longrunning.Operation> createNfsShareCallable()
- Overrides:
createNfsShareCallablein classBareMetalSolutionStub
-
createNfsShareOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateNfsShareRequest,NfsShare,OperationMetadata> createNfsShareOperationCallable()
- Overrides:
createNfsShareOperationCallablein classBareMetalSolutionStub
-
renameNfsShareCallable
public com.google.api.gax.rpc.UnaryCallable<RenameNfsShareRequest,NfsShare> renameNfsShareCallable()
- Overrides:
renameNfsShareCallablein classBareMetalSolutionStub
-
deleteNfsShareCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNfsShareRequest,com.google.longrunning.Operation> deleteNfsShareCallable()
- Overrides:
deleteNfsShareCallablein classBareMetalSolutionStub
-
deleteNfsShareOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteNfsShareRequest,com.google.protobuf.Empty,OperationMetadata> deleteNfsShareOperationCallable()
- Overrides:
deleteNfsShareOperationCallablein classBareMetalSolutionStub
-
listProvisioningQuotasCallable
public com.google.api.gax.rpc.UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse> listProvisioningQuotasCallable()
- Overrides:
listProvisioningQuotasCallablein classBareMetalSolutionStub
-
listProvisioningQuotasPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListProvisioningQuotasRequest,BareMetalSolutionClient.ListProvisioningQuotasPagedResponse> listProvisioningQuotasPagedCallable()
- Overrides:
listProvisioningQuotasPagedCallablein classBareMetalSolutionStub
-
submitProvisioningConfigCallable
public com.google.api.gax.rpc.UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigCallable()
- Overrides:
submitProvisioningConfigCallablein classBareMetalSolutionStub
-
getProvisioningConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigCallable()
- Overrides:
getProvisioningConfigCallablein classBareMetalSolutionStub
-
createProvisioningConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigCallable()
- Overrides:
createProvisioningConfigCallablein classBareMetalSolutionStub
-
updateProvisioningConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigCallable()
- Overrides:
updateProvisioningConfigCallablein classBareMetalSolutionStub
-
renameNetworkCallable
public com.google.api.gax.rpc.UnaryCallable<RenameNetworkRequest,Network> renameNetworkCallable()
- Overrides:
renameNetworkCallablein classBareMetalSolutionStub
-
listOSImagesCallable
public com.google.api.gax.rpc.UnaryCallable<ListOSImagesRequest,ListOSImagesResponse> listOSImagesCallable()
- Overrides:
listOSImagesCallablein classBareMetalSolutionStub
-
listOSImagesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOSImagesRequest,BareMetalSolutionClient.ListOSImagesPagedResponse> listOSImagesPagedCallable()
- Overrides:
listOSImagesPagedCallablein classBareMetalSolutionStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classBareMetalSolutionStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,BareMetalSolutionClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classBareMetalSolutionStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classBareMetalSolutionStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBareMetalSolutionStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-