public class Debugger2Client : ClientBase<Debugger2.Debugger2Client>
Reference documentation and code samples for the Google Cloud Debugger v2 API class Debugger2.Debugger2Client.
Client for Debugger2
Namespace
Google.Cloud.Debugger.V2Assembly
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(ClientBase.ClientBaseConfiguration)
protected Debugger2Client(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteBreakpoint(DeleteBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Empty> | The call object. |
DeleteBreakpointAsync(DeleteBreakpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteBreakpointAsync(DeleteBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Empty> | 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, Nullable<DateTime>, CancellationToken)
public virtual GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<GetBreakpointResponse> | The call object. |
GetBreakpointAsync(GetBreakpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<GetBreakpointResponse> | 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, Nullable<DateTime>, CancellationToken)
public virtual ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListBreakpointsResponse> | The call object. |
ListBreakpointsAsync(ListBreakpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual ListDebuggeesResponse ListDebuggees(ListDebuggeesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListDebuggeesResponse> | The call object. |
ListDebuggeesAsync(ListDebuggeesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
Debugger2.Debugger2Client |
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, Nullable<DateTime>, CancellationToken)
public virtual SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<SetBreakpointResponse> | The call object. |
SetBreakpointAsync(SetBreakpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<SetBreakpointResponse> | The call object. |