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

namespace Registration\Core;

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

/**
 * Generated from protobuf message <code>registration.core.SetWatermark</code>
 */
class SetWatermark extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool is_registered = 1;</code>
     */
    protected $is_registered = false;
    /**
     * Generated from protobuf field <code>bool active_seat = 2;</code>
     */
    protected $active_seat = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $is_registered
     *     @type bool $active_seat
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Registration::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool is_registered = 1;</code>
     * @return bool
     */
    public function getIsRegistered()
    {
        return $this->is_registered;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool active_seat = 2;</code>
     * @return bool
     */
    public function getActiveSeat()
    {
        return $this->active_seat;
    }

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

        return $this;
    }

}

