Class UptimeCheckServiceStubSettings.Builder (3.55.0)

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

Builder for UptimeCheckServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > UptimeCheckServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(UptimeCheckServiceStubSettings settings)

protected Builder(UptimeCheckServiceStubSettings settings)
Parameter
Name Description
settings UptimeCheckServiceStubSettings

Methods

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

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

build()

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

createUptimeCheckConfigSettings()

public UnaryCallSettings.Builder<CreateUptimeCheckConfigRequest,UptimeCheckConfig> createUptimeCheckConfigSettings()

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

Returns
Type Description
Builder<CreateUptimeCheckConfigRequest,UptimeCheckConfig>

deleteUptimeCheckConfigSettings()

public UnaryCallSettings.Builder<DeleteUptimeCheckConfigRequest,Empty> deleteUptimeCheckConfigSettings()

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

Returns
Type Description
Builder<DeleteUptimeCheckConfigRequest,Empty>

getUptimeCheckConfigSettings()

public UnaryCallSettings.Builder<GetUptimeCheckConfigRequest,UptimeCheckConfig> getUptimeCheckConfigSettings()

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

Returns
Type Description
Builder<GetUptimeCheckConfigRequest,UptimeCheckConfig>

listUptimeCheckConfigsSettings()

public PagedCallSettings.Builder<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse,UptimeCheckServiceClient.ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings()

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

Returns
Type Description
Builder<ListUptimeCheckConfigsRequest,ListUptimeCheckConfigsResponse,ListUptimeCheckConfigsPagedResponse>

listUptimeCheckIpsSettings()

public PagedCallSettings.Builder<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> listUptimeCheckIpsSettings()

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

Returns
Type Description
Builder<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse,ListUptimeCheckIpsPagedResponse>

unaryMethodSettingsBuilders()

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

updateUptimeCheckConfigSettings()

public UnaryCallSettings.Builder<UpdateUptimeCheckConfigRequest,UptimeCheckConfig> updateUptimeCheckConfigSettings()

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

Returns
Type Description
Builder<UpdateUptimeCheckConfigRequest,UptimeCheckConfig>