forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplasma_generated.h
More file actions
3861 lines (3469 loc) · 166 KB
/
Copy pathplasma_generated.h
File metadata and controls
3861 lines (3469 loc) · 166 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_PLASMA_PLASMA_FLATBUF_H_
#define FLATBUFFERS_GENERATED_PLASMA_PLASMA_FLATBUF_H_
#include "flatbuffers/flatbuffers.h"
#include "common_generated.h"
namespace plasma {
namespace flatbuf {
struct PlasmaObjectSpec;
struct PlasmaSetOptionsRequest;
struct PlasmaSetOptionsRequestBuilder;
struct PlasmaSetOptionsRequestT;
struct PlasmaSetOptionsReply;
struct PlasmaSetOptionsReplyBuilder;
struct PlasmaSetOptionsReplyT;
struct PlasmaGetDebugStringRequest;
struct PlasmaGetDebugStringRequestBuilder;
struct PlasmaGetDebugStringRequestT;
struct PlasmaGetDebugStringReply;
struct PlasmaGetDebugStringReplyBuilder;
struct PlasmaGetDebugStringReplyT;
struct PlasmaCreateRequest;
struct PlasmaCreateRequestBuilder;
struct PlasmaCreateRequestT;
struct CudaHandle;
struct CudaHandleBuilder;
struct CudaHandleT;
struct PlasmaCreateReply;
struct PlasmaCreateReplyBuilder;
struct PlasmaCreateReplyT;
struct PlasmaCreateAndSealRequest;
struct PlasmaCreateAndSealRequestBuilder;
struct PlasmaCreateAndSealRequestT;
struct PlasmaCreateAndSealReply;
struct PlasmaCreateAndSealReplyBuilder;
struct PlasmaCreateAndSealReplyT;
struct PlasmaCreateAndSealBatchRequest;
struct PlasmaCreateAndSealBatchRequestBuilder;
struct PlasmaCreateAndSealBatchRequestT;
struct PlasmaCreateAndSealBatchReply;
struct PlasmaCreateAndSealBatchReplyBuilder;
struct PlasmaCreateAndSealBatchReplyT;
struct PlasmaAbortRequest;
struct PlasmaAbortRequestBuilder;
struct PlasmaAbortRequestT;
struct PlasmaAbortReply;
struct PlasmaAbortReplyBuilder;
struct PlasmaAbortReplyT;
struct PlasmaSealRequest;
struct PlasmaSealRequestBuilder;
struct PlasmaSealRequestT;
struct PlasmaSealReply;
struct PlasmaSealReplyBuilder;
struct PlasmaSealReplyT;
struct PlasmaGetRequest;
struct PlasmaGetRequestBuilder;
struct PlasmaGetRequestT;
struct PlasmaGetReply;
struct PlasmaGetReplyBuilder;
struct PlasmaGetReplyT;
struct PlasmaReleaseRequest;
struct PlasmaReleaseRequestBuilder;
struct PlasmaReleaseRequestT;
struct PlasmaReleaseReply;
struct PlasmaReleaseReplyBuilder;
struct PlasmaReleaseReplyT;
struct PlasmaDeleteRequest;
struct PlasmaDeleteRequestBuilder;
struct PlasmaDeleteRequestT;
struct PlasmaDeleteReply;
struct PlasmaDeleteReplyBuilder;
struct PlasmaDeleteReplyT;
struct PlasmaContainsRequest;
struct PlasmaContainsRequestBuilder;
struct PlasmaContainsRequestT;
struct PlasmaContainsReply;
struct PlasmaContainsReplyBuilder;
struct PlasmaContainsReplyT;
struct PlasmaListRequest;
struct PlasmaListRequestBuilder;
struct PlasmaListRequestT;
struct PlasmaListReply;
struct PlasmaListReplyBuilder;
struct PlasmaListReplyT;
struct PlasmaConnectRequest;
struct PlasmaConnectRequestBuilder;
struct PlasmaConnectRequestT;
struct PlasmaConnectReply;
struct PlasmaConnectReplyBuilder;
struct PlasmaConnectReplyT;
struct PlasmaEvictRequest;
struct PlasmaEvictRequestBuilder;
struct PlasmaEvictRequestT;
struct PlasmaEvictReply;
struct PlasmaEvictReplyBuilder;
struct PlasmaEvictReplyT;
struct PlasmaSubscribeRequest;
struct PlasmaSubscribeRequestBuilder;
struct PlasmaSubscribeRequestT;
struct PlasmaNotification;
struct PlasmaNotificationBuilder;
struct PlasmaNotificationT;
struct PlasmaDataRequest;
struct PlasmaDataRequestBuilder;
struct PlasmaDataRequestT;
struct PlasmaDataReply;
struct PlasmaDataReplyBuilder;
struct PlasmaDataReplyT;
struct PlasmaRefreshLRURequest;
struct PlasmaRefreshLRURequestBuilder;
struct PlasmaRefreshLRURequestT;
struct PlasmaRefreshLRUReply;
struct PlasmaRefreshLRUReplyBuilder;
struct PlasmaRefreshLRUReplyT;
enum class MessageType : int64_t {
PlasmaDisconnectClient = 0,
PlasmaCreateRequest = 1LL,
PlasmaCreateReply = 2LL,
PlasmaCreateAndSealRequest = 3LL,
PlasmaCreateAndSealReply = 4LL,
PlasmaAbortRequest = 5LL,
PlasmaAbortReply = 6LL,
PlasmaSealRequest = 7LL,
PlasmaSealReply = 8LL,
PlasmaGetRequest = 9LL,
PlasmaGetReply = 10LL,
PlasmaReleaseRequest = 11LL,
PlasmaReleaseReply = 12LL,
PlasmaDeleteRequest = 13LL,
PlasmaDeleteReply = 14LL,
PlasmaContainsRequest = 15LL,
PlasmaContainsReply = 16LL,
PlasmaListRequest = 17LL,
PlasmaListReply = 18LL,
PlasmaConnectRequest = 19LL,
PlasmaConnectReply = 20LL,
PlasmaEvictRequest = 21LL,
PlasmaEvictReply = 22LL,
PlasmaSubscribeRequest = 23LL,
PlasmaUnsubscribeRequest = 24LL,
PlasmaDataRequest = 25LL,
PlasmaDataReply = 26LL,
PlasmaNotification = 27LL,
PlasmaSetOptionsRequest = 28LL,
PlasmaSetOptionsReply = 29LL,
PlasmaGetDebugStringRequest = 30LL,
PlasmaGetDebugStringReply = 31LL,
PlasmaCreateAndSealBatchRequest = 32LL,
PlasmaCreateAndSealBatchReply = 33LL,
PlasmaRefreshLRURequest = 34LL,
PlasmaRefreshLRUReply = 35LL,
MIN = PlasmaDisconnectClient,
MAX = PlasmaRefreshLRUReply
};
inline const MessageType (&EnumValuesMessageType())[36] {
static const MessageType values[] = {
MessageType::PlasmaDisconnectClient,
MessageType::PlasmaCreateRequest,
MessageType::PlasmaCreateReply,
MessageType::PlasmaCreateAndSealRequest,
MessageType::PlasmaCreateAndSealReply,
MessageType::PlasmaAbortRequest,
MessageType::PlasmaAbortReply,
MessageType::PlasmaSealRequest,
MessageType::PlasmaSealReply,
MessageType::PlasmaGetRequest,
MessageType::PlasmaGetReply,
MessageType::PlasmaReleaseRequest,
MessageType::PlasmaReleaseReply,
MessageType::PlasmaDeleteRequest,
MessageType::PlasmaDeleteReply,
MessageType::PlasmaContainsRequest,
MessageType::PlasmaContainsReply,
MessageType::PlasmaListRequest,
MessageType::PlasmaListReply,
MessageType::PlasmaConnectRequest,
MessageType::PlasmaConnectReply,
MessageType::PlasmaEvictRequest,
MessageType::PlasmaEvictReply,
MessageType::PlasmaSubscribeRequest,
MessageType::PlasmaUnsubscribeRequest,
MessageType::PlasmaDataRequest,
MessageType::PlasmaDataReply,
MessageType::PlasmaNotification,
MessageType::PlasmaSetOptionsRequest,
MessageType::PlasmaSetOptionsReply,
MessageType::PlasmaGetDebugStringRequest,
MessageType::PlasmaGetDebugStringReply,
MessageType::PlasmaCreateAndSealBatchRequest,
MessageType::PlasmaCreateAndSealBatchReply,
MessageType::PlasmaRefreshLRURequest,
MessageType::PlasmaRefreshLRUReply
};
return values;
}
inline const char * const *EnumNamesMessageType() {
static const char * const names[37] = {
"PlasmaDisconnectClient",
"PlasmaCreateRequest",
"PlasmaCreateReply",
"PlasmaCreateAndSealRequest",
"PlasmaCreateAndSealReply",
"PlasmaAbortRequest",
"PlasmaAbortReply",
"PlasmaSealRequest",
"PlasmaSealReply",
"PlasmaGetRequest",
"PlasmaGetReply",
"PlasmaReleaseRequest",
"PlasmaReleaseReply",
"PlasmaDeleteRequest",
"PlasmaDeleteReply",
"PlasmaContainsRequest",
"PlasmaContainsReply",
"PlasmaListRequest",
"PlasmaListReply",
"PlasmaConnectRequest",
"PlasmaConnectReply",
"PlasmaEvictRequest",
"PlasmaEvictReply",
"PlasmaSubscribeRequest",
"PlasmaUnsubscribeRequest",
"PlasmaDataRequest",
"PlasmaDataReply",
"PlasmaNotification",
"PlasmaSetOptionsRequest",
"PlasmaSetOptionsReply",
"PlasmaGetDebugStringRequest",
"PlasmaGetDebugStringReply",
"PlasmaCreateAndSealBatchRequest",
"PlasmaCreateAndSealBatchReply",
"PlasmaRefreshLRURequest",
"PlasmaRefreshLRUReply",
nullptr
};
return names;
}
inline const char *EnumNameMessageType(MessageType e) {
if (flatbuffers::IsOutRange(e, MessageType::PlasmaDisconnectClient, MessageType::PlasmaRefreshLRUReply)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesMessageType()[index];
}
enum class PlasmaError : int32_t {
OK = 0,
ObjectExists = 1,
ObjectNotFound = 2,
OutOfMemory = 3,
ObjectNotSealed = 4,
ObjectInUse = 5,
MIN = OK,
MAX = ObjectInUse
};
inline const PlasmaError (&EnumValuesPlasmaError())[6] {
static const PlasmaError values[] = {
PlasmaError::OK,
PlasmaError::ObjectExists,
PlasmaError::ObjectNotFound,
PlasmaError::OutOfMemory,
PlasmaError::ObjectNotSealed,
PlasmaError::ObjectInUse
};
return values;
}
inline const char * const *EnumNamesPlasmaError() {
static const char * const names[7] = {
"OK",
"ObjectExists",
"ObjectNotFound",
"OutOfMemory",
"ObjectNotSealed",
"ObjectInUse",
nullptr
};
return names;
}
inline const char *EnumNamePlasmaError(PlasmaError e) {
if (flatbuffers::IsOutRange(e, PlasmaError::OK, PlasmaError::ObjectInUse)) return "";
const size_t index = static_cast<size_t>(e);
return EnumNamesPlasmaError()[index];
}
FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) PlasmaObjectSpec FLATBUFFERS_FINAL_CLASS {
private:
int32_t segment_index_;
int32_t padding0__;
uint64_t data_offset_;
uint64_t data_size_;
uint64_t metadata_offset_;
uint64_t metadata_size_;
int32_t device_num_;
int32_t padding1__;
public:
PlasmaObjectSpec()
: segment_index_(0),
padding0__(0),
data_offset_(0),
data_size_(0),
metadata_offset_(0),
metadata_size_(0),
device_num_(0),
padding1__(0) {
(void)padding0__;
(void)padding1__;
}
PlasmaObjectSpec(int32_t _segment_index, uint64_t _data_offset, uint64_t _data_size, uint64_t _metadata_offset, uint64_t _metadata_size, int32_t _device_num)
: segment_index_(flatbuffers::EndianScalar(_segment_index)),
padding0__(0),
data_offset_(flatbuffers::EndianScalar(_data_offset)),
data_size_(flatbuffers::EndianScalar(_data_size)),
metadata_offset_(flatbuffers::EndianScalar(_metadata_offset)),
metadata_size_(flatbuffers::EndianScalar(_metadata_size)),
device_num_(flatbuffers::EndianScalar(_device_num)),
padding1__(0) {
}
int32_t segment_index() const {
return flatbuffers::EndianScalar(segment_index_);
}
uint64_t data_offset() const {
return flatbuffers::EndianScalar(data_offset_);
}
uint64_t data_size() const {
return flatbuffers::EndianScalar(data_size_);
}
uint64_t metadata_offset() const {
return flatbuffers::EndianScalar(metadata_offset_);
}
uint64_t metadata_size() const {
return flatbuffers::EndianScalar(metadata_size_);
}
int32_t device_num() const {
return flatbuffers::EndianScalar(device_num_);
}
};
FLATBUFFERS_STRUCT_END(PlasmaObjectSpec, 48);
struct PlasmaSetOptionsRequestT : public flatbuffers::NativeTable {
typedef PlasmaSetOptionsRequest TableType;
std::string client_name{};
int64_t output_memory_quota = 0;
};
struct PlasmaSetOptionsRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaSetOptionsRequestT NativeTableType;
typedef PlasmaSetOptionsRequestBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_CLIENT_NAME = 4,
VT_OUTPUT_MEMORY_QUOTA = 6
};
const flatbuffers::String *client_name() const {
return GetPointer<const flatbuffers::String *>(VT_CLIENT_NAME);
}
int64_t output_memory_quota() const {
return GetField<int64_t>(VT_OUTPUT_MEMORY_QUOTA, 0);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_CLIENT_NAME) &&
verifier.VerifyString(client_name()) &&
VerifyField<int64_t>(verifier, VT_OUTPUT_MEMORY_QUOTA) &&
verifier.EndTable();
}
PlasmaSetOptionsRequestT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaSetOptionsRequestT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaSetOptionsRequest> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaSetOptionsRequestT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaSetOptionsRequestBuilder {
typedef PlasmaSetOptionsRequest Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_client_name(flatbuffers::Offset<flatbuffers::String> client_name) {
fbb_.AddOffset(PlasmaSetOptionsRequest::VT_CLIENT_NAME, client_name);
}
void add_output_memory_quota(int64_t output_memory_quota) {
fbb_.AddElement<int64_t>(PlasmaSetOptionsRequest::VT_OUTPUT_MEMORY_QUOTA, output_memory_quota, 0);
}
explicit PlasmaSetOptionsRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaSetOptionsRequest> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaSetOptionsRequest>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaSetOptionsRequest> CreatePlasmaSetOptionsRequest(
flatbuffers::FlatBufferBuilder &_fbb,
flatbuffers::Offset<flatbuffers::String> client_name = 0,
int64_t output_memory_quota = 0) {
PlasmaSetOptionsRequestBuilder builder_(_fbb);
builder_.add_output_memory_quota(output_memory_quota);
builder_.add_client_name(client_name);
return builder_.Finish();
}
inline flatbuffers::Offset<PlasmaSetOptionsRequest> CreatePlasmaSetOptionsRequestDirect(
flatbuffers::FlatBufferBuilder &_fbb,
const char *client_name = nullptr,
int64_t output_memory_quota = 0) {
auto client_name__ = client_name ? _fbb.CreateString(client_name) : 0;
return plasma::flatbuf::CreatePlasmaSetOptionsRequest(
_fbb,
client_name__,
output_memory_quota);
}
flatbuffers::Offset<PlasmaSetOptionsRequest> CreatePlasmaSetOptionsRequest(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaSetOptionsRequestT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PlasmaSetOptionsReplyT : public flatbuffers::NativeTable {
typedef PlasmaSetOptionsReply TableType;
plasma::flatbuf::PlasmaError error = plasma::flatbuf::PlasmaError::OK;
};
struct PlasmaSetOptionsReply FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaSetOptionsReplyT NativeTableType;
typedef PlasmaSetOptionsReplyBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_ERROR = 4
};
plasma::flatbuf::PlasmaError error() const {
return static_cast<plasma::flatbuf::PlasmaError>(GetField<int32_t>(VT_ERROR, 0));
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyField<int32_t>(verifier, VT_ERROR) &&
verifier.EndTable();
}
PlasmaSetOptionsReplyT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaSetOptionsReplyT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaSetOptionsReply> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaSetOptionsReplyT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaSetOptionsReplyBuilder {
typedef PlasmaSetOptionsReply Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_error(plasma::flatbuf::PlasmaError error) {
fbb_.AddElement<int32_t>(PlasmaSetOptionsReply::VT_ERROR, static_cast<int32_t>(error), 0);
}
explicit PlasmaSetOptionsReplyBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaSetOptionsReply> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaSetOptionsReply>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaSetOptionsReply> CreatePlasmaSetOptionsReply(
flatbuffers::FlatBufferBuilder &_fbb,
plasma::flatbuf::PlasmaError error = plasma::flatbuf::PlasmaError::OK) {
PlasmaSetOptionsReplyBuilder builder_(_fbb);
builder_.add_error(error);
return builder_.Finish();
}
flatbuffers::Offset<PlasmaSetOptionsReply> CreatePlasmaSetOptionsReply(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaSetOptionsReplyT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PlasmaGetDebugStringRequestT : public flatbuffers::NativeTable {
typedef PlasmaGetDebugStringRequest TableType;
};
struct PlasmaGetDebugStringRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaGetDebugStringRequestT NativeTableType;
typedef PlasmaGetDebugStringRequestBuilder Builder;
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
verifier.EndTable();
}
PlasmaGetDebugStringRequestT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaGetDebugStringRequestT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaGetDebugStringRequest> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaGetDebugStringRequestT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaGetDebugStringRequestBuilder {
typedef PlasmaGetDebugStringRequest Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
explicit PlasmaGetDebugStringRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaGetDebugStringRequest> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaGetDebugStringRequest>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaGetDebugStringRequest> CreatePlasmaGetDebugStringRequest(
flatbuffers::FlatBufferBuilder &_fbb) {
PlasmaGetDebugStringRequestBuilder builder_(_fbb);
return builder_.Finish();
}
flatbuffers::Offset<PlasmaGetDebugStringRequest> CreatePlasmaGetDebugStringRequest(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaGetDebugStringRequestT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PlasmaGetDebugStringReplyT : public flatbuffers::NativeTable {
typedef PlasmaGetDebugStringReply TableType;
std::string debug_string{};
};
struct PlasmaGetDebugStringReply FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaGetDebugStringReplyT NativeTableType;
typedef PlasmaGetDebugStringReplyBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_DEBUG_STRING = 4
};
const flatbuffers::String *debug_string() const {
return GetPointer<const flatbuffers::String *>(VT_DEBUG_STRING);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_DEBUG_STRING) &&
verifier.VerifyString(debug_string()) &&
verifier.EndTable();
}
PlasmaGetDebugStringReplyT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaGetDebugStringReplyT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaGetDebugStringReply> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaGetDebugStringReplyT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaGetDebugStringReplyBuilder {
typedef PlasmaGetDebugStringReply Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_debug_string(flatbuffers::Offset<flatbuffers::String> debug_string) {
fbb_.AddOffset(PlasmaGetDebugStringReply::VT_DEBUG_STRING, debug_string);
}
explicit PlasmaGetDebugStringReplyBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaGetDebugStringReply> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaGetDebugStringReply>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaGetDebugStringReply> CreatePlasmaGetDebugStringReply(
flatbuffers::FlatBufferBuilder &_fbb,
flatbuffers::Offset<flatbuffers::String> debug_string = 0) {
PlasmaGetDebugStringReplyBuilder builder_(_fbb);
builder_.add_debug_string(debug_string);
return builder_.Finish();
}
inline flatbuffers::Offset<PlasmaGetDebugStringReply> CreatePlasmaGetDebugStringReplyDirect(
flatbuffers::FlatBufferBuilder &_fbb,
const char *debug_string = nullptr) {
auto debug_string__ = debug_string ? _fbb.CreateString(debug_string) : 0;
return plasma::flatbuf::CreatePlasmaGetDebugStringReply(
_fbb,
debug_string__);
}
flatbuffers::Offset<PlasmaGetDebugStringReply> CreatePlasmaGetDebugStringReply(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaGetDebugStringReplyT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PlasmaCreateRequestT : public flatbuffers::NativeTable {
typedef PlasmaCreateRequest TableType;
std::string object_id{};
bool evict_if_full = false;
uint64_t data_size = 0;
uint64_t metadata_size = 0;
int32_t device_num = 0;
};
struct PlasmaCreateRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaCreateRequestT NativeTableType;
typedef PlasmaCreateRequestBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OBJECT_ID = 4,
VT_EVICT_IF_FULL = 6,
VT_DATA_SIZE = 8,
VT_METADATA_SIZE = 10,
VT_DEVICE_NUM = 12
};
const flatbuffers::String *object_id() const {
return GetPointer<const flatbuffers::String *>(VT_OBJECT_ID);
}
bool evict_if_full() const {
return GetField<uint8_t>(VT_EVICT_IF_FULL, 0) != 0;
}
uint64_t data_size() const {
return GetField<uint64_t>(VT_DATA_SIZE, 0);
}
uint64_t metadata_size() const {
return GetField<uint64_t>(VT_METADATA_SIZE, 0);
}
int32_t device_num() const {
return GetField<int32_t>(VT_DEVICE_NUM, 0);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_OBJECT_ID) &&
verifier.VerifyString(object_id()) &&
VerifyField<uint8_t>(verifier, VT_EVICT_IF_FULL) &&
VerifyField<uint64_t>(verifier, VT_DATA_SIZE) &&
VerifyField<uint64_t>(verifier, VT_METADATA_SIZE) &&
VerifyField<int32_t>(verifier, VT_DEVICE_NUM) &&
verifier.EndTable();
}
PlasmaCreateRequestT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaCreateRequestT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaCreateRequest> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaCreateRequestT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaCreateRequestBuilder {
typedef PlasmaCreateRequest Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_object_id(flatbuffers::Offset<flatbuffers::String> object_id) {
fbb_.AddOffset(PlasmaCreateRequest::VT_OBJECT_ID, object_id);
}
void add_evict_if_full(bool evict_if_full) {
fbb_.AddElement<uint8_t>(PlasmaCreateRequest::VT_EVICT_IF_FULL, static_cast<uint8_t>(evict_if_full), 0);
}
void add_data_size(uint64_t data_size) {
fbb_.AddElement<uint64_t>(PlasmaCreateRequest::VT_DATA_SIZE, data_size, 0);
}
void add_metadata_size(uint64_t metadata_size) {
fbb_.AddElement<uint64_t>(PlasmaCreateRequest::VT_METADATA_SIZE, metadata_size, 0);
}
void add_device_num(int32_t device_num) {
fbb_.AddElement<int32_t>(PlasmaCreateRequest::VT_DEVICE_NUM, device_num, 0);
}
explicit PlasmaCreateRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaCreateRequest> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaCreateRequest>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaCreateRequest> CreatePlasmaCreateRequest(
flatbuffers::FlatBufferBuilder &_fbb,
flatbuffers::Offset<flatbuffers::String> object_id = 0,
bool evict_if_full = false,
uint64_t data_size = 0,
uint64_t metadata_size = 0,
int32_t device_num = 0) {
PlasmaCreateRequestBuilder builder_(_fbb);
builder_.add_metadata_size(metadata_size);
builder_.add_data_size(data_size);
builder_.add_device_num(device_num);
builder_.add_object_id(object_id);
builder_.add_evict_if_full(evict_if_full);
return builder_.Finish();
}
inline flatbuffers::Offset<PlasmaCreateRequest> CreatePlasmaCreateRequestDirect(
flatbuffers::FlatBufferBuilder &_fbb,
const char *object_id = nullptr,
bool evict_if_full = false,
uint64_t data_size = 0,
uint64_t metadata_size = 0,
int32_t device_num = 0) {
auto object_id__ = object_id ? _fbb.CreateString(object_id) : 0;
return plasma::flatbuf::CreatePlasmaCreateRequest(
_fbb,
object_id__,
evict_if_full,
data_size,
metadata_size,
device_num);
}
flatbuffers::Offset<PlasmaCreateRequest> CreatePlasmaCreateRequest(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaCreateRequestT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct CudaHandleT : public flatbuffers::NativeTable {
typedef CudaHandle TableType;
std::vector<uint8_t> handle{};
};
struct CudaHandle FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef CudaHandleT NativeTableType;
typedef CudaHandleBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_HANDLE = 4
};
const flatbuffers::Vector<uint8_t> *handle() const {
return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_HANDLE);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_HANDLE) &&
verifier.VerifyVector(handle()) &&
verifier.EndTable();
}
CudaHandleT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(CudaHandleT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<CudaHandle> Pack(flatbuffers::FlatBufferBuilder &_fbb, const CudaHandleT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct CudaHandleBuilder {
typedef CudaHandle Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_handle(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> handle) {
fbb_.AddOffset(CudaHandle::VT_HANDLE, handle);
}
explicit CudaHandleBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<CudaHandle> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<CudaHandle>(end);
return o;
}
};
inline flatbuffers::Offset<CudaHandle> CreateCudaHandle(
flatbuffers::FlatBufferBuilder &_fbb,
flatbuffers::Offset<flatbuffers::Vector<uint8_t>> handle = 0) {
CudaHandleBuilder builder_(_fbb);
builder_.add_handle(handle);
return builder_.Finish();
}
inline flatbuffers::Offset<CudaHandle> CreateCudaHandleDirect(
flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<uint8_t> *handle = nullptr) {
auto handle__ = handle ? _fbb.CreateVector<uint8_t>(*handle) : 0;
return plasma::flatbuf::CreateCudaHandle(
_fbb,
handle__);
}
flatbuffers::Offset<CudaHandle> CreateCudaHandle(flatbuffers::FlatBufferBuilder &_fbb, const CudaHandleT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PlasmaCreateReplyT : public flatbuffers::NativeTable {
typedef PlasmaCreateReply TableType;
std::string object_id{};
std::unique_ptr<plasma::flatbuf::PlasmaObjectSpec> plasma_object{};
plasma::flatbuf::PlasmaError error = plasma::flatbuf::PlasmaError::OK;
int32_t store_fd = 0;
int64_t mmap_size = 0;
std::unique_ptr<plasma::flatbuf::CudaHandleT> ipc_handle{};
};
struct PlasmaCreateReply FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaCreateReplyT NativeTableType;
typedef PlasmaCreateReplyBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OBJECT_ID = 4,
VT_PLASMA_OBJECT = 6,
VT_ERROR = 8,
VT_STORE_FD = 10,
VT_MMAP_SIZE = 12,
VT_IPC_HANDLE = 14
};
const flatbuffers::String *object_id() const {
return GetPointer<const flatbuffers::String *>(VT_OBJECT_ID);
}
const plasma::flatbuf::PlasmaObjectSpec *plasma_object() const {
return GetStruct<const plasma::flatbuf::PlasmaObjectSpec *>(VT_PLASMA_OBJECT);
}
plasma::flatbuf::PlasmaError error() const {
return static_cast<plasma::flatbuf::PlasmaError>(GetField<int32_t>(VT_ERROR, 0));
}
int32_t store_fd() const {
return GetField<int32_t>(VT_STORE_FD, 0);
}
int64_t mmap_size() const {
return GetField<int64_t>(VT_MMAP_SIZE, 0);
}
const plasma::flatbuf::CudaHandle *ipc_handle() const {
return GetPointer<const plasma::flatbuf::CudaHandle *>(VT_IPC_HANDLE);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_OBJECT_ID) &&
verifier.VerifyString(object_id()) &&
VerifyField<plasma::flatbuf::PlasmaObjectSpec>(verifier, VT_PLASMA_OBJECT) &&
VerifyField<int32_t>(verifier, VT_ERROR) &&
VerifyField<int32_t>(verifier, VT_STORE_FD) &&
VerifyField<int64_t>(verifier, VT_MMAP_SIZE) &&
VerifyOffset(verifier, VT_IPC_HANDLE) &&
verifier.VerifyTable(ipc_handle()) &&
verifier.EndTable();
}
PlasmaCreateReplyT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaCreateReplyT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaCreateReply> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaCreateReplyT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaCreateReplyBuilder {
typedef PlasmaCreateReply Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_object_id(flatbuffers::Offset<flatbuffers::String> object_id) {
fbb_.AddOffset(PlasmaCreateReply::VT_OBJECT_ID, object_id);
}
void add_plasma_object(const plasma::flatbuf::PlasmaObjectSpec *plasma_object) {
fbb_.AddStruct(PlasmaCreateReply::VT_PLASMA_OBJECT, plasma_object);
}
void add_error(plasma::flatbuf::PlasmaError error) {
fbb_.AddElement<int32_t>(PlasmaCreateReply::VT_ERROR, static_cast<int32_t>(error), 0);
}
void add_store_fd(int32_t store_fd) {
fbb_.AddElement<int32_t>(PlasmaCreateReply::VT_STORE_FD, store_fd, 0);
}
void add_mmap_size(int64_t mmap_size) {
fbb_.AddElement<int64_t>(PlasmaCreateReply::VT_MMAP_SIZE, mmap_size, 0);
}
void add_ipc_handle(flatbuffers::Offset<plasma::flatbuf::CudaHandle> ipc_handle) {
fbb_.AddOffset(PlasmaCreateReply::VT_IPC_HANDLE, ipc_handle);
}
explicit PlasmaCreateReplyBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaCreateReply> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaCreateReply>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaCreateReply> CreatePlasmaCreateReply(
flatbuffers::FlatBufferBuilder &_fbb,
flatbuffers::Offset<flatbuffers::String> object_id = 0,
const plasma::flatbuf::PlasmaObjectSpec *plasma_object = 0,
plasma::flatbuf::PlasmaError error = plasma::flatbuf::PlasmaError::OK,
int32_t store_fd = 0,
int64_t mmap_size = 0,
flatbuffers::Offset<plasma::flatbuf::CudaHandle> ipc_handle = 0) {
PlasmaCreateReplyBuilder builder_(_fbb);
builder_.add_mmap_size(mmap_size);
builder_.add_ipc_handle(ipc_handle);
builder_.add_store_fd(store_fd);
builder_.add_error(error);
builder_.add_plasma_object(plasma_object);
builder_.add_object_id(object_id);
return builder_.Finish();
}
inline flatbuffers::Offset<PlasmaCreateReply> CreatePlasmaCreateReplyDirect(
flatbuffers::FlatBufferBuilder &_fbb,
const char *object_id = nullptr,
const plasma::flatbuf::PlasmaObjectSpec *plasma_object = 0,
plasma::flatbuf::PlasmaError error = plasma::flatbuf::PlasmaError::OK,
int32_t store_fd = 0,
int64_t mmap_size = 0,
flatbuffers::Offset<plasma::flatbuf::CudaHandle> ipc_handle = 0) {
auto object_id__ = object_id ? _fbb.CreateString(object_id) : 0;
return plasma::flatbuf::CreatePlasmaCreateReply(
_fbb,
object_id__,
plasma_object,
error,
store_fd,
mmap_size,
ipc_handle);
}
flatbuffers::Offset<PlasmaCreateReply> CreatePlasmaCreateReply(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaCreateReplyT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct PlasmaCreateAndSealRequestT : public flatbuffers::NativeTable {
typedef PlasmaCreateAndSealRequest TableType;
std::string object_id{};
bool evict_if_full = false;
std::string data{};
std::string metadata{};
std::string digest{};
};
struct PlasmaCreateAndSealRequest FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
typedef PlasmaCreateAndSealRequestT NativeTableType;
typedef PlasmaCreateAndSealRequestBuilder Builder;
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
VT_OBJECT_ID = 4,
VT_EVICT_IF_FULL = 6,
VT_DATA = 8,
VT_METADATA = 10,
VT_DIGEST = 12
};
const flatbuffers::String *object_id() const {
return GetPointer<const flatbuffers::String *>(VT_OBJECT_ID);
}
bool evict_if_full() const {
return GetField<uint8_t>(VT_EVICT_IF_FULL, 0) != 0;
}
const flatbuffers::String *data() const {
return GetPointer<const flatbuffers::String *>(VT_DATA);
}
const flatbuffers::String *metadata() const {
return GetPointer<const flatbuffers::String *>(VT_METADATA);
}
const flatbuffers::String *digest() const {
return GetPointer<const flatbuffers::String *>(VT_DIGEST);
}
bool Verify(flatbuffers::Verifier &verifier) const {
return VerifyTableStart(verifier) &&
VerifyOffset(verifier, VT_OBJECT_ID) &&
verifier.VerifyString(object_id()) &&
VerifyField<uint8_t>(verifier, VT_EVICT_IF_FULL) &&
VerifyOffset(verifier, VT_DATA) &&
verifier.VerifyString(data()) &&
VerifyOffset(verifier, VT_METADATA) &&
verifier.VerifyString(metadata()) &&
VerifyOffset(verifier, VT_DIGEST) &&
verifier.VerifyString(digest()) &&
verifier.EndTable();
}
PlasmaCreateAndSealRequestT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
void UnPackTo(PlasmaCreateAndSealRequestT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
static flatbuffers::Offset<PlasmaCreateAndSealRequest> Pack(flatbuffers::FlatBufferBuilder &_fbb, const PlasmaCreateAndSealRequestT* _o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
};
struct PlasmaCreateAndSealRequestBuilder {
typedef PlasmaCreateAndSealRequest Table;
flatbuffers::FlatBufferBuilder &fbb_;
flatbuffers::uoffset_t start_;
void add_object_id(flatbuffers::Offset<flatbuffers::String> object_id) {
fbb_.AddOffset(PlasmaCreateAndSealRequest::VT_OBJECT_ID, object_id);
}
void add_evict_if_full(bool evict_if_full) {
fbb_.AddElement<uint8_t>(PlasmaCreateAndSealRequest::VT_EVICT_IF_FULL, static_cast<uint8_t>(evict_if_full), 0);
}
void add_data(flatbuffers::Offset<flatbuffers::String> data) {
fbb_.AddOffset(PlasmaCreateAndSealRequest::VT_DATA, data);
}
void add_metadata(flatbuffers::Offset<flatbuffers::String> metadata) {
fbb_.AddOffset(PlasmaCreateAndSealRequest::VT_METADATA, metadata);
}
void add_digest(flatbuffers::Offset<flatbuffers::String> digest) {
fbb_.AddOffset(PlasmaCreateAndSealRequest::VT_DIGEST, digest);
}
explicit PlasmaCreateAndSealRequestBuilder(flatbuffers::FlatBufferBuilder &_fbb)
: fbb_(_fbb) {
start_ = fbb_.StartTable();
}
flatbuffers::Offset<PlasmaCreateAndSealRequest> Finish() {
const auto end = fbb_.EndTable(start_);
auto o = flatbuffers::Offset<PlasmaCreateAndSealRequest>(end);
return o;
}
};
inline flatbuffers::Offset<PlasmaCreateAndSealRequest> CreatePlasmaCreateAndSealRequest(
flatbuffers::FlatBufferBuilder &_fbb,