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

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