Class GrpcBareMetalSolutionStub (0.39.0)

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

createNfsShareCallable()

public UnaryCallable<CreateNfsShareRequest,Operation> createNfsShareCallable()
Overrides

createNfsShareOperationCallable()

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

createProvisioningConfigCallable()

public UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigCallable()
Overrides

createSSHKeyCallable()

public UnaryCallable<CreateSSHKeyRequest,SSHKey> createSSHKeyCallable()
Overrides

createVolumeSnapshotCallable()

public UnaryCallable<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotCallable()
Overrides

deleteNfsShareCallable()

public UnaryCallable<DeleteNfsShareRequest,Operation> deleteNfsShareCallable()
Overrides

deleteNfsShareOperationCallable()

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

deleteSSHKeyCallable()

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

deleteVolumeSnapshotCallable()

public UnaryCallable<DeleteVolumeSnapshotRequest,Empty> deleteVolumeSnapshotCallable()
Overrides

detachLunCallable()

public UnaryCallable<DetachLunRequest,Operation> detachLunCallable()
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
TypeDescription
UnaryCallable<EvictLunRequest,Operation>
Overrides

evictLunOperationCallable()

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

evictVolumeCallable()

public UnaryCallable<EvictVolumeRequest,Operation> evictVolumeCallable()
Overrides

evictVolumeOperationCallable()

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

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
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()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getProvisioningConfigCallable()

public UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigCallable()
Overrides

getVolumeCallable()

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

getVolumeSnapshotCallable()

public UnaryCallable<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides

listInstancesPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,BareMetalSolutionClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listLunsCallable()

public UnaryCallable<ListLunsRequest,ListLunsResponse> listLunsCallable()
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()
Overrides

renameNetworkCallable()

public UnaryCallable<RenameNetworkRequest,Network> renameNetworkCallable()
Overrides

renameNfsShareCallable()

public UnaryCallable<RenameNfsShareRequest,NfsShare> renameNfsShareCallable()
Overrides

renameVolumeCallable()

public UnaryCallable<RenameVolumeRequest,Volume> renameVolumeCallable()
Overrides

resetInstanceCallable()

public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Overrides

resetInstanceOperationCallable()

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

resizeVolumeCallable()

public UnaryCallable<ResizeVolumeRequest,Operation> resizeVolumeCallable()
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()
Overrides

startInstanceOperationCallable()

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

stopInstanceCallable()

public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Overrides

stopInstanceOperationCallable()

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

submitProvisioningConfigCallable()

public UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigCallable()
Overrides

updateInstanceCallable()

public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()
Overrides

updateInstanceOperationCallable()

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

updateNetworkCallable()

public UnaryCallable<UpdateNetworkRequest,Operation> updateNetworkCallable()
Overrides

updateNetworkOperationCallable()

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

updateNfsShareCallable()

public UnaryCallable<UpdateNfsShareRequest,Operation> updateNfsShareCallable()
Overrides

updateNfsShareOperationCallable()

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

updateProvisioningConfigCallable()

public UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigCallable()
Overrides

updateVolumeCallable()

public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Overrides

updateVolumeOperationCallable()

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