api.GetDeviceQueueItemsRequest */ class GetDeviceQueueItemsRequest extends \Google\Protobuf\Internal\Message { /** * Device EUI (EUI64). * * Generated from protobuf field string dev_eui = 1; */ protected $dev_eui = ''; /** * Return only the count, not the result-set. * * Generated from protobuf field bool count_only = 2; */ protected $count_only = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $dev_eui * Device EUI (EUI64). * @type bool $count_only * Return only the count, not the result-set. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\Device::initOnce(); parent::__construct($data); } /** * Device EUI (EUI64). * * Generated from protobuf field string dev_eui = 1; * @return string */ public function getDevEui() { return $this->dev_eui; } /** * Device EUI (EUI64). * * Generated from protobuf field string dev_eui = 1; * @param string $var * @return $this */ public function setDevEui($var) { GPBUtil::checkString($var, True); $this->dev_eui = $var; return $this; } /** * Return only the count, not the result-set. * * Generated from protobuf field bool count_only = 2; * @return bool */ public function getCountOnly() { return $this->count_only; } /** * Return only the count, not the result-set. * * Generated from protobuf field bool count_only = 2; * @param bool $var * @return $this */ public function setCountOnly($var) { GPBUtil::checkBool($var); $this->count_only = $var; return $this; } }