Stackdriver Debugger V2 Client - Class Debuggee (1.9.3)

Reference documentation and code samples for the Stackdriver Debugger V2 Client class Debuggee.

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.

Generated from protobuf message google.devtools.clouddebugger.v2.Debuggee

Namespace

Google \ Cloud \ Debugger \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Unique identifier for the debuggee generated by the controller service.

↳ project string

Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.

↳ uniquifier string

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.

↳ description string

Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.

↳ is_inactive bool

If set to true, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.

↳ agent_version string

Version ID of the agent. Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

↳ is_disabled bool

If set to true, indicates that the agent should disable itself and detach from the debuggee.

↳ status StatusMessage

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.

↳ source_contexts array<Google\Cloud\DevTools\Source\V1\SourceContext>

References to the locations and revisions of the source code used in the deployed application.

↳ ext_source_contexts array<Google\Cloud\DevTools\Source\V1\ExtendedSourceContext>

References to the locations and revisions of the source code used in the deployed application.

↳ labels array|Google\Protobuf\Internal\MapField

A set of custom debuggee properties, populated by the agent, to be displayed to the user.

getId

Unique identifier for the debuggee generated by the controller service.

Returns
Type Description
string

setId

Unique identifier for the debuggee generated by the controller service.

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Project the debuggee is associated with.

Use project number or id when registering a Google Cloud Platform project.

Returns
Type Description
string

setProject

Project the debuggee is associated with.

Use project number or id when registering a Google Cloud Platform project.

Parameter
Name Description
var string
Returns
Type Description
$this

getUniquifier

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.

Returns
Type Description
string

setUniquifier

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Human readable description of the debuggee.

Including a human-readable project name, environment name and version information is recommended.

Returns
Type Description
string

setDescription

Human readable description of the debuggee.

Including a human-readable project name, environment name and version information is recommended.

Parameter
Name Description
var string
Returns
Type Description
$this

getIsInactive

If set to true, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.

Returns
Type Description
bool

setIsInactive

If set to true, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.

Parameter
Name Description
var bool
Returns
Type Description
$this

getAgentVersion

Version ID of the agent.

Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

Returns
Type Description
string

setAgentVersion

Version ID of the agent.

Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

Parameter
Name Description
var string
Returns
Type Description
$this

getIsDisabled

If set to true, indicates that the agent should disable itself and detach from the debuggee.

Returns
Type Description
bool

setIsDisabled

If set to true, indicates that the agent should disable itself and detach from the debuggee.

Parameter
Name Description
var bool
Returns
Type Description
$this

getStatus

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.

Returns
Type Description
StatusMessage|null

hasStatus

clearStatus

setStatus

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.

Parameter
Name Description
var StatusMessage
Returns
Type Description
$this

getSourceContexts

References to the locations and revisions of the source code used in the deployed application.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSourceContexts

References to the locations and revisions of the source code used in the deployed application.

Parameter
Name Description
var array<Google\Cloud\DevTools\Source\V1\SourceContext>
Returns
Type Description
$this

getExtSourceContexts

References to the locations and revisions of the source code used in the deployed application.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExtSourceContexts

References to the locations and revisions of the source code used in the deployed application.

Parameter
Name Description
var array<Google\Cloud\DevTools\Source\V1\ExtendedSourceContext>
Returns
Type Description
$this

getLabels

A set of custom debuggee properties, populated by the agent, to be displayed to the user.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

A set of custom debuggee properties, populated by the agent, to be displayed to the user.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this