public function toProtobuf() : SignatureDeviceInfo
    {
        $deviceInfo = new SignatureDeviceInfo();
        if ($this->deviceId !== null) {
            $deviceInfo->setDeviceId($this->deviceId);
        }

        $deviceInfo->setDeviceBrand($this->deviceBrand);
        $deviceInfo->setDeviceModel($this->deviceModel);
        $deviceInfo->setDeviceModelBoot($this->deviceModelBoot);
        $deviceInfo->setFirmwareType($this->firmwareType);
        $deviceInfo->setFirmwareBrand($this->firmwareBrand);
        $deviceInfo->setHardwareModel($this->hardwareModel);
        $deviceInfo->setHardwareManufacturer($this->hardwareManufacturer);

        return $deviceInfo;
    }