Add a new element to 'SupplementaryAgreements'

@param \AgentSIB\Diadoc\Api\Proto\Events\SupplementaryAgreementAttachment $value
174531
public function addSupplementaryAgreements(\AgentSIB\Diadoc\Api\Proto\Events\SupplementaryAgreementAttachment $value)
    {
        if ($this->SupplementaryAgreements === null) {
            $this->SupplementaryAgreements = new \Protobuf\MessageCollection();
        }

        $this->SupplementaryAgreements->add($value);
    }
981927
public function addStructuredDataAttachments(\AgentSIB\Diadoc\Api\Proto\Events\StructuredDataAttachment $value)
    {
        if ($this->StructuredDataAttachments === null) {
            $this->StructuredDataAttachments = new \Protobuf\MessageCollection();
        }

        $this->StructuredDataAttachments->add($value);
    }
1314632
public function addTorg13Documents(\AgentSIB\Diadoc\Api\Proto\Events\Torg13Attachment $value)
    {
        if ($this->Torg13Documents === null) {
            $this->Torg13Documents = new \Protobuf\MessageCollection();
        }

        $this->Torg13Documents->add($value);
    }
842237
public function addObject($value, $blnAddToBeginning = false)
    {
        if ($blnAddToBeginning) {
            array_unshift($this->collection, $value);
        } else {
            array_push($this->collection, $value);
        }
    }
1308971
public function addXmlAcceptanceCertificateBuyerTitles(\AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value)
    {
        if ($this->XmlAcceptanceCertificateBuyerTitles === null) {
            $this->XmlAcceptanceCertificateBuyerTitles = new \Protobuf\MessageCollection();
        }

        $this->XmlAcceptanceCertificateBuyerTitles->add($value);
    }
1200501
public function addEncryptedInvoices(\AgentSIB\Diadoc\Api\Proto\Events\EncryptedInvoiceAttachment $value)
    {
        if ($this->EncryptedInvoices === null) {
            $this->EncryptedInvoices = new \Protobuf\MessageCollection();
        }

        $this->EncryptedInvoices->add($value);
    }
1079605
public function addEntityPatches(\AgentSIB\Diadoc\Api\Proto\Events\EntityPatch $value)
    {
        if ($this->EntityPatches === null) {
            $this->EntityPatches = new \Protobuf\MessageCollection();
        }

        $this->EntityPatches->add($value);
    }
267026
public function addCertificateChain(\AgentSIB\Diadoc\Api\Proto\CertificateChainElement $value)
    {
        if ($this->CertificateChain === null) {
            $this->CertificateChain = new \Protobuf\MessageCollection();
        }

        $this->CertificateChain->add($value);
    }
226342
public function addServiceDetailsDocuments(\AgentSIB\Diadoc\Api\Proto\Events\ServiceDetailsAttachment $value)
    {
        if ($this->ServiceDetailsDocuments === null) {
            $this->ServiceDetailsDocuments = new \Protobuf\MessageCollection();
        }

        $this->ServiceDetailsDocuments->add($value);
    }
74788
function setAttach( $value, $params=FALSE) {
    $attach           = array();
    $attach['value']  = $value ;
    $attach['params'] = $this->_setParams( $params );
    $this->attach[]   = $attach;
  }
426465
public function addUniversalTransferDocumentBuyerTitles(\AgentSIB\Diadoc\Api\Proto\Events\ReceiptAttachment $value)
    {
        if ($this->UniversalTransferDocumentBuyerTitles === null) {
            $this->UniversalTransferDocumentBuyerTitles = new \Protobuf\MessageCollection();
        }

        $this->UniversalTransferDocumentBuyerTitles->add($value);
    }
1073805
public function addContracts(\AgentSIB\Diadoc\Api\Proto\Events\ContractAttachment $value)
    {
        if ($this->Contracts === null) {
            $this->Contracts = new \Protobuf\MessageCollection();
        }

        $this->Contracts->add($value);
    }
75430
public function add($value) {

		if($this->_ReadOnly){
			throw new ReadOnlyException(\get_called_class() . ' is read only');
		}
		
		$this->_Arr = \array_merge($this->_Arr, \func_get_args());
		
		return $this;
		
	}
966574
public function addEvents(\AgentSIB\Diadoc\Api\Proto\Events\BoxEvent $value)
    {
        if ($this->Events === null) {
            $this->Events = new \Protobuf\MessageCollection();
        }

        $this->Events->add($value);
    }
330107
public function addForwardedDocuments(\AgentSIB\Diadoc\Api\Proto\Forwarding\ForwardedDocument $value)
    {
        if ($this->ForwardedDocuments === null) {
            $this->ForwardedDocuments = new \Protobuf\MessageCollection();
        }

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

        $this->CertificateRegistries->add($value);
    }
90713
public function setDocumentAttachment(\AgentSIB\Diadoc\Api\Proto\Docflow\SignedAttachment $value = null)
    {
        $this->DocumentAttachment = $value;
    }