Class UptimeCheckServiceStubSettings.Builder (3.16.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
NameDescription
clientContextClientContext

Builder(UptimeCheckServiceStubSettings settings)

protected Builder(UptimeCheckServiceStubSettings settings)
Parameter
NameDescription
settingsUptimeCheckServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
UptimeCheckServiceStubSettings.Builder

build()

public UptimeCheckServiceStubSettings build()
Returns
TypeDescription
UptimeCheckServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateUptimeCheckConfigRequest,UptimeCheckConfig>