<?php
 
 
 

namespace PhpWA\Protocol\Proto\DeviceProps;

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




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


    protected $primary = null;
    


    protected $secondary = null;
    


    protected $tertiary = null;
    


    protected $quaternary = null;
    


    protected $quinary = null;

    












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

    



    public function getPrimary()
    {
        return isset($this->primary) ? $this->primary : 0;
    }

    public function hasPrimary()
    {
        return isset($this->primary);
    }

    public function clearPrimary()
    {
        unset($this->primary);
    }

    




    public function setPrimary($var)
    {
        GPBUtil::checkUint32($var);
        $this->primary = $var;

        return $this;
    }

    



    public function getSecondary()
    {
        return isset($this->secondary) ? $this->secondary : 0;
    }

    public function hasSecondary()
    {
        return isset($this->secondary);
    }

    public function clearSecondary()
    {
        unset($this->secondary);
    }

    




    public function setSecondary($var)
    {
        GPBUtil::checkUint32($var);
        $this->secondary = $var;

        return $this;
    }

    



    public function getTertiary()
    {
        return isset($this->tertiary) ? $this->tertiary : 0;
    }

    public function hasTertiary()
    {
        return isset($this->tertiary);
    }

    public function clearTertiary()
    {
        unset($this->tertiary);
    }

    




    public function setTertiary($var)
    {
        GPBUtil::checkUint32($var);
        $this->tertiary = $var;

        return $this;
    }

    



    public function getQuaternary()
    {
        return isset($this->quaternary) ? $this->quaternary : 0;
    }

    public function hasQuaternary()
    {
        return isset($this->quaternary);
    }

    public function clearQuaternary()
    {
        unset($this->quaternary);
    }

    




    public function setQuaternary($var)
    {
        GPBUtil::checkUint32($var);
        $this->quaternary = $var;

        return $this;
    }

    



    public function getQuinary()
    {
        return isset($this->quinary) ? $this->quinary : 0;
    }

    public function hasQuinary()
    {
        return isset($this->quinary);
    }

    public function clearQuinary()
    {
        unset($this->quinary);
    }

    




    public function setQuinary($var)
    {
        GPBUtil::checkUint32($var);
        $this->quinary = $var;

        return $this;
    }

}

