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

namespace PhpWA\Protocol\Proto;

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

/**
 * Generated from protobuf message <code>proto.ClientPairingProps</code>
 */
class ClientPairingProps extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional bool isChatDbLidMigrated = 1;</code>
     */
    protected $isChatDbLidMigrated = null;
    /**
     * Generated from protobuf field <code>optional bool isSyncdPureLidSession = 2;</code>
     */
    protected $isSyncdPureLidSession = null;
    /**
     * Generated from protobuf field <code>optional bool isSyncdSnapshotRecoveryEnabled = 3;</code>
     */
    protected $isSyncdSnapshotRecoveryEnabled = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $isChatDbLidMigrated
     *     @type bool $isSyncdPureLidSession
     *     @type bool $isSyncdSnapshotRecoveryEnabled
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional bool isChatDbLidMigrated = 1;</code>
     * @return bool
     */
    public function getIsChatDbLidMigrated()
    {
        return isset($this->isChatDbLidMigrated) ? $this->isChatDbLidMigrated : false;
    }

    public function hasIsChatDbLidMigrated()
    {
        return isset($this->isChatDbLidMigrated);
    }

    public function clearIsChatDbLidMigrated()
    {
        unset($this->isChatDbLidMigrated);
    }

    /**
     * Generated from protobuf field <code>optional bool isChatDbLidMigrated = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsChatDbLidMigrated($var)
    {
        GPBUtil::checkBool($var);
        $this->isChatDbLidMigrated = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool isSyncdPureLidSession = 2;</code>
     * @return bool
     */
    public function getIsSyncdPureLidSession()
    {
        return isset($this->isSyncdPureLidSession) ? $this->isSyncdPureLidSession : false;
    }

    public function hasIsSyncdPureLidSession()
    {
        return isset($this->isSyncdPureLidSession);
    }

    public function clearIsSyncdPureLidSession()
    {
        unset($this->isSyncdPureLidSession);
    }

    /**
     * Generated from protobuf field <code>optional bool isSyncdPureLidSession = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsSyncdPureLidSession($var)
    {
        GPBUtil::checkBool($var);
        $this->isSyncdPureLidSession = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool isSyncdSnapshotRecoveryEnabled = 3;</code>
     * @return bool
     */
    public function getIsSyncdSnapshotRecoveryEnabled()
    {
        return isset($this->isSyncdSnapshotRecoveryEnabled) ? $this->isSyncdSnapshotRecoveryEnabled : false;
    }

    public function hasIsSyncdSnapshotRecoveryEnabled()
    {
        return isset($this->isSyncdSnapshotRecoveryEnabled);
    }

    public function clearIsSyncdSnapshotRecoveryEnabled()
    {
        unset($this->isSyncdSnapshotRecoveryEnabled);
    }

    /**
     * Generated from protobuf field <code>optional bool isSyncdSnapshotRecoveryEnabled = 3;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsSyncdSnapshotRecoveryEnabled($var)
    {
        GPBUtil::checkBool($var);
        $this->isSyncdSnapshotRecoveryEnabled = $var;

        return $this;
    }

}

