Class GrpcBareMetalSolutionStub (0.3.8)

public class GrpcBareMetalSolutionStub extends BareMetalSolutionStub

gRPC stub implementation for the BareMetalSolution service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BareMetalSolutionStub > GrpcBareMetalSolutionStub

Static Methods

create(ClientContext clientContext)

public static final GrpcBareMetalSolutionStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcBareMetalSolutionStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcBareMetalSolutionStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcBareMetalSolutionStub
Exceptions
TypeDescription
IOException

create(BareMetalSolutionStubSettings settings)

public static final GrpcBareMetalSolutionStub create(BareMetalSolutionStubSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionStubSettings
Returns
TypeDescription
GrpcBareMetalSolutionStub
Exceptions
TypeDescription
IOException

Constructors

GrpcBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext)

protected GrpcBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcBareMetalSolutionStub, 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
NameDescription
settingsBareMetalSolutionStubSettings
clientContextClientContext

GrpcBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcBareMetalSolutionStub(BareMetalSolutionStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcBareMetalSolutionStub, 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
NameDescription
settingsBareMetalSolutionStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

detachLunCallable()

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

detachLunOperationCallable()

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

getInstanceCallable()

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

getLunCallable()

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

getNetworkCallable()

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

getNfsShareCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getVolumeCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns
TypeDescription
UnaryCallable<ListInstancesRequest,ListInstancesResponse>
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse>
Overrides

listLunsCallable()

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

listLunsPagedCallable()

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

listNetworkUsageCallable()

public UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageCallable()
Returns
TypeDescription
UnaryCallable<ListNetworkUsageRequest,ListNetworkUsageResponse>
Overrides

listNetworksCallable()

public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Returns
TypeDescription
UnaryCallable<ListNetworksRequest,ListNetworksResponse>
Overrides

listNetworksPagedCallable()

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

listNfsSharesCallable()

public UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse> listNfsSharesCallable()
Returns
TypeDescription
UnaryCallable<ListNfsSharesRequest,ListNfsSharesResponse>
Overrides

listNfsSharesPagedCallable()

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

listVolumesCallable()

public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Returns
TypeDescription
UnaryCallable<ListVolumesRequest,ListVolumesResponse>
Overrides

listVolumesPagedCallable()

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

resetInstanceCallable()

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

resetInstanceOperationCallable()

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

resizeVolumeCallable()

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

resizeVolumeOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startInstanceCallable()

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

startInstanceOperationCallable()

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

stopInstanceCallable()

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

stopInstanceOperationCallable()

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

updateInstanceCallable()

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

updateInstanceOperationCallable()

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

updateNetworkCallable()

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

updateNetworkOperationCallable()

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

updateNfsShareCallable()

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

updateNfsShareOperationCallable()

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

updateVolumeCallable()

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

updateVolumeOperationCallable()

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