Class HttpJsonBareMetalSolutionStub (0.58.0)

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.

Inheritance

java.lang.Object > BareMetalSolutionStub > HttpJsonBareMetalSolutionStub

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

createNfsShareCallable()

public UnaryCallable<CreateNfsShareRequest,Operation> createNfsShareCallable()
Returns
Type Description
UnaryCallable<CreateNfsShareRequest,Operation>
Overrides

createNfsShareOperationCallable()

public OperationCallable<CreateNfsShareRequest,NfsShare,OperationMetadata> createNfsShareOperationCallable()
Overrides

createProvisioningConfigCallable()

public UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigCallable()
Overrides

createSSHKeyCallable()

public UnaryCallable<CreateSSHKeyRequest,SSHKey> createSSHKeyCallable()
Returns
Type Description
UnaryCallable<CreateSSHKeyRequest,SSHKey>
Overrides

createVolumeSnapshotCallable()

public UnaryCallable<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotCallable()
Overrides

deleteNfsShareCallable()

public UnaryCallable<DeleteNfsShareRequest,Operation> deleteNfsShareCallable()
Returns
Type Description
UnaryCallable<DeleteNfsShareRequest,Operation>
Overrides

deleteNfsShareOperationCallable()

public OperationCallable<DeleteNfsShareRequest,Empty,OperationMetadata> deleteNfsShareOperationCallable()
Overrides

deleteSSHKeyCallable()

public UnaryCallable<DeleteSSHKeyRequest,Empty> deleteSSHKeyCallable()
Returns
Type Description
UnaryCallable<DeleteSSHKeyRequest,Empty>
Overrides

deleteVolumeSnapshotCallable()

public UnaryCallable<DeleteVolumeSnapshotRequest,Empty> deleteVolumeSnapshotCallable()
Returns
Type Description
UnaryCallable<DeleteVolumeSnapshotRequest,Empty>
Overrides

detachLunCallable()

public UnaryCallable<DetachLunRequest,Operation> detachLunCallable()
Returns
Type Description
UnaryCallable<DetachLunRequest,Operation>
Overrides

detachLunOperationCallable()

public OperationCallable<DetachLunRequest,Instance,OperationMetadata> detachLunOperationCallable()
Overrides

disableInteractiveSerialConsoleCallable()

public UnaryCallable<DisableInteractiveSerialConsoleRequest,Operation> disableInteractiveSerialConsoleCallable()
Overrides

disableInteractiveSerialConsoleOperationCallable()

public OperationCallable<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata> disableInteractiveSerialConsoleOperationCallable()
Overrides

enableInteractiveSerialConsoleCallable()

public UnaryCallable<EnableInteractiveSerialConsoleRequest,Operation> enableInteractiveSerialConsoleCallable()
Overrides

enableInteractiveSerialConsoleOperationCallable()

public OperationCallable<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata> enableInteractiveSerialConsoleOperationCallable()
Overrides

evictLunCallable()

public UnaryCallable<EvictLunRequest,Operation> evictLunCallable()
Returns
Type Description
UnaryCallable<EvictLunRequest,Operation>
Overrides

evictLunOperationCallable()

public OperationCallable<EvictLunRequest,Empty,OperationMetadata> evictLunOperationCallable()
Overrides

evictVolumeCallable()

public UnaryCallable<EvictVolumeRequest,Operation> evictVolumeCallable()
Returns
Type Description
UnaryCallable<EvictVolumeRequest,Operation>
Overrides

evictVolumeOperationCallable()

public OperationCallable<EvictVolumeRequest,Empty,OperationMetadata> evictVolumeOperationCallable()
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
Type Description
UnaryCallable<GetInstanceRequest,Instance>
Overrides

getLocationCallable()

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

getLunCallable()

public UnaryCallable<GetLunRequest,Lun> getLunCallable()
Returns
Type Description
UnaryCallable<GetLunRequest,Lun>
Overrides

getNetworkCallable()

public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Returns
Type Description
UnaryCallable<GetNetworkRequest,Network>
Overrides

getNfsShareCallable()

public UnaryCallable<GetNfsShareRequest,NfsShare> getNfsShareCallable()
Returns
Type Description
UnaryCallable<GetNfsShareRequest,NfsShare>
Overrides

getProvisioningConfigCallable()

public UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigCallable()
Overrides

getVolumeCallable()

public UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
Returns
Type Description
UnaryCallable<GetVolumeRequest,Volume>
Overrides

getVolumeSnapshotCallable()

public UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesPagedCallable()
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,BareMetalSolutionClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listLunsCallable()

public UnaryCallable<ListLunsRequest,ListLunsResponse> listLunsCallable()
Returns
Type Description
UnaryCallable<ListLunsRequest,ListLunsResponse>
Overrides

listLunsPagedCallable()

public UnaryCallable<ListLunsRequest,BareMetalSolutionClient.ListLunsPagedResponse> listLunsPagedCallable()
Overrides

listNetworkUsageCallable()

public UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageCallable()
Overrides

listNetworksCallable()

