public function addCounteragents(\AgentSIB\Diadoc\Api\Proto\Counteragent $value)
    {
        if ($this->Counteragents === null) {
            $this->Counteragents = new \Protobuf\MessageCollection();
        }

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