Class GrpcBareMetalSolutionStub (0.42.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcBareMetalSolutionStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcBareMetalSolutionStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcBareMetalSolutionStub
Exceptions
Type Description
IOException

create(BareMetalSolutionStubSettings settings)

public static final GrpcBareMetalSolutionStub create(BareMetalSolutionStubSettings settings)
Parameter
Name Description
settings BareMetalSolutionStubSettings
Returns
Type Description
GrpcBareMetalSolutionStub
Exceptions
Type Description
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
Name Description
settings BareMetalSolutionStubSettings
clientContext ClientContext

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
Name Description
settings BareMetalSolutionStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createNfsShareCallable()

public UnaryCallable<CreateNfsShareRequest,Operation> createNfsShareCallable()
Returns
Type Description
UnaryCallable<CreateNfsShareRequest,Operation>
Overrides

createNfsShareOperationCallable()

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

createProvisioningConfigCallable()

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

createSSHKeyCallable()

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

createVolumeSnapshotCallable()

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

deleteNfsShareCallable()

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

deleteNfsShareOperationCallable()

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

deleteSSHKeyCallable()

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

deleteVolumeSnapshotCallable()

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

detachLunCallable()

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

detachLunOperationCallable()

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

disableInteractiveSerialConsoleCallable()

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

disableInteractiveSerialConsoleOperationCallable()

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

enableInteractiveSerialConsoleCallable()

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

enableInteractiveSerialConsoleOperationCallable()

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

evictLunCallable()

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

evictLunOperationCallable()

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

evictVolumeCallable()

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

evictVolumeOperationCallable()

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

getInstanceCallable()

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

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getLunCallable()

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

getNetworkCallable()

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

getNfsShareCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getProvisioningConfigCallable()

public UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigCallable()
Returns
Type Description
UnaryCallable<GetProvisioningConfigRequest,ProvisioningConfig>
Overrides

getVolumeCallable()

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

getVolumeSnapshotCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInstancesCallable()

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

listInstancesPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listLunsCallable()

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

listLunsPagedCallable()

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

listNetworkUsageCallable()

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

listNetworksCallable()

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

listNetworksPagedCallable()

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

listNfsSharesCallable()

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

listNfsSharesPagedCallable()

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

listOSImagesCallable()

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

listOSImagesPagedCallable()

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

listProvisioningQuotasCallable()

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

listProvisioningQuotasPagedCallable()

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

listSSHKeysCallable()

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

listSSHKeysPagedCallable()

public UnaryCallable<ListSSHKeysRequest,BareMetalSolutionClient.ListSSHKeysPagedResponse> listSSHKeysPagedCallable()
Returns
Type Description
UnaryCallable<ListSSHKeysRequest,ListSSHKeysPagedResponse>
Overrides

listVolumeSnapshotsCallable()

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

listVolumeSnapshotsPagedCallable()

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

listVolumesCallable()

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

listVolumesPagedCallable()

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

renameInstanceCallable()

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

renameNetworkCallable()

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

renameNfsShareCallable()

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

renameVolumeCallable()

public UnaryCallable<RenameVolumeRequest,Volume> renameVolumeCallable()
Returns
Type Description
UnaryCallable<RenameVolumeRequest,Volume>
Overrides

resetInstanceCallable()

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

resetInstanceOperationCallable()

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

resizeVolumeCallable()

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

resizeVolumeOperationCallable()

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

restoreVolumeSnapshotCallable()

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

restoreVolumeSnapshotOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startInstanceCallable()

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

startInstanceOperationCallable()

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

stopInstanceCallable()

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

stopInstanceOperationCallable()

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

submitProvisioningConfigCallable()

public UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigCallable()
Returns
Type Description
UnaryCallable<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse>
Overrides

updateInstanceCallable()

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

updateInstanceOperationCallable()

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

updateNetworkCallable()

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

updateNetworkOperationCallable()

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

updateNfsShareCallable()

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

updateNfsShareOperationCallable()

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

updateProvisioningConfigCallable()

public UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigCallable()
Returns
Type Description
UnaryCallable<UpdateProvisioningConfigRequest,ProvisioningConfig>
Overrides

updateVolumeCallable()

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

updateVolumeOperationCallable()

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