Ydb.Coordination.SessionResponse.DescribeSemaphoreChanged */ class DescribeSemaphoreChanged extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint64 req_id = 1; */ protected $req_id = 0; /** * Generated from protobuf field bool data_changed = 2; */ protected $data_changed = false; /** * Generated from protobuf field bool owners_changed = 3; */ protected $owners_changed = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $req_id * @type bool $data_changed * @type bool $owners_changed * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbCoordination::initOnce(); parent::__construct($data); } /** * Generated from protobuf field uint64 req_id = 1; * @return int|string */ public function getReqId() { return $this->req_id; } /** * Generated from protobuf field uint64 req_id = 1; * @param int|string $var * @return $this */ public function setReqId($var) { GPBUtil::checkUint64($var); $this->req_id = $var; return $this; } /** * Generated from protobuf field bool data_changed = 2; * @return bool */ public function getDataChanged() { return $this->data_changed; } /** * Generated from protobuf field bool data_changed = 2; * @param bool $var * @return $this */ public function setDataChanged($var) { GPBUtil::checkBool($var); $this->data_changed = $var; return $this; } /** * Generated from protobuf field bool owners_changed = 3; * @return bool */ public function getOwnersChanged() { return $this->owners_changed; } /** * Generated from protobuf field bool owners_changed = 3; * @param bool $var * @return $this */ public function setOwnersChanged($var) { GPBUtil::checkBool($var); $this->owners_changed = $var; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DescribeSemaphoreChanged::class, \Ydb\Coordination\SessionResponse_DescribeSemaphoreChanged::class);