Class BareMetalSolutionSettings.Builder (0.46.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
Name Description
clientContext ClientContext

Builder(BareMetalSolutionSettings settings)

protected Builder(BareMetalSolutionSettings settings)
Parameter
Name Description
settings BareMetalSolutionSettings

Builder(BareMetalSolutionStubSettings.Builder stubSettings)

protected Builder(BareMetalSolutionStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings BareMetalSolutionStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
BareMetalSolutionSettings.Builder

build()

public BareMetalSolutionSettings build()
Returns
Type Description
BareMetalSolutionSettings
Overrides
Exceptions
Type Description
IOException

createNfsShareOperationSettings()

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

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

Returns
Type Description
Builder<CreateNfsShareRequest,NfsShare,OperationMetadata>

createNfsShareSettings()

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

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

Returns
Type Description
Builder<CreateNfsShareRequest,Operation>

createProvisioningConfigSettings()

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

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

Returns
Type Description
Builder<CreateProvisioningConfigRequest,ProvisioningConfig>

createSSHKeySettings()

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

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

Returns
Type Description
Builder<CreateSSHKeyRequest,SSHKey>

createVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<CreateVolumeSnapshotRequest,VolumeSnapshot>

deleteNfsShareOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNfsShareRequest,Empty,OperationMetadata>

deleteNfsShareSettings()

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

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

Returns
Type Description
Builder<DeleteNfsShareRequest,Operation>

deleteSSHKeySettings()

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

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

Returns
Type Description
Builder<DeleteSSHKeyRequest,Empty>

deleteVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<DeleteVolumeSnapshotRequest,Empty>

detachLunOperationSettings()

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

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

Returns
Type Description
Builder<DetachLunRequest,Instance,OperationMetadata>

detachLunSettings()

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

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

Returns
Type Description
Builder<DetachLunRequest,Operation>

disableInteractiveSerialConsoleOperationSettings()

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

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

Returns
Type Description
Builder<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse,OperationMetadata>

disableInteractiveSerialConsoleSettings()

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

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

Returns
Type Description
Builder<DisableInteractiveSerialConsoleRequest,Operation>

enableInteractiveSerialConsoleOperationSettings()

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

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

Returns
Type Description
Builder<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse,OperationMetadata>

enableInteractiveSerialConsoleSettings()

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

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

Returns
Type Description
Builder<EnableInteractiveSerialConsoleRequest,Operation>

evictLunOperationSettings()

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

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

Returns
Type Description
Builder<EvictLunRequest,Empty,OperationMetadata>

evictLunSettings()

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

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

Returns
Type Description
Builder<EvictLunRequest,Operation>

evictVolumeOperationSettings()

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

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

Returns
Type Description
Builder<EvictVolumeRequest,Empty,OperationMetadata>

evictVolumeSettings()

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

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

Returns
Type Description
Builder<EvictVolumeRequest,Operation>

getInstanceSettings()

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

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

Returns
Type Description
Builder<GetInstanceRequest,Instance>

getLocationSettings()

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

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

Returns
Type Description
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
Type Description
Builder<GetLunRequest,Lun>

getNetworkSettings()

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

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

Returns
Type Description
Builder<GetNetworkRequest,Network>

getNfsShareSettings()

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

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

Returns
Type Description
Builder<GetNfsShareRequest,NfsShare>

getProvisioningConfigSettings()

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

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

Returns
Type Description
Builder<GetProvisioningConfigRequest,ProvisioningConfig>

getStubSettingsBuilder()

public BareMetalSolutionStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
BareMetalSolutionStubSettings.Builder

getVolumeSettings()

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

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

Returns
Type Description
Builder<GetVolumeRequest,Volume>

getVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<GetVolumeSnapshotRequest,VolumeSnapshot>

listInstancesSettings()

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

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

Returns
Type Description
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
Type Description
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
Type Description
Builder<ListLunsRequest,ListLunsResponse,ListLunsPagedResponse>

listNetworkUsageSettings()

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

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

Returns
Type Description
Builder<ListNetworkUsageRequest,ListNetworkUsageResponse>

listNetworksSettings()

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse>

renameInstanceSettings()

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

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

Returns
Type Description
Builder<RenameInstanceRequest,Instance>

renameNetworkSettings()

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

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

Returns
Type Description
Builder<RenameNetworkRequest,Network>

renameNfsShareSettings()

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

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

Returns
Type Description
Builder<RenameNfsShareRequest,NfsShare>

renameVolumeSettings()

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

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

Returns
Type Description
Builder<RenameVolumeRequest,Volume>

resetInstanceOperationSettings()

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

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

Returns
Type Description
Builder<ResetInstanceRequest,ResetInstanceResponse,OperationMetadata>

resetInstanceSettings()

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

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

Returns
Type Description
Builder<ResetInstanceRequest,Operation>

resizeVolumeOperationSettings()

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

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

Returns
Type Description
Builder<ResizeVolumeRequest,Volume,OperationMetadata>

resizeVolumeSettings()

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

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

Returns
Type Description
Builder<ResizeVolumeRequest,Operation>

restoreVolumeSnapshotOperationSettings()

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

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

Returns
Type Description
Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot,OperationMetadata>

restoreVolumeSnapshotSettings()

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

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

Returns
Type Description
Builder<RestoreVolumeSnapshotRequest,Operation>

startInstanceOperationSettings()

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

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

Returns
Type Description
Builder<StartInstanceRequest,StartInstanceResponse,OperationMetadata>

startInstanceSettings()

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

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

Returns
Type Description
Builder<StartInstanceRequest,Operation>

stopInstanceOperationSettings()

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

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

Returns
Type Description
Builder<StopInstanceRequest,StopInstanceResponse,OperationMetadata>

stopInstanceSettings()

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

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

Returns
Type Description
Builder<StopInstanceRequest,Operation>

submitProvisioningConfigSettings()

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

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

Returns
Type Description
Builder<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse>

updateInstanceOperationSettings()

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

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

Returns
Type Description
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

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

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

Returns
Type Description
Builder<UpdateInstanceRequest,Operation>

updateNetworkOperationSettings()

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

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

Returns
Type Description
Builder<UpdateNetworkRequest,Network,OperationMetadata>

updateNetworkSettings()

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

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

Returns
Type Description
Builder<UpdateNetworkRequest,Operation>

updateNfsShareOperationSettings()

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

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

Returns
Type Description
Builder<UpdateNfsShareRequest,NfsShare,OperationMetadata>

updateNfsShareSettings()

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

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

Returns
Type Description
Builder<UpdateNfsShareRequest,Operation>

updateProvisioningConfigSettings()

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

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

Returns
Type Description
Builder<UpdateProvisioningConfigRequest,ProvisioningConfig>

updateVolumeOperationSettings()

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

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

Returns
Type Description
Builder<UpdateVolumeRequest,Volume,OperationMetadata>

updateVolumeSettings()

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

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

Returns
Type Description
Builder<UpdateVolumeRequest,Operation>