registration.core.SetWatermark */ class SetWatermark extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool is_registered = 1; */ protected $is_registered = false; /** * Generated from protobuf field bool active_seat = 2; */ 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 bool is_registered = 1; * @return bool */ public function getIsRegistered() { return $this->is_registered; } /** * Generated from protobuf field bool is_registered = 1; * @param bool $var * @return $this */ public function setIsRegistered($var) { GPBUtil::checkBool($var); $this->is_registered = $var; return $this; } /** * Generated from protobuf field bool active_seat = 2; * @return bool */ public function getActiveSeat() { return $this->active_seat; } /** * Generated from protobuf field bool active_seat = 2; * @param bool $var * @return $this */ public function setActiveSeat($var) { GPBUtil::checkBool($var); $this->active_seat = $var; return $this; } }