Class RegionHealthChecksStubSettings.Builder (1.24.0)

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

Builder for RegionHealthChecksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionHealthChecksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionHealthChecksStubSettings settings)

protected Builder(RegionHealthChecksStubSettings settings)
Parameter
NameDescription
settingsRegionHealthChecksStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionHealthCheckRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionHealthCheckRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionHealthCheckRequest,HealthCheck>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionHealthCheckRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionHealthCheckRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionHealthChecksRequest,HealthCheckList,RegionHealthChecksClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListRegionHealthChecksRequest,HealthCheckList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionHealthCheckRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionHealthCheckRequest,Operation>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionHealthCheckRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionHealthCheckRequest,Operation>