<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: WAProto.proto

namespace PhpWA\Protocol\Proto\ClientPayload;

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

/**
 * Generated from protobuf message <code>proto.ClientPayload.DevicePairingRegistrationData</code>
 */
class DevicePairingRegistrationData extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional bytes eRegid = 1;</code>
     */
    protected $eRegid = null;
    /**
     * Generated from protobuf field <code>optional bytes eKeytype = 2;</code>
     */
    protected $eKeytype = null;
    /**
     * Generated from protobuf field <code>optional bytes eIdent = 3;</code>
     */
    protected $eIdent = null;
    /**
     * Generated from protobuf field <code>optional bytes eSkeyId = 4;</code>
     */
    protected $eSkeyId = null;
    /**
     * Generated from protobuf field <code>optional bytes eSkeyVal = 5;</code>
     */
    protected $eSkeyVal = null;
    /**
     * Generated from protobuf field <code>optional bytes eSkeySig = 6;</code>
     */
    protected $eSkeySig = null;
    /**
     * Generated from protobuf field <code>optional bytes buildHash = 7;</code>
     */
    protected $buildHash = null;
    /**
     * Generated from protobuf field <code>optional bytes deviceProps = 8;</code>
     */
    protected $deviceProps = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $eRegid
     *     @type string $eKeytype
     *     @type string $eIdent
     *     @type string $eSkeyId
     *     @type string $eSkeyVal
     *     @type string $eSkeySig
     *     @type string $buildHash
     *     @type string $deviceProps
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional bytes eRegid = 1;</code>
     * @return string
     */
    public function getERegid()
    {
        return isset($this->eRegid) ? $this->eRegid : '';
    }

    public function hasERegid()
    {
        return isset($this->eRegid);
    }

    public function clearERegid()
    {
        unset($this->eRegid);
    }

    /**
     * Generated from protobuf field <code>optional bytes eRegid = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setERegid($var)
    {
        GPBUtil::checkString($var, False);
        $this->eRegid = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes eKeytype = 2;</code>
     * @return string
     */
    public function getEKeytype()
    {
        return isset($this->eKeytype) ? $this->eKeytype : '';
    }

    public function hasEKeytype()
    {
        return isset($this->eKeytype);
    }

    public function clearEKeytype()
    {
        unset($this->eKeytype);
    }

    /**
     * Generated from protobuf field <code>optional bytes eKeytype = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setEKeytype($var)
    {
        GPBUtil::checkString($var, False);
        $this->eKeytype = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes eIdent = 3;</code>
     * @return string
     */
    public function getEIdent()
    {
        return isset($this->eIdent) ? $this->eIdent : '';
    }

    public function hasEIdent()
    {
        return isset($this->eIdent);
    }

    public function clearEIdent()
    {
        unset($this->eIdent);
    }

    /**
     * Generated from protobuf field <code>optional bytes eIdent = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setEIdent($var)
    {
        GPBUtil::checkString($var, False);
        $this->eIdent = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes eSkeyId = 4;</code>
     * @return string
     */
    public function getESkeyId()
    {
        return isset($this->eSkeyId) ? $this->eSkeyId : '';
    }

    public function hasESkeyId()
    {
        return isset($this->eSkeyId);
    }

    public function clearESkeyId()
    {
        unset($this->eSkeyId);
    }

    /**
     * Generated from protobuf field <code>optional bytes eSkeyId = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setESkeyId($var)
    {
        GPBUtil::checkString($var, False);
        $this->eSkeyId = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes eSkeyVal = 5;</code>
     * @return string
     */
    public function getESkeyVal()
    {
        return isset($this->eSkeyVal) ? $this->eSkeyVal : '';
    }

    public function hasESkeyVal()
    {
        return isset($this->eSkeyVal);
    }

    public function clearESkeyVal()
    {
        unset($this->eSkeyVal);
    }

    /**
     * Generated from protobuf field <code>optional bytes eSkeyVal = 5;</code>
     * @param string $var
     * @return $this
     */
    public function setESkeyVal($var)
    {
        GPBUtil::checkString($var, False);
        $this->eSkeyVal = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes eSkeySig = 6;</code>
     * @return string
     */
    public function getESkeySig()
    {
        return isset($this->eSkeySig) ? $this->eSkeySig : '';
    }

    public function hasESkeySig()
    {
        return isset($this->eSkeySig);
    }

    public function clearESkeySig()
    {
        unset($this->eSkeySig);
    }

    /**
     * Generated from protobuf field <code>optional bytes eSkeySig = 6;</code>
     * @param string $var
     * @return $this
     */
    public function setESkeySig($var)
    {
        GPBUtil::checkString($var, False);
        $this->eSkeySig = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes buildHash = 7;</code>
     * @return string
     */
    public function getBuildHash()
    {
        return isset($this->buildHash) ? $this->buildHash : '';
    }

    public function hasBuildHash()
    {
        return isset($this->buildHash);
    }

    public function clearBuildHash()
    {
        unset($this->buildHash);
    }

    /**
     * Generated from protobuf field <code>optional bytes buildHash = 7;</code>
     * @param string $var
     * @return $this
     */
    public function setBuildHash($var)
    {
        GPBUtil::checkString($var, False);
        $this->buildHash = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bytes deviceProps = 8;</code>
     * @return string
     */
    public function getDeviceProps()
    {
        return isset($this->deviceProps) ? $this->deviceProps : '';
    }

    public function hasDeviceProps()
    {
        return isset($this->deviceProps);
    }

    public function clearDeviceProps()
    {
        unset($this->deviceProps);
    }

    /**
     * Generated from protobuf field <code>optional bytes deviceProps = 8;</code>
     * @param string $var
     * @return $this
     */
    public function setDeviceProps($var)
    {
        GPBUtil::checkString($var, False);
        $this->deviceProps = $var;

        return $this;
    }

}

