Class HealthChecksSettings.Builder (1.105.0)

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

Builder for HealthChecksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > HealthChecksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(HealthChecksSettings settings)

protected Builder(HealthChecksSettings settings)
Parameter
Name Description
settings HealthChecksSettings

Builder(HealthChecksStubSettings.Builder stubSettings)

protected Builder(HealthChecksStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings HealthChecksStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListHealthChecksRequest,HealthChecksAggregatedList,HealthChecksClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListHealthChecksRequest,HealthChecksAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteHealthCheckRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteHealthCheckRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteHealthCheckRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteHealthCheckRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetHealthCheckRequest,HealthCheck> getSettings()

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

Returns
Type Description
Builder<GetHealthCheckRequest,HealthCheck>

getStubSettingsBuilder()

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

insertOperationSettings()

public OperationCallSettings.Builder<InsertHealthCheckRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertHealthCheckRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertHealthCheckRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertHealthCheckRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListHealthChecksRequest,HealthCheckList,HealthChecksClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListHealthChecksRequest,HealthCheckList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchHealthCheckRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchHealthCheckRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchHealthCheckRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchHealthCheckRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsHealthCheckRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsHealthCheckRequest,TestPermissionsResponse>

updateOperationSettings()

public OperationCallSettings.Builder<UpdateHealthCheckRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateHealthCheckRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateHealthCheckRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateHealthCheckRequest,Operation>