Class BareMetalSolutionSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BareMetalSolutionSettings,BareMetalSolutionSettings.Builder>
com.google.cloud.baremetalsolution.v2.BareMetalSolutionSettings.Builder
- Enclosing class:
- BareMetalSolutionSettings
public static class BareMetalSolutionSettings.Builder
extends ClientSettings.Builder<BareMetalSolutionSettings,BareMetalSolutionSettings.Builder>
Builder for BareMetalSolutionSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(BareMetalSolutionSettings settings) protectedBuilder(BareMetalSolutionStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createNfsShare.Returns the builder for the settings used for calls to createNfsShare.Returns the builder for the settings used for calls to createProvisioningConfig.Returns the builder for the settings used for calls to createSSHKey.Returns the builder for the settings used for calls to createVolumeSnapshot.OperationCallSettings.Builder<DeleteNfsShareRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteNfsShare.Returns the builder for the settings used for calls to deleteNfsShare.UnaryCallSettings.Builder<DeleteSSHKeyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSSHKey.UnaryCallSettings.Builder<DeleteVolumeSnapshotRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteVolumeSnapshot.Returns the builder for the settings used for calls to detachLun.Returns the builder for the settings used for calls to detachLun.OperationCallSettings.Builder<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse, OperationMetadata> Returns the builder for the settings used for calls to disableInteractiveSerialConsole.Returns the builder for the settings used for calls to disableInteractiveSerialConsole.OperationCallSettings.Builder<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse, OperationMetadata> Returns the builder for the settings used for calls to enableInteractiveSerialConsole.Returns the builder for the settings used for calls to enableInteractiveSerialConsole.OperationCallSettings.Builder<EvictLunRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to evictLun.Returns the builder for the settings used for calls to evictLun.OperationCallSettings.Builder<EvictVolumeRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to evictVolume.Returns the builder for the settings used for calls to evictVolume.Returns the builder for the settings used for calls to getInstance.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getLun.Returns the builder for the settings used for calls to getNetwork.Returns the builder for the settings used for calls to getNfsShare.Returns the builder for the settings used for calls to getProvisioningConfig.Returns the builder for the settings used for calls to getVolume.Returns the builder for the settings used for calls to getVolumeSnapshot.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, BareMetalSolutionClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, BareMetalSolutionClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListLunsRequest,ListLunsResponse, BareMetalSolutionClient.ListLunsPagedResponse> Returns the builder for the settings used for calls to listLuns.PagedCallSettings.Builder<ListNetworksRequest,ListNetworksResponse, BareMetalSolutionClient.ListNetworksPagedResponse> Returns the builder for the settings used for calls to listNetworks.Returns the builder for the settings used for calls to listNetworkUsage.PagedCallSettings.Builder<ListNfsSharesRequest,ListNfsSharesResponse, BareMetalSolutionClient.ListNfsSharesPagedResponse> Returns the builder for the settings used for calls to listNfsShares.PagedCallSettings.Builder<ListOSImagesRequest,ListOSImagesResponse, BareMetalSolutionClient.ListOSImagesPagedResponse> Returns the builder for the settings used for calls to listOSImages.PagedCallSettings.Builder<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse, BareMetalSolutionClient.ListProvisioningQuotasPagedResponse> Returns the builder for the settings used for calls to listProvisioningQuotas.PagedCallSettings.Builder<ListSSHKeysRequest,ListSSHKeysResponse, BareMetalSolutionClient.ListSSHKeysPagedResponse> Returns the builder for the settings used for calls to listSSHKeys.PagedCallSettings.Builder<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse, BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> Returns the builder for the settings used for calls to listVolumeSnapshots.PagedCallSettings.Builder<ListVolumesRequest,ListVolumesResponse, BareMetalSolutionClient.ListVolumesPagedResponse> Returns the builder for the settings used for calls to listVolumes.Returns the builder for the settings used for calls to renameInstance.Returns the builder for the settings used for calls to renameNetwork.Returns the builder for the settings used for calls to renameNfsShare.Returns the builder for the settings used for calls to renameVolume.Returns the builder for the settings used for calls to resetInstance.Returns the builder for the settings used for calls to resetInstance.Returns the builder for the settings used for calls to resizeVolume.Returns the builder for the settings used for calls to resizeVolume.Returns the builder for the settings used for calls to restoreVolumeSnapshot.Returns the builder for the settings used for calls to restoreVolumeSnapshot.Returns the builder for the settings used for calls to startInstance.Returns the builder for the settings used for calls to startInstance.Returns the builder for the settings used for calls to stopInstance.Returns the builder for the settings used for calls to stopInstance.Returns the builder for the settings used for calls to submitProvisioningConfig.Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to updateNetwork.Returns the builder for the settings used for calls to updateNetwork.Returns the builder for the settings used for calls to updateNfsShare.Returns the builder for the settings used for calls to updateNfsShare.Returns the builder for the settings used for calls to updateProvisioningConfig.Returns the builder for the settings used for calls to updateVolume.Returns the builder for the settings used for calls to updateVolume.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
listInstancesSettings
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, listInstancesSettings()BareMetalSolutionClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances. -
getInstanceSettings
Returns the builder for the settings used for calls to getInstance. -
updateInstanceSettings
Returns the builder for the settings used for calls to updateInstance. -
updateInstanceOperationSettings
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance, updateInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateInstance. -
renameInstanceSettings
Returns the builder for the settings used for calls to renameInstance. -
resetInstanceSettings
Returns the builder for the settings used for calls to resetInstance. -
resetInstanceOperationSettings
public OperationCallSettings.Builder<ResetInstanceRequest,ResetInstanceResponse, resetInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to resetInstance. -
startInstanceSettings
Returns the builder for the settings used for calls to startInstance. -
startInstanceOperationSettings
public OperationCallSettings.Builder<StartInstanceRequest,StartInstanceResponse, startInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to startInstance. -
stopInstanceSettings
Returns the builder for the settings used for calls to stopInstance. -
stopInstanceOperationSettings
public OperationCallSettings.Builder<StopInstanceRequest,StopInstanceResponse, stopInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to stopInstance. -
enableInteractiveSerialConsoleSettings
public UnaryCallSettings.Builder<EnableInteractiveSerialConsoleRequest,Operation> enableInteractiveSerialConsoleSettings()Returns the builder for the settings used for calls to enableInteractiveSerialConsole. -
enableInteractiveSerialConsoleOperationSettings
public OperationCallSettings.Builder<EnableInteractiveSerialConsoleRequest,EnableInteractiveSerialConsoleResponse, enableInteractiveSerialConsoleOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to enableInteractiveSerialConsole. -
disableInteractiveSerialConsoleSettings
public UnaryCallSettings.Builder<DisableInteractiveSerialConsoleRequest,Operation> disableInteractiveSerialConsoleSettings()Returns the builder for the settings used for calls to disableInteractiveSerialConsole. -
disableInteractiveSerialConsoleOperationSettings
public OperationCallSettings.Builder<DisableInteractiveSerialConsoleRequest,DisableInteractiveSerialConsoleResponse, disableInteractiveSerialConsoleOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to disableInteractiveSerialConsole. -
detachLunSettings
Returns the builder for the settings used for calls to detachLun. -
detachLunOperationSettings
public OperationCallSettings.Builder<DetachLunRequest,Instance, detachLunOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to detachLun. -
listSSHKeysSettings
public PagedCallSettings.Builder<ListSSHKeysRequest,ListSSHKeysResponse, listSSHKeysSettings()BareMetalSolutionClient.ListSSHKeysPagedResponse> Returns the builder for the settings used for calls to listSSHKeys. -
createSSHKeySettings
Returns the builder for the settings used for calls to createSSHKey. -
deleteSSHKeySettings
public UnaryCallSettings.Builder<DeleteSSHKeyRequest,com.google.protobuf.Empty> deleteSSHKeySettings()Returns the builder for the settings used for calls to deleteSSHKey. -
listVolumesSettings
public PagedCallSettings.Builder<ListVolumesRequest,ListVolumesResponse, listVolumesSettings()BareMetalSolutionClient.ListVolumesPagedResponse> Returns the builder for the settings used for calls to listVolumes. -
getVolumeSettings
Returns the builder for the settings used for calls to getVolume. -
updateVolumeSettings
Returns the builder for the settings used for calls to updateVolume. -
updateVolumeOperationSettings
public OperationCallSettings.Builder<UpdateVolumeRequest,Volume, updateVolumeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateVolume. -
renameVolumeSettings
Returns the builder for the settings used for calls to renameVolume. -
evictVolumeSettings
Returns the builder for the settings used for calls to evictVolume. -
evictVolumeOperationSettings
public OperationCallSettings.Builder<EvictVolumeRequest,com.google.protobuf.Empty, evictVolumeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to evictVolume. -
resizeVolumeSettings
Returns the builder for the settings used for calls to resizeVolume. -
resizeVolumeOperationSettings
public OperationCallSettings.Builder<ResizeVolumeRequest,Volume, resizeVolumeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to resizeVolume. -
listNetworksSettings
public PagedCallSettings.Builder<ListNetworksRequest,ListNetworksResponse, listNetworksSettings()BareMetalSolutionClient.ListNetworksPagedResponse> Returns the builder for the settings used for calls to listNetworks. -
listNetworkUsageSettings
public UnaryCallSettings.Builder<ListNetworkUsageRequest,ListNetworkUsageResponse> listNetworkUsageSettings()Returns the builder for the settings used for calls to listNetworkUsage. -
getNetworkSettings
Returns the builder for the settings used for calls to getNetwork. -
updateNetworkSettings
Returns the builder for the settings used for calls to updateNetwork. -
updateNetworkOperationSettings
public OperationCallSettings.Builder<UpdateNetworkRequest,Network, updateNetworkOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateNetwork. -
createVolumeSnapshotSettings
public UnaryCallSettings.Builder<CreateVolumeSnapshotRequest,VolumeSnapshot> createVolumeSnapshotSettings()Returns the builder for the settings used for calls to createVolumeSnapshot. -
restoreVolumeSnapshotSettings
public UnaryCallSettings.Builder<RestoreVolumeSnapshotRequest,Operation> restoreVolumeSnapshotSettings()Returns the builder for the settings used for calls to restoreVolumeSnapshot. -
restoreVolumeSnapshotOperationSettings
public OperationCallSettings.Builder<RestoreVolumeSnapshotRequest,VolumeSnapshot, restoreVolumeSnapshotOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to restoreVolumeSnapshot. -
deleteVolumeSnapshotSettings
public UnaryCallSettings.Builder<DeleteVolumeSnapshotRequest,com.google.protobuf.Empty> deleteVolumeSnapshotSettings()Returns the builder for the settings used for calls to deleteVolumeSnapshot. -
getVolumeSnapshotSettings
public UnaryCallSettings.Builder<GetVolumeSnapshotRequest,VolumeSnapshot> getVolumeSnapshotSettings()Returns the builder for the settings used for calls to getVolumeSnapshot. -
listVolumeSnapshotsSettings
public PagedCallSettings.Builder<ListVolumeSnapshotsRequest,ListVolumeSnapshotsResponse, listVolumeSnapshotsSettings()BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse> Returns the builder for the settings used for calls to listVolumeSnapshots. -
getLunSettings
Returns the builder for the settings used for calls to getLun. -
listLunsSettings
public PagedCallSettings.Builder<ListLunsRequest,ListLunsResponse, listLunsSettings()BareMetalSolutionClient.ListLunsPagedResponse> Returns the builder for the settings used for calls to listLuns. -
evictLunSettings
Returns the builder for the settings used for calls to evictLun. -
evictLunOperationSettings
public OperationCallSettings.Builder<EvictLunRequest,com.google.protobuf.Empty, evictLunOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to evictLun. -
listProvisioningQuotasSettings
public PagedCallSettings.Builder<ListProvisioningQuotasRequest,ListProvisioningQuotasResponse, listProvisioningQuotasSettings()BareMetalSolutionClient.ListProvisioningQuotasPagedResponse> Returns the builder for the settings used for calls to listProvisioningQuotas. -
submitProvisioningConfigSettings
public UnaryCallSettings.Builder<SubmitProvisioningConfigRequest,SubmitProvisioningConfigResponse> submitProvisioningConfigSettings()Returns the builder for the settings used for calls to submitProvisioningConfig. -
getProvisioningConfigSettings
public UnaryCallSettings.Builder<GetProvisioningConfigRequest,ProvisioningConfig> getProvisioningConfigSettings()Returns the builder for the settings used for calls to getProvisioningConfig. -
createProvisioningConfigSettings
public UnaryCallSettings.Builder<CreateProvisioningConfigRequest,ProvisioningConfig> createProvisioningConfigSettings()Returns the builder for the settings used for calls to createProvisioningConfig. -
updateProvisioningConfigSettings
public UnaryCallSettings.Builder<UpdateProvisioningConfigRequest,ProvisioningConfig> updateProvisioningConfigSettings()Returns the builder for the settings used for calls to updateProvisioningConfig. -
renameNetworkSettings
Returns the builder for the settings used for calls to renameNetwork. -
listOSImagesSettings
public PagedCallSettings.Builder<ListOSImagesRequest,ListOSImagesResponse, listOSImagesSettings()BareMetalSolutionClient.ListOSImagesPagedResponse> Returns the builder for the settings used for calls to listOSImages. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()BareMetalSolutionClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<BareMetalSolutionSettings,BareMetalSolutionSettings.Builder> - Throws:
IOException
-