Google Cloud Debugger v2 API - Class Debugger2.Debugger2Client (3.2.0)

public class Debugger2.Debugger2Client : ClientBase<Debugger2.Debugger2Client>

Reference documentation and code samples for the Google Cloud Debugger v2 API class Debugger2.Debugger2Client.

Client for Debugger2

Inheritance

object > ClientBase > ClientBaseDebugger2Debugger2Client > Debugger2.Debugger2Client

Namespace

Google.Cloud.Debugger.V2

Assembly

Google.Cloud.Debugger.V2.dll

Constructors

Debugger2Client()

protected Debugger2Client()

Protected parameterless constructor to allow creation of test doubles.

Debugger2Client(CallInvoker)

public Debugger2Client(CallInvoker callInvoker)

Creates a new client for Debugger2 that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

Debugger2Client(ChannelBase)

public Debugger2Client(ChannelBase channel)

Creates a new client for Debugger2

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

Debugger2Client(ClientBaseConfiguration)

protected Debugger2Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

DeleteBreakpoint(DeleteBreakpointRequest, CallOptions)

public virtual Empty DeleteBreakpoint(DeleteBreakpointRequest request, CallOptions options)

Deletes the breakpoint from the debuggee.

Parameters
Name Description
request DeleteBreakpointRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteBreakpoint(DeleteBreakpointRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteBreakpoint(DeleteBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the breakpoint from the debuggee.

Parameters
Name Description
request DeleteBreakpointRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteBreakpointAsync(DeleteBreakpointRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteBreakpointAsync(DeleteBreakpointRequest request, CallOptions options)

Deletes the breakpoint from the debuggee.

Parameters
Name Description
request DeleteBreakpointRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteBreakpointAsync(DeleteBreakpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteBreakpointAsync(DeleteBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the breakpoint from the debuggee.

Parameters
Name Description
request DeleteBreakpointRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetBreakpoint(GetBreakpointRequest, CallOptions)

public virtual GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, CallOptions options)

Gets breakpoint information.

Parameters
Name Description
request GetBreakpointRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
GetBreakpointResponse

The response received from the server.

GetBreakpoint(GetBreakpointRequest, Metadata, DateTime?, CancellationToken)

public virtual GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets breakpoint information.

Parameters
Name Description
request GetBreakpointRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
GetBreakpointResponse

The response received from the server.

GetBreakpointAsync(GetBreakpointRequest, CallOptions)

public virtual AsyncUnaryCall<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, CallOptions options)

Gets breakpoint information.

Parameters
Name Description
request GetBreakpointRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallGetBreakpointResponse

The call object.

GetBreakpointAsync(GetBreakpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets breakpoint information.

Parameters
Name Description
request GetBreakpointRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallGetBreakpointResponse

The call object.

ListBreakpoints(ListBreakpointsRequest, CallOptions)

public virtual ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, CallOptions options)

Lists all breakpoints for the debuggee.

Parameters
Name Description
request ListBreakpointsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListBreakpointsResponse

The response received from the server.

ListBreakpoints(ListBreakpointsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all breakpoints for the debuggee.

Parameters
Name Description
request ListBreakpointsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListBreakpointsResponse

The response received from the server.

ListBreakpointsAsync(ListBreakpointsRequest, CallOptions)

public virtual AsyncUnaryCall<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, CallOptions options)

Lists all breakpoints for the debuggee.

Parameters
Name Description
request ListBreakpointsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListBreakpointsResponse

The call object.

ListBreakpointsAsync(ListBreakpointsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all breakpoints for the debuggee.

Parameters
Name Description
request ListBreakpointsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListBreakpointsResponse

The call object.

ListDebuggees(ListDebuggeesRequest, CallOptions)

public virtual ListDebuggeesResponse ListDebuggees(ListDebuggeesRequest request, CallOptions options)

Lists all the debuggees that the user has access to.

Parameters
Name Description
request ListDebuggeesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDebuggeesResponse

The response received from the server.

ListDebuggees(ListDebuggeesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDebuggeesResponse ListDebuggees(ListDebuggeesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all the debuggees that the user has access to.

Parameters
Name Description
request ListDebuggeesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDebuggeesResponse

The response received from the server.

ListDebuggeesAsync(ListDebuggeesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, CallOptions options)

Lists all the debuggees that the user has access to.

Parameters
Name Description
request ListDebuggeesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDebuggeesResponse

The call object.

ListDebuggeesAsync(ListDebuggeesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all the debuggees that the user has access to.

Parameters
Name Description
request ListDebuggeesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDebuggeesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Debugger2.Debugger2Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
Debugger2Debugger2Client
Overrides

SetBreakpoint(SetBreakpointRequest, CallOptions)

public virtual SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, CallOptions options)

Sets the breakpoint to the debuggee.

Parameters
Name Description
request SetBreakpointRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SetBreakpointResponse

The response received from the server.

SetBreakpoint(SetBreakpointRequest, Metadata, DateTime?, CancellationToken)

public virtual SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the breakpoint to the debuggee.

Parameters
Name Description
request SetBreakpointRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SetBreakpointResponse

The response received from the server.

SetBreakpointAsync(SetBreakpointRequest, CallOptions)

public virtual AsyncUnaryCall<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, CallOptions options)

Sets the breakpoint to the debuggee.

Parameters
Name Description
request SetBreakpointRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSetBreakpointResponse

The call object.

SetBreakpointAsync(SetBreakpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the breakpoint to the debuggee.

Parameters
Name Description
request SetBreakpointRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSetBreakpointResponse

The call object.