Class UptimeCheckServiceSettings.Builder (3.6.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
NameDescription
clientContextClientContext

Builder(UptimeCheckServiceSettings settings)

protected Builder(UptimeCheckServiceSettings settings)
Parameter
NameDescription
settingsUptimeCheckServiceSettings

Builder(UptimeCheckServiceStubSettings.Builder stubSettings)

protected Builder(UptimeCheckServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsUptimeCheckServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
UptimeCheckServiceSettings.Builder

build()

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

createUptimeCheckConfigSettings()

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

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

Returns
TypeDescription
Builder<CreateUptimeCheckConfigRequest,UptimeCheckConfig>

deleteUptimeCheckConfigSettings()

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

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

Returns
TypeDescription
Builder<DeleteUptimeCheckConfigRequest,Empty>

getStubSettingsBuilder()

public UptimeCheckServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
UptimeCheckServiceStubSettings.Builder

getUptimeCheckConfigSettings()

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

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

Returns
TypeDescription
Builder<GetUptimeCheckConfigRequest,UptimeCheckConfig>

listUptimeCheckConfigsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse,ListUptimeCheckIpsPagedResponse>

updateUptimeCheckConfigSettings()

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

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

Returns
TypeDescription
Builder<UpdateUptimeCheckConfigRequest,UptimeCheckConfig>