/
TestMessagesProto2.cs
5403 lines (5059 loc) · 233 KB
/
TestMessagesProto2.cs
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
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/test_messages_proto2.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace ProtobufTestMessages.Proto2 {
/// <summary>Holder for reflection information generated from google/protobuf/test_messages_proto2.proto</summary>
public static partial class TestMessagesProto2Reflection {
#region Descriptor
/// <summary>File descriptor for google/protobuf/test_messages_proto2.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static TestMessagesProto2Reflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cipnb29nbGUvcHJvdG9idWYvdGVzdF9tZXNzYWdlc19wcm90bzIucHJvdG8S",
"HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yIv45ChJUZXN0QWxsVHlw",
"ZXNQcm90bzISFgoOb3B0aW9uYWxfaW50MzIYASABKAUSFgoOb3B0aW9uYWxf",
"aW50NjQYAiABKAMSFwoPb3B0aW9uYWxfdWludDMyGAMgASgNEhcKD29wdGlv",
"bmFsX3VpbnQ2NBgEIAEoBBIXCg9vcHRpb25hbF9zaW50MzIYBSABKBESFwoP",
"b3B0aW9uYWxfc2ludDY0GAYgASgSEhgKEG9wdGlvbmFsX2ZpeGVkMzIYByAB",
"KAcSGAoQb3B0aW9uYWxfZml4ZWQ2NBgIIAEoBhIZChFvcHRpb25hbF9zZml4",
"ZWQzMhgJIAEoDxIZChFvcHRpb25hbF9zZml4ZWQ2NBgKIAEoEBIWCg5vcHRp",
"b25hbF9mbG9hdBgLIAEoAhIXCg9vcHRpb25hbF9kb3VibGUYDCABKAESFQoN",
"b3B0aW9uYWxfYm9vbBgNIAEoCBIXCg9vcHRpb25hbF9zdHJpbmcYDiABKAkS",
"FgoOb3B0aW9uYWxfYnl0ZXMY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cm90bzJIAfgB",
"AQ=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Proto2.ForeignEnumProto2), }, new pb::Extension[] { TestMessagesProto2Extensions.ExtensionInt32 }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "Data", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null),
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data.Parser, new[]{ "GroupInt32", "GroupUint32" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Parser, new[]{ "Str" }, null, null, new pb::Extension[] { global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Extensions.MessageSetExtension }, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2.Parser, new[]{ "I" }, null, null, new pb::Extension[] { global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension2.Extensions.MessageSetExtension }, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.ForeignMessageProto2), global::ProtobufTestMessages.Proto2.ForeignMessageProto2.Parser, new[]{ "C" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalString", "NestedMessage", "OptionalGroup", "OptionalBool", "RepeatedInt32" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup.Parser, new[]{ "A" }, null, null, null, null)})
}));
}
#endregion
}
/// <summary>Holder for extension identifiers generated from the top level of google/protobuf/test_messages_proto2.proto</summary>
public static partial class TestMessagesProto2Extensions {
public static readonly pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2, int> ExtensionInt32 =
new pb::Extension<global::ProtobufTestMessages.Proto2.TestAllTypesProto2, int>(120, pb::FieldCodec.ForInt32(960, 0));
}
#region Enums
public enum ForeignEnumProto2 {
[pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0,
[pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1,
[pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2,
}
#endregion
#region Messages
/// <summary>
/// This proto includes every type of field in both singular and repeated
/// forms.
///
/// Also, crucially, all messages and enums in this file are eventually
/// submessages of this message. So for example, a fuzz test of TestAllTypes
/// could trigger bugs that occur in any message type in this file. We verify
/// this stays true in a unit test.
/// </summary>
public sealed partial class TestAllTypesProto2 : pb::IExtendableMessage<TestAllTypesProto2> {
private static readonly pb::MessageParser<TestAllTypesProto2> _parser = new pb::MessageParser<TestAllTypesProto2>(() => new TestAllTypesProto2());
private pb::UnknownFieldSet _unknownFields;
private pb::ExtensionSet<TestAllTypesProto2> _extensions;
private pb::ExtensionSet<TestAllTypesProto2> _Extensions { get { return _extensions; } }
private int _hasBits0;
private int _hasBits1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<TestAllTypesProto2> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::ProtobufTestMessages.Proto2.TestMessagesProto2Reflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestAllTypesProto2() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestAllTypesProto2(TestAllTypesProto2 other) : this() {
_hasBits0 = other._hasBits0;
_hasBits1 = other._hasBits1;
optionalInt32_ = other.optionalInt32_;
optionalInt64_ = other.optionalInt64_;
optionalUint32_ = other.optionalUint32_;
optionalUint64_ = other.optionalUint64_;
optionalSint32_ = other.optionalSint32_;
optionalSint64_ = other.optionalSint64_;
optionalFixed32_ = other.optionalFixed32_;
optionalFixed64_ = other.optionalFixed64_;
optionalSfixed32_ = other.optionalSfixed32_;
optionalSfixed64_ = other.optionalSfixed64_;
optionalFloat_ = other.optionalFloat_;
optionalDouble_ = other.optionalDouble_;
optionalBool_ = other.optionalBool_;
optionalString_ = other.optionalString_;
optionalBytes_ = other.optionalBytes_;
optionalNestedMessage_ = other.HasOptionalNestedMessage ? other.optionalNestedMessage_.Clone() : null;
optionalForeignMessage_ = other.HasOptionalForeignMessage ? other.optionalForeignMessage_.Clone() : null;
optionalNestedEnum_ = other.optionalNestedEnum_;
optionalForeignEnum_ = other.optionalForeignEnum_;
optionalStringPiece_ = other.optionalStringPiece_;
optionalCord_ = other.optionalCord_;
recursiveMessage_ = other.HasRecursiveMessage ? other.recursiveMessage_.Clone() : null;
repeatedInt32_ = other.repeatedInt32_.Clone();
repeatedInt64_ = other.repeatedInt64_.Clone();
repeatedUint32_ = other.repeatedUint32_.Clone();
repeatedUint64_ = other.repeatedUint64_.Clone();
repeatedSint32_ = other.repeatedSint32_.Clone();
repeatedSint64_ = other.repeatedSint64_.Clone();
repeatedFixed32_ = other.repeatedFixed32_.Clone();
repeatedFixed64_ = other.repeatedFixed64_.Clone();
repeatedSfixed32_ = other.repeatedSfixed32_.Clone();
repeatedSfixed64_ = other.repeatedSfixed64_.Clone();
repeatedFloat_ = other.repeatedFloat_.Clone();
repeatedDouble_ = other.repeatedDouble_.Clone();
repeatedBool_ = other.repeatedBool_.Clone();
repeatedString_ = other.repeatedString_.Clone();
repeatedBytes_ = other.repeatedBytes_.Clone();
repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone();
repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone();
repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone();
repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone();
repeatedStringPiece_ = other.repeatedStringPiece_.Clone();
repeatedCord_ = other.repeatedCord_.Clone();
packedInt32_ = other.packedInt32_.Clone();
packedInt64_ = other.packedInt64_.Clone();
packedUint32_ = other.packedUint32_.Clone();
packedUint64_ = other.packedUint64_.Clone();
packedSint32_ = other.packedSint32_.Clone();
packedSint64_ = other.packedSint64_.Clone();
packedFixed32_ = other.packedFixed32_.Clone();
packedFixed64_ = other.packedFixed64_.Clone();
packedSfixed32_ = other.packedSfixed32_.Clone();
packedSfixed64_ = other.packedSfixed64_.Clone();
packedFloat_ = other.packedFloat_.Clone();
packedDouble_ = other.packedDouble_.Clone();
packedBool_ = other.packedBool_.Clone();
packedNestedEnum_ = other.packedNestedEnum_.Clone();
unpackedInt32_ = other.unpackedInt32_.Clone();
unpackedInt64_ = other.unpackedInt64_.Clone();
unpackedUint32_ = other.unpackedUint32_.Clone();
unpackedUint64_ = other.unpackedUint64_.Clone();
unpackedSint32_ = other.unpackedSint32_.Clone();
unpackedSint64_ = other.unpackedSint64_.Clone();
unpackedFixed32_ = other.unpackedFixed32_.Clone();
unpackedFixed64_ = other.unpackedFixed64_.Clone();
unpackedSfixed32_ = other.unpackedSfixed32_.Clone();
unpackedSfixed64_ = other.unpackedSfixed64_.Clone();
unpackedFloat_ = other.unpackedFloat_.Clone();
unpackedDouble_ = other.unpackedDouble_.Clone();
unpackedBool_ = other.unpackedBool_.Clone();
unpackedNestedEnum_ = other.unpackedNestedEnum_.Clone();
mapInt32Int32_ = other.mapInt32Int32_.Clone();
mapInt64Int64_ = other.mapInt64Int64_.Clone();
mapUint32Uint32_ = other.mapUint32Uint32_.Clone();
mapUint64Uint64_ = other.mapUint64Uint64_.Clone();
mapSint32Sint32_ = other.mapSint32Sint32_.Clone();
mapSint64Sint64_ = other.mapSint64Sint64_.Clone();
mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone();
mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone();
mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone();
mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone();
mapInt32Float_ = other.mapInt32Float_.Clone();
mapInt32Double_ = other.mapInt32Double_.Clone();
mapBoolBool_ = other.mapBoolBool_.Clone();
mapStringString_ = other.mapStringString_.Clone();
mapStringBytes_ = other.mapStringBytes_.Clone();
mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone();
mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone();
mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone();
mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone();
data_ = other.HasData ? other.data_.Clone() : null;
fieldname1_ = other.fieldname1_;
fieldName2_ = other.fieldName2_;
FieldName3_ = other.FieldName3_;
fieldName4_ = other.fieldName4_;
field0Name5_ = other.field0Name5_;
field0Name6_ = other.field0Name6_;
fieldName7_ = other.fieldName7_;
fieldName8_ = other.fieldName8_;
fieldName9_ = other.fieldName9_;
fieldName10_ = other.fieldName10_;
fIELDNAME11_ = other.fIELDNAME11_;
fIELDName12_ = other.fIELDName12_;
FieldName13_ = other.FieldName13_;
FieldName14_ = other.FieldName14_;
fieldName15_ = other.fieldName15_;
fieldName16_ = other.fieldName16_;
fieldName17_ = other.fieldName17_;
fieldName18_ = other.fieldName18_;
switch (other.OneofFieldCase) {
case OneofFieldOneofCase.OneofUint32:
OneofUint32 = other.OneofUint32;
break;
case OneofFieldOneofCase.OneofNestedMessage:
OneofNestedMessage = other.OneofNestedMessage.Clone();
break;
case OneofFieldOneofCase.OneofString:
OneofString = other.OneofString;
break;
case OneofFieldOneofCase.OneofBytes:
OneofBytes = other.OneofBytes;
break;
case OneofFieldOneofCase.OneofBool:
OneofBool = other.OneofBool;
break;
case OneofFieldOneofCase.OneofUint64:
OneofUint64 = other.OneofUint64;
break;
case OneofFieldOneofCase.OneofFloat:
OneofFloat = other.OneofFloat;
break;
case OneofFieldOneofCase.OneofDouble:
OneofDouble = other.OneofDouble;
break;
case OneofFieldOneofCase.OneofEnum:
OneofEnum = other.OneofEnum;
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
_extensions = pb::ExtensionSet.Clone(other._extensions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TestAllTypesProto2 Clone() {
return new TestAllTypesProto2(this);
}
/// <summary>Field number for the "optional_int32" field.</summary>
public const int OptionalInt32FieldNumber = 1;
private readonly static int OptionalInt32DefaultValue = 0;
private int optionalInt32_;
/// <summary>
/// Singular
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int OptionalInt32 {
get { if ((_hasBits0 & 1) != 0) { return optionalInt32_; } else { return OptionalInt32DefaultValue; } }
set {
_hasBits0 |= 1;
optionalInt32_ = value;
}
}
/// <summary>Gets whether the "optional_int32" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalInt32 {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "optional_int32" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalInt32() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "optional_int64" field.</summary>
public const int OptionalInt64FieldNumber = 2;
private readonly static long OptionalInt64DefaultValue = 0L;
private long optionalInt64_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long OptionalInt64 {
get { if ((_hasBits0 & 2) != 0) { return optionalInt64_; } else { return OptionalInt64DefaultValue; } }
set {
_hasBits0 |= 2;
optionalInt64_ = value;
}
}
/// <summary>Gets whether the "optional_int64" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalInt64 {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "optional_int64" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalInt64() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "optional_uint32" field.</summary>
public const int OptionalUint32FieldNumber = 3;
private readonly static uint OptionalUint32DefaultValue = 0;
private uint optionalUint32_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint OptionalUint32 {
get { if ((_hasBits0 & 4) != 0) { return optionalUint32_; } else { return OptionalUint32DefaultValue; } }
set {
_hasBits0 |= 4;
optionalUint32_ = value;
}
}
/// <summary>Gets whether the "optional_uint32" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalUint32 {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "optional_uint32" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalUint32() {
_hasBits0 &= ~4;
}
/// <summary>Field number for the "optional_uint64" field.</summary>
public const int OptionalUint64FieldNumber = 4;
private readonly static ulong OptionalUint64DefaultValue = 0UL;
private ulong optionalUint64_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong OptionalUint64 {
get { if ((_hasBits0 & 8) != 0) { return optionalUint64_; } else { return OptionalUint64DefaultValue; } }
set {
_hasBits0 |= 8;
optionalUint64_ = value;
}
}
/// <summary>Gets whether the "optional_uint64" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalUint64 {
get { return (_hasBits0 & 8) != 0; }
}
/// <summary>Clears the value of the "optional_uint64" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalUint64() {
_hasBits0 &= ~8;
}
/// <summary>Field number for the "optional_sint32" field.</summary>
public const int OptionalSint32FieldNumber = 5;
private readonly static int OptionalSint32DefaultValue = 0;
private int optionalSint32_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int OptionalSint32 {
get { if ((_hasBits0 & 16) != 0) { return optionalSint32_; } else { return OptionalSint32DefaultValue; } }
set {
_hasBits0 |= 16;
optionalSint32_ = value;
}
}
/// <summary>Gets whether the "optional_sint32" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalSint32 {
get { return (_hasBits0 & 16) != 0; }
}
/// <summary>Clears the value of the "optional_sint32" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalSint32() {
_hasBits0 &= ~16;
}
/// <summary>Field number for the "optional_sint64" field.</summary>
public const int OptionalSint64FieldNumber = 6;
private readonly static long OptionalSint64DefaultValue = 0L;
private long optionalSint64_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long OptionalSint64 {
get { if ((_hasBits0 & 32) != 0) { return optionalSint64_; } else { return OptionalSint64DefaultValue; } }
set {
_hasBits0 |= 32;
optionalSint64_ = value;
}
}
/// <summary>Gets whether the "optional_sint64" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalSint64 {
get { return (_hasBits0 & 32) != 0; }
}
/// <summary>Clears the value of the "optional_sint64" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalSint64() {
_hasBits0 &= ~32;
}
/// <summary>Field number for the "optional_fixed32" field.</summary>
public const int OptionalFixed32FieldNumber = 7;
private readonly static uint OptionalFixed32DefaultValue = 0;
private uint optionalFixed32_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint OptionalFixed32 {
get { if ((_hasBits0 & 64) != 0) { return optionalFixed32_; } else { return OptionalFixed32DefaultValue; } }
set {
_hasBits0 |= 64;
optionalFixed32_ = value;
}
}
/// <summary>Gets whether the "optional_fixed32" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalFixed32 {
get { return (_hasBits0 & 64) != 0; }
}
/// <summary>Clears the value of the "optional_fixed32" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalFixed32() {
_hasBits0 &= ~64;
}
/// <summary>Field number for the "optional_fixed64" field.</summary>
public const int OptionalFixed64FieldNumber = 8;
private readonly static ulong OptionalFixed64DefaultValue = 0UL;
private ulong optionalFixed64_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong OptionalFixed64 {
get { if ((_hasBits0 & 128) != 0) { return optionalFixed64_; } else { return OptionalFixed64DefaultValue; } }
set {
_hasBits0 |= 128;
optionalFixed64_ = value;
}
}
/// <summary>Gets whether the "optional_fixed64" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalFixed64 {
get { return (_hasBits0 & 128) != 0; }
}
/// <summary>Clears the value of the "optional_fixed64" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalFixed64() {
_hasBits0 &= ~128;
}
/// <summary>Field number for the "optional_sfixed32" field.</summary>
public const int OptionalSfixed32FieldNumber = 9;
private readonly static int OptionalSfixed32DefaultValue = 0;
private int optionalSfixed32_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int OptionalSfixed32 {
get { if ((_hasBits0 & 256) != 0) { return optionalSfixed32_; } else { return OptionalSfixed32DefaultValue; } }
set {
_hasBits0 |= 256;
optionalSfixed32_ = value;
}
}
/// <summary>Gets whether the "optional_sfixed32" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalSfixed32 {
get { return (_hasBits0 & 256) != 0; }
}
/// <summary>Clears the value of the "optional_sfixed32" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalSfixed32() {
_hasBits0 &= ~256;
}
/// <summary>Field number for the "optional_sfixed64" field.</summary>
public const int OptionalSfixed64FieldNumber = 10;
private readonly static long OptionalSfixed64DefaultValue = 0L;
private long optionalSfixed64_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long OptionalSfixed64 {
get { if ((_hasBits0 & 512) != 0) { return optionalSfixed64_; } else { return OptionalSfixed64DefaultValue; } }
set {
_hasBits0 |= 512;
optionalSfixed64_ = value;
}
}
/// <summary>Gets whether the "optional_sfixed64" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalSfixed64 {
get { return (_hasBits0 & 512) != 0; }
}
/// <summary>Clears the value of the "optional_sfixed64" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalSfixed64() {
_hasBits0 &= ~512;
}
/// <summary>Field number for the "optional_float" field.</summary>
public const int OptionalFloatFieldNumber = 11;
private readonly static float OptionalFloatDefaultValue = 0F;
private float optionalFloat_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public float OptionalFloat {
get { if ((_hasBits0 & 1024) != 0) { return optionalFloat_; } else { return OptionalFloatDefaultValue; } }
set {
_hasBits0 |= 1024;
optionalFloat_ = value;
}
}
/// <summary>Gets whether the "optional_float" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalFloat {
get { return (_hasBits0 & 1024) != 0; }
}
/// <summary>Clears the value of the "optional_float" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalFloat() {
_hasBits0 &= ~1024;
}
/// <summary>Field number for the "optional_double" field.</summary>
public const int OptionalDoubleFieldNumber = 12;
private readonly static double OptionalDoubleDefaultValue = 0D;
private double optionalDouble_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double OptionalDouble {
get { if ((_hasBits0 & 2048) != 0) { return optionalDouble_; } else { return OptionalDoubleDefaultValue; } }
set {
_hasBits0 |= 2048;
optionalDouble_ = value;
}
}
/// <summary>Gets whether the "optional_double" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalDouble {
get { return (_hasBits0 & 2048) != 0; }
}
/// <summary>Clears the value of the "optional_double" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalDouble() {
_hasBits0 &= ~2048;
}
/// <summary>Field number for the "optional_bool" field.</summary>
public const int OptionalBoolFieldNumber = 13;
private readonly static bool OptionalBoolDefaultValue = false;
private bool optionalBool_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool OptionalBool {
get { if ((_hasBits0 & 4096) != 0) { return optionalBool_; } else { return OptionalBoolDefaultValue; } }
set {
_hasBits0 |= 4096;
optionalBool_ = value;
}
}
/// <summary>Gets whether the "optional_bool" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalBool {
get { return (_hasBits0 & 4096) != 0; }
}
/// <summary>Clears the value of the "optional_bool" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalBool() {
_hasBits0 &= ~4096;
}
/// <summary>Field number for the "optional_string" field.</summary>
public const int OptionalStringFieldNumber = 14;
private readonly static string OptionalStringDefaultValue = "";
private string optionalString_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string OptionalString {
get { return optionalString_ ?? OptionalStringDefaultValue; }
set {
optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "optional_string" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalString {
get { return optionalString_ != null; }
}
/// <summary>Clears the value of the "optional_string" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalString() {
optionalString_ = null;
}
/// <summary>Field number for the "optional_bytes" field.</summary>
public const int OptionalBytesFieldNumber = 15;
private readonly static pb::ByteString OptionalBytesDefaultValue = pb::ByteString.Empty;
private pb::ByteString optionalBytes_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString OptionalBytes {
get { return optionalBytes_ ?? OptionalBytesDefaultValue; }
set {
optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "optional_bytes" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalBytes {
get { return optionalBytes_ != null; }
}
/// <summary>Clears the value of the "optional_bytes" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalBytes() {
optionalBytes_ = null;
}
/// <summary>Field number for the "optional_nested_message" field.</summary>
public const int OptionalNestedMessageFieldNumber = 18;
private global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage optionalNestedMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage OptionalNestedMessage {
get { return optionalNestedMessage_; }
set {
optionalNestedMessage_ = value;
}
}
/// <summary>Gets whether the optional_nested_message field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalNestedMessage {
get { return optionalNestedMessage_ != null; }
}
/// <summary>Clears the value of the optional_nested_message field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalNestedMessage() {
optionalNestedMessage_ = null;
}
/// <summary>Field number for the "optional_foreign_message" field.</summary>
public const int OptionalForeignMessageFieldNumber = 19;
private global::ProtobufTestMessages.Proto2.ForeignMessageProto2 optionalForeignMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::ProtobufTestMessages.Proto2.ForeignMessageProto2 OptionalForeignMessage {
get { return optionalForeignMessage_; }
set {
optionalForeignMessage_ = value;
}
}
/// <summary>Gets whether the optional_foreign_message field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalForeignMessage {
get { return optionalForeignMessage_ != null; }
}
/// <summary>Clears the value of the optional_foreign_message field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalForeignMessage() {
optionalForeignMessage_ = null;
}
/// <summary>Field number for the "optional_nested_enum" field.</summary>
public const int OptionalNestedEnumFieldNumber = 21;
private readonly static global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum OptionalNestedEnumDefaultValue = global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum.Foo;
private global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum optionalNestedEnum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum OptionalNestedEnum {
get { if ((_hasBits0 & 8192) != 0) { return optionalNestedEnum_; } else { return OptionalNestedEnumDefaultValue; } }
set {
_hasBits0 |= 8192;
optionalNestedEnum_ = value;
}
}
/// <summary>Gets whether the "optional_nested_enum" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalNestedEnum {
get { return (_hasBits0 & 8192) != 0; }
}
/// <summary>Clears the value of the "optional_nested_enum" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalNestedEnum() {
_hasBits0 &= ~8192;
}
/// <summary>Field number for the "optional_foreign_enum" field.</summary>
public const int OptionalForeignEnumFieldNumber = 22;
private readonly static global::ProtobufTestMessages.Proto2.ForeignEnumProto2 OptionalForeignEnumDefaultValue = global::ProtobufTestMessages.Proto2.ForeignEnumProto2.ForeignFoo;
private global::ProtobufTestMessages.Proto2.ForeignEnumProto2 optionalForeignEnum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::ProtobufTestMessages.Proto2.ForeignEnumProto2 OptionalForeignEnum {
get { if ((_hasBits0 & 16384) != 0) { return optionalForeignEnum_; } else { return OptionalForeignEnumDefaultValue; } }
set {
_hasBits0 |= 16384;
optionalForeignEnum_ = value;
}
}
/// <summary>Gets whether the "optional_foreign_enum" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalForeignEnum {
get { return (_hasBits0 & 16384) != 0; }
}
/// <summary>Clears the value of the "optional_foreign_enum" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalForeignEnum() {
_hasBits0 &= ~16384;
}
/// <summary>Field number for the "optional_string_piece" field.</summary>
public const int OptionalStringPieceFieldNumber = 24;
private readonly static string OptionalStringPieceDefaultValue = "";
private string optionalStringPiece_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string OptionalStringPiece {
get { return optionalStringPiece_ ?? OptionalStringPieceDefaultValue; }
set {
optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "optional_string_piece" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalStringPiece {
get { return optionalStringPiece_ != null; }
}
/// <summary>Clears the value of the "optional_string_piece" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalStringPiece() {
optionalStringPiece_ = null;
}
/// <summary>Field number for the "optional_cord" field.</summary>
public const int OptionalCordFieldNumber = 25;
private readonly static string OptionalCordDefaultValue = "";
private string optionalCord_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string OptionalCord {
get { return optionalCord_ ?? OptionalCordDefaultValue; }
set {
optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "optional_cord" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptionalCord {
get { return optionalCord_ != null; }
}
/// <summary>Clears the value of the "optional_cord" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptionalCord() {
optionalCord_ = null;
}
/// <summary>Field number for the "recursive_message" field.</summary>
public const int RecursiveMessageFieldNumber = 27;
private global::ProtobufTestMessages.Proto2.TestAllTypesProto2 recursiveMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::ProtobufTestMessages.Proto2.TestAllTypesProto2 RecursiveMessage {
get { return recursiveMessage_; }
set {
recursiveMessage_ = value;
}
}
/// <summary>Gets whether the recursive_message field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasRecursiveMessage {
get { return recursiveMessage_ != null; }
}
/// <summary>Clears the value of the recursive_message field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearRecursiveMessage() {
recursiveMessage_ = null;
}
/// <summary>Field number for the "repeated_int32" field.</summary>
public const int RepeatedInt32FieldNumber = 31;
private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec
= pb::FieldCodec.ForInt32(248);
private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
/// <summary>
/// Repeated
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<int> RepeatedInt32 {
get { return repeatedInt32_; }
}
/// <summary>Field number for the "repeated_int64" field.</summary>
public const int RepeatedInt64FieldNumber = 32;
private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec
= pb::FieldCodec.ForInt64(256);
private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<long> RepeatedInt64 {
get { return repeatedInt64_; }
}
/// <summary>Field number for the "repeated_uint32" field.</summary>
public const int RepeatedUint32FieldNumber = 33;
private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec
= pb::FieldCodec.ForUInt32(264);
private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<uint> RepeatedUint32 {
get { return repeatedUint32_; }
}
/// <summary>Field number for the "repeated_uint64" field.</summary>
public const int RepeatedUint64FieldNumber = 34;
private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec
= pb::FieldCodec.ForUInt64(272);
private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<ulong> RepeatedUint64 {
get { return repeatedUint64_; }
}
/// <summary>Field number for the "repeated_sint32" field.</summary>
public const int RepeatedSint32FieldNumber = 35;
private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec
= pb::FieldCodec.ForSInt32(280);
private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<int> RepeatedSint32 {
get { return repeatedSint32_; }
}
/// <summary>Field number for the "repeated_sint64" field.</summary>
public const int RepeatedSint64FieldNumber = 36;
private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec
= pb::FieldCodec.ForSInt64(288);