gw.EncryptedFineTimestamp */ class EncryptedFineTimestamp extends \Google\Protobuf\Internal\Message { /** * AES key index used for encrypting the fine timestamp. * * Generated from protobuf field uint32 aes_key_index = 1; */ protected $aes_key_index = 0; /** * Encrypted 'main' fine-timestamp (ns precision part of the timestamp). * * Generated from protobuf field bytes encrypted_ns = 2; */ protected $encrypted_ns = ''; /** * FPGA ID. * * Generated from protobuf field bytes fpga_id = 3; */ protected $fpga_id = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $aes_key_index * AES key index used for encrypting the fine timestamp. * @type string $encrypted_ns * Encrypted 'main' fine-timestamp (ns precision part of the timestamp). * @type string $fpga_id * FPGA ID. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Gateway\Gw::initOnce(); parent::__construct($data); } /** * AES key index used for encrypting the fine timestamp. * * Generated from protobuf field uint32 aes_key_index = 1; * @return int */ public function getAesKeyIndex() { return $this->aes_key_index; } /** * AES key index used for encrypting the fine timestamp. * * Generated from protobuf field uint32 aes_key_index = 1; * @param int $var * @return $this */ public function setAesKeyIndex($var) { GPBUtil::checkUint32($var); $this->aes_key_index = $var; return $this; } /** * Encrypted 'main' fine-timestamp (ns precision part of the timestamp). * * Generated from protobuf field bytes encrypted_ns = 2; * @return string */ public function getEncryptedNs() { return $this->encrypted_ns; } /** * Encrypted 'main' fine-timestamp (ns precision part of the timestamp). * * Generated from protobuf field bytes encrypted_ns = 2; * @param string $var * @return $this */ public function setEncryptedNs($var) { GPBUtil::checkString($var, False); $this->encrypted_ns = $var; return $this; } /** * FPGA ID. * * Generated from protobuf field bytes fpga_id = 3; * @return string */ public function getFpgaId() { return $this->fpga_id; } /** * FPGA ID. * * Generated from protobuf field bytes fpga_id = 3; * @param string $var * @return $this */ public function setFpgaId($var) { GPBUtil::checkString($var, False); $this->fpga_id = $var; return $this; } }