Class ServiceControllerStubSettings.Builder (1.1.10)

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

Builder for ServiceControllerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ServiceControllerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ServiceControllerStubSettings settings)

protected Builder(ServiceControllerStubSettings settings)
Parameter
NameDescription
settingsServiceControllerStubSettings

Methods

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

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

build()

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

checkSettings()

public UnaryCallSettings.Builder<CheckRequest,CheckResponse> checkSettings()

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

Returns
TypeDescription
Builder<CheckRequest,CheckResponse>

reportSettings()

public UnaryCallSettings.Builder<ReportRequest,ReportResponse> reportSettings()

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

Returns
TypeDescription
Builder<ReportRequest,ReportResponse>

unaryMethodSettingsBuilders()

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