genproto: google.golang.org/genproto/googleapis/devtools/clouddebugger/v2 Index | Files

package clouddebugger

import "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2"

Index

Package Files

controller.pb.go data.pb.go debugger.pb.go

Variables

var (
    StatusMessage_Reference_name = map[int32]string{
        0:  "UNSPECIFIED",
        3:  "BREAKPOINT_SOURCE_LOCATION",
        4:  "BREAKPOINT_CONDITION",
        7:  "BREAKPOINT_EXPRESSION",
        8:  "BREAKPOINT_AGE",
        5:  "VARIABLE_NAME",
        6:  "VARIABLE_VALUE",
    }
    StatusMessage_Reference_value = map[string]int32{
        "UNSPECIFIED":                0,
        "BREAKPOINT_SOURCE_LOCATION": 3,
        "BREAKPOINT_CONDITION":       4,
        "BREAKPOINT_EXPRESSION":      7,
        "BREAKPOINT_AGE":             8,
        "VARIABLE_NAME":              5,
        "VARIABLE_VALUE":             6,
    }
)

Enum value maps for StatusMessage_Reference.

var (
    Breakpoint_Action_name = map[int32]string{
        0:  "CAPTURE",
        1:  "LOG",
    }
    Breakpoint_Action_value = map[string]int32{
        "CAPTURE": 0,
        "LOG":     1,
    }
)

Enum value maps for Breakpoint_Action.

var (
    Breakpoint_LogLevel_name = map[int32]string{
        0:  "INFO",
        1:  "WARNING",
        2:  "ERROR",
    }
    Breakpoint_LogLevel_value = map[string]int32{
        "INFO":    0,
        "WARNING": 1,
        "ERROR":   2,
    }
)

Enum value maps for Breakpoint_LogLevel.

var File_google_devtools_clouddebugger_v2_controller_proto protoreflect.FileDescriptor
var File_google_devtools_clouddebugger_v2_data_proto protoreflect.FileDescriptor
var File_google_devtools_clouddebugger_v2_debugger_proto protoreflect.FileDescriptor

func RegisterController2Server Uses

func RegisterController2Server(s *grpc.Server, srv Controller2Server)

func RegisterDebugger2Server Uses

func RegisterDebugger2Server(s *grpc.Server, srv Debugger2Server)

type Breakpoint Uses

