space-data-module-sdk 0.8.27 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +5 -4
  2. package/docs/assembly.js +0 -18
  3. package/docs/assets/ai-credits/ai-credits.js +116 -0
  4. package/docs/assets/sdn-chrome/sdn-chrome.css +434 -0
  5. package/docs/assets/sdn-chrome/sdn-chrome.js +236 -0
  6. package/docs/browser-wasmedge-isomorphic.html +29 -41
  7. package/docs/byo-wasm-quickstart.html +29 -41
  8. package/docs/conformance.html +29 -41
  9. package/docs/events-abi.html +29 -41
  10. package/docs/families/analytics.html +29 -41
  11. package/docs/families/attitude.html +29 -41
  12. package/docs/families/behavior.html +29 -41
  13. package/docs/families/breakup.html +29 -41
  14. package/docs/families/conjunction.html +29 -41
  15. package/docs/families/data-source.html +29 -41
  16. package/docs/families/effects.html +29 -41
  17. package/docs/families/environment.html +29 -41
  18. package/docs/families/estimation.html +29 -41
  19. package/docs/families/gnc.html +29 -41
  20. package/docs/families/maneuver.html +29 -41
  21. package/docs/families/obstruction.html +29 -41
  22. package/docs/families/propagator.html +29 -41
  23. package/docs/families/propulsion.html +29 -41
  24. package/docs/families/reentry.html +29 -41
  25. package/docs/families/rf.html +29 -41
  26. package/docs/families/scheduler.html +29 -41
  27. package/docs/families/sensor.html +29 -41
  28. package/docs/families/signature.html +29 -41
  29. package/docs/flatsql-host-contract.html +29 -41
  30. package/docs/flatsql-streaming-standard.html +29 -41
  31. package/docs/gpu-module-abi.html +29 -41
  32. package/docs/index.html +43 -47
  33. package/docs/isomorphic-pthreads.html +29 -41
  34. package/docs/isomorphic-sdn-runtime-plan.html +29 -41
  35. package/docs/language-runtime-matrix.html +29 -41
  36. package/docs/media/module-sdk-reel-poster.webp +0 -0
  37. package/docs/media/module-sdk-reel.mp4 +0 -0
  38. package/docs/media/module-sdk-reel.webm +0 -0
  39. package/docs/media/reel/reel.css +53 -0
  40. package/docs/media/reel/reel.js +272 -0
  41. package/docs/module-bundle-runtime-plan.html +29 -41
  42. package/docs/module-publication-standard.html +29 -41
  43. package/docs/node-red-default-node-parity.html +29 -41
  44. package/docs/protect-and-sign.html +29 -41
  45. package/docs/protocol-installation.html +29 -41
  46. package/docs/publication-submission.html +29 -41
  47. package/docs/secrets-capability.html +29 -41
  48. package/docs/styles.css +89 -157
  49. package/docs/testing-harness.html +29 -41
  50. package/docs/tri-runtime-parity-gate.html +29 -41
  51. package/docs/tri-runtime-parity.html +29 -41
  52. package/package.json +5 -3
  53. package/schemas/runtime/FlowNotice.fbs +39 -0
  54. package/schemas/runtime/HostOps.fbs +453 -0
  55. package/schemas/runtime/HttpRequest.fbs +25 -0
  56. package/schemas/runtime/HttpResponse.fbs +24 -0
  57. package/schemas/runtime/IngestRequest.fbs +58 -0
  58. package/schemas/runtime/IngestResult.fbs +23 -0
  59. package/schemas/runtime/ModuleConfig.fbs +41 -0
  60. package/schemas/runtime/RuntimeCommon.fbs +33 -0
  61. package/schemas/runtime/TimerTick.fbs +18 -0
  62. package/src/compiler/compileModule.js +20 -2
  63. package/src/generated/runtime/aligned/HostOps_aligned.js +3924 -0
  64. package/src/generated/runtime/aligned/HostOps_aligned.ts +4620 -0
  65. package/src/generated/runtime/aligned/HostOps_enums.js +14 -0
  66. package/src/generated/runtime/aligned/HostOps_enums.ts +7 -0
  67. package/src/generated/runtime/cpp/FlowNotice_generated.h +367 -0
  68. package/src/generated/runtime/cpp/HostOps_aligned.h +3547 -0
  69. package/src/generated/runtime/cpp/HttpRequest_generated.h +317 -0
  70. package/src/generated/runtime/cpp/HttpResponse_generated.h +315 -0
  71. package/src/generated/runtime/cpp/IngestRequest_generated.h +764 -0
  72. package/src/generated/runtime/cpp/IngestResult_generated.h +319 -0
  73. package/src/generated/runtime/cpp/ModuleConfig_generated.h +604 -0
  74. package/src/generated/runtime/cpp/RuntimeCommon_generated.h +410 -0
  75. package/src/generated/runtime/cpp/TimerTick_generated.h +229 -0
  76. package/src/generated/runtime/sdn/runtime/ArchiveTarget.js +78 -0
  77. package/src/generated/runtime/sdn/runtime/ArchiveTarget.ts +104 -0
  78. package/src/generated/runtime/sdn/runtime/ConfigEntry.js +202 -0
  79. package/src/generated/runtime/sdn/runtime/ConfigEntry.ts +251 -0
  80. package/src/generated/runtime/sdn/runtime/ConfigTable.js +80 -0
  81. package/src/generated/runtime/sdn/runtime/ConfigTable.ts +97 -0
  82. package/src/generated/runtime/sdn/runtime/FlowNotice.js +196 -0
  83. package/src/generated/runtime/sdn/runtime/FlowNotice.ts +254 -0
  84. package/src/generated/runtime/sdn/runtime/Header.js +79 -0
  85. package/src/generated/runtime/sdn/runtime/Header.ts +100 -0
  86. package/src/generated/runtime/sdn/runtime/HttpRequest.js +216 -0
  87. package/src/generated/runtime/sdn/runtime/HttpRequest.ts +265 -0
  88. package/src/generated/runtime/sdn/runtime/HttpResponse.js +216 -0
  89. package/src/generated/runtime/sdn/runtime/HttpResponse.ts +267 -0
  90. package/src/generated/runtime/sdn/runtime/IngestRequest.js +121 -0
  91. package/src/generated/runtime/sdn/runtime/IngestRequest.ts +155 -0
  92. package/src/generated/runtime/sdn/runtime/IngestResult.js +184 -0
  93. package/src/generated/runtime/sdn/runtime/IngestResult.ts +235 -0
  94. package/src/generated/runtime/sdn/runtime/ModuleConfig.js +92 -0
  95. package/src/generated/runtime/sdn/runtime/ModuleConfig.ts +114 -0
  96. package/src/generated/runtime/sdn/runtime/Provenance.js +288 -0
  97. package/src/generated/runtime/sdn/runtime/Provenance.ts +368 -0
  98. package/src/generated/runtime/sdn/runtime/SourceTags.js +181 -0
  99. package/src/generated/runtime/sdn/runtime/SourceTags.ts +253 -0
  100. package/src/generated/runtime/sdn/runtime/TimerTick.js +119 -0
  101. package/src/generated/runtime/sdn/runtime/TimerTick.ts +148 -0
  102. package/src/generated/runtime/sdn/runtime/configValueKind.js +12 -0
  103. package/src/generated/runtime/sdn/runtime/configValueKind.ts +19 -0
  104. package/src/generated/runtime/sdn/runtime/flowNoticeKind.js +11 -0
  105. package/src/generated/runtime/sdn/runtime/flowNoticeKind.ts +34 -0
  106. package/src/generated/runtime/sdn/runtime/reconcileMode.js +9 -0
  107. package/src/generated/runtime/sdn/runtime/reconcileMode.ts +23 -0
  108. package/src/generated/runtime/sdn/runtime.js +16 -0
  109. package/src/generated/runtime/sdn/runtime.ts +17 -0
  110. package/src/host/abi.js +20 -3
  111. package/src/host/browserHost.js +2 -0
  112. package/src/host/cpp/typedHostcall.hpp +201 -0
  113. package/src/host/hostWorkerBundleSources.js +3 -3
  114. package/src/host/nodeHost.js +1 -0
  115. package/src/host/typedDispatch.js +230 -0
  116. package/src/invoke/codec.js +3 -2
  117. package/src/standards/runtimeContracts.js +536 -0
  118. package/src/standards/sharedCatalog.js +27 -0
