Class GrpcBareMetalSolutionStub (0.1.1)

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 Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(BareMetalSolutionStubSettings settings)

public static final GrpcBareMetalSolutionStub create(BareMetalSolutionStubSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionStubSettings
Returns 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

createSnapshotSchedulePolicyCallable()

public UnaryCallable<CreateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> createSnapshotSchedulePolicyCallable()
Returns Overrides

createVolumeSnapshotCallable()

public UnaryCallable<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotCallable()
Returns Overrides

deleteSnapshotSchedulePolicyCallable()

public UnaryCallable<DeleteSnapshotSchedulePolicyRequest,Empty> deleteSnapshotSchedulePolicyCallable()
Returns Overrides

deleteVolumeSnapshotCallable()

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

getInstanceCallable()

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

getLunCallable()

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

getNetworkCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getSnapshotSchedulePolicyCallable()

public UnaryCallable<GetSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> getSnapshotSchedulePolicyCallable()
Returns Overrides

getVolumeCallable()

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

getVolumeSnapshotCallable()

public UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInstancesCallable()

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

listInstancesPagedCallable()

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

listLunsCallable()

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

listLunsPagedCallable()

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

listNetworksCallable()

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

listNetworksPagedCallable()

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

listSnapshotSchedulePoliciesCallable()

public UnaryCallable<ListSnapshotSchedulePoliciesRequest,ListSnapshotSchedulePoliciesResponse> listSnapshotSchedulePoliciesCallable()
Returns Overrides

listSnapshotSchedulePoliciesPagedCallable()

public UnaryCallable<ListSnapshotSchedulePoliciesRequest,BareMetalSolutionClient.ListSnapshotSchedulePoliciesPagedResponse> listSnapshotSchedulePoliciesPagedCallable()
Returns Overrides

listVolumeSnapshotsCallable()

public UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse> listVolumeSnapshotsCallable()
Returns Overrides

listVolumeSnapshotsPagedCallable()

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

listVolumesCallable()

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

listVolumesPagedCallable()

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

resetInstanceCallable()

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

resetInstanceOperationCallable()

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

restoreVolumeSnapshotCallable()

public UnaryCallable<RestoreVolumeSnapshotRequest,Operation> restoreVolumeSnapshotCallable()
Returns Overrides

restoreVolumeSnapshotOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateSnapshotSchedulePolicyCallable()

public UnaryCallable<UpdateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> updateSnapshotSchedulePolicyCallable()
Returns Overrides

updateVolumeCallable()

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

updateVolumeOperationCallable()

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