Class BareMetalSolutionSettings.Builder (0.41.0)

public static class BareMetalSolutionSettings.Builder extends ClientSettings.Builder<BareMetalSolutionSettings,BareMetalSolutionSettings.Builder>

Builder for BareMetalSolutionSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BareMetalSolutionSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BareMetalSolutionSettings settings)

protected Builder(BareMetalSolutionSettings settings)
Parameter
NameDescription
settingsBareMetalSolutionSettings

Builder(BareMetalSolutionStubSettings.Builder stubSettings)

protected Builder(BareMetalSolutionStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBareMetalSolutionStubSettings.Builder

Methods

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

public BareMetalSolutionSettings.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
BareMetalSolutionSettings.Builder

build()

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

createNfsShareOperationSettings()

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

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

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.

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.

deleteNfsShareOperationSettings()

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

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

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.

detachLunOperationSettings()

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

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

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.

disableInteractiveSerialConsoleSettings()

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

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

enableInteractiveSerialConsoleOperationSettings()

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

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

enableInteractiveSerialConsoleSettings()

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

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

evictLunOperationSettings()

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

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

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.

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.

getStubSettingsBuilder()

public BareMetalSolutionStubSettings.Builder getStubSettingsBuilder()

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.

listInstancesSettings()

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

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

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.

listNetworkUsageSettings()

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

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

listNetworksSettings()

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

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

listNfsSharesSettings()

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

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

listOSImagesSettings()

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

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

listProvisioningQuotasSettings()

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

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

listSSHKeysSettings()

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

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

listVolumeSnapshotsSettings()

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

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

listVolumesSettings()

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

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

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.

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.

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.

restoreVolumeSnapshotSettings()

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

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

startInstanceOperationSettings()

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

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

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.

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.

updateInstanceOperationSettings()

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

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

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.

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.

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.

updateVolumeOperationSettings()

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

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

updateVolumeSettings()

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

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

Returns
TypeDescription
Builder<UpdateVolumeRequest,Operation>