public function setPath($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Key_PathElement::class);
        $this->path = $arr;

        return $this;
    }
public function setPath($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Key_PathElement::class);
        $this->path = $arr;

        return $this;
    }
public function setPath ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dlp \ V2 \ Key_PathElement :: class ) ; $ this -> path = $ arr ; return $ this ; }
The entity path.
An entity path consists of one or more elements composed of a kind and a
string or numerical identifier, which identify entities. The first
element identifies a _root entity_, the second element identifies
a _child_ of the root entity, the third element identifies a child of the
second entity, and so forth. The entities identified by all prefixes of
the path are called the element's _ancestors_.
A path can never be empty, and a path can have at most 100 elements.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.Key.PathElement path = 2;</code>
@param \Google\Cloud\Dlp\V2\Key_PathElement[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The entity path . An entity path consists of one or more elements composed of a kind and a string or numerical identifier which identify entities . The first element identifies a _root entity_ the second element identifies a _child_ of the root entity the third element identifies a child of the second entity and so forth . The entities identified by all prefixes of the path are called the element s _ancestors_ . A path can never be empty and a path can have at most 100 elements .