public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Overrides

listNetworksPagedCallable()

public UnaryCallable<ListNetworksRequest,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Overrides

listNfsSharesCallable()

public UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> listNfsSharesCallable()
Overrides

listNfsSharesPagedCallable()

public UnaryCallable<ListNfsSharesRequest,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesPagedCallable()
Overrides

listOSImagesCallable()

public UnaryCallable<ListOSImagesRequest,ListOSImagesResponse> listOSImagesCallable()
Overrides

listOSImagesPagedCallable()

public UnaryCallable<ListOSImagesRequest,BareMetalSolutionClient.ListOSImagesPagedResponse> listOSImagesPagedCallable()
Overrides

listProvisioningQuotasCallable()

public UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse> listProvisioningQuotasCallable()
Overrides

listProvisioningQuotasPagedCallable()

public UnaryCallable<ListProvisioningQuotasRequest,BareMetalSolutionClient.ListProvisioningQuotasPagedResponse> listProvisioningQuotasPagedCallable()
Overrides

listSSHKeysCallable()

public UnaryCallable<ListSSHKeysRequest,ListSSHKeysResponse> listSSHKeysCallable()
Overrides

listSSHKeysPagedCallable()

public UnaryCallable<ListSSHKeysRequest,BareMetalSolutionClient.ListSSHKeysPagedResponse> listSSHKeysPagedCallable()
Overrides

listVolumeSnapshotsCallable()

public UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse> listVolumeSnapshotsCallable()
Overrides

listVolumeSnapshotsPagedCallable()

public UnaryCallable<ListVolumeSnapshotsRequest,BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsPagedCallable()
Overrides

listVolumesCallable()

public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Overrides

listVolumesPagedCallable()

public UnaryCallable<ListVolumesRequest,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesPagedCallable()
Overrides

renameInstanceCallable()

public UnaryCallable<RenameInstanceRequest,Instance> renameInstanceCallable()
Returns
Type Description
UnaryCallable<RenameInstanceRequest,Instance>
Overrides

renameNetworkCallable()

public UnaryCallable<RenameNetworkRequest,Network> renameNetworkCallable()
Returns
Type Description
UnaryCallable<RenameNetworkRequest,Network>
Overrides

renameNfsShareCallable()

public UnaryCallable<RenameNfsShareRequest,NfsShare> renameNfsShareCallable()
Returns
Type Description
UnaryCallable<RenameNfsShareRequest,NfsShare>
Overrides

renameVolumeCallable()

public UnaryCallable<RenameVolumeRequest,Volume> renameVolumeCallable()
Returns
Type Description
UnaryCallable<RenameVolumeRequest,Volume>
Overrides

resetInstanceCallable()

public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Returns
Type Description
UnaryCallable<ResetInstanceRequest,Operation>
Overrides

resetInstanceOperationCallable()

public OperationCallable<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationCallable()
Overrides

resizeVolumeCallable()

public UnaryCallable<ResizeVolumeRequest,Operation> resizeVolumeCallable()
Returns
Type Description
UnaryCallable<ResizeVolumeRequest,Operation>
Overrides

resizeVolumeOperationCallable()

public OperationCallable<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationCallable()
Overrides

restoreVolumeSnapshotCallable()

public UnaryCallable<RestoreVolumeSnapshotRequest,Operation> restoreVolumeSnapshotCallable()
Overrides

restoreVolumeSnapshotOperationCallable()

public OperationCallable<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata> restoreVolumeSnapshotOperationCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startInstanceCallable()

public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()
Returns
Type Description
UnaryCallable<StartInstanceRequest,Operation>
Overrides

startInstanceOperationCallable()

public OperationCallable<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationCallable()
Overrides

stopInstanceCallable()

public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Returns
Type Description
UnaryCallable<StopInstanceRequest,Operation>
Overrides

stopInstanceOperationCallable()

public OperationCallable<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationCallable()
Overrides

submitProvisioningConfigCallable()

public UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigCallable()
Overrides

updateInstanceCallable()

public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Returns
Type Description
UnaryCallable<UpdateInstanceRequest,Operation>
Overrides

updateInstanceOperationCallable()

public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()
Overrides

updateNetworkCallable()

public UnaryCallable<UpdateNetworkRequest,Operation> updateNetworkCallable()
Returns
Type Description
UnaryCallable<UpdateNetworkRequest,Operation>
Overrides

updateNetworkOperationCallable()

public OperationCallable<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationCallable()
Overrides

updateNfsShareCallable()

public UnaryCallable<UpdateNfsShareRequest,Operation> updateNfsShareCallable()
Returns
Type Description
UnaryCallable<UpdateNfsShareRequest,Operation>
Overrides

updateNfsShareOperationCallable()

public OperationCallable<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationCallable()
Overrides

updateProvisioningConfigCallable()

public UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigCallable()
Overrides

updateVolumeCallable()

public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Returns
Type Description
UnaryCallable<UpdateVolumeRequest,Operation>
Overrides

updateVolumeOperationCallable()

public OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
Overrides