Class Debugger2.Debugger2Client (2.4.0)

public class Debugger2Client : ClientBase<Debugger2.Debugger2Client>

Client for Debugger2

Inheritance

Object > ClientBase > ClientBase<Debugger2.Debugger2Client> > 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(Channel)

[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public Debugger2Client(Channel channel)

Creates a new client using a channel.

Parameter
NameDescription
channelGrpc.Core.Channel

The channel 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(ClientBase.ClientBaseConfiguration)

protected Debugger2Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteBreakpointAsync(DeleteBreakpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<GetBreakpointResponse>

The call object.

GetBreakpointAsync(GetBreakpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<GetBreakpointResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListBreakpointsResponse>

The call object.

ListBreakpointsAsync(ListBreakpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListBreakpointsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListDebuggeesResponse>

The call object.

ListDebuggeesAsync(ListDebuggeesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListDebuggeesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
Debugger2.Debugger2Client
Overrides
Grpc.Core.ClientBase<Google.Cloud.Debugger.V2.Debugger2.Debugger2Client>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SetBreakpointResponse>

The call object.

SetBreakpointAsync(SetBreakpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SetBreakpointResponse>

The call object.