Class UptimeCheckServiceSettings.Builder (3.45.0)

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

Builder for UptimeCheckServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > UptimeCheckServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(UptimeCheckServiceSettings settings)

protected Builder(UptimeCheckServiceSettings settings)
Parameter
Name Description
settings UptimeCheckServiceSettings

Builder(UptimeCheckServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public UptimeCheckServiceSettings build()
Returns
Type Description
UptimeCheckServiceSettings
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>

getStubSettingsBuilder()

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

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>

updateUptimeCheckConfigSettings()

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

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

Returns
Type Description
Builder<UpdateUptimeCheckConfigRequest,UptimeCheckConfig>