-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathPbTick.pb.h
More file actions
2735 lines (2487 loc) · 93.6 KB
/
Copy pathPbTick.pb.h
File metadata and controls
2735 lines (2487 loc) · 93.6 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
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PbTick.proto
#ifndef PROTOBUF_PbTick_2eproto__INCLUDED
#define PROTOBUF_PbTick_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3000000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
namespace QuantBox {
namespace Data {
namespace Serializer {
namespace V2 {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_PbTick_2eproto();
void protobuf_AssignDesc_PbTick_2eproto();
void protobuf_ShutdownFile_PbTick_2eproto();
class BarInfo;
class ConfigInfo;
class DepthTick;
class PbTick;
class StaticInfo;
class StockSplitInfo;
// ===================================================================
class BarInfo : public ::google::protobuf::Message {
public:
BarInfo();
virtual ~BarInfo();
BarInfo(const BarInfo& from);
inline BarInfo& operator=(const BarInfo& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const BarInfo& default_instance();
void Swap(BarInfo* other);
// implements Message ----------------------------------------------
inline BarInfo* New() const { return New(NULL); }
BarInfo* New(::google::protobuf::Arena* arena) const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const BarInfo& from);
void MergeFrom(const BarInfo& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(BarInfo* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional sint32 Open = 1 [default = 0];
inline bool has_open() const;
inline void clear_open();
static const int kOpenFieldNumber = 1;
inline ::google::protobuf::int32 open() const;
inline void set_open(::google::protobuf::int32 value);
// optional sint32 High = 2 [default = 0];
inline bool has_high() const;
inline void clear_high();
static const int kHighFieldNumber = 2;
inline ::google::protobuf::int32 high() const;
inline void set_high(::google::protobuf::int32 value);
// optional sint32 Low = 3 [default = 0];
inline bool has_low() const;
inline void clear_low();
static const int kLowFieldNumber = 3;
inline ::google::protobuf::int32 low() const;
inline void set_low(::google::protobuf::int32 value);
// optional sint32 Close = 4 [default = 0];
inline bool has_close() const;
inline void clear_close();
static const int kCloseFieldNumber = 4;
inline ::google::protobuf::int32 close() const;
inline void set_close(::google::protobuf::int32 value);
// optional sint32 BarSize = 5 [default = 0];
inline bool has_barsize() const;
inline void clear_barsize();
static const int kBarSizeFieldNumber = 5;
inline ::google::protobuf::int32 barsize() const;
inline void set_barsize(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:QuantBox.Data.Serializer.V2.BarInfo)
private:
inline void set_has_open();
inline void clear_has_open();
inline void set_has_high();
inline void clear_has_high();
inline void set_has_low();
inline void clear_has_low();
inline void set_has_close();
inline void clear_has_close();
inline void set_has_barsize();
inline void clear_has_barsize();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::int32 open_;
::google::protobuf::int32 high_;
::google::protobuf::int32 low_;
::google::protobuf::int32 close_;
::google::protobuf::int32 barsize_;
friend void protobuf_AddDesc_PbTick_2eproto();
friend void protobuf_AssignDesc_PbTick_2eproto();
friend void protobuf_ShutdownFile_PbTick_2eproto();
void InitAsDefaultInstance();
static BarInfo* default_instance_;
};
// -------------------------------------------------------------------
class ConfigInfo : public ::google::protobuf::Message {
public:
ConfigInfo();
virtual ~ConfigInfo();
ConfigInfo(const ConfigInfo& from);
inline ConfigInfo& operator=(const ConfigInfo& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const ConfigInfo& default_instance();
void Swap(ConfigInfo* other);
// implements Message ----------------------------------------------
inline ConfigInfo* New() const { return New(NULL); }
ConfigInfo* New(::google::protobuf::Arena* arena) const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const ConfigInfo& from);
void MergeFrom(const ConfigInfo& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(ConfigInfo* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional int32 Version = 1 [default = 0];
inline bool has_version() const;
inline void clear_version();
static const int kVersionFieldNumber = 1;
inline ::google::protobuf::int32 version() const;
inline void set_version(::google::protobuf::int32 value);
// optional int32 TickSize = 2 [default = 0];
inline bool has_ticksize() const;
inline void clear_ticksize();
static const int kTickSizeFieldNumber = 2;
inline ::google::protobuf::int32 ticksize() const;
inline void set_ticksize(::google::protobuf::int32 value);
// optional double TickSizeMultiplier = 3 [default = 0];
inline bool has_ticksizemultiplier() const;
inline void clear_ticksizemultiplier();
static const int kTickSizeMultiplierFieldNumber = 3;
inline double ticksizemultiplier() const;
inline void set_ticksizemultiplier(double value);
// optional int32 SettlementPriceMultiplier = 4 [default = 0];
inline bool has_settlementpricemultiplier() const;
inline void clear_settlementpricemultiplier();
static const int kSettlementPriceMultiplierFieldNumber = 4;
inline ::google::protobuf::int32 settlementpricemultiplier() const;
inline void set_settlementpricemultiplier(::google::protobuf::int32 value);
// optional int32 AveragePriceMultiplier = 5 [default = 0];
inline bool has_averagepricemultiplier() const;
inline void clear_averagepricemultiplier();
static const int kAveragePriceMultiplierFieldNumber = 5;
inline ::google::protobuf::int32 averagepricemultiplier() const;
inline void set_averagepricemultiplier(::google::protobuf::int32 value);
// optional double ContractMultiplier = 6 [default = 0];
inline bool has_contractmultiplier() const;
inline void clear_contractmultiplier();
static const int kContractMultiplierFieldNumber = 6;
inline double contractmultiplier() const;
inline void set_contractmultiplier(double value);
// optional int32 Time_ssf_Diff = 7 [default = 0];
inline bool has_time_ssf_diff() const;
inline void clear_time_ssf_diff();
static const int kTimeSsfDiffFieldNumber = 7;
inline ::google::protobuf::int32 time_ssf_diff() const;
inline void set_time_ssf_diff(::google::protobuf::int32 value);
// optional int32 MarketDepth = 8 [default = 0];
inline bool has_marketdepth() const;
inline void clear_marketdepth();
static const int kMarketDepthFieldNumber = 8;
inline ::google::protobuf::int32 marketdepth() const;
inline void set_marketdepth(::google::protobuf::int32 value);
// optional int32 MarketType = 9 [default = 0];
inline bool has_markettype() const;
inline void clear_markettype();
static const int kMarketTypeFieldNumber = 9;
inline ::google::protobuf::int32 markettype() const;
inline void set_markettype(::google::protobuf::int32 value);
// optional int32 Volume_Total_Or_Increment = 10 [default = 0];
inline bool has_volume_total_or_increment() const;
inline void clear_volume_total_or_increment();
static const int kVolumeTotalOrIncrementFieldNumber = 10;
inline ::google::protobuf::int32 volume_total_or_increment() const;
inline void set_volume_total_or_increment(::google::protobuf::int32 value);
// optional int32 Turnover_Total_Or_Increment = 11 [default = 0];
inline bool has_turnover_total_or_increment() const;
inline void clear_turnover_total_or_increment();
static const int kTurnoverTotalOrIncrementFieldNumber = 11;
inline ::google::protobuf::int32 turnover_total_or_increment() const;
inline void set_turnover_total_or_increment(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:QuantBox.Data.Serializer.V2.ConfigInfo)
private:
inline void set_has_version();
inline void clear_has_version();
inline void set_has_ticksize();
inline void clear_has_ticksize();
inline void set_has_ticksizemultiplier();
inline void clear_has_ticksizemultiplier();
inline void set_has_settlementpricemultiplier();
inline void clear_has_settlementpricemultiplier();
inline void set_has_averagepricemultiplier();
inline void clear_has_averagepricemultiplier();
inline void set_has_contractmultiplier();
inline void clear_has_contractmultiplier();
inline void set_has_time_ssf_diff();
inline void clear_has_time_ssf_diff();
inline void set_has_marketdepth();
inline void clear_has_marketdepth();
inline void set_has_markettype();
inline void clear_has_markettype();
inline void set_has_volume_total_or_increment();
inline void clear_has_volume_total_or_increment();
inline void set_has_turnover_total_or_increment();
inline void clear_has_turnover_total_or_increment();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::int32 version_;
::google::protobuf::int32 ticksize_;
double ticksizemultiplier_;
::google::protobuf::int32 settlementpricemultiplier_;
::google::protobuf::int32 averagepricemultiplier_;
double contractmultiplier_;
::google::protobuf::int32 time_ssf_diff_;
::google::protobuf::int32 marketdepth_;
::google::protobuf::int32 markettype_;
::google::protobuf::int32 volume_total_or_increment_;
::google::protobuf::int32 turnover_total_or_increment_;
friend void protobuf_AddDesc_PbTick_2eproto();
friend void protobuf_AssignDesc_PbTick_2eproto();
friend void protobuf_ShutdownFile_PbTick_2eproto();
void InitAsDefaultInstance();
static ConfigInfo* default_instance_;
};
// -------------------------------------------------------------------
class DepthTick : public ::google::protobuf::Message {
public:
DepthTick();
virtual ~DepthTick();
DepthTick(const DepthTick& from);
inline DepthTick& operator=(const DepthTick& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const DepthTick& default_instance();
void Swap(DepthTick* other);
// implements Message ----------------------------------------------
inline DepthTick* New() const { return New(NULL); }
DepthTick* New(::google::protobuf::Arena* arena) const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const DepthTick& from);
void MergeFrom(const DepthTick& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(DepthTick* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional sint32 Value1 = 1 [default = 0];
inline bool has_value1() const;
inline void clear_value1();
static const int kValue1FieldNumber = 1;
inline ::google::protobuf::int32 value1() const;
inline void set_value1(::google::protobuf::int32 value);
// optional sint32 Value2 = 2 [default = 0];
inline bool has_value2() const;
inline void clear_value2();
static const int kValue2FieldNumber = 2;
inline ::google::protobuf::int32 value2() const;
inline void set_value2(::google::protobuf::int32 value);
// optional sint32 Value3 = 3 [default = 0];
inline bool has_value3() const;
inline void clear_value3();
static const int kValue3FieldNumber = 3;
inline ::google::protobuf::int32 value3() const;
inline void set_value3(::google::protobuf::int32 value);
// optional sint32 Value4 = 4 [default = 0];
inline bool has_value4() const;
inline void clear_value4();
static const int kValue4FieldNumber = 4;
inline ::google::protobuf::int32 value4() const;
inline void set_value4(::google::protobuf::int32 value);
// optional sint32 Value5 = 5 [default = 0];
inline bool has_value5() const;
inline void clear_value5();
static const int kValue5FieldNumber = 5;
inline ::google::protobuf::int32 value5() const;
inline void set_value5(::google::protobuf::int32 value);
// optional sint32 Value6 = 6 [default = 0];
inline bool has_value6() const;
inline void clear_value6();
static const int kValue6FieldNumber = 6;
inline ::google::protobuf::int32 value6() const;
inline void set_value6(::google::protobuf::int32 value);
// optional sint32 Value7 = 7 [default = 0];
inline bool has_value7() const;
inline void clear_value7();
static const int kValue7FieldNumber = 7;
inline ::google::protobuf::int32 value7() const;
inline void set_value7(::google::protobuf::int32 value);
// optional sint32 Value8 = 8 [default = 0];
inline bool has_value8() const;
inline void clear_value8();
static const int kValue8FieldNumber = 8;
inline ::google::protobuf::int32 value8() const;
inline void set_value8(::google::protobuf::int32 value);
// optional sint32 Value9 = 9 [default = 0];
inline bool has_value9() const;
inline void clear_value9();
static const int kValue9FieldNumber = 9;
inline ::google::protobuf::int32 value9() const;
inline void set_value9(::google::protobuf::int32 value);
// optional sint32 Value10 = 10 [default = 0];
inline bool has_value10() const;
inline void clear_value10();
static const int kValue10FieldNumber = 10;
inline ::google::protobuf::int32 value10() const;
inline void set_value10(::google::protobuf::int32 value);
// optional sint32 Value11 = 11 [default = 0];
inline bool has_value11() const;
inline void clear_value11();
static const int kValue11FieldNumber = 11;
inline ::google::protobuf::int32 value11() const;
inline void set_value11(::google::protobuf::int32 value);
// optional sint32 Value12 = 12 [default = 0];
inline bool has_value12() const;
inline void clear_value12();
static const int kValue12FieldNumber = 12;
inline ::google::protobuf::int32 value12() const;
inline void set_value12(::google::protobuf::int32 value);
// optional sint32 Value13 = 13 [default = 0];
inline bool has_value13() const;
inline void clear_value13();
static const int kValue13FieldNumber = 13;
inline ::google::protobuf::int32 value13() const;
inline void set_value13(::google::protobuf::int32 value);
// optional sint32 Value14 = 14 [default = 0];
inline bool has_value14() const;
inline void clear_value14();
static const int kValue14FieldNumber = 14;
inline ::google::protobuf::int32 value14() const;
inline void set_value14(::google::protobuf::int32 value);
// optional .QuantBox.Data.Serializer.V2.DepthTick Next = 15;
inline bool has_next() const;
inline void clear_next();
static const int kNextFieldNumber = 15;
inline const ::QuantBox::Data::Serializer::V2::DepthTick& next() const;
inline ::QuantBox::Data::Serializer::V2::DepthTick* mutable_next();
inline ::QuantBox::Data::Serializer::V2::DepthTick* release_next();
inline void set_allocated_next(::QuantBox::Data::Serializer::V2::DepthTick* next);
// @@protoc_insertion_point(class_scope:QuantBox.Data.Serializer.V2.DepthTick)
private:
inline void set_has_value1();
inline void clear_has_value1();
inline void set_has_value2();
inline void clear_has_value2();
inline void set_has_value3();
inline void clear_has_value3();
inline void set_has_value4();
inline void clear_has_value4();
inline void set_has_value5();
inline void clear_has_value5();
inline void set_has_value6();
inline void clear_has_value6();
inline void set_has_value7();
inline void clear_has_value7();
inline void set_has_value8();
inline void clear_has_value8();
inline void set_has_value9();
inline void clear_has_value9();
inline void set_has_value10();
inline void clear_has_value10();
inline void set_has_value11();
inline void clear_has_value11();
inline void set_has_value12();
inline void clear_has_value12();
inline void set_has_value13();
inline void clear_has_value13();
inline void set_has_value14();
inline void clear_has_value14();
inline void set_has_next();
inline void clear_has_next();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::int32 value1_;
::google::protobuf::int32 value2_;
::google::protobuf::int32 value3_;
::google::protobuf::int32 value4_;
::google::protobuf::int32 value5_;
::google::protobuf::int32 value6_;
::google::protobuf::int32 value7_;
::google::protobuf::int32 value8_;
::google::protobuf::int32 value9_;
::google::protobuf::int32 value10_;
::google::protobuf::int32 value11_;
::google::protobuf::int32 value12_;
::google::protobuf::int32 value13_;
::google::protobuf::int32 value14_;
::QuantBox::Data::Serializer::V2::DepthTick* next_;
friend void protobuf_AddDesc_PbTick_2eproto();
friend void protobuf_AssignDesc_PbTick_2eproto();
friend void protobuf_ShutdownFile_PbTick_2eproto();
void InitAsDefaultInstance();
static DepthTick* default_instance_;
};
// -------------------------------------------------------------------
class PbTick : public ::google::protobuf::Message {
public:
PbTick();
virtual ~PbTick();
PbTick(const PbTick& from);
inline PbTick& operator=(const PbTick& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const PbTick& default_instance();
void Swap(PbTick* other);
// implements Message ----------------------------------------------
inline PbTick* New() const { return New(NULL); }
PbTick* New(::google::protobuf::Arena* arena) const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const PbTick& from);
void MergeFrom(const PbTick& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(PbTick* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional .QuantBox.Data.Serializer.V2.ConfigInfo Config = 1;
inline bool has_config() const;
inline void clear_config();
static const int kConfigFieldNumber = 1;
inline const ::QuantBox::Data::Serializer::V2::ConfigInfo& config() const;
inline ::QuantBox::Data::Serializer::V2::ConfigInfo* mutable_config();
inline ::QuantBox::Data::Serializer::V2::ConfigInfo* release_config();
inline void set_allocated_config(::QuantBox::Data::Serializer::V2::ConfigInfo* config);
// optional sint32 TradingDay = 2 [default = 0];
inline bool has_tradingday() const;
inline void clear_tradingday();
static const int kTradingDayFieldNumber = 2;
inline ::google::protobuf::int32 tradingday() const;
inline void set_tradingday(::google::protobuf::int32 value);
// optional sint32 ActionDay = 3 [default = 0];
inline bool has_actionday() const;
inline void clear_actionday();
static const int kActionDayFieldNumber = 3;
inline ::google::protobuf::int32 actionday() const;
inline void set_actionday(::google::protobuf::int32 value);
// optional sint32 Time_HHmm = 4 [default = 0];
inline bool has_time_hhmm() const;
inline void clear_time_hhmm();
static const int kTimeHHmmFieldNumber = 4;
inline ::google::protobuf::int32 time_hhmm() const;
inline void set_time_hhmm(::google::protobuf::int32 value);
// optional sint32 Time_____ssf__ = 5 [default = 0];
inline bool has_time_____ssf__() const;
inline void clear_time_____ssf__();
static const int kTimeSsfFieldNumber = 5;
inline ::google::protobuf::int32 time_____ssf__() const;
inline void set_time_____ssf__(::google::protobuf::int32 value);
// optional sint32 Time________ff = 6 [default = 0];
inline bool has_time________ff() const;
inline void clear_time________ff();
static const int kTimeFfFieldNumber = 6;
inline ::google::protobuf::int32 time________ff() const;
inline void set_time________ff(::google::protobuf::int32 value);
// optional sint32 LastPrice = 7 [default = 0];
inline bool has_lastprice() const;
inline void clear_lastprice();
static const int kLastPriceFieldNumber = 7;
inline ::google::protobuf::int32 lastprice() const;
inline void set_lastprice(::google::protobuf::int32 value);
// optional sint32 AskPrice1 = 8 [default = 0];
inline bool has_askprice1() const;
inline void clear_askprice1();
static const int kAskPrice1FieldNumber = 8;
inline ::google::protobuf::int32 askprice1() const;
inline void set_askprice1(::google::protobuf::int32 value);
// optional .QuantBox.Data.Serializer.V2.DepthTick Depth = 9;
inline bool has_depth() const;
inline void clear_depth();
static const int kDepthFieldNumber = 9;
inline const ::QuantBox::Data::Serializer::V2::DepthTick& depth() const;
inline ::QuantBox::Data::Serializer::V2::DepthTick* mutable_depth();
inline ::QuantBox::Data::Serializer::V2::DepthTick* release_depth();
inline void set_allocated_depth(::QuantBox::Data::Serializer::V2::DepthTick* depth);
// optional sint64 Volume = 10 [default = 0];
inline bool has_volume() const;
inline void clear_volume();
static const int kVolumeFieldNumber = 10;
inline ::google::protobuf::int64 volume() const;
inline void set_volume(::google::protobuf::int64 value);
// optional sint64 OpenInterest = 11 [default = 0];
inline bool has_openinterest() const;
inline void clear_openinterest();
static const int kOpenInterestFieldNumber = 11;
inline ::google::protobuf::int64 openinterest() const;
inline void set_openinterest(::google::protobuf::int64 value);
// optional sint64 Turnover = 12 [default = 0];
inline bool has_turnover() const;
inline void clear_turnover();
static const int kTurnoverFieldNumber = 12;
inline ::google::protobuf::int64 turnover() const;
inline void set_turnover(::google::protobuf::int64 value);
// optional sint32 AveragePrice = 13 [default = 0];
inline bool has_averageprice() const;
inline void clear_averageprice();
static const int kAveragePriceFieldNumber = 13;
inline ::google::protobuf::int32 averageprice() const;
inline void set_averageprice(::google::protobuf::int32 value);
// optional .QuantBox.Data.Serializer.V2.BarInfo Bar = 14;
inline bool has_bar() const;
inline void clear_bar();
static const int kBarFieldNumber = 14;
inline const ::QuantBox::Data::Serializer::V2::BarInfo& bar() const;
inline ::QuantBox::Data::Serializer::V2::BarInfo* mutable_bar();
inline ::QuantBox::Data::Serializer::V2::BarInfo* release_bar();
inline void set_allocated_bar(::QuantBox::Data::Serializer::V2::BarInfo* bar);
// optional .QuantBox.Data.Serializer.V2.StaticInfo Static = 15;
inline bool has_static_() const;
inline void clear_static_();
static const int kStaticFieldNumber = 15;
inline const ::QuantBox::Data::Serializer::V2::StaticInfo& static_() const;
inline ::QuantBox::Data::Serializer::V2::StaticInfo* mutable_static_();
inline ::QuantBox::Data::Serializer::V2::StaticInfo* release_static_();
inline void set_allocated_static_(::QuantBox::Data::Serializer::V2::StaticInfo* static_);
// optional .QuantBox.Data.Serializer.V2.StockSplitInfo Split = 16;
inline bool has_split() const;
inline void clear_split();
static const int kSplitFieldNumber = 16;
inline const ::QuantBox::Data::Serializer::V2::StockSplitInfo& split() const;
inline ::QuantBox::Data::Serializer::V2::StockSplitInfo* mutable_split();
inline ::QuantBox::Data::Serializer::V2::StockSplitInfo* release_split();
inline void set_allocated_split(::QuantBox::Data::Serializer::V2::StockSplitInfo* split);
// optional sint32 LocalTime_Msec = 17 [default = 0];
inline bool has_localtime_msec() const;
inline void clear_localtime_msec();
static const int kLocalTimeMsecFieldNumber = 17;
inline ::google::protobuf::int32 localtime_msec() const;
inline void set_localtime_msec(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:QuantBox.Data.Serializer.V2.PbTick)
private:
inline void set_has_config();
inline void clear_has_config();
inline void set_has_tradingday();
inline void clear_has_tradingday();
inline void set_has_actionday();
inline void clear_has_actionday();
inline void set_has_time_hhmm();
inline void clear_has_time_hhmm();
inline void set_has_time_____ssf__();
inline void clear_has_time_____ssf__();
inline void set_has_time________ff();
inline void clear_has_time________ff();
inline void set_has_lastprice();
inline void clear_has_lastprice();
inline void set_has_askprice1();
inline void clear_has_askprice1();
inline void set_has_depth();
inline void clear_has_depth();
inline void set_has_volume();
inline void clear_has_volume();
inline void set_has_openinterest();
inline void clear_has_openinterest();
inline void set_has_turnover();
inline void clear_has_turnover();
inline void set_has_averageprice();
inline void clear_has_averageprice();
inline void set_has_bar();
inline void clear_has_bar();
inline void set_has_static_();
inline void clear_has_static_();
inline void set_has_split();
inline void clear_has_split();
inline void set_has_localtime_msec();
inline void clear_has_localtime_msec();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::QuantBox::Data::Serializer::V2::ConfigInfo* config_;
::google::protobuf::int32 tradingday_;
::google::protobuf::int32 actionday_;
::google::protobuf::int32 time_hhmm_;
::google::protobuf::int32 time_____ssf___;
::google::protobuf::int32 time________ff_;
::google::protobuf::int32 lastprice_;
::QuantBox::Data::Serializer::V2::DepthTick* depth_;
::google::protobuf::int64 volume_;
::google::protobuf::int32 askprice1_;
::google::protobuf::int32 averageprice_;
::google::protobuf::int64 openinterest_;
::google::protobuf::int64 turnover_;
::QuantBox::Data::Serializer::V2::BarInfo* bar_;
::QuantBox::Data::Serializer::V2::StaticInfo* static__;
::QuantBox::Data::Serializer::V2::StockSplitInfo* split_;
::google::protobuf::int32 localtime_msec_;
friend void protobuf_AddDesc_PbTick_2eproto();
friend void protobuf_AssignDesc_PbTick_2eproto();
friend void protobuf_ShutdownFile_PbTick_2eproto();
void InitAsDefaultInstance();
static PbTick* default_instance_;
};
// -------------------------------------------------------------------
class StaticInfo : public ::google::protobuf::Message {
public:
StaticInfo();
virtual ~StaticInfo();
StaticInfo(const StaticInfo& from);
inline StaticInfo& operator=(const StaticInfo& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const StaticInfo& default_instance();
void Swap(StaticInfo* other);
// implements Message ----------------------------------------------
inline StaticInfo* New() const { return New(NULL); }
StaticInfo* New(::google::protobuf::Arena* arena) const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const StaticInfo& from);
void MergeFrom(const StaticInfo& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(StaticInfo* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional sint32 LowerLimitPrice = 1 [default = 0];
inline bool has_lowerlimitprice() const;
inline void clear_lowerlimitprice();
static const int kLowerLimitPriceFieldNumber = 1;
inline ::google::protobuf::int32 lowerlimitprice() const;
inline void set_lowerlimitprice(::google::protobuf::int32 value);
// optional sint32 UpperLimitPrice = 2 [default = 0];
inline bool has_upperlimitprice() const;
inline void clear_upperlimitprice();
static const int kUpperLimitPriceFieldNumber = 2;
inline ::google::protobuf::int32 upperlimitprice() const;
inline void set_upperlimitprice(::google::protobuf::int32 value);
// optional sint32 SettlementPrice = 3 [default = 0];
inline bool has_settlementprice() const;
inline void clear_settlementprice();
static const int kSettlementPriceFieldNumber = 3;
inline ::google::protobuf::int32 settlementprice() const;
inline void set_settlementprice(::google::protobuf::int32 value);
// optional string Symbol = 4;
inline bool has_symbol() const;
inline void clear_symbol();
static const int kSymbolFieldNumber = 4;
inline const ::std::string& symbol() const;
inline void set_symbol(const ::std::string& value);
inline void set_symbol(const char* value);
inline void set_symbol(const char* value, size_t size);
inline ::std::string* mutable_symbol();
inline ::std::string* release_symbol();
inline void set_allocated_symbol(::std::string* symbol);
// optional string Exchange = 5;
inline bool has_exchange() const;
inline void clear_exchange();
static const int kExchangeFieldNumber = 5;
inline const ::std::string& exchange() const;
inline void set_exchange(const ::std::string& value);
inline void set_exchange(const char* value);
inline void set_exchange(const char* value, size_t size);
inline ::std::string* mutable_exchange();
inline ::std::string* release_exchange();
inline void set_allocated_exchange(::std::string* exchange);
// @@protoc_insertion_point(class_scope:QuantBox.Data.Serializer.V2.StaticInfo)
private:
inline void set_has_lowerlimitprice();
inline void clear_has_lowerlimitprice();
inline void set_has_upperlimitprice();
inline void clear_has_upperlimitprice();
inline void set_has_settlementprice();
inline void clear_has_settlementprice();
inline void set_has_symbol();
inline void clear_has_symbol();
inline void set_has_exchange();
inline void clear_has_exchange();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::int32 lowerlimitprice_;
::google::protobuf::int32 upperlimitprice_;
::google::protobuf::internal::ArenaStringPtr symbol_;
::google::protobuf::internal::ArenaStringPtr exchange_;
::google::protobuf::int32 settlementprice_;
friend void protobuf_AddDesc_PbTick_2eproto();
friend void protobuf_AssignDesc_PbTick_2eproto();
friend void protobuf_ShutdownFile_PbTick_2eproto();
void InitAsDefaultInstance();
static StaticInfo* default_instance_;
};
// -------------------------------------------------------------------
class StockSplitInfo : public ::google::protobuf::Message {
public:
StockSplitInfo();