{
  "options": {
    "java_package": "io.particle.firmwareprotos.ctrl"
  },
  "nested": {
    "particle": {
      "nested": {
        "system": {
          "nested": {
            "EnvVars": {
              "fields": {
                "vars": {
                  "rule": "repeated",
                  "type": "Var",
                  "id": 1
                },
                "hash": {
                  "type": "bytes",
                  "id": 2,
                  "options": {
                    "(nanopb).max_size": 32
                  }
                },
                "updatedAt": {
                  "type": "fixed64",
                  "id": 3
                }
              },
              "nested": {
                "Var": {
                  "fields": {
                    "name": {
                      "type": "string",
                      "id": 1
                    },
                    "value": {
                      "type": "string",
                      "id": 2
                    }
                  }
                }
              }
            }
          }
        },
        "ctrl": {
          "options": {
            "java_package": "io.particle.firmwareprotos.ctrl"
          },
          "nested": {
            "cellular": {
              "options": {
                "java_package": "io.particle.firmwareprotos.ctrl.cellular"
              },
              "nested": {
                "SimType": {
                  "values": {
                    "INVALID_SIM_TYPE": 0,
                    "INTERNAL": 1,
                    "EXTERNAL": 2
                  }
                },
                "AccessPoint": {
                  "fields": {
                    "apn": {
                      "type": "string",
                      "id": 1
                    },
                    "user": {
                      "type": "string",
                      "id": 2
                    },
                    "password": {
                      "type": "string",
                      "id": 3
                    },
                    "useDefaults": {
                      "type": "bool",
                      "id": 4
                    }
                  }
                },
                "SetAccessPointRequest": {
                  "options": {
                    "(type_id)": 550
                  },
                  "fields": {
                    "simType": {
                      "type": "SimType",
                      "id": 1
                    },
                    "accessPoint": {
                      "type": "AccessPoint",
                      "id": 2
                    }
                  }
                },
                "SetAccessPointReply": {
                  "fields": {}
                },
                "GetAccessPointRequest": {
                  "options": {
                    "(type_id)": 551
                  },
                  "fields": {
                    "simType": {
                      "type": "SimType",
                      "id": 1
                    }
                  }
                },
                "GetAccessPointReply": {
                  "fields": {
                    "accessPoint": {
                      "type": "AccessPoint",
                      "id": 1
                    }
                  }
                },
                "SetActiveSimRequest": {
                  "options": {
                    "(type_id)": 552
                  },
                  "fields": {
                    "simType": {
                      "type": "SimType",
                      "id": 1
                    }
                  }
                },
                "SetActiveSimReply": {
                  "fields": {}
                },
                "GetActiveSimRequest": {
                  "options": {
                    "(type_id)": 553
                  },
                  "fields": {}
                },
                "GetActiveSimReply": {
                  "fields": {
                    "simType": {
                      "type": "SimType",
                      "id": 1
                    }
                  }
                },
                "GetIccidRequest": {
                  "options": {
                    "(type_id)": 554
                  },
                  "fields": {}
                },
                "GetIccidReply": {
                  "fields": {
                    "iccid": {
                      "type": "string",
                      "id": 1
                    },
                    "imei": {
                      "type": "string",
                      "id": 2
                    }
                  }
                },
                "ApduRequest": {
                  "options": {
                    "(type_id)": 555
                  },
                  "fields": {
                    "data": {
                      "type": "bytes",
                      "id": 1
                    }
                  }
                },
                "ApduReply": {
                  "fields": {
                    "data": {
                      "type": "bytes",
                      "id": 1
                    }
                  }
                }
              }
            },
            "cloud": {
              "options": {
                "java_package": "io.particle.firmwareprotos.ctrl.cloud"
              },
              "nested": {
                "ConnectionStatus": {
                  "values": {
                    "DISCONNECTED": 0,
                    "CONNECTING": 1,
                    "CONNECTED": 2,
                    "DISCONNECTING": 3
                  }
                },
                "GetConnectionStatusRequest": {
                  "options": {
                    "(type_id)": 300
                  },
                  "fields": {}
                },
                "GetConnectionStatusReply": {
                  "fields": {
                    "status": {
                      "type": "ConnectionStatus",
                      "id": 1
                    }
                  }
                },
                "ConnectRequest": {
                  "options": {
                    "(type_id)": 301
                  },
                  "fields": {}
                },
                "ConnectReply": {
                  "fields": {}
                },
                "DisconnectRequest": {
                  "options": {
                    "(type_id)": 302
                  },
                  "fields": {}
                },
                "DisconnectReply": {
                  "fields": {}
                }
              }
            },
            "ResultCode": {
              "values": {
                "OK": 0,
                "NOT_ALLOWED": 1,
                "TIMEOUT": 2,
                "NOT_FOUND": 3,
                "ALREADY_EXIST": 4,
                "INVALID_STATE": 5,
                "NO_MEMORY": 6,
                "INVALID_PARAM": 7
              }
            },
            "Ipv4Address": {
              "fields": {
                "address": {
                  "type": "fixed32",
                  "id": 1
                }
              }
            },
            "Ipv6Address": {
              "fields": {
                "address": {
                  "type": "bytes",
                  "id": 1,
                  "options": {
                    "(nanopb).max_size": 16,
                    "(nanopb).fixed_length": true
                  }
                }
              }
            },
            "IpAddress": {
              "oneofs": {
                "address": {
                  "oneof": [
                    "v4",
                    "v6"
                  ]
                }
              },
              "fields": {
                "v4": {
                  "type": "Ipv4Address",
                  "id": 1
                },
                "v6": {
                  "type": "Ipv6Address",
                  "id": 2
                }
              }
            },
            "IPAddress": {
              "fields": {
                "protocol": {
                  "type": "Protocol",
                  "id": 1
                },
                "address": {
                  "type": "bytes",
                  "id": 2,
                  "options": {
                    "(nanopb).max_size": 16
                  }
                }
              },
              "nested": {
                "Protocol": {
                  "values": {
                    "NONE": 0,
                    "IPv4": 1,
                    "IPv6": 2
                  }
                }
              }
            },
            "SecurityKeyType": {
              "values": {
                "INVALID_SECURITY_KEY": 0,
                "TCP_DEVICE_PRIVATE_KEY": 1,
                "TCP_DEVICE_PUBLIC_KEY": 2,
                "TCP_SERVER_PUBLIC_KEY": 3,
                "UDP_DEVICE_PRIVATE_KEY": 4,
                "UDP_DEVICE_PUBLIC_KEY": 5,
                "UDP_SERVER_PUBLIC_KEY": 6
              }
            },
            "ServerProtocolType": {
              "values": {
                "INVALID_PROTOCOL": 0,
                "TCP_PROTOCOL": 1,
                "UDP_PROTOCOL": 2
              }
            },
            "DeviceMode": {
              "values": {
                "NORMAL_MODE": 0,
                "LISTENING_MODE": 1
              }
            },
            "SystemCapabilityFlag": {
              "values": {
                "NO_SYSTEM_CAPABILITY_FLAGS": 0,
                "COMPRESSED_OTA": 1
              }
            },
            "Feature": {
              "values": {
                "INVALID_FEATURE": 0,
                "ETHERNET_DETECTION": 1
              }
            },
            "GetDeviceIdRequest": {
              "options": {
                "(type_id)": 20
              },
              "fields": {}
            },
            "GetDeviceIdReply": {
              "fields": {
                "id": {
                  "type": "string",
                  "id": 1,
                  "options": {
                    "(nanopb).max_length": 24
                  }
                }
              }
            },
            "GetSerialNumberRequest": {
              "options": {
                "(type_id)": 21
              },
              "fields": {}
            },
            "GetSerialNumberReply": {
              "fields": {
                "serial": {
                  "type": "string",
                  "id": 1,
                  "options": {
                    "(nanopb).max_length": 16
                  }
                }
              }
            },
            "GetSystemVersionRequest": {
              "options": {
                "(type_id)": 30
              },
              "fields": {}
            },
            "GetSystemVersionReply": {
              "fields": {
                "version": {
                  "type": "string",
                  "id": 1
                }
              }
            },
            "GetNcpFirmwareVersionRequest": {
              "options": {
                "(type_id)": 31
              },
              "fields": {}
            },
            "GetNcpFirmwareVersionReply": {
              "fields": {
                "version": {
                  "type": "string",
                  "id": 1
                },
                "moduleVersion": {
                  "type": "uint32",
                  "id": 2
                }
              }
            },
            "GetSystemCapabilitiesRequest": {
              "options": {
                "(type_id)": 32
              },
              "fields": {}
            },
            "GetSystemCapabilitiesReply": {
              "fields": {
                "flags": {
                  "type": "fixed32",
                  "id": 1
                }
              }
            },
            "SetClaimCodeRequest": {
              "options": {
                "(type_id)": 200
              },
              "fields": {
                "code": {
                  "type": "string",
                  "id": 1,
                  "options": {
                    "(nanopb).max_length": 64
                  }
                }
              }
            },
            "SetClaimCodeReply": {
              "fields": {}
            },
            "IsClaimedRequest": {
              "options": {
                "(type_id)": 201
              },
              "fields": {}
            },
            "IsClaimedReply": {
              "fields": {
                "claimed": {
                  "type": "bool",
                  "id": 1
                }
              }
            },
            "SetSecurityKeyRequest": {
              "options": {
                "(type_id)": 210
              },
              "fields": {
                "type": {
                  "type": "SecurityKeyType",
                  "id": 1
                },
                "data": {
                  "type": "bytes",
                  "id": 2
                }
              }
            },
            "SetSecurityKeyReply": {
              "fields": {}
            },
            "GetSecurityKeyRequest": {
              "options": {
                "(type_id)": 211
              },
              "fields": {
                "type": {
                  "type": "SecurityKeyType",
                  "id": 1
                }
              }
            },
            "GetSecurityKeyReply": {
              "fields": {
                "data": {
                  "type": "bytes",
                  "id": 1
                }
              }
            },
            "SetServerAddressRequest": {
              "options": {
                "(type_id)": 220
              },
              "fields": {
                "protocol": {
                  "type": "ServerProtocolType",
                  "id": 1
                },
                "address": {
                  "type": "string",
                  "id": 2,
                  "options": {
                    "(nanopb).max_length": 64
                  }
                },
                "port": {
                  "type": "int32",
                  "id": 3
                }
              }
            },
            "SetServerAddressReply": {
              "fields": {}
            },
            "GetServerAddressRequest": {
              "options": {
                "(type_id)": 221
              },
              "fields": {
                "protocol": {
                  "type": "ServerProtocolType",
                  "id": 1
                }
              }
            },
            "GetServerAddressReply": {
              "fields": {
                "address": {
                  "type": "string",
                  "id": 1
                },
                "port": {
                  "type": "int32",
                  "id": 2
                }
              }
            },
            "SetServerProtocolRequest": {
              "options": {
                "(type_id)": 222
              },
              "fields": {
                "protocol": {
                  "type": "ServerProtocolType",
                  "id": 1
                }
              }
            },
            "SetServerProtocolReply": {
              "fields": {}
            },
            "GetServerProtocolRequest": {
              "options": {
                "(type_id)": 223
              },
              "fields": {}
            },
            "GetServerProtocolReply": {
              "fields": {
                "protocol": {
                  "type": "ServerProtocolType",
                  "id": 1
                }
              }
            },
            "SetSoftApSsidRequest": {
              "options": {
                "(type_id)": 240
              },
              "fields": {
                "prefix": {
                  "type": "string",
                  "id": 1,
                  "options": {
                    "(nanopb).max_length": 32
                  }
                },
                "suffix": {
                  "type": "string",
                  "id": 2,
                  "options": {
                    "(nanopb).max_length": 16
                  }
                }
              }
            },
            "SetSoftApSsidReply": {
              "fields": {}
            },
            "StartListeningModeRequest": {
              "options": {
                "(type_id)": 70
              },
              "fields": {}
            },
            "StartListeningModeReply": {
              "fields": {}
            },
            "StopListeningModeRequest": {
              "options": {
                "(type_id)": 71
              },
              "fields": {}
            },
            "StopListeningModeReply": {
              "fields": {}
            },
            "GetDeviceModeRequest": {
              "options": {
                "(type_id)": 72
              },
              "fields": {}
            },
            "GetDeviceModeReply": {
              "fields": {
                "mode": {
                  "type": "DeviceMode",
                  "id": 1
                }
              }
            },
            "SetDeviceSetupDoneRequest": {
              "options": {
                "(type_id)": 73
              },
              "fields": {
                "done": {
                  "type": "bool",
                  "id": 1
                }
              }
            },
            "SetDeviceSetupDoneReply": {
              "fields": {}
            },
            "IsDeviceSetupDoneRequest": {
              "options": {
                "(type_id)": 74
              },
              "fields": {}
            },
            "IsDeviceSetupDoneReply": {
              "fields": {
                "done": {
                  "type": "bool",
                  "id": 1
                }
              }
            },
            "SetStartupModeRequest": {
              "options": {
                "(type_id)": 75
              },
              "fields": {
                "mode": {
                  "type": "DeviceMode",
                  "id": 1
                }
              }
            },
            "SetStartupModeReply": {
              "fields": {}
            },
            "GetProtectedStateRequest": {
              "options": {
                "(type_id)": 76
              },
              "fields": {}
            },
            "GetProtectedStateReply": {
              "fields": {
                "state": {
                  "type": "bool",
                  "id": 1
                },
                "overridden": {
                  "type": "bool",
                  "id": 2
                }
              }
            },
            "SetProtectedStateRequest": {
              "options": {
                "(type_id)": 77,
                "(nanopb_msgopt).no_unions": true
              },
              "oneofs": {
                "data": {
                  "oneof": [
                    "prepare",
                    "confirm"
                  ]
                }
              },
              "fields": {
                "action": {
                  "type": "Action",
                  "id": 1
                },
                "prepare": {
                  "type": "Prepare",
                  "id": 2
                },
                "confirm": {
                  "type": "Confirm",
                  "id": 3
                }
              },
              "nested": {
                "Action": {
                  "values": {
                    "RESET": 0,
                    "PREPARE": 1,
                    "CONFIRM": 2
                  }
                },
                "Prepare": {
                  "fields": {
                    "serverNonce": {
                      "type": "bytes",
                      "id": 1,
                      "options": {
                        "(nanopb).max_size": 32
                      }
                    }
                  }
                },
                "Confirm": {
                  "fields": {
                    "serverSignature": {
                      "type": "bytes",
                      "id": 1
                    },
                    "serverPublicKeyFingerprint": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 32
                      }
                    }
                  }
                }
              }
            },
            "SetProtectedStateReply": {
              "oneofs": {
                "_prepare": {
                  "oneof": [
                    "prepare"
                  ]
                }
              },
              "fields": {
                "prepare": {
                  "type": "Prepare",
                  "id": 1,
                  "options": {
                    "proto3_optional": true
                  }
                }
              },
              "nested": {
                "Prepare": {
                  "fields": {
                    "deviceNonce": {
                      "type": "bytes",
                      "id": 1,
                      "options": {
                        "(nanopb).max_size": 32
                      }
                    },
                    "deviceSignature": {
                      "type": "bytes",
                      "id": 2
                    },
                    "devicePublicKeyFingerprint": {
                      "type": "bytes",
                      "id": 3,
                      "options": {
                        "(nanopb).max_size": 32
                      }
                    }
                  }
                }
              }
            },
            "SystemResetRequest": {
              "options": {
                "(type_id)": 40
              },
              "fields": {}
            },
            "SystemResetReply": {
              "fields": {}
            },
            "SetFeatureRequest": {
              "options": {
                "(type_id)": 33
              },
              "fields": {
                "feature": {
                  "type": "Feature",
                  "id": 1
                },
                "enabled": {
                  "type": "bool",
                  "id": 2
                }
              }
            },
            "SetFeatureReply": {
              "fields": {}
            },
            "GetFeatureRequest": {
              "options": {
                "(type_id)": 34
              },
              "fields": {
                "feature": {
                  "type": "Feature",
                  "id": 1
                }
              }
            },
            "GetFeatureReply": {
              "fields": {
                "enabled": {
                  "type": "bool",
                  "id": 1
                }
              }
            },
            "StartNyanSignalRequest": {
              "options": {
                "(type_id)": 230
              },
              "fields": {}
            },
            "StartNyanSignalReply": {
              "fields": {}
            },
            "StopNyanSignalRequest": {
              "options": {
                "(type_id)": 231
              },
              "fields": {}
            },
            "StopNyanSignalReply": {
              "fields": {}
            },
            "GetEnvRequest": {
              "options": {
                "(type_id)": 600
              },
              "fields": {}
            },
            "GetEnvReply": {
              "oneofs": {
                "_snapshotHash": {
                  "oneof": [
                    "snapshotHash"
                  ]
                }
              },
              "fields": {
                "vars": {
                  "rule": "repeated",
                  "type": "Var",
                  "id": 1
                },
                "snapshotHash": {
                  "type": "bytes",
                  "id": 2,
                  "options": {
                    "(nanopb).max_size": 32,
                    "proto3_optional": true
                  }
                }
              },
              "nested": {
                "Var": {
                  "fields": {
                    "name": {
                      "type": "string",
                      "id": 1,
                      "options": {
                        "(nanopb).max_length": 128
                      }
                    },
                    "value": {
                      "type": "string",
                      "id": 2
                    },
                    "isApp": {
                      "type": "bool",
                      "id": 3
                    }
                  }
                }
              }
            },
            "ClearEnvRequest": {
              "options": {
                "(type_id)": 601
              },
              "fields": {}
            },
            "ClearEnvReply": {
              "fields": {
                "needReset": {
                  "type": "bool",
                  "id": 1
                }
              }
            },
            "logging": {
              "options": {
                "java_package": "io.particle.firmwareprotos.ctrl.logging"
              },
              "nested": {
                "LogLevel": {
                  "options": {
                    "allow_alias": true
                  },
                  "values": {
                    "INVALID_LOG_LEVEL": 0,
                    "ALL": 1,
                    "TRACE": 1,
                    "INFO": 30,
                    "WARN": 40,
                    "ERROR": 50,
                    "NONE": 70
                  }
                },
                "LogHandlerType": {
                  "values": {
                    "INVALID_LOG_HANDLER_TYPE": 0,
                    "DEFAULT_STREAM_HANDLER": 1,
                    "JSON_STREAM_HANDLER": 2
                  }
                },
                "StreamType": {
                  "values": {
                    "INVALID_STREAM_TYPE": 0,
                    "USB_SERIAL_STREAM": 1,
                    "HW_SERIAL_STREAM": 2
                  }
                },
                "LogFilter": {
                  "fields": {
                    "category": {
                      "type": "string",
                      "id": 1
                    },
                    "level": {
                      "type": "LogLevel",
                      "id": 2
                    }
                  }
                },
                "SerialStreamParams": {
                  "fields": {
                    "index": {
                      "type": "uint32",
                      "id": 1
                    },
                    "baudRate": {
                      "type": "uint32",
                      "id": 2
                    }
                  }
                },
                "AddLogHandlerRequest": {
                  "options": {
                    "(type_id)": 1100
                  },
                  "oneofs": {
                    "streamParams": {
                      "oneof": [
                        "serial"
                      ]
                    }
                  },
                  "fields": {
                    "id": {
                      "type": "string",
                      "id": 1
                    },
                    "handlerType": {
                      "type": "LogHandlerType",
                      "id": 2
                    },
                    "level": {
                      "type": "LogLevel",
                      "id": 3
                    },
                    "filters": {
                      "rule": "repeated",
                      "type": "LogFilter",
                      "id": 4
                    },
                    "streamType": {
                      "type": "StreamType",
                      "id": 5
                    },
                    "serial": {
                      "type": "SerialStreamParams",
                      "id": 6
                    }
                  }
                },
                "AddLogHandlerReply": {
                  "fields": {}
                },
                "RemoveLogHandlerRequest": {
                  "options": {
                    "(type_id)": 1101
                  },
                  "fields": {
                    "id": {
                      "type": "string",
                      "id": 1
                    }
                  }
                },
                "RemoveLogHandlerReply": {
                  "fields": {}
                },
                "GetLogHandlersRequest": {
                  "options": {
                    "(type_id)": 1102
                  },
                  "fields": {}
                },
                "GetLogHandlersReply": {
                  "fields": {
                    "handlers": {
                      "rule": "repeated",
                      "type": "Handler",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Handler": {
                      "fields": {
                        "id": {
                          "type": "string",
                          "id": 1
                        }
                      }
                    }
                  }
                }
              }
            },
            "mesh": {
              "options": {
                "java_package": "io.particle.firmwareprotos.ctrl.mesh"
              },
              "nested": {
                "NetworkInfo": {
                  "fields": {
                    "name": {
                      "type": "string",
                      "id": 1
                    },
                    "extPanId": {
                      "type": "string",
                      "id": 2
                    },
                    "panId": {
                      "type": "uint32",
                      "id": 3
                    },
                    "channel": {
                      "type": "uint32",
                      "id": 4
                    },
                    "networkId": {
                      "type": "string",
                      "id": 5
                    }
                  }
                },
                "AuthRequest": {
                  "options": {
                    "(type_id)": 1001
                  },
                  "fields": {
                    "password": {
                      "type": "string",
                      "id": 1
                    }
                  }
                },
                "AuthReply": {
                  "fields": {}
                },
                "CreateNetworkRequest": {
                  "options": {
                    "(type_id)": 1002
                  },
                  "fields": {
                    "name": {
                      "type": "string",
                      "id": 1
                    },
                    "password": {
                      "type": "string",
                      "id": 2
                    },
                    "channel": {
                      "type": "uint32",
                      "id": 3
                    },
                    "networkId": {
                      "type": "string",
                      "id": 4
                    }
                  }
                },
                "CreateNetworkReply": {
                  "fields": {
                    "network": {
                      "type": "NetworkInfo",
                      "id": 1
                    }
                  }
                },
                "StartCommissionerRequest": {
                  "options": {
                    "(type_id)": 1003
                  },
                  "fields": {
                    "timeout": {
                      "type": "uint32",
                      "id": 1
                    }
                  }
                },
                "StartCommissionerReply": {
                  "fields": {}
                },
                "StopCommissionerRequest": {
                  "options": {
                    "(type_id)": 1004
                  },
                  "fields": {}
                },
                "StopCommissionerReply": {
                  "fields": {}
                },
                "PrepareJoinerRequest": {
                  "options": {
                    "(type_id)": 1005
                  },
                  "fields": {
                    "network": {
                      "type": "NetworkInfo",
                      "id": 1
                    }
                  }
                },
                "PrepareJoinerReply": {
                  "fields": {
                    "eui64": {
                      "type": "string",
                      "id": 1
                    },
                    "password": {
                      "type": "string",
                      "id": 2
                    }
                  }
                },
                "AddJoinerRequest": {
                  "options": {
                    "(type_id)": 1006
                  },
                  "fields": {
                    "eui64": {
                      "type": "string",
                      "id": 1
                    },
                    "password": {
                      "type": "string",
                      "id": 2
                    },
                    "timeout": {
                      "type": "uint32",
                      "id": 3
                    }
                  }
                },
                "AddJoinerReply": {
                  "fields": {}
                },
                "RemoveJoinerRequest": {
                  "options": {
                    "(type_id)": 1007
                  },
                  "fields": {
                    "eui64": {
                      "type": "string",
                      "id": 1
                    }
                  }
                },
                "RemoveJoinerReply": {
                  "fields": {}
                },
                "JoinNetworkRequest": {
                  "options": {
                    "(type_id)": 1008
                  },
                  "fields": {
                    "timeout": {
                      "type": "uint32",
                      "id": 1
                    }
                  }
                },
                "JoinNetworkReply": {
                  "fields": {}
                },
                "LeaveNetworkRequest": {
                  "options": {
                    "(type_id)": 1009
                  },
                  "fields": {}
                },
                "LeaveNetworkReply": {
                  "fields": {}
                },
                "GetNetworkInfoRequest": {
                  "options": {
                    "(type_id)": 1010
                  },
                  "fields": {}
                },
                "GetNetworkInfoReply": {
                  "fields": {
                    "network": {
                      "type": "NetworkInfo",
                      "id": 1
                    }
                  }
                },
                "ScanNetworksRequest": {
                  "options": {
                    "(type_id)": 1011
                  },
                  "fields": {
                    "duration": {
                      "type": "uint32",
                      "id": 1
                    }
                  }
                },
                "ScanNetworksReply": {
                  "fields": {
                    "networks": {
                      "rule": "repeated",
                      "type": "NetworkInfo",
                      "id": 1
                    }
                  }
                },
                "DiagnosticType": {
                  "options": {
                    "allow_alias": true
                  },
                  "values": {
                    "MAC_EXTENDED_ADDRESS": 0,
                    "RLOC": 1,
                    "MAC_ADDRESS": 1,
                    "MODE": 2,
                    "TIMEOUT": 3,
                    "CONNECTIVITY": 4,
                    "ROUTE64": 5,
                    "LEADER_DATA": 6,
                    "NETWORK_DATA": 7,
                    "IPV6_ADDRESS_LIST": 8,
                    "MAC_COUNTERS": 9,
                    "BATTERY_LEVEL": 14,
                    "SUPPLY_VOLTAGE": 15,
                    "CHILD_TABLE": 16,
                    "CHANNEL_PAGES": 17,
                    "TYPE_LIST": 18,
                    "MAX_CHILD_TIMEOUT": 19
                  }
                },
                "DiagnosticInfo": {
                  "fields": {
                    "extMacAddress": {
                      "type": "bytes",
                      "id": 1,
                      "options": {
                        "(nanopb).max_size": 8
                      }
                    },
                    "rloc": {
                      "type": "uint32",
                      "id": 2
                    },
                    "mode": {
                      "type": "uint32",
                      "id": 3
                    },
                    "timeout": {
                      "type": "uint32",
                      "id": 4
                    },
                    "connectivity": {
                      "type": "Connectivity",
                      "id": 5
                    },
                    "route64": {
                      "type": "Route64",
                      "id": 6
                    },
                    "leaderData": {
                      "type": "LeaderData",
                      "id": 7
                    },
                    "networkData": {
                      "type": "NetworkData",
                      "id": 8
                    },
                    "ipv6AddressList": {
                      "rule": "repeated",
                      "type": "Ipv6Address",
                      "id": 9
                    },
                    "macCounters": {
                      "type": "MacCounters",
                      "id": 10
                    },
                    "batteryLevel": {
                      "type": "uint32",
                      "id": 15
                    },
                    "supplyVoltage": {
                      "type": "uint32",
                      "id": 16
                    },
                    "childTable": {
                      "type": "ChildTable",
                      "id": 17
                    },
                    "channelPages": {
                      "type": "bytes",
                      "id": 18,
                      "options": {
                        "(nanopb).max_size": 3
                      }
                    },
                    "typeList": {
                      "rule": "repeated",
                      "type": "DiagnosticType",
                      "id": 19
                    },
                    "maxChildTimeout": {
                      "type": "uint32",
                      "id": 20
                    },
                    "deviceId": {
                      "type": "bytes",
                      "id": 100,
                      "options": {
                        "(nanopb).max_size": 12
                      }
                    }
                  },
                  "nested": {
                    "Mode": {
                      "options": {
                        "allow_alias": true
                      },
                      "values": {
                        "INVALID": 0,
                        "RECEIVER_ON_WHEN_IDLE": 16,
                        "SECURE_DATA_REQUESTS": 32,
                        "DEVICE_TYPE": 48,
                        "DEVICE_TYPE_FTD": 48,
                        "NETWORK_DATA": 64,
                        "NETWORK_DATA_FULL": 64
                      }
                    },
                    "Connectivity": {
                      "fields": {
                        "parentPriority": {
                          "type": "uint32",
                          "id": 1
                        },
                        "linkQuality_1": {
                          "type": "uint32",
                          "id": 2
                        },
                        "linkQuality_2": {
                          "type": "uint32",
                          "id": 3
                        },
                        "linkQuality_3": {
                          "type": "uint32",
                          "id": 4
                        },
                        "leaderCost": {
                          "type": "uint32",
                          "id": 5
                        },
                        "idSequence": {
                          "type": "uint32",
                          "id": 6
                        },
                        "activeRouters": {
                          "type": "uint32",
                          "id": 7
                        },
                        "sedBufferSize": {
                          "type": "uint32",
                          "id": 8
                        },
                        "sedDatagramCount": {
                          "type": "uint32",
                          "id": 9
                        }
                      }
                    },
                    "Route64": {
                      "fields": {
                        "idSequence": {
                          "type": "uint32",
                          "id": 1
                        },
                        "routes": {
                          "rule": "repeated",
                          "type": "RouteData",
                          "id": 2
                        }
                      },
                      "nested": {
                        "RouteData": {
                          "fields": {
                            "routerRloc": {
                              "type": "uint32",
                              "id": 1
                            },
                            "linkQualityOut": {
                              "type": "uint32",
                              "id": 2
                            },
                            "linkQualityIn": {
                              "type": "uint32",
                              "id": 3
                            },
                            "routeCost": {
                              "type": "uint32",
                              "id": 4
                            }
                          }
                        }
                      }
                    },
                    "LeaderData": {
                      "fields": {
                        "partitionId": {
                          "type": "uint32",
                          "id": 1
                        },
                        "weighting": {
                          "type": "uint32",
                          "id": 2
                        },
                        "dataVersion": {
                          "type": "uint32",
                          "id": 3
                        },
                        "stableDataVersion": {
                          "type": "uint32",
                          "id": 4
                        },
                        "leaderRloc": {
                          "type": "uint32",
                          "id": 5
                        }
                      }
                    },
                    "RoutePreference": {
                      "values": {
                        "MEDIUM": 0,
                        "HIGH": 1,
                        "LOW": -1
                      }
                    },
                    "NetworkData": {
                      "fields": {
                        "stable": {
                          "type": "Data",
                          "id": 1
                        },
                        "temporary": {
                          "type": "Data",
                          "id": 2
                        }
                      },
                      "nested": {
                        "HasRoute": {
                          "fields": {
                            "entries": {
                              "rule": "repeated",
                              "type": "HasRouteEntry",
                              "id": 1
                            }
                          },
                          "nested": {
                            "HasRouteEntry": {
                              "fields": {
                                "rloc": {
                                  "type": "uint32",
                                  "id": 1
                                },
                                "preference": {
                                  "type": "RoutePreference",
                                  "id": 2
                                }
                              }
                            }
                          }
                        },
                        "BorderRouter": {
                          "fields": {
                            "entries": {
                              "rule": "repeated",
                              "type": "BorderRouterEntry",
                              "id": 1
                            }
                          },
                          "nested": {
                            "BorderRouterEntry": {
                              "fields": {
                                "rloc": {
                                  "type": "uint32",
                                  "id": 1
                                },
                                "preference": {
                                  "type": "RoutePreference",
                                  "id": 2
                                },
                                "flags": {
                                  "type": "uint32",
                                  "id": 3
                                }
                              },
                              "nested": {
                                "Flags": {
                                  "values": {
                                    "NONE": 0,
                                    "PREFERRED": 1,
                                    "SLAAC": 2,
                                    "DHCP": 4,
                                    "CONFIGURE": 8,
                                    "DEFAULT_ROUTE": 16,
                                    "ON_MESH": 32,
                                    "ND_DNS": 64
                                  }
                                }
                              }
                            }
                          }
                        },
                        "Context": {
                          "fields": {
                            "cid": {
                              "type": "uint32",
                              "id": 1
                            },
                            "compress": {
                              "type": "bool",
                              "id": 2
                            },
                            "contextLength": {
                              "type": "uint32",
                              "id": 3
                            }
                          }
                        },
                        "Prefix": {
                          "fields": {
                            "domainId": {
                              "type": "uint32",
                              "id": 1
                            },
                            "prefixLength": {
                              "type": "uint32",
                              "id": 2
                            },
                            "prefix": {
                              "type": "bytes",
                              "id": 3,
                              "options": {
                                "(nanopb).max_size": 16
                              }
                            },
                            "context": {
                              "rule": "repeated",
                              "type": "Context",
                              "id": 4
                            },
                            "hasRoute": {
                              "type": "HasRoute",
                              "id": 5
                            },
                            "borderRouter": {
                              "type": "BorderRouter",
                              "id": 6
                            }
                          }
                        },
                        "Server": {
                          "fields": {
                            "rloc": {
                              "type": "uint32",
                              "id": 1
                            },
                            "data": {
                              "type": "bytes",
                              "id": 2
                            }
                          }
                        },
                        "Service": {
                          "fields": {
                            "sid": {
                              "type": "uint32",
                              "id": 1
                            },
                            "enterpriseNumber": {
                              "type": "uint32",
                              "id": 2
                            },
                            "data": {
                              "type": "bytes",
                              "id": 3
                            },
                            "servers": {
                              "rule": "repeated",
                              "type": "Server",
                              "id": 4
                            }
                          }
                        },
                        "Data": {
                          "fields": {
                            "prefixes": {
                              "rule": "repeated",
                              "type": "Prefix",
                              "id": 1
                            },
                            "services": {
                              "rule": "repeated",
                              "type": "Service",
                              "id": 2
                            }
                          }
                        }
                      }
                    },
                    "MacCounters": {
                      "fields": {
                        "ifInUnknownProtos": {
                          "type": "uint32",
                          "id": 1
                        },
                        "ifInErrors": {
                          "type": "uint32",
                          "id": 2
                        },
                        "ifOutErrors": {
                          "type": "uint32",
                          "id": 3
                        },
                        "ifInUcastPkts": {
                          "type": "uint32",
                          "id": 4
                        },
                        "ifInBroadcastPkts": {
                          "type": "uint32",
                          "id": 5
                        },
                        "ifInDiscards": {
                          "type": "uint32",
                          "id": 6
                        },
                        "ifOutUcastPkts": {
                          "type": "uint32",
                          "id": 7
                        },
                        "ifOutBroadcastPkts": {
                          "type": "uint32",
                          "id": 8
                        },
                        "ifOutDiscards": {
                          "type": "uint32",
                          "id": 9
                        }
                      }
                    },
                    "ChildTable": {
                      "fields": {
                        "children": {
                          "rule": "repeated",
                          "type": "ChildEntry",
                          "id": 1
                        }
                      },
                      "nested": {
                        "ChildEntry": {
                          "fields": {
                            "timeout": {
                              "type": "uint32",
                              "id": 1
                            },
                            "childId": {
                              "type": "uint32",
                              "id": 2
                            },
                            "mode": {
                              "type": "uint32",
                              "id": 3
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "GetNetworkDiagnosticsRequest": {
                  "options": {
                    "(type_id)": 1012
                  },
                  "fields": {
                    "flags": {
                      "type": "uint32",
                      "id": 1
                    },
                    "diagnosticTypes": {
                      "rule": "repeated",
                      "type": "DiagnosticType",
                      "id": 2
                    },
                    "timeout": {
                      "type": "uint32",
                      "id": 3
                    }
                  },
                  "nested": {
                    "Flags": {
                      "values": {
                        "INVALID": 0,
                        "QUERY_CHILDREN": 1,
                        "RESOLVE_DEVICE_ID": 2
                      }
                    }
                  }
                },
                "GetNetworkDiagnosticsReply": {
                  "fields": {
                    "nodes": {
                      "rule": "repeated",
                      "type": "DiagnosticInfo",
                      "id": 1
                    }
                  }
                }
              }
            },
            "InterfaceConfigurationSource": {
              "values": {
                "NONE": 0,
                "DHCP": 1,
                "STATIC": 2,
                "SLAAC": 3,
                "DHCPV6": 4
              }
            },
            "InterfaceAddress": {
              "fields": {
                "address": {
                  "type": "IpAddress",
                  "id": 1
                },
                "prefixLength": {
                  "type": "uint32",
                  "id": 2
                }
              }
            },
            "Ipv4Config": {
              "fields": {
                "addresses": {
                  "rule": "repeated",
                  "type": "InterfaceAddress",
                  "id": 1
                },
                "peer": {
                  "type": "Ipv4Address",
                  "id": 2
                },
                "gateway": {
                  "type": "Ipv4Address",
                  "id": 3,
                  "options": {
                    "(nanopb).proto3": false
                  }
                },
                "dns": {
                  "rule": "repeated",
                  "type": "Ipv4Address",
                  "id": 4
                },
                "source": {
                  "type": "InterfaceConfigurationSource",
                  "id": 5
                }
              }
            },
            "Ipv6Config": {
              "fields": {
                "addresses": {
                  "rule": "repeated",
                  "type": "InterfaceAddress",
                  "id": 1
                },
                "dns": {
                  "rule": "repeated",
                  "type": "Ipv6Address",
                  "id": 2
                },
                "source": {
                  "type": "InterfaceConfigurationSource",
                  "id": 3
                },
                "gateway": {
                  "type": "Ipv6Address",
                  "id": 4,
                  "options": {
                    "(nanopb).proto3": false
                  }
                }
              }
            },
            "InterfaceFlag": {
              "options": {
                "allow_alias": true
              },
              "values": {
                "IFF_NONE": 0,
                "IFF_UP": 1,
                "IFF_BROADCAST": 2,
                "IFF_DEBUG": 4,
                "IFF_LOOPBACK": 8,
                "IFF_POINTTOPOINT": 16,
                "IFF_RUNNING": 64,
                "IFF_LOWER_UP": 64,
                "IFF_NOARP": 128,
                "IFF_PROMISC": 256,
                "IFF_ALLMULTI": 512,
                "IFF_MULTICAST": 32768,
                "IFF_NOND6": 65536
              }
            },
            "InterfaceExtFlag": {
              "values": {
                "IFXF_NONE": 0,
                "IFXF_WOL": 16,
                "IFXF_AUTOCONF6": 32,
                "IFXF_DHCP": 65536,
                "IFXF_DHCP6": 131072,
                "IFXF_AUTOIP": 262144
              }
            },
            "InterfaceType": {
              "values": {
                "INVALID_INTERFACE_TYPE": 0,
                "LOOPBACK": 1,
                "THREAD": 2,
                "ETHERNET": 4,
                "WIFI": 8,
                "PPP": 16
              }
            },
            "Interface": {
              "fields": {
                "index": {
                  "type": "uint32",
                  "id": 1
                },
                "name": {
                  "type": "string",
                  "id": 2
                },
                "type": {
                  "type": "InterfaceType",
                  "id": 3
                },
                "flags": {
                  "type": "uint32",
                  "id": 4
                },
                "extFlags": {
                  "type": "uint32",
                  "id": 5
                },
                "ipv4Config": {
                  "type": "Ipv4Config",
                  "id": 6
                },
                "ipv6Config": {
                  "type": "Ipv6Config",
                  "id": 7
                },
                "hwAddress": {
                  "type": "bytes",
                  "id": 8,
                  "options": {
                    "(nanopb).max_size": 8
                  }
                },
                "mtu": {
                  "type": "uint32",
                  "id": 9
                },
                "metric": {
                  "type": "uint32",
                  "id": 10
                },
                "profile": {
                  "type": "bytes",
                  "id": 11
                }
              }
            },
            "InterfaceEntry": {
              "fields": {
                "index": {
                  "type": "uint32",
                  "id": 1
                },
                "name": {
                  "type": "string",
                  "id": 2
                },
                "type": {
                  "type": "InterfaceType",
                  "id": 3
                }
              }
            },
            "GetInterfaceListRequest": {
              "options": {
                "(type_id)": 400
              },
              "fields": {}
            },
            "GetInterfaceListReply": {
              "fields": {
                "interfaces": {
                  "rule": "repeated",
                  "type": "InterfaceEntry",
                  "id": 1
                }
              }
            },
            "GetInterfaceRequest": {
              "options": {
                "(type_id)": 401
              },
              "fields": {
                "index": {
                  "type": "uint32",
                  "id": 1
                }
              }
            },
            "GetInterfaceReply": {
              "fields": {
                "interface": {
                  "type": "Interface",
                  "id": 1
                }
              }
            },
            "GetInterfaceStoredConfigurationRequest": {
              "options": {
                "(type_id)": 402
              },
              "fields": {
                "index": {
                  "type": "uint32",
                  "id": 1
                }
              }
            },
            "GetInterfaceStoredConfigurationReply": {
              "fields": {
                "config": {
                  "rule": "repeated",
                  "type": "Interface",
                  "id": 1
                }
              }
            },
            "SetInterfaceStoredConfigurationRequest": {
              "options": {
                "(type_id)": 403
              },
              "fields": {
                "config": {
                  "type": "Interface",
                  "id": 1
                }
              }
            },
            "SetInterfaceStoredConfigurationReply": {
              "fields": {}
            },
            "DeleteInterfaceStoredConfigurationRequest": {
              "options": {
                "(type_id)": 404
              },
              "fields": {
                "index": {
                  "type": "uint32",
                  "id": 1
                },
                "profile": {
                  "type": "bytes",
                  "id": 2
                }
              }
            },
            "DeleteInterfaceStoredConfigurationReply": {
              "fields": {}
            },
            "NetworkGetStatusRequest": {
              "options": {
                "(type_id)": 122
              },
              "fields": {
                "interface": {
                  "type": "int32",
                  "id": 1
                }
              }
            },
            "NetworkGetStatusReply": {
              "fields": {
                "config": {
                  "type": "NetworkConfiguration",
                  "id": 1
                }
              }
            },
            "NetworkGetConfigurationRequest": {
              "options": {
                "(type_id)": 120
              },
              "fields": {
                "interface": {
                  "type": "int32",
                  "id": 1
                }
              }
            },
            "NetworkGetConfigurationReply": {
              "fields": {
                "config": {
                  "type": "NetworkConfiguration",
                  "id": 1
                }
              }
            },
            "NetworkSetConfigurationRequest": {
              "options": {
                "(type_id)": 121
              },
              "fields": {
                "config": {
                  "type": "NetworkConfiguration",
                  "id": 1
                }
              }
            },
            "NetworkSetConfigurationReply": {
              "fields": {}
            },
            "NetworkState": {
              "values": {
                "NETWORK_STATUS_NONE": 0,
                "DOWN": 1,
                "UP": 2
              }
            },
            "IPConfiguration": {
              "fields": {
                "type": {
                  "type": "Type",
                  "id": 1
                },
                "address": {
                  "type": "IPAddress",
                  "id": 2
                },
                "netmask": {
                  "type": "IPAddress",
                  "id": 3
                },
                "gateway": {
                  "type": "IPAddress",
                  "id": 4
                },
                "dhcpServer": {
                  "type": "IPAddress",
                  "id": 5
                },
                "hostname": {
                  "type": "string",
                  "id": 6
                }
              },
              "nested": {
                "Type": {
                  "values": {
                    "NONE": 0,
                    "DHCP": 1,
                    "STATIC": 2
                  }
                }
              }
            },
            "DNSConfiguration": {
              "fields": {
                "servers": {
                  "rule": "repeated",
                  "type": "IPAddress",
                  "id": 1
                }
              }
            },
            "NetworkConfiguration": {
              "fields": {
                "interface": {
                  "type": "int32",
                  "id": 1
                },
                "state": {
                  "type": "NetworkState",
                  "id": 2
                },
                "name": {
                  "type": "string",
                  "id": 3
                },
                "mac": {
                  "type": "bytes",
                  "id": 4,
                  "options": {
                    "(nanopb).max_size": 6
                  }
                },
                "ipconfig": {
                  "type": "IPConfiguration",
                  "id": 5
                },
                "dnsconfig": {
                  "type": "DNSConfiguration",
                  "id": 6
                }
              }
            },
            "StorageType": {
              "values": {
                "INVALID_STORAGE": 0,
                "INTERNAL": 1
              }
            },
            "SectionType": {
              "values": {
                "INVALID_SECTION": 0,
                "FIRMWARE": 1,
                "OTA_BACKUP": 2,
                "FACTORY_BACKUP": 3,
                "CONFIG": 4,
                "EEPROM": 5
              }
            },
            "FirmwareModuleType": {
              "values": {
                "INVALID_FIRMWARE_MODULE": 0,
                "BOOTLOADER": 1,
                "SYSTEM_PART": 2,
                "USER_PART": 3,
                "MONO_FIRMWARE": 4,
                "NCP_FIRMWARE": 5,
                "RADIO_STACK": 6
              }
            },
            "FirmwareModuleValidityFlag": {
              "values": {
                "NO_VALIDATION_ERRORS": 0,
                "INTEGRITY_CHECK_FAILED": 1,
                "DEPENDENCY_CHECK_FAILED": 2
              }
            },
            "SectionFlag": {
              "values": {
                "NO_SECTION_FLAGS": 0,
                "CAN_READ": 1,
                "CAN_WRITE": 2,
                "CAN_CLEAR": 4,
                "CAN_GET_SIZE": 8,
                "NEED_CLEAR": 16
              }
            },
            "FileFormat": {
              "values": {
                "BIN": 0,
                "MINIZ": 1
              }
            },
            "StartFirmwareUpdateRequest": {
              "options": {
                "(type_id)": 250
              },
              "fields": {
                "size": {
                  "type": "uint32",
                  "id": 1
                },
                "format": {
                  "type": "FileFormat",
                  "id": 2
                }
              }
            },
            "StartFirmwareUpdateReply": {
              "fields": {
                "chunkSize": {
                  "type": "uint32",
                  "id": 1
                }
              }
            },
            "FinishFirmwareUpdateRequest": {
              "options": {
                "(type_id)": 251
              },
              "fields": {
                "validateOnly": {
                  "type": "bool",
                  "id": 1
                }
              }
            },
            "FinishFirmwareUpdateReply": {
              "fields": {}
            },
            "CancelFirmwareUpdateRequest": {
              "options": {
                "(type_id)": 252
              },
              "fields": {}
            },
            "CancelFirmwareUpdateReply": {
              "fields": {}
            },
            "FirmwareUpdateDataRequest": {
              "options": {
                "(type_id)": 253
              },
              "fields": {
                "data": {
                  "type": "bytes",
                  "id": 1
                }
              }
            },
            "FirmwareUpdateDataReply": {
              "fields": {}
            },
            "DescribeStorageRequest": {
              "options": {
                "(type_id)": 260
              },
              "fields": {}
            },
            "DescribeStorageReply": {
              "fields": {
                "storage": {
                  "rule": "repeated",
                  "type": "Storage",
                  "id": 1
                }
              },
              "nested": {
                "Section": {
                  "fields": {
                    "type": {
                      "type": "SectionType",
                      "id": 1
                    },
                    "size": {
                      "type": "uint32",
                      "id": 2
                    },
                    "flags": {
                      "type": "uint32",
                      "id": 3
                    },
                    "firmwareModule": {
                      "type": "FirmwareModule",
                      "id": 4
                    }
                  },
                  "nested": {
                    "FirmwareModule": {
                      "fields": {
                        "type": {
                          "type": "FirmwareModuleType",
                          "id": 1
                        },
                        "index": {
                          "type": "uint32",
                          "id": 2
                        }
                      }
                    }
                  }
                },
                "Storage": {
                  "fields": {
                    "type": {
                      "type": "StorageType",
                      "id": 1
                    },
                    "flags": {
                      "type": "uint32",
                      "id": 2
                    },
                    "sections": {
                      "rule": "repeated",
                      "type": "Section",
                      "id": 3
                    }
                  }
                }
              }
            },
            "ReadSectionDataRequest": {
              "options": {
                "(type_id)": 261
              },
              "fields": {
                "storage": {
                  "type": "uint32",
                  "id": 1
                },
                "section": {
                  "type": "uint32",
                  "id": 2
                },
                "offset": {
                  "type": "uint32",
                  "id": 3
                },
                "size": {
                  "type": "uint32",
                  "id": 4
                }
              }
            },
            "ReadSectionDataReply": {
              "fields": {
                "data": {
                  "type": "bytes",
                  "id": 1
                }
              }
            },
            "WriteSectionDataRequest": {
              "options": {
                "(type_id)": 262
              },
              "fields": {
                "storage": {
                  "type": "uint32",
                  "id": 1
                },
                "section": {
                  "type": "uint32",
                  "id": 2
                },
                "offset": {
                  "type": "uint32",
                  "id": 3
                },
                "data": {
                  "type": "bytes",
                  "id": 4
                }
              }
            },
            "WriteSectionDataReply": {
              "fields": {}
            },
            "ClearSectionDataRequest": {
              "options": {
                "(type_id)": 263
              },
              "fields": {
                "storage": {
                  "type": "uint32",
                  "id": 1
                },
                "section": {
                  "type": "uint32",
                  "id": 2
                }
              }
            },
            "ClearSectionDataReply": {
              "fields": {}
            },
            "GetSectionDataSizeRequest": {
              "options": {
                "(type_id)": 264
              },
              "fields": {
                "storage": {
                  "type": "uint32",
                  "id": 1
                },
                "section": {
                  "type": "uint32",
                  "id": 2
                }
              }
            },
            "GetSectionDataSizeReply": {
              "fields": {
                "size": {
                  "type": "uint32",
                  "id": 1
                }
              }
            },
            "GetModuleInfoRequest": {
              "options": {
                "(type_id)": 90
              },
              "fields": {}
            },
            "GetModuleInfoReply": {
              "fields": {
                "modulesDeprecated": {
                  "rule": "repeated",
                  "type": "Module",
                  "id": 1
                },
                "modules": {
                  "rule": "repeated",
                  "type": "particle.cloud.FirmwareModule",
                  "id": 2
                }
              },
              "nested": {
                "Dependency": {
                  "fields": {
                    "type": {
                      "type": "FirmwareModuleType",
                      "id": 1
                    },
                    "index": {
                      "type": "uint32",
                      "id": 2
                    },
                    "version": {
                      "type": "uint32",
                      "id": 3
                    }
                  }
                },
                "Module": {
                  "fields": {
                    "type": {
                      "type": "FirmwareModuleType",
                      "id": 1
                    },
                    "index": {
                      "type": "uint32",
                      "id": 2
                    },
                    "version": {
                      "type": "uint32",
                      "id": 3
                    },
                    "size": {
                      "type": "uint32",
                      "id": 4
                    },
                    "validity": {
                      "type": "uint32",
                      "id": 5
                    },
                    "dependencies": {
                      "rule": "repeated",
                      "type": "Dependency",
                      "id": 6
                    }
                  }
                }
              }
            },
            "GetAssetInfoRequest": {
              "options": {
                "(type_id)": 91
              },
              "fields": {}
            },
            "GetAssetInfoReply": {
              "fields": {
                "available": {
                  "rule": "repeated",
                  "type": "particle.cloud.FirmwareModuleAsset",
                  "id": 1
                },
                "required": {
                  "rule": "repeated",
                  "type": "particle.cloud.FirmwareModuleAsset",
                  "id": 2
                }
              }
            },
            "WiFiGetAntennaRequest": {
              "options": {
                "(type_id)": 111
              },
              "fields": {}
            },
            "WiFiGetAntennaReply": {
              "fields": {
                "antenna": {
                  "type": "WiFiAntenna",
                  "id": 1
                }
              }
            },
            "WiFiSetAntennaRequest": {
              "options": {
                "(type_id)": 110
              },
              "fields": {
                "antenna": {
                  "type": "WiFiAntenna",
                  "id": 1
                }
              }
            },
            "WiFiSetAntennaReply": {
              "fields": {}
            },
            "WiFiScanRequest": {
              "options": {
                "(type_id)": 112
              },
              "fields": {}
            },
            "WiFiScanReply": {
              "fields": {
                "list": {
                  "type": "WiFiAccessPointList",
                  "id": 1
                }
              }
            },
            "WiFiGetCredentialsRequest": {
              "options": {
                "(type_id)": 114
              },
              "fields": {}
            },
            "WiFiGetCredentialsReply": {
              "fields": {
                "list": {
                  "type": "WiFiAccessPointList",
                  "id": 1
                }
              }
            },
            "WiFiSetCredentialsRequest": {
              "options": {
                "(type_id)": 113
              },
              "fields": {
                "ap": {
                  "type": "WiFiAccessPoint",
                  "id": 1
                }
              }
            },
            "WiFiSetCredentialsReply": {
              "fields": {}
            },
            "WiFiClearCredentialsRequest": {
              "options": {
                "(type_id)": 115
              },
              "fields": {}
            },
            "WiFiClearCredentialsReply": {
              "fields": {}
            },
            "WiFiAntenna": {
              "values": {
                "ANTENNA_NONE": 0,
                "INTERNAL": 1,
                "EXTERNAL": 2,
                "AUTO": 3
              }
            },
            "WiFiSecurityType": {
              "values": {
                "UNSEC": 0,
                "WEP": 1,
                "WPA": 2,
                "WPA2": 3,
                "WPA_ENTERPRISE": 4,
                "WPA2_ENTERPRISE": 5,
                "UNKNOWN": 255
              }
            },
            "WiFiSecurityCipher": {
              "values": {
                "CIPHER_NONE": 0,
                "AES": 1,
                "TKIP": 2,
                "AES_TKIP": 3
              }
            },
            "EapType": {
              "values": {
                "EAP_TYPE_NONE": 0,
                "TLS": 13,
                "PEAP": 25
              }
            },
            "WiFiAccessPoint": {
              "fields": {
                "ssid": {
                  "type": "string",
                  "id": 1,
                  "options": {
                    "(nanopb).max_size": 33
                  }
                },
                "bssid": {
                  "type": "bytes",
                  "id": 2,
                  "options": {
                    "(nanopb).max_size": 6,
                    "(nanopb).fixed_length": true
                  }
                },
                "security": {
                  "type": "WiFiSecurityType",
                  "id": 3
                },
                "cipher": {
                  "type": "WiFiSecurityCipher",
                  "id": 4
                },
                "channel": {
                  "type": "uint32",
                  "id": 5
                },
                "maxDataRate": {
                  "type": "int32",
                  "id": 6
                },
                "rssi": {
                  "type": "int32",
                  "id": 7
                },
                "password": {
                  "type": "string",
                  "id": 8
                },
                "eapType": {
                  "type": "EapType",
                  "id": 9
                },
                "innerIdentity": {
                  "type": "string",
                  "id": 10
                },
                "outerIdentity": {
                  "type": "string",
                  "id": 11
                },
                "privateKey": {
                  "type": "bytes",
                  "id": 12
                },
                "clientCertificate": {
                  "type": "bytes",
                  "id": 13
                },
                "caCertificate": {
                  "type": "bytes",
                  "id": 14
                }
              }
            },
            "WiFiAccessPointList": {
              "fields": {
                "aps": {
                  "rule": "repeated",
                  "type": "WiFiAccessPoint",
                  "id": 1
                }
              }
            },
            "wifi": {
              "options": {
                "java_package": "io.particle.firmwareprotos.ctrl.wifi"
              },
              "nested": {
                "Security": {
                  "values": {
                    "NO_SECURITY": 0,
                    "WEP": 1,
                    "WPA_PSK": 2,
                    "WPA2_PSK": 3,
                    "WPA_WPA2_PSK": 4,
                    "WPA3_PSK": 5,
                    "WPA2_WPA3_PSK": 6
                  }
                },
                "CredentialsType": {
                  "values": {
                    "NO_CREDENTIALS": 0,
                    "PASSWORD": 1
                  }
                },
                "Credentials": {
                  "fields": {
                    "type": {
                      "type": "CredentialsType",
                      "id": 1
                    },
                    "password": {
                      "type": "string",
                      "id": 2
                    }
                  }
                },
                "JoinNewNetworkRequest": {
                  "options": {
                    "(type_id)": 500
                  },
                  "fields": {
                    "ssid": {
                      "type": "string",
                      "id": 1
                    },
                    "bssid": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 6
                      }
                    },
                    "security": {
                      "type": "Security",
                      "id": 3
                    },
                    "credentials": {
                      "type": "Credentials",
                      "id": 4
                    },
                    "interfaceConfig": {
                      "type": "Interface",
                      "id": 5
                    },
                    "hidden": {
                      "type": "bool",
                      "id": 6
                    }
                  }
                },
                "JoinNewNetworkReply": {
                  "fields": {}
                },
                "JoinKnownNetworkRequest": {
                  "options": {
                    "(type_id)": 501
                  },
                  "fields": {
                    "ssid": {
                      "type": "string",
                      "id": 1
                    }
                  }
                },
                "JoinKnownNetworkReply": {
                  "fields": {}
                },
                "GetKnownNetworksRequest": {
                  "options": {
                    "(type_id)": 502
                  },
                  "fields": {}
                },
                "GetKnownNetworksReply": {
                  "fields": {
                    "networks": {
                      "rule": "repeated",
                      "type": "Network",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Network": {
                      "fields": {
                        "ssid": {
                          "type": "string",
                          "id": 1
                        },
                        "security": {
                          "type": "Security",
                          "id": 2
                        },
                        "credentialsType": {
                          "type": "CredentialsType",
                          "id": 3
                        }
                      }
                    }
                  }
                },
                "RemoveKnownNetworkRequest": {
                  "options": {
                    "(type_id)": 503
                  },
                  "fields": {
                    "ssid": {
                      "type": "string",
                      "id": 1
                    }
                  }
                },
                "RemoveKnownNetworkReply": {
                  "fields": {}
                },
                "ClearKnownNetworksRequest": {
                  "options": {
                    "(type_id)": 504
                  },
                  "fields": {}
                },
                "ClearKnownNetworksReply": {
                  "fields": {}
                },
                "GetCurrentNetworkRequest": {
                  "options": {
                    "(type_id)": 505
                  },
                  "fields": {}
                },
                "GetCurrentNetworkReply": {
                  "fields": {
                    "ssid": {
                      "type": "string",
                      "id": 1
                    },
                    "bssid": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 6
                      }
                    },
                    "channel": {
                      "type": "int32",
                      "id": 3
                    },
                    "rssi": {
                      "type": "int32",
                      "id": 4
                    }
                  }
                },
                "ScanNetworksRequest": {
                  "options": {
                    "(type_id)": 506
                  },
                  "fields": {}
                },
                "ScanNetworksReply": {
                  "fields": {
                    "networks": {
                      "rule": "repeated",
                      "type": "Network",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Network": {
                      "fields": {
                        "ssid": {
                          "type": "string",
                          "id": 1
                        },
                        "bssid": {
                          "type": "bytes",
                          "id": 2,
                          "options": {
                            "(nanopb).max_size": 6
                          }
                        },
                        "security": {
                          "type": "Security",
                          "id": 3
                        },
                        "channel": {
                          "type": "int32",
                          "id": 4
                        },
                        "rssi": {
                          "type": "int32",
                          "id": 5
                        }
                      }
                    }
                  }
                },
                "SetNetworkCredentialsRequest": {
                  "options": {
                    "(type_id)": 507
                  },
                  "fields": {
                    "ssid": {
                      "type": "string",
                      "id": 1
                    },
                    "bssid": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 6
                      }
                    },
                    "security": {
                      "type": "Security",
                      "id": 3
                    },
                    "credentials": {
                      "type": "Credentials",
                      "id": 4
                    },
                    "interfaceConfig": {
                      "type": "Interface",
                      "id": 5
                    },
                    "hidden": {
                      "type": "bool",
                      "id": 6
                    }
                  }
                },
                "SetNetworkCredentialsReply": {
                  "fields": {}
                }
              }
            }
          }
        },
        "cloud": {
          "nested": {
            "Request": {
              "oneofs": {
                "data": {
                  "oneof": [
                    "ledgerGetInfo",
                    "ledgerSetData",
                    "ledgerGetData",
                    "ledgerSubscribe",
                    "ledgerNotifyUpdate",
                    "ledgerResetInfo",
                    "esimListProfiles",
                    "esimInstallProfile",
                    "esimNotifyProfileInstall",
                    "esimDeleteProfile",
                    "esimSetProfileState"
                  ]
                }
              },
              "fields": {
                "type": {
                  "type": "Type",
                  "id": 1
                },
                "ledgerGetInfo": {
                  "type": "ledger.GetInfoRequest",
                  "id": 2
                },
                "ledgerSetData": {
                  "type": "ledger.SetDataRequest",
                  "id": 3
                },
                "ledgerGetData": {
                  "type": "ledger.GetDataRequest",
                  "id": 4
                },
                "ledgerSubscribe": {
                  "type": "ledger.SubscribeRequest",
                  "id": 5
                },
                "ledgerNotifyUpdate": {
                  "type": "ledger.NotifyUpdateRequest",
                  "id": 6
                },
                "ledgerResetInfo": {
                  "type": "ledger.ResetInfoRequest",
                  "id": 7
                },
                "esimListProfiles": {
                  "type": "esim.ListProfilesRequest",
                  "id": 10
                },
                "esimInstallProfile": {
                  "type": "esim.InstallProfileRequest",
                  "id": 11
                },
                "esimNotifyProfileInstall": {
                  "type": "esim.NotifyProfileInstallRequest",
                  "id": 12
                },
                "esimDeleteProfile": {
                  "type": "esim.DeleteProfileRequest",
                  "id": 13
                },
                "esimSetProfileState": {
                  "type": "esim.SetProfileStateRequest",
                  "id": 14
                }
              },
              "nested": {
                "Type": {
                  "values": {
                    "INVALID": 0,
                    "LEDGER_GET_INFO": 1,
                    "LEDGER_SET_DATA": 2,
                    "LEDGER_GET_DATA": 3,
                    "LEDGER_SUBSCRIBE": 4,
                    "LEDGER_NOTIFY_UPDATE": 5,
                    "LEDGER_RESET_INFO": 6,
                    "ESIM_LIST_PROFILES": 10,
                    "ESIM_INSTALL_PROFILE": 11,
                    "ESIM_NOTIFY_PROFILE_INSTALL": 12,
                    "ESIM_DELETE_PROFILE": 13,
                    "ESIM_SET_PROFILE_STATE": 14
                  }
                }
              }
            },
            "Response": {
              "oneofs": {
                "_message": {
                  "oneof": [
                    "message"
                  ]
                },
                "data": {
                  "oneof": [
                    "ledgerGetInfo",
                    "ledgerSetData",
                    "ledgerGetData",
                    "ledgerSubscribe",
                    "ledgerNotifyUpdate",
                    "ledgerResetInfo",
                    "esimListProfiles",
                    "esimInstallProfile",
                    "esimNotifyProfileInstall",
                    "esimDeleteProfile",
                    "esimSetProfileState"
                  ]
                }
              },
              "fields": {
                "result": {
                  "type": "sint32",
                  "id": 1
                },
                "message": {
                  "type": "string",
                  "id": 2,
                  "options": {
                    "proto3_optional": true
                  }
                },
                "ledgerGetInfo": {
                  "type": "ledger.GetInfoResponse",
                  "id": 3
                },
                "ledgerSetData": {
                  "type": "ledger.SetDataResponse",
                  "id": 4
                },
                "ledgerGetData": {
                  "type": "ledger.GetDataResponse",
                  "id": 5
                },
                "ledgerSubscribe": {
                  "type": "ledger.SubscribeResponse",
                  "id": 6
                },
                "ledgerNotifyUpdate": {
                  "type": "ledger.NotifyUpdateResponse",
                  "id": 7
                },
                "ledgerResetInfo": {
                  "type": "ledger.ResetInfoResponse",
                  "id": 8
                },
                "esimListProfiles": {
                  "type": "esim.ListProfilesResponse",
                  "id": 10
                },
                "esimInstallProfile": {
                  "type": "esim.InstallProfileResponse",
                  "id": 11
                },
                "esimNotifyProfileInstall": {
                  "type": "esim.NotifyProfileInstallResponse",
                  "id": 12
                },
                "esimDeleteProfile": {
                  "type": "esim.DeleteProfileResponse",
                  "id": 13
                },
                "esimSetProfileState": {
                  "type": "esim.SetProfileStateResponse",
                  "id": 14
                }
              },
              "nested": {
                "Result": {
                  "values": {
                    "OK": 0,
                    "ERROR": 1,
                    "LEDGER_NOT_FOUND": 2,
                    "LEDGER_INVALID_SYNC_DIRECTION": 3,
                    "LEDGER_SCOPE_CHANGED": 4,
                    "LEDGER_INVALID_DATA": 5,
                    "LEDGER_TOO_LARGE_DATA": 6
                  }
                }
              }
            },
            "ServerMovedPermanentlyRequest": {
              "fields": {
                "serverAddr": {
                  "type": "string",
                  "id": 1
                },
                "serverPort": {
                  "type": "uint32",
                  "id": 2
                },
                "serverPubKey": {
                  "type": "bytes",
                  "id": 3
                },
                "sign": {
                  "type": "bytes",
                  "id": 4
                }
              }
            },
            "ServerMovedPermanentlyResponse": {
              "fields": {}
            },
            "ledger": {
              "nested": {
                "ScopeType": {
                  "values": {
                    "SCOPE_TYPE_UNKNOWN": 0,
                    "SCOPE_TYPE_DEVICE": 1,
                    "SCOPE_TYPE_PRODUCT": 2,
                    "SCOPE_TYPE_OWNER": 3
                  }
                },
                "SyncDirection": {
                  "values": {
                    "SYNC_DIRECTION_UNKNOWN": 0,
                    "SYNC_DIRECTION_DEVICE_TO_CLOUD": 1,
                    "SYNC_DIRECTION_CLOUD_TO_DEVICE": 2
                  }
                },
                "GetInfoRequest": {
                  "fields": {
                    "ledgers": {
                      "rule": "repeated",
                      "type": "string",
                      "id": 1
                    }
                  }
                },
                "GetInfoResponse": {
                  "fields": {
                    "ledgers": {
                      "rule": "repeated",
                      "type": "Ledger",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Ledger": {
                      "oneofs": {
                        "_lastUpdated": {
                          "oneof": [
                            "lastUpdated"
                          ]
                        }
                      },
                      "fields": {
                        "name": {
                          "type": "string",
                          "id": 1,
                          "options": {
                            "(nanopb).max_length": 32
                          }
                        },
                        "scopeId": {
                          "type": "bytes",
                          "id": 2,
                          "options": {
                            "(nanopb).max_size": 32
                          }
                        },
                        "scopeType": {
                          "type": "ScopeType",
                          "id": 3
                        },
                        "syncDirection": {
                          "type": "SyncDirection",
                          "id": 4
                        },
                        "lastUpdated": {
                          "type": "fixed64",
                          "id": 5,
                          "options": {
                            "proto3_optional": true
                          }
                        }
                      }
                    }
                  }
                },
                "SetDataRequest": {
                  "oneofs": {
                    "_lastUpdated": {
                      "oneof": [
                        "lastUpdated"
                      ]
                    }
                  },
                  "fields": {
                    "name": {
                      "type": "string",
                      "id": 1,
                      "options": {
                        "(nanopb).max_length": 32
                      }
                    },
                    "scopeId": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 32
                      }
                    },
                    "lastUpdated": {
                      "type": "fixed64",
                      "id": 3,
                      "options": {
                        "proto3_optional": true
                      }
                    },
                    "data": {
                      "type": "bytes",
                      "id": 10
                    }
                  }
                },
                "SetDataResponse": {
                  "fields": {}
                },
                "GetDataRequest": {
                  "oneofs": {
                    "_lastUpdated": {
                      "oneof": [
                        "lastUpdated"
                      ]
                    }
                  },
                  "fields": {
                    "name": {
                      "type": "string",
                      "id": 1,
                      "options": {
                        "(nanopb).max_length": 32
                      }
                    },
                    "scopeId": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 32
                      }
                    },
                    "lastUpdated": {
                      "type": "fixed64",
                      "id": 3,
                      "options": {
                        "proto3_optional": true
                      }
                    }
                  }
                },
                "GetDataResponse": {
                  "oneofs": {
                    "_lastUpdated": {
                      "oneof": [
                        "lastUpdated"
                      ]
                    },
                    "_data": {
                      "oneof": [
                        "data"
                      ]
                    }
                  },
                  "fields": {
                    "lastUpdated": {
                      "type": "fixed64",
                      "id": 1,
                      "options": {
                        "proto3_optional": true
                      }
                    },
                    "data": {
                      "type": "bytes",
                      "id": 10,
                      "options": {
                        "proto3_optional": true
                      }
                    }
                  }
                },
                "SubscribeRequest": {
                  "fields": {
                    "ledgers": {
                      "rule": "repeated",
                      "type": "Ledger",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Ledger": {
                      "fields": {
                        "name": {
                          "type": "string",
                          "id": 1,
                          "options": {
                            "(nanopb).max_length": 32
                          }
                        },
                        "scopeId": {
                          "type": "bytes",
                          "id": 2,
                          "options": {
                            "(nanopb).max_size": 32
                          }
                        }
                      }
                    }
                  }
                },
                "SubscribeResponse": {
                  "fields": {
                    "ledgers": {
                      "rule": "repeated",
                      "type": "Ledger",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Ledger": {
                      "oneofs": {
                        "_lastUpdated": {
                          "oneof": [
                            "lastUpdated"
                          ]
                        }
                      },
                      "fields": {
                        "name": {
                          "type": "string",
                          "id": 1,
                          "options": {
                            "(nanopb).max_length": 32
                          }
                        },
                        "lastUpdated": {
                          "type": "fixed64",
                          "id": 2,
                          "options": {
                            "proto3_optional": true
                          }
                        }
                      }
                    }
                  }
                },
                "NotifyUpdateRequest": {
                  "fields": {
                    "ledgers": {
                      "rule": "repeated",
                      "type": "Ledger",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Ledger": {
                      "fields": {
                        "name": {
                          "type": "string",
                          "id": 1,
                          "options": {
                            "(nanopb).max_length": 32
                          }
                        },
                        "lastUpdated": {
                          "type": "fixed64",
                          "id": 2
                        }
                      }
                    }
                  }
                },
                "NotifyUpdateResponse": {
                  "fields": {}
                },
                "ResetInfoRequest": {
                  "fields": {}
                },
                "ResetInfoResponse": {
                  "fields": {}
                }
              }
            },
            "esim": {
              "nested": {
                "ProfileClass": {
                  "values": {
                    "UNKNOWN_PROFILE_CLASS": 0,
                    "TEST": 1,
                    "PROVISIONING": 2,
                    "OPERATIONAL": 3
                  }
                },
                "ListProfilesRequest": {
                  "oneofs": {
                    "_includeTest": {
                      "oneof": [
                        "includeTest"
                      ]
                    }
                  },
                  "fields": {
                    "includeTest": {
                      "type": "bool",
                      "id": 1,
                      "options": {
                        "proto3_optional": true
                      }
                    }
                  }
                },
                "ListProfilesResponse": {
                  "fields": {
                    "profiles": {
                      "rule": "repeated",
                      "type": "Profile",
                      "id": 1
                    }
                  },
                  "nested": {
                    "Profile": {
                      "fields": {
                        "iccid": {
                          "type": "string",
                          "id": 1,
                          "options": {
                            "(nanopb).max_length": 20
                          }
                        },
                        "name": {
                          "type": "string",
                          "id": 2,
                          "options": {
                            "(nanopb).max_length": 64
                          }
                        },
                        "cls": {
                          "type": "ProfileClass",
                          "id": 3
                        },
                        "enabled": {
                          "type": "bool",
                          "id": 4
                        }
                      }
                    }
                  }
                },
                "InstallProfileRequest": {
                  "oneofs": {
                    "_iccid": {
                      "oneof": [
                        "iccid"
                      ]
                    },
                    "_enable": {
                      "oneof": [
                        "enable"
                      ]
                    },
                    "_refreshFlag": {
                      "oneof": [
                        "refreshFlag"
                      ]
                    }
                  },
                  "fields": {
                    "activationCode": {
                      "type": "string",
                      "id": 1
                    },
                    "iccid": {
                      "type": "string",
                      "id": 2,
                      "options": {
                        "(nanopb).max_length": 20,
                        "proto3_optional": true
                      }
                    },
                    "enable": {
                      "type": "bool",
                      "id": 3,
                      "options": {
                        "proto3_optional": true
                      }
                    },
                    "refreshFlag": {
                      "type": "bool",
                      "id": 4,
                      "options": {
                        "proto3_optional": true
                      }
                    }
                  }
                },
                "InstallProfileResponse": {
                  "fields": {
                    "installId": {
                      "type": "bytes",
                      "id": 1,
                      "options": {
                        "(nanopb).max_size": 16
                      }
                    }
                  }
                },
                "NotifyProfileInstallRequest": {
                  "oneofs": {
                    "_iccid": {
                      "oneof": [
                        "iccid"
                      ]
                    },
                    "_errorContext": {
                      "oneof": [
                        "errorContext"
                      ]
                    }
                  },
                  "fields": {
                    "result": {
                      "type": "sint32",
                      "id": 1
                    },
                    "installId": {
                      "type": "bytes",
                      "id": 2,
                      "options": {
                        "(nanopb).max_size": 16
                      }
                    },
                    "iccid": {
                      "type": "string",
                      "id": 3,
                      "options": {
                        "(nanopb).max_length": 20,
                        "proto3_optional": true
                      }
                    },
                    "errorContext": {
                      "type": "string",
                      "id": 4,
                      "options": {
                        "proto3_optional": true
                      }
                    }
                  }
                },
                "NotifyProfileInstallResponse": {
                  "fields": {}
                },
                "DeleteProfileRequest": {
                  "fields": {
                    "iccid": {
                      "type": "string",
                      "id": 1,
                      "options": {
                        "(nanopb).max_length": 20
                      }
                    }
                  }
                },
                "DeleteProfileResponse": {
                  "fields": {}
                },
                "SetProfileStateRequest": {
                  "oneofs": {
                    "_enabled": {
                      "oneof": [
                        "enabled"
                      ]
                    },
                    "_refreshFlag": {
                      "oneof": [
                        "refreshFlag"
                      ]
                    }
                  },
                  "fields": {
                    "iccid": {
                      "type": "string",
                      "id": 1,
                      "options": {
                        "(nanopb).max_length": 20
                      }
                    },
                    "enabled": {
                      "type": "bool",
                      "id": 2,
                      "options": {
                        "proto3_optional": true
                      }
                    },
                    "refreshFlag": {
                      "type": "bool",
                      "id": 3,
                      "options": {
                        "proto3_optional": true
                      }
                    }
                  }
                },
                "SetProfileStateResponse": {
                  "fields": {}
                }
              }
            },
            "FirmwareModuleType": {
              "values": {
                "INVALID_MODULE": 0,
                "RESOURCE_MODULE": 1,
                "BOOTLOADER_MODULE": 2,
                "MONO_FIRMWARE_MODULE": 3,
                "SYSTEM_PART_MODULE": 4,
                "USER_PART_MODULE": 5,
                "SETTINGS_MODULE": 6,
                "NCP_FIRMWARE_MODULE": 7,
                "RADIO_STACK_MODULE": 8,
                "ASSET_MODULE": 9
              }
            },
            "FirmwareModuleStore": {
              "values": {
                "MAIN_MODULE_STORE": 0,
                "FACTORY_MODULE_STORE": 1,
                "BACKUP_MODULE_STORE": 2,
                "SCRATCHPAD_MODULE_STORE": 3
              }
            },
            "FirmwareModuleValidityFlag": {
              "values": {
                "MODULE_NO_VALID_FLAGS": 0,
                "MODULE_INTEGRITY_VALID_FLAG": 2,
                "MODULE_DEPENDENCIES_VALID_FLAG": 4,
                "MODULE_RANGE_VALID_FLAG": 8,
                "MODULE_PLATFORM_VALID_FLAG": 16
              }
            },
            "FirmwareModuleSecurityMode": {
              "values": {
                "NONE": 0,
                "PROTECTED": 1
              }
            },
            "FirmwareModuleSecurity": {
              "fields": {
                "mode": {
                  "type": "FirmwareModuleSecurityMode",
                  "id": 1
                },
                "certificateFingerprint": {
                  "type": "bytes",
                  "id": 2
                }
              }
            },
            "FirmwareModuleDependency": {
              "fields": {
                "type": {
                  "type": "FirmwareModuleType",
                  "id": 1
                },
                "index": {
                  "type": "uint32",
                  "id": 2
                },
                "version": {
                  "type": "uint32",
                  "id": 3
                }
              }
            },
            "FirmwareModuleAsset": {
              "fields": {
                "hash": {
                  "type": "bytes",
                  "id": 1
                },
                "name": {
                  "type": "string",
                  "id": 2
                },
                "size": {
                  "type": "uint32",
                  "id": 3
                },
                "storageSize": {
                  "type": "uint32",
                  "id": 4
                }
              }
            },
            "FirmwareModule": {
              "oneofs": {
                "_hash": {
                  "oneof": [
                    "hash"
                  ]
                }
              },
              "fields": {
                "type": {
                  "type": "FirmwareModuleType",
                  "id": 1
                },
                "index": {
                  "type": "uint32",
                  "id": 2
                },
                "version": {
                  "type": "uint32",
                  "id": 3
                },
                "store": {
                  "type": "FirmwareModuleStore",
                  "id": 4
                },
                "maxSize": {
                  "type": "uint32",
                  "id": 5
                },
                "checkedFlags": {
                  "type": "fixed32",
                  "id": 6
                },
                "passedFlags": {
                  "type": "fixed32",
                  "id": 7
                },
                "hash": {
                  "type": "bytes",
                  "id": 8,
                  "options": {
                    "proto3_optional": true
                  }
                },
                "dependencies": {
                  "rule": "repeated",
                  "type": "FirmwareModuleDependency",
                  "id": 9
                },
                "assetDependencies": {
                  "rule": "repeated",
                  "type": "FirmwareModuleAsset",
                  "id": 10
                },
                "size": {
                  "type": "uint32",
                  "id": 11
                },
                "security": {
                  "type": "FirmwareModuleSecurity",
                  "id": 12
                }
              }
            },
            "SystemDescribe": {
              "oneofs": {
                "_imei": {
                  "oneof": [
                    "imei"
                  ]
                },
                "_iccid": {
                  "oneof": [
                    "iccid"
                  ]
                },
                "_modemFirmwareVersion": {
                  "oneof": [
                    "modemFirmwareVersion"
                  ]
                },
                "_envVarsHash": {
                  "oneof": [
                    "envVarsHash"
                  ]
                }
              },
              "fields": {
                "firmwareModules": {
                  "rule": "repeated",
                  "type": "FirmwareModule",
                  "id": 1
                },
                "imei": {
                  "type": "string",
                  "id": 2,
                  "options": {
                    "proto3_optional": true
                  }
                },
                "iccid": {
                  "type": "string",
                  "id": 3,
                  "options": {
                    "proto3_optional": true
                  }
                },
                "modemFirmwareVersion": {
                  "type": "string",
                  "id": 4,
                  "options": {
                    "proto3_optional": true
                  }
                },
                "assets": {
                  "rule": "repeated",
                  "type": "FirmwareModuleAsset",
                  "id": 5
                },
                "protectedState": {
                  "type": "bool",
                  "id": 6
                },
                "envVarsHash": {
                  "type": "bytes",
                  "id": 7,
                  "options": {
                    "(nanopb).max_size": 32,
                    "proto3_optional": true
                  }
                }
              }
            }
          }
        }
      }
    },
    "typeId": {
      "type": "int32",
      "id": 50001,
      "extend": "google.protobuf.MessageOptions"
    },
    "intValue": {
      "type": "int32",
      "id": 50002,
      "extend": "google.protobuf.EnumValueOptions"
    },
    "google": {
      "nested": {
        "protobuf": {
          "nested": {
            "FileDescriptorSet": {
              "fields": {
                "file": {
                  "rule": "repeated",
                  "type": "FileDescriptorProto",
                  "id": 1
                }
              }
            },
            "FileDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "package": {
                  "type": "string",
                  "id": 2
                },
                "dependency": {
                  "rule": "repeated",
                  "type": "string",
                  "id": 3
                },
                "publicDependency": {
                  "rule": "repeated",
                  "type": "int32",
                  "id": 10,
                  "options": {
                    "packed": false
                  }
                },
                "weakDependency": {
                  "rule": "repeated",
                  "type": "int32",
                  "id": 11,
                  "options": {
                    "packed": false
                  }
                },
                "messageType": {
                  "rule": "repeated",
                  "type": "DescriptorProto",
                  "id": 4
                },
                "enumType": {
                  "rule": "repeated",
                  "type": "EnumDescriptorProto",
                  "id": 5
                },
                "service": {
                  "rule": "repeated",
                  "type": "ServiceDescriptorProto",
                  "id": 6
                },
                "extension": {
                  "rule": "repeated",
                  "type": "FieldDescriptorProto",
                  "id": 7
                },
                "options": {
                  "type": "FileOptions",
                  "id": 8
                },
                "sourceCodeInfo": {
                  "type": "SourceCodeInfo",
                  "id": 9
                },
                "syntax": {
                  "type": "string",
                  "id": 12
                }
              }
            },
            "DescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "field": {
                  "rule": "repeated",
                  "type": "FieldDescriptorProto",
                  "id": 2
                },
                "extension": {
                  "rule": "repeated",
                  "type": "FieldDescriptorProto",
                  "id": 6
                },
                "nestedType": {
                  "rule": "repeated",
                  "type": "DescriptorProto",
                  "id": 3
                },
                "enumType": {
                  "rule": "repeated",
                  "type": "EnumDescriptorProto",
                  "id": 4
                },
                "extensionRange": {
                  "rule": "repeated",
                  "type": "ExtensionRange",
                  "id": 5
                },
                "oneofDecl": {
                  "rule": "repeated",
                  "type": "OneofDescriptorProto",
                  "id": 8
                },
                "options": {
                  "type": "MessageOptions",
                  "id": 7
                },
                "reservedRange": {
                  "rule": "repeated",
                  "type": "ReservedRange",
                  "id": 9
                },
                "reservedName": {
                  "rule": "repeated",
                  "type": "string",
                  "id": 10
                }
              },
              "nested": {
                "ExtensionRange": {
                  "fields": {
                    "start": {
                      "type": "int32",
                      "id": 1
                    },
                    "end": {
                      "type": "int32",
                      "id": 2
                    }
                  }
                },
                "ReservedRange": {
                  "fields": {
                    "start": {
                      "type": "int32",
                      "id": 1
                    },
                    "end": {
                      "type": "int32",
                      "id": 2
                    }
                  }
                }
              }
            },
            "FieldDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "number": {
                  "type": "int32",
                  "id": 3
                },
                "label": {
                  "type": "Label",
                  "id": 4
                },
                "type": {
                  "type": "Type",
                  "id": 5
                },
                "typeName": {
                  "type": "string",
                  "id": 6
                },
                "extendee": {
                  "type": "string",
                  "id": 2
                },
                "defaultValue": {
                  "type": "string",
                  "id": 7
                },
                "oneofIndex": {
                  "type": "int32",
                  "id": 9
                },
                "jsonName": {
                  "type": "string",
                  "id": 10
                },
                "options": {
                  "type": "FieldOptions",
                  "id": 8
                }
              },
              "nested": {
                "Type": {
                  "values": {
                    "TYPE_DOUBLE": 1,
                    "TYPE_FLOAT": 2,
                    "TYPE_INT64": 3,
                    "TYPE_UINT64": 4,
                    "TYPE_INT32": 5,
                    "TYPE_FIXED64": 6,
                    "TYPE_FIXED32": 7,
                    "TYPE_BOOL": 8,
                    "TYPE_STRING": 9,
                    "TYPE_GROUP": 10,
                    "TYPE_MESSAGE": 11,
                    "TYPE_BYTES": 12,
                    "TYPE_UINT32": 13,
                    "TYPE_ENUM": 14,
                    "TYPE_SFIXED32": 15,
                    "TYPE_SFIXED64": 16,
                    "TYPE_SINT32": 17,
                    "TYPE_SINT64": 18
                  }
                },
                "Label": {
                  "values": {
                    "LABEL_OPTIONAL": 1,
                    "LABEL_REQUIRED": 2,
                    "LABEL_REPEATED": 3
                  }
                }
              }
            },
            "OneofDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "options": {
                  "type": "OneofOptions",
                  "id": 2
                }
              }
            },
            "EnumDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "value": {
                  "rule": "repeated",
                  "type": "EnumValueDescriptorProto",
                  "id": 2
                },
                "options": {
                  "type": "EnumOptions",
                  "id": 3
                }
              }
            },
            "EnumValueDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "number": {
                  "type": "int32",
                  "id": 2
                },
                "options": {
                  "type": "EnumValueOptions",
                  "id": 3
                }
              }
            },
            "ServiceDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "method": {
                  "rule": "repeated",
                  "type": "MethodDescriptorProto",
                  "id": 2
                },
                "options": {
                  "type": "ServiceOptions",
                  "id": 3
                }
              }
            },
            "MethodDescriptorProto": {
              "fields": {
                "name": {
                  "type": "string",
                  "id": 1
                },
                "inputType": {
                  "type": "string",
                  "id": 2
                },
                "outputType": {
                  "type": "string",
                  "id": 3
                },
                "options": {
                  "type": "MethodOptions",
                  "id": 4
                },
                "clientStreaming": {
                  "type": "bool",
                  "id": 5
                },
                "serverStreaming": {
                  "type": "bool",
                  "id": 6
                }
              }
            },
            "FileOptions": {
              "fields": {
                "javaPackage": {
                  "type": "string",
                  "id": 1
                },
                "javaOuterClassname": {
                  "type": "string",
                  "id": 8
                },
                "javaMultipleFiles": {
                  "type": "bool",
                  "id": 10
                },
                "javaGenerateEqualsAndHash": {
                  "type": "bool",
                  "id": 20,
                  "options": {
                    "deprecated": true
                  }
                },
                "javaStringCheckUtf8": {
                  "type": "bool",
                  "id": 27
                },
                "optimizeFor": {
                  "type": "OptimizeMode",
                  "id": 9,
                  "options": {
                    "default": "SPEED"
                  }
                },
                "goPackage": {
                  "type": "string",
                  "id": 11
                },
                "ccGenericServices": {
                  "type": "bool",
                  "id": 16
                },
                "javaGenericServices": {
                  "type": "bool",
                  "id": 17
                },
                "pyGenericServices": {
                  "type": "bool",
                  "id": 18
                },
                "deprecated": {
                  "type": "bool",
                  "id": 23
                },
                "ccEnableArenas": {
                  "type": "bool",
                  "id": 31
                },
                "objcClassPrefix": {
                  "type": "string",
                  "id": 36
                },
                "csharpNamespace": {
                  "type": "string",
                  "id": 37
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ],
              "reserved": [
                [
                  38,
                  38
                ]
              ],
              "nested": {
                "OptimizeMode": {
                  "values": {
                    "SPEED": 1,
                    "CODE_SIZE": 2,
                    "LITE_RUNTIME": 3
                  }
                }
              }
            },
            "MessageOptions": {
              "fields": {
                "messageSetWireFormat": {
                  "type": "bool",
                  "id": 1
                },
                "noStandardDescriptorAccessor": {
                  "type": "bool",
                  "id": 2
                },
                "deprecated": {
                  "type": "bool",
                  "id": 3
                },
                "mapEntry": {
                  "type": "bool",
                  "id": 7
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ],
              "reserved": [
                [
                  8,
                  8
                ]
              ]
            },
            "FieldOptions": {
              "fields": {
                "ctype": {
                  "type": "CType",
                  "id": 1,
                  "options": {
                    "default": "STRING"
                  }
                },
                "packed": {
                  "type": "bool",
                  "id": 2
                },
                "jstype": {
                  "type": "JSType",
                  "id": 6,
                  "options": {
                    "default": "JS_NORMAL"
                  }
                },
                "lazy": {
                  "type": "bool",
                  "id": 5
                },
                "deprecated": {
                  "type": "bool",
                  "id": 3
                },
                "weak": {
                  "type": "bool",
                  "id": 10
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ],
              "reserved": [
                [
                  4,
                  4
                ]
              ],
              "nested": {
                "CType": {
                  "values": {
                    "STRING": 0,
                    "CORD": 1,
                    "STRING_PIECE": 2
                  }
                },
                "JSType": {
                  "values": {
                    "JS_NORMAL": 0,
                    "JS_STRING": 1,
                    "JS_NUMBER": 2
                  }
                }
              }
            },
            "OneofOptions": {
              "fields": {
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ]
            },
            "EnumOptions": {
              "fields": {
                "allowAlias": {
                  "type": "bool",
                  "id": 2
                },
                "deprecated": {
                  "type": "bool",
                  "id": 3
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ]
            },
            "EnumValueOptions": {
              "fields": {
                "deprecated": {
                  "type": "bool",
                  "id": 1
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ]
            },
            "ServiceOptions": {
              "fields": {
                "deprecated": {
                  "type": "bool",
                  "id": 33
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ]
            },
            "MethodOptions": {
              "fields": {
                "deprecated": {
                  "type": "bool",
                  "id": 33
                },
                "uninterpretedOption": {
                  "rule": "repeated",
                  "type": "UninterpretedOption",
                  "id": 999
                }
              },
              "extensions": [
                [
                  1000,
                  536870911
                ]
              ]
            },
            "UninterpretedOption": {
              "fields": {
                "name": {
                  "rule": "repeated",
                  "type": "NamePart",
                  "id": 2
                },
                "identifierValue": {
                  "type": "string",
                  "id": 3
                },
                "positiveIntValue": {
                  "type": "uint64",
                  "id": 4
                },
                "negativeIntValue": {
                  "type": "int64",
                  "id": 5
                },
                "doubleValue": {
                  "type": "double",
                  "id": 6
                },
                "stringValue": {
                  "type": "bytes",
                  "id": 7
                },
                "aggregateValue": {
                  "type": "string",
                  "id": 8
                }
              },
              "nested": {
                "NamePart": {
                  "fields": {
                    "namePart": {
                      "rule": "required",
                      "type": "string",
                      "id": 1
                    },
                    "isExtension": {
                      "rule": "required",
                      "type": "bool",
                      "id": 2
                    }
                  }
                }
              }
            },
            "SourceCodeInfo": {
              "fields": {
                "location": {
                  "rule": "repeated",
                  "type": "Location",
                  "id": 1
                }
              },
              "nested": {
                "Location": {
                  "fields": {
                    "path": {
                      "rule": "repeated",
                      "type": "int32",
                      "id": 1
                    },
                    "span": {
                      "rule": "repeated",
                      "type": "int32",
                      "id": 2
                    },
                    "leadingComments": {
                      "type": "string",
                      "id": 3
                    },
                    "trailingComments": {
                      "type": "string",
                      "id": 4
                    },
                    "leadingDetachedComments": {
                      "rule": "repeated",
                      "type": "string",
                      "id": 6
                    }
                  }
                }
              }
            },
            "GeneratedCodeInfo": {
              "fields": {
                "annotation": {
                  "rule": "repeated",
                  "type": "Annotation",
                  "id": 1
                }
              },
              "nested": {
                "Annotation": {
                  "fields": {
                    "path": {
                      "rule": "repeated",
                      "type": "int32",
                      "id": 1
                    },
                    "sourceFile": {
                      "type": "string",
                      "id": 2
                    },
                    "begin": {
                      "type": "int32",
                      "id": 3
                    },
                    "end": {
                      "type": "int32",
                      "id": 4
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}