Trace/src/V2/Span/Links.php
public function setLink($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Trace\V2\Span\Link::class);
        $this->link = $arr;

        return $this;
    }
public function setLink($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Trace\V2\Span\Link::class);
        $this->link = $arr;

        return $this;
    }
public function setLink ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Trace \ V2 \ Span \ Link :: class ) ; $ this -> link = $ arr ; return $ this ; }
A collection of links.

Generated from protobuf field <code>repeated .google.devtools.cloudtrace.v2.Span.Link link = 1;</code>
@param \Google\Cloud\Trace\V2\Span\Link[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
A collection of links .