Class Debugger2Settings.Builder (1.20.0)

public static class Debugger2Settings.Builder extends ClientSettings.Builder<Debugger2Settings,Debugger2Settings.Builder>

Builder for Debugger2Settings.

Inheritance

java.lang.Object > ClientSettings.Builder > Debugger2Settings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(Debugger2Settings settings)

protected Builder(Debugger2Settings settings)
Parameter
NameDescription
settingsDebugger2Settings

Builder(Debugger2StubSettings.Builder stubSettings)

protected Builder(Debugger2StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDebugger2StubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>