Class Debugger2StubSettings.Builder (1.34.0)

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

Builder for Debugger2StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > Debugger2StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(Debugger2StubSettings settings)

protected Builder(Debugger2StubSettings settings)
Parameter
NameDescription
settingsDebugger2StubSettings

Methods

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

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

build()

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

deleteBreakpointSettings()

public UnaryCallSettings.Builder<DeleteBreakpointRequest,Empty> deleteBreakpointSettings()

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

Returns
TypeDescription
Builder<DeleteBreakpointRequest,Empty>

getBreakpointSettings()

public UnaryCallSettings.Builder<GetBreakpointRequest,GetBreakpointResponse> getBreakpointSettings()

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

Returns
TypeDescription
Builder<GetBreakpointRequest,GetBreakpointResponse>

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

listBreakpointsSettings()

public UnaryCallSettings.Builder<ListBreakpointsRequest,ListBreakpointsResponse> listBreakpointsSettings()

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

Returns
TypeDescription
Builder<ListBreakpointsRequest,ListBreakpointsResponse>

listDebuggeesSettings()

public UnaryCallSettings.Builder<ListDebuggeesRequest,ListDebuggeesResponse> listDebuggeesSettings()

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

Returns
TypeDescription
Builder<ListDebuggeesRequest,ListDebuggeesResponse>

setBreakpointSettings()

public UnaryCallSettings.Builder<SetBreakpointRequest,SetBreakpointResponse> setBreakpointSettings()

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

Returns
TypeDescription
Builder<SetBreakpointRequest,SetBreakpointResponse>

unaryMethodSettingsBuilders()

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