public function addDepartments(\AgentSIB\Diadoc\Api\Proto\Department $value)
    {
        if ($this->Departments === null) {
            $this->Departments = new \Protobuf\MessageCollection();
        }

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