-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLessonFile.pb.h
More file actions
2473 lines (2200 loc) · 79.5 KB
/
Copy pathLessonFile.pb.h
File metadata and controls
2473 lines (2200 loc) · 79.5 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: LessonFile.proto
#ifndef PROTOBUF_LessonFile_2eproto__INCLUDED
#define PROTOBUF_LessonFile_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2004000
#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 2004001 < 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/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
// @@protoc_insertion_point(includes)
namespace Guitar_learning {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_LessonFile_2eproto();
void protobuf_AssignDesc_LessonFile_2eproto();
void protobuf_ShutdownFile_LessonFile_2eproto();
class LessonFile;
class LessonFile_Tone;
class LessonFile_Note;
class LessonFile_Bar;
class LessonFile_Track;
class LessonFile_bgMysic;
class LessonFile_Visuals;
class LessonFile_Lesson;
enum LessonFile_bgMysic_bgType {
LessonFile_bgMysic_bgType_NONE = 0,
LessonFile_bgMysic_bgType_WMA = 1,
LessonFile_bgMysic_bgType_MP3 = 2,
LessonFile_bgMysic_bgType_VORIBS = 3
};
bool LessonFile_bgMysic_bgType_IsValid(int value);
const LessonFile_bgMysic_bgType LessonFile_bgMysic_bgType_bgType_MIN = LessonFile_bgMysic_bgType_NONE;
const LessonFile_bgMysic_bgType LessonFile_bgMysic_bgType_bgType_MAX = LessonFile_bgMysic_bgType_VORIBS;
const int LessonFile_bgMysic_bgType_bgType_ARRAYSIZE = LessonFile_bgMysic_bgType_bgType_MAX + 1;
const ::google::protobuf::EnumDescriptor* LessonFile_bgMysic_bgType_descriptor();
inline const ::std::string& LessonFile_bgMysic_bgType_Name(LessonFile_bgMysic_bgType value) {
return ::google::protobuf::internal::NameOfEnum(
LessonFile_bgMysic_bgType_descriptor(), value);
}
inline bool LessonFile_bgMysic_bgType_Parse(
const ::std::string& name, LessonFile_bgMysic_bgType* value) {
return ::google::protobuf::internal::ParseNamedEnum<LessonFile_bgMysic_bgType>(
LessonFile_bgMysic_bgType_descriptor(), name, value);
}
enum LessonFile_Visuals_visualType {
LessonFile_Visuals_visualType_NONE = 0,
LessonFile_Visuals_visualType_WMV = 1,
LessonFile_Visuals_visualType_MPEG2 = 2,
LessonFile_Visuals_visualType_MPEG4 = 3,
LessonFile_Visuals_visualType_DIVX = 4,
LessonFile_Visuals_visualType_XVID = 5,
LessonFile_Visuals_visualType_X264 = 6
};
bool LessonFile_Visuals_visualType_IsValid(int value);
const LessonFile_Visuals_visualType LessonFile_Visuals_visualType_visualType_MIN = LessonFile_Visuals_visualType_NONE;
const LessonFile_Visuals_visualType LessonFile_Visuals_visualType_visualType_MAX = LessonFile_Visuals_visualType_X264;
const int LessonFile_Visuals_visualType_visualType_ARRAYSIZE = LessonFile_Visuals_visualType_visualType_MAX + 1;
const ::google::protobuf::EnumDescriptor* LessonFile_Visuals_visualType_descriptor();
inline const ::std::string& LessonFile_Visuals_visualType_Name(LessonFile_Visuals_visualType value) {
return ::google::protobuf::internal::NameOfEnum(
LessonFile_Visuals_visualType_descriptor(), value);
}
inline bool LessonFile_Visuals_visualType_Parse(
const ::std::string& name, LessonFile_Visuals_visualType* value) {
return ::google::protobuf::internal::ParseNamedEnum<LessonFile_Visuals_visualType>(
LessonFile_Visuals_visualType_descriptor(), name, value);
}
enum LessonFile_NoteLength {
LessonFile_NoteLength_nl64 = 1,
LessonFile_NoteLength_nl32 = 2,
LessonFile_NoteLength_nl16 = 4,
LessonFile_NoteLength_nl8 = 8,
LessonFile_NoteLength_nl4 = 16,
LessonFile_NoteLength_nl2 = 32,
LessonFile_NoteLength_nl1 = 64
};
bool LessonFile_NoteLength_IsValid(int value);
const LessonFile_NoteLength LessonFile_NoteLength_NoteLength_MIN = LessonFile_NoteLength_nl64;
const LessonFile_NoteLength LessonFile_NoteLength_NoteLength_MAX = LessonFile_NoteLength_nl1;
const int LessonFile_NoteLength_NoteLength_ARRAYSIZE = LessonFile_NoteLength_NoteLength_MAX + 1;
const ::google::protobuf::EnumDescriptor* LessonFile_NoteLength_descriptor();
inline const ::std::string& LessonFile_NoteLength_Name(LessonFile_NoteLength value) {
return ::google::protobuf::internal::NameOfEnum(
LessonFile_NoteLength_descriptor(), value);
}
inline bool LessonFile_NoteLength_Parse(
const ::std::string& name, LessonFile_NoteLength* value) {
return ::google::protobuf::internal::ParseNamedEnum<LessonFile_NoteLength>(
LessonFile_NoteLength_descriptor(), name, value);
}
enum LessonFile_ClefType {
LessonFile_ClefType_treble = 1,
LessonFile_ClefType_bass = 2
};
bool LessonFile_ClefType_IsValid(int value);
const LessonFile_ClefType LessonFile_ClefType_ClefType_MIN = LessonFile_ClefType_treble;
const LessonFile_ClefType LessonFile_ClefType_ClefType_MAX = LessonFile_ClefType_bass;
const int LessonFile_ClefType_ClefType_ARRAYSIZE = LessonFile_ClefType_ClefType_MAX + 1;
const ::google::protobuf::EnumDescriptor* LessonFile_ClefType_descriptor();
inline const ::std::string& LessonFile_ClefType_Name(LessonFile_ClefType value) {
return ::google::protobuf::internal::NameOfEnum(
LessonFile_ClefType_descriptor(), value);
}
inline bool LessonFile_ClefType_Parse(
const ::std::string& name, LessonFile_ClefType* value) {
return ::google::protobuf::internal::ParseNamedEnum<LessonFile_ClefType>(
LessonFile_ClefType_descriptor(), name, value);
}
// ===================================================================
class LessonFile_Tone : public ::google::protobuf::Message {
public:
LessonFile_Tone();
virtual ~LessonFile_Tone();
LessonFile_Tone(const LessonFile_Tone& from);
inline LessonFile_Tone& operator=(const LessonFile_Tone& 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 LessonFile_Tone& default_instance();
void Swap(LessonFile_Tone* other);
// implements Message ----------------------------------------------
LessonFile_Tone* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_Tone& from);
void MergeFrom(const LessonFile_Tone& 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 double pitch = 1;
inline bool has_pitch() const;
inline void clear_pitch();
static const int kPitchFieldNumber = 1;
inline double pitch() const;
inline void set_pitch(double value);
// optional uint32 str = 2 [default = 0];
inline bool has_str() const;
inline void clear_str();
static const int kStrFieldNumber = 2;
inline ::google::protobuf::uint32 str() const;
inline void set_str(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:Guitar_learning.LessonFile.Tone)
private:
inline void set_has_pitch();
inline void clear_has_pitch();
inline void set_has_str();
inline void clear_has_str();
::google::protobuf::UnknownFieldSet _unknown_fields_;
double pitch_;
::google::protobuf::uint32 str_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
friend void protobuf_AddDesc_LessonFile_2eproto();
friend void protobuf_AssignDesc_LessonFile_2eproto();
friend void protobuf_ShutdownFile_LessonFile_2eproto();
void InitAsDefaultInstance();
static LessonFile_Tone* default_instance_;
};
// -------------------------------------------------------------------
class LessonFile_Note : public ::google::protobuf::Message {
public:
LessonFile_Note();
virtual ~LessonFile_Note();
LessonFile_Note(const LessonFile_Note& from);
inline LessonFile_Note& operator=(const LessonFile_Note& 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 LessonFile_Note& default_instance();
void Swap(LessonFile_Note* other);
// implements Message ----------------------------------------------
LessonFile_Note* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_Note& from);
void MergeFrom(const LessonFile_Note& 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 .Guitar_learning.LessonFile.NoteLength length = 1;
inline bool has_length() const;
inline void clear_length();
static const int kLengthFieldNumber = 1;
inline ::Guitar_learning::LessonFile_NoteLength length() const;
inline void set_length(::Guitar_learning::LessonFile_NoteLength value);
// required uint32 extension = 2;
inline bool has_extension() const;
inline void clear_extension();
static const int kExtensionFieldNumber = 2;
inline ::google::protobuf::uint32 extension() const;
inline void set_extension(::google::protobuf::uint32 value);
// optional bool continueTo = 3;
inline bool has_continueto() const;
inline void clear_continueto();
static const int kContinueToFieldNumber = 3;
inline bool continueto() const;
inline void set_continueto(bool value);
// optional bool continuedFrom = 4;
inline bool has_continuedfrom() const;
inline void clear_continuedfrom();
static const int kContinuedFromFieldNumber = 4;
inline bool continuedfrom() const;
inline void set_continuedfrom(bool value);
// optional bool slideTo = 5;
inline bool has_slideto() const;
inline void clear_slideto();
static const int kSlideToFieldNumber = 5;
inline bool slideto() const;
inline void set_slideto(bool value);
// optional bool slidedFrom = 6;
inline bool has_slidedfrom() const;
inline void clear_slidedfrom();
static const int kSlidedFromFieldNumber = 6;
inline bool slidedfrom() const;
inline void set_slidedfrom(bool value);
// optional bool vibrato = 7;
inline bool has_vibrato() const;
inline void clear_vibrato();
static const int kVibratoFieldNumber = 7;
inline bool vibrato() const;
inline void set_vibrato(bool value);
// optional bool HO = 8;
inline bool has_ho() const;
inline void clear_ho();
static const int kHOFieldNumber = 8;
inline bool ho() const;
inline void set_ho(bool value);
// optional bool PO = 9;
inline bool has_po() const;
inline void clear_po();
static const int kPOFieldNumber = 9;
inline bool po() const;
inline void set_po(bool value);
// optional uint32 grouping = 10;
inline bool has_grouping() const;
inline void clear_grouping();
static const int kGroupingFieldNumber = 10;
inline ::google::protobuf::uint32 grouping() const;
inline void set_grouping(::google::protobuf::uint32 value);
// optional uint32 ungrouping = 11;
inline bool has_ungrouping() const;
inline void clear_ungrouping();
static const int kUngroupingFieldNumber = 11;
inline ::google::protobuf::uint32 ungrouping() const;
inline void set_ungrouping(::google::protobuf::uint32 value);
// optional bool in_group = 12;
inline bool has_in_group() const;
inline void clear_in_group();
static const int kInGroupFieldNumber = 12;
inline bool in_group() const;
inline void set_in_group(bool value);
// repeated .Guitar_learning.LessonFile.Tone tone = 13;
inline int tone_size() const;
inline void clear_tone();
static const int kToneFieldNumber = 13;
inline const ::Guitar_learning::LessonFile_Tone& tone(int index) const;
inline ::Guitar_learning::LessonFile_Tone* mutable_tone(int index);
inline ::Guitar_learning::LessonFile_Tone* add_tone();
inline const ::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Tone >&
tone() const;
inline ::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Tone >*
mutable_tone();
// @@protoc_insertion_point(class_scope:Guitar_learning.LessonFile.Note)
private:
inline void set_has_length();
inline void clear_has_length();
inline void set_has_extension();
inline void clear_has_extension();
inline void set_has_continueto();
inline void clear_has_continueto();
inline void set_has_continuedfrom();
inline void clear_has_continuedfrom();
inline void set_has_slideto();
inline void clear_has_slideto();
inline void set_has_slidedfrom();
inline void clear_has_slidedfrom();
inline void set_has_vibrato();
inline void clear_has_vibrato();
inline void set_has_ho();
inline void clear_has_ho();
inline void set_has_po();
inline void clear_has_po();
inline void set_has_grouping();
inline void clear_has_grouping();
inline void set_has_ungrouping();
inline void clear_has_ungrouping();
inline void set_has_in_group();
inline void clear_has_in_group();
::google::protobuf::UnknownFieldSet _unknown_fields_;
int length_;
::google::protobuf::uint32 extension_;
bool continueto_;
bool continuedfrom_;
bool slideto_;
bool slidedfrom_;
bool vibrato_;
bool ho_;
bool po_;
bool in_group_;
::google::protobuf::uint32 grouping_;
::google::protobuf::uint32 ungrouping_;
::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Tone > tone_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(13 + 31) / 32];
friend void protobuf_AddDesc_LessonFile_2eproto();
friend void protobuf_AssignDesc_LessonFile_2eproto();
friend void protobuf_ShutdownFile_LessonFile_2eproto();
void InitAsDefaultInstance();
static LessonFile_Note* default_instance_;
};
// -------------------------------------------------------------------
class LessonFile_Bar : public ::google::protobuf::Message {
public:
LessonFile_Bar();
virtual ~LessonFile_Bar();
LessonFile_Bar(const LessonFile_Bar& from);
inline LessonFile_Bar& operator=(const LessonFile_Bar& 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 LessonFile_Bar& default_instance();
void Swap(LessonFile_Bar* other);
// implements Message ----------------------------------------------
LessonFile_Bar* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_Bar& from);
void MergeFrom(const LessonFile_Bar& 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 -------------------------------------------------------
// optional uint32 id = 1;
inline bool has_id() const;
inline void clear_id();
static const int kIdFieldNumber = 1;
inline ::google::protobuf::uint32 id() const;
inline void set_id(::google::protobuf::uint32 value);
// optional uint32 length = 2;
inline bool has_length() const;
inline void clear_length();
static const int kLengthFieldNumber = 2;
inline ::google::protobuf::uint32 length() const;
inline void set_length(::google::protobuf::uint32 value);
// optional bool repeat_start = 3;
inline bool has_repeat_start() const;
inline void clear_repeat_start();
static const int kRepeatStartFieldNumber = 3;
inline bool repeat_start() const;
inline void set_repeat_start(bool value);
// optional uint32 repeat_end = 4 [default = 1];
inline bool has_repeat_end() const;
inline void clear_repeat_end();
static const int kRepeatEndFieldNumber = 4;
inline ::google::protobuf::uint32 repeat_end() const;
inline void set_repeat_end(::google::protobuf::uint32 value);
// optional uint32 next_repeat_ending = 5 [default = 0];
inline bool has_next_repeat_ending() const;
inline void clear_next_repeat_ending();
static const int kNextRepeatEndingFieldNumber = 5;
inline ::google::protobuf::uint32 next_repeat_ending() const;
inline void set_next_repeat_ending(::google::protobuf::uint32 value);
// optional string bar_chord = 6;
inline bool has_bar_chord() const;
inline void clear_bar_chord();
static const int kBarChordFieldNumber = 6;
inline const ::std::string& bar_chord() const;
inline void set_bar_chord(const ::std::string& value);
inline void set_bar_chord(const char* value);
inline void set_bar_chord(const char* value, size_t size);
inline ::std::string* mutable_bar_chord();
inline ::std::string* release_bar_chord();
// repeated .Guitar_learning.LessonFile.Note notes = 7;
inline int notes_size() const;
inline void clear_notes();
static const int kNotesFieldNumber = 7;
inline const ::Guitar_learning::LessonFile_Note& notes(int index) const;
inline ::Guitar_learning::LessonFile_Note* mutable_notes(int index);
inline ::Guitar_learning::LessonFile_Note* add_notes();
inline const ::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Note >&
notes() const;
inline ::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Note >*
mutable_notes();
// @@protoc_insertion_point(class_scope:Guitar_learning.LessonFile.Bar)
private:
inline void set_has_id();
inline void clear_has_id();
inline void set_has_length();
inline void clear_has_length();
inline void set_has_repeat_start();
inline void clear_has_repeat_start();
inline void set_has_repeat_end();
inline void clear_has_repeat_end();
inline void set_has_next_repeat_ending();
inline void clear_has_next_repeat_ending();
inline void set_has_bar_chord();
inline void clear_has_bar_chord();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::uint32 id_;
::google::protobuf::uint32 length_;
bool repeat_start_;
::google::protobuf::uint32 repeat_end_;
::std::string* bar_chord_;
::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Note > notes_;
::google::protobuf::uint32 next_repeat_ending_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
friend void protobuf_AddDesc_LessonFile_2eproto();
friend void protobuf_AssignDesc_LessonFile_2eproto();
friend void protobuf_ShutdownFile_LessonFile_2eproto();
void InitAsDefaultInstance();
static LessonFile_Bar* default_instance_;
};
// -------------------------------------------------------------------
class LessonFile_Track : public ::google::protobuf::Message {
public:
LessonFile_Track();
virtual ~LessonFile_Track();
LessonFile_Track(const LessonFile_Track& from);
inline LessonFile_Track& operator=(const LessonFile_Track& 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 LessonFile_Track& default_instance();
void Swap(LessonFile_Track* other);
// implements Message ----------------------------------------------
LessonFile_Track* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_Track& from);
void MergeFrom(const LessonFile_Track& 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 .Guitar_learning.LessonFile.ClefType clef = 1;
inline bool has_clef() const;
inline void clear_clef();
static const int kClefFieldNumber = 1;
inline ::Guitar_learning::LessonFile_ClefType clef() const;
inline void set_clef(::Guitar_learning::LessonFile_ClefType value);
// required uint32 beat_count = 2;
inline bool has_beat_count() const;
inline void clear_beat_count();
static const int kBeatCountFieldNumber = 2;
inline ::google::protobuf::uint32 beat_count() const;
inline void set_beat_count(::google::protobuf::uint32 value);
// required uint32 beat_length = 3;
inline bool has_beat_length() const;
inline void clear_beat_length();
static const int kBeatLengthFieldNumber = 3;
inline ::google::protobuf::uint32 beat_length() const;
inline void set_beat_length(::google::protobuf::uint32 value);
// repeated .Guitar_learning.LessonFile.Bar bars = 4;
inline int bars_size() const;
inline void clear_bars();
static const int kBarsFieldNumber = 4;
inline const ::Guitar_learning::LessonFile_Bar& bars(int index) const;
inline ::Guitar_learning::LessonFile_Bar* mutable_bars(int index);
inline ::Guitar_learning::LessonFile_Bar* add_bars();
inline const ::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Bar >&
bars() const;
inline ::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Bar >*
mutable_bars();
// @@protoc_insertion_point(class_scope:Guitar_learning.LessonFile.Track)
private:
inline void set_has_clef();
inline void clear_has_clef();
inline void set_has_beat_count();
inline void clear_has_beat_count();
inline void set_has_beat_length();
inline void clear_has_beat_length();
::google::protobuf::UnknownFieldSet _unknown_fields_;
int clef_;
::google::protobuf::uint32 beat_count_;
::google::protobuf::RepeatedPtrField< ::Guitar_learning::LessonFile_Bar > bars_;
::google::protobuf::uint32 beat_length_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
friend void protobuf_AddDesc_LessonFile_2eproto();
friend void protobuf_AssignDesc_LessonFile_2eproto();
friend void protobuf_ShutdownFile_LessonFile_2eproto();
void InitAsDefaultInstance();
static LessonFile_Track* default_instance_;
};
// -------------------------------------------------------------------
class LessonFile_bgMysic : public ::google::protobuf::Message {
public:
LessonFile_bgMysic();
virtual ~LessonFile_bgMysic();
LessonFile_bgMysic(const LessonFile_bgMysic& from);
inline LessonFile_bgMysic& operator=(const LessonFile_bgMysic& 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 LessonFile_bgMysic& default_instance();
void Swap(LessonFile_bgMysic* other);
// implements Message ----------------------------------------------
LessonFile_bgMysic* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_bgMysic& from);
void MergeFrom(const LessonFile_bgMysic& 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 LessonFile_bgMysic_bgType bgType;
static const bgType NONE = LessonFile_bgMysic_bgType_NONE;
static const bgType WMA = LessonFile_bgMysic_bgType_WMA;
static const bgType MP3 = LessonFile_bgMysic_bgType_MP3;
static const bgType VORIBS = LessonFile_bgMysic_bgType_VORIBS;
static inline bool bgType_IsValid(int value) {
return LessonFile_bgMysic_bgType_IsValid(value);
}
static const bgType bgType_MIN =
LessonFile_bgMysic_bgType_bgType_MIN;
static const bgType bgType_MAX =
LessonFile_bgMysic_bgType_bgType_MAX;
static const int bgType_ARRAYSIZE =
LessonFile_bgMysic_bgType_bgType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
bgType_descriptor() {
return LessonFile_bgMysic_bgType_descriptor();
}
static inline const ::std::string& bgType_Name(bgType value) {
return LessonFile_bgMysic_bgType_Name(value);
}
static inline bool bgType_Parse(const ::std::string& name,
bgType* value) {
return LessonFile_bgMysic_bgType_Parse(name, value);
}
// accessors -------------------------------------------------------
// required .Guitar_learning.LessonFile.bgMysic.bgType type = 1;
inline bool has_type() const;
inline void clear_type();
static const int kTypeFieldNumber = 1;
inline ::Guitar_learning::LessonFile_bgMysic_bgType type() const;
inline void set_type(::Guitar_learning::LessonFile_bgMysic_bgType value);
// optional bytes header = 2;
inline bool has_header() const;
inline void clear_header();
static const int kHeaderFieldNumber = 2;
inline const ::std::string& header() const;
inline void set_header(const ::std::string& value);
inline void set_header(const char* value);
inline void set_header(const void* value, size_t size);
inline ::std::string* mutable_header();
inline ::std::string* release_header();
// optional bytes data = 3;
inline bool has_data() const;
inline void clear_data();
static const int kDataFieldNumber = 3;
inline const ::std::string& data() const;
inline void set_data(const ::std::string& value);
inline void set_data(const char* value);
inline void set_data(const void* value, size_t size);
inline ::std::string* mutable_data();
inline ::std::string* release_data();
// @@protoc_insertion_point(class_scope:Guitar_learning.LessonFile.bgMysic)
private:
inline void set_has_type();
inline void clear_has_type();
inline void set_has_header();
inline void clear_has_header();
inline void set_has_data();
inline void clear_has_data();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* header_;
::std::string* data_;
int type_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
friend void protobuf_AddDesc_LessonFile_2eproto();
friend void protobuf_AssignDesc_LessonFile_2eproto();
friend void protobuf_ShutdownFile_LessonFile_2eproto();
void InitAsDefaultInstance();
static LessonFile_bgMysic* default_instance_;
};
// -------------------------------------------------------------------
class LessonFile_Visuals : public ::google::protobuf::Message {
public:
LessonFile_Visuals();
virtual ~LessonFile_Visuals();
LessonFile_Visuals(const LessonFile_Visuals& from);
inline LessonFile_Visuals& operator=(const LessonFile_Visuals& 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 LessonFile_Visuals& default_instance();
void Swap(LessonFile_Visuals* other);
// implements Message ----------------------------------------------
LessonFile_Visuals* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_Visuals& from);
void MergeFrom(const LessonFile_Visuals& 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 LessonFile_Visuals_visualType visualType;
static const visualType NONE = LessonFile_Visuals_visualType_NONE;
static const visualType WMV = LessonFile_Visuals_visualType_WMV;
static const visualType MPEG2 = LessonFile_Visuals_visualType_MPEG2;
static const visualType MPEG4 = LessonFile_Visuals_visualType_MPEG4;
static const visualType DIVX = LessonFile_Visuals_visualType_DIVX;
static const visualType XVID = LessonFile_Visuals_visualType_XVID;
static const visualType X264 = LessonFile_Visuals_visualType_X264;
static inline bool visualType_IsValid(int value) {
return LessonFile_Visuals_visualType_IsValid(value);
}
static const visualType visualType_MIN =
LessonFile_Visuals_visualType_visualType_MIN;
static const visualType visualType_MAX =
LessonFile_Visuals_visualType_visualType_MAX;
static const int visualType_ARRAYSIZE =
LessonFile_Visuals_visualType_visualType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
visualType_descriptor() {
return LessonFile_Visuals_visualType_descriptor();
}
static inline const ::std::string& visualType_Name(visualType value) {
return LessonFile_Visuals_visualType_Name(value);
}
static inline bool visualType_Parse(const ::std::string& name,
visualType* value) {
return LessonFile_Visuals_visualType_Parse(name, value);
}
// accessors -------------------------------------------------------
// required .Guitar_learning.LessonFile.Visuals.visualType type = 1;
inline bool has_type() const;
inline void clear_type();
static const int kTypeFieldNumber = 1;
inline ::Guitar_learning::LessonFile_Visuals_visualType type() const;
inline void set_type(::Guitar_learning::LessonFile_Visuals_visualType value);
// optional bytes header = 2;
inline bool has_header() const;
inline void clear_header();
static const int kHeaderFieldNumber = 2;
inline const ::std::string& header() const;
inline void set_header(const ::std::string& value);
inline void set_header(const char* value);
inline void set_header(const void* value, size_t size);
inline ::std::string* mutable_header();
inline ::std::string* release_header();
// optional bytes data = 3;
inline bool has_data() const;
inline void clear_data();
static const int kDataFieldNumber = 3;
inline const ::std::string& data() const;
inline void set_data(const ::std::string& value);
inline void set_data(const char* value);
inline void set_data(const void* value, size_t size);
inline ::std::string* mutable_data();
inline ::std::string* release_data();
// @@protoc_insertion_point(class_scope:Guitar_learning.LessonFile.Visuals)
private:
inline void set_has_type();
inline void clear_has_type();
inline void set_has_header();
inline void clear_has_header();
inline void set_has_data();
inline void clear_has_data();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* header_;
::std::string* data_;
int type_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
friend void protobuf_AddDesc_LessonFile_2eproto();
friend void protobuf_AssignDesc_LessonFile_2eproto();
friend void protobuf_ShutdownFile_LessonFile_2eproto();
void InitAsDefaultInstance();
static LessonFile_Visuals* default_instance_;
};
// -------------------------------------------------------------------
class LessonFile_Lesson : public ::google::protobuf::Message {
public:
LessonFile_Lesson();
virtual ~LessonFile_Lesson();
LessonFile_Lesson(const LessonFile_Lesson& from);
inline LessonFile_Lesson& operator=(const LessonFile_Lesson& 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 LessonFile_Lesson& default_instance();
void Swap(LessonFile_Lesson* other);
// implements Message ----------------------------------------------
LessonFile_Lesson* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const LessonFile_Lesson& from);