-
Notifications
You must be signed in to change notification settings - Fork 5
/
PRIME.pb.h
4366 lines (3875 loc) · 141 KB
/
PRIME.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: PRIME.proto
#ifndef PROTOBUF_PRIME_2eproto__INCLUDED
#define PROTOBUF_PRIME_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#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 2005000 < 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/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
namespace PRIME {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_PRIME_2eproto();
void protobuf_AssignDesc_PRIME_2eproto();
void protobuf_ShutdownFile_PRIME_2eproto();
class PRIMEMessage;
class PeerInfo;
class Reply;
class Reply_CSSIReply;
class Reply_PeerState;
class Reply_PRIMEState;
class Reply_P2PSIReply;
class Request;
class Request_CSSIRequest;
class Request_P2PSIRequest;
class Report;
class Report_DiffusionReport;
class Report_SwarmingReport;
class Report_AddDiffParentReport;
class Report_AddSwarmParentReport;
class Report_AddSwarmChildReport;
enum PRIMEMessage_MsgType {
PRIMEMessage_MsgType_PRIME_REPLY = 1,
PRIMEMessage_MsgType_PRIME_REQUEST = 2,
PRIMEMessage_MsgType_PRIME_REPORT = 3,
PRIMEMessage_MsgType_PRIME_HOLE_PUNCH = 4
};
bool PRIMEMessage_MsgType_IsValid(int value);
const PRIMEMessage_MsgType PRIMEMessage_MsgType_MsgType_MIN = PRIMEMessage_MsgType_PRIME_REPLY;
const PRIMEMessage_MsgType PRIMEMessage_MsgType_MsgType_MAX = PRIMEMessage_MsgType_PRIME_HOLE_PUNCH;
const int PRIMEMessage_MsgType_MsgType_ARRAYSIZE = PRIMEMessage_MsgType_MsgType_MAX + 1;
const ::google::protobuf::EnumDescriptor* PRIMEMessage_MsgType_descriptor();
inline const ::std::string& PRIMEMessage_MsgType_Name(PRIMEMessage_MsgType value) {
return ::google::protobuf::internal::NameOfEnum(
PRIMEMessage_MsgType_descriptor(), value);
}
inline bool PRIMEMessage_MsgType_Parse(
const ::std::string& name, PRIMEMessage_MsgType* value) {
return ::google::protobuf::internal::ParseNamedEnum<PRIMEMessage_MsgType>(
PRIMEMessage_MsgType_descriptor(), name, value);
}
enum Reply_ReplyType {
Reply_ReplyType_NULL_TYPE = 1,
Reply_ReplyType_CS_SESSION_INIT = 2,
Reply_ReplyType_P2P_SESSION_INIT = 3,
Reply_ReplyType_CS_SESSION_END = 4,
Reply_ReplyType_P2P_SESSION_END = 5,
Reply_ReplyType_SPEED_TEST = 6
};
bool Reply_ReplyType_IsValid(int value);
const Reply_ReplyType Reply_ReplyType_ReplyType_MIN = Reply_ReplyType_NULL_TYPE;
const Reply_ReplyType Reply_ReplyType_ReplyType_MAX = Reply_ReplyType_SPEED_TEST;
const int Reply_ReplyType_ReplyType_ARRAYSIZE = Reply_ReplyType_ReplyType_MAX + 1;
const ::google::protobuf::EnumDescriptor* Reply_ReplyType_descriptor();
inline const ::std::string& Reply_ReplyType_Name(Reply_ReplyType value) {
return ::google::protobuf::internal::NameOfEnum(
Reply_ReplyType_descriptor(), value);
}
inline bool Reply_ReplyType_Parse(
const ::std::string& name, Reply_ReplyType* value) {
return ::google::protobuf::internal::ParseNamedEnum<Reply_ReplyType>(
Reply_ReplyType_descriptor(), name, value);
}
enum Request_RequestType {
Request_RequestType_NULL_TYPE = 1,
Request_RequestType_CS_SESSION_INIT = 2,
Request_RequestType_P2P_SESSION_INIT = 3,
Request_RequestType_CS_SESSION_END = 4,
Request_RequestType_P2P_SESSION_END = 5,
Request_RequestType_SERVE_AS_SWARMING_PARENT = 6,
Request_RequestType_BECOME_SWARMING_CHILD = 7,
Request_RequestType_SERVE_AS_DIFFUSION_PARENT = 8,
Request_RequestType_BECOME_DIFFUSION_CHILD = 9
};
bool Request_RequestType_IsValid(int value);
const Request_RequestType Request_RequestType_RequestType_MIN = Request_RequestType_NULL_TYPE;
const Request_RequestType Request_RequestType_RequestType_MAX = Request_RequestType_BECOME_DIFFUSION_CHILD;
const int Request_RequestType_RequestType_ARRAYSIZE = Request_RequestType_RequestType_MAX + 1;
const ::google::protobuf::EnumDescriptor* Request_RequestType_descriptor();
inline const ::std::string& Request_RequestType_Name(Request_RequestType value) {
return ::google::protobuf::internal::NameOfEnum(
Request_RequestType_descriptor(), value);
}
inline bool Request_RequestType_Parse(
const ::std::string& name, Request_RequestType* value) {
return ::google::protobuf::internal::ParseNamedEnum<Request_RequestType>(
Request_RequestType_descriptor(), name, value);
}
enum Report_ReportType {
Report_ReportType_NULL_TYPE = 1,
Report_ReportType_SWARM_REPORT_TYPE = 2,
Report_ReportType_DIFF_REPORT_TYPE = 3,
Report_ReportType_ADD_DIFF_PARENT_TYPE = 4,
Report_ReportType_ADD_DIFF_CHILD_TYPE = 5,
Report_ReportType_ADD_SWARM_PARENT_TYPE = 6,
Report_ReportType_ADD_SWARM_CHILD_TYPE = 7
};
bool Report_ReportType_IsValid(int value);
const Report_ReportType Report_ReportType_ReportType_MIN = Report_ReportType_NULL_TYPE;
const Report_ReportType Report_ReportType_ReportType_MAX = Report_ReportType_ADD_SWARM_CHILD_TYPE;
const int Report_ReportType_ReportType_ARRAYSIZE = Report_ReportType_ReportType_MAX + 1;
const ::google::protobuf::EnumDescriptor* Report_ReportType_descriptor();
inline const ::std::string& Report_ReportType_Name(Report_ReportType value) {
return ::google::protobuf::internal::NameOfEnum(
Report_ReportType_descriptor(), value);
}
inline bool Report_ReportType_Parse(
const ::std::string& name, Report_ReportType* value) {
return ::google::protobuf::internal::ParseNamedEnum<Report_ReportType>(
Report_ReportType_descriptor(), name, value);
}
// ===================================================================
class PRIMEMessage : public ::google::protobuf::Message {
public:
PRIMEMessage();
virtual ~PRIMEMessage();
PRIMEMessage(const PRIMEMessage& from);
inline PRIMEMessage& operator=(const PRIMEMessage& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const PRIMEMessage& default_instance();
void Swap(PRIMEMessage* other);
// implements Message ----------------------------------------------
PRIMEMessage* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const PRIMEMessage& from);
void MergeFrom(const PRIMEMessage& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
typedef PRIMEMessage_MsgType MsgType;
static const MsgType PRIME_REPLY = PRIMEMessage_MsgType_PRIME_REPLY;
static const MsgType PRIME_REQUEST = PRIMEMessage_MsgType_PRIME_REQUEST;
static const MsgType PRIME_REPORT = PRIMEMessage_MsgType_PRIME_REPORT;
static const MsgType PRIME_HOLE_PUNCH = PRIMEMessage_MsgType_PRIME_HOLE_PUNCH;
static inline bool MsgType_IsValid(int value) {
return PRIMEMessage_MsgType_IsValid(value);
}
static const MsgType MsgType_MIN =
PRIMEMessage_MsgType_MsgType_MIN;
static const MsgType MsgType_MAX =
PRIMEMessage_MsgType_MsgType_MAX;
static const int MsgType_ARRAYSIZE =
PRIMEMessage_MsgType_MsgType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
MsgType_descriptor() {
return PRIMEMessage_MsgType_descriptor();
}
static inline const ::std::string& MsgType_Name(MsgType value) {
return PRIMEMessage_MsgType_Name(value);
}
static inline bool MsgType_Parse(const ::std::string& name,
MsgType* value) {
return PRIMEMessage_MsgType_Parse(name, value);
}
// accessors -------------------------------------------------------
// required .PRIME.PRIMEMessage.MsgType type = 1;
inline bool has_type() const;
inline void clear_type();
static const int kTypeFieldNumber = 1;
inline ::PRIME::PRIMEMessage_MsgType type() const;
inline void set_type(::PRIME::PRIMEMessage_MsgType value);
// optional .PRIME.Reply reply = 2;
inline bool has_reply() const;
inline void clear_reply();
static const int kReplyFieldNumber = 2;
inline const ::PRIME::Reply& reply() const;
inline ::PRIME::Reply* mutable_reply();
inline ::PRIME::Reply* release_reply();
inline void set_allocated_reply(::PRIME::Reply* reply);
// optional .PRIME.Request request = 3;
inline bool has_request() const;
inline void clear_request();
static const int kRequestFieldNumber = 3;
inline const ::PRIME::Request& request() const;
inline ::PRIME::Request* mutable_request();
inline ::PRIME::Request* release_request();
inline void set_allocated_request(::PRIME::Request* request);
// optional .PRIME.Report report = 4;
inline bool has_report() const;
inline void clear_report();
static const int kReportFieldNumber = 4;
inline const ::PRIME::Report& report() const;
inline ::PRIME::Report* mutable_report();
inline ::PRIME::Report* release_report();
inline void set_allocated_report(::PRIME::Report* report);
// optional string dummy = 5;
inline bool has_dummy() const;
inline void clear_dummy();
static const int kDummyFieldNumber = 5;
inline const ::std::string& dummy() const;
inline void set_dummy(const ::std::string& value);
inline void set_dummy(const char* value);
inline void set_dummy(const char* value, size_t size);
inline ::std::string* mutable_dummy();
inline ::std::string* release_dummy();
inline void set_allocated_dummy(::std::string* dummy);
// @@protoc_insertion_point(class_scope:PRIME.PRIMEMessage)
private:
inline void set_has_type();
inline void clear_has_type();
inline void set_has_reply();
inline void clear_has_reply();
inline void set_has_request();
inline void clear_has_request();
inline void set_has_report();
inline void clear_has_report();
inline void set_has_dummy();
inline void clear_has_dummy();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::PRIME::Reply* reply_;
::PRIME::Request* request_;
::PRIME::Report* report_;
::std::string* dummy_;
int type_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
friend void protobuf_AddDesc_PRIME_2eproto();
friend void protobuf_AssignDesc_PRIME_2eproto();
friend void protobuf_ShutdownFile_PRIME_2eproto();
void InitAsDefaultInstance();
static PRIMEMessage* default_instance_;
};
// -------------------------------------------------------------------
class PeerInfo : public ::google::protobuf::Message {
public:
PeerInfo();
virtual ~PeerInfo();
PeerInfo(const PeerInfo& from);
inline PeerInfo& operator=(const PeerInfo& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const PeerInfo& default_instance();
void Swap(PeerInfo* other);
// implements Message ----------------------------------------------
PeerInfo* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const PeerInfo& from);
void MergeFrom(const PeerInfo& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required string ipAddr = 1;
inline bool has_ipaddr() const;
inline void clear_ipaddr();
static const int kIpAddrFieldNumber = 1;
inline const ::std::string& ipaddr() const;
inline void set_ipaddr(const ::std::string& value);
inline void set_ipaddr(const char* value);
inline void set_ipaddr(const char* value, size_t size);
inline ::std::string* mutable_ipaddr();
inline ::std::string* release_ipaddr();
inline void set_allocated_ipaddr(::std::string* ipaddr);
// required int32 repPort = 2;
inline bool has_repport() const;
inline void clear_repport();
static const int kRepPortFieldNumber = 2;
inline ::google::protobuf::int32 repport() const;
inline void set_repport(::google::protobuf::int32 value);
// required int32 rtpPort = 3;
inline bool has_rtpport() const;
inline void clear_rtpport();
static const int kRtpPortFieldNumber = 3;
inline ::google::protobuf::int32 rtpport() const;
inline void set_rtpport(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:PRIME.PeerInfo)
private:
inline void set_has_ipaddr();
inline void clear_has_ipaddr();
inline void set_has_repport();
inline void clear_has_repport();
inline void set_has_rtpport();
inline void clear_has_rtpport();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* ipaddr_;
::google::protobuf::int32 repport_;
::google::protobuf::int32 rtpport_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
friend void protobuf_AddDesc_PRIME_2eproto();
friend void protobuf_AssignDesc_PRIME_2eproto();
friend void protobuf_ShutdownFile_PRIME_2eproto();
void InitAsDefaultInstance();
static PeerInfo* default_instance_;
};
// -------------------------------------------------------------------
class Reply_CSSIReply : public ::google::protobuf::Message {
public:
Reply_CSSIReply();
virtual ~Reply_CSSIReply();
Reply_CSSIReply(const Reply_CSSIReply& from);
inline Reply_CSSIReply& operator=(const Reply_CSSIReply& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const Reply_CSSIReply& default_instance();
void Swap(Reply_CSSIReply* other);
// implements Message ----------------------------------------------
Reply_CSSIReply* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const Reply_CSSIReply& from);
void MergeFrom(const Reply_CSSIReply& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required int32 streamPort = 1;
inline bool has_streamport() const;
inline void clear_streamport();
static const int kStreamPortFieldNumber = 1;
inline ::google::protobuf::int32 streamport() const;
inline void set_streamport(::google::protobuf::int32 value);
// required string sdp = 2;
inline bool has_sdp() const;
inline void clear_sdp();
static const int kSdpFieldNumber = 2;
inline const ::std::string& sdp() const;
inline void set_sdp(const ::std::string& value);
inline void set_sdp(const char* value);
inline void set_sdp(const char* value, size_t size);
inline ::std::string* mutable_sdp();
inline ::std::string* release_sdp();
inline void set_allocated_sdp(::std::string* sdp);
// required int32 maxFrameCount = 3;
inline bool has_maxframecount() const;
inline void clear_maxframecount();
static const int kMaxFrameCountFieldNumber = 3;
inline ::google::protobuf::int32 maxframecount() const;
inline void set_maxframecount(::google::protobuf::int32 value);
// required int32 width = 4;
inline bool has_width() const;
inline void clear_width();
static const int kWidthFieldNumber = 4;
inline ::google::protobuf::int32 width() const;
inline void set_width(::google::protobuf::int32 value);
// required int32 height = 5;
inline bool has_height() const;
inline void clear_height();
static const int kHeightFieldNumber = 5;
inline ::google::protobuf::int32 height() const;
inline void set_height(::google::protobuf::int32 value);
// required int32 pixFmt = 6;
inline bool has_pixfmt() const;
inline void clear_pixfmt();
static const int kPixFmtFieldNumber = 6;
inline ::google::protobuf::int32 pixfmt() const;
inline void set_pixfmt(::google::protobuf::int32 value);
// required .PRIME.PeerInfo diffParent = 7;
inline bool has_diffparent() const;
inline void clear_diffparent();
static const int kDiffParentFieldNumber = 7;
inline const ::PRIME::PeerInfo& diffparent() const;
inline ::PRIME::PeerInfo* mutable_diffparent();
inline ::PRIME::PeerInfo* release_diffparent();
inline void set_allocated_diffparent(::PRIME::PeerInfo* diffparent);
// @@protoc_insertion_point(class_scope:PRIME.Reply.CSSIReply)
private:
inline void set_has_streamport();
inline void clear_has_streamport();
inline void set_has_sdp();
inline void clear_has_sdp();
inline void set_has_maxframecount();
inline void clear_has_maxframecount();
inline void set_has_width();
inline void clear_has_width();
inline void set_has_height();
inline void clear_has_height();
inline void set_has_pixfmt();
inline void clear_has_pixfmt();
inline void set_has_diffparent();
inline void clear_has_diffparent();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* sdp_;
::google::protobuf::int32 streamport_;
::google::protobuf::int32 maxframecount_;
::google::protobuf::int32 width_;
::google::protobuf::int32 height_;
::PRIME::PeerInfo* diffparent_;
::google::protobuf::int32 pixfmt_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
friend void protobuf_AddDesc_PRIME_2eproto();
friend void protobuf_AssignDesc_PRIME_2eproto();
friend void protobuf_ShutdownFile_PRIME_2eproto();
void InitAsDefaultInstance();
static Reply_CSSIReply* default_instance_;
};
// -------------------------------------------------------------------
class Reply_PeerState : public ::google::protobuf::Message {
public:
Reply_PeerState();
virtual ~Reply_PeerState();
Reply_PeerState(const Reply_PeerState& from);
inline Reply_PeerState& operator=(const Reply_PeerState& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const Reply_PeerState& default_instance();
void Swap(Reply_PeerState* other);
// implements Message ----------------------------------------------
Reply_PeerState* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const Reply_PeerState& from);
void MergeFrom(const Reply_PeerState& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required .PRIME.PeerInfo dest = 1;
inline bool has_dest() const;
inline void clear_dest();
static const int kDestFieldNumber = 1;
inline const ::PRIME::PeerInfo& dest() const;
inline ::PRIME::PeerInfo* mutable_dest();
inline ::PRIME::PeerInfo* release_dest();
inline void set_allocated_dest(::PRIME::PeerInfo* dest);
// repeated .PRIME.PeerInfo diffParents = 2;
inline int diffparents_size() const;
inline void clear_diffparents();
static const int kDiffParentsFieldNumber = 2;
inline const ::PRIME::PeerInfo& diffparents(int index) const;
inline ::PRIME::PeerInfo* mutable_diffparents(int index);
inline ::PRIME::PeerInfo* add_diffparents();
inline const ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >&
diffparents() const;
inline ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >*
mutable_diffparents();
// repeated .PRIME.PeerInfo diffChildren = 3;
inline int diffchildren_size() const;
inline void clear_diffchildren();
static const int kDiffChildrenFieldNumber = 3;
inline const ::PRIME::PeerInfo& diffchildren(int index) const;
inline ::PRIME::PeerInfo* mutable_diffchildren(int index);
inline ::PRIME::PeerInfo* add_diffchildren();
inline const ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >&
diffchildren() const;
inline ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >*
mutable_diffchildren();
// repeated .PRIME.PeerInfo swarmParents = 4;
inline int swarmparents_size() const;
inline void clear_swarmparents();
static const int kSwarmParentsFieldNumber = 4;
inline const ::PRIME::PeerInfo& swarmparents(int index) const;
inline ::PRIME::PeerInfo* mutable_swarmparents(int index);
inline ::PRIME::PeerInfo* add_swarmparents();
inline const ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >&
swarmparents() const;
inline ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >*
mutable_swarmparents();
// repeated .PRIME.PeerInfo swarmChildren = 5;
inline int swarmchildren_size() const;
inline void clear_swarmchildren();
static const int kSwarmChildrenFieldNumber = 5;
inline const ::PRIME::PeerInfo& swarmchildren(int index) const;
inline ::PRIME::PeerInfo* mutable_swarmchildren(int index);
inline ::PRIME::PeerInfo* add_swarmchildren();
inline const ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >&
swarmchildren() const;
inline ::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo >*
mutable_swarmchildren();
// @@protoc_insertion_point(class_scope:PRIME.Reply.PeerState)
private:
inline void set_has_dest();
inline void clear_has_dest();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::PRIME::PeerInfo* dest_;
::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo > diffparents_;
::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo > diffchildren_;
::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo > swarmparents_;
::google::protobuf::RepeatedPtrField< ::PRIME::PeerInfo > swarmchildren_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
friend void protobuf_AddDesc_PRIME_2eproto();
friend void protobuf_AssignDesc_PRIME_2eproto();
friend void protobuf_ShutdownFile_PRIME_2eproto();
void InitAsDefaultInstance();
static Reply_PeerState* default_instance_;
};
// -------------------------------------------------------------------
class Reply_PRIMEState : public ::google::protobuf::Message {
public:
Reply_PRIMEState();
virtual ~Reply_PRIMEState();
Reply_PRIMEState(const Reply_PRIMEState& from);
inline Reply_PRIMEState& operator=(const Reply_PRIMEState& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const Reply_PRIMEState& default_instance();
void Swap(Reply_PRIMEState* other);
// implements Message ----------------------------------------------
Reply_PRIMEState* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const Reply_PRIMEState& from);
void MergeFrom(const Reply_PRIMEState& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated .PRIME.Reply.PeerState nodes = 1;
inline int nodes_size() const;
inline void clear_nodes();
static const int kNodesFieldNumber = 1;
inline const ::PRIME::Reply_PeerState& nodes(int index) const;
inline ::PRIME::Reply_PeerState* mutable_nodes(int index);
inline ::PRIME::Reply_PeerState* add_nodes();
inline const ::google::protobuf::RepeatedPtrField< ::PRIME::Reply_PeerState >&
nodes() const;
inline ::google::protobuf::RepeatedPtrField< ::PRIME::Reply_PeerState >*
mutable_nodes();
// @@protoc_insertion_point(class_scope:PRIME.Reply.PRIMEState)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::RepeatedPtrField< ::PRIME::Reply_PeerState > nodes_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
friend void protobuf_AddDesc_PRIME_2eproto();
friend void protobuf_AssignDesc_PRIME_2eproto();
friend void protobuf_ShutdownFile_PRIME_2eproto();
void InitAsDefaultInstance();
static Reply_PRIMEState* default_instance_;
};
// -------------------------------------------------------------------
class Reply_P2PSIReply : public ::google::protobuf::Message {
public:
Reply_P2PSIReply();
virtual ~Reply_P2PSIReply();
Reply_P2PSIReply(const Reply_P2PSIReply& from);
inline Reply_P2PSIReply& operator=(const Reply_P2PSIReply& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const Reply_P2PSIReply& default_instance();
void Swap(Reply_P2PSIReply* other);
// implements Message ----------------------------------------------
Reply_P2PSIReply* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const Reply_P2PSIReply& from);
void MergeFrom(const Reply_P2PSIReply& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required int32 streamPort = 1;
inline bool has_streamport() const;
inline void clear_streamport();
static const int kStreamPortFieldNumber = 1;
inline ::google::protobuf::int32 streamport() const;
inline void set_streamport(::google::protobuf::int32 value);
// required string sdp = 2;
inline bool has_sdp() const;
inline void clear_sdp();
static const int kSdpFieldNumber = 2;
inline const ::std::string& sdp() const;
inline void set_sdp(const ::std::string& value);
inline void set_sdp(const char* value);
inline void set_sdp(const char* value, size_t size);
inline ::std::string* mutable_sdp();
inline ::std::string* release_sdp();
inline void set_allocated_sdp(::std::string* sdp);
// required int32 maxFrameCount = 3;
inline bool has_maxframecount() const;
inline void clear_maxframecount();
static const int kMaxFrameCountFieldNumber = 3;
inline ::google::protobuf::int32 maxframecount() const;
inline void set_maxframecount(::google::protobuf::int32 value);
// required int32 width = 4;
inline bool has_width() const;
inline void clear_width();
static const int kWidthFieldNumber = 4;
inline ::google::protobuf::int32 width() const;
inline void set_width(::google::protobuf::int32 value);
// required int32 height = 5;
inline bool has_height() const;
inline void clear_height();
static const int kHeightFieldNumber = 5;
inline ::google::protobuf::int32 height() const;
inline void set_height(::google::protobuf::int32 value);
// required int32 pixFmt = 6;
inline bool has_pixfmt() const;
inline void clear_pixfmt();
static const int kPixFmtFieldNumber = 6;
inline ::google::protobuf::int32 pixfmt() const;
inline void set_pixfmt(::google::protobuf::int32 value);
// required .PRIME.PeerInfo diffParent = 7;
inline bool has_diffparent() const;
inline void clear_diffparent();
static const int kDiffParentFieldNumber = 7;
inline const ::PRIME::PeerInfo& diffparent() const;
inline ::PRIME::PeerInfo* mutable_diffparent();
inline ::PRIME::PeerInfo* release_diffparent();
inline void set_allocated_diffparent(::PRIME::PeerInfo* diffparent);
// @@protoc_insertion_point(class_scope:PRIME.Reply.P2PSIReply)
private:
inline void set_has_streamport();
inline void clear_has_streamport();
inline void set_has_sdp();
inline void clear_has_sdp();
inline void set_has_maxframecount();
inline void clear_has_maxframecount();
inline void set_has_width();
inline void clear_has_width();
inline void set_has_height();
inline void clear_has_height();
inline void set_has_pixfmt();
inline void clear_has_pixfmt();
inline void set_has_diffparent();
inline void clear_has_diffparent();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* sdp_;
::google::protobuf::int32 streamport_;
::google::protobuf::int32 maxframecount_;
::google::protobuf::int32 width_;
::google::protobuf::int32 height_;
::PRIME::PeerInfo* diffparent_;
::google::protobuf::int32 pixfmt_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
friend void protobuf_AddDesc_PRIME_2eproto();
friend void protobuf_AssignDesc_PRIME_2eproto();
friend void protobuf_ShutdownFile_PRIME_2eproto();
void InitAsDefaultInstance();
static Reply_P2PSIReply* default_instance_;
};
// -------------------------------------------------------------------
class Reply : public ::google::protobuf::Message {
public:
Reply();
virtual ~Reply();
Reply(const Reply& from);
inline Reply& operator=(const Reply& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const Reply& default_instance();
void Swap(Reply* other);
// implements Message ----------------------------------------------
Reply* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const Reply& from);
void MergeFrom(const Reply& 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;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
typedef Reply_CSSIReply CSSIReply;
typedef Reply_PeerState PeerState;
typedef Reply_PRIMEState PRIMEState;
typedef Reply_P2PSIReply P2PSIReply;
typedef Reply_ReplyType ReplyType;
static const ReplyType NULL_TYPE = Reply_ReplyType_NULL_TYPE;
static const ReplyType CS_SESSION_INIT = Reply_ReplyType_CS_SESSION_INIT;
static const ReplyType P2P_SESSION_INIT = Reply_ReplyType_P2P_SESSION_INIT;
static const ReplyType CS_SESSION_END = Reply_ReplyType_CS_SESSION_END;
static const ReplyType P2P_SESSION_END = Reply_ReplyType_P2P_SESSION_END;
static const ReplyType SPEED_TEST = Reply_ReplyType_SPEED_TEST;
static inline bool ReplyType_IsValid(int value) {
return Reply_ReplyType_IsValid(value);