type Breakpoint struct {

    // Breakpoint identifier, unique in the scope of the debuggee.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Action that the agent should perform when the code at the
    // breakpoint location is hit.
    Action Breakpoint_Action `protobuf:"varint,13,opt,name=action,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"action,omitempty"`
    // Breakpoint source location.
    Location *SourceLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
    // Condition that triggers the breakpoint.
    // The condition is a compound boolean expression composed using expressions
    // in a programming language at the source location.
    Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
    // List of read-only expressions to evaluate at the breakpoint location.
    // The expressions are composed using expressions in the programming language
    // at the source location. If the breakpoint action is `LOG`, the evaluated
    // expressions are included in log statements.
    Expressions []string `protobuf:"bytes,4,rep,name=expressions,proto3" json:"expressions,omitempty"`
    // Only relevant when action is `LOG`. Defines the message to log when
    // the breakpoint hits. The message may include parameter placeholders `$0`,
    // `$1`, etc. These placeholders are replaced with the evaluated value
    // of the appropriate expression. Expressions not referenced in
    // `log_message_format` are not logged.
    //
    // Example: `Message received, id = $0, count = $1` with
    // `expressions` = `[ message.id, message.count ]`.
    LogMessageFormat string `protobuf:"bytes,14,opt,name=log_message_format,json=logMessageFormat,proto3" json:"log_message_format,omitempty"`
    // Indicates the severity of the log. Only relevant when action is `LOG`.
    LogLevel Breakpoint_LogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_LogLevel" json:"log_level,omitempty"`
    // When true, indicates that this is a final result and the
    // breakpoint state will not change from here on.
    IsFinalState bool `protobuf:"varint,5,opt,name=is_final_state,json=isFinalState,proto3" json:"is_final_state,omitempty"`
    // Time this breakpoint was created by the server in seconds resolution.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Time this breakpoint was finalized as seen by the server in seconds
    // resolution.
    FinalTime *timestamp.Timestamp `protobuf:"bytes,12,opt,name=final_time,json=finalTime,proto3" json:"final_time,omitempty"`
    // E-mail address of the user that created this breakpoint
    UserEmail string `protobuf:"bytes,16,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
    // Breakpoint status.
    //
    // The status includes an error flag and a human readable message.
    // This field is usually unset. The message can be either
    // informational or an error message. Regardless, clients should always
    // display the text message back to the user.
    //
    // Error status indicates complete failure of the breakpoint.
    //
    // Example (non-final state): `Still loading symbols...`
    //
    // Examples (final state):
    //
    // *   `Invalid line number` referring to location
    // *   `Field f not found in class C` referring to condition
    Status *StatusMessage `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
    // The stack at breakpoint time, where stack_frames[0] represents the most
    // recently entered function.
    StackFrames []*StackFrame `protobuf:"bytes,7,rep,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"`
    // Values of evaluated expressions at breakpoint time.
    // The evaluated expressions appear in exactly the same order they
    // are listed in the `expressions` field.
    // The `name` field holds the original expression text, the `value` or
    // `members` field holds the result of the evaluated expression.
    // If the expression cannot be evaluated, the `status` inside the `Variable`
    // will indicate an error and contain the error text.
    EvaluatedExpressions []*Variable `protobuf:"bytes,8,rep,name=evaluated_expressions,json=evaluatedExpressions,proto3" json:"evaluated_expressions,omitempty"`
    // The `variable_table` exists to aid with computation, memory and network
    // traffic optimization.  It enables storing a variable once and reference
    // it from multiple variables, including variables stored in the
    // `variable_table` itself.
    // For example, the same `this` object, which may appear at many levels of
    // the stack, can have all of its data stored once in this table.  The
    // stack frame variables then would hold only a reference to it.
    //
    // The variable `var_table_index` field is an index into this repeated field.
    // The stored objects are nameless and get their name from the referencing
    // variable. The effective variable is a merge of the referencing variable
    // and the referenced variable.
    VariableTable []*Variable `protobuf:"bytes,9,rep,name=variable_table,json=variableTable,proto3" json:"variable_table,omitempty"`
    // A set of custom breakpoint properties, populated by the agent, to be
    // displayed to the user.
    Labels map[string]string `protobuf:"bytes,17,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

Represents the breakpoint specification, status and results.

func (*Breakpoint) Descriptor Uses

func (*Breakpoint) Descriptor() ([]byte, []int)

Deprecated: Use Breakpoint.ProtoReflect.Descriptor instead.

func (*Breakpoint) GetAction Uses

func (x *Breakpoint) GetAction() Breakpoint_Action

func (*Breakpoint) GetCondition Uses

func (x *Breakpoint) GetCondition() string

func (*Breakpoint) GetCreateTime Uses

func (x *Breakpoint) GetCreateTime() *timestamp.Timestamp

func (*Breakpoint) GetEvaluatedExpressions Uses

func (x *Breakpoint) GetEvaluatedExpressions() []*Variable

func (*Breakpoint) GetExpressions Uses

func (x *Breakpoint) GetExpressions() []string

func (*Breakpoint) GetFinalTime Uses

func (x *Breakpoint) GetFinalTime() *timestamp.Timestamp

func (*Breakpoint) GetId Uses

func (x *Breakpoint) GetId() string

func (*Breakpoint) GetIsFinalState Uses

func (x *Breakpoint) GetIsFinalState() bool

func (*Breakpoint) GetLabels Uses

func (x *Breakpoint) GetLabels() map[string]string

func (*Breakpoint) GetLocation Uses

func (x *Breakpoint) GetLocation() *SourceLocation

func (*Breakpoint) GetLogLevel Uses

func (x *Breakpoint) GetLogLevel() Breakpoint_LogLevel

func (*Breakpoint) GetLogMessageFormat Uses

func (x *Breakpoint) GetLogMessageFormat() string

func (*Breakpoint) GetStackFrames Uses

func (x *Breakpoint) GetStackFrames() []*StackFrame

func (*Breakpoint) GetStatus Uses

func (x *Breakpoint) GetStatus() *StatusMessage

func (*Breakpoint) GetUserEmail Uses

func (x *Breakpoint) GetUserEmail() string

func (*Breakpoint) GetVariableTable Uses

func (x *Breakpoint) GetVariableTable() []*Variable

func (*Breakpoint) ProtoMessage Uses

func (*Breakpoint) ProtoMessage()

func (*Breakpoint) ProtoReflect Uses

func (x *Breakpoint) ProtoReflect() protoreflect.Message

func (*Breakpoint) Reset Uses

func (x *Breakpoint) Reset()

func (*Breakpoint) String Uses

func (x *Breakpoint) String() string

type Breakpoint_Action Uses

type Breakpoint_Action int32

Actions that can be taken when a breakpoint hits. Agents should reject breakpoints with unsupported or unknown action values.

const (
    // Capture stack frame and variables and update the breakpoint.
    // The data is only captured once. After that the breakpoint is set
    // in a final state.
    Breakpoint_CAPTURE Breakpoint_Action = 0
    // Log each breakpoint hit. The breakpoint remains active until
    // deleted or expired.
    Breakpoint_LOG Breakpoint_Action = 1
)

func (Breakpoint_Action) Descriptor Uses

func (Breakpoint_Action) Descriptor() protoreflect.EnumDescriptor

func (Breakpoint_Action) Enum Uses

func (x Breakpoint_Action) Enum() *Breakpoint_Action

func (Breakpoint_Action) EnumDescriptor Uses

func (Breakpoint_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use Breakpoint_Action.Descriptor instead.

func (Breakpoint_Action) Number Uses

func (x Breakpoint_Action) Number() protoreflect.EnumNumber

func (Breakpoint_Action) String Uses

func (x Breakpoint_Action) String() string

func (Breakpoint_Action) Type Uses

func (Breakpoint_Action) Type() protoreflect.EnumType

type Breakpoint_LogLevel Uses

type Breakpoint_LogLevel int32

Log severity levels.

const (
    // Information log message.
    Breakpoint_INFO Breakpoint_LogLevel = 0
    // Warning log message.
    Breakpoint_WARNING Breakpoint_LogLevel = 1
    // Error log message.
    Breakpoint_ERROR Breakpoint_LogLevel = 2
)

func (Breakpoint_LogLevel) Descriptor Uses

func (Breakpoint_LogLevel) Descriptor() protoreflect.EnumDescriptor

func (Breakpoint_LogLevel) Enum Uses

func (x Breakpoint_LogLevel) Enum() *Breakpoint_LogLevel

func (Breakpoint_LogLevel) EnumDescriptor Uses

func (Breakpoint_LogLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use Breakpoint_LogLevel.Descriptor instead.

func (Breakpoint_LogLevel) Number Uses

func (x Breakpoint_LogLevel) Number() protoreflect.EnumNumber

func (Breakpoint_LogLevel) String Uses

func (x Breakpoint_LogLevel) String() string

func (Breakpoint_LogLevel) Type Uses

func (Breakpoint_LogLevel) Type() protoreflect.EnumType

type Controller2Client Uses

type Controller2Client interface {
    // Registers the debuggee with the controller service.
    //
    // All agents attached to the same application must call this method with
    // exactly the same request content to get back the same stable `debuggee_id`.
    // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
    // is returned from any controller method.
    //
    // This protocol allows the controller service to disable debuggees, recover
    // from data loss, or change the `debuggee_id` format. Agents must handle
    // `debuggee_id` value changing upon re-registration.
    RegisterDebuggee(ctx context.Context, in *RegisterDebuggeeRequest, opts ...grpc.CallOption) (*RegisterDebuggeeResponse, error)
    // Returns the list of all active breakpoints for the debuggee.
    //
    // The breakpoint specification (`location`, `condition`, and `expressions`
    // fields) is semantically immutable, although the field values may
    // change. For example, an agent may update the location line number
    // to reflect the actual line where the breakpoint was set, but this
    // doesn't change the breakpoint semantics.
    //
    // This means that an agent does not need to check if a breakpoint has changed
    // when it encounters the same breakpoint on a successive call.
    // Moreover, an agent should remember the breakpoints that are completed
    // until the controller removes them from the active list to avoid
    // setting those breakpoints again.
    ListActiveBreakpoints(ctx context.Context, in *ListActiveBreakpointsRequest, opts ...grpc.CallOption) (*ListActiveBreakpointsResponse, error)
    // Updates the breakpoint state or mutable fields.
    // The entire Breakpoint message must be sent back to the controller service.
    //
    // Updates to active breakpoint fields are only allowed if the new value
    // does not change the breakpoint specification. Updates to the `location`,
    // `condition` and `expressions` fields should not alter the breakpoint
    // semantics. These may only make changes such as canonicalizing a value
    // or snapping the location to the correct line of code.
    UpdateActiveBreakpoint(ctx context.Context, in *UpdateActiveBreakpointRequest, opts ...grpc.CallOption) (*UpdateActiveBreakpointResponse, error)
}

Controller2Client is the client API for Controller2 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewController2Client Uses

func NewController2Client(cc grpc.ClientConnInterface) Controller2Client

type Controller2Server Uses

type Controller2Server interface {
    // Registers the debuggee with the controller service.
    //
    // All agents attached to the same application must call this method with
    // exactly the same request content to get back the same stable `debuggee_id`.
    // Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
    // is returned from any controller method.
    //
    // This protocol allows the controller service to disable debuggees, recover
    // from data loss, or change the `debuggee_id` format. Agents must handle
    // `debuggee_id` value changing upon re-registration.
    RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error)
    // Returns the list of all active breakpoints for the debuggee.
    //
    // The breakpoint specification (`location`, `condition`, and `expressions`
    // fields) is semantically immutable, although the field values may
    // change. For example, an agent may update the location line number
    // to reflect the actual line where the breakpoint was set, but this
    // doesn't change the breakpoint semantics.
    //
    // This means that an agent does not need to check if a breakpoint has changed
    // when it encounters the same breakpoint on a successive call.
    // Moreover, an agent should remember the breakpoints that are completed
    // until the controller removes them from the active list to avoid
    // setting those breakpoints again.
    ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error)
    // Updates the breakpoint state or mutable fields.
    // The entire Breakpoint message must be sent back to the controller service.
    //
    // Updates to active breakpoint fields are only allowed if the new value
    // does not change the breakpoint specification. Updates to the `location`,
    // `condition` and `expressions` fields should not alter the breakpoint
    // semantics. These may only make changes such as canonicalizing a value
    // or snapping the location to the correct line of code.
    UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error)
}

Controller2Server is the server API for Controller2 service.

type Debuggee Uses

type Debuggee struct {

    // Unique identifier for the debuggee generated by the controller service.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Project the debuggee is associated with.
    // Use project number or id when registering a Google Cloud Platform project.
    Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
    // Uniquifier to further distinguish the application.
    // It is possible that different applications might have identical values in
    // the debuggee message, thus, incorrectly identified as a single application
    // by the Controller service. This field adds salt to further distinguish the
    // application. Agents should consider seeding this field with value that
    // identifies the code, binary, configuration and environment.
    Uniquifier string `protobuf:"bytes,3,opt,name=uniquifier,proto3" json:"uniquifier,omitempty"`
    // Human readable description of the debuggee.
    // Including a human-readable project name, environment name and version
    // information is recommended.
    Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
    // If set to `true`, indicates that Controller service does not detect any
    // activity from the debuggee agents and the application is possibly stopped.
    IsInactive bool `protobuf:"varint,5,opt,name=is_inactive,json=isInactive,proto3" json:"is_inactive,omitempty"`
    // Version ID of the agent.
    // Schema: `domain/language-platform/vmajor.minor` (for example
    // `google.com/java-gcp/v1.1`).
    AgentVersion string `protobuf:"bytes,6,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
    // If set to `true`, indicates that the agent should disable itself and
    // detach from the debuggee.
    IsDisabled bool `protobuf:"varint,7,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"`
    // Human readable message to be displayed to the user about this debuggee.
    // Absence of this field indicates no status. The message can be either
    // informational or an error status.
    Status *StatusMessage `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
    // References to the locations and revisions of the source code used in the
    // deployed application.
    SourceContexts []*v1.SourceContext `protobuf:"bytes,9,rep,name=source_contexts,json=sourceContexts,proto3" json:"source_contexts,omitempty"`
    // References to the locations and revisions of the source code used in the
    // deployed application.
    //
    // Deprecated: Do not use.
    ExtSourceContexts []*v1.ExtendedSourceContext `protobuf:"bytes,13,rep,name=ext_source_contexts,json=extSourceContexts,proto3" json:"ext_source_contexts,omitempty"`
    // A set of custom debuggee properties, populated by the agent, to be
    // displayed to the user.
    Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

Represents the debugged application. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. Agents attached to the same debuggee identify themselves as such by using exactly the same Debuggee message value when registering.

func (*Debuggee) Descriptor Uses

func (*Debuggee) Descriptor() ([]byte, []int)

Deprecated: Use Debuggee.ProtoReflect.Descriptor instead.

func (*Debuggee) GetAgentVersion Uses

func (x *Debuggee) GetAgentVersion() string

func (*Debuggee) GetDescription Uses

func (x *Debuggee) GetDescription() string

func (*Debuggee) GetExtSourceContexts Uses

func (x *Debuggee) GetExtSourceContexts() []*v1.ExtendedSourceContext

Deprecated: Do not use.

func (*Debuggee) GetId Uses

func (x *Debuggee) GetId() string

func (*Debuggee) GetIsDisabled Uses

func (x *Debuggee) GetIsDisabled() bool

func (*Debuggee) GetIsInactive Uses

func (x *Debuggee) GetIsInactive() bool

func (*Debuggee) GetLabels Uses

func (x *Debuggee) GetLabels() map[string]string

func (*Debuggee) GetProject Uses

func (x *Debuggee) GetProject() string

func (*Debuggee) GetSourceContexts Uses

func (x *Debuggee) GetSourceContexts() []*v1.SourceContext

func (*Debuggee) GetStatus Uses

func (x *Debuggee) GetStatus() *StatusMessage

func (*Debuggee) GetUniquifier Uses

func (x *Debuggee) GetUniquifier() string

func (*Debuggee) ProtoMessage Uses

func (*Debuggee) ProtoMessage()

func (*Debuggee) ProtoReflect Uses

func (x *Debuggee) ProtoReflect() protoreflect.Message

func (*Debuggee) Reset Uses

func (x *Debuggee) Reset()

func (*Debuggee) String Uses

func (x *Debuggee) String() string

type Debugger2Client Uses

type Debugger2Client interface {
    // Sets the breakpoint to the debuggee.
    SetBreakpoint(ctx context.Context, in *SetBreakpointRequest, opts ...grpc.CallOption) (*SetBreakpointResponse, error)
    // Gets breakpoint information.
    GetBreakpoint(ctx context.Context, in *GetBreakpointRequest, opts ...grpc.CallOption) (*GetBreakpointResponse, error)
    // Deletes the breakpoint from the debuggee.
    DeleteBreakpoint(ctx context.Context, in *DeleteBreakpointRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists all breakpoints for the debuggee.
    ListBreakpoints(ctx context.Context, in *ListBreakpointsRequest, opts ...grpc.CallOption) (*ListBreakpointsResponse, error)
    // Lists all the debuggees that the user has access to.
    ListDebuggees(ctx context.Context, in *ListDebuggeesRequest, opts ...grpc.CallOption) (*ListDebuggeesResponse, error)
}

Debugger2Client is the client API for Debugger2 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDebugger2Client Uses

func NewDebugger2Client(cc grpc.ClientConnInterface) Debugger2Client

type Debugger2Server Uses

type Debugger2Server interface {
    // Sets the breakpoint to the debuggee.
    SetBreakpoint(context.Context, *SetBreakpointRequest) (*SetBreakpointResponse, error)
    // Gets breakpoint information.
    GetBreakpoint(context.Context, *GetBreakpointRequest) (*GetBreakpointResponse, error)
    // Deletes the breakpoint from the debuggee.
    DeleteBreakpoint(context.Context, *DeleteBreakpointRequest) (*empty.Empty, error)
    // Lists all breakpoints for the debuggee.
    ListBreakpoints(context.Context, *ListBreakpointsRequest) (*ListBreakpointsResponse, error)
    // Lists all the debuggees that the user has access to.
    ListDebuggees(context.Context, *ListDebuggeesRequest) (*ListDebuggeesResponse, error)
}

Debugger2Server is the server API for Debugger2 service.

type DeleteBreakpointRequest Uses

type DeleteBreakpointRequest struct {

    // Required. ID of the debuggee whose breakpoint to delete.
    DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
    // Required. ID of the breakpoint to delete.
    BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId,proto3" json:"breakpoint_id,omitempty"`
    // Required. The client version making the call.
    // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
    ClientVersion string `protobuf:"bytes,3,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
    // contains filtered or unexported fields
}

Request to delete a breakpoint.

func (*DeleteBreakpointRequest) Descriptor Uses

func (*DeleteBreakpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBreakpointRequest.ProtoReflect.Descriptor instead.

func (*DeleteBreakpointRequest) GetBreakpointId Uses

func (x *DeleteBreakpointRequest) GetBreakpointId() string

func (*DeleteBreakpointRequest) GetClientVersion Uses

func (x *DeleteBreakpointRequest) GetClientVersion() string

func (*DeleteBreakpointRequest) GetDebuggeeId Uses

func (x *DeleteBreakpointRequest) GetDebuggeeId() string

func (*DeleteBreakpointRequest) ProtoMessage Uses

func (*DeleteBreakpointRequest) ProtoMessage()

func (*DeleteBreakpointRequest) ProtoReflect Uses

func (x *DeleteBreakpointRequest) ProtoReflect() protoreflect.Message

func (*DeleteBreakpointRequest) Reset Uses

func (x *DeleteBreakpointRequest) Reset()

func (*DeleteBreakpointRequest) String Uses

func (x *DeleteBreakpointRequest) String() string

type FormatMessage Uses

type FormatMessage struct {

    // Format template for the message. The `format` uses placeholders `$0`,
    // `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
    // character.
    //
    // Examples:
    //
    // *   `Failed to load '$0' which helps debug $1 the first time it
    //     is loaded.  Again, $0 is very important.`
    // *   `Please pay $$10 to use $0 instead of $1.`
    Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
    // Optional parameters to be embedded into the message.
    Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
    // contains filtered or unexported fields
}

