<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;




class SenderKeyDistributionMessage extends \Google\Protobuf\Internal\Message
{
    


    protected $groupId = null;
    


    protected $axolotlSenderKeyDistributionMessage = null;

    









    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    



    public function getGroupId()
    {
        return isset($this->groupId) ? $this->groupId : '';
    }

    public function hasGroupId()
    {
        return isset($this->groupId);
    }

    public function clearGroupId()
    {
        unset($this->groupId);
    }

    




    public function setGroupId($var)
    {
        GPBUtil::checkString($var, True);
        $this->groupId = $var;

        return $this;
    }

    



    public function getAxolotlSenderKeyDistributionMessage()
    {
        return isset($this->axolotlSenderKeyDistributionMessage) ? $this->axolotlSenderKeyDistributionMessage : '';
    }

    public function hasAxolotlSenderKeyDistributionMessage()
    {
        return isset($this->axolotlSenderKeyDistributionMessage);
    }

    public function clearAxolotlSenderKeyDistributionMessage()
    {
        unset($this->axolotlSenderKeyDistributionMessage);
    }

    




    public function setAxolotlSenderKeyDistributionMessage($var)
    {
        GPBUtil::checkString($var, False);
        $this->axolotlSenderKeyDistributionMessage = $var;

        return $this;
    }

}

