Class HealthChecksStubSettings.Builder (1.12.0)

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

Builder for HealthChecksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > HealthChecksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(HealthChecksStubSettings settings)

protected Builder(HealthChecksStubSettings settings)
Parameter
NameDescription
settingsHealthChecksStubSettings

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
Builder<AggregatedListHealthChecksRequest,HealthChecksAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteHealthCheckRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteHealthCheckRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetHealthCheckRequest,HealthCheck>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertHealthCheckRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertHealthCheckRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListHealthChecksRequest,HealthCheckList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchHealthCheckRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchHealthCheckRequest,Operation>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateHealthCheckRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateHealthCheckRequest,Operation>