src/Rpc/Status.php
public function setDetails($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Any::class);
        $this->details = $arr;

        return $this;
    }
public function setDetails($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Any::class);
        $this->details = $arr;

        return $this;
    }
A list of messages that carry the error details.  There is a common set of
message types for APIs to use.

Generated from protobuf field <code>repeated .google.protobuf.Any details = 3;</code>
@param \Google\Protobuf\Any[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this