api.GetGatewaysSummaryResponse */ class GetGatewaysSummaryResponse extends \Google\Protobuf\Internal\Message { /** * Online count. * * Generated from protobuf field uint32 online_count = 1; */ protected $online_count = 0; /** * Offline count. * * Generated from protobuf field uint32 offline_count = 2; */ protected $offline_count = 0; /** * Never seen count. * * Generated from protobuf field uint32 never_seen_count = 3; */ protected $never_seen_count = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $online_count * Online count. * @type int $offline_count * Offline count. * @type int $never_seen_count * Never seen count. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\Internal::initOnce(); parent::__construct($data); } /** * Online count. * * Generated from protobuf field uint32 online_count = 1; * @return int */ public function getOnlineCount() { return $this->online_count; } /** * Online count. * * Generated from protobuf field uint32 online_count = 1; * @param int $var * @return $this */ public function setOnlineCount($var) { GPBUtil::checkUint32($var); $this->online_count = $var; return $this; } /** * Offline count. * * Generated from protobuf field uint32 offline_count = 2; * @return int */ public function getOfflineCount() { return $this->offline_count; } /** * Offline count. * * Generated from protobuf field uint32 offline_count = 2; * @param int $var * @return $this */ public function setOfflineCount($var) { GPBUtil::checkUint32($var); $this->offline_count = $var; return $this; } /** * Never seen count. * * Generated from protobuf field uint32 never_seen_count = 3; * @return int */ public function getNeverSeenCount() { return $this->never_seen_count; } /** * Never seen count. * * Generated from protobuf field uint32 never_seen_count = 3; * @param int $var * @return $this */ public function setNeverSeenCount($var) { GPBUtil::checkUint32($var); $this->never_seen_count = $var; return $this; } }