Reference documentation and code samples for the Stackdriver Trace V2 Client class StackFrames.
A collection of stack frames, which can be truncated.
Generated from protobuf message google.devtools.cloudtrace.v2.StackTrace.StackFrames
Namespace
Google \ Cloud \ Trace \ V2 \ StackTraceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ frame |
array<StackFrame>
Stack frames in this call stack. |
↳ dropped_frames_count |
int
The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped. |
getFrame
Stack frames in this call stack.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFrame
Stack frames in this call stack.
| Parameter | |
|---|---|
| Name | Description |
var |
array<StackFrame>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDroppedFramesCount
The number of stack frames that were dropped because there were too many stack frames.
If this value is 0, then no stack frames were dropped.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDroppedFramesCount
The number of stack frames that were dropped because there were too many stack frames.
If this value is 0, then no stack frames were dropped.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|