Trace/src/V2/Span/Link.php
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Trace\V2\Span_Link_Type::class);
        $this->type = $var;

        return $this;
    }
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Trace\V2\Span_Link_Type::class);
        $this->type = $var;

        return $this;
    }
public function setType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Trace \ V2 \ Span_Link_Type :: class ) ; $ this -> type = $ var ; return $ this ; }
The relationship of the current span relative to the linked span.

Generated from protobuf field <code>.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;</code>
@param int $var
@return $this
The relationship of the current span relative to the linked span .