- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonBareMetalSolutionStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonBareMetalSolutionStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonBareMetalSolutionStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonBareMetalSolutionStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(BareMetalSolutionStubSettings settings)
public static final HttpJsonBareMetalSolutionStub create(BareMetalSolutionStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
BareMetalSolutionStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonBareMetalSolutionStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext)
protected HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext)
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.
Parameters | |
---|---|
Name | Description |
settings |
BareMetalSolutionStubSettings |
clientContext |
ClientContext |
HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
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.
Parameters | |
---|---|
Name | Description |
settings |
BareMetalSolutionStubSettings |
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()
createNfsShareCallable()
public UnaryCallable<CreateNfsShareRequest,Operation> createNfsShareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateNfsShareRequest,Operation> |
createNfsShareOperationCallable()
public OperationCallable<CreateNfsShareRequest,NfsShare,OperationMetadata> createNfsShareOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateNfsShareRequest,NfsShare,OperationMetadata> |
createProvisioningConfigCallable()
public UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig> |
createSSHKeyCallable()
public UnaryCallable<CreateSSHKeyRequest,SSHKey> createSSHKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSSHKeyRequest,SSHKey> |
createVolumeSnapshotCallable()
public UnaryCallable<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateVolumeSnapshotRequest,VolumeSnapshot> |
deleteNfsShareCallable()
public UnaryCallable<DeleteNfsShareRequest,Operation> deleteNfsShareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteNfsShareRequest,Operation> |
deleteNfsShareOperationCallable()
public OperationCallable<DeleteNfsShareRequest,Empty,OperationMetadata> deleteNfsShareOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteNfsShareRequest,Empty,OperationMetadata> |
deleteSSHKeyCallable()
public UnaryCallable<DeleteSSHKeyRequest,Empty> deleteSSHKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSSHKeyRequest,Empty> |
deleteVolumeSnapshotCallable()
public UnaryCallable<DeleteVolumeSnapshotRequest,Empty> deleteVolumeSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteVolumeSnapshotRequest,Empty> |
detachLunCallable()
public UnaryCallable<DetachLunRequest,Operation> detachLunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DetachLunRequest,Operation> |
detachLunOperationCallable()
public OperationCallable<DetachLunRequest,Instance,OperationMetadata> detachLunOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DetachLunRequest,Instance,OperationMetadata> |
disableInteractiveSerialConsoleCallable()
public UnaryCallable<DisableInteractiveSerialConsoleRequest,Operation> disableInteractiveSerialConsoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DisableInteractiveSerialConsoleRequest,Operation> |
disableInteractiveSerialConsoleOperationCallable()
public OperationCallable<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata> disableInteractiveSerialConsoleOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata> |
enableInteractiveSerialConsoleCallable()
public UnaryCallable<EnableInteractiveSerialConsoleRequest,Operation> enableInteractiveSerialConsoleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EnableInteractiveSerialConsoleRequest,Operation> |
enableInteractiveSerialConsoleOperationCallable()
public OperationCallable<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata> enableInteractiveSerialConsoleOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata> |
evictLunCallable()
public UnaryCallable<EvictLunRequest,Operation> evictLunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EvictLunRequest,Operation> |
evictLunOperationCallable()
public OperationCallable<EvictLunRequest,Empty,OperationMetadata> evictLunOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<EvictLunRequest,Empty,OperationMetadata> |
evictVolumeCallable()
public UnaryCallable<EvictVolumeRequest,Operation> evictVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EvictVolumeRequest,Operation> |
evictVolumeOperationCallable()
public OperationCallable<EvictVolumeRequest,Empty,OperationMetadata> evictVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<EvictVolumeRequest,Empty,OperationMetadata> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInstanceRequest,Instance> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLunCallable()
public UnaryCallable<GetLunRequest,Lun> getLunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetLunRequest,Lun> |
getNetworkCallable()
public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetNetworkRequest,Network> |
getNfsShareCallable()
public UnaryCallable<GetNfsShareRequest,NfsShare> getNfsShareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetNfsShareRequest,NfsShare> |
getProvisioningConfigCallable()
public UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> |
getVolumeCallable()
public UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVolumeRequest,Volume> |
getVolumeSnapshotCallable()
public UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,BareMetalSolutionClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listLunsCallable()
public UnaryCallable<ListLunsRequest,ListLunsResponse> listLunsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLunsRequest,ListLunsResponse> |
listLunsPagedCallable()
public UnaryCallable<ListLunsRequest,BareMetalSolutionClient.ListLunsPagedResponse> listLunsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLunsRequest,ListLunsPagedResponse> |
listNetworkUsageCallable()
public UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> |
listNetworksCallable()
public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNetworksRequest,ListNetworksResponse> |
listNetworksPagedCallable()
public UnaryCallable<ListNetworksRequest,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNetworksRequest,ListNetworksPagedResponse> |
listNfsSharesCallable()
public UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> listNfsSharesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> |
listNfsSharesPagedCallable()
public UnaryCallable<ListNfsSharesRequest,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNfsSharesRequest,ListNfsSharesPagedResponse> |
listOSImagesCallable()
public UnaryCallable<ListOSImagesRequest,ListOSImagesResponse> listOSImagesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSImagesRequest,ListOSImagesResponse> |
listOSImagesPagedCallable()
public UnaryCallable<ListOSImagesRequest,BareMetalSolutionClient.ListOSImagesPagedResponse> listOSImagesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOSImagesRequest,ListOSImagesPagedResponse> |
listProvisioningQuotasCallable()
public UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse> listProvisioningQuotasCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse> |
listProvisioningQuotasPagedCallable()
public UnaryCallable<ListProvisioningQuotasRequest,BareMetalSolutionClient.ListProvisioningQuotasPagedResponse> listProvisioningQuotasPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasPagedResponse> |
listSSHKeysCallable()
public UnaryCallable<ListSSHKeysRequest,ListSSHKeysResponse> listSSHKeysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSSHKeysRequest,ListSSHKeysResponse> |
listSSHKeysPagedCallable()
public UnaryCallable<ListSSHKeysRequest,BareMetalSolutionClient.ListSSHKeysPagedResponse> listSSHKeysPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSSHKeysRequest,ListSSHKeysPagedResponse> |
listVolumeSnapshotsCallable()
public UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse> listVolumeSnapshotsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse> |
listVolumeSnapshotsPagedCallable()
public UnaryCallable<ListVolumeSnapshotsRequest,BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsPagedResponse> |
listVolumesCallable()
public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumesRequest,ListVolumesResponse> |
listVolumesPagedCallable()
public UnaryCallable<ListVolumesRequest,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumesRequest,ListVolumesPagedResponse> |
renameInstanceCallable()
public UnaryCallable<RenameInstanceRequest,Instance> renameInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RenameInstanceRequest,Instance> |
renameNetworkCallable()
public UnaryCallable<RenameNetworkRequest,Network> renameNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RenameNetworkRequest,Network> |
renameNfsShareCallable()
public UnaryCallable<RenameNfsShareRequest,NfsShare> renameNfsShareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RenameNfsShareRequest,NfsShare> |
renameVolumeCallable()
public UnaryCallable<RenameVolumeRequest,Volume> renameVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RenameVolumeRequest,Volume> |
resetInstanceCallable()
public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResetInstanceRequest,Operation> |
resetInstanceOperationCallable()
public OperationCallable<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> |
resizeVolumeCallable()
public UnaryCallable<ResizeVolumeRequest,Operation> resizeVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResizeVolumeRequest,Operation> |
resizeVolumeOperationCallable()
public OperationCallable<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ResizeVolumeRequest,Volume,OperationMetadata> |
restoreVolumeSnapshotCallable()
public UnaryCallable<RestoreVolumeSnapshotRequest,Operation> restoreVolumeSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RestoreVolumeSnapshotRequest,Operation> |
restoreVolumeSnapshotOperationCallable()
public OperationCallable<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata> restoreVolumeSnapshotOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startInstanceCallable()
public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartInstanceRequest,Operation> |
startInstanceOperationCallable()
public OperationCallable<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StartInstanceRequest,StartInstanceResponse,OperationMetadata> |
stopInstanceCallable()
public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopInstanceRequest,Operation> |
stopInstanceOperationCallable()
public OperationCallable<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopInstanceRequest,StopInstanceResponse,OperationMetadata> |
submitProvisioningConfigCallable()
public UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> |
updateInstanceCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateInstanceRequest,Operation> |
updateInstanceOperationCallable()
public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> |
updateNetworkCallable()
public UnaryCallable<UpdateNetworkRequest,Operation> updateNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateNetworkRequest,Operation> |
updateNetworkOperationCallable()
public OperationCallable<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateNetworkRequest,Network,OperationMetadata> |
updateNfsShareCallable()
public UnaryCallable<UpdateNfsShareRequest,Operation> updateNfsShareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateNfsShareRequest,Operation> |
updateNfsShareOperationCallable()
public OperationCallable<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateNfsShareRequest,NfsShare,OperationMetadata> |
updateProvisioningConfigCallable()
public UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> |
updateVolumeCallable()
public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateVolumeRequest,Operation> |
updateVolumeOperationCallable()
public OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> |