Class BareMetalSolutionStubSettings.Builder (0.32.0)

public static class BareMetalSolutionStubSettings.Builder extends StubSettings.Builder<BareMetalSolutionStubSettings,BareMetalSolutionStubSettings.Builder>

Builder for BareMetalSolutionStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BareMetalSolutionStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BareMetalSolutionStubSettings settings)

protected Builder(BareMetalSolutionStubSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public BareMetalSolutionStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
BareMetalSolutionStubSettings.Builder

build()

public BareMetalSolutionStubSettings build()
Returns
TypeDescription
BareMetalSolutionStubSettings
Overrides
Exceptions
TypeDescription
IOException

createNfsShareOperationSettings()

public OperationCallSettings.Builder<CreateNfsShareRequest,NfsShare,OperationMetadata> createNfsShareOperationSettings()

Returns the builder for the settings used for calls to createNfsShare.

Returns
TypeDescription
Builder<CreateNfsShareRequest,NfsShare,OperationMetadata>

createNfsShareSettings()

public UnaryCallSettings.Builder<CreateNfsShareRequest,Operation> createNfsShareSettings()

Returns the builder for the settings used for calls to createNfsShare.

Returns
TypeDescription
Builder<CreateNfsShareRequest,Operation>

createProvisioningConfigSettings()

public UnaryCallSettings.Builder<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigSettings()

Returns the builder for the settings used for calls to createProvisioningConfig.

Returns
TypeDescription
Builder<CreateProvisioningConfigRequest,ProvisioningConfig>

createSSHKeySettings()

public UnaryCallSettings.Builder<CreateSSHKeyRequest,SSHKey> createSSHKeySettings()

Returns the builder for the settings used for calls to createSSHKey.

Returns
TypeDescription
Builder<CreateSSHKeyRequest,SSHKey>

createVolumeSnapshotSettings()

public UnaryCallSettings.Builder<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotSettings()

Returns the builder for the settings used for calls to createVolumeSnapshot.

Returns
TypeDescription
Builder<CreateVolumeSnapshotRequest,VolumeSnapshot>

deleteNfsShareOperationSettings()

public OperationCallSettings.Builder<DeleteNfsShareRequest,Empty,OperationMetadata> deleteNfsShareOperationSettings()

Returns the builder for the settings used for calls to deleteNfsShare.

Returns
TypeDescription
Builder<DeleteNfsShareRequest,Empty,OperationMetadata>

deleteNfsShareSettings()

public UnaryCallSettings.Builder<DeleteNfsShareRequest,Operation> deleteNfsShareSettings()

Returns the builder for the settings used for calls to deleteNfsShare.

Returns
TypeDescription
Builder<DeleteNfsShareRequest,Operation>

deleteSSHKeySettings()

public UnaryCallSettings.Builder<DeleteSSHKeyRequest,Empty> deleteSSHKeySettings()

Returns the builder for the settings used for calls to deleteSSHKey.

Returns
TypeDescription
Builder<DeleteSSHKeyRequest,Empty>

deleteVolumeSnapshotSettings()

public UnaryCallSettings.Builder<DeleteVolumeSnapshotRequest,Empty> deleteVolumeSnapshotSettings()

Returns the builder for the settings used for calls to deleteVolumeSnapshot.

Returns
TypeDescription
Builder<DeleteVolumeSnapshotRequest,Empty>

detachLunOperationSettings()

public OperationCallSettings.Builder<DetachLunRequest,Instance,OperationMetadata> detachLunOperationSettings()

Returns the builder for the settings used for calls to detachLun.

Returns
TypeDescription
Builder<DetachLunRequest,Instance,OperationMetadata>

detachLunSettings()

public UnaryCallSettings.Builder<DetachLunRequest,Operation> detachLunSettings()

Returns the builder for the settings used for calls to detachLun.

Returns
TypeDescription
Builder<DetachLunRequest,Operation>

disableInteractiveSerialConsoleOperationSettings()

public OperationCallSettings.Builder<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata> disableInteractiveSerialConsoleOperationSettings()

Returns the builder for the settings used for calls to disableInteractiveSerialConsole.

Returns
TypeDescription
Builder<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata>

disableInteractiveSerialConsoleSettings()

public UnaryCallSettings.Builder<DisableInteractiveSerialConsoleRequest,Operation> disableInteractiveSerialConsoleSettings()

Returns the builder for the settings used for calls to disableInteractiveSerialConsole.

Returns
TypeDescription
Builder<DisableInteractiveSerialConsoleRequest,Operation>

enableInteractiveSerialConsoleOperationSettings()

public OperationCallSettings.Builder<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata> enableInteractiveSerialConsoleOperationSettings()

Returns the builder for the settings used for calls to enableInteractiveSerialConsole.

Returns
TypeDescription
Builder<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata>

enableInteractiveSerialConsoleSettings()

public UnaryCallSettings.Builder<EnableInteractiveSerialConsoleRequest,Operation> enableInteractiveSerialConsoleSettings()

Returns the builder for the settings used for calls to enableInteractiveSerialConsole.

Returns
TypeDescription
Builder<EnableInteractiveSerialConsoleRequest,Operation>

evictLunOperationSettings()

public OperationCallSettings.Builder<EvictLunRequest,Empty,OperationMetadata> evictLunOperationSettings()

Returns the builder for the settings used for calls to evictLun.

Returns
TypeDescription
Builder<EvictLunRequest,Empty,OperationMetadata>

evictLunSettings()

public UnaryCallSettings.Builder<EvictLunRequest,Operation> evictLunSettings()

Returns the builder for the settings used for calls to evictLun.

Returns
TypeDescription
Builder<EvictLunRequest,Operation>

evictVolumeOperationSettings()

public OperationCallSettings.Builder<EvictVolumeRequest,Empty,OperationMetadata> evictVolumeOperationSettings()

Returns the builder for the settings used for calls to evictVolume.

Returns
TypeDescription
Builder<EvictVolumeRequest,Empty,OperationMetadata>

evictVolumeSettings()

public UnaryCallSettings.Builder<EvictVolumeRequest,Operation> evictVolumeSettings()

Returns the builder for the settings used for calls to evictVolume.

Returns
TypeDescription
Builder<EvictVolumeRequest,Operation>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

Returns the builder for the settings used for calls to getInstance.

Returns
TypeDescription
Builder<GetInstanceRequest,Instance>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getLunSettings()

public UnaryCallSettings.Builder<GetLunRequest,Lun> getLunSettings()

Returns the builder for the settings used for calls to getLun.

Returns
TypeDescription
Builder<GetLunRequest,Lun>

getNetworkSettings()

public UnaryCallSettings.Builder<GetNetworkRequest,Network> getNetworkSettings()

Returns the builder for the settings used for calls to getNetwork.

Returns
TypeDescription
Builder<GetNetworkRequest,Network>

getNfsShareSettings()

public UnaryCallSettings.Builder<GetNfsShareRequest,NfsShare> getNfsShareSettings()

Returns the builder for the settings used for calls to getNfsShare.

Returns
TypeDescription
Builder<GetNfsShareRequest,NfsShare>

getProvisioningConfigSettings()

public UnaryCallSettings.Builder<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigSettings()

Returns the builder for the settings used for calls to getProvisioningConfig.

Returns
TypeDescription
Builder<GetProvisioningConfigRequest,ProvisioningConfig>

getVolumeSettings()

public UnaryCallSettings.Builder<GetVolumeRequest,Volume> getVolumeSettings()

Returns the builder for the settings used for calls to getVolume.

Returns
TypeDescription
Builder<GetVolumeRequest,Volume>

getVolumeSnapshotSettings()

public UnaryCallSettings.Builder<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotSettings()

Returns the builder for the settings used for calls to getVolumeSnapshot.

Returns
TypeDescription
Builder<GetVolumeSnapshotRequest,VolumeSnapshot>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,BareMetalSolutionClient.ListInstancesPagedResponse> listInstancesSettings()

Returns the builder for the settings used for calls to listInstances.

Returns
TypeDescription
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,BareMetalSolutionClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listLunsSettings()

public PagedCallSettings.Builder<ListLunsRequest,ListLunsResponse,BareMetalSolutionClient.ListLunsPagedResponse> listLunsSettings()

Returns the builder for the settings used for calls to listLuns.

Returns
TypeDescription
Builder<ListLunsRequest,ListLunsResponse,ListLunsPagedResponse>

listNetworkUsageSettings()

public UnaryCallSettings.Builder<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageSettings()

Returns the builder for the settings used for calls to listNetworkUsage.

Returns
TypeDescription
Builder<ListNetworkUsageRequest,ListNetworkUsageResponse>

listNetworksSettings()

public PagedCallSettings.Builder<ListNetworksRequest,ListNetworksResponse,BareMetalSolutionClient.ListNetworksPagedResponse> listNetworksSettings()

Returns the builder for the settings used for calls to listNetworks.

Returns
TypeDescription
Builder<ListNetworksRequest,ListNetworksResponse,ListNetworksPagedResponse>

listNfsSharesSettings()

public PagedCallSettings.Builder<ListNfsSharesRequest,ListNfsSharesResponse,BareMetalSolutionClient.ListNfsSharesPagedResponse> listNfsSharesSettings()

Returns the builder for the settings used for calls to listNfsShares.

Returns
TypeDescription
Builder<ListNfsSharesRequest,ListNfsSharesResponse,ListNfsSharesPagedResponse>

listOSImagesSettings()

public PagedCallSettings.Builder<ListOSImagesRequest,ListOSImagesResponse,BareMetalSolutionClient.ListOSImagesPagedResponse> listOSImagesSettings()

Returns the builder for the settings used for calls to listOSImages.

Returns
TypeDescription
Builder<ListOSImagesRequest,ListOSImagesResponse,ListOSImagesPagedResponse>

listProvisioningQuotasSettings()

public PagedCallSettings.Builder<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse,BareMetalSolutionClient.ListProvisioningQuotasPagedResponse> listProvisioningQuotasSettings()

Returns the builder for the settings used for calls to listProvisioningQuotas.

Returns
TypeDescription
Builder<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse,ListProvisioningQuotasPagedResponse>

listSSHKeysSettings()

public PagedCallSettings.Builder<ListSSHKeysRequest,ListSSHKeysResponse,BareMetalSolutionClient.ListSSHKeysPagedResponse> listSSHKeysSettings()

Returns the builder for the settings used for calls to listSSHKeys.

Returns
TypeDescription
Builder<ListSSHKeysRequest,ListSSHKeysResponse,ListSSHKeysPagedResponse>

listVolumeSnapshotsSettings()

public PagedCallSettings.Builder<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse,BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsSettings()

Returns the builder for the settings used for calls to listVolumeSnapshots.

Returns
TypeDescription
Builder<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse,ListVolumeSnapshotsPagedResponse>

listVolumesSettings()

public PagedCallSettings.Builder<ListVolumesRequest,ListVolumesResponse,BareMetalSolutionClient.ListVolumesPagedResponse> listVolumesSettings()

Returns the builder for the settings used for calls to listVolumes.

Returns
TypeDescription
Builder<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse>

renameInstanceSettings()

public UnaryCallSettings.Builder<RenameInstanceRequest,Instance> renameInstanceSettings()

Returns the builder for the settings used for calls to renameInstance.

Returns
TypeDescription
Builder<RenameInstanceRequest,Instance>

renameNetworkSettings()

public UnaryCallSettings.Builder<RenameNetworkRequest,Network> renameNetworkSettings()

Returns the builder for the settings used for calls to renameNetwork.

Returns
TypeDescription
Builder<RenameNetworkRequest,Network>

renameNfsShareSettings()

public UnaryCallSettings.Builder<RenameNfsShareRequest,NfsShare> renameNfsShareSettings()

Returns the builder for the settings used for calls to renameNfsShare.

Returns
TypeDescription
Builder<RenameNfsShareRequest,NfsShare>

renameVolumeSettings()

public UnaryCallSettings.Builder<RenameVolumeRequest,Volume> renameVolumeSettings()

Returns the builder for the settings used for calls to renameVolume.

Returns
TypeDescription
Builder<RenameVolumeRequest,Volume>

resetInstanceOperationSettings()

public OperationCallSettings.Builder<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata> resetInstanceOperationSettings()

Returns the builder for the settings used for calls to resetInstance.

Returns
TypeDescription
Builder<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata>

resetInstanceSettings()

public UnaryCallSettings.Builder<ResetInstanceRequest,Operation> resetInstanceSettings()

Returns the builder for the settings used for calls to resetInstance.

Returns
TypeDescription
Builder<ResetInstanceRequest,Operation>

resizeVolumeOperationSettings()

public OperationCallSettings.Builder<ResizeVolumeRequest,Volume,OperationMetadata> resizeVolumeOperationSettings()

Returns the builder for the settings used for calls to resizeVolume.

Returns
TypeDescription
Builder<ResizeVolumeRequest,Volume,OperationMetadata>

resizeVolumeSettings()

public UnaryCallSettings.Builder<ResizeVolumeRequest,Operation> resizeVolumeSettings()

Returns the builder for the settings used for calls to resizeVolume.

Returns
TypeDescription
Builder<ResizeVolumeRequest,Operation>

restoreVolumeSnapshotOperationSettings()

public OperationCallSettings.Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata> restoreVolumeSnapshotOperationSettings()

Returns the builder for the settings used for calls to restoreVolumeSnapshot.

Returns
TypeDescription
Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata>

restoreVolumeSnapshotSettings()

public UnaryCallSettings.Builder<RestoreVolumeSnapshotRequest,Operation> restoreVolumeSnapshotSettings()

Returns the builder for the settings used for calls to restoreVolumeSnapshot.

Returns
TypeDescription
Builder<RestoreVolumeSnapshotRequest,Operation>

startInstanceOperationSettings()

public OperationCallSettings.Builder<StartInstanceRequest,StartInstanceResponse,OperationMetadata> startInstanceOperationSettings()

Returns the builder for the settings used for calls to startInstance.

Returns
TypeDescription
Builder<StartInstanceRequest,StartInstanceResponse,OperationMetadata>

startInstanceSettings()

public UnaryCallSettings.Builder<StartInstanceRequest,Operation> startInstanceSettings()

Returns the builder for the settings used for calls to startInstance.

Returns
TypeDescription
Builder<StartInstanceRequest,Operation>

stopInstanceOperationSettings()

public OperationCallSettings.Builder<StopInstanceRequest,StopInstanceResponse,OperationMetadata> stopInstanceOperationSettings()

Returns the builder for the settings used for calls to stopInstance.

Returns
TypeDescription
Builder<StopInstanceRequest,StopInstanceResponse,OperationMetadata>

stopInstanceSettings()

public UnaryCallSettings.Builder<StopInstanceRequest,Operation> stopInstanceSettings()

Returns the builder for the settings used for calls to stopInstance.

Returns
TypeDescription
Builder<StopInstanceRequest,Operation>

submitProvisioningConfigSettings()

public UnaryCallSettings.Builder<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigSettings()

Returns the builder for the settings used for calls to submitProvisioningConfig.

Returns
TypeDescription
Builder<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
TypeDescription
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
TypeDescription
Builder<UpdateInstanceRequest,Operation>

updateNetworkOperationSettings()

public OperationCallSettings.Builder<UpdateNetworkRequest,Network,OperationMetadata> updateNetworkOperationSettings()

Returns the builder for the settings used for calls to updateNetwork.

Returns
TypeDescription
Builder<UpdateNetworkRequest,Network,OperationMetadata>

updateNetworkSettings()

public UnaryCallSettings.Builder<UpdateNetworkRequest,Operation> updateNetworkSettings()

Returns the builder for the settings used for calls to updateNetwork.

Returns
TypeDescription
Builder<UpdateNetworkRequest,Operation>

updateNfsShareOperationSettings()

public OperationCallSettings.Builder<UpdateNfsShareRequest,NfsShare,OperationMetadata> updateNfsShareOperationSettings()

Returns the builder for the settings used for calls to updateNfsShare.

Returns
TypeDescription
Builder<UpdateNfsShareRequest,NfsShare,OperationMetadata>

updateNfsShareSettings()

public UnaryCallSettings.Builder<UpdateNfsShareRequest,Operation> updateNfsShareSettings()

Returns the builder for the settings used for calls to updateNfsShare.

Returns
TypeDescription
Builder<UpdateNfsShareRequest,Operation>

updateProvisioningConfigSettings()

public UnaryCallSettings.Builder<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigSettings()

Returns the builder for the settings used for calls to updateProvisioningConfig.

Returns
TypeDescription
Builder<UpdateProvisioningConfigRequest,ProvisioningConfig>

updateVolumeOperationSettings()

public OperationCallSettings.Builder<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationSettings()

Returns the builder for the settings used for calls to updateVolume.

Returns
TypeDescription
Builder<UpdateVolumeRequest,Volume,OperationMetadata>

updateVolumeSettings()

public UnaryCallSettings.Builder<UpdateVolumeRequest,Operation> updateVolumeSettings()

Returns the builder for the settings used for calls to updateVolume.

Returns
TypeDescription
Builder<UpdateVolumeRequest,Operation>