Class RegionHealthChecksStubSettings.Builder (1.45.0)

See more code actions.
public static class RegionHealthChecksStubSettings.Builder extends StubSettings.Builder<RegionHealthChecksStubSettings,RegionHealthChecksStubSettings.Builder>

Builder for RegionHealthChecksStubSettings.

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>

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.

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

patchOperationSettings()

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

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

patchSettings()

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

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

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.

updateSettings()

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

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