Trace/src/V2/Span.php
public function setStackTrace($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Trace\V2\StackTrace::class);
        $this->stack_trace = $var;

        return $this;
    }
public function setStackTrace($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Trace\V2\StackTrace::class);
        $this->stack_trace = $var;

        return $this;
    }
public function setStackTrace ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Trace \ V2 \ StackTrace :: class ) ; $ this -> stack_trace = $ var ; return $ this ; }
Stack trace captured at the start of the span.

Generated from protobuf field <code>.google.devtools.cloudtrace.v2.StackTrace stack_trace = 8;</code>
@param \Google\Cloud\Trace\V2\StackTrace $var
@return $this
Stack trace captured at the start of the span .