@@ -0,0 +1,3547 @@
1
+ // Auto-generated aligned fixed-layout bindings.
2
+ // DO NOT EDIT - Generated by flatc --aligned
3
+
4
+ #pragma once
5
+
6
+ #include <algorithm>
7
+ #include <cstddef>
8
+ #include <cstdint>
9
+ #include <cstring>
10
+ #include <string>
11
+
12
+ namespace flatbuffers {
13
+ namespace aligned_runtime {
14
+
15
+ template <size_t MaxLength>
16
+ struct AlignedString {
17
+ uint8_t length;
18
+ char data[MaxLength];
19
+
20
+ void clear() {
21
+ length = 0;
22
+ std::memset(data, 0, MaxLength);
23
+ }
24
+
25
+ std::string str() const {
26
+ const size_t size = std::min<size_t>(length, MaxLength);
27
+ return std::string(data, data + size);
28
+ }
29
+
30
+ void set(const std::string& value) {
31
+ const size_t size = std::min<size_t>(value.size(), MaxLength);
32
+ length = static_cast<uint8_t>(size);
33
+ if (size) { std::memcpy(data, value.data(), size); }
34
+ if (size < MaxLength) { std::memset(data + size, 0, MaxLength - size); }
35
+ }
36
+ };
37
+
38
+ template <typename T, size_t MaxCount>
39
+ struct AlignedVector {
40
+ uint32_t length;
41
+ T values[MaxCount];
42
+
43
+ uint32_t size() const {
44
+ return std::min<uint32_t>(length, static_cast<uint32_t>(MaxCount));
45
+ }
46
+
47
+ void clear() { length = 0; }
48
+ void set_length(uint32_t value) {
49
+ length = std::min<uint32_t>(value, static_cast<uint32_t>(MaxCount));
50
+ }
51
+ T &at(size_t index) { return values[index]; }
52
+ const T &at(size_t index) const { return values[index]; }
53
+ };
54
+
55
+ } // namespace aligned_runtime
56
+ } // namespace flatbuffers
57
+
58
+ namespace sdn {
59
+ namespace runtime {
60
+ namespace Aligned {
61
+
62
+ enum deliverMode : uint8_t {
63
+ deliverMode_Inline = 0,
64
+ deliverMode_Ref = 1,
65
+ };
66
+
67
+ enum configEntryKind : uint8_t {
68
+ configEntryKind_String = 0,
69
+ configEntryKind_Number = 1,
70
+ configEntryKind_Bool = 2,
71
+ };
72
+
73
+ enum reconcileKind : uint8_t {
74
+ reconcileKind_Duplicates = 0,
75
+ reconcileKind_None = 1,
76
+ reconcileKind_Current = 2,
77
+ };
78
+
79
+ enum sqlValueKind : uint8_t {
80
+ sqlValueKind_Null = 0,
81
+ sqlValueKind_Bool = 1,
82
+ sqlValueKind_I64 = 2,
83
+ sqlValueKind_F64 = 3,
84
+ sqlValueKind_Str = 4,
85
+ };
86
+
87
+ enum sandboxWant : uint8_t {
88
+ sandboxWant_Stream = 0,
89
+ sandboxWant_Rows = 1,
90
+ sandboxWant_Auto = 2,
91
+ };
92
+
93
+ enum cryptoAlgorithm : uint8_t {
94
+ cryptoAlgorithm_Default = 0,
95
+ cryptoAlgorithm_Ed25519 = 1,
96
+ cryptoAlgorithm_Secp256k1 = 2,
97
+ cryptoAlgorithm_Secp256k1Digest = 3,
98
+ cryptoAlgorithm_X25519 = 4,
99
+ cryptoAlgorithm_Sha256 = 5,
100
+ cryptoAlgorithm_Sha512 = 6,
101
+ cryptoAlgorithm_Aes256Gcm = 7,
102
+ cryptoAlgorithm_HkdfSha256 = 8,
103
+ };
104
+
105
+ struct BoolValue {
106
+ bool VALUE;
107
+
108
+
109
+ static BoolValue* fromBytes(void* data) {
110
+ return reinterpret_cast<BoolValue*>(data);
111
+ }
112
+ static const BoolValue* fromBytes(const void* data) {
113
+ return reinterpret_cast<const BoolValue*>(data);
114
+ }
115
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1); }
116
+ void copyFrom(const BoolValue& src) { std::memcpy(this, &src, 1); }
117
+ };
118
+ static_assert(sizeof(BoolValue) == 1, "BoolValue size mismatch");
119
+ static_assert(alignof(BoolValue) == 1, "BoolValue alignment mismatch");
120
+ static_assert(offsetof(BoolValue, VALUE) == 0, "BoolValue.VALUE offset mismatch");
121
+ constexpr size_t BoolValue_SIZE = 1;
122
+ constexpr size_t BoolValue_ALIGN = 1;
123
+
124
+ } // namespace Aligned
125
+ } // namespace runtime
126
+ } // namespace sdn
127
+
128
+ namespace sdn {
129
+ namespace runtime {
130
+ namespace Aligned {
131
+
132
+ struct NumberValue {
133
+ double VALUE;
134
+
135
+
136
+ static NumberValue* fromBytes(void* data) {
137
+ return reinterpret_cast<NumberValue*>(data);
138
+ }
139
+ static const NumberValue* fromBytes(const void* data) {
140
+ return reinterpret_cast<const NumberValue*>(data);
141
+ }
142
+ void copyTo(void* dest) const { std::memcpy(dest, this, 8); }
143
+ void copyFrom(const NumberValue& src) { std::memcpy(this, &src, 8); }
144
+ };
145
+ static_assert(sizeof(NumberValue) == 8, "NumberValue size mismatch");
146
+ static_assert(alignof(NumberValue) == 8, "NumberValue alignment mismatch");
147
+ static_assert(offsetof(NumberValue, VALUE) == 0, "NumberValue.VALUE offset mismatch");
148
+ constexpr size_t NumberValue_SIZE = 8;
149
+ constexpr size_t NumberValue_ALIGN = 8;
150
+
151
+ } // namespace Aligned
152
+ } // namespace runtime
153
+ } // namespace sdn
154
+
155
+ namespace sdn {
156
+ namespace runtime {
157
+ namespace Aligned {
158
+
159
+ struct TimeValue {
160
+ uint64_t UNIX_MS;
161
+
162
+
163
+ static TimeValue* fromBytes(void* data) {
164
+ return reinterpret_cast<TimeValue*>(data);
165
+ }
166
+ static const TimeValue* fromBytes(const void* data) {
167
+ return reinterpret_cast<const TimeValue*>(data);
168
+ }
169
+ void copyTo(void* dest) const { std::memcpy(dest, this, 8); }
170
+ void copyFrom(const TimeValue& src) { std::memcpy(this, &src, 8); }
171
+ };
172
+ static_assert(sizeof(TimeValue) == 8, "TimeValue size mismatch");
173
+ static_assert(alignof(TimeValue) == 8, "TimeValue alignment mismatch");
174
+ static_assert(offsetof(TimeValue, UNIX_MS) == 0, "TimeValue.UNIX_MS offset mismatch");
175
+ constexpr size_t TimeValue_SIZE = 8;
176
+ constexpr size_t TimeValue_ALIGN = 8;
177
+
178
+ } // namespace Aligned
179
+ } // namespace runtime
180
+ } // namespace sdn
181
+
182
+ namespace sdn {
183
+ namespace runtime {
184
+ namespace Aligned {
185
+
186
+ struct CountValue {
187
+ uint64_t VALUE;
188
+
189
+
190
+ static CountValue* fromBytes(void* data) {
191
+ return reinterpret_cast<CountValue*>(data);
192
+ }
193
+ static const CountValue* fromBytes(const void* data) {
194
+ return reinterpret_cast<const CountValue*>(data);
195
+ }
196
+ void copyTo(void* dest) const { std::memcpy(dest, this, 8); }
197
+ void copyFrom(const CountValue& src) { std::memcpy(this, &src, 8); }
198
+ };
199
+ static_assert(sizeof(CountValue) == 8, "CountValue size mismatch");
200
+ static_assert(alignof(CountValue) == 8, "CountValue alignment mismatch");
201
+ static_assert(offsetof(CountValue, VALUE) == 0, "CountValue.VALUE offset mismatch");
202
+ constexpr size_t CountValue_SIZE = 8;
203
+ constexpr size_t CountValue_ALIGN = 8;
204
+
205
+ } // namespace Aligned
206
+ } // namespace runtime
207
+ } // namespace sdn
208
+
209
+ namespace sdn {
210
+ namespace runtime {
211
+ namespace Aligned {
212
+
213
+ struct TextValue {
214
+ uint8_t __presence[1];
215
+ ::flatbuffers::aligned_runtime::AlignedString<255> VALUE;
216
+
217
+ bool has_VALUE() const {
218
+ return (__presence[0] & 1) != 0;
219
+ }
220
+ void set_has_VALUE(bool value) {
221
+ if (value) __presence[0] |= 1;
222
+ else __presence[0] &= ~1;
223
+ }
224
+
225
+ static TextValue* fromBytes(void* data) {
226
+ return reinterpret_cast<TextValue*>(data);
227
+ }
228
+ static const TextValue* fromBytes(const void* data) {
229
+ return reinterpret_cast<const TextValue*>(data);
230
+ }
231
+ void copyTo(void* dest) const { std::memcpy(dest, this, 257); }
232
+ void copyFrom(const TextValue& src) { std::memcpy(this, &src, 257); }
233
+ };
234
+ static_assert(sizeof(TextValue) == 257, "TextValue size mismatch");
235
+ static_assert(alignof(TextValue) == 1, "TextValue alignment mismatch");
236
+ static_assert(offsetof(TextValue, VALUE) == 1, "TextValue.VALUE offset mismatch");
237
+ constexpr size_t TextValue_SIZE = 257;
238
+ constexpr size_t TextValue_ALIGN = 1;
239
+
240
+ } // namespace Aligned
241
+ } // namespace runtime
242
+ } // namespace sdn
243
+
244
+ namespace sdn {
245
+ namespace runtime {
246
+ namespace Aligned {
247
+
248
+ struct BodyRef {
249
+ uint8_t __presence[1];
250
+ uint64_t TOKEN;
251
+ uint64_t SIZE;
252
+ int64_t FRAMES;
253
+ ::flatbuffers::aligned_runtime::AlignedString<16> FNV1A64;
254
+
255
+ bool has_FNV1A64() const {
256
+ return (__presence[0] & 1) != 0;
257
+ }
258
+ void set_has_FNV1A64(bool value) {
259
+ if (value) __presence[0] |= 1;
260
+ else __presence[0] &= ~1;
261
+ }
262
+
263
+ static BodyRef* fromBytes(void* data) {
264
+ return reinterpret_cast<BodyRef*>(data);
265
+ }
266
+ static const BodyRef* fromBytes(const void* data) {
267
+ return reinterpret_cast<const BodyRef*>(data);
268
+ }
269
+ void copyTo(void* dest) const { std::memcpy(dest, this, 56); }
270
+ void copyFrom(const BodyRef& src) { std::memcpy(this, &src, 56); }
271
+ };
272
+ static_assert(sizeof(BodyRef) == 56, "BodyRef size mismatch");
273
+ static_assert(alignof(BodyRef) == 8, "BodyRef alignment mismatch");
274
+ static_assert(offsetof(BodyRef, TOKEN) == 8, "BodyRef.TOKEN offset mismatch");
275
+ static_assert(offsetof(BodyRef, SIZE) == 16, "BodyRef.SIZE offset mismatch");
276
+ static_assert(offsetof(BodyRef, FRAMES) == 24, "BodyRef.FRAMES offset mismatch");
277
+ static_assert(offsetof(BodyRef, FNV1A64) == 32, "BodyRef.FNV1A64 offset mismatch");
278
+ constexpr size_t BodyRef_SIZE = 56;
279
+ constexpr size_t BodyRef_ALIGN = 8;
280
+
281
+ } // namespace Aligned
282
+ } // namespace runtime
283
+ } // namespace sdn
284
+
285
+ namespace sdn {
286
+ namespace runtime {
287
+ namespace Aligned {
288
+
289
+ struct HasCapabilityParams {
290
+ uint8_t __presence[1];
291
+ ::flatbuffers::aligned_runtime::AlignedString<64> CAPABILITY;
292
+
293
+ bool has_CAPABILITY() const {
294
+ return (__presence[0] & 1) != 0;
295
+ }
296
+ void set_has_CAPABILITY(bool value) {
297
+ if (value) __presence[0] |= 1;
298
+ else __presence[0] &= ~1;
299
+ }
300
+
301
+ static HasCapabilityParams* fromBytes(void* data) {
302
+ return reinterpret_cast<HasCapabilityParams*>(data);
303
+ }
304
+ static const HasCapabilityParams* fromBytes(const void* data) {
305
+ return reinterpret_cast<const HasCapabilityParams*>(data);
306
+ }
307
+ void copyTo(void* dest) const { std::memcpy(dest, this, 66); }
308
+ void copyFrom(const HasCapabilityParams& src) { std::memcpy(this, &src, 66); }
309
+ };
310
+ static_assert(sizeof(HasCapabilityParams) == 66, "HasCapabilityParams size mismatch");
311
+ static_assert(alignof(HasCapabilityParams) == 1, "HasCapabilityParams alignment mismatch");
312
+ static_assert(offsetof(HasCapabilityParams, CAPABILITY) == 1, "HasCapabilityParams.CAPABILITY offset mismatch");
313
+ constexpr size_t HasCapabilityParams_SIZE = 66;
314
+ constexpr size_t HasCapabilityParams_ALIGN = 1;
315
+
316
+ } // namespace Aligned
317
+ } // namespace runtime
318
+ } // namespace sdn
319
+
320
+ namespace sdn {
321
+ namespace runtime {
322
+ namespace Aligned {
323
+
324
+ struct RandomBytesParams {
325
+ uint32_t LENGTH;
326
+
327
+
328
+ static RandomBytesParams* fromBytes(void* data) {
329
+ return reinterpret_cast<RandomBytesParams*>(data);
330
+ }
331
+ static const RandomBytesParams* fromBytes(const void* data) {
332
+ return reinterpret_cast<const RandomBytesParams*>(data);
333
+ }
334
+ void copyTo(void* dest) const { std::memcpy(dest, this, 4); }
335
+ void copyFrom(const RandomBytesParams& src) { std::memcpy(this, &src, 4); }
336
+ };
337
+ static_assert(sizeof(RandomBytesParams) == 4, "RandomBytesParams size mismatch");
338
+ static_assert(alignof(RandomBytesParams) == 4, "RandomBytesParams alignment mismatch");
339
+ static_assert(offsetof(RandomBytesParams, LENGTH) == 0, "RandomBytesParams.LENGTH offset mismatch");
340
+ constexpr size_t RandomBytesParams_SIZE = 4;
341
+ constexpr size_t RandomBytesParams_ALIGN = 4;
342
+
343
+ } // namespace Aligned
344
+ } // namespace runtime
345
+ } // namespace sdn
346
+
347
+ namespace sdn {
348
+ namespace runtime {
349
+ namespace Aligned {
350
+
351
+ struct ConfigEntry {
352
+ uint8_t __presence[1];
353
+ ::flatbuffers::aligned_runtime::AlignedString<255> KEY;
354
+ configEntryKind KIND;
355
+ ::flatbuffers::aligned_runtime::AlignedString<255> STRING_VALUE;
356
+ double NUMBER_VALUE;
357
+ bool BOOL_VALUE;
358
+
359
+ bool has_KEY() const {
360
+ return (__presence[0] & 1) != 0;
361
+ }
362
+ void set_has_KEY(bool value) {
363
+ if (value) __presence[0] |= 1;
364
+ else __presence[0] &= ~1;
365
+ }
366
+ bool has_STRING_VALUE() const {
367
+ return (__presence[0] & 2) != 0;
368
+ }
369
+ void set_has_STRING_VALUE(bool value) {
370
+ if (value) __presence[0] |= 2;
371
+ else __presence[0] &= ~2;
372
+ }
373
+
374
+ static ConfigEntry* fromBytes(void* data) {
375
+ return reinterpret_cast<ConfigEntry*>(data);
376
+ }
377
+ static const ConfigEntry* fromBytes(const void* data) {
378
+ return reinterpret_cast<const ConfigEntry*>(data);
379
+ }
380
+ void copyTo(void* dest) const { std::memcpy(dest, this, 536); }
381
+ void copyFrom(const ConfigEntry& src) { std::memcpy(this, &src, 536); }
382
+ };
383
+ static_assert(sizeof(ConfigEntry) == 536, "ConfigEntry size mismatch");
384
+ static_assert(alignof(ConfigEntry) == 8, "ConfigEntry alignment mismatch");
385
+ static_assert(offsetof(ConfigEntry, KEY) == 1, "ConfigEntry.KEY offset mismatch");
386
+ static_assert(offsetof(ConfigEntry, KIND) == 257, "ConfigEntry.KIND offset mismatch");
387
+ static_assert(offsetof(ConfigEntry, STRING_VALUE) == 258, "ConfigEntry.STRING_VALUE offset mismatch");
388
+ static_assert(offsetof(ConfigEntry, NUMBER_VALUE) == 520, "ConfigEntry.NUMBER_VALUE offset mismatch");
389
+ static_assert(offsetof(ConfigEntry, BOOL_VALUE) == 528, "ConfigEntry.BOOL_VALUE offset mismatch");
390
+ constexpr size_t ConfigEntry_SIZE = 536;
391
+ constexpr size_t ConfigEntry_ALIGN = 8;
392
+
393
+ } // namespace Aligned
394
+ } // namespace runtime
395
+ } // namespace sdn
396
+
397
+ namespace sdn {
398
+ namespace runtime {
399
+ namespace Aligned {
400
+
401
+ struct HttpParams {
402
+ uint8_t __presence[1];
403
+ ::flatbuffers::aligned_runtime::AlignedString<16> METHOD;
404
+ uint32_t TIMEOUT_MS;
405
+ uint64_t MAX_BYTES;
406
+ bool NO_REDIRECTS;
407
+
408
+ bool has_METHOD() const {
409
+ return (__presence[0] & 1) != 0;
410
+ }
411
+ void set_has_METHOD(bool value) {
412
+ if (value) __presence[0] |= 1;
413
+ else __presence[0] &= ~1;
414
+ }
415
+
416
+ static HttpParams* fromBytes(void* data) {
417
+ return reinterpret_cast<HttpParams*>(data);
418
+ }
419
+ static const HttpParams* fromBytes(const void* data) {
420
+ return reinterpret_cast<const HttpParams*>(data);
421
+ }
422
+ void copyTo(void* dest) const { std::memcpy(dest, this, 40); }
423
+ void copyFrom(const HttpParams& src) { std::memcpy(this, &src, 40); }
424
+ };
425
+ static_assert(sizeof(HttpParams) == 40, "HttpParams size mismatch");
426
+ static_assert(alignof(HttpParams) == 8, "HttpParams alignment mismatch");
427
+ static_assert(offsetof(HttpParams, METHOD) == 1, "HttpParams.METHOD offset mismatch");
428
+ static_assert(offsetof(HttpParams, TIMEOUT_MS) == 20, "HttpParams.TIMEOUT_MS offset mismatch");
429
+ static_assert(offsetof(HttpParams, MAX_BYTES) == 24, "HttpParams.MAX_BYTES offset mismatch");
430
+ static_assert(offsetof(HttpParams, NO_REDIRECTS) == 32, "HttpParams.NO_REDIRECTS offset mismatch");
431
+ constexpr size_t HttpParams_SIZE = 40;
432
+ constexpr size_t HttpParams_ALIGN = 8;
433
+
434
+ } // namespace Aligned
435
+ } // namespace runtime
436
+ } // namespace sdn
437
+
438
+ namespace sdn {
439
+ namespace runtime {
440
+ namespace Aligned {
441
+
442
+ struct HttpResult {
443
+ int32_t STATUS;
444
+ uint64_t RETRIEVED_MS;
445
+
446
+
447
+ static HttpResult* fromBytes(void* data) {
448
+ return reinterpret_cast<HttpResult*>(data);
449
+ }
450
+ static const HttpResult* fromBytes(const void* data) {
451
+ return reinterpret_cast<const HttpResult*>(data);
452
+ }
453
+ void copyTo(void* dest) const { std::memcpy(dest, this, 16); }
454
+ void copyFrom(const HttpResult& src) { std::memcpy(this, &src, 16); }
455
+ };
456
+ static_assert(sizeof(HttpResult) == 16, "HttpResult size mismatch");
457
+ static_assert(alignof(HttpResult) == 8, "HttpResult alignment mismatch");
458
+ static_assert(offsetof(HttpResult, STATUS) == 0, "HttpResult.STATUS offset mismatch");
459
+ static_assert(offsetof(HttpResult, RETRIEVED_MS) == 8, "HttpResult.RETRIEVED_MS offset mismatch");
460
+ constexpr size_t HttpResult_SIZE = 16;
461
+ constexpr size_t HttpResult_ALIGN = 8;
462
+
463
+ } // namespace Aligned
464
+ } // namespace runtime
465
+ } // namespace sdn
466
+
467
+ namespace sdn {
468
+ namespace runtime {
469
+ namespace Aligned {
470
+
471
+ struct StorageQueryParams {
472
+ uint8_t __presence[1];
473
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
474
+ ::flatbuffers::aligned_runtime::AlignedString<16> DAY;
475
+ ::flatbuffers::aligned_runtime::AlignedString<255> ENTITY_ID;
476
+ uint32_t NORAD_CAT_ID;
477
+ uint32_t LIMIT;
478
+
479
+ bool has_SCHEMA() const {
480
+ return (__presence[0] & 1) != 0;
481
+ }
482
+ void set_has_SCHEMA(bool value) {
483
+ if (value) __presence[0] |= 1;
484
+ else __presence[0] &= ~1;
485
+ }
486
+ bool has_DAY() const {
487
+ return (__presence[0] & 2) != 0;
488
+ }
489
+ void set_has_DAY(bool value) {
490
+ if (value) __presence[0] |= 2;
491
+ else __presence[0] &= ~2;
492
+ }
493
+ bool has_ENTITY_ID() const {
494
+ return (__presence[0] & 4) != 0;
495
+ }
496
+ void set_has_ENTITY_ID(bool value) {
497
+ if (value) __presence[0] |= 4;
498
+ else __presence[0] &= ~4;
499
+ }
500
+
501
+ static StorageQueryParams* fromBytes(void* data) {
502
+ return reinterpret_cast<StorageQueryParams*>(data);
503
+ }
504
+ static const StorageQueryParams* fromBytes(const void* data) {
505
+ return reinterpret_cast<const StorageQueryParams*>(data);
506
+ }
507
+ void copyTo(void* dest) const { std::memcpy(dest, this, 348); }
508
+ void copyFrom(const StorageQueryParams& src) { std::memcpy(this, &src, 348); }
509
+ };
510
+ static_assert(sizeof(StorageQueryParams) == 348, "StorageQueryParams size mismatch");
511
+ static_assert(alignof(StorageQueryParams) == 4, "StorageQueryParams alignment mismatch");
512
+ static_assert(offsetof(StorageQueryParams, SCHEMA) == 1, "StorageQueryParams.SCHEMA offset mismatch");
513
+ static_assert(offsetof(StorageQueryParams, DAY) == 66, "StorageQueryParams.DAY offset mismatch");
514
+ static_assert(offsetof(StorageQueryParams, ENTITY_ID) == 83, "StorageQueryParams.ENTITY_ID offset mismatch");
515
+ static_assert(offsetof(StorageQueryParams, NORAD_CAT_ID) == 340, "StorageQueryParams.NORAD_CAT_ID offset mismatch");
516
+ static_assert(offsetof(StorageQueryParams, LIMIT) == 344, "StorageQueryParams.LIMIT offset mismatch");
517
+ constexpr size_t StorageQueryParams_SIZE = 348;
518
+ constexpr size_t StorageQueryParams_ALIGN = 4;
519
+
520
+ } // namespace Aligned
521
+ } // namespace runtime
522
+ } // namespace sdn
523
+
524
+ namespace sdn {
525
+ namespace runtime {
526
+ namespace Aligned {
527
+
528
+ struct StoredRecordMeta {
529
+ uint8_t __presence[1];
530
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
531
+ int64_t ROW_ID;
532
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
533
+ int64_t TIMESTAMP_MS;
534
+ int64_t MATERIALIZED_MS;
535
+ uint32_t LENGTH;
536
+ ::flatbuffers::aligned_runtime::AlignedString<128> PROVIDER_ID;
537
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_NAME;
538
+ ::flatbuffers::aligned_runtime::AlignedString<128> BATCH_ID;
539
+ ::flatbuffers::aligned_runtime::AlignedString<128> PRODUCER_PEER_ID;
540
+ ::flatbuffers::aligned_runtime::AlignedString<64> LICENSE;
541
+
542
+ bool has_CID() const {
543
+ return (__presence[0] & 1) != 0;
544
+ }
545
+ void set_has_CID(bool value) {
546
+ if (value) __presence[0] |= 1;
547
+ else __presence[0] &= ~1;
548
+ }
549
+ bool has_PEER_ID() const {
550
+ return (__presence[0] & 2) != 0;
551
+ }
552
+ void set_has_PEER_ID(bool value) {
553
+ if (value) __presence[0] |= 2;
554
+ else __presence[0] &= ~2;
555
+ }
556
+ bool has_PROVIDER_ID() const {
557
+ return (__presence[0] & 4) != 0;
558
+ }
559
+ void set_has_PROVIDER_ID(bool value) {
560
+ if (value) __presence[0] |= 4;
561
+ else __presence[0] &= ~4;
562
+ }
563
+ bool has_SOURCE_NAME() const {
564
+ return (__presence[0] & 8) != 0;
565
+ }
566
+ void set_has_SOURCE_NAME(bool value) {
567
+ if (value) __presence[0] |= 8;
568
+ else __presence[0] &= ~8;
569
+ }
570
+ bool has_BATCH_ID() const {
571
+ return (__presence[0] & 16) != 0;
572
+ }
573
+ void set_has_BATCH_ID(bool value) {
574
+ if (value) __presence[0] |= 16;
575
+ else __presence[0] &= ~16;
576
+ }
577
+ bool has_PRODUCER_PEER_ID() const {
578
+ return (__presence[0] & 32) != 0;
579
+ }
580
+ void set_has_PRODUCER_PEER_ID(bool value) {
581
+ if (value) __presence[0] |= 32;
582
+ else __presence[0] &= ~32;
583
+ }
584
+ bool has_LICENSE() const {
585
+ return (__presence[0] & 64) != 0;
586
+ }
587
+ void set_has_LICENSE(bool value) {
588
+ if (value) __presence[0] |= 64;
589
+ else __presence[0] &= ~64;
590
+ }
591
+
592
+ static StoredRecordMeta* fromBytes(void* data) {
593
+ return reinterpret_cast<StoredRecordMeta*>(data);
594
+ }
595
+ static const StoredRecordMeta* fromBytes(const void* data) {
596
+ return reinterpret_cast<const StoredRecordMeta*>(data);
597
+ }
598
+ void copyTo(void* dest) const { std::memcpy(dest, this, 888); }
599
+ void copyFrom(const StoredRecordMeta& src) { std::memcpy(this, &src, 888); }
600
+ };
601
+ static_assert(sizeof(StoredRecordMeta) == 888, "StoredRecordMeta size mismatch");
602
+ static_assert(alignof(StoredRecordMeta) == 8, "StoredRecordMeta alignment mismatch");
603
+ static_assert(offsetof(StoredRecordMeta, CID) == 1, "StoredRecordMeta.CID offset mismatch");
604
+ static_assert(offsetof(StoredRecordMeta, ROW_ID) == 136, "StoredRecordMeta.ROW_ID offset mismatch");
605
+ static_assert(offsetof(StoredRecordMeta, PEER_ID) == 144, "StoredRecordMeta.PEER_ID offset mismatch");
606
+ static_assert(offsetof(StoredRecordMeta, TIMESTAMP_MS) == 280, "StoredRecordMeta.TIMESTAMP_MS offset mismatch");
607
+ static_assert(offsetof(StoredRecordMeta, MATERIALIZED_MS) == 288, "StoredRecordMeta.MATERIALIZED_MS offset mismatch");
608
+ static_assert(offsetof(StoredRecordMeta, LENGTH) == 296, "StoredRecordMeta.LENGTH offset mismatch");
609
+ static_assert(offsetof(StoredRecordMeta, PROVIDER_ID) == 300, "StoredRecordMeta.PROVIDER_ID offset mismatch");
610
+ static_assert(offsetof(StoredRecordMeta, SOURCE_NAME) == 429, "StoredRecordMeta.SOURCE_NAME offset mismatch");
611
+ static_assert(offsetof(StoredRecordMeta, BATCH_ID) == 558, "StoredRecordMeta.BATCH_ID offset mismatch");
612
+ static_assert(offsetof(StoredRecordMeta, PRODUCER_PEER_ID) == 687, "StoredRecordMeta.PRODUCER_PEER_ID offset mismatch");
613
+ static_assert(offsetof(StoredRecordMeta, LICENSE) == 816, "StoredRecordMeta.LICENSE offset mismatch");
614
+ constexpr size_t StoredRecordMeta_SIZE = 888;
615
+ constexpr size_t StoredRecordMeta_ALIGN = 8;
616
+
617
+ } // namespace Aligned
618
+ } // namespace runtime
619
+ } // namespace sdn
620
+
621
+ namespace sdn {
622
+ namespace runtime {
623
+ namespace Aligned {
624
+
625
+ struct StorageWriteParams {
626
+ uint8_t __presence[1];
627
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
628
+
629
+ bool has_SCHEMA() const {
630
+ return (__presence[0] & 1) != 0;
631
+ }
632
+ void set_has_SCHEMA(bool value) {
633
+ if (value) __presence[0] |= 1;
634
+ else __presence[0] &= ~1;
635
+ }
636
+
637
+ static StorageWriteParams* fromBytes(void* data) {
638
+ return reinterpret_cast<StorageWriteParams*>(data);
639
+ }
640
+ static const StorageWriteParams* fromBytes(const void* data) {
641
+ return reinterpret_cast<const StorageWriteParams*>(data);
642
+ }
643
+ void copyTo(void* dest) const { std::memcpy(dest, this, 66); }
644
+ void copyFrom(const StorageWriteParams& src) { std::memcpy(this, &src, 66); }
645
+ };
646
+ static_assert(sizeof(StorageWriteParams) == 66, "StorageWriteParams size mismatch");
647
+ static_assert(alignof(StorageWriteParams) == 1, "StorageWriteParams alignment mismatch");
648
+ static_assert(offsetof(StorageWriteParams, SCHEMA) == 1, "StorageWriteParams.SCHEMA offset mismatch");
649
+ constexpr size_t StorageWriteParams_SIZE = 66;
650
+ constexpr size_t StorageWriteParams_ALIGN = 1;
651
+
652
+ } // namespace Aligned
653
+ } // namespace runtime
654
+ } // namespace sdn
655
+
656
+ namespace sdn {
657
+ namespace runtime {
658
+ namespace Aligned {
659
+
660
+ struct StorageWriteResult {
661
+ uint8_t __presence[1];
662
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
663
+
664
+ bool has_CID() const {
665
+ return (__presence[0] & 1) != 0;
666
+ }
667
+ void set_has_CID(bool value) {
668
+ if (value) __presence[0] |= 1;
669
+ else __presence[0] &= ~1;
670
+ }
671
+
672
+ static StorageWriteResult* fromBytes(void* data) {
673
+ return reinterpret_cast<StorageWriteResult*>(data);
674
+ }
675
+ static const StorageWriteResult* fromBytes(const void* data) {
676
+ return reinterpret_cast<const StorageWriteResult*>(data);
677
+ }
678
+ void copyTo(void* dest) const { std::memcpy(dest, this, 130); }
679
+ void copyFrom(const StorageWriteResult& src) { std::memcpy(this, &src, 130); }
680
+ };
681
+ static_assert(sizeof(StorageWriteResult) == 130, "StorageWriteResult size mismatch");
682
+ static_assert(alignof(StorageWriteResult) == 1, "StorageWriteResult alignment mismatch");
683
+ static_assert(offsetof(StorageWriteResult, CID) == 1, "StorageWriteResult.CID offset mismatch");
684
+ constexpr size_t StorageWriteResult_SIZE = 130;
685
+ constexpr size_t StorageWriteResult_ALIGN = 1;
686
+
687
+ } // namespace Aligned
688
+ } // namespace runtime
689
+ } // namespace sdn
690
+
691
+ namespace sdn {
692
+ namespace runtime {
693
+ namespace Aligned {
694
+
695
+ struct StorageDeleteParams {
696
+ uint8_t __presence[1];
697
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
698
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
699
+
700
+ bool has_SCHEMA() const {
701
+ return (__presence[0] & 1) != 0;
702
+ }
703
+ void set_has_SCHEMA(bool value) {
704
+ if (value) __presence[0] |= 1;
705
+ else __presence[0] &= ~1;
706
+ }
707
+ bool has_CID() const {
708
+ return (__presence[0] & 2) != 0;
709
+ }
710
+ void set_has_CID(bool value) {
711
+ if (value) __presence[0] |= 2;
712
+ else __presence[0] &= ~2;
713
+ }
714
+
715
+ static StorageDeleteParams* fromBytes(void* data) {
716
+ return reinterpret_cast<StorageDeleteParams*>(data);
717
+ }
718
+ static const StorageDeleteParams* fromBytes(const void* data) {
719
+ return reinterpret_cast<const StorageDeleteParams*>(data);
720
+ }
721
+ void copyTo(void* dest) const { std::memcpy(dest, this, 195); }
722
+ void copyFrom(const StorageDeleteParams& src) { std::memcpy(this, &src, 195); }
723
+ };
724
+ static_assert(sizeof(StorageDeleteParams) == 195, "StorageDeleteParams size mismatch");
725
+ static_assert(alignof(StorageDeleteParams) == 1, "StorageDeleteParams alignment mismatch");
726
+ static_assert(offsetof(StorageDeleteParams, SCHEMA) == 1, "StorageDeleteParams.SCHEMA offset mismatch");
727
+ static_assert(offsetof(StorageDeleteParams, CID) == 66, "StorageDeleteParams.CID offset mismatch");
728
+ constexpr size_t StorageDeleteParams_SIZE = 195;
729
+ constexpr size_t StorageDeleteParams_ALIGN = 1;
730
+
731
+ } // namespace Aligned
732
+ } // namespace runtime
733
+ } // namespace sdn
734
+
735
+ namespace sdn {
736
+ namespace runtime {
737
+ namespace Aligned {
738
+
739
+ struct StorageExpireParams {
740
+ uint8_t __presence[1];
741
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
742
+ ::flatbuffers::aligned_runtime::AlignedString<128> PROVIDER_ID;
743
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_NAME;
744
+ uint64_t BEFORE_MS;
745
+ uint32_t BATCH;
746
+ uint32_t MAX_DELETES;
747
+
748
+ bool has_SCHEMA() const {
749
+ return (__presence[0] & 1) != 0;
750
+ }
751
+ void set_has_SCHEMA(bool value) {
752
+ if (value) __presence[0] |= 1;
753
+ else __presence[0] &= ~1;
754
+ }
755
+ bool has_PROVIDER_ID() const {
756
+ return (__presence[0] & 2) != 0;
757
+ }
758
+ void set_has_PROVIDER_ID(bool value) {
759
+ if (value) __presence[0] |= 2;
760
+ else __presence[0] &= ~2;
761
+ }
762
+ bool has_SOURCE_NAME() const {
763
+ return (__presence[0] & 4) != 0;
764
+ }
765
+ void set_has_SOURCE_NAME(bool value) {
766
+ if (value) __presence[0] |= 4;
767
+ else __presence[0] &= ~4;
768
+ }
769
+
770
+ static StorageExpireParams* fromBytes(void* data) {
771
+ return reinterpret_cast<StorageExpireParams*>(data);
772
+ }
773
+ static const StorageExpireParams* fromBytes(const void* data) {
774
+ return reinterpret_cast<const StorageExpireParams*>(data);
775
+ }
776
+ void copyTo(void* dest) const { std::memcpy(dest, this, 344); }
777
+ void copyFrom(const StorageExpireParams& src) { std::memcpy(this, &src, 344); }
778
+ };
779
+ static_assert(sizeof(StorageExpireParams) == 344, "StorageExpireParams size mismatch");
780
+ static_assert(alignof(StorageExpireParams) == 8, "StorageExpireParams alignment mismatch");
781
+ static_assert(offsetof(StorageExpireParams, SCHEMA) == 1, "StorageExpireParams.SCHEMA offset mismatch");
782
+ static_assert(offsetof(StorageExpireParams, PROVIDER_ID) == 66, "StorageExpireParams.PROVIDER_ID offset mismatch");
783
+ static_assert(offsetof(StorageExpireParams, SOURCE_NAME) == 195, "StorageExpireParams.SOURCE_NAME offset mismatch");
784
+ static_assert(offsetof(StorageExpireParams, BEFORE_MS) == 328, "StorageExpireParams.BEFORE_MS offset mismatch");
785
+ static_assert(offsetof(StorageExpireParams, BATCH) == 336, "StorageExpireParams.BATCH offset mismatch");
786
+ static_assert(offsetof(StorageExpireParams, MAX_DELETES) == 340, "StorageExpireParams.MAX_DELETES offset mismatch");
787
+ constexpr size_t StorageExpireParams_SIZE = 344;
788
+ constexpr size_t StorageExpireParams_ALIGN = 8;
789
+
790
+ } // namespace Aligned
791
+ } // namespace runtime
792
+ } // namespace sdn
793
+
794
+ namespace sdn {
795
+ namespace runtime {
796
+ namespace Aligned {
797
+
798
+ struct StorageExpireResult {
799
+ uint64_t DELETED;
800
+ uint64_t MISSING;
801
+ bool CAPPED;
802
+
803
+
804
+ static StorageExpireResult* fromBytes(void* data) {
805
+ return reinterpret_cast<StorageExpireResult*>(data);
806
+ }
807
+ static const StorageExpireResult* fromBytes(const void* data) {
808
+ return reinterpret_cast<const StorageExpireResult*>(data);
809
+ }
810
+ void copyTo(void* dest) const { std::memcpy(dest, this, 24); }
811
+ void copyFrom(const StorageExpireResult& src) { std::memcpy(this, &src, 24); }
812
+ };
813
+ static_assert(sizeof(StorageExpireResult) == 24, "StorageExpireResult size mismatch");
814
+ static_assert(alignof(StorageExpireResult) == 8, "StorageExpireResult alignment mismatch");
815
+ static_assert(offsetof(StorageExpireResult, DELETED) == 0, "StorageExpireResult.DELETED offset mismatch");
816
+ static_assert(offsetof(StorageExpireResult, MISSING) == 8, "StorageExpireResult.MISSING offset mismatch");
817
+ static_assert(offsetof(StorageExpireResult, CAPPED) == 16, "StorageExpireResult.CAPPED offset mismatch");
818
+ constexpr size_t StorageExpireResult_SIZE = 24;
819
+ constexpr size_t StorageExpireResult_ALIGN = 8;
820
+
821
+ } // namespace Aligned
822
+ } // namespace runtime
823
+ } // namespace sdn
824
+
825
+ namespace sdn {
826
+ namespace runtime {
827
+ namespace Aligned {
828
+
829
+ struct StorageIngestParams {
830
+ uint8_t __presence[2];
831
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
832
+ ::flatbuffers::aligned_runtime::AlignedString<128> PROVIDER_ID;
833
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_NAME;
834
+ ::flatbuffers::aligned_runtime::AlignedString<128> BATCH_ID;
835
+ ::flatbuffers::aligned_runtime::AlignedString<255> SOURCE_URL;
836
+ ::flatbuffers::aligned_runtime::AlignedString<64> CONTENT_KEY_ID;
837
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_PEER;
838
+ ::flatbuffers::aligned_runtime::AlignedString<64> LICENSE;
839
+ ::flatbuffers::aligned_runtime::AlignedString<255> LICENSE_URL;
840
+ ::flatbuffers::aligned_runtime::AlignedString<255> CITATION;
841
+ bool SHARE_ALIKE;
842
+ reconcileKind RECONCILE;
843
+ ::flatbuffers::aligned_runtime::AlignedString<128> ARCHIVE_SOURCE;
844
+ ::flatbuffers::aligned_runtime::AlignedString<255> ARCHIVE_NAME;
845
+
846
+ bool has_SCHEMA() const {
847
+ return (__presence[0] & 1) != 0;
848
+ }
849
+ void set_has_SCHEMA(bool value) {
850
+ if (value) __presence[0] |= 1;
851
+ else __presence[0] &= ~1;
852
+ }
853
+ bool has_PROVIDER_ID() const {
854
+ return (__presence[0] & 2) != 0;
855
+ }
856
+ void set_has_PROVIDER_ID(bool value) {
857
+ if (value) __presence[0] |= 2;
858
+ else __presence[0] &= ~2;
859
+ }
860
+ bool has_SOURCE_NAME() const {
861
+ return (__presence[0] & 4) != 0;
862
+ }
863
+ void set_has_SOURCE_NAME(bool value) {
864
+ if (value) __presence[0] |= 4;
865
+ else __presence[0] &= ~4;
866
+ }
867
+ bool has_BATCH_ID() const {
868
+ return (__presence[0] & 8) != 0;
869
+ }
870
+ void set_has_BATCH_ID(bool value) {
871
+ if (value) __presence[0] |= 8;
872
+ else __presence[0] &= ~8;
873
+ }
874
+ bool has_SOURCE_URL() const {
875
+ return (__presence[0] & 16) != 0;
876
+ }
877
+ void set_has_SOURCE_URL(bool value) {
878
+ if (value) __presence[0] |= 16;
879
+ else __presence[0] &= ~16;
880
+ }
881
+ bool has_CONTENT_KEY_ID() const {
882
+ return (__presence[0] & 32) != 0;
883
+ }
884
+ void set_has_CONTENT_KEY_ID(bool value) {
885
+ if (value) __presence[0] |= 32;
886
+ else __presence[0] &= ~32;
887
+ }
888
+ bool has_SOURCE_PEER() const {
889
+ return (__presence[0] & 64) != 0;
890
+ }
891
+ void set_has_SOURCE_PEER(bool value) {
892
+ if (value) __presence[0] |= 64;
893
+ else __presence[0] &= ~64;
894
+ }
895
+ bool has_LICENSE() const {
896
+ return (__presence[0] & 128) != 0;
897
+ }
898
+ void set_has_LICENSE(bool value) {
899
+ if (value) __presence[0] |= 128;
900
+ else __presence[0] &= ~128;
901
+ }
902
+ bool has_LICENSE_URL() const {
903
+ return (__presence[1] & 1) != 0;
904
+ }
905
+ void set_has_LICENSE_URL(bool value) {
906
+ if (value) __presence[1] |= 1;
907
+ else __presence[1] &= ~1;
908
+ }
909
+ bool has_CITATION() const {
910
+ return (__presence[1] & 2) != 0;
911
+ }
912
+ void set_has_CITATION(bool value) {
913
+ if (value) __presence[1] |= 2;
914
+ else __presence[1] &= ~2;
915
+ }
916
+ bool has_ARCHIVE_SOURCE() const {
917
+ return (__presence[1] & 4) != 0;
918
+ }
919
+ void set_has_ARCHIVE_SOURCE(bool value) {
920
+ if (value) __presence[1] |= 4;
921
+ else __presence[1] &= ~4;
922
+ }
923
+ bool has_ARCHIVE_NAME() const {
924
+ return (__presence[1] & 8) != 0;
925
+ }
926
+ void set_has_ARCHIVE_NAME(bool value) {
927
+ if (value) __presence[1] |= 8;
928
+ else __presence[1] &= ~8;
929
+ }
930
+
931
+ static StorageIngestParams* fromBytes(void* data) {
932
+ return reinterpret_cast<StorageIngestParams*>(data);
933
+ }
934
+ static const StorageIngestParams* fromBytes(const void* data) {
935
+ return reinterpret_cast<const StorageIngestParams*>(data);
936
+ }
937
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1868); }
938
+ void copyFrom(const StorageIngestParams& src) { std::memcpy(this, &src, 1868); }
939
+ };
940
+ static_assert(sizeof(StorageIngestParams) == 1868, "StorageIngestParams size mismatch");
941
+ static_assert(alignof(StorageIngestParams) == 1, "StorageIngestParams alignment mismatch");
942
+ static_assert(offsetof(StorageIngestParams, SCHEMA) == 2, "StorageIngestParams.SCHEMA offset mismatch");
943
+ static_assert(offsetof(StorageIngestParams, PROVIDER_ID) == 67, "StorageIngestParams.PROVIDER_ID offset mismatch");
944
+ static_assert(offsetof(StorageIngestParams, SOURCE_NAME) == 196, "StorageIngestParams.SOURCE_NAME offset mismatch");
945
+ static_assert(offsetof(StorageIngestParams, BATCH_ID) == 325, "StorageIngestParams.BATCH_ID offset mismatch");
946
+ static_assert(offsetof(StorageIngestParams, SOURCE_URL) == 454, "StorageIngestParams.SOURCE_URL offset mismatch");
947
+ static_assert(offsetof(StorageIngestParams, CONTENT_KEY_ID) == 710, "StorageIngestParams.CONTENT_KEY_ID offset mismatch");
948
+ static_assert(offsetof(StorageIngestParams, SOURCE_PEER) == 775, "StorageIngestParams.SOURCE_PEER offset mismatch");
949
+ static_assert(offsetof(StorageIngestParams, LICENSE) == 904, "StorageIngestParams.LICENSE offset mismatch");
950
+ static_assert(offsetof(StorageIngestParams, LICENSE_URL) == 969, "StorageIngestParams.LICENSE_URL offset mismatch");
951
+ static_assert(offsetof(StorageIngestParams, CITATION) == 1225, "StorageIngestParams.CITATION offset mismatch");
952
+ static_assert(offsetof(StorageIngestParams, SHARE_ALIKE) == 1481, "StorageIngestParams.SHARE_ALIKE offset mismatch");
953
+ static_assert(offsetof(StorageIngestParams, RECONCILE) == 1482, "StorageIngestParams.RECONCILE offset mismatch");
954
+ static_assert(offsetof(StorageIngestParams, ARCHIVE_SOURCE) == 1483, "StorageIngestParams.ARCHIVE_SOURCE offset mismatch");
955
+ static_assert(offsetof(StorageIngestParams, ARCHIVE_NAME) == 1612, "StorageIngestParams.ARCHIVE_NAME offset mismatch");
956
+ constexpr size_t StorageIngestParams_SIZE = 1868;
957
+ constexpr size_t StorageIngestParams_ALIGN = 1;
958
+
959
+ } // namespace Aligned
960
+ } // namespace runtime
961
+ } // namespace sdn
962
+
963
+ namespace sdn {
964
+ namespace runtime {
965
+ namespace Aligned {
966
+
967
+ struct Provenance {
968
+ uint8_t __presence[1];
969
+ ::flatbuffers::aligned_runtime::AlignedString<255> SOURCE_URL;
970
+ int32_t HTTP_STATUS;
971
+ ::flatbuffers::aligned_runtime::AlignedString<128> ETAG;
972
+ ::flatbuffers::aligned_runtime::AlignedString<64> LAST_MODIFIED;
973
+ ::flatbuffers::aligned_runtime::AlignedString<128> CONTENT_TYPE;
974
+ uint64_t RETRIEVED_MS;
975
+ ::flatbuffers::aligned_runtime::AlignedString<64> PARSER;
976
+ ::flatbuffers::aligned_runtime::AlignedString<32> PARSER_VERSION;
977
+ ::flatbuffers::aligned_runtime::AlignedString<64> SOURCE_SHA256;
978
+ ::flatbuffers::aligned_runtime::AlignedString<64> NORMALIZED_SHA256;
979
+ uint64_t NORMALIZED_COUNT;
980
+ bool FROM_CACHE;
981
+
982
+ bool has_SOURCE_URL() const {
983
+ return (__presence[0] & 1) != 0;
984
+ }
985
+ void set_has_SOURCE_URL(bool value) {
986
+ if (value) __presence[0] |= 1;
987
+ else __presence[0] &= ~1;
988
+ }
989
+ bool has_ETAG() const {
990
+ return (__presence[0] & 2) != 0;
991
+ }
992
+ void set_has_ETAG(bool value) {
993
+ if (value) __presence[0] |= 2;
994
+ else __presence[0] &= ~2;
995
+ }
996
+ bool has_LAST_MODIFIED() const {
997
+ return (__presence[0] & 4) != 0;
998
+ }
999
+ void set_has_LAST_MODIFIED(bool value) {
1000
+ if (value) __presence[0] |= 4;
1001
+ else __presence[0] &= ~4;
1002
+ }
1003
+ bool has_CONTENT_TYPE() const {
1004
+ return (__presence[0] & 8) != 0;
1005
+ }
1006
+ void set_has_CONTENT_TYPE(bool value) {
1007
+ if (value) __presence[0] |= 8;
1008
+ else __presence[0] &= ~8;
1009
+ }
1010
+ bool has_PARSER() const {
1011
+ return (__presence[0] & 16) != 0;
1012
+ }
1013
+ void set_has_PARSER(bool value) {
1014
+ if (value) __presence[0] |= 16;
1015
+ else __presence[0] &= ~16;
1016
+ }
1017
+ bool has_PARSER_VERSION() const {
1018
+ return (__presence[0] & 32) != 0;
1019
+ }
1020
+ void set_has_PARSER_VERSION(bool value) {
1021
+ if (value) __presence[0] |= 32;
1022
+ else __presence[0] &= ~32;
1023
+ }
1024
+ bool has_SOURCE_SHA256() const {
1025
+ return (__presence[0] & 64) != 0;
1026
+ }
1027
+ void set_has_SOURCE_SHA256(bool value) {
1028
+ if (value) __presence[0] |= 64;
1029
+ else __presence[0] &= ~64;
1030
+ }
1031
+ bool has_NORMALIZED_SHA256() const {
1032
+ return (__presence[0] & 128) != 0;
1033
+ }
1034
+ void set_has_NORMALIZED_SHA256(bool value) {
1035
+ if (value) __presence[0] |= 128;
1036
+ else __presence[0] &= ~128;
1037
+ }
1038
+
1039
+ static Provenance* fromBytes(void* data) {
1040
+ return reinterpret_cast<Provenance*>(data);
1041
+ }
1042
+ static const Provenance* fromBytes(const void* data) {
1043
+ return reinterpret_cast<const Provenance*>(data);
1044
+ }
1045
+ void copyTo(void* dest) const { std::memcpy(dest, this, 848); }
1046
+ void copyFrom(const Provenance& src) { std::memcpy(this, &src, 848); }
1047
+ };
1048
+ static_assert(sizeof(Provenance) == 848, "Provenance size mismatch");
1049
+ static_assert(alignof(Provenance) == 8, "Provenance alignment mismatch");
1050
+ static_assert(offsetof(Provenance, SOURCE_URL) == 1, "Provenance.SOURCE_URL offset mismatch");
1051
+ static_assert(offsetof(Provenance, HTTP_STATUS) == 260, "Provenance.HTTP_STATUS offset mismatch");
1052
+ static_assert(offsetof(Provenance, ETAG) == 264, "Provenance.ETAG offset mismatch");
1053
+ static_assert(offsetof(Provenance, LAST_MODIFIED) == 393, "Provenance.LAST_MODIFIED offset mismatch");
1054
+ static_assert(offsetof(Provenance, CONTENT_TYPE) == 458, "Provenance.CONTENT_TYPE offset mismatch");
1055
+ static_assert(offsetof(Provenance, RETRIEVED_MS) == 592, "Provenance.RETRIEVED_MS offset mismatch");
1056
+ static_assert(offsetof(Provenance, PARSER) == 600, "Provenance.PARSER offset mismatch");
1057
+ static_assert(offsetof(Provenance, PARSER_VERSION) == 665, "Provenance.PARSER_VERSION offset mismatch");
1058
+ static_assert(offsetof(Provenance, SOURCE_SHA256) == 698, "Provenance.SOURCE_SHA256 offset mismatch");
1059
+ static_assert(offsetof(Provenance, NORMALIZED_SHA256) == 763, "Provenance.NORMALIZED_SHA256 offset mismatch");
1060
+ static_assert(offsetof(Provenance, NORMALIZED_COUNT) == 832, "Provenance.NORMALIZED_COUNT offset mismatch");
1061
+ static_assert(offsetof(Provenance, FROM_CACHE) == 840, "Provenance.FROM_CACHE offset mismatch");
1062
+ constexpr size_t Provenance_SIZE = 848;
1063
+ constexpr size_t Provenance_ALIGN = 8;
1064
+
1065
+ } // namespace Aligned
1066
+ } // namespace runtime
1067
+ } // namespace sdn
1068
+
1069
+ namespace sdn {
1070
+ namespace runtime {
1071
+ namespace Aligned {
1072
+
1073
+ struct StorageIngestResult {
1074
+ uint8_t __presence[1];
1075
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
1076
+ ::flatbuffers::aligned_runtime::AlignedString<128> BATCH_ID;
1077
+ uint64_t INSERTED;
1078
+ uint64_t RECONCILED_DUPLICATES;
1079
+ uint64_t RECONCILED_OLD_BATCHES;
1080
+ ::flatbuffers::aligned_runtime::AlignedString<255> ARCHIVED;
1081
+ ::flatbuffers::aligned_runtime::AlignedString<255> PROVENANCE_FILE;
1082
+
1083
+ bool has_SCHEMA() const {
1084
+ return (__presence[0] & 1) != 0;
1085
+ }
1086
+ void set_has_SCHEMA(bool value) {
1087
+ if (value) __presence[0] |= 1;
1088
+ else __presence[0] &= ~1;
1089
+ }
1090
+ bool has_BATCH_ID() const {
1091
+ return (__presence[0] & 2) != 0;
1092
+ }
1093
+ void set_has_BATCH_ID(bool value) {
1094
+ if (value) __presence[0] |= 2;
1095
+ else __presence[0] &= ~2;
1096
+ }
1097
+ bool has_ARCHIVED() const {
1098
+ return (__presence[0] & 4) != 0;
1099
+ }
1100
+ void set_has_ARCHIVED(bool value) {
1101
+ if (value) __presence[0] |= 4;
1102
+ else __presence[0] &= ~4;
1103
+ }
1104
+ bool has_PROVENANCE_FILE() const {
1105
+ return (__presence[0] & 8) != 0;
1106
+ }
1107
+ void set_has_PROVENANCE_FILE(bool value) {
1108
+ if (value) __presence[0] |= 8;
1109
+ else __presence[0] &= ~8;
1110
+ }
1111
+
1112
+ static StorageIngestResult* fromBytes(void* data) {
1113
+ return reinterpret_cast<StorageIngestResult*>(data);
1114
+ }
1115
+ static const StorageIngestResult* fromBytes(const void* data) {
1116
+ return reinterpret_cast<const StorageIngestResult*>(data);
1117
+ }
1118
+ void copyTo(void* dest) const { std::memcpy(dest, this, 736); }
1119
+ void copyFrom(const StorageIngestResult& src) { std::memcpy(this, &src, 736); }
1120
+ };
1121
+ static_assert(sizeof(StorageIngestResult) == 736, "StorageIngestResult size mismatch");
1122
+ static_assert(alignof(StorageIngestResult) == 8, "StorageIngestResult alignment mismatch");
1123
+ static_assert(offsetof(StorageIngestResult, SCHEMA) == 1, "StorageIngestResult.SCHEMA offset mismatch");
1124
+ static_assert(offsetof(StorageIngestResult, BATCH_ID) == 66, "StorageIngestResult.BATCH_ID offset mismatch");
1125
+ static_assert(offsetof(StorageIngestResult, INSERTED) == 200, "StorageIngestResult.INSERTED offset mismatch");
1126
+ static_assert(offsetof(StorageIngestResult, RECONCILED_DUPLICATES) == 208, "StorageIngestResult.RECONCILED_DUPLICATES offset mismatch");
1127
+ static_assert(offsetof(StorageIngestResult, RECONCILED_OLD_BATCHES) == 216, "StorageIngestResult.RECONCILED_OLD_BATCHES offset mismatch");
1128
+ static_assert(offsetof(StorageIngestResult, ARCHIVED) == 224, "StorageIngestResult.ARCHIVED offset mismatch");
1129
+ static_assert(offsetof(StorageIngestResult, PROVENANCE_FILE) == 480, "StorageIngestResult.PROVENANCE_FILE offset mismatch");
1130
+ constexpr size_t StorageIngestResult_SIZE = 736;
1131
+ constexpr size_t StorageIngestResult_ALIGN = 8;
1132
+
1133
+ } // namespace Aligned
1134
+ } // namespace runtime
1135
+ } // namespace sdn
1136
+
1137
+ namespace sdn {
1138
+ namespace runtime {
1139
+ namespace Aligned {
1140
+
1141
+ struct SqlValue {
1142
+ uint8_t __presence[1];
1143
+ sqlValueKind KIND;
1144
+ bool BOOL_VALUE;
1145
+ int64_t I64_VALUE;
1146
+ double F64_VALUE;
1147
+ ::flatbuffers::aligned_runtime::AlignedString<255> STR_VALUE;
1148
+
1149
+ bool has_STR_VALUE() const {
1150
+ return (__presence[0] & 1) != 0;
1151
+ }
1152
+ void set_has_STR_VALUE(bool value) {
1153
+ if (value) __presence[0] |= 1;
1154
+ else __presence[0] &= ~1;
1155
+ }
1156
+
1157
+ static SqlValue* fromBytes(void* data) {
1158
+ return reinterpret_cast<SqlValue*>(data);
1159
+ }
1160
+ static const SqlValue* fromBytes(const void* data) {
1161
+ return reinterpret_cast<const SqlValue*>(data);
1162
+ }
1163
+ void copyTo(void* dest) const { std::memcpy(dest, this, 280); }
1164
+ void copyFrom(const SqlValue& src) { std::memcpy(this, &src, 280); }
1165
+ };
1166
+ static_assert(sizeof(SqlValue) == 280, "SqlValue size mismatch");
1167
+ static_assert(alignof(SqlValue) == 8, "SqlValue alignment mismatch");
1168
+ static_assert(offsetof(SqlValue, KIND) == 1, "SqlValue.KIND offset mismatch");
1169
+ static_assert(offsetof(SqlValue, BOOL_VALUE) == 2, "SqlValue.BOOL_VALUE offset mismatch");
1170
+ static_assert(offsetof(SqlValue, I64_VALUE) == 8, "SqlValue.I64_VALUE offset mismatch");
1171
+ static_assert(offsetof(SqlValue, F64_VALUE) == 16, "SqlValue.F64_VALUE offset mismatch");
1172
+ static_assert(offsetof(SqlValue, STR_VALUE) == 24, "SqlValue.STR_VALUE offset mismatch");
1173
+ constexpr size_t SqlValue_SIZE = 280;
1174
+ constexpr size_t SqlValue_ALIGN = 8;
1175
+
1176
+ } // namespace Aligned
1177
+ } // namespace runtime
1178
+ } // namespace sdn
1179
+
1180
+ namespace sdn {
1181
+ namespace runtime {
1182
+ namespace Aligned {
1183
+
1184
+ struct SqlStreamParams {
1185
+ deliverMode DELIVER;
1186
+
1187
+
1188
+ static SqlStreamParams* fromBytes(void* data) {
1189
+ return reinterpret_cast<SqlStreamParams*>(data);
1190
+ }
1191
+ static const SqlStreamParams* fromBytes(const void* data) {
1192
+ return reinterpret_cast<const SqlStreamParams*>(data);
1193
+ }
1194
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1); }
1195
+ void copyFrom(const SqlStreamParams& src) { std::memcpy(this, &src, 1); }
1196
+ };
1197
+ static_assert(sizeof(SqlStreamParams) == 1, "SqlStreamParams size mismatch");
1198
+ static_assert(alignof(SqlStreamParams) == 1, "SqlStreamParams alignment mismatch");
1199
+ static_assert(offsetof(SqlStreamParams, DELIVER) == 0, "SqlStreamParams.DELIVER offset mismatch");
1200
+ constexpr size_t SqlStreamParams_SIZE = 1;
1201
+ constexpr size_t SqlStreamParams_ALIGN = 1;
1202
+
1203
+ } // namespace Aligned
1204
+ } // namespace runtime
1205
+ } // namespace sdn
1206
+
1207
+ namespace sdn {
1208
+ namespace runtime {
1209
+ namespace Aligned {
1210
+
1211
+ struct StreamResult {
1212
+ uint8_t __presence[1];
1213
+ uint64_t ROWS;
1214
+ uint32_t COLUMNS;
1215
+ ::sdn::runtime::Aligned::BodyRef REF;
1216
+
1217
+ bool has_REF() const {
1218
+ return (__presence[0] & 1) != 0;
1219
+ }
1220
+ void set_has_REF(bool value) {
1221
+ if (value) __presence[0] |= 1;
1222
+ else __presence[0] &= ~1;
1223
+ }
1224
+
1225
+ static StreamResult* fromBytes(void* data) {
1226
+ return reinterpret_cast<StreamResult*>(data);
1227
+ }
1228
+ static const StreamResult* fromBytes(const void* data) {
1229
+ return reinterpret_cast<const StreamResult*>(data);
1230
+ }
1231
+ void copyTo(void* dest) const { std::memcpy(dest, this, 80); }
1232
+ void copyFrom(const StreamResult& src) { std::memcpy(this, &src, 80); }
1233
+ };
1234
+ static_assert(sizeof(StreamResult) == 80, "StreamResult size mismatch");
1235
+ static_assert(alignof(StreamResult) == 8, "StreamResult alignment mismatch");
1236
+ static_assert(offsetof(StreamResult, ROWS) == 8, "StreamResult.ROWS offset mismatch");
1237
+ static_assert(offsetof(StreamResult, COLUMNS) == 16, "StreamResult.COLUMNS offset mismatch");
1238
+ static_assert(offsetof(StreamResult, REF) == 24, "StreamResult.REF offset mismatch");
1239
+ constexpr size_t StreamResult_SIZE = 80;
1240
+ constexpr size_t StreamResult_ALIGN = 8;
1241
+
1242
+ } // namespace Aligned
1243
+ } // namespace runtime
1244
+ } // namespace sdn
1245
+
1246
+ namespace sdn {
1247
+ namespace runtime {
1248
+ namespace Aligned {
1249
+
1250
+ struct EpochStreamParams {
1251
+ uint8_t __presence[1];
1252
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
1253
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE;
1254
+ ::flatbuffers::aligned_runtime::AlignedString<32> PROFILE;
1255
+ double EPOCH;
1256
+ uint32_t LIMIT;
1257
+ deliverMode DELIVER;
1258
+
1259
+ bool has_SCHEMA() const {
1260
+ return (__presence[0] & 1) != 0;
1261
+ }
1262
+ void set_has_SCHEMA(bool value) {
1263
+ if (value) __presence[0] |= 1;
1264
+ else __presence[0] &= ~1;
1265
+ }
1266
+ bool has_SOURCE() const {
1267
+ return (__presence[0] & 2) != 0;
1268
+ }
1269
+ void set_has_SOURCE(bool value) {
1270
+ if (value) __presence[0] |= 2;
1271
+ else __presence[0] &= ~2;
1272
+ }
1273
+ bool has_PROFILE() const {
1274
+ return (__presence[0] & 4) != 0;
1275
+ }
1276
+ void set_has_PROFILE(bool value) {
1277
+ if (value) __presence[0] |= 4;
1278
+ else __presence[0] &= ~4;
1279
+ }
1280
+
1281
+ static EpochStreamParams* fromBytes(void* data) {
1282
+ return reinterpret_cast<EpochStreamParams*>(data);
1283
+ }
1284
+ static const EpochStreamParams* fromBytes(const void* data) {
1285
+ return reinterpret_cast<const EpochStreamParams*>(data);
1286
+ }
1287
+ void copyTo(void* dest) const { std::memcpy(dest, this, 248); }
1288
+ void copyFrom(const EpochStreamParams& src) { std::memcpy(this, &src, 248); }
1289
+ };
1290
+ static_assert(sizeof(EpochStreamParams) == 248, "EpochStreamParams size mismatch");
1291
+ static_assert(alignof(EpochStreamParams) == 8, "EpochStreamParams alignment mismatch");
1292
+ static_assert(offsetof(EpochStreamParams, SCHEMA) == 1, "EpochStreamParams.SCHEMA offset mismatch");
1293
+ static_assert(offsetof(EpochStreamParams, SOURCE) == 66, "EpochStreamParams.SOURCE offset mismatch");
1294
+ static_assert(offsetof(EpochStreamParams, PROFILE) == 195, "EpochStreamParams.PROFILE offset mismatch");
1295
+ static_assert(offsetof(EpochStreamParams, EPOCH) == 232, "EpochStreamParams.EPOCH offset mismatch");
1296
+ static_assert(offsetof(EpochStreamParams, LIMIT) == 240, "EpochStreamParams.LIMIT offset mismatch");
1297
+ static_assert(offsetof(EpochStreamParams, DELIVER) == 244, "EpochStreamParams.DELIVER offset mismatch");
1298
+ constexpr size_t EpochStreamParams_SIZE = 248;
1299
+ constexpr size_t EpochStreamParams_ALIGN = 8;
1300
+
1301
+ } // namespace Aligned
1302
+ } // namespace runtime
1303
+ } // namespace sdn
1304
+
1305
+ namespace sdn {
1306
+ namespace runtime {
1307
+ namespace Aligned {
1308
+
1309
+ struct SandboxQueryParams {
1310
+ sandboxWant WANT;
1311
+ deliverMode DELIVER;
1312
+
1313
+
1314
+ static SandboxQueryParams* fromBytes(void* data) {
1315
+ return reinterpret_cast<SandboxQueryParams*>(data);
1316
+ }
1317
+ static const SandboxQueryParams* fromBytes(const void* data) {
1318
+ return reinterpret_cast<const SandboxQueryParams*>(data);
1319
+ }
1320
+ void copyTo(void* dest) const { std::memcpy(dest, this, 2); }
1321
+ void copyFrom(const SandboxQueryParams& src) { std::memcpy(this, &src, 2); }
1322
+ };
1323
+ static_assert(sizeof(SandboxQueryParams) == 2, "SandboxQueryParams size mismatch");
1324
+ static_assert(alignof(SandboxQueryParams) == 1, "SandboxQueryParams alignment mismatch");
1325
+ static_assert(offsetof(SandboxQueryParams, WANT) == 0, "SandboxQueryParams.WANT offset mismatch");
1326
+ static_assert(offsetof(SandboxQueryParams, DELIVER) == 1, "SandboxQueryParams.DELIVER offset mismatch");
1327
+ constexpr size_t SandboxQueryParams_SIZE = 2;
1328
+ constexpr size_t SandboxQueryParams_ALIGN = 1;
1329
+
1330
+ } // namespace Aligned
1331
+ } // namespace runtime
1332
+ } // namespace sdn
1333
+
1334
+ namespace sdn {
1335
+ namespace runtime {
1336
+ namespace Aligned {
1337
+
1338
+ struct SandboxQueryResult {
1339
+ uint8_t __presence[1];
1340
+ sandboxWant KIND;
1341
+ uint64_t ROWS;
1342
+ uint32_t COLUMNS;
1343
+ ::sdn::runtime::Aligned::BodyRef REF;
1344
+
1345
+ bool has_REF() const {
1346
+ return (__presence[0] & 1) != 0;
1347
+ }
1348
+ void set_has_REF(bool value) {
1349
+ if (value) __presence[0] |= 1;
1350
+ else __presence[0] &= ~1;
1351
+ }
1352
+
1353
+ static SandboxQueryResult* fromBytes(void* data) {
1354
+ return reinterpret_cast<SandboxQueryResult*>(data);
1355
+ }
1356
+ static const SandboxQueryResult* fromBytes(const void* data) {
1357
+ return reinterpret_cast<const SandboxQueryResult*>(data);
1358
+ }
1359
+ void copyTo(void* dest) const { std::memcpy(dest, this, 80); }
1360
+ void copyFrom(const SandboxQueryResult& src) { std::memcpy(this, &src, 80); }
1361
+ };
1362
+ static_assert(sizeof(SandboxQueryResult) == 80, "SandboxQueryResult size mismatch");
1363
+ static_assert(alignof(SandboxQueryResult) == 8, "SandboxQueryResult alignment mismatch");
1364
+ static_assert(offsetof(SandboxQueryResult, KIND) == 1, "SandboxQueryResult.KIND offset mismatch");
1365
+ static_assert(offsetof(SandboxQueryResult, ROWS) == 8, "SandboxQueryResult.ROWS offset mismatch");
1366
+ static_assert(offsetof(SandboxQueryResult, COLUMNS) == 16, "SandboxQueryResult.COLUMNS offset mismatch");
1367
+ static_assert(offsetof(SandboxQueryResult, REF) == 24, "SandboxQueryResult.REF offset mismatch");
1368
+ constexpr size_t SandboxQueryResult_SIZE = 80;
1369
+ constexpr size_t SandboxQueryResult_ALIGN = 8;
1370
+
1371
+ } // namespace Aligned
1372
+ } // namespace runtime
1373
+ } // namespace sdn
1374
+
1375
+ namespace sdn {
1376
+ namespace runtime {
1377
+ namespace Aligned {
1378
+
1379
+ struct SurfaceTable {
1380
+ uint8_t __presence[1];
1381
+ ::flatbuffers::aligned_runtime::AlignedString<128> NAME;
1382
+ ::flatbuffers::aligned_runtime::AlignedString<16> KIND;
1383
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE;
1384
+ int64_t RECORDS;
1385
+
1386
+ bool has_NAME() const {
1387
+ return (__presence[0] & 1) != 0;
1388
+ }
1389
+ void set_has_NAME(bool value) {
1390
+ if (value) __presence[0] |= 1;
1391
+ else __presence[0] &= ~1;
1392
+ }
1393
+ bool has_KIND() const {
1394
+ return (__presence[0] & 2) != 0;
1395
+ }
1396
+ void set_has_KIND(bool value) {
1397
+ if (value) __presence[0] |= 2;
1398
+ else __presence[0] &= ~2;
1399
+ }
1400
+ bool has_SOURCE() const {
1401
+ return (__presence[0] & 4) != 0;
1402
+ }
1403
+ void set_has_SOURCE(bool value) {
1404
+ if (value) __presence[0] |= 4;
1405
+ else __presence[0] &= ~4;
1406
+ }
1407
+
1408
+ static SurfaceTable* fromBytes(void* data) {
1409
+ return reinterpret_cast<SurfaceTable*>(data);
1410
+ }
1411
+ static const SurfaceTable* fromBytes(const void* data) {
1412
+ return reinterpret_cast<const SurfaceTable*>(data);
1413
+ }
1414
+ void copyTo(void* dest) const { std::memcpy(dest, this, 288); }
1415
+ void copyFrom(const SurfaceTable& src) { std::memcpy(this, &src, 288); }
1416
+ };
1417
+ static_assert(sizeof(SurfaceTable) == 288, "SurfaceTable size mismatch");
1418
+ static_assert(alignof(SurfaceTable) == 8, "SurfaceTable alignment mismatch");
1419
+ static_assert(offsetof(SurfaceTable, NAME) == 1, "SurfaceTable.NAME offset mismatch");
1420
+ static_assert(offsetof(SurfaceTable, KIND) == 130, "SurfaceTable.KIND offset mismatch");
1421
+ static_assert(offsetof(SurfaceTable, SOURCE) == 147, "SurfaceTable.SOURCE offset mismatch");
1422
+ static_assert(offsetof(SurfaceTable, RECORDS) == 280, "SurfaceTable.RECORDS offset mismatch");
1423
+ constexpr size_t SurfaceTable_SIZE = 288;
1424
+ constexpr size_t SurfaceTable_ALIGN = 8;
1425
+
1426
+ } // namespace Aligned
1427
+ } // namespace runtime
1428
+ } // namespace sdn
1429
+
1430
+ namespace sdn {
1431
+ namespace runtime {
1432
+ namespace Aligned {
1433
+
1434
+ struct SurfaceColumn {
1435
+ uint8_t __presence[1];
1436
+ ::flatbuffers::aligned_runtime::AlignedString<128> TABLE;
1437
+ ::flatbuffers::aligned_runtime::AlignedString<128> NAME;
1438
+ bool PLACEHOLDER;
1439
+
1440
+ bool has_TABLE() const {
1441
+ return (__presence[0] & 1) != 0;
1442
+ }
1443
+ void set_has_TABLE(bool value) {
1444
+ if (value) __presence[0] |= 1;
1445
+ else __presence[0] &= ~1;
1446
+ }
1447
+ bool has_NAME() const {
1448
+ return (__presence[0] & 2) != 0;
1449
+ }
1450
+ void set_has_NAME(bool value) {
1451
+ if (value) __presence[0] |= 2;
1452
+ else __presence[0] &= ~2;
1453
+ }
1454
+
1455
+ static SurfaceColumn* fromBytes(void* data) {
1456
+ return reinterpret_cast<SurfaceColumn*>(data);
1457
+ }
1458
+ static const SurfaceColumn* fromBytes(const void* data) {
1459
+ return reinterpret_cast<const SurfaceColumn*>(data);
1460
+ }
1461
+ void copyTo(void* dest) const { std::memcpy(dest, this, 260); }
1462
+ void copyFrom(const SurfaceColumn& src) { std::memcpy(this, &src, 260); }
1463
+ };
1464
+ static_assert(sizeof(SurfaceColumn) == 260, "SurfaceColumn size mismatch");
1465
+ static_assert(alignof(SurfaceColumn) == 1, "SurfaceColumn alignment mismatch");
1466
+ static_assert(offsetof(SurfaceColumn, TABLE) == 1, "SurfaceColumn.TABLE offset mismatch");
1467
+ static_assert(offsetof(SurfaceColumn, NAME) == 130, "SurfaceColumn.NAME offset mismatch");
1468
+ static_assert(offsetof(SurfaceColumn, PLACEHOLDER) == 259, "SurfaceColumn.PLACEHOLDER offset mismatch");
1469
+ constexpr size_t SurfaceColumn_SIZE = 260;
1470
+ constexpr size_t SurfaceColumn_ALIGN = 1;
1471
+
1472
+ } // namespace Aligned
1473
+ } // namespace runtime
1474
+ } // namespace sdn
1475
+
1476
+ namespace sdn {
1477
+ namespace runtime {
1478
+ namespace Aligned {
1479
+
1480
+ struct QuerySurfaceLimits {
1481
+ uint32_t TIMEOUT_MS;
1482
+ uint64_t MAX_ROWS;
1483
+ uint64_t MAX_BYTES;
1484
+
1485
+
1486
+ static QuerySurfaceLimits* fromBytes(void* data) {
1487
+ return reinterpret_cast<QuerySurfaceLimits*>(data);
1488
+ }
1489
+ static const QuerySurfaceLimits* fromBytes(const void* data) {
1490
+ return reinterpret_cast<const QuerySurfaceLimits*>(data);
1491
+ }
1492
+ void copyTo(void* dest) const { std::memcpy(dest, this, 24); }
1493
+ void copyFrom(const QuerySurfaceLimits& src) { std::memcpy(this, &src, 24); }
1494
+ };
1495
+ static_assert(sizeof(QuerySurfaceLimits) == 24, "QuerySurfaceLimits size mismatch");
1496
+ static_assert(alignof(QuerySurfaceLimits) == 8, "QuerySurfaceLimits alignment mismatch");
1497
+ static_assert(offsetof(QuerySurfaceLimits, TIMEOUT_MS) == 0, "QuerySurfaceLimits.TIMEOUT_MS offset mismatch");
1498
+ static_assert(offsetof(QuerySurfaceLimits, MAX_ROWS) == 8, "QuerySurfaceLimits.MAX_ROWS offset mismatch");
1499
+ static_assert(offsetof(QuerySurfaceLimits, MAX_BYTES) == 16, "QuerySurfaceLimits.MAX_BYTES offset mismatch");
1500
+ constexpr size_t QuerySurfaceLimits_SIZE = 24;
1501
+ constexpr size_t QuerySurfaceLimits_ALIGN = 8;
1502
+
1503
+ } // namespace Aligned
1504
+ } // namespace runtime
1505
+ } // namespace sdn
1506
+
1507
+ namespace sdn {
1508
+ namespace runtime {
1509
+ namespace Aligned {
1510
+
1511
+ struct CacheKeyParams {
1512
+ uint8_t __presence[1];
1513
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA_NAME;
1514
+ ::flatbuffers::aligned_runtime::AlignedString<32> SCHEMA_VERSION;
1515
+ ::flatbuffers::aligned_runtime::AlignedString<32> FORMAT;
1516
+ ::flatbuffers::aligned_runtime::AlignedString<128> PUBLISH_EVENT_KEY;
1517
+
1518
+ bool has_SCHEMA_NAME() const {
1519
+ return (__presence[0] & 1) != 0;
1520
+ }
1521
+ void set_has_SCHEMA_NAME(bool value) {
1522
+ if (value) __presence[0] |= 1;
1523
+ else __presence[0] &= ~1;
1524
+ }
1525
+ bool has_SCHEMA_VERSION() const {
1526
+ return (__presence[0] & 2) != 0;
1527
+ }
1528
+ void set_has_SCHEMA_VERSION(bool value) {
1529
+ if (value) __presence[0] |= 2;
1530
+ else __presence[0] &= ~2;
1531
+ }
1532
+ bool has_FORMAT() const {
1533
+ return (__presence[0] & 4) != 0;
1534
+ }
1535
+ void set_has_FORMAT(bool value) {
1536
+ if (value) __presence[0] |= 4;
1537
+ else __presence[0] &= ~4;
1538
+ }
1539
+ bool has_PUBLISH_EVENT_KEY() const {
1540
+ return (__presence[0] & 8) != 0;
1541
+ }
1542
+ void set_has_PUBLISH_EVENT_KEY(bool value) {
1543
+ if (value) __presence[0] |= 8;
1544
+ else __presence[0] &= ~8;
1545
+ }
1546
+
1547
+ static CacheKeyParams* fromBytes(void* data) {
1548
+ return reinterpret_cast<CacheKeyParams*>(data);
1549
+ }
1550
+ static const CacheKeyParams* fromBytes(const void* data) {
1551
+ return reinterpret_cast<const CacheKeyParams*>(data);
1552
+ }
1553
+ void copyTo(void* dest) const { std::memcpy(dest, this, 261); }
1554
+ void copyFrom(const CacheKeyParams& src) { std::memcpy(this, &src, 261); }
1555
+ };
1556
+ static_assert(sizeof(CacheKeyParams) == 261, "CacheKeyParams size mismatch");
1557
+ static_assert(alignof(CacheKeyParams) == 1, "CacheKeyParams alignment mismatch");
1558
+ static_assert(offsetof(CacheKeyParams, SCHEMA_NAME) == 1, "CacheKeyParams.SCHEMA_NAME offset mismatch");
1559
+ static_assert(offsetof(CacheKeyParams, SCHEMA_VERSION) == 66, "CacheKeyParams.SCHEMA_VERSION offset mismatch");
1560
+ static_assert(offsetof(CacheKeyParams, FORMAT) == 99, "CacheKeyParams.FORMAT offset mismatch");
1561
+ static_assert(offsetof(CacheKeyParams, PUBLISH_EVENT_KEY) == 132, "CacheKeyParams.PUBLISH_EVENT_KEY offset mismatch");
1562
+ constexpr size_t CacheKeyParams_SIZE = 261;
1563
+ constexpr size_t CacheKeyParams_ALIGN = 1;
1564
+
1565
+ } // namespace Aligned
1566
+ } // namespace runtime
1567
+ } // namespace sdn
1568
+
1569
+ namespace sdn {
1570
+ namespace runtime {
1571
+ namespace Aligned {
1572
+
1573
+ struct CryptoParams {
1574
+ cryptoAlgorithm ALGORITHM;
1575
+ uint32_t LENGTH;
1576
+
1577
+
1578
+ static CryptoParams* fromBytes(void* data) {
1579
+ return reinterpret_cast<CryptoParams*>(data);
1580
+ }
1581
+ static const CryptoParams* fromBytes(const void* data) {
1582
+ return reinterpret_cast<const CryptoParams*>(data);
1583
+ }
1584
+ void copyTo(void* dest) const { std::memcpy(dest, this, 8); }
1585
+ void copyFrom(const CryptoParams& src) { std::memcpy(this, &src, 8); }
1586
+ };
1587
+ static_assert(sizeof(CryptoParams) == 8, "CryptoParams size mismatch");
1588
+ static_assert(alignof(CryptoParams) == 4, "CryptoParams alignment mismatch");
1589
+ static_assert(offsetof(CryptoParams, ALGORITHM) == 0, "CryptoParams.ALGORITHM offset mismatch");
1590
+ static_assert(offsetof(CryptoParams, LENGTH) == 4, "CryptoParams.LENGTH offset mismatch");
1591
+ constexpr size_t CryptoParams_SIZE = 8;
1592
+ constexpr size_t CryptoParams_ALIGN = 4;
1593
+
1594
+ } // namespace Aligned
1595
+ } // namespace runtime
1596
+ } // namespace sdn
1597
+
1598
+ namespace sdn {
1599
+ namespace runtime {
1600
+ namespace Aligned {
1601
+
1602
+ struct KeyslotParams {
1603
+ uint8_t __presence[1];
1604
+ ::flatbuffers::aligned_runtime::AlignedString<128> SLOT_ID;
1605
+ cryptoAlgorithm ALGORITHM;
1606
+
1607
+ bool has_SLOT_ID() const {
1608
+ return (__presence[0] & 1) != 0;
1609
+ }
1610
+ void set_has_SLOT_ID(bool value) {
1611
+ if (value) __presence[0] |= 1;
1612
+ else __presence[0] &= ~1;
1613
+ }
1614
+
1615
+ static KeyslotParams* fromBytes(void* data) {
1616
+ return reinterpret_cast<KeyslotParams*>(data);
1617
+ }
1618
+ static const KeyslotParams* fromBytes(const void* data) {
1619
+ return reinterpret_cast<const KeyslotParams*>(data);
1620
+ }
1621
+ void copyTo(void* dest) const { std::memcpy(dest, this, 131); }
1622
+ void copyFrom(const KeyslotParams& src) { std::memcpy(this, &src, 131); }
1623
+ };
1624
+ static_assert(sizeof(KeyslotParams) == 131, "KeyslotParams size mismatch");
1625
+ static_assert(alignof(KeyslotParams) == 1, "KeyslotParams alignment mismatch");
1626
+ static_assert(offsetof(KeyslotParams, SLOT_ID) == 1, "KeyslotParams.SLOT_ID offset mismatch");
1627
+ static_assert(offsetof(KeyslotParams, ALGORITHM) == 130, "KeyslotParams.ALGORITHM offset mismatch");
1628
+ constexpr size_t KeyslotParams_SIZE = 131;
1629
+ constexpr size_t KeyslotParams_ALIGN = 1;
1630
+
1631
+ } // namespace Aligned
1632
+ } // namespace runtime
1633
+ } // namespace sdn
1634
+
1635
+ namespace sdn {
1636
+ namespace runtime {
1637
+ namespace Aligned {
1638
+
1639
+ struct SecretParams {
1640
+ uint8_t __presence[1];
1641
+ ::flatbuffers::aligned_runtime::AlignedString<128> ID;
1642
+ ::flatbuffers::aligned_runtime::AlignedString<255> USERNAME;
1643
+
1644
+ bool has_ID() const {
1645
+ return (__presence[0] & 1) != 0;
1646
+ }
1647
+ void set_has_ID(bool value) {
1648
+ if (value) __presence[0] |= 1;
1649
+ else __presence[0] &= ~1;
1650
+ }
1651
+ bool has_USERNAME() const {
1652
+ return (__presence[0] & 2) != 0;
1653
+ }
1654
+ void set_has_USERNAME(bool value) {
1655
+ if (value) __presence[0] |= 2;
1656
+ else __presence[0] &= ~2;
1657
+ }
1658
+
1659
+ static SecretParams* fromBytes(void* data) {
1660
+ return reinterpret_cast<SecretParams*>(data);
1661
+ }
1662
+ static const SecretParams* fromBytes(const void* data) {
1663
+ return reinterpret_cast<const SecretParams*>(data);
1664
+ }
1665
+ void copyTo(void* dest) const { std::memcpy(dest, this, 386); }
1666
+ void copyFrom(const SecretParams& src) { std::memcpy(this, &src, 386); }
1667
+ };
1668
+ static_assert(sizeof(SecretParams) == 386, "SecretParams size mismatch");
1669
+ static_assert(alignof(SecretParams) == 1, "SecretParams alignment mismatch");
1670
+ static_assert(offsetof(SecretParams, ID) == 1, "SecretParams.ID offset mismatch");
1671
+ static_assert(offsetof(SecretParams, USERNAME) == 130, "SecretParams.USERNAME offset mismatch");
1672
+ constexpr size_t SecretParams_SIZE = 386;
1673
+ constexpr size_t SecretParams_ALIGN = 1;
1674
+
1675
+ } // namespace Aligned
1676
+ } // namespace runtime
1677
+ } // namespace sdn
1678
+
1679
+ namespace sdn {
1680
+ namespace runtime {
1681
+ namespace Aligned {
1682
+
1683
+ struct SecretResult {
1684
+ uint8_t __presence[1];
1685
+ ::flatbuffers::aligned_runtime::AlignedString<128> ID;
1686
+ ::flatbuffers::aligned_runtime::AlignedString<255> USERNAME;
1687
+ bool CONFIGURED;
1688
+ ::flatbuffers::aligned_runtime::AlignedString<255> USERNAME_MASKED;
1689
+ uint64_t UPDATED_MS;
1690
+ uint64_t VERIFIED_MS;
1691
+
1692
+ bool has_ID() const {
1693
+ return (__presence[0] & 1) != 0;
1694
+ }
1695
+ void set_has_ID(bool value) {
1696
+ if (value) __presence[0] |= 1;
1697
+ else __presence[0] &= ~1;
1698
+ }
1699
+ bool has_USERNAME() const {
1700
+ return (__presence[0] & 2) != 0;
1701
+ }
1702
+ void set_has_USERNAME(bool value) {
1703
+ if (value) __presence[0] |= 2;
1704
+ else __presence[0] &= ~2;
1705
+ }
1706
+ bool has_USERNAME_MASKED() const {
1707
+ return (__presence[0] & 4) != 0;
1708
+ }
1709
+ void set_has_USERNAME_MASKED(bool value) {
1710
+ if (value) __presence[0] |= 4;
1711
+ else __presence[0] &= ~4;
1712
+ }
1713
+
1714
+ static SecretResult* fromBytes(void* data) {
1715
+ return reinterpret_cast<SecretResult*>(data);
1716
+ }
1717
+ static const SecretResult* fromBytes(const void* data) {
1718
+ return reinterpret_cast<const SecretResult*>(data);
1719
+ }
1720
+ void copyTo(void* dest) const { std::memcpy(dest, this, 664); }
1721
+ void copyFrom(const SecretResult& src) { std::memcpy(this, &src, 664); }
1722
+ };
1723
+ static_assert(sizeof(SecretResult) == 664, "SecretResult size mismatch");
1724
+ static_assert(alignof(SecretResult) == 8, "SecretResult alignment mismatch");
1725
+ static_assert(offsetof(SecretResult, ID) == 1, "SecretResult.ID offset mismatch");
1726
+ static_assert(offsetof(SecretResult, USERNAME) == 130, "SecretResult.USERNAME offset mismatch");
1727
+ static_assert(offsetof(SecretResult, CONFIGURED) == 386, "SecretResult.CONFIGURED offset mismatch");
1728
+ static_assert(offsetof(SecretResult, USERNAME_MASKED) == 387, "SecretResult.USERNAME_MASKED offset mismatch");
1729
+ static_assert(offsetof(SecretResult, UPDATED_MS) == 648, "SecretResult.UPDATED_MS offset mismatch");
1730
+ static_assert(offsetof(SecretResult, VERIFIED_MS) == 656, "SecretResult.VERIFIED_MS offset mismatch");
1731
+ constexpr size_t SecretResult_SIZE = 664;
1732
+ constexpr size_t SecretResult_ALIGN = 8;
1733
+
1734
+ } // namespace Aligned
1735
+ } // namespace runtime
1736
+ } // namespace sdn
1737
+
1738
+ namespace sdn {
1739
+ namespace runtime {
1740
+ namespace Aligned {
1741
+
1742
+ struct IpfsParams {
1743
+ uint8_t __presence[1];
1744
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
1745
+ ::flatbuffers::aligned_runtime::AlignedString<255> NAME;
1746
+ ::flatbuffers::aligned_runtime::AlignedString<32> TYPE;
1747
+ ::flatbuffers::aligned_runtime::AlignedString<32> LIFETIME;
1748
+ ::flatbuffers::aligned_runtime::AlignedString<32> TTL;
1749
+ bool NO_PIN;
1750
+
1751
+ bool has_CID() const {
1752
+ return (__presence[0] & 1) != 0;
1753
+ }
1754
+ void set_has_CID(bool value) {
1755
+ if (value) __presence[0] |= 1;
1756
+ else __presence[0] &= ~1;
1757
+ }
1758
+ bool has_NAME() const {
1759
+ return (__presence[0] & 2) != 0;
1760
+ }
1761
+ void set_has_NAME(bool value) {
1762
+ if (value) __presence[0] |= 2;
1763
+ else __presence[0] &= ~2;
1764
+ }
1765
+ bool has_TYPE() const {
1766
+ return (__presence[0] & 4) != 0;
1767
+ }
1768
+ void set_has_TYPE(bool value) {
1769
+ if (value) __presence[0] |= 4;
1770
+ else __presence[0] &= ~4;
1771
+ }
1772
+ bool has_LIFETIME() const {
1773
+ return (__presence[0] & 8) != 0;
1774
+ }
1775
+ void set_has_LIFETIME(bool value) {
1776
+ if (value) __presence[0] |= 8;
1777
+ else __presence[0] &= ~8;
1778
+ }
1779
+ bool has_TTL() const {
1780
+ return (__presence[0] & 16) != 0;
1781
+ }
1782
+ void set_has_TTL(bool value) {
1783
+ if (value) __presence[0] |= 16;
1784
+ else __presence[0] &= ~16;
1785
+ }
1786
+
1787
+ static IpfsParams* fromBytes(void* data) {
1788
+ return reinterpret_cast<IpfsParams*>(data);
1789
+ }
1790
+ static const IpfsParams* fromBytes(const void* data) {
1791
+ return reinterpret_cast<const IpfsParams*>(data);
1792
+ }
1793
+ void copyTo(void* dest) const { std::memcpy(dest, this, 486); }
1794
+ void copyFrom(const IpfsParams& src) { std::memcpy(this, &src, 486); }
1795
+ };
1796
+ static_assert(sizeof(IpfsParams) == 486, "IpfsParams size mismatch");
1797
+ static_assert(alignof(IpfsParams) == 1, "IpfsParams alignment mismatch");
1798
+ static_assert(offsetof(IpfsParams, CID) == 1, "IpfsParams.CID offset mismatch");
1799
+ static_assert(offsetof(IpfsParams, NAME) == 130, "IpfsParams.NAME offset mismatch");
1800
+ static_assert(offsetof(IpfsParams, TYPE) == 386, "IpfsParams.TYPE offset mismatch");
1801
+ static_assert(offsetof(IpfsParams, LIFETIME) == 419, "IpfsParams.LIFETIME offset mismatch");
1802
+ static_assert(offsetof(IpfsParams, TTL) == 452, "IpfsParams.TTL offset mismatch");
1803
+ static_assert(offsetof(IpfsParams, NO_PIN) == 485, "IpfsParams.NO_PIN offset mismatch");
1804
+ constexpr size_t IpfsParams_SIZE = 486;
1805
+ constexpr size_t IpfsParams_ALIGN = 1;
1806
+
1807
+ } // namespace Aligned
1808
+ } // namespace runtime
1809
+ } // namespace sdn
1810
+
1811
+ namespace sdn {
1812
+ namespace runtime {
1813
+ namespace Aligned {
1814
+
1815
+ struct IpfsResult {
1816
+ uint8_t __presence[1];
1817
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
1818
+ ::flatbuffers::aligned_runtime::AlignedString<255> NAME;
1819
+ ::flatbuffers::aligned_runtime::AlignedString<255> VALUE;
1820
+ uint64_t SIZE;
1821
+ ::flatbuffers::aligned_runtime::AlignedString<128> AGENT_VERSION;
1822
+ ::flatbuffers::aligned_runtime::AlignedString<64> PROTOCOL_VERSION;
1823
+
1824
+ bool has_CID() const {
1825
+ return (__presence[0] & 1) != 0;
1826
+ }
1827
+ void set_has_CID(bool value) {
1828
+ if (value) __presence[0] |= 1;
1829
+ else __presence[0] &= ~1;
1830
+ }
1831
+ bool has_NAME() const {
1832
+ return (__presence[0] & 2) != 0;
1833
+ }
1834
+ void set_has_NAME(bool value) {
1835
+ if (value) __presence[0] |= 2;
1836
+ else __presence[0] &= ~2;
1837
+ }
1838
+ bool has_VALUE() const {
1839
+ return (__presence[0] & 4) != 0;
1840
+ }
1841
+ void set_has_VALUE(bool value) {
1842
+ if (value) __presence[0] |= 4;
1843
+ else __presence[0] &= ~4;
1844
+ }
1845
+ bool has_AGENT_VERSION() const {
1846
+ return (__presence[0] & 8) != 0;
1847
+ }
1848
+ void set_has_AGENT_VERSION(bool value) {
1849
+ if (value) __presence[0] |= 8;
1850
+ else __presence[0] &= ~8;
1851
+ }
1852
+ bool has_PROTOCOL_VERSION() const {
1853
+ return (__presence[0] & 16) != 0;
1854
+ }
1855
+ void set_has_PROTOCOL_VERSION(bool value) {
1856
+ if (value) __presence[0] |= 16;
1857
+ else __presence[0] &= ~16;
1858
+ }
1859
+
1860
+ static IpfsResult* fromBytes(void* data) {
1861
+ return reinterpret_cast<IpfsResult*>(data);
1862
+ }
1863
+ static const IpfsResult* fromBytes(const void* data) {
1864
+ return reinterpret_cast<const IpfsResult*>(data);
1865
+ }
1866
+ void copyTo(void* dest) const { std::memcpy(dest, this, 856); }
1867
+ void copyFrom(const IpfsResult& src) { std::memcpy(this, &src, 856); }
1868
+ };
1869
+ static_assert(sizeof(IpfsResult) == 856, "IpfsResult size mismatch");
1870
+ static_assert(alignof(IpfsResult) == 8, "IpfsResult alignment mismatch");
1871
+ static_assert(offsetof(IpfsResult, CID) == 1, "IpfsResult.CID offset mismatch");
1872
+ static_assert(offsetof(IpfsResult, NAME) == 130, "IpfsResult.NAME offset mismatch");
1873
+ static_assert(offsetof(IpfsResult, VALUE) == 386, "IpfsResult.VALUE offset mismatch");
1874
+ static_assert(offsetof(IpfsResult, SIZE) == 648, "IpfsResult.SIZE offset mismatch");
1875
+ static_assert(offsetof(IpfsResult, AGENT_VERSION) == 656, "IpfsResult.AGENT_VERSION offset mismatch");
1876
+ static_assert(offsetof(IpfsResult, PROTOCOL_VERSION) == 785, "IpfsResult.PROTOCOL_VERSION offset mismatch");
1877
+ constexpr size_t IpfsResult_SIZE = 856;
1878
+ constexpr size_t IpfsResult_ALIGN = 8;
1879
+
1880
+ } // namespace Aligned
1881
+ } // namespace runtime
1882
+ } // namespace sdn
1883
+
1884
+ namespace sdn {
1885
+ namespace runtime {
1886
+ namespace Aligned {
1887
+
1888
+ struct IpfsLink {
1889
+ uint8_t __presence[1];
1890
+ ::flatbuffers::aligned_runtime::AlignedString<255> NAME;
1891
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
1892
+ uint64_t SIZE;
1893
+ int32_t TYPE;
1894
+
1895
+ bool has_NAME() const {
1896
+ return (__presence[0] & 1) != 0;
1897
+ }
1898
+ void set_has_NAME(bool value) {
1899
+ if (value) __presence[0] |= 1;
1900
+ else __presence[0] &= ~1;
1901
+ }
1902
+ bool has_CID() const {
1903
+ return (__presence[0] & 2) != 0;
1904
+ }
1905
+ void set_has_CID(bool value) {
1906
+ if (value) __presence[0] |= 2;
1907
+ else __presence[0] &= ~2;
1908
+ }
1909
+
1910
+ static IpfsLink* fromBytes(void* data) {
1911
+ return reinterpret_cast<IpfsLink*>(data);
1912
+ }
1913
+ static const IpfsLink* fromBytes(const void* data) {
1914
+ return reinterpret_cast<const IpfsLink*>(data);
1915
+ }
1916
+ void copyTo(void* dest) const { std::memcpy(dest, this, 408); }
1917
+ void copyFrom(const IpfsLink& src) { std::memcpy(this, &src, 408); }
1918
+ };
1919
+ static_assert(sizeof(IpfsLink) == 408, "IpfsLink size mismatch");
1920
+ static_assert(alignof(IpfsLink) == 8, "IpfsLink alignment mismatch");
1921
+ static_assert(offsetof(IpfsLink, NAME) == 1, "IpfsLink.NAME offset mismatch");
1922
+ static_assert(offsetof(IpfsLink, CID) == 257, "IpfsLink.CID offset mismatch");
1923
+ static_assert(offsetof(IpfsLink, SIZE) == 392, "IpfsLink.SIZE offset mismatch");
1924
+ static_assert(offsetof(IpfsLink, TYPE) == 400, "IpfsLink.TYPE offset mismatch");
1925
+ constexpr size_t IpfsLink_SIZE = 408;
1926
+ constexpr size_t IpfsLink_ALIGN = 8;
1927
+
1928
+ } // namespace Aligned
1929
+ } // namespace runtime
1930
+ } // namespace sdn
1931
+
1932
+ namespace sdn {
1933
+ namespace runtime {
1934
+ namespace Aligned {
1935
+
1936
+ struct IpfsPin {
1937
+ uint8_t __presence[1];
1938
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
1939
+ ::flatbuffers::aligned_runtime::AlignedString<32> TYPE;
1940
+
1941
+ bool has_CID() const {
1942
+ return (__presence[0] & 1) != 0;
1943
+ }
1944
+ void set_has_CID(bool value) {
1945
+ if (value) __presence[0] |= 1;
1946
+ else __presence[0] &= ~1;
1947
+ }
1948
+ bool has_TYPE() const {
1949
+ return (__presence[0] & 2) != 0;
1950
+ }
1951
+ void set_has_TYPE(bool value) {
1952
+ if (value) __presence[0] |= 2;
1953
+ else __presence[0] &= ~2;
1954
+ }
1955
+
1956
+ static IpfsPin* fromBytes(void* data) {
1957
+ return reinterpret_cast<IpfsPin*>(data);
1958
+ }
1959
+ static const IpfsPin* fromBytes(const void* data) {
1960
+ return reinterpret_cast<const IpfsPin*>(data);
1961
+ }
1962
+ void copyTo(void* dest) const { std::memcpy(dest, this, 163); }
1963
+ void copyFrom(const IpfsPin& src) { std::memcpy(this, &src, 163); }
1964
+ };
1965
+ static_assert(sizeof(IpfsPin) == 163, "IpfsPin size mismatch");
1966
+ static_assert(alignof(IpfsPin) == 1, "IpfsPin alignment mismatch");
1967
+ static_assert(offsetof(IpfsPin, CID) == 1, "IpfsPin.CID offset mismatch");
1968
+ static_assert(offsetof(IpfsPin, TYPE) == 130, "IpfsPin.TYPE offset mismatch");
1969
+ constexpr size_t IpfsPin_SIZE = 163;
1970
+ constexpr size_t IpfsPin_ALIGN = 1;
1971
+
1972
+ } // namespace Aligned
1973
+ } // namespace runtime
1974
+ } // namespace sdn
1975
+
1976
+ namespace sdn {
1977
+ namespace runtime {
1978
+ namespace Aligned {
1979
+
1980
+ struct IpfsSwarmPeer {
1981
+ uint8_t __presence[1];
1982
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
1983
+ ::flatbuffers::aligned_runtime::AlignedString<255> ADDRESS;
1984
+ double LATENCY_MS;
1985
+
1986
+ bool has_PEER_ID() const {
1987
+ return (__presence[0] & 1) != 0;
1988
+ }
1989
+ void set_has_PEER_ID(bool value) {
1990
+ if (value) __presence[0] |= 1;
1991
+ else __presence[0] &= ~1;
1992
+ }
1993
+ bool has_ADDRESS() const {
1994
+ return (__presence[0] & 2) != 0;
1995
+ }
1996
+ void set_has_ADDRESS(bool value) {
1997
+ if (value) __presence[0] |= 2;
1998
+ else __presence[0] &= ~2;
1999
+ }
2000
+
2001
+ static IpfsSwarmPeer* fromBytes(void* data) {
2002
+ return reinterpret_cast<IpfsSwarmPeer*>(data);
2003
+ }
2004
+ static const IpfsSwarmPeer* fromBytes(const void* data) {
2005
+ return reinterpret_cast<const IpfsSwarmPeer*>(data);
2006
+ }
2007
+ void copyTo(void* dest) const { std::memcpy(dest, this, 400); }
2008
+ void copyFrom(const IpfsSwarmPeer& src) { std::memcpy(this, &src, 400); }
2009
+ };
2010
+ static_assert(sizeof(IpfsSwarmPeer) == 400, "IpfsSwarmPeer size mismatch");
2011
+ static_assert(alignof(IpfsSwarmPeer) == 8, "IpfsSwarmPeer alignment mismatch");
2012
+ static_assert(offsetof(IpfsSwarmPeer, PEER_ID) == 1, "IpfsSwarmPeer.PEER_ID offset mismatch");
2013
+ static_assert(offsetof(IpfsSwarmPeer, ADDRESS) == 130, "IpfsSwarmPeer.ADDRESS offset mismatch");
2014
+ static_assert(offsetof(IpfsSwarmPeer, LATENCY_MS) == 392, "IpfsSwarmPeer.LATENCY_MS offset mismatch");
2015
+ constexpr size_t IpfsSwarmPeer_SIZE = 400;
2016
+ constexpr size_t IpfsSwarmPeer_ALIGN = 8;
2017
+
2018
+ } // namespace Aligned
2019
+ } // namespace runtime
2020
+ } // namespace sdn
2021
+
2022
+ namespace sdn {
2023
+ namespace runtime {
2024
+ namespace Aligned {
2025
+
2026
+ struct PubsubParams {
2027
+ uint8_t __presence[1];
2028
+ ::flatbuffers::aligned_runtime::AlignedString<255> TOPIC;
2029
+
2030
+ bool has_TOPIC() const {
2031
+ return (__presence[0] & 1) != 0;
2032
+ }
2033
+ void set_has_TOPIC(bool value) {
2034
+ if (value) __presence[0] |= 1;
2035
+ else __presence[0] &= ~1;
2036
+ }
2037
+
2038
+ static PubsubParams* fromBytes(void* data) {
2039
+ return reinterpret_cast<PubsubParams*>(data);
2040
+ }
2041
+ static const PubsubParams* fromBytes(const void* data) {
2042
+ return reinterpret_cast<const PubsubParams*>(data);
2043
+ }
2044
+ void copyTo(void* dest) const { std::memcpy(dest, this, 257); }
2045
+ void copyFrom(const PubsubParams& src) { std::memcpy(this, &src, 257); }
2046
+ };
2047
+ static_assert(sizeof(PubsubParams) == 257, "PubsubParams size mismatch");
2048
+ static_assert(alignof(PubsubParams) == 1, "PubsubParams alignment mismatch");
2049
+ static_assert(offsetof(PubsubParams, TOPIC) == 1, "PubsubParams.TOPIC offset mismatch");
2050
+ constexpr size_t PubsubParams_SIZE = 257;
2051
+ constexpr size_t PubsubParams_ALIGN = 1;
2052
+
2053
+ } // namespace Aligned
2054
+ } // namespace runtime
2055
+ } // namespace sdn
2056
+
2057
+ namespace sdn {
2058
+ namespace runtime {
2059
+ namespace Aligned {
2060
+
2061
+ struct PubsubSubscribed {
2062
+ bool ALREADY;
2063
+
2064
+
2065
+ static PubsubSubscribed* fromBytes(void* data) {
2066
+ return reinterpret_cast<PubsubSubscribed*>(data);
2067
+ }
2068
+ static const PubsubSubscribed* fromBytes(const void* data) {
2069
+ return reinterpret_cast<const PubsubSubscribed*>(data);
2070
+ }
2071
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1); }
2072
+ void copyFrom(const PubsubSubscribed& src) { std::memcpy(this, &src, 1); }
2073
+ };
2074
+ static_assert(sizeof(PubsubSubscribed) == 1, "PubsubSubscribed size mismatch");
2075
+ static_assert(alignof(PubsubSubscribed) == 1, "PubsubSubscribed alignment mismatch");
2076
+ static_assert(offsetof(PubsubSubscribed, ALREADY) == 0, "PubsubSubscribed.ALREADY offset mismatch");
2077
+ constexpr size_t PubsubSubscribed_SIZE = 1;
2078
+ constexpr size_t PubsubSubscribed_ALIGN = 1;
2079
+
2080
+ } // namespace Aligned
2081
+ } // namespace runtime
2082
+ } // namespace sdn
2083
+
2084
+ namespace sdn {
2085
+ namespace runtime {
2086
+ namespace Aligned {
2087
+
2088
+ struct ProtocolParams {
2089
+ uint8_t __presence[1];
2090
+ ::flatbuffers::aligned_runtime::AlignedString<255> TARGET;
2091
+ ::flatbuffers::aligned_runtime::AlignedString<128> PROTOCOL_ID;
2092
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2093
+ uint32_t TIMEOUT_MS;
2094
+
2095
+ bool has_TARGET() const {
2096
+ return (__presence[0] & 1) != 0;
2097
+ }
2098
+ void set_has_TARGET(bool value) {
2099
+ if (value) __presence[0] |= 1;
2100
+ else __presence[0] &= ~1;
2101
+ }
2102
+ bool has_PROTOCOL_ID() const {
2103
+ return (__presence[0] & 2) != 0;
2104
+ }
2105
+ void set_has_PROTOCOL_ID(bool value) {
2106
+ if (value) __presence[0] |= 2;
2107
+ else __presence[0] &= ~2;
2108
+ }
2109
+ bool has_PEER_ID() const {
2110
+ return (__presence[0] & 4) != 0;
2111
+ }
2112
+ void set_has_PEER_ID(bool value) {
2113
+ if (value) __presence[0] |= 4;
2114
+ else __presence[0] &= ~4;
2115
+ }
2116
+
2117
+ static ProtocolParams* fromBytes(void* data) {
2118
+ return reinterpret_cast<ProtocolParams*>(data);
2119
+ }
2120
+ static const ProtocolParams* fromBytes(const void* data) {
2121
+ return reinterpret_cast<const ProtocolParams*>(data);
2122
+ }
2123
+ void copyTo(void* dest) const { std::memcpy(dest, this, 520); }
2124
+ void copyFrom(const ProtocolParams& src) { std::memcpy(this, &src, 520); }
2125
+ };
2126
+ static_assert(sizeof(ProtocolParams) == 520, "ProtocolParams size mismatch");
2127
+ static_assert(alignof(ProtocolParams) == 4, "ProtocolParams alignment mismatch");
2128
+ static_assert(offsetof(ProtocolParams, TARGET) == 1, "ProtocolParams.TARGET offset mismatch");
2129
+ static_assert(offsetof(ProtocolParams, PROTOCOL_ID) == 257, "ProtocolParams.PROTOCOL_ID offset mismatch");
2130
+ static_assert(offsetof(ProtocolParams, PEER_ID) == 386, "ProtocolParams.PEER_ID offset mismatch");
2131
+ static_assert(offsetof(ProtocolParams, TIMEOUT_MS) == 516, "ProtocolParams.TIMEOUT_MS offset mismatch");
2132
+ constexpr size_t ProtocolParams_SIZE = 520;
2133
+ constexpr size_t ProtocolParams_ALIGN = 4;
2134
+
2135
+ } // namespace Aligned
2136
+ } // namespace runtime
2137
+ } // namespace sdn
2138
+
2139
+ namespace sdn {
2140
+ namespace runtime {
2141
+ namespace Aligned {
2142
+
2143
+ struct P2pParams {
2144
+ uint8_t __presence[1];
2145
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2146
+ uint32_t LIMIT;
2147
+ ::flatbuffers::aligned_runtime::AlignedString<16> STANDARD;
2148
+ deliverMode DELIVER;
2149
+
2150
+ bool has_PEER_ID() const {
2151
+ return (__presence[0] & 1) != 0;
2152
+ }
2153
+ void set_has_PEER_ID(bool value) {
2154
+ if (value) __presence[0] |= 1;
2155
+ else __presence[0] &= ~1;
2156
+ }
2157
+ bool has_STANDARD() const {
2158
+ return (__presence[0] & 2) != 0;
2159
+ }
2160
+ void set_has_STANDARD(bool value) {
2161
+ if (value) __presence[0] |= 2;
2162
+ else __presence[0] &= ~2;
2163
+ }
2164
+
2165
+ static P2pParams* fromBytes(void* data) {
2166
+ return reinterpret_cast<P2pParams*>(data);
2167
+ }
2168
+ static const P2pParams* fromBytes(const void* data) {
2169
+ return reinterpret_cast<const P2pParams*>(data);
2170
+ }
2171
+ void copyTo(void* dest) const { std::memcpy(dest, this, 156); }
2172
+ void copyFrom(const P2pParams& src) { std::memcpy(this, &src, 156); }
2173
+ };
2174
+ static_assert(sizeof(P2pParams) == 156, "P2pParams size mismatch");
2175
+ static_assert(alignof(P2pParams) == 4, "P2pParams alignment mismatch");
2176
+ static_assert(offsetof(P2pParams, PEER_ID) == 1, "P2pParams.PEER_ID offset mismatch");
2177
+ static_assert(offsetof(P2pParams, LIMIT) == 132, "P2pParams.LIMIT offset mismatch");
2178
+ static_assert(offsetof(P2pParams, STANDARD) == 136, "P2pParams.STANDARD offset mismatch");
2179
+ static_assert(offsetof(P2pParams, DELIVER) == 153, "P2pParams.DELIVER offset mismatch");
2180
+ constexpr size_t P2pParams_SIZE = 156;
2181
+ constexpr size_t P2pParams_ALIGN = 4;
2182
+
2183
+ } // namespace Aligned
2184
+ } // namespace runtime
2185
+ } // namespace sdn
2186
+
2187
+ namespace sdn {
2188
+ namespace runtime {
2189
+ namespace Aligned {
2190
+
2191
+ struct P2pSummary {
2192
+ uint8_t __presence[1];
2193
+ ::flatbuffers::aligned_runtime::AlignedString<128> SELF;
2194
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2195
+ bool PUBLISHER_KEY_AVAILABLE;
2196
+ uint32_t GOSSIP_ONLY_EXCLUDED;
2197
+
2198
+ bool has_SELF() const {
2199
+ return (__presence[0] & 1) != 0;
2200
+ }
2201
+ void set_has_SELF(bool value) {
2202
+ if (value) __presence[0] |= 1;
2203
+ else __presence[0] &= ~1;
2204
+ }
2205
+ bool has_PEER_ID() const {
2206
+ return (__presence[0] & 2) != 0;
2207
+ }
2208
+ void set_has_PEER_ID(bool value) {
2209
+ if (value) __presence[0] |= 2;
2210
+ else __presence[0] &= ~2;
2211
+ }
2212
+
2213
+ static P2pSummary* fromBytes(void* data) {
2214
+ return reinterpret_cast<P2pSummary*>(data);
2215
+ }
2216
+ static const P2pSummary* fromBytes(const void* data) {
2217
+ return reinterpret_cast<const P2pSummary*>(data);
2218
+ }
2219
+ void copyTo(void* dest) const { std::memcpy(dest, this, 264); }
2220
+ void copyFrom(const P2pSummary& src) { std::memcpy(this, &src, 264); }
2221
+ };
2222
+ static_assert(sizeof(P2pSummary) == 264, "P2pSummary size mismatch");
2223
+ static_assert(alignof(P2pSummary) == 4, "P2pSummary alignment mismatch");
2224
+ static_assert(offsetof(P2pSummary, SELF) == 1, "P2pSummary.SELF offset mismatch");
2225
+ static_assert(offsetof(P2pSummary, PEER_ID) == 130, "P2pSummary.PEER_ID offset mismatch");
2226
+ static_assert(offsetof(P2pSummary, PUBLISHER_KEY_AVAILABLE) == 259, "P2pSummary.PUBLISHER_KEY_AVAILABLE offset mismatch");
2227
+ static_assert(offsetof(P2pSummary, GOSSIP_ONLY_EXCLUDED) == 260, "P2pSummary.GOSSIP_ONLY_EXCLUDED offset mismatch");
2228
+ constexpr size_t P2pSummary_SIZE = 264;
2229
+ constexpr size_t P2pSummary_ALIGN = 4;
2230
+
2231
+ } // namespace Aligned
2232
+ } // namespace runtime
2233
+ } // namespace sdn
2234
+
2235
+ namespace sdn {
2236
+ namespace runtime {
2237
+ namespace Aligned {
2238
+
2239
+ struct P2pPeer {
2240
+ uint8_t __presence[1];
2241
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2242
+ bool CONNECTED;
2243
+ bool SELF;
2244
+ int32_t EPM_INDEX;
2245
+ ::flatbuffers::aligned_runtime::AlignedString<128> AGENT_VERSION;
2246
+
2247
+ bool has_PEER_ID() const {
2248
+ return (__presence[0] & 1) != 0;
2249
+ }
2250
+ void set_has_PEER_ID(bool value) {
2251
+ if (value) __presence[0] |= 1;
2252
+ else __presence[0] &= ~1;
2253
+ }
2254
+ bool has_AGENT_VERSION() const {
2255
+ return (__presence[0] & 2) != 0;
2256
+ }
2257
+ void set_has_AGENT_VERSION(bool value) {
2258
+ if (value) __presence[0] |= 2;
2259
+ else __presence[0] &= ~2;
2260
+ }
2261
+
2262
+ static P2pPeer* fromBytes(void* data) {
2263
+ return reinterpret_cast<P2pPeer*>(data);
2264
+ }
2265
+ static const P2pPeer* fromBytes(const void* data) {
2266
+ return reinterpret_cast<const P2pPeer*>(data);
2267
+ }
2268
+ void copyTo(void* dest) const { std::memcpy(dest, this, 268); }
2269
+ void copyFrom(const P2pPeer& src) { std::memcpy(this, &src, 268); }
2270
+ };
2271
+ static_assert(sizeof(P2pPeer) == 268, "P2pPeer size mismatch");
2272
+ static_assert(alignof(P2pPeer) == 4, "P2pPeer alignment mismatch");
2273
+ static_assert(offsetof(P2pPeer, PEER_ID) == 1, "P2pPeer.PEER_ID offset mismatch");
2274
+ static_assert(offsetof(P2pPeer, CONNECTED) == 130, "P2pPeer.CONNECTED offset mismatch");
2275
+ static_assert(offsetof(P2pPeer, SELF) == 131, "P2pPeer.SELF offset mismatch");
2276
+ static_assert(offsetof(P2pPeer, EPM_INDEX) == 132, "P2pPeer.EPM_INDEX offset mismatch");
2277
+ static_assert(offsetof(P2pPeer, AGENT_VERSION) == 136, "P2pPeer.AGENT_VERSION offset mismatch");
2278
+ constexpr size_t P2pPeer_SIZE = 268;
2279
+ constexpr size_t P2pPeer_ALIGN = 4;
2280
+
2281
+ } // namespace Aligned
2282
+ } // namespace runtime
2283
+ } // namespace sdn
2284
+
2285
+ namespace sdn {
2286
+ namespace runtime {
2287
+ namespace Aligned {
2288
+
2289
+ struct P2pPeerValue {
2290
+ uint8_t __presence[1];
2291
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2292
+ ::flatbuffers::aligned_runtime::AlignedString<255> VALUE;
2293
+
2294
+ bool has_PEER_ID() const {
2295
+ return (__presence[0] & 1) != 0;
2296
+ }
2297
+ void set_has_PEER_ID(bool value) {
2298
+ if (value) __presence[0] |= 1;
2299
+ else __presence[0] &= ~1;
2300
+ }
2301
+ bool has_VALUE() const {
2302
+ return (__presence[0] & 2) != 0;
2303
+ }
2304
+ void set_has_VALUE(bool value) {
2305
+ if (value) __presence[0] |= 2;
2306
+ else __presence[0] &= ~2;
2307
+ }
2308
+
2309
+ static P2pPeerValue* fromBytes(void* data) {
2310
+ return reinterpret_cast<P2pPeerValue*>(data);
2311
+ }
2312
+ static const P2pPeerValue* fromBytes(const void* data) {
2313
+ return reinterpret_cast<const P2pPeerValue*>(data);
2314
+ }
2315
+ void copyTo(void* dest) const { std::memcpy(dest, this, 386); }
2316
+ void copyFrom(const P2pPeerValue& src) { std::memcpy(this, &src, 386); }
2317
+ };
2318
+ static_assert(sizeof(P2pPeerValue) == 386, "P2pPeerValue size mismatch");
2319
+ static_assert(alignof(P2pPeerValue) == 1, "P2pPeerValue alignment mismatch");
2320
+ static_assert(offsetof(P2pPeerValue, PEER_ID) == 1, "P2pPeerValue.PEER_ID offset mismatch");
2321
+ static_assert(offsetof(P2pPeerValue, VALUE) == 130, "P2pPeerValue.VALUE offset mismatch");
2322
+ constexpr size_t P2pPeerValue_SIZE = 386;
2323
+ constexpr size_t P2pPeerValue_ALIGN = 1;
2324
+
2325
+ } // namespace Aligned
2326
+ } // namespace runtime
2327
+ } // namespace sdn
2328
+
2329
+ namespace sdn {
2330
+ namespace runtime {
2331
+ namespace Aligned {
2332
+
2333
+ struct P2pPnmEntry {
2334
+ uint8_t __presence[2];
2335
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2336
+ ::flatbuffers::aligned_runtime::AlignedString<128> PUBLISHER_PEER_ID;
2337
+ ::flatbuffers::aligned_runtime::AlignedString<128> GOSSIP_PEER_ID;
2338
+ ::flatbuffers::aligned_runtime::AlignedString<16> STANDARD;
2339
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
2340
+ ::flatbuffers::aligned_runtime::AlignedString<16> FILE_ID;
2341
+ ::flatbuffers::aligned_runtime::AlignedString<255> FILE_NAME;
2342
+ ::flatbuffers::aligned_runtime::AlignedString<128> CID;
2343
+ uint64_t PUBLISH_MS;
2344
+ ::flatbuffers::aligned_runtime::AlignedString<32> SIGNATURE_TYPE;
2345
+ ::flatbuffers::aligned_runtime::AlignedString<255> SIGNATURE_HEX;
2346
+ bool SIGNATURE_VERIFIED;
2347
+ ::flatbuffers::aligned_runtime::AlignedString<16> ATTRIBUTION;
2348
+ int32_t PNM_INDEX;
2349
+ ::flatbuffers::aligned_runtime::AlignedString<128> PUBLISHER_KEY_HEX;
2350
+ ::flatbuffers::aligned_runtime::AlignedString<64> PUBLISHER_KEY_SOURCE;
2351
+
2352
+ bool has_PEER_ID() const {
2353
+ return (__presence[0] & 1) != 0;
2354
+ }
2355
+ void set_has_PEER_ID(bool value) {
2356
+ if (value) __presence[0] |= 1;
2357
+ else __presence[0] &= ~1;
2358
+ }
2359
+ bool has_PUBLISHER_PEER_ID() const {
2360
+ return (__presence[0] & 2) != 0;
2361
+ }
2362
+ void set_has_PUBLISHER_PEER_ID(bool value) {
2363
+ if (value) __presence[0] |= 2;
2364
+ else __presence[0] &= ~2;
2365
+ }
2366
+ bool has_GOSSIP_PEER_ID() const {
2367
+ return (__presence[0] & 4) != 0;
2368
+ }
2369
+ void set_has_GOSSIP_PEER_ID(bool value) {
2370
+ if (value) __presence[0] |= 4;
2371
+ else __presence[0] &= ~4;
2372
+ }
2373
+ bool has_STANDARD() const {
2374
+ return (__presence[0] & 8) != 0;
2375
+ }
2376
+ void set_has_STANDARD(bool value) {
2377
+ if (value) __presence[0] |= 8;
2378
+ else __presence[0] &= ~8;
2379
+ }
2380
+ bool has_SCHEMA() const {
2381
+ return (__presence[0] & 16) != 0;
2382
+ }
2383
+ void set_has_SCHEMA(bool value) {
2384
+ if (value) __presence[0] |= 16;
2385
+ else __presence[0] &= ~16;
2386
+ }
2387
+ bool has_FILE_ID() const {
2388
+ return (__presence[0] & 32) != 0;
2389
+ }
2390
+ void set_has_FILE_ID(bool value) {
2391
+ if (value) __presence[0] |= 32;
2392
+ else __presence[0] &= ~32;
2393
+ }
2394
+ bool has_FILE_NAME() const {
2395
+ return (__presence[0] & 64) != 0;
2396
+ }
2397
+ void set_has_FILE_NAME(bool value) {
2398
+ if (value) __presence[0] |= 64;
2399
+ else __presence[0] &= ~64;
2400
+ }
2401
+ bool has_CID() const {
2402
+ return (__presence[0] & 128) != 0;
2403
+ }
2404
+ void set_has_CID(bool value) {
2405
+ if (value) __presence[0] |= 128;
2406
+ else __presence[0] &= ~128;
2407
+ }
2408
+ bool has_SIGNATURE_TYPE() const {
2409
+ return (__presence[1] & 1) != 0;
2410
+ }
2411
+ void set_has_SIGNATURE_TYPE(bool value) {
2412
+ if (value) __presence[1] |= 1;
2413
+ else __presence[1] &= ~1;
2414
+ }
2415
+ bool has_SIGNATURE_HEX() const {
2416
+ return (__presence[1] & 2) != 0;
2417
+ }
2418
+ void set_has_SIGNATURE_HEX(bool value) {
2419
+ if (value) __presence[1] |= 2;
2420
+ else __presence[1] &= ~2;
2421
+ }
2422
+ bool has_ATTRIBUTION() const {
2423
+ return (__presence[1] & 4) != 0;
2424
+ }
2425
+ void set_has_ATTRIBUTION(bool value) {
2426
+ if (value) __presence[1] |= 4;
2427
+ else __presence[1] &= ~4;
2428
+ }
2429
+ bool has_PUBLISHER_KEY_HEX() const {
2430
+ return (__presence[1] & 8) != 0;
2431
+ }
2432
+ void set_has_PUBLISHER_KEY_HEX(bool value) {
2433
+ if (value) __presence[1] |= 8;
2434
+ else __presence[1] &= ~8;
2435
+ }
2436
+ bool has_PUBLISHER_KEY_SOURCE() const {
2437
+ return (__presence[1] & 16) != 0;
2438
+ }
2439
+ void set_has_PUBLISHER_KEY_SOURCE(bool value) {
2440
+ if (value) __presence[1] |= 16;
2441
+ else __presence[1] &= ~16;
2442
+ }
2443
+
2444
+ static P2pPnmEntry* fromBytes(void* data) {
2445
+ return reinterpret_cast<P2pPnmEntry*>(data);
2446
+ }
2447
+ static const P2pPnmEntry* fromBytes(const void* data) {
2448
+ return reinterpret_cast<const P2pPnmEntry*>(data);
2449
+ }
2450
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1400); }
2451
+ void copyFrom(const P2pPnmEntry& src) { std::memcpy(this, &src, 1400); }
2452
+ };
2453
+ static_assert(sizeof(P2pPnmEntry) == 1400, "P2pPnmEntry size mismatch");
2454
+ static_assert(alignof(P2pPnmEntry) == 8, "P2pPnmEntry alignment mismatch");
2455
+ static_assert(offsetof(P2pPnmEntry, PEER_ID) == 2, "P2pPnmEntry.PEER_ID offset mismatch");
2456
+ static_assert(offsetof(P2pPnmEntry, PUBLISHER_PEER_ID) == 131, "P2pPnmEntry.PUBLISHER_PEER_ID offset mismatch");
2457
+ static_assert(offsetof(P2pPnmEntry, GOSSIP_PEER_ID) == 260, "P2pPnmEntry.GOSSIP_PEER_ID offset mismatch");
2458
+ static_assert(offsetof(P2pPnmEntry, STANDARD) == 389, "P2pPnmEntry.STANDARD offset mismatch");
2459
+ static_assert(offsetof(P2pPnmEntry, SCHEMA) == 406, "P2pPnmEntry.SCHEMA offset mismatch");
2460
+ static_assert(offsetof(P2pPnmEntry, FILE_ID) == 471, "P2pPnmEntry.FILE_ID offset mismatch");
2461
+ static_assert(offsetof(P2pPnmEntry, FILE_NAME) == 488, "P2pPnmEntry.FILE_NAME offset mismatch");
2462
+ static_assert(offsetof(P2pPnmEntry, CID) == 744, "P2pPnmEntry.CID offset mismatch");
2463
+ static_assert(offsetof(P2pPnmEntry, PUBLISH_MS) == 880, "P2pPnmEntry.PUBLISH_MS offset mismatch");
2464
+ static_assert(offsetof(P2pPnmEntry, SIGNATURE_TYPE) == 888, "P2pPnmEntry.SIGNATURE_TYPE offset mismatch");
2465
+ static_assert(offsetof(P2pPnmEntry, SIGNATURE_HEX) == 921, "P2pPnmEntry.SIGNATURE_HEX offset mismatch");
2466
+ static_assert(offsetof(P2pPnmEntry, SIGNATURE_VERIFIED) == 1177, "P2pPnmEntry.SIGNATURE_VERIFIED offset mismatch");
2467
+ static_assert(offsetof(P2pPnmEntry, ATTRIBUTION) == 1178, "P2pPnmEntry.ATTRIBUTION offset mismatch");
2468
+ static_assert(offsetof(P2pPnmEntry, PNM_INDEX) == 1196, "P2pPnmEntry.PNM_INDEX offset mismatch");
2469
+ static_assert(offsetof(P2pPnmEntry, PUBLISHER_KEY_HEX) == 1200, "P2pPnmEntry.PUBLISHER_KEY_HEX offset mismatch");
2470
+ static_assert(offsetof(P2pPnmEntry, PUBLISHER_KEY_SOURCE) == 1329, "P2pPnmEntry.PUBLISHER_KEY_SOURCE offset mismatch");
2471
+ constexpr size_t P2pPnmEntry_SIZE = 1400;
2472
+ constexpr size_t P2pPnmEntry_ALIGN = 8;
2473
+
2474
+ } // namespace Aligned
2475
+ } // namespace runtime
2476
+ } // namespace sdn
2477
+
2478
+ namespace sdn {
2479
+ namespace runtime {
2480
+ namespace Aligned {
2481
+
2482
+ struct P2pLatestDataset {
2483
+ uint8_t __presence[2];
2484
+ bool KNOWN;
2485
+ ::flatbuffers::aligned_runtime::AlignedString<64> REASON;
2486
+ bool PINNED;
2487
+ bool SELF;
2488
+ bool FRESH;
2489
+ ::flatbuffers::aligned_runtime::AlignedString<16> STANDARD;
2490
+ ::flatbuffers::aligned_runtime::AlignedString<64> SCHEMA;
2491
+ ::flatbuffers::aligned_runtime::AlignedString<128> PNM_CID;
2492
+ ::flatbuffers::aligned_runtime::AlignedString<16> PNM_FILE_ID;
2493
+ uint64_t PNM_PUBLISH_MS;
2494
+ bool PNM_SIGNATURE_VERIFIED;
2495
+ ::flatbuffers::aligned_runtime::AlignedString<16> PNM_ATTRIBUTION;
2496
+ ::flatbuffers::aligned_runtime::AlignedString<128> BATCH_ID;
2497
+ ::flatbuffers::aligned_runtime::AlignedString<128> PROVIDER_ID;
2498
+ ::flatbuffers::aligned_runtime::AlignedString<128> SOURCE_NAME;
2499
+ uint64_t RECORD_COUNT;
2500
+ uint64_t BYTE_COUNT;
2501
+ uint32_t PARTS;
2502
+ uint64_t PUBLISHED_MS;
2503
+ ::flatbuffers::aligned_runtime::AlignedString<16> ETAG_FNV1A64;
2504
+ ::sdn::runtime::Aligned::BodyRef REF;
2505
+
2506
+ bool has_REASON() const {
2507
+ return (__presence[0] & 1) != 0;
2508
+ }
2509
+ void set_has_REASON(bool value) {
2510
+ if (value) __presence[0] |= 1;
2511
+ else __presence[0] &= ~1;
2512
+ }
2513
+ bool has_STANDARD() const {
2514
+ return (__presence[0] & 2) != 0;
2515
+ }
2516
+ void set_has_STANDARD(bool value) {
2517
+ if (value) __presence[0] |= 2;
2518
+ else __presence[0] &= ~2;
2519
+ }
2520
+ bool has_SCHEMA() const {
2521
+ return (__presence[0] & 4) != 0;
2522
+ }
2523
+ void set_has_SCHEMA(bool value) {
2524
+ if (value) __presence[0] |= 4;
2525
+ else __presence[0] &= ~4;
2526
+ }
2527
+ bool has_PNM_CID() const {
2528
+ return (__presence[0] & 8) != 0;
2529
+ }
2530
+ void set_has_PNM_CID(bool value) {
2531
+ if (value) __presence[0] |= 8;
2532
+ else __presence[0] &= ~8;
2533
+ }
2534
+ bool has_PNM_FILE_ID() const {
2535
+ return (__presence[0] & 16) != 0;
2536
+ }
2537
+ void set_has_PNM_FILE_ID(bool value) {
2538
+ if (value) __presence[0] |= 16;
2539
+ else __presence[0] &= ~16;
2540
+ }
2541
+ bool has_PNM_ATTRIBUTION() const {
2542
+ return (__presence[0] & 32) != 0;
2543
+ }
2544
+ void set_has_PNM_ATTRIBUTION(bool value) {
2545
+ if (value) __presence[0] |= 32;
2546
+ else __presence[0] &= ~32;
2547
+ }
2548
+ bool has_BATCH_ID() const {
2549
+ return (__presence[0] & 64) != 0;
2550
+ }
2551
+ void set_has_BATCH_ID(bool value) {
2552
+ if (value) __presence[0] |= 64;
2553
+ else __presence[0] &= ~64;
2554
+ }
2555
+ bool has_PROVIDER_ID() const {
2556
+ return (__presence[0] & 128) != 0;
2557
+ }
2558
+ void set_has_PROVIDER_ID(bool value) {
2559
+ if (value) __presence[0] |= 128;
2560
+ else __presence[0] &= ~128;
2561
+ }
2562
+ bool has_SOURCE_NAME() const {
2563
+ return (__presence[1] & 1) != 0;
2564
+ }
2565
+ void set_has_SOURCE_NAME(bool value) {
2566
+ if (value) __presence[1] |= 1;
2567
+ else __presence[1] &= ~1;
2568
+ }
2569
+ bool has_ETAG_FNV1A64() const {
2570
+ return (__presence[1] & 2) != 0;
2571
+ }
2572
+ void set_has_ETAG_FNV1A64(bool value) {
2573
+ if (value) __presence[1] |= 2;
2574
+ else __presence[1] &= ~2;
2575
+ }
2576
+ bool has_REF() const {
2577
+ return (__presence[1] & 4) != 0;
2578
+ }
2579
+ void set_has_REF(bool value) {
2580
+ if (value) __presence[1] |= 4;
2581
+ else __presence[1] &= ~4;
2582
+ }
2583
+
2584
+ static P2pLatestDataset* fromBytes(void* data) {
2585
+ return reinterpret_cast<P2pLatestDataset*>(data);
2586
+ }
2587
+ static const P2pLatestDataset* fromBytes(const void* data) {
2588
+ return reinterpret_cast<const P2pLatestDataset*>(data);
2589
+ }
2590
+ void copyTo(void* dest) const { std::memcpy(dest, this, 832); }
2591
+ void copyFrom(const P2pLatestDataset& src) { std::memcpy(this, &src, 832); }
2592
+ };
2593
+ static_assert(sizeof(P2pLatestDataset) == 832, "P2pLatestDataset size mismatch");
2594
+ static_assert(alignof(P2pLatestDataset) == 8, "P2pLatestDataset alignment mismatch");
2595
+ static_assert(offsetof(P2pLatestDataset, KNOWN) == 2, "P2pLatestDataset.KNOWN offset mismatch");
2596
+ static_assert(offsetof(P2pLatestDataset, REASON) == 3, "P2pLatestDataset.REASON offset mismatch");
2597
+ static_assert(offsetof(P2pLatestDataset, PINNED) == 68, "P2pLatestDataset.PINNED offset mismatch");
2598
+ static_assert(offsetof(P2pLatestDataset, SELF) == 69, "P2pLatestDataset.SELF offset mismatch");
2599
+ static_assert(offsetof(P2pLatestDataset, FRESH) == 70, "P2pLatestDataset.FRESH offset mismatch");
2600
+ static_assert(offsetof(P2pLatestDataset, STANDARD) == 71, "P2pLatestDataset.STANDARD offset mismatch");
2601
+ static_assert(offsetof(P2pLatestDataset, SCHEMA) == 88, "P2pLatestDataset.SCHEMA offset mismatch");
2602
+ static_assert(offsetof(P2pLatestDataset, PNM_CID) == 153, "P2pLatestDataset.PNM_CID offset mismatch");
2603
+ static_assert(offsetof(P2pLatestDataset, PNM_FILE_ID) == 282, "P2pLatestDataset.PNM_FILE_ID offset mismatch");
2604
+ static_assert(offsetof(P2pLatestDataset, PNM_PUBLISH_MS) == 304, "P2pLatestDataset.PNM_PUBLISH_MS offset mismatch");
2605
+ static_assert(offsetof(P2pLatestDataset, PNM_SIGNATURE_VERIFIED) == 312, "P2pLatestDataset.PNM_SIGNATURE_VERIFIED offset mismatch");
2606
+ static_assert(offsetof(P2pLatestDataset, PNM_ATTRIBUTION) == 313, "P2pLatestDataset.PNM_ATTRIBUTION offset mismatch");
2607
+ static_assert(offsetof(P2pLatestDataset, BATCH_ID) == 330, "P2pLatestDataset.BATCH_ID offset mismatch");
2608
+ static_assert(offsetof(P2pLatestDataset, PROVIDER_ID) == 459, "P2pLatestDataset.PROVIDER_ID offset mismatch");
2609
+ static_assert(offsetof(P2pLatestDataset, SOURCE_NAME) == 588, "P2pLatestDataset.SOURCE_NAME offset mismatch");
2610
+ static_assert(offsetof(P2pLatestDataset, RECORD_COUNT) == 720, "P2pLatestDataset.RECORD_COUNT offset mismatch");
2611
+ static_assert(offsetof(P2pLatestDataset, BYTE_COUNT) == 728, "P2pLatestDataset.BYTE_COUNT offset mismatch");
2612
+ static_assert(offsetof(P2pLatestDataset, PARTS) == 736, "P2pLatestDataset.PARTS offset mismatch");
2613
+ static_assert(offsetof(P2pLatestDataset, PUBLISHED_MS) == 744, "P2pLatestDataset.PUBLISHED_MS offset mismatch");
2614
+ static_assert(offsetof(P2pLatestDataset, ETAG_FNV1A64) == 752, "P2pLatestDataset.ETAG_FNV1A64 offset mismatch");
2615
+ static_assert(offsetof(P2pLatestDataset, REF) == 776, "P2pLatestDataset.REF offset mismatch");
2616
+ constexpr size_t P2pLatestDataset_SIZE = 832;
2617
+ constexpr size_t P2pLatestDataset_ALIGN = 8;
2618
+
2619
+ } // namespace Aligned
2620
+ } // namespace runtime
2621
+ } // namespace sdn
2622
+
2623
+ namespace sdn {
2624
+ namespace runtime {
2625
+ namespace Aligned {
2626
+
2627
+ struct NodeStatusReport {
2628
+ uint8_t __presence[1];
2629
+ uint64_t UPTIME_S;
2630
+ uint64_t STARTED_MS;
2631
+ uint64_t STORE_TOTAL_BYTES;
2632
+ uint64_t STORE_TOTAL_RECORDS;
2633
+ ::flatbuffers::aligned_runtime::AlignedString<255> STORAGE_PATH;
2634
+ bool HAS_DISK;
2635
+ uint64_t DISK_CAPACITY_BYTES;
2636
+ uint64_t DISK_FREE_BYTES;
2637
+ uint64_t DISK_AVAILABLE_BYTES;
2638
+ ::flatbuffers::aligned_runtime::AlignedString<32> SERVICE_STATE;
2639
+ ::flatbuffers::aligned_runtime::AlignedString<32> SERVICE_MODE;
2640
+ bool HAS_BANDWIDTH;
2641
+ uint64_t TOTAL_IN_BYTES;
2642
+ uint64_t TOTAL_OUT_BYTES;
2643
+ double RATE_IN_BPS;
2644
+ double RATE_OUT_BPS;
2645
+
2646
+ bool has_STORAGE_PATH() const {
2647
+ return (__presence[0] & 1) != 0;
2648
+ }
2649
+ void set_has_STORAGE_PATH(bool value) {
2650
+ if (value) __presence[0] |= 1;
2651
+ else __presence[0] &= ~1;
2652
+ }
2653
+ bool has_SERVICE_STATE() const {
2654
+ return (__presence[0] & 2) != 0;
2655
+ }
2656
+ void set_has_SERVICE_STATE(bool value) {
2657
+ if (value) __presence[0] |= 2;
2658
+ else __presence[0] &= ~2;
2659
+ }
2660
+ bool has_SERVICE_MODE() const {
2661
+ return (__presence[0] & 4) != 0;
2662
+ }
2663
+ void set_has_SERVICE_MODE(bool value) {
2664
+ if (value) __presence[0] |= 4;
2665
+ else __presence[0] &= ~4;
2666
+ }
2667
+
2668
+ static NodeStatusReport* fromBytes(void* data) {
2669
+ return reinterpret_cast<NodeStatusReport*>(data);
2670
+ }
2671
+ static const NodeStatusReport* fromBytes(const void* data) {
2672
+ return reinterpret_cast<const NodeStatusReport*>(data);
2673
+ }
2674
+ void copyTo(void* dest) const { std::memcpy(dest, this, 432); }
2675
+ void copyFrom(const NodeStatusReport& src) { std::memcpy(this, &src, 432); }
2676
+ };
2677
+ static_assert(sizeof(NodeStatusReport) == 432, "NodeStatusReport size mismatch");
2678
+ static_assert(alignof(NodeStatusReport) == 8, "NodeStatusReport alignment mismatch");
2679
+ static_assert(offsetof(NodeStatusReport, UPTIME_S) == 8, "NodeStatusReport.UPTIME_S offset mismatch");
2680
+ static_assert(offsetof(NodeStatusReport, STARTED_MS) == 16, "NodeStatusReport.STARTED_MS offset mismatch");
2681
+ static_assert(offsetof(NodeStatusReport, STORE_TOTAL_BYTES) == 24, "NodeStatusReport.STORE_TOTAL_BYTES offset mismatch");
2682
+ static_assert(offsetof(NodeStatusReport, STORE_TOTAL_RECORDS) == 32, "NodeStatusReport.STORE_TOTAL_RECORDS offset mismatch");
2683
+ static_assert(offsetof(NodeStatusReport, STORAGE_PATH) == 40, "NodeStatusReport.STORAGE_PATH offset mismatch");
2684
+ static_assert(offsetof(NodeStatusReport, HAS_DISK) == 296, "NodeStatusReport.HAS_DISK offset mismatch");
2685
+ static_assert(offsetof(NodeStatusReport, DISK_CAPACITY_BYTES) == 304, "NodeStatusReport.DISK_CAPACITY_BYTES offset mismatch");
2686
+ static_assert(offsetof(NodeStatusReport, DISK_FREE_BYTES) == 312, "NodeStatusReport.DISK_FREE_BYTES offset mismatch");
2687
+ static_assert(offsetof(NodeStatusReport, DISK_AVAILABLE_BYTES) == 320, "NodeStatusReport.DISK_AVAILABLE_BYTES offset mismatch");
2688
+ static_assert(offsetof(NodeStatusReport, SERVICE_STATE) == 328, "NodeStatusReport.SERVICE_STATE offset mismatch");
2689
+ static_assert(offsetof(NodeStatusReport, SERVICE_MODE) == 361, "NodeStatusReport.SERVICE_MODE offset mismatch");
2690
+ static_assert(offsetof(NodeStatusReport, HAS_BANDWIDTH) == 394, "NodeStatusReport.HAS_BANDWIDTH offset mismatch");
2691
+ static_assert(offsetof(NodeStatusReport, TOTAL_IN_BYTES) == 400, "NodeStatusReport.TOTAL_IN_BYTES offset mismatch");
2692
+ static_assert(offsetof(NodeStatusReport, TOTAL_OUT_BYTES) == 408, "NodeStatusReport.TOTAL_OUT_BYTES offset mismatch");
2693
+ static_assert(offsetof(NodeStatusReport, RATE_IN_BPS) == 416, "NodeStatusReport.RATE_IN_BPS offset mismatch");
2694
+ static_assert(offsetof(NodeStatusReport, RATE_OUT_BPS) == 424, "NodeStatusReport.RATE_OUT_BPS offset mismatch");
2695
+ constexpr size_t NodeStatusReport_SIZE = 432;
2696
+ constexpr size_t NodeStatusReport_ALIGN = 8;
2697
+
2698
+ } // namespace Aligned
2699
+ } // namespace runtime
2700
+ } // namespace sdn
2701
+
2702
+ namespace sdn {
2703
+ namespace runtime {
2704
+ namespace Aligned {
2705
+
2706
+ struct NodeBandwidthSample {
2707
+ uint64_t TS_MS;
2708
+ uint64_t TOTAL_IN_BYTES;
2709
+ uint64_t TOTAL_OUT_BYTES;
2710
+ double RATE_IN_BPS;
2711
+ double RATE_OUT_BPS;
2712
+
2713
+
2714
+ static NodeBandwidthSample* fromBytes(void* data) {
2715
+ return reinterpret_cast<NodeBandwidthSample*>(data);
2716
+ }
2717
+ static const NodeBandwidthSample* fromBytes(const void* data) {
2718
+ return reinterpret_cast<const NodeBandwidthSample*>(data);
2719
+ }
2720
+ void copyTo(void* dest) const { std::memcpy(dest, this, 40); }
2721
+ void copyFrom(const NodeBandwidthSample& src) { std::memcpy(this, &src, 40); }
2722
+ };
2723
+ static_assert(sizeof(NodeBandwidthSample) == 40, "NodeBandwidthSample size mismatch");
2724
+ static_assert(alignof(NodeBandwidthSample) == 8, "NodeBandwidthSample alignment mismatch");
2725
+ static_assert(offsetof(NodeBandwidthSample, TS_MS) == 0, "NodeBandwidthSample.TS_MS offset mismatch");
2726
+ static_assert(offsetof(NodeBandwidthSample, TOTAL_IN_BYTES) == 8, "NodeBandwidthSample.TOTAL_IN_BYTES offset mismatch");
2727
+ static_assert(offsetof(NodeBandwidthSample, TOTAL_OUT_BYTES) == 16, "NodeBandwidthSample.TOTAL_OUT_BYTES offset mismatch");
2728
+ static_assert(offsetof(NodeBandwidthSample, RATE_IN_BPS) == 24, "NodeBandwidthSample.RATE_IN_BPS offset mismatch");
2729
+ static_assert(offsetof(NodeBandwidthSample, RATE_OUT_BPS) == 32, "NodeBandwidthSample.RATE_OUT_BPS offset mismatch");
2730
+ constexpr size_t NodeBandwidthSample_SIZE = 40;
2731
+ constexpr size_t NodeBandwidthSample_ALIGN = 8;
2732
+
2733
+ } // namespace Aligned
2734
+ } // namespace runtime
2735
+ } // namespace sdn
2736
+
2737
+ namespace sdn {
2738
+ namespace runtime {
2739
+ namespace Aligned {
2740
+
2741
+ struct NodeActivityParams {
2742
+ uint32_t LIMIT;
2743
+
2744
+
2745
+ static NodeActivityParams* fromBytes(void* data) {
2746
+ return reinterpret_cast<NodeActivityParams*>(data);
2747
+ }
2748
+ static const NodeActivityParams* fromBytes(const void* data) {
2749
+ return reinterpret_cast<const NodeActivityParams*>(data);
2750
+ }
2751
+ void copyTo(void* dest) const { std::memcpy(dest, this, 4); }
2752
+ void copyFrom(const NodeActivityParams& src) { std::memcpy(this, &src, 4); }
2753
+ };
2754
+ static_assert(sizeof(NodeActivityParams) == 4, "NodeActivityParams size mismatch");
2755
+ static_assert(alignof(NodeActivityParams) == 4, "NodeActivityParams alignment mismatch");
2756
+ static_assert(offsetof(NodeActivityParams, LIMIT) == 0, "NodeActivityParams.LIMIT offset mismatch");
2757
+ constexpr size_t NodeActivityParams_SIZE = 4;
2758
+ constexpr size_t NodeActivityParams_ALIGN = 4;
2759
+
2760
+ } // namespace Aligned
2761
+ } // namespace runtime
2762
+ } // namespace sdn
2763
+
2764
+ namespace sdn {
2765
+ namespace runtime {
2766
+ namespace Aligned {
2767
+
2768
+ struct NodeActivityEvent {
2769
+ uint8_t __presence[1];
2770
+ uint64_t TS_MS;
2771
+ ::flatbuffers::aligned_runtime::AlignedString<32> KIND;
2772
+ ::flatbuffers::aligned_runtime::AlignedString<255> DETAIL;
2773
+ ::flatbuffers::aligned_runtime::AlignedString<128> PEER_ID;
2774
+
2775
+ bool has_KIND() const {
2776
+ return (__presence[0] & 1) != 0;
2777
+ }
2778
+ void set_has_KIND(bool value) {
2779
+ if (value) __presence[0] |= 1;
2780
+ else __presence[0] &= ~1;
2781
+ }
2782
+ bool has_DETAIL() const {
2783
+ return (__presence[0] & 2) != 0;
2784
+ }
2785
+ void set_has_DETAIL(bool value) {
2786
+ if (value) __presence[0] |= 2;
2787
+ else __presence[0] &= ~2;
2788
+ }
2789
+ bool has_PEER_ID() const {
2790
+ return (__presence[0] & 4) != 0;
2791
+ }
2792
+ void set_has_PEER_ID(bool value) {
2793
+ if (value) __presence[0] |= 4;
2794
+ else __presence[0] &= ~4;
2795
+ }
2796
+
2797
+ static NodeActivityEvent* fromBytes(void* data) {
2798
+ return reinterpret_cast<NodeActivityEvent*>(data);
2799
+ }
2800
+ static const NodeActivityEvent* fromBytes(const void* data) {
2801
+ return reinterpret_cast<const NodeActivityEvent*>(data);
2802
+ }
2803
+ void copyTo(void* dest) const { std::memcpy(dest, this, 440); }
2804
+ void copyFrom(const NodeActivityEvent& src) { std::memcpy(this, &src, 440); }
2805
+ };
2806
+ static_assert(sizeof(NodeActivityEvent) == 440, "NodeActivityEvent size mismatch");
2807
+ static_assert(alignof(NodeActivityEvent) == 8, "NodeActivityEvent alignment mismatch");
2808
+ static_assert(offsetof(NodeActivityEvent, TS_MS) == 8, "NodeActivityEvent.TS_MS offset mismatch");
2809
+ static_assert(offsetof(NodeActivityEvent, KIND) == 16, "NodeActivityEvent.KIND offset mismatch");
2810
+ static_assert(offsetof(NodeActivityEvent, DETAIL) == 49, "NodeActivityEvent.DETAIL offset mismatch");
2811
+ static_assert(offsetof(NodeActivityEvent, PEER_ID) == 305, "NodeActivityEvent.PEER_ID offset mismatch");
2812
+ constexpr size_t NodeActivityEvent_SIZE = 440;
2813
+ constexpr size_t NodeActivityEvent_ALIGN = 8;
2814
+
2815
+ } // namespace Aligned
2816
+ } // namespace runtime
2817
+ } // namespace sdn
2818
+
2819
+ namespace sdn {
2820
+ namespace runtime {
2821
+ namespace Aligned {
2822
+
2823
+ struct TimersDelayParams {
2824
+ uint32_t MS;
2825
+
2826
+
2827
+ static TimersDelayParams* fromBytes(void* data) {
2828
+ return reinterpret_cast<TimersDelayParams*>(data);
2829
+ }
2830
+ static const TimersDelayParams* fromBytes(const void* data) {
2831
+ return reinterpret_cast<const TimersDelayParams*>(data);
2832
+ }
2833
+ void copyTo(void* dest) const { std::memcpy(dest, this, 4); }
2834
+ void copyFrom(const TimersDelayParams& src) { std::memcpy(this, &src, 4); }
2835
+ };
2836
+ static_assert(sizeof(TimersDelayParams) == 4, "TimersDelayParams size mismatch");
2837
+ static_assert(alignof(TimersDelayParams) == 4, "TimersDelayParams alignment mismatch");
2838
+ static_assert(offsetof(TimersDelayParams, MS) == 0, "TimersDelayParams.MS offset mismatch");
2839
+ constexpr size_t TimersDelayParams_SIZE = 4;
2840
+ constexpr size_t TimersDelayParams_ALIGN = 4;
2841
+
2842
+ } // namespace Aligned
2843
+ } // namespace runtime
2844
+ } // namespace sdn
2845
+
2846
+ namespace sdn {
2847
+ namespace runtime {
2848
+ namespace Aligned {
2849
+
2850
+ struct ScheduleParams {
2851
+ uint8_t __presence[1];
2852
+ ::flatbuffers::aligned_runtime::AlignedString<128> EXPRESSION;
2853
+ uint64_t AT_MS;
2854
+
2855
+ bool has_EXPRESSION() const {
2856
+ return (__presence[0] & 1) != 0;
2857
+ }
2858
+ void set_has_EXPRESSION(bool value) {
2859
+ if (value) __presence[0] |= 1;
2860
+ else __presence[0] &= ~1;
2861
+ }
2862
+
2863
+ static ScheduleParams* fromBytes(void* data) {
2864
+ return reinterpret_cast<ScheduleParams*>(data);
2865
+ }
2866
+ static const ScheduleParams* fromBytes(const void* data) {
2867
+ return reinterpret_cast<const ScheduleParams*>(data);
2868
+ }
2869
+ void copyTo(void* dest) const { std::memcpy(dest, this, 144); }
2870
+ void copyFrom(const ScheduleParams& src) { std::memcpy(this, &src, 144); }
2871
+ };
2872
+ static_assert(sizeof(ScheduleParams) == 144, "ScheduleParams size mismatch");
2873
+ static_assert(alignof(ScheduleParams) == 8, "ScheduleParams alignment mismatch");
2874
+ static_assert(offsetof(ScheduleParams, EXPRESSION) == 1, "ScheduleParams.EXPRESSION offset mismatch");
2875
+ static_assert(offsetof(ScheduleParams, AT_MS) == 136, "ScheduleParams.AT_MS offset mismatch");
2876
+ constexpr size_t ScheduleParams_SIZE = 144;
2877
+ constexpr size_t ScheduleParams_ALIGN = 8;
2878
+
2879
+ } // namespace Aligned
2880
+ } // namespace runtime
2881
+ } // namespace sdn
2882
+
2883
+ namespace sdn {
2884
+ namespace runtime {
2885
+ namespace Aligned {
2886
+
2887
+ struct CronField {
2888
+ uint8_t __presence[1];
2889
+ ::flatbuffers::aligned_runtime::AlignedString<16> NAME;
2890
+ ::flatbuffers::aligned_runtime::AlignedString<64> SOURCE;
2891
+ bool HAS_WILDCARD;
2892
+ ::flatbuffers::aligned_runtime::AlignedVector<int32_t, 60> VALUES;
2893
+
2894
+ bool has_NAME() const {
2895
+ return (__presence[0] & 1) != 0;
2896
+ }
2897
+ void set_has_NAME(bool value) {
2898
+ if (value) __presence[0] |= 1;
2899
+ else __presence[0] &= ~1;
2900
+ }
2901
+ bool has_SOURCE() const {
2902
+ return (__presence[0] & 2) != 0;
2903
+ }
2904
+ void set_has_SOURCE(bool value) {
2905
+ if (value) __presence[0] |= 2;
2906
+ else __presence[0] &= ~2;
2907
+ }
2908
+ bool has_VALUES() const {
2909
+ return (__presence[0] & 4) != 0;
2910
+ }
2911
+ void set_has_VALUES(bool value) {
2912
+ if (value) __presence[0] |= 4;
2913
+ else __presence[0] &= ~4;
2914
+ }
2915
+
2916
+ static CronField* fromBytes(void* data) {
2917
+ return reinterpret_cast<CronField*>(data);
2918
+ }
2919
+ static const CronField* fromBytes(const void* data) {
2920
+ return reinterpret_cast<const CronField*>(data);
2921
+ }
2922
+ void copyTo(void* dest) const { std::memcpy(dest, this, 328); }
2923
+ void copyFrom(const CronField& src) { std::memcpy(this, &src, 328); }
2924
+ };
2925
+ static_assert(sizeof(CronField) == 328, "CronField size mismatch");
2926
+ static_assert(alignof(CronField) == 4, "CronField alignment mismatch");
2927
+ static_assert(offsetof(CronField, NAME) == 1, "CronField.NAME offset mismatch");
2928
+ static_assert(offsetof(CronField, SOURCE) == 18, "CronField.SOURCE offset mismatch");
2929
+ static_assert(offsetof(CronField, HAS_WILDCARD) == 83, "CronField.HAS_WILDCARD offset mismatch");
2930
+ static_assert(offsetof(CronField, VALUES) == 84, "CronField.VALUES offset mismatch");
2931
+ constexpr size_t CronField_SIZE = 328;
2932
+ constexpr size_t CronField_ALIGN = 4;
2933
+
2934
+ } // namespace Aligned
2935
+ } // namespace runtime
2936
+ } // namespace sdn
2937
+
2938
+ namespace sdn {
2939
+ namespace runtime {
2940
+ namespace Aligned {
2941
+
2942
+ struct WebsocketParams {
2943
+ uint32_t TIMEOUT_MS;
2944
+ bool NO_RESPONSE;
2945
+ bool MESSAGE_IS_TEXT;
2946
+
2947
+
2948
+ static WebsocketParams* fromBytes(void* data) {
2949
+ return reinterpret_cast<WebsocketParams*>(data);
2950
+ }
2951
+ static const WebsocketParams* fromBytes(const void* data) {
2952
+ return reinterpret_cast<const WebsocketParams*>(data);
2953
+ }
2954
+ void copyTo(void* dest) const { std::memcpy(dest, this, 8); }
2955
+ void copyFrom(const WebsocketParams& src) { std::memcpy(this, &src, 8); }
2956
+ };
2957
+ static_assert(sizeof(WebsocketParams) == 8, "WebsocketParams size mismatch");
2958
+ static_assert(alignof(WebsocketParams) == 4, "WebsocketParams alignment mismatch");
2959
+ static_assert(offsetof(WebsocketParams, TIMEOUT_MS) == 0, "WebsocketParams.TIMEOUT_MS offset mismatch");
2960
+ static_assert(offsetof(WebsocketParams, NO_RESPONSE) == 4, "WebsocketParams.NO_RESPONSE offset mismatch");
2961
+ static_assert(offsetof(WebsocketParams, MESSAGE_IS_TEXT) == 5, "WebsocketParams.MESSAGE_IS_TEXT offset mismatch");
2962
+ constexpr size_t WebsocketParams_SIZE = 8;
2963
+ constexpr size_t WebsocketParams_ALIGN = 4;
2964
+
2965
+ } // namespace Aligned
2966
+ } // namespace runtime
2967
+ } // namespace sdn
2968
+
2969
+ namespace sdn {
2970
+ namespace runtime {
2971
+ namespace Aligned {
2972
+
2973
+ struct WebsocketResult {
2974
+ uint8_t __presence[1];
2975
+ ::flatbuffers::aligned_runtime::AlignedString<64> PROTOCOL;
2976
+ ::flatbuffers::aligned_runtime::AlignedString<255> EXTENSIONS;
2977
+ int32_t CLOSE_CODE;
2978
+ ::flatbuffers::aligned_runtime::AlignedString<255> CLOSE_REASON;
2979
+ bool BODY_IS_TEXT;
2980
+
2981
+ bool has_PROTOCOL() const {
2982
+ return (__presence[0] & 1) != 0;
2983
+ }
2984
+ void set_has_PROTOCOL(bool value) {
2985
+ if (value) __presence[0] |= 1;
2986
+ else __presence[0] &= ~1;
2987
+ }
2988
+ bool has_EXTENSIONS() const {
2989
+ return (__presence[0] & 2) != 0;
2990
+ }
2991
+ void set_has_EXTENSIONS(bool value) {
2992
+ if (value) __presence[0] |= 2;
2993
+ else __presence[0] &= ~2;
2994
+ }
2995
+ bool has_CLOSE_REASON() const {
2996
+ return (__presence[0] & 4) != 0;
2997
+ }
2998
+ void set_has_CLOSE_REASON(bool value) {
2999
+ if (value) __presence[0] |= 4;
3000
+ else __presence[0] &= ~4;
3001
+ }
3002
+
3003
+ static WebsocketResult* fromBytes(void* data) {
3004
+ return reinterpret_cast<WebsocketResult*>(data);
3005
+ }
3006
+ static const WebsocketResult* fromBytes(const void* data) {
3007
+ return reinterpret_cast<const WebsocketResult*>(data);
3008
+ }
3009
+ void copyTo(void* dest) const { std::memcpy(dest, this, 588); }
3010
+ void copyFrom(const WebsocketResult& src) { std::memcpy(this, &src, 588); }
3011
+ };
3012
+ static_assert(sizeof(WebsocketResult) == 588, "WebsocketResult size mismatch");
3013
+ static_assert(alignof(WebsocketResult) == 4, "WebsocketResult alignment mismatch");
3014
+ static_assert(offsetof(WebsocketResult, PROTOCOL) == 1, "WebsocketResult.PROTOCOL offset mismatch");
3015
+ static_assert(offsetof(WebsocketResult, EXTENSIONS) == 66, "WebsocketResult.EXTENSIONS offset mismatch");
3016
+ static_assert(offsetof(WebsocketResult, CLOSE_CODE) == 324, "WebsocketResult.CLOSE_CODE offset mismatch");
3017
+ static_assert(offsetof(WebsocketResult, CLOSE_REASON) == 328, "WebsocketResult.CLOSE_REASON offset mismatch");
3018
+ static_assert(offsetof(WebsocketResult, BODY_IS_TEXT) == 584, "WebsocketResult.BODY_IS_TEXT offset mismatch");
3019
+ constexpr size_t WebsocketResult_SIZE = 588;
3020
+ constexpr size_t WebsocketResult_ALIGN = 4;
3021
+
3022
+ } // namespace Aligned
3023
+ } // namespace runtime
3024
+ } // namespace sdn
3025
+
3026
+ namespace sdn {
3027
+ namespace runtime {
3028
+ namespace Aligned {
3029
+
3030
+ struct MqttParams {
3031
+ uint8_t __presence[1];
3032
+ ::flatbuffers::aligned_runtime::AlignedString<255> HOST;
3033
+ uint16_t PORT;
3034
+ ::flatbuffers::aligned_runtime::AlignedString<128> CLIENT_ID;
3035
+ ::flatbuffers::aligned_runtime::AlignedString<255> TOPIC;
3036
+ ::flatbuffers::aligned_runtime::AlignedString<128> USERNAME;
3037
+ uint16_t KEEP_ALIVE_S;
3038
+ uint32_t TIMEOUT_MS;
3039
+ uint16_t PACKET_ID;
3040
+
3041
+ bool has_HOST() const {
3042
+ return (__presence[0] & 1) != 0;
3043
+ }
3044
+ void set_has_HOST(bool value) {
3045
+ if (value) __presence[0] |= 1;
3046
+ else __presence[0] &= ~1;
3047
+ }
3048
+ bool has_CLIENT_ID() const {
3049
+ return (__presence[0] & 2) != 0;
3050
+ }
3051
+ void set_has_CLIENT_ID(bool value) {
3052
+ if (value) __presence[0] |= 2;
3053
+ else __presence[0] &= ~2;
3054
+ }
3055
+ bool has_TOPIC() const {
3056
+ return (__presence[0] & 4) != 0;
3057
+ }
3058
+ void set_has_TOPIC(bool value) {
3059
+ if (value) __presence[0] |= 4;
3060
+ else __presence[0] &= ~4;
3061
+ }
3062
+ bool has_USERNAME() const {
3063
+ return (__presence[0] & 8) != 0;
3064
+ }
3065
+ void set_has_USERNAME(bool value) {
3066
+ if (value) __presence[0] |= 8;
3067
+ else __presence[0] &= ~8;
3068
+ }
3069
+
3070
+ static MqttParams* fromBytes(void* data) {
3071
+ return reinterpret_cast<MqttParams*>(data);
3072
+ }
3073
+ static const MqttParams* fromBytes(const void* data) {
3074
+ return reinterpret_cast<const MqttParams*>(data);
3075
+ }
3076
+ void copyTo(void* dest) const { std::memcpy(dest, this, 784); }
3077
+ void copyFrom(const MqttParams& src) { std::memcpy(this, &src, 784); }
3078
+ };
3079
+ static_assert(sizeof(MqttParams) == 784, "MqttParams size mismatch");
3080
+ static_assert(alignof(MqttParams) == 4, "MqttParams alignment mismatch");
3081
+ static_assert(offsetof(MqttParams, HOST) == 1, "MqttParams.HOST offset mismatch");
3082
+ static_assert(offsetof(MqttParams, PORT) == 258, "MqttParams.PORT offset mismatch");
3083
+ static_assert(offsetof(MqttParams, CLIENT_ID) == 260, "MqttParams.CLIENT_ID offset mismatch");
3084
+ static_assert(offsetof(MqttParams, TOPIC) == 389, "MqttParams.TOPIC offset mismatch");
3085
+ static_assert(offsetof(MqttParams, USERNAME) == 645, "MqttParams.USERNAME offset mismatch");
3086
+ static_assert(offsetof(MqttParams, KEEP_ALIVE_S) == 774, "MqttParams.KEEP_ALIVE_S offset mismatch");
3087
+ static_assert(offsetof(MqttParams, TIMEOUT_MS) == 776, "MqttParams.TIMEOUT_MS offset mismatch");
3088
+ static_assert(offsetof(MqttParams, PACKET_ID) == 780, "MqttParams.PACKET_ID offset mismatch");
3089
+ constexpr size_t MqttParams_SIZE = 784;
3090
+ constexpr size_t MqttParams_ALIGN = 4;
3091
+
3092
+ } // namespace Aligned
3093
+ } // namespace runtime
3094
+ } // namespace sdn
3095
+
3096
+ namespace sdn {
3097
+ namespace runtime {
3098
+ namespace Aligned {
3099
+
3100
+ struct MqttResult {
3101
+ uint8_t __presence[1];
3102
+ ::flatbuffers::aligned_runtime::AlignedString<255> HOST;
3103
+ uint16_t PORT;
3104
+ ::flatbuffers::aligned_runtime::AlignedString<128> CLIENT_ID;
3105
+ ::flatbuffers::aligned_runtime::AlignedString<255> TOPIC;
3106
+ uint64_t PAYLOAD_BYTES;
3107
+
3108
+ bool has_HOST() const {
3109
+ return (__presence[0] & 1) != 0;
3110
+ }
3111
+ void set_has_HOST(bool value) {
3112
+ if (value) __presence[0] |= 1;
3113
+ else __presence[0] &= ~1;
3114
+ }
3115
+ bool has_CLIENT_ID() const {
3116
+ return (__presence[0] & 2) != 0;
3117
+ }
3118
+ void set_has_CLIENT_ID(bool value) {
3119
+ if (value) __presence[0] |= 2;
3120
+ else __presence[0] &= ~2;
3121
+ }
3122
+ bool has_TOPIC() const {
3123
+ return (__presence[0] & 4) != 0;
3124
+ }
3125
+ void set_has_TOPIC(bool value) {
3126
+ if (value) __presence[0] |= 4;
3127
+ else __presence[0] &= ~4;
3128
+ }
3129
+
3130
+ static MqttResult* fromBytes(void* data) {
3131
+ return reinterpret_cast<MqttResult*>(data);
3132
+ }
3133
+ static const MqttResult* fromBytes(const void* data) {
3134
+ return reinterpret_cast<const MqttResult*>(data);
3135
+ }
3136
+ void copyTo(void* dest) const { std::memcpy(dest, this, 656); }
3137
+ void copyFrom(const MqttResult& src) { std::memcpy(this, &src, 656); }
3138
+ };
3139
+ static_assert(sizeof(MqttResult) == 656, "MqttResult size mismatch");
3140
+ static_assert(alignof(MqttResult) == 8, "MqttResult alignment mismatch");
3141
+ static_assert(offsetof(MqttResult, HOST) == 1, "MqttResult.HOST offset mismatch");
3142
+ static_assert(offsetof(MqttResult, PORT) == 258, "MqttResult.PORT offset mismatch");
3143
+ static_assert(offsetof(MqttResult, CLIENT_ID) == 260, "MqttResult.CLIENT_ID offset mismatch");
3144
+ static_assert(offsetof(MqttResult, TOPIC) == 389, "MqttResult.TOPIC offset mismatch");
3145
+ static_assert(offsetof(MqttResult, PAYLOAD_BYTES) == 648, "MqttResult.PAYLOAD_BYTES offset mismatch");
3146
+ constexpr size_t MqttResult_SIZE = 656;
3147
+ constexpr size_t MqttResult_ALIGN = 8;
3148
+
3149
+ } // namespace Aligned
3150
+ } // namespace runtime
3151
+ } // namespace sdn
3152
+
3153
+ namespace sdn {
3154
+ namespace runtime {
3155
+ namespace Aligned {
3156
+
3157
+ struct SocketParams {
3158
+ uint8_t __presence[1];
3159
+ ::flatbuffers::aligned_runtime::AlignedString<255> HOST;
3160
+ uint16_t PORT;
3161
+ uint32_t TIMEOUT_MS;
3162
+ bool NO_RESPONSE;
3163
+ ::flatbuffers::aligned_runtime::AlignedString<64> BIND_ADDRESS;
3164
+ uint16_t BIND_PORT;
3165
+ ::flatbuffers::aligned_runtime::AlignedString<8> UDP_TYPE;
3166
+ bool ALLOW_UNAUTHORIZED;
3167
+ ::flatbuffers::aligned_runtime::AlignedString<255> SERVER_NAME;
3168
+
3169
+ bool has_HOST() const {
3170
+ return (__presence[0] & 1) != 0;
3171
+ }
3172
+ void set_has_HOST(bool value) {
3173
+ if (value) __presence[0] |= 1;
3174
+ else __presence[0] &= ~1;
3175
+ }
3176
+ bool has_BIND_ADDRESS() const {
3177
+ return (__presence[0] & 2) != 0;
3178
+ }
3179
+ void set_has_BIND_ADDRESS(bool value) {
3180
+ if (value) __presence[0] |= 2;
3181
+ else __presence[0] &= ~2;
3182
+ }
3183
+ bool has_UDP_TYPE() const {
3184
+ return (__presence[0] & 4) != 0;
3185
+ }
3186
+ void set_has_UDP_TYPE(bool value) {
3187
+ if (value) __presence[0] |= 4;
3188
+ else __presence[0] &= ~4;
3189
+ }
3190
+ bool has_SERVER_NAME() const {
3191
+ return (__presence[0] & 8) != 0;
3192
+ }
3193
+ void set_has_SERVER_NAME(bool value) {
3194
+ if (value) __presence[0] |= 8;
3195
+ else __presence[0] &= ~8;
3196
+ }
3197
+
3198
+ static SocketParams* fromBytes(void* data) {
3199
+ return reinterpret_cast<SocketParams*>(data);
3200
+ }
3201
+ static const SocketParams* fromBytes(const void* data) {
3202
+ return reinterpret_cast<const SocketParams*>(data);
3203
+ }
3204
+ void copyTo(void* dest) const { std::memcpy(dest, this, 600); }
3205
+ void copyFrom(const SocketParams& src) { std::memcpy(this, &src, 600); }
3206
+ };
3207
+ static_assert(sizeof(SocketParams) == 600, "SocketParams size mismatch");
3208
+ static_assert(alignof(SocketParams) == 4, "SocketParams alignment mismatch");
3209
+ static_assert(offsetof(SocketParams, HOST) == 1, "SocketParams.HOST offset mismatch");
3210
+ static_assert(offsetof(SocketParams, PORT) == 258, "SocketParams.PORT offset mismatch");
3211
+ static_assert(offsetof(SocketParams, TIMEOUT_MS) == 260, "SocketParams.TIMEOUT_MS offset mismatch");
3212
+ static_assert(offsetof(SocketParams, NO_RESPONSE) == 264, "SocketParams.NO_RESPONSE offset mismatch");
3213
+ static_assert(offsetof(SocketParams, BIND_ADDRESS) == 265, "SocketParams.BIND_ADDRESS offset mismatch");
3214
+ static_assert(offsetof(SocketParams, BIND_PORT) == 330, "SocketParams.BIND_PORT offset mismatch");
3215
+ static_assert(offsetof(SocketParams, UDP_TYPE) == 332, "SocketParams.UDP_TYPE offset mismatch");
3216
+ static_assert(offsetof(SocketParams, ALLOW_UNAUTHORIZED) == 341, "SocketParams.ALLOW_UNAUTHORIZED offset mismatch");
3217
+ static_assert(offsetof(SocketParams, SERVER_NAME) == 342, "SocketParams.SERVER_NAME offset mismatch");
3218
+ constexpr size_t SocketParams_SIZE = 600;
3219
+ constexpr size_t SocketParams_ALIGN = 4;
3220
+
3221
+ } // namespace Aligned
3222
+ } // namespace runtime
3223
+ } // namespace sdn
3224
+
3225
+ namespace sdn {
3226
+ namespace runtime {
3227
+ namespace Aligned {
3228
+
3229
+ struct SocketResult {
3230
+ uint8_t __presence[1];
3231
+ ::flatbuffers::aligned_runtime::AlignedString<255> HOST;
3232
+ uint16_t PORT;
3233
+ ::flatbuffers::aligned_runtime::AlignedString<64> LOCAL_ADDRESS;
3234
+ uint16_t LOCAL_PORT;
3235
+ ::flatbuffers::aligned_runtime::AlignedString<64> REMOTE_ADDRESS;
3236
+ uint16_t REMOTE_PORT;
3237
+ bool AUTHORIZED;
3238
+ ::flatbuffers::aligned_runtime::AlignedString<255> AUTHORIZATION_ERROR;
3239
+
3240
+ bool has_HOST() const {
3241
+ return (__presence[0] & 1) != 0;
3242
+ }
3243
+ void set_has_HOST(bool value) {
3244
+ if (value) __presence[0] |= 1;
3245
+ else __presence[0] &= ~1;
3246
+ }
3247
+ bool has_LOCAL_ADDRESS() const {
3248
+ return (__presence[0] & 2) != 0;
3249
+ }
3250
+ void set_has_LOCAL_ADDRESS(bool value) {
3251
+ if (value) __presence[0] |= 2;
3252
+ else __presence[0] &= ~2;
3253
+ }
3254
+ bool has_REMOTE_ADDRESS() const {
3255
+ return (__presence[0] & 4) != 0;
3256
+ }
3257
+ void set_has_REMOTE_ADDRESS(bool value) {
3258
+ if (value) __presence[0] |= 4;
3259
+ else __presence[0] &= ~4;
3260
+ }
3261
+ bool has_AUTHORIZATION_ERROR() const {
3262
+ return (__presence[0] & 8) != 0;
3263
+ }
3264
+ void set_has_AUTHORIZATION_ERROR(bool value) {
3265
+ if (value) __presence[0] |= 8;
3266
+ else __presence[0] &= ~8;
3267
+ }
3268
+
3269
+ static SocketResult* fromBytes(void* data) {
3270
+ return reinterpret_cast<SocketResult*>(data);
3271
+ }
3272
+ static const SocketResult* fromBytes(const void* data) {
3273
+ return reinterpret_cast<const SocketResult*>(data);
3274
+ }
3275
+ void copyTo(void* dest) const { std::memcpy(dest, this, 654); }
3276
+ void copyFrom(const SocketResult& src) { std::memcpy(this, &src, 654); }
3277
+ };
3278
+ static_assert(sizeof(SocketResult) == 654, "SocketResult size mismatch");
3279
+ static_assert(alignof(SocketResult) == 2, "SocketResult alignment mismatch");
3280
+ static_assert(offsetof(SocketResult, HOST) == 1, "SocketResult.HOST offset mismatch");
3281
+ static_assert(offsetof(SocketResult, PORT) == 258, "SocketResult.PORT offset mismatch");
3282
+ static_assert(offsetof(SocketResult, LOCAL_ADDRESS) == 260, "SocketResult.LOCAL_ADDRESS offset mismatch");
3283
+ static_assert(offsetof(SocketResult, LOCAL_PORT) == 326, "SocketResult.LOCAL_PORT offset mismatch");
3284
+ static_assert(offsetof(SocketResult, REMOTE_ADDRESS) == 328, "SocketResult.REMOTE_ADDRESS offset mismatch");
3285
+ static_assert(offsetof(SocketResult, REMOTE_PORT) == 394, "SocketResult.REMOTE_PORT offset mismatch");
3286
+ static_assert(offsetof(SocketResult, AUTHORIZED) == 396, "SocketResult.AUTHORIZED offset mismatch");
3287
+ static_assert(offsetof(SocketResult, AUTHORIZATION_ERROR) == 397, "SocketResult.AUTHORIZATION_ERROR offset mismatch");
3288
+ constexpr size_t SocketResult_SIZE = 654;
3289
+ constexpr size_t SocketResult_ALIGN = 2;
3290
+
3291
+ } // namespace Aligned
3292
+ } // namespace runtime
3293
+ } // namespace sdn
3294
+
3295
+ namespace sdn {
3296
+ namespace runtime {
3297
+ namespace Aligned {
3298
+
3299
+ struct FsParams {
3300
+ bool NOT_RECURSIVE;
3301
+
3302
+
3303
+ static FsParams* fromBytes(void* data) {
3304
+ return reinterpret_cast<FsParams*>(data);
3305
+ }
3306
+ static const FsParams* fromBytes(const void* data) {
3307
+ return reinterpret_cast<const FsParams*>(data);
3308
+ }
3309
+ void copyTo(void* dest) const { std::memcpy(dest, this, 1); }
3310
+ void copyFrom(const FsParams& src) { std::memcpy(this, &src, 1); }
3311
+ };
3312
+ static_assert(sizeof(FsParams) == 1, "FsParams size mismatch");
3313
+ static_assert(alignof(FsParams) == 1, "FsParams alignment mismatch");
3314
+ static_assert(offsetof(FsParams, NOT_RECURSIVE) == 0, "FsParams.NOT_RECURSIVE offset mismatch");
3315
+ constexpr size_t FsParams_SIZE = 1;
3316
+ constexpr size_t FsParams_ALIGN = 1;
3317
+
3318
+ } // namespace Aligned
3319
+ } // namespace runtime
3320
+ } // namespace sdn
3321
+
3322
+ namespace sdn {
3323
+ namespace runtime {
3324
+ namespace Aligned {
3325
+
3326
+ struct FsEntry {
3327
+ uint8_t __presence[1];
3328
+ ::flatbuffers::aligned_runtime::AlignedString<255> NAME;
3329
+ bool IS_FILE;
3330
+ bool IS_DIRECTORY;
3331
+
3332
+ bool has_NAME() const {
3333
+ return (__presence[0] & 1) != 0;
3334
+ }
3335
+ void set_has_NAME(bool value) {
3336
+ if (value) __presence[0] |= 1;
3337
+ else __presence[0] &= ~1;
3338
+ }
3339
+
3340
+ static FsEntry* fromBytes(void* data) {
3341
+ return reinterpret_cast<FsEntry*>(data);
3342
+ }
3343
+ static const FsEntry* fromBytes(const void* data) {
3344
+ return reinterpret_cast<const FsEntry*>(data);
3345
+ }
3346
+ void copyTo(void* dest) const { std::memcpy(dest, this, 259); }
3347
+ void copyFrom(const FsEntry& src) { std::memcpy(this, &src, 259); }
3348
+ };
3349
+ static_assert(sizeof(FsEntry) == 259, "FsEntry size mismatch");
3350
+ static_assert(alignof(FsEntry) == 1, "FsEntry alignment mismatch");
3351
+ static_assert(offsetof(FsEntry, NAME) == 1, "FsEntry.NAME offset mismatch");
3352
+ static_assert(offsetof(FsEntry, IS_FILE) == 257, "FsEntry.IS_FILE offset mismatch");
3353
+ static_assert(offsetof(FsEntry, IS_DIRECTORY) == 258, "FsEntry.IS_DIRECTORY offset mismatch");
3354
+ constexpr size_t FsEntry_SIZE = 259;
3355
+ constexpr size_t FsEntry_ALIGN = 1;
3356
+
3357
+ } // namespace Aligned
3358
+ } // namespace runtime
3359
+ } // namespace sdn
3360
+
3361
+ namespace sdn {
3362
+ namespace runtime {
3363
+ namespace Aligned {
3364
+
3365
+ struct FsStat {
3366
+ uint64_t SIZE;
3367
+ bool IS_FILE;
3368
+ bool IS_DIRECTORY;
3369
+ double CTIME_MS;
3370
+ double MTIME_MS;
3371
+
3372
+
3373
+ static FsStat* fromBytes(void* data) {
3374
+ return reinterpret_cast<FsStat*>(data);
3375
+ }
3376
+ static const FsStat* fromBytes(const void* data) {
3377
+ return reinterpret_cast<const FsStat*>(data);
3378
+ }
3379
+ void copyTo(void* dest) const { std::memcpy(dest, this, 32); }
3380
+ void copyFrom(const FsStat& src) { std::memcpy(this, &src, 32); }
3381
+ };
3382
+ static_assert(sizeof(FsStat) == 32, "FsStat size mismatch");
3383
+ static_assert(alignof(FsStat) == 8, "FsStat alignment mismatch");
3384
+ static_assert(offsetof(FsStat, SIZE) == 0, "FsStat.SIZE offset mismatch");
3385
+ static_assert(offsetof(FsStat, IS_FILE) == 8, "FsStat.IS_FILE offset mismatch");
3386
+ static_assert(offsetof(FsStat, IS_DIRECTORY) == 9, "FsStat.IS_DIRECTORY offset mismatch");
3387
+ static_assert(offsetof(FsStat, CTIME_MS) == 16, "FsStat.CTIME_MS offset mismatch");
3388
+ static_assert(offsetof(FsStat, MTIME_MS) == 24, "FsStat.MTIME_MS offset mismatch");
3389
+ constexpr size_t FsStat_SIZE = 32;
3390
+ constexpr size_t FsStat_ALIGN = 8;
3391
+
3392
+ } // namespace Aligned
3393
+ } // namespace runtime
3394
+ } // namespace sdn
3395
+
3396
+ namespace sdn {
3397
+ namespace runtime {
3398
+ namespace Aligned {
3399
+
3400
+ struct ExecParams {
3401
+ uint32_t TIMEOUT_MS;
3402
+
3403
+
3404
+ static ExecParams* fromBytes(void* data) {
3405
+ return reinterpret_cast<ExecParams*>(data);
3406
+ }
3407
+ static const ExecParams* fromBytes(const void* data) {
3408
+ return reinterpret_cast<const ExecParams*>(data);
3409
+ }
3410
+ void copyTo(void* dest) const { std::memcpy(dest, this, 4); }
3411
+ void copyFrom(const ExecParams& src) { std::memcpy(this, &src, 4); }
3412
+ };
3413
+ static_assert(sizeof(ExecParams) == 4, "ExecParams size mismatch");
3414
+ static_assert(alignof(ExecParams) == 4, "ExecParams alignment mismatch");
3415
+ static_assert(offsetof(ExecParams, TIMEOUT_MS) == 0, "ExecParams.TIMEOUT_MS offset mismatch");
3416
+ constexpr size_t ExecParams_SIZE = 4;
3417
+ constexpr size_t ExecParams_ALIGN = 4;
3418
+
3419
+ } // namespace Aligned
3420
+ } // namespace runtime
3421
+ } // namespace sdn
3422
+
3423
+ namespace sdn {
3424
+ namespace runtime {
3425
+ namespace Aligned {
3426
+
3427
+ struct EnvVar {
3428
+ uint8_t __presence[1];
3429
+ ::flatbuffers::aligned_runtime::AlignedString<128> NAME;
3430
+ ::flatbuffers::aligned_runtime::AlignedString<255> VALUE;
3431
+
3432
+ bool has_NAME() const {
3433
+ return (__presence[0] & 1) != 0;
3434
+ }
3435
+ void set_has_NAME(bool value) {
3436
+ if (value) __presence[0] |= 1;
3437
+ else __presence[0] &= ~1;
3438
+ }
3439
+ bool has_VALUE() const {
3440
+ return (__presence[0] & 2) != 0;
3441
+ }
3442
+ void set_has_VALUE(bool value) {
3443
+ if (value) __presence[0] |= 2;
3444
+ else __presence[0] &= ~2;
3445
+ }
3446
+
3447
+ static EnvVar* fromBytes(void* data) {
3448
+ return reinterpret_cast<EnvVar*>(data);
3449
+ }
3450
+ static const EnvVar* fromBytes(const void* data) {
3451
+ return reinterpret_cast<const EnvVar*>(data);
3452
+ }
3453
+ void copyTo(void* dest) const { std::memcpy(dest, this, 386); }
3454
+ void copyFrom(const EnvVar& src) { std::memcpy(this, &src, 386); }
3455
+ };
3456
+ static_assert(sizeof(EnvVar) == 386, "EnvVar size mismatch");
3457
+ static_assert(alignof(EnvVar) == 1, "EnvVar alignment mismatch");
3458
+ static_assert(offsetof(EnvVar, NAME) == 1, "EnvVar.NAME offset mismatch");
3459
+ static_assert(offsetof(EnvVar, VALUE) == 130, "EnvVar.VALUE offset mismatch");
3460
+ constexpr size_t EnvVar_SIZE = 386;
3461
+ constexpr size_t EnvVar_ALIGN = 1;
3462
+
3463
+ } // namespace Aligned
3464
+ } // namespace runtime
3465
+ } // namespace sdn
3466
+
3467
+ namespace sdn {
3468
+ namespace runtime {
3469
+ namespace Aligned {
3470
+
3471
+ struct ExecResult {
3472
+ uint8_t __presence[1];
3473
+ int32_t EXIT_CODE;
3474
+ ::flatbuffers::aligned_runtime::AlignedString<16> SIGNAL;
3475
+
3476
+ bool has_SIGNAL() const {
3477
+ return (__presence[0] & 1) != 0;
3478
+ }
3479
+ void set_has_SIGNAL(bool value) {
3480
+ if (value) __presence[0] |= 1;
3481
+ else __presence[0] &= ~1;
3482
+ }
3483
+
3484
+ static ExecResult* fromBytes(void* data) {
3485
+ return reinterpret_cast<ExecResult*>(data);
3486
+ }
3487
+ static const ExecResult* fromBytes(const void* data) {
3488
+ return reinterpret_cast<const ExecResult*>(data);
3489
+ }
3490
+ void copyTo(void* dest) const { std::memcpy(dest, this, 28); }
3491
+ void copyFrom(const ExecResult& src) { std::memcpy(this, &src, 28); }
3492
+ };
3493
+ static_assert(sizeof(ExecResult) == 28, "ExecResult size mismatch");
3494
+ static_assert(alignof(ExecResult) == 4, "ExecResult alignment mismatch");
3495
+ static_assert(offsetof(ExecResult, EXIT_CODE) == 4, "ExecResult.EXIT_CODE offset mismatch");
3496
+ static_assert(offsetof(ExecResult, SIGNAL) == 8, "ExecResult.SIGNAL offset mismatch");
3497
+ constexpr size_t ExecResult_SIZE = 28;
3498
+ constexpr size_t ExecResult_ALIGN = 4;
3499
+
3500
+ } // namespace Aligned
3501
+ } // namespace runtime
3502
+ } // namespace sdn
3503
+
3504
+ namespace sdn {
3505
+ namespace runtime {
3506
+ namespace Aligned {
3507
+
3508
+ struct ContextParams {
3509
+ uint8_t __presence[1];
3510
+ ::flatbuffers::aligned_runtime::AlignedString<128> SCOPE;
3511
+ ::flatbuffers::aligned_runtime::AlignedString<255> KEY;
3512
+
3513
+ bool has_SCOPE() const {
3514
+ return (__presence[0] & 1) != 0;
3515
+ }
3516
+ void set_has_SCOPE(bool value) {
3517
+ if (value) __presence[0] |= 1;
3518
+ else __presence[0] &= ~1;
3519
+ }
3520
+ bool has_KEY() const {
3521
+ return (__presence[0] & 2) != 0;
3522
+ }
3523
+ void set_has_KEY(bool value) {
3524
+ if (value) __presence[0] |= 2;
3525
+ else __presence[0] &= ~2;
3526
+ }
3527
+
3528
+ static ContextParams* fromBytes(void* data) {
3529
+ return reinterpret_cast<ContextParams*>(data);
3530
+ }
3531
+ static const ContextParams* fromBytes(const void* data) {
3532
+ return reinterpret_cast<const ContextParams*>(data);
3533
+ }
3534
+ void copyTo(void* dest) const { std::memcpy(dest, this, 386); }
3535
+ void copyFrom(const ContextParams& src) { std::memcpy(this, &src, 386); }
3536
+ };
3537
+ static_assert(sizeof(ContextParams) == 386, "ContextParams size mismatch");
3538
+ static_assert(alignof(ContextParams) == 1, "ContextParams alignment mismatch");
3539
+ static_assert(offsetof(ContextParams, SCOPE) == 1, "ContextParams.SCOPE offset mismatch");
3540
+ static_assert(offsetof(ContextParams, KEY) == 130, "ContextParams.KEY offset mismatch");
3541
+ constexpr size_t ContextParams_SIZE = 386;
3542
+ constexpr size_t ContextParams_ALIGN = 1;
3543
+
3544
+ } // namespace Aligned
3545
+ } // namespace runtime
3546
+ } // namespace sdn
3547
+