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

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

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

@param \google\protobuf\SourceCodeInfo\Location $value
Add a new element to location