<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $bundleMessageKey = null;
    


    protected $editedAfterReceivedAsHistory = null;

    









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

    



    public function getBundleMessageKey()
    {
        return $this->bundleMessageKey;
    }

    public function hasBundleMessageKey()
    {
        return isset($this->bundleMessageKey);
    }

    public function clearBundleMessageKey()
    {
        unset($this->bundleMessageKey);
    }

    




    public function setBundleMessageKey($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\MessageKey::class);
        $this->bundleMessageKey = $var;

        return $this;
    }

    



    public function getEditedAfterReceivedAsHistory()
    {
        return isset($this->editedAfterReceivedAsHistory) ? $this->editedAfterReceivedAsHistory : false;
    }

    public function hasEditedAfterReceivedAsHistory()
    {
        return isset($this->editedAfterReceivedAsHistory);
    }

    public function clearEditedAfterReceivedAsHistory()
    {
        unset($this->editedAfterReceivedAsHistory);
    }

    




    public function setEditedAfterReceivedAsHistory($var)
    {
        GPBUtil::checkBool($var);
        $this->editedAfterReceivedAsHistory = $var;

        return $this;
    }

}

