api.MulticastGroupQueueItem */ class MulticastGroupQueueItem extends \Google\Protobuf\Internal\Message { /** * Multicast group ID. * * Generated from protobuf field string multicast_group_id = 1; */ protected $multicast_group_id = ''; /** * Downlink frame-counter. * This will be automatically set on enqueue. * * Generated from protobuf field uint32 f_cnt = 2; */ protected $f_cnt = 0; /** * FPort (must be > 0). * * Generated from protobuf field uint32 f_port = 3; */ protected $f_port = 0; /** * Payload. * * Generated from protobuf field bytes data = 4; */ protected $data = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $multicast_group_id * Multicast group ID. * @type int $f_cnt * Downlink frame-counter. * This will be automatically set on enqueue. * @type int $f_port * FPort (must be > 0). * @type string $data * Payload. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce(); parent::__construct($data); } /** * Multicast group ID. * * Generated from protobuf field string multicast_group_id = 1; * @return string */ public function getMulticastGroupId() { return $this->multicast_group_id; } /** * Multicast group ID. * * Generated from protobuf field string multicast_group_id = 1; * @param string $var * @return $this */ public function setMulticastGroupId($var) { GPBUtil::checkString($var, True); $this->multicast_group_id = $var; return $this; } /** * Downlink frame-counter. * This will be automatically set on enqueue. * * Generated from protobuf field uint32 f_cnt = 2; * @return int */ public function getFCnt() { return $this->f_cnt; } /** * Downlink frame-counter. * This will be automatically set on enqueue. * * Generated from protobuf field uint32 f_cnt = 2; * @param int $var * @return $this */ public function setFCnt($var) { GPBUtil::checkUint32($var); $this->f_cnt = $var; return $this; } /** * FPort (must be > 0). * * Generated from protobuf field uint32 f_port = 3; * @return int */ public function getFPort() { return $this->f_port; } /** * FPort (must be > 0). * * Generated from protobuf field uint32 f_port = 3; * @param int $var * @return $this */ public function setFPort($var) { GPBUtil::checkUint32($var); $this->f_port = $var; return $this; } /** * Payload. * * Generated from protobuf field bytes data = 4; * @return string */ public function getData() { return $this->data; } /** * Payload. * * Generated from protobuf field bytes data = 4; * @param string $var * @return $this */ public function setData($var) { GPBUtil::checkString($var, False); $this->data = $var; return $this; } }