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

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

        return $this;
    }
public function setTimeEvents ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Trace \ V2 \ Span_TimeEvents :: class ) ; $ this -> time_events = $ var ; return $ this ; }
A set of time events. You can have up to 32 annotations and 128 message
events per span.

Generated from protobuf field <code>.google.devtools.cloudtrace.v2.Span.TimeEvents time_events = 9;</code>
@param \Google\Cloud\Trace\V2\Span\TimeEvents $var
@return $this
A set of time events . You can have up to 32 annotations and 128 message events per span .