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
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

createSnapshotSchedulePolicyCallable()

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

createVolumeSnapshotCallable()

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

deleteSnapshotSchedulePolicyCallable()

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

deleteVolumeSnapshotCallable()

public UnaryCallable<DeleteVolumeSnapshotRequest,Empty> deleteVolumeSnapshotCallable()
Returns
TypeDescription
UnaryCallable<DeleteVolumeSnapshotRequest,Empty>
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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getSnapshotSchedulePolicyCallable()

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

getVolumeCallable()

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

getVolumeSnapshotCallable()

public UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotCallable()
Returns
TypeDescription
UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot>
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

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

listSnapshotSchedulePoliciesCallable()

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

listSnapshotSchedulePoliciesPagedCallable()

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

listVolumeSnapshotsCallable()

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

listVolumeSnapshotsPagedCallable()

public UnaryCallable<ListVolumeSnapshotsRequest,BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListVolumeSnapshotsRequest,ListVolumeSnapshotsPagedResponse>
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

restoreVolumeSnapshotCallable()

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

restoreVolumeSnapshotOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateSnapshotSchedulePolicyCallable()

public UnaryCallable<UpdateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy> updateSnapshotSchedulePolicyCallable()
Returns
TypeDescription
UnaryCallable<UpdateSnapshotSchedulePolicyRequest,SnapshotSchedulePolicy>
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