public function addCertificateRegistries(\AgentSIB\Diadoc\Api\Proto\Events\NonformalizedAttachment $value)
    {
        if ($this->CertificateRegistries === null) {
            $this->CertificateRegistries = new \Protobuf\MessageCollection();
        }

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