Stackdriver Trace V2 Client - Class StackFrames (1.4.11)

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ frame
array< Google\Cloud\Trace\V2\StackTrace\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.

Generated from protobuf field repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setFrame

Stack frames in this call stack.

Generated from protobuf field repeated .google.devtools.cloudtrace.v2.StackTrace.StackFrame frame = 1;

Parameter
Name
Description
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.

Generated from protobuf field int32 dropped_frames_count = 2;

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.

Generated from protobuf field int32 dropped_frames_count = 2;

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: