Class Controller2StubSettings.Builder (1.37.0)

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

Builder for Controller2StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > Controller2StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(Controller2StubSettings settings)

protected Builder(Controller2StubSettings settings)
Parameter
NameDescription
settingsController2StubSettings

Methods

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

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

listActiveBreakpointsSettings()

public UnaryCallSettings.Builder<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse> listActiveBreakpointsSettings()

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

Returns
TypeDescription
Builder<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse>

registerDebuggeeSettings()

public UnaryCallSettings.Builder<RegisterDebuggeeRequest,RegisterDebuggeeResponse> registerDebuggeeSettings()

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

Returns
TypeDescription
Builder<RegisterDebuggeeRequest,RegisterDebuggeeResponse>

unaryMethodSettingsBuilders()

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

updateActiveBreakpointSettings()

public UnaryCallSettings.Builder<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse> updateActiveBreakpointSettings()

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

Returns
TypeDescription
Builder<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse>