public function addLocation(\google\protobuf\SourceCodeInfo\Location $value)
    {
        if ($this->location === null) {
            $this->location = new \Protobuf\MessageCollection();
        }

        $this->location->add($value);
    }