-
Notifications
You must be signed in to change notification settings - Fork 3
/
msg.pb.h
1708 lines (1470 loc) · 52.3 KB
/
msg.pb.h
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: msg.proto
#ifndef PROTOBUF_INCLUDED_msg_2eproto
#define PROTOBUF_INCLUDED_msg_2eproto
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3006001
#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 3006001 < 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/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#define PROTOBUF_INTERNAL_EXPORT_protobuf_msg_2eproto
namespace protobuf_msg_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
static const ::google::protobuf::internal::ParseTableField entries[];
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
static const ::google::protobuf::internal::ParseTable schema[7];
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
static const ::google::protobuf::internal::SerializationTable serialization_table[];
static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
} // namespace protobuf_msg_2eproto
namespace pb {
class BroadCast;
class BroadCastDefaultTypeInternal;
extern BroadCastDefaultTypeInternal _BroadCast_default_instance_;
class MovePackege;
class MovePackegeDefaultTypeInternal;
extern MovePackegeDefaultTypeInternal _MovePackege_default_instance_;
class Player;
class PlayerDefaultTypeInternal;
extern PlayerDefaultTypeInternal _Player_default_instance_;
class Position;
class PositionDefaultTypeInternal;
extern PositionDefaultTypeInternal _Position_default_instance_;
class SyncPid;
class SyncPidDefaultTypeInternal;
extern SyncPidDefaultTypeInternal _SyncPid_default_instance_;
class SyncPlayers;
class SyncPlayersDefaultTypeInternal;
extern SyncPlayersDefaultTypeInternal _SyncPlayers_default_instance_;
class Talk;
class TalkDefaultTypeInternal;
extern TalkDefaultTypeInternal _Talk_default_instance_;
} // namespace pb
namespace google {
namespace protobuf {
template<> ::pb::BroadCast* Arena::CreateMaybeMessage<::pb::BroadCast>(Arena*);
template<> ::pb::MovePackege* Arena::CreateMaybeMessage<::pb::MovePackege>(Arena*);
template<> ::pb::Player* Arena::CreateMaybeMessage<::pb::Player>(Arena*);
template<> ::pb::Position* Arena::CreateMaybeMessage<::pb::Position>(Arena*);
template<> ::pb::SyncPid* Arena::CreateMaybeMessage<::pb::SyncPid>(Arena*);
template<> ::pb::SyncPlayers* Arena::CreateMaybeMessage<::pb::SyncPlayers>(Arena*);
template<> ::pb::Talk* Arena::CreateMaybeMessage<::pb::Talk>(Arena*);
} // namespace protobuf
} // namespace google
namespace pb {
// ===================================================================
class SyncPid : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.SyncPid) */ {
public:
SyncPid();
virtual ~SyncPid();
SyncPid(const SyncPid& from);
inline SyncPid& operator=(const SyncPid& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
SyncPid(SyncPid&& from) noexcept
: SyncPid() {
*this = ::std::move(from);
}
inline SyncPid& operator=(SyncPid&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const SyncPid& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const SyncPid* internal_default_instance() {
return reinterpret_cast<const SyncPid*>(
&_SyncPid_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
void Swap(SyncPid* other);
friend void swap(SyncPid& a, SyncPid& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline SyncPid* New() const final {
return CreateMaybeMessage<SyncPid>(NULL);
}
SyncPid* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<SyncPid>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const SyncPid& from);
void MergeFrom(const SyncPid& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SyncPid* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// string Username = 2;
void clear_username();
static const int kUsernameFieldNumber = 2;
const ::std::string& username() const;
void set_username(const ::std::string& value);
#if LANG_CXX11
void set_username(::std::string&& value);
#endif
void set_username(const char* value);
void set_username(const char* value, size_t size);
::std::string* mutable_username();
::std::string* release_username();
void set_allocated_username(::std::string* username);
// int32 Pid = 1;
void clear_pid();
static const int kPidFieldNumber = 1;
::google::protobuf::int32 pid() const;
void set_pid(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:pb.SyncPid)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr username_;
::google::protobuf::int32 pid_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class Position : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Position) */ {
public:
Position();
virtual ~Position();
Position(const Position& from);
inline Position& operator=(const Position& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Position(Position&& from) noexcept
: Position() {
*this = ::std::move(from);
}
inline Position& operator=(Position&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const Position& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Position* internal_default_instance() {
return reinterpret_cast<const Position*>(
&_Position_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
void Swap(Position* other);
friend void swap(Position& a, Position& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Position* New() const final {
return CreateMaybeMessage<Position>(NULL);
}
Position* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Position>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const Position& from);
void MergeFrom(const Position& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Position* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// float X = 1;
void clear_x();
static const int kXFieldNumber = 1;
float x() const;
void set_x(float value);
// float Y = 2;
void clear_y();
static const int kYFieldNumber = 2;
float y() const;
void set_y(float value);
// float Z = 3;
void clear_z();
static const int kZFieldNumber = 3;
float z() const;
void set_z(float value);
// float V = 4;
void clear_v();
static const int kVFieldNumber = 4;
float v() const;
void set_v(float value);
// int32 BloodValue = 5;
void clear_bloodvalue();
static const int kBloodValueFieldNumber = 5;
::google::protobuf::int32 bloodvalue() const;
void set_bloodvalue(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:pb.Position)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
float x_;
float y_;
float z_;
float v_;
::google::protobuf::int32 bloodvalue_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class Player : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Player) */ {
public:
Player();
virtual ~Player();
Player(const Player& from);
inline Player& operator=(const Player& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Player(Player&& from) noexcept
: Player() {
*this = ::std::move(from);
}
inline Player& operator=(Player&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const Player& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Player* internal_default_instance() {
return reinterpret_cast<const Player*>(
&_Player_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
void Swap(Player* other);
friend void swap(Player& a, Player& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Player* New() const final {
return CreateMaybeMessage<Player>(NULL);
}
Player* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Player>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const Player& from);
void MergeFrom(const Player& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Player* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// string Username = 3;
void clear_username();
static const int kUsernameFieldNumber = 3;
const ::std::string& username() const;
void set_username(const ::std::string& value);
#if LANG_CXX11
void set_username(::std::string&& value);
#endif
void set_username(const char* value);
void set_username(const char* value, size_t size);
::std::string* mutable_username();
::std::string* release_username();
void set_allocated_username(::std::string* username);
// .pb.Position P = 2;
bool has_p() const;
void clear_p();
static const int kPFieldNumber = 2;
private:
const ::pb::Position& _internal_p() const;
public:
const ::pb::Position& p() const;
::pb::Position* release_p();
::pb::Position* mutable_p();
void set_allocated_p(::pb::Position* p);
// int32 Pid = 1;
void clear_pid();
static const int kPidFieldNumber = 1;
::google::protobuf::int32 pid() const;
void set_pid(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:pb.Player)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr username_;
::pb::Position* p_;
::google::protobuf::int32 pid_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class SyncPlayers : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.SyncPlayers) */ {
public:
SyncPlayers();
virtual ~SyncPlayers();
SyncPlayers(const SyncPlayers& from);
inline SyncPlayers& operator=(const SyncPlayers& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
SyncPlayers(SyncPlayers&& from) noexcept
: SyncPlayers() {
*this = ::std::move(from);
}
inline SyncPlayers& operator=(SyncPlayers&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const SyncPlayers& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const SyncPlayers* internal_default_instance() {
return reinterpret_cast<const SyncPlayers*>(
&_SyncPlayers_default_instance_);
}
static constexpr int kIndexInFileMessages =
3;
void Swap(SyncPlayers* other);
friend void swap(SyncPlayers& a, SyncPlayers& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline SyncPlayers* New() const final {
return CreateMaybeMessage<SyncPlayers>(NULL);
}
SyncPlayers* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<SyncPlayers>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const SyncPlayers& from);
void MergeFrom(const SyncPlayers& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(SyncPlayers* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated .pb.Player ps = 1;
int ps_size() const;
void clear_ps();
static const int kPsFieldNumber = 1;
::pb::Player* mutable_ps(int index);
::google::protobuf::RepeatedPtrField< ::pb::Player >*
mutable_ps();
const ::pb::Player& ps(int index) const;
::pb::Player* add_ps();
const ::google::protobuf::RepeatedPtrField< ::pb::Player >&
ps() const;
// @@protoc_insertion_point(class_scope:pb.SyncPlayers)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::RepeatedPtrField< ::pb::Player > ps_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class MovePackege : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.MovePackege) */ {
public:
MovePackege();
virtual ~MovePackege();
MovePackege(const MovePackege& from);
inline MovePackege& operator=(const MovePackege& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
MovePackege(MovePackege&& from) noexcept
: MovePackege() {
*this = ::std::move(from);
}
inline MovePackege& operator=(MovePackege&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const MovePackege& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const MovePackege* internal_default_instance() {
return reinterpret_cast<const MovePackege*>(
&_MovePackege_default_instance_);
}
static constexpr int kIndexInFileMessages =
4;
void Swap(MovePackege* other);
friend void swap(MovePackege& a, MovePackege& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline MovePackege* New() const final {
return CreateMaybeMessage<MovePackege>(NULL);
}
MovePackege* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<MovePackege>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const MovePackege& from);
void MergeFrom(const MovePackege& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MovePackege* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// .pb.Position P = 1;
bool has_p() const;
void clear_p();
static const int kPFieldNumber = 1;
private:
const ::pb::Position& _internal_p() const;
public:
const ::pb::Position& p() const;
::pb::Position* release_p();
::pb::Position* mutable_p();
void set_allocated_p(::pb::Position* p);
// int32 ActionData = 2;
void clear_actiondata();
static const int kActionDataFieldNumber = 2;
::google::protobuf::int32 actiondata() const;
void set_actiondata(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:pb.MovePackege)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::pb::Position* p_;
::google::protobuf::int32 actiondata_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class BroadCast : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.BroadCast) */ {
public:
BroadCast();
virtual ~BroadCast();
BroadCast(const BroadCast& from);
inline BroadCast& operator=(const BroadCast& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
BroadCast(BroadCast&& from) noexcept
: BroadCast() {
*this = ::std::move(from);
}
inline BroadCast& operator=(BroadCast&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const BroadCast& default_instance();
enum DataCase {
kContent = 3,
kP = 4,
kActionData = 5,
DATA_NOT_SET = 0,
};
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const BroadCast* internal_default_instance() {
return reinterpret_cast<const BroadCast*>(
&_BroadCast_default_instance_);
}
static constexpr int kIndexInFileMessages =
5;
void Swap(BroadCast* other);
friend void swap(BroadCast& a, BroadCast& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline BroadCast* New() const final {
return CreateMaybeMessage<BroadCast>(NULL);
}
BroadCast* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<BroadCast>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const BroadCast& from);
void MergeFrom(const BroadCast& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(BroadCast* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// string Username = 6;
void clear_username();
static const int kUsernameFieldNumber = 6;
const ::std::string& username() const;
void set_username(const ::std::string& value);
#if LANG_CXX11
void set_username(::std::string&& value);
#endif
void set_username(const char* value);
void set_username(const char* value, size_t size);
::std::string* mutable_username();
::std::string* release_username();
void set_allocated_username(::std::string* username);
// int32 Pid = 1;
void clear_pid();
static const int kPidFieldNumber = 1;
::google::protobuf::int32 pid() const;
void set_pid(::google::protobuf::int32 value);
// int32 Tp = 2;
void clear_tp();
static const int kTpFieldNumber = 2;
::google::protobuf::int32 tp() const;
void set_tp(::google::protobuf::int32 value);
// string Content = 3;
private:
bool has_content() const;
public:
void clear_content();
static const int kContentFieldNumber = 3;
const ::std::string& content() const;
void set_content(const ::std::string& value);
#if LANG_CXX11
void set_content(::std::string&& value);
#endif
void set_content(const char* value);
void set_content(const char* value, size_t size);
::std::string* mutable_content();
::std::string* release_content();
void set_allocated_content(::std::string* content);
// .pb.Position P = 4;
bool has_p() const;
void clear_p();
static const int kPFieldNumber = 4;
private:
const ::pb::Position& _internal_p() const;
public:
const ::pb::Position& p() const;
::pb::Position* release_p();
::pb::Position* mutable_p();
void set_allocated_p(::pb::Position* p);
// int32 ActionData = 5;
private:
bool has_actiondata() const;
public:
void clear_actiondata();
static const int kActionDataFieldNumber = 5;
::google::protobuf::int32 actiondata() const;
void set_actiondata(::google::protobuf::int32 value);
void clear_Data();
DataCase Data_case() const;
// @@protoc_insertion_point(class_scope:pb.BroadCast)
private:
void set_has_content();
void set_has_p();
void set_has_actiondata();
inline bool has_Data() const;
inline void clear_has_Data();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr username_;
::google::protobuf::int32 pid_;
::google::protobuf::int32 tp_;
union DataUnion {
DataUnion() {}
::google::protobuf::internal::ArenaStringPtr content_;
::pb::Position* p_;
::google::protobuf::int32 actiondata_;
} Data_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::uint32 _oneof_case_[1];
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// -------------------------------------------------------------------
class Talk : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Talk) */ {
public:
Talk();
virtual ~Talk();
Talk(const Talk& from);
inline Talk& operator=(const Talk& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Talk(Talk&& from) noexcept
: Talk() {
*this = ::std::move(from);
}
inline Talk& operator=(Talk&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const Talk& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Talk* internal_default_instance() {
return reinterpret_cast<const Talk*>(
&_Talk_default_instance_);
}
static constexpr int kIndexInFileMessages =
6;
void Swap(Talk* other);
friend void swap(Talk& a, Talk& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Talk* New() const final {
return CreateMaybeMessage<Talk>(NULL);
}
Talk* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Talk>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const Talk& from);
void MergeFrom(const Talk& from);
void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Talk* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// string Content = 1;
void clear_content();
static const int kContentFieldNumber = 1;
const ::std::string& content() const;
void set_content(const ::std::string& value);
#if LANG_CXX11
void set_content(::std::string&& value);
#endif
void set_content(const char* value);
void set_content(const char* value, size_t size);
::std::string* mutable_content();
::std::string* release_content();
void set_allocated_content(::std::string* content);
// @@protoc_insertion_point(class_scope:pb.Talk)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr content_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// SyncPid
// int32 Pid = 1;
inline void SyncPid::clear_pid() {
pid_ = 0;
}