Represents a message with parameters.

func (*FormatMessage) Descriptor Uses

func (*FormatMessage) Descriptor() ([]byte, []int)

Deprecated: Use FormatMessage.ProtoReflect.Descriptor instead.

func (*FormatMessage) GetFormat Uses

func (x *FormatMessage) GetFormat() string

func (*FormatMessage) GetParameters Uses

func (x *FormatMessage) GetParameters() []string

func (*FormatMessage) ProtoMessage Uses

func (*FormatMessage) ProtoMessage()

func (*FormatMessage) ProtoReflect Uses

func (x *FormatMessage) ProtoReflect() protoreflect.Message

func (*FormatMessage) Reset Uses

func (x *FormatMessage) Reset()

func (*FormatMessage) String Uses

func (x *FormatMessage) String() string

type GetBreakpointRequest Uses

type GetBreakpointRequest struct {

    // Required. ID of the debuggee whose breakpoint to get.
    DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
    // Required. ID of the breakpoint to get.
    BreakpointId string `protobuf:"bytes,2,opt,name=breakpoint_id,json=breakpointId,proto3" json:"breakpoint_id,omitempty"`
    // Required. The client version making the call.
    // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
    ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
    // contains filtered or unexported fields
}

Request to get breakpoint information.

func (*GetBreakpointRequest) Descriptor Uses

