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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

Debugger2Client(ChannelBase)

public Debugger2Client(ChannelBase channel)

Creates a new client for Debugger2

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

Debugger2Client(ClientBaseConfiguration)

protected Debugger2Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

DeleteBreakpoint(DeleteBreakpointRequest, CallOptions)

public virtual Empty DeleteBreakpoint(DeleteBreakpointRequest request, CallOptions options)

Deletes the breakpoint from the debuggee.

Parameters
NameDescription
requestDeleteBreakpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteBreakpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteBreakpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteBreakpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetBreakpoint(GetBreakpointRequest, CallOptions)

public virtual GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, CallOptions options)

Gets breakpoint information.

Parameters
NameDescription
requestGetBreakpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetBreakpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
GetBreakpointResponse

The response received from the server.

GetBreakpointAsync(GetBreakpointRequest, CallOptions)

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

Gets breakpoint information.

Parameters
NameDescription
requestGetBreakpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetBreakpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallGetBreakpointResponse

The call object.

ListBreakpoints(ListBreakpointsRequest, CallOptions)

public virtual ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, CallOptions options)

Lists all breakpoints for the debuggee.

Parameters
NameDescription
requestListBreakpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListBreakpointsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListBreakpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListBreakpointsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListDebuggeesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListDebuggeesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListDebuggeesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListDebuggeesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListDebuggeesResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
Debugger2Debugger2Client
Overrides

SetBreakpoint(SetBreakpointRequest, CallOptions)

public virtual SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, CallOptions options)

Sets the breakpoint to the debuggee.

Parameters
NameDescription
requestSetBreakpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestSetBreakpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestSetBreakpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestSetBreakpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSetBreakpointResponse

The call object.