Class GrpcBareMetalSolutionStub (0.35.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()
Returns
TypeDescription
UnaryCallable<CreateNfsShareRequest,Operation>
Overrides

createNfsShareOperationCallable()

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

createProvisioningConfigCallable()

public UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateProvisioningConfigRequest,ProvisioningConfig>
Overrides

createSSHKeyCallable()

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

createVolumeSnapshotCallable()

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

deleteNfsShareCallable()

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

deleteNfsShareOperationCallable()

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

deleteSSHKeyCallable()

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

deleteVolumeSnapshotCallable()

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

disableInteractiveSerialConsoleCallable()

public UnaryCallable<DisableInteractiveSerialConsoleRequest,Operation> disableInteractiveSerialConsoleCallable()
Returns
TypeDescription
UnaryCallable<DisableInteractiveSerialConsoleRequest,Operation>
Overrides

disableInteractiveSerialConsoleOperationCallable()

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

enableInteractiveSerialConsoleCallable()

public UnaryCallable<EnableInteractiveSerialConsoleRequest,Operation> enableInteractiveSerialConsoleCallable()
Returns
TypeDescription
UnaryCallable<EnableInteractiveSerialConsoleRequest,Operation>
Overrides

enableInteractiveSerialConsoleOperationCallable()

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

evictLunCallable()

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

evictLunOperationCallable()

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

evictVolumeCallable()

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

evictVolumeOperationCallable()

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

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
TypeDescription
UnaryCallable<GetInstanceRequest,Instance>
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()
Returns
TypeDescription
UnaryCallable<GetNfsShareRequest,NfsShare>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getProvisioningConfigCallable()

public UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigCallable()
Returns
TypeDescription
UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig>
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

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

listOSImagesCallable()

public UnaryCallable<ListOSImagesRequest,ListOSImagesResponse> listOSImagesCallable()
Returns
TypeDescription
UnaryCallable<ListOSImagesRequest,ListOSImagesResponse>
Overrides

listOSImagesPagedCallable()

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

listProvisioningQuotasCallable()

public UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse> listProvisioningQuotasCallable()
Returns
TypeDescription
UnaryCallable<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse>
Overrides

listProvisioningQuotasPagedCallable()

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

listSSHKeysCallable()

public UnaryCallable<ListSSHKeysRequest,ListSSHKeysResponse> listSSHKeysCallable()
Returns
TypeDescription
UnaryCallable<ListSSHKeysRequest,ListSSHKeysResponse>
Overrides

listSSHKeysPagedCallable()

public UnaryCallable<ListSSHKeysRequest,BareMetalSolutionClient.ListSSHKeysPagedResponse> listSSHKeysPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSSHKeysRequest,ListSSHKeysPagedResponse>
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

renameInstanceCallable()

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

renameNetworkCallable()

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

renameNfsShareCallable()

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

renameVolumeCallable()

public UnaryCallable<RenameVolumeRequest,Volume> renameVolumeCallable()
Returns
TypeDescription
UnaryCallable<RenameVolumeRequest,Volume>
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

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

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

submitProvisioningConfigCallable()

public UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigCallable()
Returns
TypeDescription
UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse>
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

updateProvisioningConfigCallable()

public UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig>
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