func (*GetBreakpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBreakpointRequest.ProtoReflect.Descriptor instead.

func (*GetBreakpointRequest) GetBreakpointId Uses

func (x *GetBreakpointRequest) GetBreakpointId() string

func (*GetBreakpointRequest) GetClientVersion Uses

func (x *GetBreakpointRequest) GetClientVersion() string

func (*GetBreakpointRequest) GetDebuggeeId Uses

func (x *GetBreakpointRequest) GetDebuggeeId() string

func (*GetBreakpointRequest) ProtoMessage Uses

func (*GetBreakpointRequest) ProtoMessage()

func (*GetBreakpointRequest) ProtoReflect Uses

func (x *GetBreakpointRequest) ProtoReflect() protoreflect.Message

func (*GetBreakpointRequest) Reset Uses

func (x *GetBreakpointRequest) Reset()

func (*GetBreakpointRequest) String Uses

func (x *GetBreakpointRequest) String() string

type GetBreakpointResponse Uses

type GetBreakpointResponse struct {

    // Complete breakpoint state.
    // The fields `id` and `location` are guaranteed to be set.
    Breakpoint *Breakpoint `protobuf:"bytes,1,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
    // contains filtered or unexported fields
}

Response for getting breakpoint information.

func (*GetBreakpointResponse) Descriptor Uses

func (*GetBreakpointResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBreakpointResponse.ProtoReflect.Descriptor instead.

func (*GetBreakpointResponse) GetBreakpoint Uses

func (x *GetBreakpointResponse) GetBreakpoint() *Breakpoint

func (*GetBreakpointResponse) ProtoMessage Uses

func (*GetBreakpointResponse) ProtoMessage()

func (*GetBreakpointResponse) ProtoReflect Uses

func (x *GetBreakpointResponse) ProtoReflect() protoreflect.Message

func (*GetBreakpointResponse) Reset Uses

func (x *GetBreakpointResponse) Reset()

func (*GetBreakpointResponse) String Uses

func (x *GetBreakpointResponse) String() string

type ListActiveBreakpointsRequest Uses

type ListActiveBreakpointsRequest struct {

    // Required. Identifies the debuggee.
    DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
    // A token that, if specified, blocks the method call until the list
    // of active breakpoints has changed, or a server-selected timeout has
    // expired. The value should be set from the `next_wait_token` field in
    // the last response. The initial value should be set to `"init"`.
    WaitToken string `protobuf:"bytes,2,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"`
    // If set to `true` (recommended), returns `google.rpc.Code.OK` status and
    // sets the `wait_expired` response field to `true` when the server-selected
    // timeout has expired.
    //
    // If set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status
    // when the server-selected timeout has expired.
    SuccessOnTimeout bool `protobuf:"varint,3,opt,name=success_on_timeout,json=successOnTimeout,proto3" json:"success_on_timeout,omitempty"`
    // contains filtered or unexported fields
}

Request to list active breakpoints.

func (*ListActiveBreakpointsRequest) Descriptor Uses

func (*ListActiveBreakpointsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListActiveBreakpointsRequest.ProtoReflect.Descriptor instead.

func (*ListActiveBreakpointsRequest) GetDebuggeeId Uses

func (x *ListActiveBreakpointsRequest) GetDebuggeeId() string

func (*ListActiveBreakpointsRequest) GetSuccessOnTimeout Uses

func (x *ListActiveBreakpointsRequest) GetSuccessOnTimeout() bool

func (*ListActiveBreakpointsRequest) GetWaitToken Uses

func (x *ListActiveBreakpointsRequest) GetWaitToken() string

func (*ListActiveBreakpointsRequest) ProtoMessage Uses

func (*ListActiveBreakpointsRequest) ProtoMessage()

func (*ListActiveBreakpointsRequest) ProtoReflect Uses

func (x *ListActiveBreakpointsRequest) ProtoReflect() protoreflect.Message

func (*ListActiveBreakpointsRequest) Reset Uses

func (x *ListActiveBreakpointsRequest) Reset()

func (*ListActiveBreakpointsRequest) String Uses

func (x *ListActiveBreakpointsRequest) String() string

type ListActiveBreakpointsResponse Uses

type ListActiveBreakpointsResponse struct {

    // List of all active breakpoints.
    // The fields `id` and `location` are guaranteed to be set on each breakpoint.
    Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"`
    // A token that can be used in the next method call to block until
    // the list of breakpoints changes.
    NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"`
    // If set to `true`, indicates that there is no change to the
    // list of active breakpoints and the server-selected timeout has expired.
    // The `breakpoints` field would be empty and should be ignored.
    WaitExpired bool `protobuf:"varint,3,opt,name=wait_expired,json=waitExpired,proto3" json:"wait_expired,omitempty"`
    // contains filtered or unexported fields
}

Response for listing active breakpoints.

func (*ListActiveBreakpointsResponse) Descriptor Uses

func (*ListActiveBreakpointsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListActiveBreakpointsResponse.ProtoReflect.Descriptor instead.

func (*ListActiveBreakpointsResponse) GetBreakpoints Uses

func (x *ListActiveBreakpointsResponse) GetBreakpoints() []*Breakpoint

func (*ListActiveBreakpointsResponse) GetNextWaitToken Uses

func (x *ListActiveBreakpointsResponse) GetNextWaitToken() string

func (*ListActiveBreakpointsResponse) GetWaitExpired Uses

func (x *ListActiveBreakpointsResponse) GetWaitExpired() bool

func (*ListActiveBreakpointsResponse) ProtoMessage Uses

func (*ListActiveBreakpointsResponse) ProtoMessage()

func (*ListActiveBreakpointsResponse) ProtoReflect Uses

func (x *ListActiveBreakpointsResponse) ProtoReflect() protoreflect.Message

func (*ListActiveBreakpointsResponse) Reset Uses

func (x *ListActiveBreakpointsResponse) Reset()

func (*ListActiveBreakpointsResponse) String Uses

func (x *ListActiveBreakpointsResponse) String() string

type ListBreakpointsRequest Uses

type ListBreakpointsRequest struct {

    // Required. ID of the debuggee whose breakpoints to list.
    DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
    // When set to `true`, the response includes the list of breakpoints set by
    // any user. Otherwise, it includes only breakpoints set by the caller.
    IncludeAllUsers bool `protobuf:"varint,2,opt,name=include_all_users,json=includeAllUsers,proto3" json:"include_all_users,omitempty"`
    // When set to `true`, the response includes active and inactive
    // breakpoints. Otherwise, it includes only active breakpoints.
    IncludeInactive bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
    // When set, the response includes only breakpoints with the specified action.
    Action *ListBreakpointsRequest_BreakpointActionValue `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
    // This field is deprecated. The following fields are always stripped out of
    // the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
    //
    // Deprecated: Do not use.
    StripResults bool `protobuf:"varint,5,opt,name=strip_results,json=stripResults,proto3" json:"strip_results,omitempty"`
    // A wait token that, if specified, blocks the call until the breakpoints
    // list has changed, or a server selected timeout has expired.  The value
    // should be set from the last response. The error code
    // `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which
    // should be called again with the same `wait_token`.
    WaitToken string `protobuf:"bytes,6,opt,name=wait_token,json=waitToken,proto3" json:"wait_token,omitempty"`
    // Required. The client version making the call.
    // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
    ClientVersion string `protobuf:"bytes,8,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
    // contains filtered or unexported fields
}

Request to list breakpoints.

func (*ListBreakpointsRequest) Descriptor Uses

func (*ListBreakpointsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBreakpointsRequest.ProtoReflect.Descriptor instead.

func (*ListBreakpointsRequest) GetAction Uses

func (x *ListBreakpointsRequest) GetAction() *ListBreakpointsRequest_BreakpointActionValue

func (*ListBreakpointsRequest) GetClientVersion Uses

func (x *ListBreakpointsRequest) GetClientVersion() string

func (*ListBreakpointsRequest) GetDebuggeeId Uses

func (x *ListBreakpointsRequest) GetDebuggeeId() string

func (*ListBreakpointsRequest) GetIncludeAllUsers Uses

func (x *ListBreakpointsRequest) GetIncludeAllUsers() bool

func (*ListBreakpointsRequest) GetIncludeInactive Uses

func (x *ListBreakpointsRequest) GetIncludeInactive() bool

func (*ListBreakpointsRequest) GetStripResults Uses

func (x *ListBreakpointsRequest) GetStripResults() bool

Deprecated: Do not use.

func (*ListBreakpointsRequest) GetWaitToken Uses

func (x *ListBreakpointsRequest) GetWaitToken() string

func (*ListBreakpointsRequest) ProtoMessage Uses

func (*ListBreakpointsRequest) ProtoMessage()

func (*ListBreakpointsRequest) ProtoReflect Uses

func (x *ListBreakpointsRequest) ProtoReflect() protoreflect.Message

func (*ListBreakpointsRequest) Reset Uses

func (x *ListBreakpointsRequest) Reset()

func (*ListBreakpointsRequest) String Uses

func (x *ListBreakpointsRequest) String() string

type ListBreakpointsRequest_BreakpointActionValue Uses

type ListBreakpointsRequest_BreakpointActionValue struct {

    // Only breakpoints with the specified action will pass the filter.
    Value Breakpoint_Action `protobuf:"varint,1,opt,name=value,proto3,enum=google.devtools.clouddebugger.v2.Breakpoint_Action" json:"value,omitempty"`
    // contains filtered or unexported fields
}

Wrapper message for `Breakpoint.Action`. Defines a filter on the action field of breakpoints.

func (*ListBreakpointsRequest_BreakpointActionValue) Descriptor Uses

func (*ListBreakpointsRequest_BreakpointActionValue) Descriptor() ([]byte, []int)

Deprecated: Use ListBreakpointsRequest_BreakpointActionValue.ProtoReflect.Descriptor instead.

func (*ListBreakpointsRequest_BreakpointActionValue) GetValue Uses

func (x *ListBreakpointsRequest_BreakpointActionValue) GetValue() Breakpoint_Action

func (*ListBreakpointsRequest_BreakpointActionValue) ProtoMessage Uses

func (*ListBreakpointsRequest_BreakpointActionValue) ProtoMessage()

func (*ListBreakpointsRequest_BreakpointActionValue) ProtoReflect Uses

func (x *ListBreakpointsRequest_BreakpointActionValue) ProtoReflect() protoreflect.Message

func (*ListBreakpointsRequest_BreakpointActionValue) Reset Uses

func (x *ListBreakpointsRequest_BreakpointActionValue) Reset()

func (*ListBreakpointsRequest_BreakpointActionValue) String Uses

func (x *ListBreakpointsRequest_BreakpointActionValue) String() string

type ListBreakpointsResponse Uses

type ListBreakpointsResponse struct {

    // List of breakpoints matching the request.
    // The fields `id` and `location` are guaranteed to be set on each breakpoint.
    // The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
    // are cleared on each breakpoint regardless of its status.
    Breakpoints []*Breakpoint `protobuf:"bytes,1,rep,name=breakpoints,proto3" json:"breakpoints,omitempty"`
    // A wait token that can be used in the next call to `list` (REST) or
    // `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
    NextWaitToken string `protobuf:"bytes,2,opt,name=next_wait_token,json=nextWaitToken,proto3" json:"next_wait_token,omitempty"`
    // contains filtered or unexported fields
}

Response for listing breakpoints.

func (*ListBreakpointsResponse) Descriptor Uses

func (*ListBreakpointsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBreakpointsResponse.ProtoReflect.Descriptor instead.

func (*ListBreakpointsResponse) GetBreakpoints Uses

func (x *ListBreakpointsResponse) GetBreakpoints() []*Breakpoint

func (*ListBreakpointsResponse) GetNextWaitToken Uses

func (x *ListBreakpointsResponse) GetNextWaitToken() string

func (*ListBreakpointsResponse) ProtoMessage Uses

func (*ListBreakpointsResponse) ProtoMessage()

func (*ListBreakpointsResponse) ProtoReflect Uses

func (x *ListBreakpointsResponse) ProtoReflect() protoreflect.Message

func (*ListBreakpointsResponse) Reset Uses

func (x *ListBreakpointsResponse) Reset()

func (*ListBreakpointsResponse) String Uses

func (x *ListBreakpointsResponse) String() string

type ListDebuggeesRequest Uses

type ListDebuggeesRequest struct {

    // Required. Project number of a Google Cloud project whose debuggees to list.
    Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
    // When set to `true`, the result includes all debuggees. Otherwise, the
    // result includes only debuggees that are active.
    IncludeInactive bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
    // Required. The client version making the call.
    // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
    ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
    // contains filtered or unexported fields
}

Request to list debuggees.

func (*ListDebuggeesRequest) Descriptor Uses

func (*ListDebuggeesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDebuggeesRequest.ProtoReflect.Descriptor instead.

func (*ListDebuggeesRequest) GetClientVersion Uses

func (x *ListDebuggeesRequest) GetClientVersion() string

func (*ListDebuggeesRequest) GetIncludeInactive Uses

func (x *ListDebuggeesRequest) GetIncludeInactive() bool

func (*ListDebuggeesRequest) GetProject Uses

func (x *ListDebuggeesRequest) GetProject() string

func (*ListDebuggeesRequest) ProtoMessage Uses

func (*ListDebuggeesRequest) ProtoMessage()

func (*ListDebuggeesRequest) ProtoReflect Uses

func (x *ListDebuggeesRequest) ProtoReflect() protoreflect.Message

func (*ListDebuggeesRequest) Reset Uses

func (x *ListDebuggeesRequest) Reset()

func (*ListDebuggeesRequest) String Uses

func (x *ListDebuggeesRequest) String() string

type ListDebuggeesResponse Uses

type ListDebuggeesResponse struct {

    // List of debuggees accessible to the calling user.
    // The fields `debuggee.id` and `description` are guaranteed to be set.
    // The `description` field is a human readable field provided by agents and
    // can be displayed to users.
    Debuggees []*Debuggee `protobuf:"bytes,1,rep,name=debuggees,proto3" json:"debuggees,omitempty"`
    // contains filtered or unexported fields
}

Response for listing debuggees.

func (*ListDebuggeesResponse) Descriptor Uses

func (*ListDebuggeesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDebuggeesResponse.ProtoReflect.Descriptor instead.

func (*ListDebuggeesResponse) GetDebuggees Uses

func (x *ListDebuggeesResponse) GetDebuggees() []*Debuggee

func (*ListDebuggeesResponse) ProtoMessage Uses

func (*ListDebuggeesResponse) ProtoMessage()

func (*ListDebuggeesResponse) ProtoReflect Uses

func (x *ListDebuggeesResponse) ProtoReflect() protoreflect.Message

func (*ListDebuggeesResponse) Reset Uses

func (x *ListDebuggeesResponse) Reset()

func (*ListDebuggeesResponse) String Uses

func (x *ListDebuggeesResponse) String() string

type RegisterDebuggeeRequest Uses

type RegisterDebuggeeRequest struct {

    // Required. Debuggee information to register.
    // The fields `project`, `uniquifier`, `description` and `agent_version`
    // of the debuggee must be set.
    Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
    // contains filtered or unexported fields
}

Request to register a debuggee.

func (*RegisterDebuggeeRequest) Descriptor Uses

func (*RegisterDebuggeeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterDebuggeeRequest.ProtoReflect.Descriptor instead.

func (*RegisterDebuggeeRequest) GetDebuggee Uses

func (x *RegisterDebuggeeRequest) GetDebuggee() *Debuggee

func (*RegisterDebuggeeRequest) ProtoMessage Uses

func (*RegisterDebuggeeRequest) ProtoMessage()

func (*RegisterDebuggeeRequest) ProtoReflect Uses

func (x *RegisterDebuggeeRequest) ProtoReflect() protoreflect.Message

func (*RegisterDebuggeeRequest) Reset Uses

func (x *RegisterDebuggeeRequest) Reset()

func (*RegisterDebuggeeRequest) String Uses

func (x *RegisterDebuggeeRequest) String() string

type RegisterDebuggeeResponse Uses

type RegisterDebuggeeResponse struct {

    // Debuggee resource.
    // The field `id` is guaranteed to be set (in addition to the echoed fields).
    // If the field `is_disabled` is set to `true`, the agent should disable
    // itself by removing all breakpoints and detaching from the application.
    // It should however continue to poll `RegisterDebuggee` until reenabled.
    Debuggee *Debuggee `protobuf:"bytes,1,opt,name=debuggee,proto3" json:"debuggee,omitempty"`
    // contains filtered or unexported fields
}

Response for registering a debuggee.

func (*RegisterDebuggeeResponse) Descriptor Uses

func (*RegisterDebuggeeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterDebuggeeResponse.ProtoReflect.Descriptor instead.

func (*RegisterDebuggeeResponse) GetDebuggee Uses

func (x *RegisterDebuggeeResponse) GetDebuggee() *Debuggee

func (*RegisterDebuggeeResponse) ProtoMessage Uses

func (*RegisterDebuggeeResponse) ProtoMessage()

func (*RegisterDebuggeeResponse) ProtoReflect Uses

func (x *RegisterDebuggeeResponse) ProtoReflect() protoreflect.Message

func (*RegisterDebuggeeResponse) Reset Uses

func (x *RegisterDebuggeeResponse) Reset()

func (*RegisterDebuggeeResponse) String Uses

func (x *RegisterDebuggeeResponse) String() string

type SetBreakpointRequest Uses

type SetBreakpointRequest struct {

    // Required. ID of the debuggee where the breakpoint is to be set.
    DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
    // Required. Breakpoint specification to set.
    // The field `location` of the breakpoint must be set.
    Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
    // Required. The client version making the call.
    // Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
    ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
    // contains filtered or unexported fields
}

Request to set a breakpoint

func (*SetBreakpointRequest) Descriptor Uses

func (*SetBreakpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetBreakpointRequest.ProtoReflect.Descriptor instead.

func (*SetBreakpointRequest) GetBreakpoint Uses

func (x *SetBreakpointRequest) GetBreakpoint() *Breakpoint

func (*SetBreakpointRequest) GetClientVersion Uses

func (x *SetBreakpointRequest) GetClientVersion() string

func (*SetBreakpointRequest) GetDebuggeeId Uses

func (x *SetBreakpointRequest) GetDebuggeeId() string

func (*SetBreakpointRequest) ProtoMessage Uses

func (*SetBreakpointRequest) ProtoMessage()

func (*SetBreakpointRequest) ProtoReflect Uses

func (x *SetBreakpointRequest) ProtoReflect() protoreflect.Message

func (*SetBreakpointRequest) Reset Uses

func (x *SetBreakpointRequest) Reset()

func (*SetBreakpointRequest) String Uses

func (x *SetBreakpointRequest) String() string

type SetBreakpointResponse Uses

type SetBreakpointResponse struct {

    // Breakpoint resource.
    // The field `id` is guaranteed to be set (in addition to the echoed fileds).
    Breakpoint *Breakpoint `protobuf:"bytes,1,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
    // contains filtered or unexported fields
}

Response for setting a breakpoint.

func (*SetBreakpointResponse) Descriptor Uses

func (*SetBreakpointResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetBreakpointResponse.ProtoReflect.Descriptor instead.

func (*SetBreakpointResponse) GetBreakpoint Uses

func (x *SetBreakpointResponse) GetBreakpoint() *Breakpoint

func (*SetBreakpointResponse) ProtoMessage Uses

func (*SetBreakpointResponse) ProtoMessage()

func (*SetBreakpointResponse) ProtoReflect Uses

func (x *SetBreakpointResponse) ProtoReflect() protoreflect.Message

func (*SetBreakpointResponse) Reset Uses

func (x *SetBreakpointResponse) Reset()

func (*SetBreakpointResponse) String Uses

func (x *SetBreakpointResponse) String() string

type SourceLocation Uses

type SourceLocation struct {

    // Path to the source file within the source context of the target binary.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // Line inside the file. The first line in the file has the value `1`.
    Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
    // Column within a line. The first column in a line as the value `1`.
    // Agents that do not support setting breakpoints on specific columns ignore
    // this field.
    Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
    // contains filtered or unexported fields
}

Represents a location in the source code.

func (*SourceLocation) Descriptor Uses

func (*SourceLocation) Descriptor() ([]byte, []int)

Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.

func (*SourceLocation) GetColumn Uses

func (x *SourceLocation) GetColumn() int32

func (*SourceLocation) GetLine Uses

func (x *SourceLocation) GetLine() int32

func (*SourceLocation) GetPath Uses

func (x *SourceLocation) GetPath() string

func (*SourceLocation) ProtoMessage Uses

func (*SourceLocation) ProtoMessage()

func (*SourceLocation) ProtoReflect Uses

func (x *SourceLocation) ProtoReflect() protoreflect.Message

func (*SourceLocation) Reset Uses

func (x *SourceLocation) Reset()

func (*SourceLocation) String Uses

func (x *SourceLocation) String() string

type StackFrame Uses

type StackFrame struct {

    // Demangled function name at the call site.
    Function string `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"`
    // Source location of the call site.
    Location *SourceLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
    // Set of arguments passed to this function.
    // Note that this might not be populated for all stack frames.
    Arguments []*Variable `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
    // Set of local variables at the stack frame location.
    // Note that this might not be populated for all stack frames.
    Locals []*Variable `protobuf:"bytes,4,rep,name=locals,proto3" json:"locals,omitempty"`
    // contains filtered or unexported fields
}

Represents a stack frame context.

func (*StackFrame) Descriptor Uses

func (*StackFrame) Descriptor() ([]byte, []int)

Deprecated: Use StackFrame.ProtoReflect.Descriptor instead.

func (*StackFrame) GetArguments Uses

func (x *StackFrame) GetArguments() []*Variable

func (*StackFrame) GetFunction Uses

func (x *StackFrame) GetFunction() string

func (*StackFrame) GetLocals Uses

func (x *StackFrame) GetLocals() []*Variable

func (*StackFrame) GetLocation Uses

func (x *StackFrame) GetLocation() *SourceLocation

func (*StackFrame) ProtoMessage Uses

func (*StackFrame) ProtoMessage()

func (*StackFrame) ProtoReflect Uses

func (x *StackFrame) ProtoReflect() protoreflect.Message

func (*StackFrame) Reset Uses

func (x *StackFrame) Reset()

func (*StackFrame) String Uses

func (x *StackFrame) String() string

type StatusMessage Uses

type StatusMessage struct {

    // Distinguishes errors from informational messages.
    IsError bool `protobuf:"varint,1,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
    // Reference to which the message applies.
    RefersTo StatusMessage_Reference `protobuf:"varint,2,opt,name=refers_to,json=refersTo,proto3,enum=google.devtools.clouddebugger.v2.StatusMessage_Reference" json:"refers_to,omitempty"`
    // Status message text.
    Description *FormatMessage `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // contains filtered or unexported fields
}

Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the `Breakpoint.status` field can indicate an error referring to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.

func (*StatusMessage) Descriptor Uses

func (*StatusMessage) Descriptor() ([]byte, []int)

Deprecated: Use StatusMessage.ProtoReflect.Descriptor instead.

func (*StatusMessage) GetDescription Uses

func (x *StatusMessage) GetDescription() *FormatMessage

func (*StatusMessage) GetIsError Uses

func (x *StatusMessage) GetIsError() bool

func (*StatusMessage) GetRefersTo Uses

func (x *StatusMessage) GetRefersTo() StatusMessage_Reference

func (*StatusMessage) ProtoMessage Uses

func (*StatusMessage) ProtoMessage()

func (*StatusMessage) ProtoReflect Uses

func (x *StatusMessage) ProtoReflect() protoreflect.Message

func (*StatusMessage) Reset Uses

func (x *StatusMessage) Reset()

func (*StatusMessage) String Uses

func (x *StatusMessage) String() string

type StatusMessage_Reference Uses

type StatusMessage_Reference int32

Enumerates references to which the message applies.

const (
    // Status doesn't refer to any particular input.
    StatusMessage_UNSPECIFIED StatusMessage_Reference = 0
    // Status applies to the breakpoint and is related to its location.
    StatusMessage_BREAKPOINT_SOURCE_LOCATION StatusMessage_Reference = 3
    // Status applies to the breakpoint and is related to its condition.
    StatusMessage_BREAKPOINT_CONDITION StatusMessage_Reference = 4
    // Status applies to the breakpoint and is related to its expressions.
    StatusMessage_BREAKPOINT_EXPRESSION StatusMessage_Reference = 7
    // Status applies to the breakpoint and is related to its age.
    StatusMessage_BREAKPOINT_AGE StatusMessage_Reference = 8
    // Status applies to the entire variable.
    StatusMessage_VARIABLE_NAME StatusMessage_Reference = 5
    // Status applies to variable value (variable name is valid).
    StatusMessage_VARIABLE_VALUE StatusMessage_Reference = 6
)

func (StatusMessage_Reference) Descriptor Uses

func (StatusMessage_Reference) Descriptor() protoreflect.EnumDescriptor

func (StatusMessage_Reference) Enum Uses

func (x StatusMessage_Reference) Enum() *StatusMessage_Reference

func (StatusMessage_Reference) EnumDescriptor Uses

func (StatusMessage_Reference) EnumDescriptor() ([]byte, []int)

Deprecated: Use StatusMessage_Reference.Descriptor instead.

func (StatusMessage_Reference) Number Uses

func (x StatusMessage_Reference) Number() protoreflect.EnumNumber

func (StatusMessage_Reference) String Uses

func (x StatusMessage_Reference) String() string

func (StatusMessage_Reference) Type Uses

func (StatusMessage_Reference) Type() protoreflect.EnumType

type UnimplementedController2Server Uses

type UnimplementedController2Server struct {
}

UnimplementedController2Server can be embedded to have forward compatible implementations.

func (*UnimplementedController2Server) ListActiveBreakpoints Uses

func (*UnimplementedController2Server) ListActiveBreakpoints(context.Context, *ListActiveBreakpointsRequest) (*ListActiveBreakpointsResponse, error)

func (*UnimplementedController2Server) RegisterDebuggee Uses

func (*UnimplementedController2Server) RegisterDebuggee(context.Context, *RegisterDebuggeeRequest) (*RegisterDebuggeeResponse, error)

func (*UnimplementedController2Server) UpdateActiveBreakpoint Uses

func (*UnimplementedController2Server) UpdateActiveBreakpoint(context.Context, *UpdateActiveBreakpointRequest) (*UpdateActiveBreakpointResponse, error)

type UnimplementedDebugger2Server Uses

type UnimplementedDebugger2Server struct {
}

UnimplementedDebugger2Server can be embedded to have forward compatible implementations.

func (*UnimplementedDebugger2Server) DeleteBreakpoint Uses

func (*UnimplementedDebugger2Server) DeleteBreakpoint(context.Context, *DeleteBreakpointRequest) (*empty.Empty, error)

func (*UnimplementedDebugger2Server) GetBreakpoint Uses

func (*UnimplementedDebugger2Server) GetBreakpoint(context.Context, *GetBreakpointRequest) (*GetBreakpointResponse, error)

func (*UnimplementedDebugger2Server) ListBreakpoints Uses

func (*UnimplementedDebugger2Server) ListBreakpoints(context.Context, *ListBreakpointsRequest) (*ListBreakpointsResponse, error)

func (*UnimplementedDebugger2Server) ListDebuggees Uses

func (*UnimplementedDebugger2Server) ListDebuggees(context.Context, *ListDebuggeesRequest) (*ListDebuggeesResponse, error)

func (*UnimplementedDebugger2Server) SetBreakpoint Uses

func (*UnimplementedDebugger2Server) SetBreakpoint(context.Context, *SetBreakpointRequest) (*SetBreakpointResponse, error)

type UpdateActiveBreakpointRequest Uses

type UpdateActiveBreakpointRequest struct {

    // Required. Identifies the debuggee being debugged.
    DebuggeeId string `protobuf:"bytes,1,opt,name=debuggee_id,json=debuggeeId,proto3" json:"debuggee_id,omitempty"`
    // Required. Updated breakpoint information.
    // The field `id` must be set.
    // The agent must echo all Breakpoint specification fields in the update.
    Breakpoint *Breakpoint `protobuf:"bytes,2,opt,name=breakpoint,proto3" json:"breakpoint,omitempty"`
    // contains filtered or unexported fields
}

Request to update an active breakpoint.

func (*UpdateActiveBreakpointRequest) Descriptor Uses

func (*UpdateActiveBreakpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateActiveBreakpointRequest.ProtoReflect.Descriptor instead.

func (*UpdateActiveBreakpointRequest) GetBreakpoint Uses

func (x *UpdateActiveBreakpointRequest) GetBreakpoint() *Breakpoint

func (*UpdateActiveBreakpointRequest) GetDebuggeeId Uses

func (x *UpdateActiveBreakpointRequest) GetDebuggeeId() string

func (*UpdateActiveBreakpointRequest) ProtoMessage Uses

func (*UpdateActiveBreakpointRequest) ProtoMessage()

func (*UpdateActiveBreakpointRequest) ProtoReflect Uses

func (x *UpdateActiveBreakpointRequest) ProtoReflect() protoreflect.Message

func (*UpdateActiveBreakpointRequest) Reset Uses

func (x *UpdateActiveBreakpointRequest) Reset()

func (*UpdateActiveBreakpointRequest) String Uses

func (x *UpdateActiveBreakpointRequest) String() string

type UpdateActiveBreakpointResponse Uses

type UpdateActiveBreakpointResponse struct {
    // contains filtered or unexported fields
}

Response for updating an active breakpoint. The message is defined to allow future extensions.

func (*UpdateActiveBreakpointResponse) Descriptor Uses

func (*UpdateActiveBreakpointResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateActiveBreakpointResponse.ProtoReflect.Descriptor instead.

func (*UpdateActiveBreakpointResponse) ProtoMessage Uses

func (*UpdateActiveBreakpointResponse) ProtoMessage()

func (*UpdateActiveBreakpointResponse) ProtoReflect Uses

func (x *UpdateActiveBreakpointResponse) ProtoReflect() protoreflect.Message

func (*UpdateActiveBreakpointResponse) Reset Uses

func (x *UpdateActiveBreakpointResponse) Reset()

func (*UpdateActiveBreakpointResponse) String Uses

func (x *UpdateActiveBreakpointResponse) String() string

type Variable Uses

type Variable struct {

    // Name of the variable, if any.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Simple value of the variable.
    Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    // Variable type (e.g. `MyClass`). If the variable is split with
    // `var_table_index`, `type` goes next to `value`. The interpretation of
    // a type is agent specific. It is recommended to include the dynamic type
    // rather than a static type of an object.
    Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
    // Members contained or pointed to by the variable.
    Members []*Variable `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
    // Reference to a variable in the shared variable table. More than
    // one variable can reference the same variable in the table. The
    // `var_table_index` field is an index into `variable_table` in Breakpoint.
    VarTableIndex *wrappers.Int32Value `protobuf:"bytes,4,opt,name=var_table_index,json=varTableIndex,proto3" json:"var_table_index,omitempty"`
    // Status associated with the variable. This field will usually stay
    // unset. A status of a single variable only applies to that variable or
    // expression. The rest of breakpoint data still remains valid. Variables
    // might be reported in error state even when breakpoint is not in final
    // state.
    //
    // The message may refer to variable name with `refers_to` set to
    // `VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.
    // In either case variable value and members will be unset.
    //
    // Example of error message applied to name: `Invalid expression syntax`.
    //
    // Example of information message applied to value: `Not captured`.
    //
    // Examples of error message applied to value:
    //
    // *   `Malformed string`,
    // *   `Field f not found in class C`
    // *   `Null pointer dereference`
    Status *StatusMessage `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
    // contains filtered or unexported fields
}

Represents a variable or an argument possibly of a compound object type. Note how the following variables are represented:

1) A simple variable:

int x = 5

{ name: "x", value: "5", type: "int" }  // Captured variable

2) A compound object:

struct T {
    int m1;
    int m2;
};
T x = { 3, 7 };

{  // Captured variable
    name: "x",
    type: "T",
    members { name: "m1", value: "3", type: "int" },
    members { name: "m2", value: "7", type: "int" }
}

3) A pointer where the pointee was captured:

T x = { 3, 7 };
T* p = &x;

{   // Captured variable
    name: "p",
    type: "T*",
    value: "0x00500500",
    members { name: "m1", value: "3", type: "int" },
    members { name: "m2", value: "7", type: "int" }
}

4) A pointer where the pointee was not captured:

T* p = new T;

{   // Captured variable
    name: "p",
    type: "T*",
    value: "0x00400400"
    status { is_error: true, description { format: "unavailable" } }
}

The status should describe the reason for the missing value, such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.

Note that a null pointer should not have members.

5) An unnamed value:

int* p = new int(7);

{   // Captured variable
    name: "p",
    value: "0x00500500",
    type: "int*",
    members { value: "7", type: "int" } }

6) An unnamed pointer where the pointee was not captured:

int* p = new int(7);
int** pp = &p;

{  // Captured variable
    name: "pp",
    value: "0x00500500",
    type: "int**",
    members {
        value: "0x00400400",
        type: "int*"
        status {
            is_error: true,
            description: { format: "unavailable" } }
        }
    }
}

To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the `var_table_index` field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable, merge the referencing variable with the referenced variable.

When using the shared variable table, the following variables:

T x = { 3, 7 };
T* p = &x;
T& r = x;

{ name: "x", var_table_index: 3, type: "T" }  // Captured variables
{ name: "p", value "0x00500500", type="T*", var_table_index: 3 }
{ name: "r", type="T&", var_table_index: 3 }

{  // Shared variable table entry #3:
    members { name: "m1", value: "3", type: "int" },
    members { name: "m2", value: "7", type: "int" }
}

Note that the pointer address is stored with the referencing variable and not with the referenced variable. This allows the referenced variable to be shared between pointers and references.

The type field is optional. The debugger agent may or may not support it.

func (*Variable) Descriptor Uses

func (*Variable) Descriptor() ([]byte, []int)

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetMembers Uses

func (x *Variable) GetMembers() []*Variable

func (*Variable) GetName Uses

func (x *Variable) GetName() string

func (*Variable) GetStatus Uses

func (x *Variable) GetStatus() *StatusMessage

func (*Variable) GetType Uses

func (x *Variable) GetType() string

func (*Variable) GetValue Uses

func (x *Variable) GetValue() string

func (*Variable) GetVarTableIndex Uses

func (x *Variable) GetVarTableIndex() *wrappers.Int32Value

func (*Variable) ProtoMessage Uses

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect Uses

func (x *Variable) ProtoReflect() protoreflect.Message

func (*Variable) Reset Uses

func (x *Variable) Reset()

func (*Variable) String Uses

func (x *Variable) String() string

Package clouddebugger imports 14 packages (graph) and is imported by 1 packages. Updated 2020-08-13. Refresh now. Tools for package owners.