OLD | NEW |
| (Empty) |
1 // Generated by the protocol buffer compiler. DO NOT EDIT! | |
2 // source: google/protobuf/test_messages_proto3.proto | |
3 #pragma warning disable 1591, 0612, 3021 | |
4 #region Designer generated code | |
5 | |
6 using pb = global::Google.Protobuf; | |
7 using pbc = global::Google.Protobuf.Collections; | |
8 using pbr = global::Google.Protobuf.Reflection; | |
9 using scg = global::System.Collections.Generic; | |
10 namespace ProtobufTestMessages.Proto3 { | |
11 | |
12 /// <summary>Holder for reflection information generated from google/protobuf/
test_messages_proto3.proto</summary> | |
13 public static partial class TestMessagesProto3Reflection { | |
14 | |
15 #region Descriptor | |
16 /// <summary>File descriptor for google/protobuf/test_messages_proto3.proto<
/summary> | |
17 public static pbr::FileDescriptor Descriptor { | |
18 get { return descriptor; } | |
19 } | |
20 private static pbr::FileDescriptor descriptor; | |
21 | |
22 static TestMessagesProto3Reflection() { | |
23 byte[] descriptorData = global::System.Convert.FromBase64String( | |
24 string.Concat( | |
25 "Cipnb29nbGUvcHJvdG9idWYvdGVzdF9tZXNzYWdlc19wcm90bzMucHJvdG8S", | |
26 "HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zGhlnb29nbGUvcHJvdG9i", | |
27 "dWYvYW55LnByb3RvGh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8a", | |
28 "IGdvb2dsZS9wcm90b2J1Zi9maWVsZF9tYXNrLnByb3RvGhxnb29nbGUvcHJv", | |
29 "dG9idWYvc3RydWN0LnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1w", | |
30 "LnByb3RvGh5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8i+DkKDFRl", | |
31 "c3RBbGxUeXBlcxIWCg5vcHRpb25hbF9pbnQzMhgBIAEoBRIWCg5vcHRpb25h", | |
32 "bF9pbnQ2NBgCIAEoAxIXCg9vcHRpb25hbF91aW50MzIYAyABKA0SFwoPb3B0", | |
33 "aW9uYWxfdWludDY0GAQgASgEEhcKD29wdGlvbmFsX3NpbnQzMhgFIAEoERIX", | |
34 "Cg9vcHRpb25hbF9zaW50NjQYBiABKBISGAoQb3B0aW9uYWxfZml4ZWQzMhgH", | |
35 "IAEoBxIYChBvcHRpb25hbF9maXhlZDY0GAggASgGEhkKEW9wdGlvbmFsX3Nm", | |
36 "aXhlZDMyGAkgASgPEhkKEW9wdGlvbmFsX3NmaXhlZDY0GAogASgQEhYKDm9w", | |
37 "dGlvbmFsX2Zsb2F0GAsgASgCEhcKD29wdGlvbmFsX2RvdWJsZRgMIAEoARIV", | |
38 "Cg1vcHRpb25hbF9ib29sGA0gASgIEhcKD29wdGlvbmFsX3N0cmluZxgOIAEo", | |
39 "CRIWCg5vcHRpb25hbF9ieXRlcxgPIAEoDBJaChdvcHRpb25hbF9uZXN0ZWRf", | |
40 "bWVzc2FnZRgSIAEoCzI5LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8z", | |
41 "LlRlc3RBbGxUeXBlcy5OZXN0ZWRNZXNzYWdlEk8KGG9wdGlvbmFsX2ZvcmVp", | |
42 "Z25fbWVzc2FnZRgTIAEoCzItLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJv", | |
43 "dG8zLkZvcmVpZ25NZXNzYWdlElQKFG9wdGlvbmFsX25lc3RlZF9lbnVtGBUg", | |
44 "ASgOMjYucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5", | |
45 "cGVzLk5lc3RlZEVudW0SSQoVb3B0aW9uYWxfZm9yZWlnbl9lbnVtGBYgASgO", | |
46 "MioucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuRm9yZWlnbkVudW0S", | |
47 "IQoVb3B0aW9uYWxfc3RyaW5nX3BpZWNlGBggASgJQgIIAhIZCg1vcHRpb25h", | |
48 "bF9jb3JkGBkgASgJQgIIARJGChFyZWN1cnNpdmVfbWVzc2FnZRgbIAEoCzIr", | |
49 "LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlcxIW", | |
50 "Cg5yZXBlYXRlZF9pbnQzMhgfIAMoBRIWCg5yZXBlYXRlZF9pbnQ2NBggIAMo", | |
51 "AxIXCg9yZXBlYXRlZF91aW50MzIYISADKA0SFwoPcmVwZWF0ZWRfdWludDY0", | |
52 "GCIgAygEEhcKD3JlcGVhdGVkX3NpbnQzMhgjIAMoERIXCg9yZXBlYXRlZF9z", | |
53 "aW50NjQYJCADKBISGAoQcmVwZWF0ZWRfZml4ZWQzMhglIAMoBxIYChByZXBl", | |
54 "YXRlZF9maXhlZDY0GCYgAygGEhkKEXJlcGVhdGVkX3NmaXhlZDMyGCcgAygP", | |
55 "EhkKEXJlcGVhdGVkX3NmaXhlZDY0GCggAygQEhYKDnJlcGVhdGVkX2Zsb2F0", | |
56 "GCkgAygCEhcKD3JlcGVhdGVkX2RvdWJsZRgqIAMoARIVCg1yZXBlYXRlZF9i", | |
57 "b29sGCsgAygIEhcKD3JlcGVhdGVkX3N0cmluZxgsIAMoCRIWCg5yZXBlYXRl", | |
58 "ZF9ieXRlcxgtIAMoDBJaChdyZXBlYXRlZF9uZXN0ZWRfbWVzc2FnZRgwIAMo", | |
59 "CzI5LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBl", | |
60 "cy5OZXN0ZWRNZXNzYWdlEk8KGHJlcGVhdGVkX2ZvcmVpZ25fbWVzc2FnZRgx", | |
61 "IAMoCzItLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLkZvcmVpZ25N", | |
62 "ZXNzYWdlElQKFHJlcGVhdGVkX25lc3RlZF9lbnVtGDMgAygOMjYucHJvdG9i", | |
63 "dWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzLk5lc3RlZEVu", | |
64 "dW0SSQoVcmVwZWF0ZWRfZm9yZWlnbl9lbnVtGDQgAygOMioucHJvdG9idWZf", | |
65 "dGVzdF9tZXNzYWdlcy5wcm90bzMuRm9yZWlnbkVudW0SIQoVcmVwZWF0ZWRf", | |
66 "c3RyaW5nX3BpZWNlGDYgAygJQgIIAhIZCg1yZXBlYXRlZF9jb3JkGDcgAygJ", | |
67 "QgIIARJXCg9tYXBfaW50MzJfaW50MzIYOCADKAsyPi5wcm90b2J1Zl90ZXN0", | |
68 "X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwSW50MzJJbnQzMkVu", | |
69 "dHJ5ElcKD21hcF9pbnQ2NF9pbnQ2NBg5IAMoCzI+LnByb3RvYnVmX3Rlc3Rf", | |
70 "bWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlcy5NYXBJbnQ2NEludDY0RW50", | |
71 "cnkSWwoRbWFwX3VpbnQzMl91aW50MzIYOiADKAsyQC5wcm90b2J1Zl90ZXN0", | |
72 "X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwVWludDMyVWludDMy", | |
73 "RW50cnkSWwoRbWFwX3VpbnQ2NF91aW50NjQYOyADKAsyQC5wcm90b2J1Zl90", | |
74 "ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwVWludDY0VWlu", | |
75 "dDY0RW50cnkSWwoRbWFwX3NpbnQzMl9zaW50MzIYPCADKAsyQC5wcm90b2J1", | |
76 "Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwU2ludDMy", | |
77 "U2ludDMyRW50cnkSWwoRbWFwX3NpbnQ2NF9zaW50NjQYPSADKAsyQC5wcm90", | |
78 "b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwU2lu", | |
79 "dDY0U2ludDY0RW50cnkSXwoTbWFwX2ZpeGVkMzJfZml4ZWQzMhg+IAMoCzJC", | |
80 "LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlcy5N", | |
81 "YXBGaXhlZDMyRml4ZWQzMkVudHJ5El8KE21hcF9maXhlZDY0X2ZpeGVkNjQY", | |
82 "PyADKAsyQi5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxs", | |
83 "VHlwZXMuTWFwRml4ZWQ2NEZpeGVkNjRFbnRyeRJjChVtYXBfc2ZpeGVkMzJf", | |
84 "c2ZpeGVkMzIYQCADKAsyRC5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3Rv", | |
85 "My5UZXN0QWxsVHlwZXMuTWFwU2ZpeGVkMzJTZml4ZWQzMkVudHJ5EmMKFW1h", | |
86 "cF9zZml4ZWQ2NF9zZml4ZWQ2NBhBIAMoCzJELnByb3RvYnVmX3Rlc3RfbWVz", | |
87 "c2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlcy5NYXBTZml4ZWQ2NFNmaXhlZDY0", | |
88 "RW50cnkSVwoPbWFwX2ludDMyX2Zsb2F0GEIgAygLMj4ucHJvdG9idWZfdGVz", | |
89 "dF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzLk1hcEludDMyRmxvYXRF", | |
90 "bnRyeRJZChBtYXBfaW50MzJfZG91YmxlGEMgAygLMj8ucHJvdG9idWZfdGVz", | |
91 "dF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzLk1hcEludDMyRG91Ymxl", | |
92 "RW50cnkSUwoNbWFwX2Jvb2xfYm9vbBhEIAMoCzI8LnByb3RvYnVmX3Rlc3Rf", | |
93 "bWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlcy5NYXBCb29sQm9vbEVudHJ5", | |
94 "ElsKEW1hcF9zdHJpbmdfc3RyaW5nGEUgAygLMkAucHJvdG9idWZfdGVzdF9t", | |
95 "ZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzLk1hcFN0cmluZ1N0cmluZ0Vu", | |
96 "dHJ5ElkKEG1hcF9zdHJpbmdfYnl0ZXMYRiADKAsyPy5wcm90b2J1Zl90ZXN0", | |
97 "X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwU3RyaW5nQnl0ZXNF", | |
98 "bnRyeRJqChltYXBfc3RyaW5nX25lc3RlZF9tZXNzYWdlGEcgAygLMkcucHJv", | |
99 "dG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzLk1hcFN0", | |
100 "cmluZ05lc3RlZE1lc3NhZ2VFbnRyeRJsChptYXBfc3RyaW5nX2ZvcmVpZ25f", | |
101 "bWVzc2FnZRhIIAMoCzJILnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8z", | |
102 "LlRlc3RBbGxUeXBlcy5NYXBTdHJpbmdGb3JlaWduTWVzc2FnZUVudHJ5EmQK", | |
103 "Fm1hcF9zdHJpbmdfbmVzdGVkX2VudW0YSSADKAsyRC5wcm90b2J1Zl90ZXN0", | |
104 "X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTWFwU3RyaW5nTmVzdGVk", | |
105 "RW51bUVudHJ5EmYKF21hcF9zdHJpbmdfZm9yZWlnbl9lbnVtGEogAygLMkUu", | |
106 "cHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuVGVzdEFsbFR5cGVzLk1h", | |
107 "cFN0cmluZ0ZvcmVpZ25FbnVtRW50cnkSFgoMb25lb2ZfdWludDMyGG8gASgN", | |
108 "SAASWQoUb25lb2ZfbmVzdGVkX21lc3NhZ2UYcCABKAsyOS5wcm90b2J1Zl90", | |
109 "ZXN0X21lc3NhZ2VzLnByb3RvMy5UZXN0QWxsVHlwZXMuTmVzdGVkTWVzc2Fn", | |
110 "ZUgAEhYKDG9uZW9mX3N0cmluZxhxIAEoCUgAEhUKC29uZW9mX2J5dGVzGHIg", | |
111 "ASgMSAASFAoKb25lb2ZfYm9vbBhzIAEoCEgAEhYKDG9uZW9mX3VpbnQ2NBh0", | |
112 "IAEoBEgAEhUKC29uZW9mX2Zsb2F0GHUgASgCSAASFgoMb25lb2ZfZG91Ymxl", | |
113 "GHYgASgBSAASTAoKb25lb2ZfZW51bRh3IAEoDjI2LnByb3RvYnVmX3Rlc3Rf", | |
114 "bWVzc2FnZXMucHJvdG8zLlRlc3RBbGxUeXBlcy5OZXN0ZWRFbnVtSAASOgoV", | |
115 "b3B0aW9uYWxfYm9vbF93cmFwcGVyGMkBIAEoCzIaLmdvb2dsZS5wcm90b2J1", | |
116 "Zi5Cb29sVmFsdWUSPAoWb3B0aW9uYWxfaW50MzJfd3JhcHBlchjKASABKAsy", | |
117 "Gy5nb29nbGUucHJvdG9idWYuSW50MzJWYWx1ZRI8ChZvcHRpb25hbF9pbnQ2", | |
118 "NF93cmFwcGVyGMsBIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5JbnQ2NFZhbHVl", | |
119 "Ej4KF29wdGlvbmFsX3VpbnQzMl93cmFwcGVyGMwBIAEoCzIcLmdvb2dsZS5w", | |
120 "cm90b2J1Zi5VSW50MzJWYWx1ZRI+ChdvcHRpb25hbF91aW50NjRfd3JhcHBl", | |
121 "chjNASABKAsyHC5nb29nbGUucHJvdG9idWYuVUludDY0VmFsdWUSPAoWb3B0", | |
122 "aW9uYWxfZmxvYXRfd3JhcHBlchjOASABKAsyGy5nb29nbGUucHJvdG9idWYu", | |
123 "RmxvYXRWYWx1ZRI+ChdvcHRpb25hbF9kb3VibGVfd3JhcHBlchjPASABKAsy", | |
124 "HC5nb29nbGUucHJvdG9idWYuRG91YmxlVmFsdWUSPgoXb3B0aW9uYWxfc3Ry", | |
125 "aW5nX3dyYXBwZXIY0AEgASgLMhwuZ29vZ2xlLnByb3RvYnVmLlN0cmluZ1Zh", | |
126 "bHVlEjwKFm9wdGlvbmFsX2J5dGVzX3dyYXBwZXIY0QEgASgLMhsuZ29vZ2xl", | |
127 "LnByb3RvYnVmLkJ5dGVzVmFsdWUSOgoVcmVwZWF0ZWRfYm9vbF93cmFwcGVy", | |
128 "GNMBIAMoCzIaLmdvb2dsZS5wcm90b2J1Zi5Cb29sVmFsdWUSPAoWcmVwZWF0", | |
129 "ZWRfaW50MzJfd3JhcHBlchjUASADKAsyGy5nb29nbGUucHJvdG9idWYuSW50", | |
130 "MzJWYWx1ZRI8ChZyZXBlYXRlZF9pbnQ2NF93cmFwcGVyGNUBIAMoCzIbLmdv", | |
131 "b2dsZS5wcm90b2J1Zi5JbnQ2NFZhbHVlEj4KF3JlcGVhdGVkX3VpbnQzMl93", | |
132 "cmFwcGVyGNYBIAMoCzIcLmdvb2dsZS5wcm90b2J1Zi5VSW50MzJWYWx1ZRI+", | |
133 "ChdyZXBlYXRlZF91aW50NjRfd3JhcHBlchjXASADKAsyHC5nb29nbGUucHJv", | |
134 "dG9idWYuVUludDY0VmFsdWUSPAoWcmVwZWF0ZWRfZmxvYXRfd3JhcHBlchjY", | |
135 "ASADKAsyGy5nb29nbGUucHJvdG9idWYuRmxvYXRWYWx1ZRI+ChdyZXBlYXRl", | |
136 "ZF9kb3VibGVfd3JhcHBlchjZASADKAsyHC5nb29nbGUucHJvdG9idWYuRG91", | |
137 "YmxlVmFsdWUSPgoXcmVwZWF0ZWRfc3RyaW5nX3dyYXBwZXIY2gEgAygLMhwu", | |
138 "Z29vZ2xlLnByb3RvYnVmLlN0cmluZ1ZhbHVlEjwKFnJlcGVhdGVkX2J5dGVz", | |
139 "X3dyYXBwZXIY2wEgAygLMhsuZ29vZ2xlLnByb3RvYnVmLkJ5dGVzVmFsdWUS", | |
140 "NQoRb3B0aW9uYWxfZHVyYXRpb24YrQIgASgLMhkuZ29vZ2xlLnByb3RvYnVm", | |
141 "LkR1cmF0aW9uEjcKEm9wdGlvbmFsX3RpbWVzdGFtcBiuAiABKAsyGi5nb29n", | |
142 "bGUucHJvdG9idWYuVGltZXN0YW1wEjgKE29wdGlvbmFsX2ZpZWxkX21hc2sY", | |
143 "rwIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzaxIxCg9vcHRpb25h", | |
144 "bF9zdHJ1Y3QYsAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIrCgxv", | |
145 "cHRpb25hbF9hbnkYsQIgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueRIvCg5v", | |
146 "cHRpb25hbF92YWx1ZRiyAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWUS", | |
147 "NQoRcmVwZWF0ZWRfZHVyYXRpb24YtwIgAygLMhkuZ29vZ2xlLnByb3RvYnVm", | |
148 "LkR1cmF0aW9uEjcKEnJlcGVhdGVkX3RpbWVzdGFtcBi4AiADKAsyGi5nb29n", | |
149 "bGUucHJvdG9idWYuVGltZXN0YW1wEjcKEnJlcGVhdGVkX2ZpZWxkbWFzaxi5", | |
150 "AiADKAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrEjEKD3JlcGVhdGVk", | |
151 "X3N0cnVjdBjEAiADKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EisKDHJl", | |
152 "cGVhdGVkX2FueRi7AiADKAsyFC5nb29nbGUucHJvdG9idWYuQW55Ei8KDnJl", | |
153 "cGVhdGVkX3ZhbHVlGLwCIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZRIT", | |
154 "CgpmaWVsZG5hbWUxGJEDIAEoBRIUCgtmaWVsZF9uYW1lMhiSAyABKAUSFQoM", | |
155 "X2ZpZWxkX25hbWUzGJMDIAEoBRIWCg1maWVsZF9fbmFtZTRfGJQDIAEoBRIU", | |
156 "CgtmaWVsZDBuYW1lNRiVAyABKAUSFgoNZmllbGRfMF9uYW1lNhiWAyABKAUS", | |
157 "EwoKZmllbGROYW1lNxiXAyABKAUSEwoKRmllbGROYW1lOBiYAyABKAUSFAoL", | |
158 "ZmllbGRfTmFtZTkYmQMgASgFEhUKDEZpZWxkX05hbWUxMBiaAyABKAUSFQoM", | |
159 "RklFTERfTkFNRTExGJsDIAEoBRIVCgxGSUVMRF9uYW1lMTIYnAMgASgFEhcK", | |
160 "Dl9fZmllbGRfbmFtZTEzGJ0DIAEoBRIXCg5fX0ZpZWxkX25hbWUxNBieAyAB", | |
161 "KAUSFgoNZmllbGRfX25hbWUxNRifAyABKAUSFgoNZmllbGRfX05hbWUxNhig", | |
162 "AyABKAUSFwoOZmllbGRfbmFtZTE3X18YoQMgASgFEhcKDkZpZWxkX25hbWUx", | |
163 "OF9fGKIDIAEoBRpcCg1OZXN0ZWRNZXNzYWdlEgkKAWEYASABKAUSQAoLY29y", | |
164 "ZWN1cnNpdmUYAiABKAsyKy5wcm90b2J1Zl90ZXN0X21lc3NhZ2VzLnByb3Rv", | |
165 "My5UZXN0QWxsVHlwZXMaNAoSTWFwSW50MzJJbnQzMkVudHJ5EgsKA2tleRgB", | |
166 "IAEoBRINCgV2YWx1ZRgCIAEoBToCOAEaNAoSTWFwSW50NjRJbnQ2NEVudHJ5", | |
167 "EgsKA2tleRgBIAEoAxINCgV2YWx1ZRgCIAEoAzoCOAEaNgoUTWFwVWludDMy", | |
168 "VWludDMyRW50cnkSCwoDa2V5GAEgASgNEg0KBXZhbHVlGAIgASgNOgI4ARo2", | |
169 "ChRNYXBVaW50NjRVaW50NjRFbnRyeRILCgNrZXkYASABKAQSDQoFdmFsdWUY", | |
170 "AiABKAQ6AjgBGjYKFE1hcFNpbnQzMlNpbnQzMkVudHJ5EgsKA2tleRgBIAEo", | |
171 "ERINCgV2YWx1ZRgCIAEoEToCOAEaNgoUTWFwU2ludDY0U2ludDY0RW50cnkS", | |
172 "CwoDa2V5GAEgASgSEg0KBXZhbHVlGAIgASgSOgI4ARo4ChZNYXBGaXhlZDMy", | |
173 "Rml4ZWQzMkVudHJ5EgsKA2tleRgBIAEoBxINCgV2YWx1ZRgCIAEoBzoCOAEa", | |
174 "OAoWTWFwRml4ZWQ2NEZpeGVkNjRFbnRyeRILCgNrZXkYASABKAYSDQoFdmFs", | |
175 "dWUYAiABKAY6AjgBGjoKGE1hcFNmaXhlZDMyU2ZpeGVkMzJFbnRyeRILCgNr", | |
176 "ZXkYASABKA8SDQoFdmFsdWUYAiABKA86AjgBGjoKGE1hcFNmaXhlZDY0U2Zp", | |
177 "eGVkNjRFbnRyeRILCgNrZXkYASABKBASDQoFdmFsdWUYAiABKBA6AjgBGjQK", | |
178 "Ek1hcEludDMyRmxvYXRFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiAB", | |
179 "KAI6AjgBGjUKE01hcEludDMyRG91YmxlRW50cnkSCwoDa2V5GAEgASgFEg0K", | |
180 "BXZhbHVlGAIgASgBOgI4ARoyChBNYXBCb29sQm9vbEVudHJ5EgsKA2tleRgB", | |
181 "IAEoCBINCgV2YWx1ZRgCIAEoCDoCOAEaNgoUTWFwU3RyaW5nU3RyaW5nRW50", | |
182 "cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARo1ChNNYXBTdHJp", | |
183 "bmdCeXRlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoDDoCOAEa", | |
184 "eAobTWFwU3RyaW5nTmVzdGVkTWVzc2FnZUVudHJ5EgsKA2tleRgBIAEoCRJI", | |
185 "CgV2YWx1ZRgCIAEoCzI5LnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8z", | |
186 "LlRlc3RBbGxUeXBlcy5OZXN0ZWRNZXNzYWdlOgI4ARptChxNYXBTdHJpbmdG", | |
187 "b3JlaWduTWVzc2FnZUVudHJ5EgsKA2tleRgBIAEoCRI8CgV2YWx1ZRgCIAEo", | |
188 "CzItLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zLkZvcmVpZ25NZXNz", | |
189 "YWdlOgI4ARpyChhNYXBTdHJpbmdOZXN0ZWRFbnVtRW50cnkSCwoDa2V5GAEg", | |
190 "ASgJEkUKBXZhbHVlGAIgASgOMjYucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5w", | |
191 "cm90bzMuVGVzdEFsbFR5cGVzLk5lc3RlZEVudW06AjgBGmcKGU1hcFN0cmlu", | |
192 "Z0ZvcmVpZ25FbnVtRW50cnkSCwoDa2V5GAEgASgJEjkKBXZhbHVlGAIgASgO", | |
193 "MioucHJvdG9idWZfdGVzdF9tZXNzYWdlcy5wcm90bzMuRm9yZWlnbkVudW06", | |
194 "AjgBIjkKCk5lc3RlZEVudW0SBwoDRk9PEAASBwoDQkFSEAESBwoDQkFaEAIS", | |
195 "EAoDTkVHEP///////////wFCDQoLb25lb2ZfZmllbGQiGwoORm9yZWlnbk1l", | |
196 "c3NhZ2USCQoBYxgBIAEoBSpACgtGb3JlaWduRW51bRIPCgtGT1JFSUdOX0ZP", | |
197 "TxAAEg8KC0ZPUkVJR05fQkFSEAESDwoLRk9SRUlHTl9CQVoQAkIvCihjb20u", | |
198 "Z29vZ2xlLnByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8zSAH4AQFiBnBy", | |
199 "b3RvMw==")); | |
200 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, | |
201 new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.Any
Reflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection
.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descript
or, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::
Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Pr
otobuf.WellKnownTypes.WrappersReflection.Descriptor, }, | |
202 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessag
es.Proto3.ForeignEnum), }, new pbr::GeneratedClrTypeInfo[] { | |
203 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Pr
oto3.TestAllTypes), global::ProtobufTestMessages.Proto3.TestAllTypes.Parser, new
[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "Optio
nalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfi
xed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "
OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessa
ge", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "Option
alCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32",
"RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "Repea
tedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedD
ouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessag
e", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "Repe
atedStringPiece", "RepeatedCord", "MapInt32Int32", "MapInt64Int64", "MapUint32Ui
nt32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed
32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt3
2Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "
MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapS
tringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofByt
es", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "Opti
onalBoolWrapper", "OptionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint3
2Wrapper", "OptionalUint64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapp
er", "OptionalStringWrapper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "Re
peatedInt32Wrapper", "RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedU
int64Wrapper", "RepeatedFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringW
rapper", "RepeatedBytesWrapper", "OptionalDuration", "OptionalTimestamp", "Optio
nalFieldMask", "OptionalStruct", "OptionalAny", "OptionalValue", "RepeatedDurati
on", "RepeatedTimestamp", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny",
"RepeatedValue", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0
Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10",
"FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "Fiel
dName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(g
lobal::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum) }, new pbr::Ge
neratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTest
Messages.Proto3.TestAllTypes.Types.NestedMessage), global::ProtobufTestMessages.
Proto3.TestAllTypes.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, nul
l, null, null), | |
204 null, null, null, null, null, null, null, null, null, null, null, nu
ll, null, null, null, null, null, null, null, }), | |
205 new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Pr
oto3.ForeignMessage), global::ProtobufTestMessages.Proto3.ForeignMessage.Parser,
new[]{ "C" }, null, null, null) | |
206 })); | |
207 } | |
208 #endregion | |
209 | |
210 } | |
211 #region Enums | |
212 public enum ForeignEnum { | |
213 [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0, | |
214 [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1, | |
215 [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2, | |
216 } | |
217 | |
218 #endregion | |
219 | |
220 #region Messages | |
221 /// <summary> | |
222 /// This proto includes every type of field in both singular and repeated | |
223 /// forms. | |
224 /// | |
225 /// Also, crucially, all messages and enums in this file are eventually | |
226 /// submessages of this message. So for example, a fuzz test of TestAllTypes | |
227 /// could trigger bugs that occur in any message type in this file. We verify | |
228 /// this stays true in a unit test. | |
229 /// </summary> | |
230 public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> { | |
231 private static readonly pb::MessageParser<TestAllTypes> _parser = new pb::Me
ssageParser<TestAllTypes>(() => new TestAllTypes()); | |
232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
233 public static pb::MessageParser<TestAllTypes> Parser { get { return _parser;
} } | |
234 | |
235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
236 public static pbr::MessageDescriptor Descriptor { | |
237 get { return global::ProtobufTestMessages.Proto3.TestMessagesProto3Reflect
ion.Descriptor.MessageTypes[0]; } | |
238 } | |
239 | |
240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
241 pbr::MessageDescriptor pb::IMessage.Descriptor { | |
242 get { return Descriptor; } | |
243 } | |
244 | |
245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
246 public TestAllTypes() { | |
247 OnConstruction(); | |
248 } | |
249 | |
250 partial void OnConstruction(); | |
251 | |
252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
253 public TestAllTypes(TestAllTypes other) : this() { | |
254 optionalInt32_ = other.optionalInt32_; | |
255 optionalInt64_ = other.optionalInt64_; | |
256 optionalUint32_ = other.optionalUint32_; | |
257 optionalUint64_ = other.optionalUint64_; | |
258 optionalSint32_ = other.optionalSint32_; | |
259 optionalSint64_ = other.optionalSint64_; | |
260 optionalFixed32_ = other.optionalFixed32_; | |
261 optionalFixed64_ = other.optionalFixed64_; | |
262 optionalSfixed32_ = other.optionalSfixed32_; | |
263 optionalSfixed64_ = other.optionalSfixed64_; | |
264 optionalFloat_ = other.optionalFloat_; | |
265 optionalDouble_ = other.optionalDouble_; | |
266 optionalBool_ = other.optionalBool_; | |
267 optionalString_ = other.optionalString_; | |
268 optionalBytes_ = other.optionalBytes_; | |
269 OptionalNestedMessage = other.optionalNestedMessage_ != null ? other.Optio
nalNestedMessage.Clone() : null; | |
270 OptionalForeignMessage = other.optionalForeignMessage_ != null ? other.Opt
ionalForeignMessage.Clone() : null; | |
271 optionalNestedEnum_ = other.optionalNestedEnum_; | |
272 optionalForeignEnum_ = other.optionalForeignEnum_; | |
273 optionalStringPiece_ = other.optionalStringPiece_; | |
274 optionalCord_ = other.optionalCord_; | |
275 RecursiveMessage = other.recursiveMessage_ != null ? other.RecursiveMessag
e.Clone() : null; | |
276 repeatedInt32_ = other.repeatedInt32_.Clone(); | |
277 repeatedInt64_ = other.repeatedInt64_.Clone(); | |
278 repeatedUint32_ = other.repeatedUint32_.Clone(); | |
279 repeatedUint64_ = other.repeatedUint64_.Clone(); | |
280 repeatedSint32_ = other.repeatedSint32_.Clone(); | |
281 repeatedSint64_ = other.repeatedSint64_.Clone(); | |
282 repeatedFixed32_ = other.repeatedFixed32_.Clone(); | |
283 repeatedFixed64_ = other.repeatedFixed64_.Clone(); | |
284 repeatedSfixed32_ = other.repeatedSfixed32_.Clone(); | |
285 repeatedSfixed64_ = other.repeatedSfixed64_.Clone(); | |
286 repeatedFloat_ = other.repeatedFloat_.Clone(); | |
287 repeatedDouble_ = other.repeatedDouble_.Clone(); | |
288 repeatedBool_ = other.repeatedBool_.Clone(); | |
289 repeatedString_ = other.repeatedString_.Clone(); | |
290 repeatedBytes_ = other.repeatedBytes_.Clone(); | |
291 repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone(); | |
292 repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone(); | |
293 repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone(); | |
294 repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone(); | |
295 repeatedStringPiece_ = other.repeatedStringPiece_.Clone(); | |
296 repeatedCord_ = other.repeatedCord_.Clone(); | |
297 mapInt32Int32_ = other.mapInt32Int32_.Clone(); | |
298 mapInt64Int64_ = other.mapInt64Int64_.Clone(); | |
299 mapUint32Uint32_ = other.mapUint32Uint32_.Clone(); | |
300 mapUint64Uint64_ = other.mapUint64Uint64_.Clone(); | |
301 mapSint32Sint32_ = other.mapSint32Sint32_.Clone(); | |
302 mapSint64Sint64_ = other.mapSint64Sint64_.Clone(); | |
303 mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone(); | |
304 mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone(); | |
305 mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone(); | |
306 mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone(); | |
307 mapInt32Float_ = other.mapInt32Float_.Clone(); | |
308 mapInt32Double_ = other.mapInt32Double_.Clone(); | |
309 mapBoolBool_ = other.mapBoolBool_.Clone(); | |
310 mapStringString_ = other.mapStringString_.Clone(); | |
311 mapStringBytes_ = other.mapStringBytes_.Clone(); | |
312 mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone(); | |
313 mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone(); | |
314 mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone(); | |
315 mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone(); | |
316 OptionalBoolWrapper = other.OptionalBoolWrapper; | |
317 OptionalInt32Wrapper = other.OptionalInt32Wrapper; | |
318 OptionalInt64Wrapper = other.OptionalInt64Wrapper; | |
319 OptionalUint32Wrapper = other.OptionalUint32Wrapper; | |
320 OptionalUint64Wrapper = other.OptionalUint64Wrapper; | |
321 OptionalFloatWrapper = other.OptionalFloatWrapper; | |
322 OptionalDoubleWrapper = other.OptionalDoubleWrapper; | |
323 OptionalStringWrapper = other.OptionalStringWrapper; | |
324 OptionalBytesWrapper = other.OptionalBytesWrapper; | |
325 repeatedBoolWrapper_ = other.repeatedBoolWrapper_.Clone(); | |
326 repeatedInt32Wrapper_ = other.repeatedInt32Wrapper_.Clone(); | |
327 repeatedInt64Wrapper_ = other.repeatedInt64Wrapper_.Clone(); | |
328 repeatedUint32Wrapper_ = other.repeatedUint32Wrapper_.Clone(); | |
329 repeatedUint64Wrapper_ = other.repeatedUint64Wrapper_.Clone(); | |
330 repeatedFloatWrapper_ = other.repeatedFloatWrapper_.Clone(); | |
331 repeatedDoubleWrapper_ = other.repeatedDoubleWrapper_.Clone(); | |
332 repeatedStringWrapper_ = other.repeatedStringWrapper_.Clone(); | |
333 repeatedBytesWrapper_ = other.repeatedBytesWrapper_.Clone(); | |
334 OptionalDuration = other.optionalDuration_ != null ? other.OptionalDuratio
n.Clone() : null; | |
335 OptionalTimestamp = other.optionalTimestamp_ != null ? other.OptionalTimes
tamp.Clone() : null; | |
336 OptionalFieldMask = other.optionalFieldMask_ != null ? other.OptionalField
Mask.Clone() : null; | |
337 OptionalStruct = other.optionalStruct_ != null ? other.OptionalStruct.Clon
e() : null; | |
338 OptionalAny = other.optionalAny_ != null ? other.OptionalAny.Clone() : nul
l; | |
339 OptionalValue = other.optionalValue_ != null ? other.OptionalValue.Clone()
: null; | |
340 repeatedDuration_ = other.repeatedDuration_.Clone(); | |
341 repeatedTimestamp_ = other.repeatedTimestamp_.Clone(); | |
342 repeatedFieldmask_ = other.repeatedFieldmask_.Clone(); | |
343 repeatedStruct_ = other.repeatedStruct_.Clone(); | |
344 repeatedAny_ = other.repeatedAny_.Clone(); | |
345 repeatedValue_ = other.repeatedValue_.Clone(); | |
346 fieldname1_ = other.fieldname1_; | |
347 fieldName2_ = other.fieldName2_; | |
348 FieldName3_ = other.FieldName3_; | |
349 fieldName4_ = other.fieldName4_; | |
350 field0Name5_ = other.field0Name5_; | |
351 field0Name6_ = other.field0Name6_; | |
352 fieldName7_ = other.fieldName7_; | |
353 fieldName8_ = other.fieldName8_; | |
354 fieldName9_ = other.fieldName9_; | |
355 fieldName10_ = other.fieldName10_; | |
356 fIELDNAME11_ = other.fIELDNAME11_; | |
357 fIELDName12_ = other.fIELDName12_; | |
358 FieldName13_ = other.FieldName13_; | |
359 FieldName14_ = other.FieldName14_; | |
360 fieldName15_ = other.fieldName15_; | |
361 fieldName16_ = other.fieldName16_; | |
362 fieldName17_ = other.fieldName17_; | |
363 fieldName18_ = other.fieldName18_; | |
364 switch (other.OneofFieldCase) { | |
365 case OneofFieldOneofCase.OneofUint32: | |
366 OneofUint32 = other.OneofUint32; | |
367 break; | |
368 case OneofFieldOneofCase.OneofNestedMessage: | |
369 OneofNestedMessage = other.OneofNestedMessage.Clone(); | |
370 break; | |
371 case OneofFieldOneofCase.OneofString: | |
372 OneofString = other.OneofString; | |
373 break; | |
374 case OneofFieldOneofCase.OneofBytes: | |
375 OneofBytes = other.OneofBytes; | |
376 break; | |
377 case OneofFieldOneofCase.OneofBool: | |
378 OneofBool = other.OneofBool; | |
379 break; | |
380 case OneofFieldOneofCase.OneofUint64: | |
381 OneofUint64 = other.OneofUint64; | |
382 break; | |
383 case OneofFieldOneofCase.OneofFloat: | |
384 OneofFloat = other.OneofFloat; | |
385 break; | |
386 case OneofFieldOneofCase.OneofDouble: | |
387 OneofDouble = other.OneofDouble; | |
388 break; | |
389 case OneofFieldOneofCase.OneofEnum: | |
390 OneofEnum = other.OneofEnum; | |
391 break; | |
392 } | |
393 | |
394 } | |
395 | |
396 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
397 public TestAllTypes Clone() { | |
398 return new TestAllTypes(this); | |
399 } | |
400 | |
401 /// <summary>Field number for the "optional_int32" field.</summary> | |
402 public const int OptionalInt32FieldNumber = 1; | |
403 private int optionalInt32_; | |
404 /// <summary> | |
405 /// Singular | |
406 /// </summary> | |
407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
408 public int OptionalInt32 { | |
409 get { return optionalInt32_; } | |
410 set { | |
411 optionalInt32_ = value; | |
412 } | |
413 } | |
414 | |
415 /// <summary>Field number for the "optional_int64" field.</summary> | |
416 public const int OptionalInt64FieldNumber = 2; | |
417 private long optionalInt64_; | |
418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
419 public long OptionalInt64 { | |
420 get { return optionalInt64_; } | |
421 set { | |
422 optionalInt64_ = value; | |
423 } | |
424 } | |
425 | |
426 /// <summary>Field number for the "optional_uint32" field.</summary> | |
427 public const int OptionalUint32FieldNumber = 3; | |
428 private uint optionalUint32_; | |
429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
430 public uint OptionalUint32 { | |
431 get { return optionalUint32_; } | |
432 set { | |
433 optionalUint32_ = value; | |
434 } | |
435 } | |
436 | |
437 /// <summary>Field number for the "optional_uint64" field.</summary> | |
438 public const int OptionalUint64FieldNumber = 4; | |
439 private ulong optionalUint64_; | |
440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
441 public ulong OptionalUint64 { | |
442 get { return optionalUint64_; } | |
443 set { | |
444 optionalUint64_ = value; | |
445 } | |
446 } | |
447 | |
448 /// <summary>Field number for the "optional_sint32" field.</summary> | |
449 public const int OptionalSint32FieldNumber = 5; | |
450 private int optionalSint32_; | |
451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
452 public int OptionalSint32 { | |
453 get { return optionalSint32_; } | |
454 set { | |
455 optionalSint32_ = value; | |
456 } | |
457 } | |
458 | |
459 /// <summary>Field number for the "optional_sint64" field.</summary> | |
460 public const int OptionalSint64FieldNumber = 6; | |
461 private long optionalSint64_; | |
462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
463 public long OptionalSint64 { | |
464 get { return optionalSint64_; } | |
465 set { | |
466 optionalSint64_ = value; | |
467 } | |
468 } | |
469 | |
470 /// <summary>Field number for the "optional_fixed32" field.</summary> | |
471 public const int OptionalFixed32FieldNumber = 7; | |
472 private uint optionalFixed32_; | |
473 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
474 public uint OptionalFixed32 { | |
475 get { return optionalFixed32_; } | |
476 set { | |
477 optionalFixed32_ = value; | |
478 } | |
479 } | |
480 | |
481 /// <summary>Field number for the "optional_fixed64" field.</summary> | |
482 public const int OptionalFixed64FieldNumber = 8; | |
483 private ulong optionalFixed64_; | |
484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
485 public ulong OptionalFixed64 { | |
486 get { return optionalFixed64_; } | |
487 set { | |
488 optionalFixed64_ = value; | |
489 } | |
490 } | |
491 | |
492 /// <summary>Field number for the "optional_sfixed32" field.</summary> | |
493 public const int OptionalSfixed32FieldNumber = 9; | |
494 private int optionalSfixed32_; | |
495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
496 public int OptionalSfixed32 { | |
497 get { return optionalSfixed32_; } | |
498 set { | |
499 optionalSfixed32_ = value; | |
500 } | |
501 } | |
502 | |
503 /// <summary>Field number for the "optional_sfixed64" field.</summary> | |
504 public const int OptionalSfixed64FieldNumber = 10; | |
505 private long optionalSfixed64_; | |
506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
507 public long OptionalSfixed64 { | |
508 get { return optionalSfixed64_; } | |
509 set { | |
510 optionalSfixed64_ = value; | |
511 } | |
512 } | |
513 | |
514 /// <summary>Field number for the "optional_float" field.</summary> | |
515 public const int OptionalFloatFieldNumber = 11; | |
516 private float optionalFloat_; | |
517 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
518 public float OptionalFloat { | |
519 get { return optionalFloat_; } | |
520 set { | |
521 optionalFloat_ = value; | |
522 } | |
523 } | |
524 | |
525 /// <summary>Field number for the "optional_double" field.</summary> | |
526 public const int OptionalDoubleFieldNumber = 12; | |
527 private double optionalDouble_; | |
528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
529 public double OptionalDouble { | |
530 get { return optionalDouble_; } | |
531 set { | |
532 optionalDouble_ = value; | |
533 } | |
534 } | |
535 | |
536 /// <summary>Field number for the "optional_bool" field.</summary> | |
537 public const int OptionalBoolFieldNumber = 13; | |
538 private bool optionalBool_; | |
539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
540 public bool OptionalBool { | |
541 get { return optionalBool_; } | |
542 set { | |
543 optionalBool_ = value; | |
544 } | |
545 } | |
546 | |
547 /// <summary>Field number for the "optional_string" field.</summary> | |
548 public const int OptionalStringFieldNumber = 14; | |
549 private string optionalString_ = ""; | |
550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
551 public string OptionalString { | |
552 get { return optionalString_; } | |
553 set { | |
554 optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | |
555 } | |
556 } | |
557 | |
558 /// <summary>Field number for the "optional_bytes" field.</summary> | |
559 public const int OptionalBytesFieldNumber = 15; | |
560 private pb::ByteString optionalBytes_ = pb::ByteString.Empty; | |
561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
562 public pb::ByteString OptionalBytes { | |
563 get { return optionalBytes_; } | |
564 set { | |
565 optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | |
566 } | |
567 } | |
568 | |
569 /// <summary>Field number for the "optional_nested_message" field.</summary> | |
570 public const int OptionalNestedMessageFieldNumber = 18; | |
571 private global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage
optionalNestedMessage_; | |
572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
573 public global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage
OptionalNestedMessage { | |
574 get { return optionalNestedMessage_; } | |
575 set { | |
576 optionalNestedMessage_ = value; | |
577 } | |
578 } | |
579 | |
580 /// <summary>Field number for the "optional_foreign_message" field.</summary
> | |
581 public const int OptionalForeignMessageFieldNumber = 19; | |
582 private global::ProtobufTestMessages.Proto3.ForeignMessage optionalForeignMe
ssage_; | |
583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
584 public global::ProtobufTestMessages.Proto3.ForeignMessage OptionalForeignMes
sage { | |
585 get { return optionalForeignMessage_; } | |
586 set { | |
587 optionalForeignMessage_ = value; | |
588 } | |
589 } | |
590 | |
591 /// <summary>Field number for the "optional_nested_enum" field.</summary> | |
592 public const int OptionalNestedEnumFieldNumber = 21; | |
593 private global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum op
tionalNestedEnum_ = 0; | |
594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
595 public global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum Opt
ionalNestedEnum { | |
596 get { return optionalNestedEnum_; } | |
597 set { | |
598 optionalNestedEnum_ = value; | |
599 } | |
600 } | |
601 | |
602 /// <summary>Field number for the "optional_foreign_enum" field.</summary> | |
603 public const int OptionalForeignEnumFieldNumber = 22; | |
604 private global::ProtobufTestMessages.Proto3.ForeignEnum optionalForeignEnum_
= 0; | |
605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
606 public global::ProtobufTestMessages.Proto3.ForeignEnum OptionalForeignEnum { | |
607 get { return optionalForeignEnum_; } | |
608 set { | |
609 optionalForeignEnum_ = value; | |
610 } | |
611 } | |
612 | |
613 /// <summary>Field number for the "optional_string_piece" field.</summary> | |
614 public const int OptionalStringPieceFieldNumber = 24; | |
615 private string optionalStringPiece_ = ""; | |
616 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
617 public string OptionalStringPiece { | |
618 get { return optionalStringPiece_; } | |
619 set { | |
620 optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value
"); | |
621 } | |
622 } | |
623 | |
624 /// <summary>Field number for the "optional_cord" field.</summary> | |
625 public const int OptionalCordFieldNumber = 25; | |
626 private string optionalCord_ = ""; | |
627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
628 public string OptionalCord { | |
629 get { return optionalCord_; } | |
630 set { | |
631 optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | |
632 } | |
633 } | |
634 | |
635 /// <summary>Field number for the "recursive_message" field.</summary> | |
636 public const int RecursiveMessageFieldNumber = 27; | |
637 private global::ProtobufTestMessages.Proto3.TestAllTypes recursiveMessage_; | |
638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
639 public global::ProtobufTestMessages.Proto3.TestAllTypes RecursiveMessage { | |
640 get { return recursiveMessage_; } | |
641 set { | |
642 recursiveMessage_ = value; | |
643 } | |
644 } | |
645 | |
646 /// <summary>Field number for the "repeated_int32" field.</summary> | |
647 public const int RepeatedInt32FieldNumber = 31; | |
648 private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec | |
649 = pb::FieldCodec.ForInt32(250); | |
650 private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedF
ield<int>(); | |
651 /// <summary> | |
652 /// Repeated | |
653 /// </summary> | |
654 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
655 public pbc::RepeatedField<int> RepeatedInt32 { | |
656 get { return repeatedInt32_; } | |
657 } | |
658 | |
659 /// <summary>Field number for the "repeated_int64" field.</summary> | |
660 public const int RepeatedInt64FieldNumber = 32; | |
661 private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec | |
662 = pb::FieldCodec.ForInt64(258); | |
663 private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::Repeated
Field<long>(); | |
664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
665 public pbc::RepeatedField<long> RepeatedInt64 { | |
666 get { return repeatedInt64_; } | |
667 } | |
668 | |
669 /// <summary>Field number for the "repeated_uint32" field.</summary> | |
670 public const int RepeatedUint32FieldNumber = 33; | |
671 private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec | |
672 = pb::FieldCodec.ForUInt32(266); | |
673 private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::Repeate
dField<uint>(); | |
674 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
675 public pbc::RepeatedField<uint> RepeatedUint32 { | |
676 get { return repeatedUint32_; } | |
677 } | |
678 | |
679 /// <summary>Field number for the "repeated_uint64" field.</summary> | |
680 public const int RepeatedUint64FieldNumber = 34; | |
681 private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec | |
682 = pb::FieldCodec.ForUInt64(274); | |
683 private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::Repeat
edField<ulong>(); | |
684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
685 public pbc::RepeatedField<ulong> RepeatedUint64 { | |
686 get { return repeatedUint64_; } | |
687 } | |
688 | |
689 /// <summary>Field number for the "repeated_sint32" field.</summary> | |
690 public const int RepeatedSint32FieldNumber = 35; | |
691 private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec | |
692 = pb::FieldCodec.ForSInt32(282); | |
693 private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::Repeated
Field<int>(); | |
694 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
695 public pbc::RepeatedField<int> RepeatedSint32 { | |
696 get { return repeatedSint32_; } | |
697 } | |
698 | |
699 /// <summary>Field number for the "repeated_sint64" field.</summary> | |
700 public const int RepeatedSint64FieldNumber = 36; | |
701 private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec | |
702 = pb::FieldCodec.ForSInt64(290); | |
703 private readonly pbc::RepeatedField<long> repeatedSint64_ = new pbc::Repeate
dField<long>(); | |
704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
705 public pbc::RepeatedField<long> RepeatedSint64 { | |
706 get { return repeatedSint64_; } | |
707 } | |
708 | |
709 /// <summary>Field number for the "repeated_fixed32" field.</summary> | |
710 public const int RepeatedFixed32FieldNumber = 37; | |
711 private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec | |
712 = pb::FieldCodec.ForFixed32(298); | |
713 private readonly pbc::RepeatedField<uint> repeatedFixed32_ = new pbc::Repeat
edField<uint>(); | |
714 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
715 public pbc::RepeatedField<uint> RepeatedFixed32 { | |
716 get { return repeatedFixed32_; } | |
717 } | |
718 | |
719 /// <summary>Field number for the "repeated_fixed64" field.</summary> | |
720 public const int RepeatedFixed64FieldNumber = 38; | |
721 private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_code
c | |
722 = pb::FieldCodec.ForFixed64(306); | |
723 private readonly pbc::RepeatedField<ulong> repeatedFixed64_ = new pbc::Repea
tedField<ulong>(); | |
724 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
725 public pbc::RepeatedField<ulong> RepeatedFixed64 { | |
726 get { return repeatedFixed64_; } | |
727 } | |
728 | |
729 /// <summary>Field number for the "repeated_sfixed32" field.</summary> | |
730 public const int RepeatedSfixed32FieldNumber = 39; | |
731 private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec | |
732 = pb::FieldCodec.ForSFixed32(314); | |
733 private readonly pbc::RepeatedField<int> repeatedSfixed32_ = new pbc::Repeat
edField<int>(); | |
734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
735 public pbc::RepeatedField<int> RepeatedSfixed32 { | |
736 get { return repeatedSfixed32_; } | |
737 } | |
738 | |
739 /// <summary>Field number for the "repeated_sfixed64" field.</summary> | |
740 public const int RepeatedSfixed64FieldNumber = 40; | |
741 private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_code
c | |
742 = pb::FieldCodec.ForSFixed64(322); | |
743 private readonly pbc::RepeatedField<long> repeatedSfixed64_ = new pbc::Repea
tedField<long>(); | |
744 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
745 public pbc::RepeatedField<long> RepeatedSfixed64 { | |
746 get { return repeatedSfixed64_; } | |
747 } | |
748 | |
749 /// <summary>Field number for the "repeated_float" field.</summary> | |
750 public const int RepeatedFloatFieldNumber = 41; | |
751 private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec | |
752 = pb::FieldCodec.ForFloat(330); | |
753 private readonly pbc::RepeatedField<float> repeatedFloat_ = new pbc::Repeate
dField<float>(); | |
754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
755 public pbc::RepeatedField<float> RepeatedFloat { | |
756 get { return repeatedFloat_; } | |
757 } | |
758 | |
759 /// <summary>Field number for the "repeated_double" field.</summary> | |
760 public const int RepeatedDoubleFieldNumber = 42; | |
761 private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_code
c | |
762 = pb::FieldCodec.ForDouble(338); | |
763 private readonly pbc::RepeatedField<double> repeatedDouble_ = new pbc::Repea
tedField<double>(); | |
764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
765 public pbc::RepeatedField<double> RepeatedDouble { | |
766 get { return repeatedDouble_; } | |
767 } | |
768 | |
769 /// <summary>Field number for the "repeated_bool" field.</summary> | |
770 public const int RepeatedBoolFieldNumber = 43; | |
771 private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec | |
772 = pb::FieldCodec.ForBool(346); | |
773 private readonly pbc::RepeatedField<bool> repeatedBool_ = new pbc::RepeatedF
ield<bool>(); | |
774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
775 public pbc::RepeatedField<bool> RepeatedBool { | |
776 get { return repeatedBool_; } | |
777 } | |
778 | |
779 /// <summary>Field number for the "repeated_string" field.</summary> | |
780 public const int RepeatedStringFieldNumber = 44; | |
781 private static readonly pb::FieldCodec<string> _repeated_repeatedString_code
c | |
782 = pb::FieldCodec.ForString(354); | |
783 private readonly pbc::RepeatedField<string> repeatedString_ = new pbc::Repea
tedField<string>(); | |
784 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
785 public pbc::RepeatedField<string> RepeatedString { | |
786 get { return repeatedString_; } | |
787 } | |
788 | |
789 /// <summary>Field number for the "repeated_bytes" field.</summary> | |
790 public const int RepeatedBytesFieldNumber = 45; | |
791 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedByt
es_codec | |
792 = pb::FieldCodec.ForBytes(362); | |
793 private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc
::RepeatedField<pb::ByteString>(); | |
794 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
795 public pbc::RepeatedField<pb::ByteString> RepeatedBytes { | |
796 get { return repeatedBytes_; } | |
797 } | |
798 | |
799 /// <summary>Field number for the "repeated_nested_message" field.</summary> | |
800 public const int RepeatedNestedMessageFieldNumber = 48; | |
801 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.T
estAllTypes.Types.NestedMessage> _repeated_repeatedNestedMessage_codec | |
802 = pb::FieldCodec.ForMessage(386, global::ProtobufTestMessages.Proto3.Tes
tAllTypes.Types.NestedMessage.Parser); | |
803 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.Test
AllTypes.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<gl
obal::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage>(); | |
804 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
805 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypes.T
ypes.NestedMessage> RepeatedNestedMessage { | |
806 get { return repeatedNestedMessage_; } | |
807 } | |
808 | |
809 /// <summary>Field number for the "repeated_foreign_message" field.</summary
> | |
810 public const int RepeatedForeignMessageFieldNumber = 49; | |
811 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.F
oreignMessage> _repeated_repeatedForeignMessage_codec | |
812 = pb::FieldCodec.ForMessage(394, global::ProtobufTestMessages.Proto3.For
eignMessage.Parser); | |
813 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.Fore
ignMessage> repeatedForeignMessage_ = new pbc::RepeatedField<global::ProtobufTes
tMessages.Proto3.ForeignMessage>(); | |
814 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
815 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignMessage
> RepeatedForeignMessage { | |
816 get { return repeatedForeignMessage_; } | |
817 } | |
818 | |
819 /// <summary>Field number for the "repeated_nested_enum" field.</summary> | |
820 public const int RepeatedNestedEnumFieldNumber = 51; | |
821 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.T
estAllTypes.Types.NestedEnum> _repeated_repeatedNestedEnum_codec | |
822 = pb::FieldCodec.ForEnum(410, x => (int) x, x => (global::ProtobufTestMe
ssages.Proto3.TestAllTypes.Types.NestedEnum) x); | |
823 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.Test
AllTypes.Types.NestedEnum> repeatedNestedEnum_ = new pbc::RepeatedField<global::
ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum>(); | |
824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
825 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.TestAllTypes.T
ypes.NestedEnum> RepeatedNestedEnum { | |
826 get { return repeatedNestedEnum_; } | |
827 } | |
828 | |
829 /// <summary>Field number for the "repeated_foreign_enum" field.</summary> | |
830 public const int RepeatedForeignEnumFieldNumber = 52; | |
831 private static readonly pb::FieldCodec<global::ProtobufTestMessages.Proto3.F
oreignEnum> _repeated_repeatedForeignEnum_codec | |
832 = pb::FieldCodec.ForEnum(418, x => (int) x, x => (global::ProtobufTestMe
ssages.Proto3.ForeignEnum) x); | |
833 private readonly pbc::RepeatedField<global::ProtobufTestMessages.Proto3.Fore
ignEnum> repeatedForeignEnum_ = new pbc::RepeatedField<global::ProtobufTestMessa
ges.Proto3.ForeignEnum>(); | |
834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
835 public pbc::RepeatedField<global::ProtobufTestMessages.Proto3.ForeignEnum> R
epeatedForeignEnum { | |
836 get { return repeatedForeignEnum_; } | |
837 } | |
838 | |
839 /// <summary>Field number for the "repeated_string_piece" field.</summary> | |
840 public const int RepeatedStringPieceFieldNumber = 54; | |
841 private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece
_codec | |
842 = pb::FieldCodec.ForString(434); | |
843 private readonly pbc::RepeatedField<string> repeatedStringPiece_ = new pbc::
RepeatedField<string>(); | |
844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
845 public pbc::RepeatedField<string> RepeatedStringPiece { | |
846 get { return repeatedStringPiece_; } | |
847 } | |
848 | |
849 /// <summary>Field number for the "repeated_cord" field.</summary> | |
850 public const int RepeatedCordFieldNumber = 55; | |
851 private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec | |
852 = pb::FieldCodec.ForString(442); | |
853 private readonly pbc::RepeatedField<string> repeatedCord_ = new pbc::Repeate
dField<string>(); | |
854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
855 public pbc::RepeatedField<string> RepeatedCord { | |
856 get { return repeatedCord_; } | |
857 } | |
858 | |
859 /// <summary>Field number for the "map_int32_int32" field.</summary> | |
860 public const int MapInt32Int32FieldNumber = 56; | |
861 private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_cod
ec | |
862 = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::Fiel
dCodec.ForInt32(16), 450); | |
863 private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<
int, int>(); | |
864 /// <summary> | |
865 /// Map | |
866 /// </summary> | |
867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
868 public pbc::MapField<int, int> MapInt32Int32 { | |
869 get { return mapInt32Int32_; } | |
870 } | |
871 | |
872 /// <summary>Field number for the "map_int64_int64" field.</summary> | |
873 public const int MapInt64Int64FieldNumber = 57; | |
874 private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_c
odec | |
875 = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::Fi
eldCodec.ForInt64(16), 458); | |
876 private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapFiel
d<long, long>(); | |
877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
878 public pbc::MapField<long, long> MapInt64Int64 { | |
879 get { return mapInt64Int64_; } | |
880 } | |
881 | |
882 /// <summary>Field number for the "map_uint32_uint32" field.</summary> | |
883 public const int MapUint32Uint32FieldNumber = 58; | |
884 private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32
_codec | |
885 = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::F
ieldCodec.ForUInt32(16), 466); | |
886 private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapFi
eld<uint, uint>(); | |
887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
888 public pbc::MapField<uint, uint> MapUint32Uint32 { | |
889 get { return mapUint32Uint32_; } | |
890 } | |
891 | |
892 /// <summary>Field number for the "map_uint64_uint64" field.</summary> | |
893 public const int MapUint64Uint64FieldNumber = 59; | |
894 private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint
64_codec | |
895 = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8), pb:
:FieldCodec.ForUInt64(16), 474); | |
896 private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::Map
Field<ulong, ulong>(); | |
897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
898 public pbc::MapField<ulong, ulong> MapUint64Uint64 { | |
899 get { return mapUint64Uint64_; } | |
900 } | |
901 | |
902 /// <summary>Field number for the "map_sint32_sint32" field.</summary> | |
903 public const int MapSint32Sint32FieldNumber = 60; | |
904 private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_c
odec | |
905 = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8), pb::Fie
ldCodec.ForSInt32(16), 482); | |
906 private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapFiel
d<int, int>(); | |
907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
908 public pbc::MapField<int, int> MapSint32Sint32 { | |
909 get { return mapSint32Sint32_; } | |
910 } | |
911 | |
912 /// <summary>Field number for the "map_sint64_sint64" field.</summary> | |
913 public const int MapSint64Sint64FieldNumber = 61; | |
914 private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64
_codec | |
915 = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8), pb::F
ieldCodec.ForSInt64(16), 490); | |
916 private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapFi
eld<long, long>(); | |
917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
918 public pbc::MapField<long, long> MapSint64Sint64 { | |
919 get { return mapSint64Sint64_; } | |
920 } | |
921 | |
922 /// <summary>Field number for the "map_fixed32_fixed32" field.</summary> | |
923 public const int MapFixed32Fixed32FieldNumber = 62; | |
924 private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed
32_codec | |
925 = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13), pb:
:FieldCodec.ForFixed32(21), 498); | |
926 private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::Map
Field<uint, uint>(); | |
927 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
928 public pbc::MapField<uint, uint> MapFixed32Fixed32 { | |
929 get { return mapFixed32Fixed32_; } | |
930 } | |
931 | |
932 /// <summary>Field number for the "map_fixed64_fixed64" field.</summary> | |
933 public const int MapFixed64Fixed64FieldNumber = 63; | |
934 private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fix
ed64_codec | |
935 = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9), pb
::FieldCodec.ForFixed64(17), 506); | |
936 private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::M
apField<ulong, ulong>(); | |
937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
938 public pbc::MapField<ulong, ulong> MapFixed64Fixed64 { | |
939 get { return mapFixed64Fixed64_; } | |
940 } | |
941 | |
942 /// <summary>Field number for the "map_sfixed32_sfixed32" field.</summary> | |
943 public const int MapSfixed32Sfixed32FieldNumber = 64; | |
944 private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed
32_codec | |
945 = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13), pb::
FieldCodec.ForSFixed32(21), 514); | |
946 private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::Map
Field<int, int>(); | |
947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
948 public pbc::MapField<int, int> MapSfixed32Sfixed32 { | |
949 get { return mapSfixed32Sfixed32_; } | |
950 } | |
951 | |
952 /// <summary>Field number for the "map_sfixed64_sfixed64" field.</summary> | |
953 public const int MapSfixed64Sfixed64FieldNumber = 65; | |
954 private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfix
ed64_codec | |
955 = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9), pb:
:FieldCodec.ForSFixed64(17), 522); | |
956 private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::M
apField<long, long>(); | |
957 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
958 public pbc::MapField<long, long> MapSfixed64Sfixed64 { | |
959 get { return mapSfixed64Sfixed64_; } | |
960 } | |
961 | |
962 /// <summary>Field number for the "map_int32_float" field.</summary> | |
963 public const int MapInt32FloatFieldNumber = 66; | |
964 private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_c
odec | |
965 = new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForFloat(21), 530); | |
966 private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapFiel
d<int, float>(); | |
967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
968 public pbc::MapField<int, float> MapInt32Float { | |
969 get { return mapInt32Float_; } | |
970 } | |
971 | |
972 /// <summary>Field number for the "map_int32_double" field.</summary> | |
973 public const int MapInt32DoubleFieldNumber = 67; | |
974 private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double
_codec | |
975 = new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForDouble(17), 538); | |
976 private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapFi
eld<int, double>(); | |
977 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
978 public pbc::MapField<int, double> MapInt32Double { | |
979 get { return mapInt32Double_; } | |
980 } | |
981 | |
982 /// <summary>Field number for the "map_bool_bool" field.</summary> | |
983 public const int MapBoolBoolFieldNumber = 68; | |
984 private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_cod
ec | |
985 = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8), pb::Fie
ldCodec.ForBool(16), 546); | |
986 private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<
bool, bool>(); | |
987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
988 public pbc::MapField<bool, bool> MapBoolBool { | |
989 get { return mapBoolBool_; } | |
990 } | |
991 | |
992 /// <summary>Field number for the "map_string_string" field.</summary> | |
993 public const int MapStringStringFieldNumber = 69; | |
994 private static readonly pbc::MapField<string, string>.Codec _map_mapStringSt
ring_codec | |
995 = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10),
pb::FieldCodec.ForString(18), 554); | |
996 private readonly pbc::MapField<string, string> mapStringString_ = new pbc::M
apField<string, string>(); | |
997 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
998 public pbc::MapField<string, string> MapStringString { | |
999 get { return mapStringString_; } | |
1000 } | |
1001 | |
1002 /// <summary>Field number for the "map_string_bytes" field.</summary> | |
1003 public const int MapStringBytesFieldNumber = 70; | |
1004 private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_map
StringBytes_codec | |
1005 = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForStri
ng(10), pb::FieldCodec.ForBytes(18), 562); | |
1006 private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new
pbc::MapField<string, pb::ByteString>(); | |
1007 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1008 public pbc::MapField<string, pb::ByteString> MapStringBytes { | |
1009 get { return mapStringBytes_; } | |
1010 } | |
1011 | |
1012 /// <summary>Field number for the "map_string_nested_message" field.</summar
y> | |
1013 public const int MapStringNestedMessageFieldNumber = 71; | |
1014 private static readonly pbc::MapField<string, global::ProtobufTestMessages.P
roto3.TestAllTypes.Types.NestedMessage>.Codec _map_mapStringNestedMessage_codec | |
1015 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllT
ypes.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.For
Message(18, global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage
.Parser), 570); | |
1016 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.T
estAllTypes.Types.NestedMessage> mapStringNestedMessage_ = new pbc::MapField<str
ing, global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage>(); | |
1017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1018 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllType
s.Types.NestedMessage> MapStringNestedMessage { | |
1019 get { return mapStringNestedMessage_; } | |
1020 } | |
1021 | |
1022 /// <summary>Field number for the "map_string_foreign_message" field.</summa
ry> | |
1023 public const int MapStringForeignMessageFieldNumber = 72; | |
1024 private static readonly pbc::MapField<string, global::ProtobufTestMessages.P
roto3.ForeignMessage>.Codec _map_mapStringForeignMessage_codec | |
1025 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignM
essage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global
::ProtobufTestMessages.Proto3.ForeignMessage.Parser), 578); | |
1026 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.F
oreignMessage> mapStringForeignMessage_ = new pbc::MapField<string, global::Prot
obufTestMessages.Proto3.ForeignMessage>(); | |
1027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1028 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignMess
age> MapStringForeignMessage { | |
1029 get { return mapStringForeignMessage_; } | |
1030 } | |
1031 | |
1032 /// <summary>Field number for the "map_string_nested_enum" field.</summary> | |
1033 public const int MapStringNestedEnumFieldNumber = 73; | |
1034 private static readonly pbc::MapField<string, global::ProtobufTestMessages.P
roto3.TestAllTypes.Types.NestedEnum>.Codec _map_mapStringNestedEnum_codec | |
1035 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllT
ypes.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForEnu
m(16, x => (int) x, x => (global::ProtobufTestMessages.Proto3.TestAllTypes.Types
.NestedEnum) x), 586); | |
1036 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.T
estAllTypes.Types.NestedEnum> mapStringNestedEnum_ = new pbc::MapField<string, g
lobal::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum>(); | |
1037 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1038 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.TestAllType
s.Types.NestedEnum> MapStringNestedEnum { | |
1039 get { return mapStringNestedEnum_; } | |
1040 } | |
1041 | |
1042 /// <summary>Field number for the "map_string_foreign_enum" field.</summary> | |
1043 public const int MapStringForeignEnumFieldNumber = 74; | |
1044 private static readonly pbc::MapField<string, global::ProtobufTestMessages.P
roto3.ForeignEnum>.Codec _map_mapStringForeignEnum_codec | |
1045 = new pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignE
num>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForEnum(16, x => (int) x
, x => (global::ProtobufTestMessages.Proto3.ForeignEnum) x), 594); | |
1046 private readonly pbc::MapField<string, global::ProtobufTestMessages.Proto3.F
oreignEnum> mapStringForeignEnum_ = new pbc::MapField<string, global::ProtobufTe
stMessages.Proto3.ForeignEnum>(); | |
1047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1048 public pbc::MapField<string, global::ProtobufTestMessages.Proto3.ForeignEnum
> MapStringForeignEnum { | |
1049 get { return mapStringForeignEnum_; } | |
1050 } | |
1051 | |
1052 /// <summary>Field number for the "oneof_uint32" field.</summary> | |
1053 public const int OneofUint32FieldNumber = 111; | |
1054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1055 public uint OneofUint32 { | |
1056 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) o
neofField_ : 0; } | |
1057 set { | |
1058 oneofField_ = value; | |
1059 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; | |
1060 } | |
1061 } | |
1062 | |
1063 /// <summary>Field number for the "oneof_nested_message" field.</summary> | |
1064 public const int OneofNestedMessageFieldNumber = 112; | |
1065 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1066 public global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage
OneofNestedMessage { | |
1067 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (
global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage) oneofField
_ : null; } | |
1068 set { | |
1069 oneofField_ = value; | |
1070 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.OneofNestedMessage; | |
1071 } | |
1072 } | |
1073 | |
1074 /// <summary>Field number for the "oneof_string" field.</summary> | |
1075 public const int OneofStringFieldNumber = 113; | |
1076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1077 public string OneofString { | |
1078 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string)
oneofField_ : ""; } | |
1079 set { | |
1080 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | |
1081 oneofFieldCase_ = OneofFieldOneofCase.OneofString; | |
1082 } | |
1083 } | |
1084 | |
1085 /// <summary>Field number for the "oneof_bytes" field.</summary> | |
1086 public const int OneofBytesFieldNumber = 114; | |
1087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1088 public pb::ByteString OneofBytes { | |
1089 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::Byte
String) oneofField_ : pb::ByteString.Empty; } | |
1090 set { | |
1091 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | |
1092 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; | |
1093 } | |
1094 } | |
1095 | |
1096 /// <summary>Field number for the "oneof_bool" field.</summary> | |
1097 public const int OneofBoolFieldNumber = 115; | |
1098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1099 public bool OneofBool { | |
1100 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBool ? (bool) one
ofField_ : false; } | |
1101 set { | |
1102 oneofField_ = value; | |
1103 oneofFieldCase_ = OneofFieldOneofCase.OneofBool; | |
1104 } | |
1105 } | |
1106 | |
1107 /// <summary>Field number for the "oneof_uint64" field.</summary> | |
1108 public const int OneofUint64FieldNumber = 116; | |
1109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1110 public ulong OneofUint64 { | |
1111 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint64 ? (ulong)
oneofField_ : 0UL; } | |
1112 set { | |
1113 oneofField_ = value; | |
1114 oneofFieldCase_ = OneofFieldOneofCase.OneofUint64; | |
1115 } | |
1116 } | |
1117 | |
1118 /// <summary>Field number for the "oneof_float" field.</summary> | |
1119 public const int OneofFloatFieldNumber = 117; | |
1120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1121 public float OneofFloat { | |
1122 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofFloat ? (float) o
neofField_ : 0F; } | |
1123 set { | |
1124 oneofField_ = value; | |
1125 oneofFieldCase_ = OneofFieldOneofCase.OneofFloat; | |
1126 } | |
1127 } | |
1128 | |
1129 /// <summary>Field number for the "oneof_double" field.</summary> | |
1130 public const int OneofDoubleFieldNumber = 118; | |
1131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1132 public double OneofDouble { | |
1133 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofDouble ? (double)
oneofField_ : 0D; } | |
1134 set { | |
1135 oneofField_ = value; | |
1136 oneofFieldCase_ = OneofFieldOneofCase.OneofDouble; | |
1137 } | |
1138 } | |
1139 | |
1140 /// <summary>Field number for the "oneof_enum" field.</summary> | |
1141 public const int OneofEnumFieldNumber = 119; | |
1142 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1143 public global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum One
ofEnum { | |
1144 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofEnum ? (global::P
rotobufTestMessages.Proto3.TestAllTypes.Types.NestedEnum) oneofField_ : 0; } | |
1145 set { | |
1146 oneofField_ = value; | |
1147 oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; | |
1148 } | |
1149 } | |
1150 | |
1151 /// <summary>Field number for the "optional_bool_wrapper" field.</summary> | |
1152 public const int OptionalBoolWrapperFieldNumber = 201; | |
1153 private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_co
dec = pb::FieldCodec.ForStructWrapper<bool>(1610); | |
1154 private bool? optionalBoolWrapper_; | |
1155 /// <summary> | |
1156 /// Well-known types | |
1157 /// </summary> | |
1158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1159 public bool? OptionalBoolWrapper { | |
1160 get { return optionalBoolWrapper_; } | |
1161 set { | |
1162 optionalBoolWrapper_ = value; | |
1163 } | |
1164 } | |
1165 | |
1166 /// <summary>Field number for the "optional_int32_wrapper" field.</summary> | |
1167 public const int OptionalInt32WrapperFieldNumber = 202; | |
1168 private static readonly pb::FieldCodec<int?> _single_optionalInt32Wrapper_co
dec = pb::FieldCodec.ForStructWrapper<int>(1618); | |
1169 private int? optionalInt32Wrapper_; | |
1170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1171 public int? OptionalInt32Wrapper { | |
1172 get { return optionalInt32Wrapper_; } | |
1173 set { | |
1174 optionalInt32Wrapper_ = value; | |
1175 } | |
1176 } | |
1177 | |
1178 /// <summary>Field number for the "optional_int64_wrapper" field.</summary> | |
1179 public const int OptionalInt64WrapperFieldNumber = 203; | |
1180 private static readonly pb::FieldCodec<long?> _single_optionalInt64Wrapper_c
odec = pb::FieldCodec.ForStructWrapper<long>(1626); | |
1181 private long? optionalInt64Wrapper_; | |
1182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1183 public long? OptionalInt64Wrapper { | |
1184 get { return optionalInt64Wrapper_; } | |
1185 set { | |
1186 optionalInt64Wrapper_ = value; | |
1187 } | |
1188 } | |
1189 | |
1190 /// <summary>Field number for the "optional_uint32_wrapper" field.</summary> | |
1191 public const int OptionalUint32WrapperFieldNumber = 204; | |
1192 private static readonly pb::FieldCodec<uint?> _single_optionalUint32Wrapper_
codec = pb::FieldCodec.ForStructWrapper<uint>(1634); | |
1193 private uint? optionalUint32Wrapper_; | |
1194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1195 public uint? OptionalUint32Wrapper { | |
1196 get { return optionalUint32Wrapper_; } | |
1197 set { | |
1198 optionalUint32Wrapper_ = value; | |
1199 } | |
1200 } | |
1201 | |
1202 /// <summary>Field number for the "optional_uint64_wrapper" field.</summary> | |
1203 public const int OptionalUint64WrapperFieldNumber = 205; | |
1204 private static readonly pb::FieldCodec<ulong?> _single_optionalUint64Wrapper
_codec = pb::FieldCodec.ForStructWrapper<ulong>(1642); | |
1205 private ulong? optionalUint64Wrapper_; | |
1206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1207 public ulong? OptionalUint64Wrapper { | |
1208 get { return optionalUint64Wrapper_; } | |
1209 set { | |
1210 optionalUint64Wrapper_ = value; | |
1211 } | |
1212 } | |
1213 | |
1214 /// <summary>Field number for the "optional_float_wrapper" field.</summary> | |
1215 public const int OptionalFloatWrapperFieldNumber = 206; | |
1216 private static readonly pb::FieldCodec<float?> _single_optionalFloatWrapper_
codec = pb::FieldCodec.ForStructWrapper<float>(1650); | |
1217 private float? optionalFloatWrapper_; | |
1218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1219 public float? OptionalFloatWrapper { | |
1220 get { return optionalFloatWrapper_; } | |
1221 set { | |
1222 optionalFloatWrapper_ = value; | |
1223 } | |
1224 } | |
1225 | |
1226 /// <summary>Field number for the "optional_double_wrapper" field.</summary> | |
1227 public const int OptionalDoubleWrapperFieldNumber = 207; | |
1228 private static readonly pb::FieldCodec<double?> _single_optionalDoubleWrappe
r_codec = pb::FieldCodec.ForStructWrapper<double>(1658); | |
1229 private double? optionalDoubleWrapper_; | |
1230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1231 public double? OptionalDoubleWrapper { | |
1232 get { return optionalDoubleWrapper_; } | |
1233 set { | |
1234 optionalDoubleWrapper_ = value; | |
1235 } | |
1236 } | |
1237 | |
1238 /// <summary>Field number for the "optional_string_wrapper" field.</summary> | |
1239 public const int OptionalStringWrapperFieldNumber = 208; | |
1240 private static readonly pb::FieldCodec<string> _single_optionalStringWrapper
_codec = pb::FieldCodec.ForClassWrapper<string>(1666); | |
1241 private string optionalStringWrapper_; | |
1242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1243 public string OptionalStringWrapper { | |
1244 get { return optionalStringWrapper_; } | |
1245 set { | |
1246 optionalStringWrapper_ = value; | |
1247 } | |
1248 } | |
1249 | |
1250 /// <summary>Field number for the "optional_bytes_wrapper" field.</summary> | |
1251 public const int OptionalBytesWrapperFieldNumber = 209; | |
1252 private static readonly pb::FieldCodec<pb::ByteString> _single_optionalBytes
Wrapper_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1674); | |
1253 private pb::ByteString optionalBytesWrapper_; | |
1254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1255 public pb::ByteString OptionalBytesWrapper { | |
1256 get { return optionalBytesWrapper_; } | |
1257 set { | |
1258 optionalBytesWrapper_ = value; | |
1259 } | |
1260 } | |
1261 | |
1262 /// <summary>Field number for the "repeated_bool_wrapper" field.</summary> | |
1263 public const int RepeatedBoolWrapperFieldNumber = 211; | |
1264 private static readonly pb::FieldCodec<bool?> _repeated_repeatedBoolWrapper_
codec | |
1265 = pb::FieldCodec.ForStructWrapper<bool>(1690); | |
1266 private readonly pbc::RepeatedField<bool?> repeatedBoolWrapper_ = new pbc::R
epeatedField<bool?>(); | |
1267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1268 public pbc::RepeatedField<bool?> RepeatedBoolWrapper { | |
1269 get { return repeatedBoolWrapper_; } | |
1270 } | |
1271 | |
1272 /// <summary>Field number for the "repeated_int32_wrapper" field.</summary> | |
1273 public const int RepeatedInt32WrapperFieldNumber = 212; | |
1274 private static readonly pb::FieldCodec<int?> _repeated_repeatedInt32Wrapper_
codec | |
1275 = pb::FieldCodec.ForStructWrapper<int>(1698); | |
1276 private readonly pbc::RepeatedField<int?> repeatedInt32Wrapper_ = new pbc::R
epeatedField<int?>(); | |
1277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1278 public pbc::RepeatedField<int?> RepeatedInt32Wrapper { | |
1279 get { return repeatedInt32Wrapper_; } | |
1280 } | |
1281 | |
1282 /// <summary>Field number for the "repeated_int64_wrapper" field.</summary> | |
1283 public const int RepeatedInt64WrapperFieldNumber = 213; | |
1284 private static readonly pb::FieldCodec<long?> _repeated_repeatedInt64Wrapper
_codec | |
1285 = pb::FieldCodec.ForStructWrapper<long>(1706); | |
1286 private readonly pbc::RepeatedField<long?> repeatedInt64Wrapper_ = new pbc::
RepeatedField<long?>(); | |
1287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1288 public pbc::RepeatedField<long?> RepeatedInt64Wrapper { | |
1289 get { return repeatedInt64Wrapper_; } | |
1290 } | |
1291 | |
1292 /// <summary>Field number for the "repeated_uint32_wrapper" field.</summary> | |
1293 public const int RepeatedUint32WrapperFieldNumber = 214; | |
1294 private static readonly pb::FieldCodec<uint?> _repeated_repeatedUint32Wrappe
r_codec | |
1295 = pb::FieldCodec.ForStructWrapper<uint>(1714); | |
1296 private readonly pbc::RepeatedField<uint?> repeatedUint32Wrapper_ = new pbc:
:RepeatedField<uint?>(); | |
1297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1298 public pbc::RepeatedField<uint?> RepeatedUint32Wrapper { | |
1299 get { return repeatedUint32Wrapper_; } | |
1300 } | |
1301 | |
1302 /// <summary>Field number for the "repeated_uint64_wrapper" field.</summary> | |
1303 public const int RepeatedUint64WrapperFieldNumber = 215; | |
1304 private static readonly pb::FieldCodec<ulong?> _repeated_repeatedUint64Wrapp
er_codec | |
1305 = pb::FieldCodec.ForStructWrapper<ulong>(1722); | |
1306 private readonly pbc::RepeatedField<ulong?> repeatedUint64Wrapper_ = new pbc
::RepeatedField<ulong?>(); | |
1307 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1308 public pbc::RepeatedField<ulong?> RepeatedUint64Wrapper { | |
1309 get { return repeatedUint64Wrapper_; } | |
1310 } | |
1311 | |
1312 /// <summary>Field number for the "repeated_float_wrapper" field.</summary> | |
1313 public const int RepeatedFloatWrapperFieldNumber = 216; | |
1314 private static readonly pb::FieldCodec<float?> _repeated_repeatedFloatWrappe
r_codec | |
1315 = pb::FieldCodec.ForStructWrapper<float>(1730); | |
1316 private readonly pbc::RepeatedField<float?> repeatedFloatWrapper_ = new pbc:
:RepeatedField<float?>(); | |
1317 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1318 public pbc::RepeatedField<float?> RepeatedFloatWrapper { | |
1319 get { return repeatedFloatWrapper_; } | |
1320 } | |
1321 | |
1322 /// <summary>Field number for the "repeated_double_wrapper" field.</summary> | |
1323 public const int RepeatedDoubleWrapperFieldNumber = 217; | |
1324 private static readonly pb::FieldCodec<double?> _repeated_repeatedDoubleWrap
per_codec | |
1325 = pb::FieldCodec.ForStructWrapper<double>(1738); | |
1326 private readonly pbc::RepeatedField<double?> repeatedDoubleWrapper_ = new pb
c::RepeatedField<double?>(); | |
1327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1328 public pbc::RepeatedField<double?> RepeatedDoubleWrapper { | |
1329 get { return repeatedDoubleWrapper_; } | |
1330 } | |
1331 | |
1332 /// <summary>Field number for the "repeated_string_wrapper" field.</summary> | |
1333 public const int RepeatedStringWrapperFieldNumber = 218; | |
1334 private static readonly pb::FieldCodec<string> _repeated_repeatedStringWrapp
er_codec | |
1335 = pb::FieldCodec.ForClassWrapper<string>(1746); | |
1336 private readonly pbc::RepeatedField<string> repeatedStringWrapper_ = new pbc
::RepeatedField<string>(); | |
1337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1338 public pbc::RepeatedField<string> RepeatedStringWrapper { | |
1339 get { return repeatedStringWrapper_; } | |
1340 } | |
1341 | |
1342 /// <summary>Field number for the "repeated_bytes_wrapper" field.</summary> | |
1343 public const int RepeatedBytesWrapperFieldNumber = 219; | |
1344 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedByt
esWrapper_codec | |
1345 = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1754); | |
1346 private readonly pbc::RepeatedField<pb::ByteString> repeatedBytesWrapper_ =
new pbc::RepeatedField<pb::ByteString>(); | |
1347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1348 public pbc::RepeatedField<pb::ByteString> RepeatedBytesWrapper { | |
1349 get { return repeatedBytesWrapper_; } | |
1350 } | |
1351 | |
1352 /// <summary>Field number for the "optional_duration" field.</summary> | |
1353 public const int OptionalDurationFieldNumber = 301; | |
1354 private global::Google.Protobuf.WellKnownTypes.Duration optionalDuration_; | |
1355 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1356 public global::Google.Protobuf.WellKnownTypes.Duration OptionalDuration { | |
1357 get { return optionalDuration_; } | |
1358 set { | |
1359 optionalDuration_ = value; | |
1360 } | |
1361 } | |
1362 | |
1363 /// <summary>Field number for the "optional_timestamp" field.</summary> | |
1364 public const int OptionalTimestampFieldNumber = 302; | |
1365 private global::Google.Protobuf.WellKnownTypes.Timestamp optionalTimestamp_; | |
1366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1367 public global::Google.Protobuf.WellKnownTypes.Timestamp OptionalTimestamp { | |
1368 get { return optionalTimestamp_; } | |
1369 set { | |
1370 optionalTimestamp_ = value; | |
1371 } | |
1372 } | |
1373 | |
1374 /// <summary>Field number for the "optional_field_mask" field.</summary> | |
1375 public const int OptionalFieldMaskFieldNumber = 303; | |
1376 private global::Google.Protobuf.WellKnownTypes.FieldMask optionalFieldMask_; | |
1377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1378 public global::Google.Protobuf.WellKnownTypes.FieldMask OptionalFieldMask { | |
1379 get { return optionalFieldMask_; } | |
1380 set { | |
1381 optionalFieldMask_ = value; | |
1382 } | |
1383 } | |
1384 | |
1385 /// <summary>Field number for the "optional_struct" field.</summary> | |
1386 public const int OptionalStructFieldNumber = 304; | |
1387 private global::Google.Protobuf.WellKnownTypes.Struct optionalStruct_; | |
1388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1389 public global::Google.Protobuf.WellKnownTypes.Struct OptionalStruct { | |
1390 get { return optionalStruct_; } | |
1391 set { | |
1392 optionalStruct_ = value; | |
1393 } | |
1394 } | |
1395 | |
1396 /// <summary>Field number for the "optional_any" field.</summary> | |
1397 public const int OptionalAnyFieldNumber = 305; | |
1398 private global::Google.Protobuf.WellKnownTypes.Any optionalAny_; | |
1399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1400 public global::Google.Protobuf.WellKnownTypes.Any OptionalAny { | |
1401 get { return optionalAny_; } | |
1402 set { | |
1403 optionalAny_ = value; | |
1404 } | |
1405 } | |
1406 | |
1407 /// <summary>Field number for the "optional_value" field.</summary> | |
1408 public const int OptionalValueFieldNumber = 306; | |
1409 private global::Google.Protobuf.WellKnownTypes.Value optionalValue_; | |
1410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1411 public global::Google.Protobuf.WellKnownTypes.Value OptionalValue { | |
1412 get { return optionalValue_; } | |
1413 set { | |
1414 optionalValue_ = value; | |
1415 } | |
1416 } | |
1417 | |
1418 /// <summary>Field number for the "repeated_duration" field.</summary> | |
1419 public const int RepeatedDurationFieldNumber = 311; | |
1420 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Duration> _repeated_repeatedDuration_codec | |
1421 = pb::FieldCodec.ForMessage(2490, global::Google.Protobuf.WellKnownTypes
.Duration.Parser); | |
1422 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.D
uration> repeatedDuration_ = new pbc::RepeatedField<global::Google.Protobuf.Well
KnownTypes.Duration>(); | |
1423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1424 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> R
epeatedDuration { | |
1425 get { return repeatedDuration_; } | |
1426 } | |
1427 | |
1428 /// <summary>Field number for the "repeated_timestamp" field.</summary> | |
1429 public const int RepeatedTimestampFieldNumber = 312; | |
1430 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Timestamp> _repeated_repeatedTimestamp_codec | |
1431 = pb::FieldCodec.ForMessage(2498, global::Google.Protobuf.WellKnownTypes
.Timestamp.Parser); | |
1432 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.T
imestamp> repeatedTimestamp_ = new pbc::RepeatedField<global::Google.Protobuf.We
llKnownTypes.Timestamp>(); | |
1433 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1434 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>
RepeatedTimestamp { | |
1435 get { return repeatedTimestamp_; } | |
1436 } | |
1437 | |
1438 /// <summary>Field number for the "repeated_fieldmask" field.</summary> | |
1439 public const int RepeatedFieldmaskFieldNumber = 313; | |
1440 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.FieldMask> _repeated_repeatedFieldmask_codec | |
1441 = pb::FieldCodec.ForMessage(2506, global::Google.Protobuf.WellKnownTypes
.FieldMask.Parser); | |
1442 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.F
ieldMask> repeatedFieldmask_ = new pbc::RepeatedField<global::Google.Protobuf.We
llKnownTypes.FieldMask>(); | |
1443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1444 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>
RepeatedFieldmask { | |
1445 get { return repeatedFieldmask_; } | |
1446 } | |
1447 | |
1448 /// <summary>Field number for the "repeated_struct" field.</summary> | |
1449 public const int RepeatedStructFieldNumber = 324; | |
1450 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Struct> _repeated_repeatedStruct_codec | |
1451 = pb::FieldCodec.ForMessage(2594, global::Google.Protobuf.WellKnownTypes
.Struct.Parser); | |
1452 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.S
truct> repeatedStruct_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnow
nTypes.Struct>(); | |
1453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1454 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> Rep
eatedStruct { | |
1455 get { return repeatedStruct_; } | |
1456 } | |
1457 | |
1458 /// <summary>Field number for the "repeated_any" field.</summary> | |
1459 public const int RepeatedAnyFieldNumber = 315; | |
1460 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Any> _repeated_repeatedAny_codec | |
1461 = pb::FieldCodec.ForMessage(2522, global::Google.Protobuf.WellKnownTypes
.Any.Parser); | |
1462 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.A
ny> repeatedAny_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes
.Any>(); | |
1463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1464 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> Repeat
edAny { | |
1465 get { return repeatedAny_; } | |
1466 } | |
1467 | |
1468 /// <summary>Field number for the "repeated_value" field.</summary> | |
1469 public const int RepeatedValueFieldNumber = 316; | |
1470 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Value> _repeated_repeatedValue_codec | |
1471 = pb::FieldCodec.ForMessage(2530, global::Google.Protobuf.WellKnownTypes
.Value.Parser); | |
1472 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.V
alue> repeatedValue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownT
ypes.Value>(); | |
1473 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1474 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Repe
atedValue { | |
1475 get { return repeatedValue_; } | |
1476 } | |
1477 | |
1478 /// <summary>Field number for the "fieldname1" field.</summary> | |
1479 public const int Fieldname1FieldNumber = 401; | |
1480 private int fieldname1_; | |
1481 /// <summary> | |
1482 /// Test field-name-to-JSON-name convention. | |
1483 /// (protobuf says names can be any valid C/C++ identifier.) | |
1484 /// </summary> | |
1485 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1486 public int Fieldname1 { | |
1487 get { return fieldname1_; } | |
1488 set { | |
1489 fieldname1_ = value; | |
1490 } | |
1491 } | |
1492 | |
1493 /// <summary>Field number for the "field_name2" field.</summary> | |
1494 public const int FieldName2FieldNumber = 402; | |
1495 private int fieldName2_; | |
1496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1497 public int FieldName2 { | |
1498 get { return fieldName2_; } | |
1499 set { | |
1500 fieldName2_ = value; | |
1501 } | |
1502 } | |
1503 | |
1504 /// <summary>Field number for the "_field_name3" field.</summary> | |
1505 public const int FieldName3FieldNumber = 403; | |
1506 private int FieldName3_; | |
1507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1508 public int FieldName3 { | |
1509 get { return FieldName3_; } | |
1510 set { | |
1511 FieldName3_ = value; | |
1512 } | |
1513 } | |
1514 | |
1515 /// <summary>Field number for the "field__name4_" field.</summary> | |
1516 public const int FieldName4FieldNumber = 404; | |
1517 private int fieldName4_; | |
1518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1519 public int FieldName4 { | |
1520 get { return fieldName4_; } | |
1521 set { | |
1522 fieldName4_ = value; | |
1523 } | |
1524 } | |
1525 | |
1526 /// <summary>Field number for the "field0name5" field.</summary> | |
1527 public const int Field0Name5FieldNumber = 405; | |
1528 private int field0Name5_; | |
1529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1530 public int Field0Name5 { | |
1531 get { return field0Name5_; } | |
1532 set { | |
1533 field0Name5_ = value; | |
1534 } | |
1535 } | |
1536 | |
1537 /// <summary>Field number for the "field_0_name6" field.</summary> | |
1538 public const int Field0Name6FieldNumber = 406; | |
1539 private int field0Name6_; | |
1540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1541 public int Field0Name6 { | |
1542 get { return field0Name6_; } | |
1543 set { | |
1544 field0Name6_ = value; | |
1545 } | |
1546 } | |
1547 | |
1548 /// <summary>Field number for the "fieldName7" field.</summary> | |
1549 public const int FieldName7FieldNumber = 407; | |
1550 private int fieldName7_; | |
1551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1552 public int FieldName7 { | |
1553 get { return fieldName7_; } | |
1554 set { | |
1555 fieldName7_ = value; | |
1556 } | |
1557 } | |
1558 | |
1559 /// <summary>Field number for the "FieldName8" field.</summary> | |
1560 public const int FieldName8FieldNumber = 408; | |
1561 private int fieldName8_; | |
1562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1563 public int FieldName8 { | |
1564 get { return fieldName8_; } | |
1565 set { | |
1566 fieldName8_ = value; | |
1567 } | |
1568 } | |
1569 | |
1570 /// <summary>Field number for the "field_Name9" field.</summary> | |
1571 public const int FieldName9FieldNumber = 409; | |
1572 private int fieldName9_; | |
1573 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1574 public int FieldName9 { | |
1575 get { return fieldName9_; } | |
1576 set { | |
1577 fieldName9_ = value; | |
1578 } | |
1579 } | |
1580 | |
1581 /// <summary>Field number for the "Field_Name10" field.</summary> | |
1582 public const int FieldName10FieldNumber = 410; | |
1583 private int fieldName10_; | |
1584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1585 public int FieldName10 { | |
1586 get { return fieldName10_; } | |
1587 set { | |
1588 fieldName10_ = value; | |
1589 } | |
1590 } | |
1591 | |
1592 /// <summary>Field number for the "FIELD_NAME11" field.</summary> | |
1593 public const int FIELDNAME11FieldNumber = 411; | |
1594 private int fIELDNAME11_; | |
1595 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1596 public int FIELDNAME11 { | |
1597 get { return fIELDNAME11_; } | |
1598 set { | |
1599 fIELDNAME11_ = value; | |
1600 } | |
1601 } | |
1602 | |
1603 /// <summary>Field number for the "FIELD_name12" field.</summary> | |
1604 public const int FIELDName12FieldNumber = 412; | |
1605 private int fIELDName12_; | |
1606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1607 public int FIELDName12 { | |
1608 get { return fIELDName12_; } | |
1609 set { | |
1610 fIELDName12_ = value; | |
1611 } | |
1612 } | |
1613 | |
1614 /// <summary>Field number for the "__field_name13" field.</summary> | |
1615 public const int FieldName13FieldNumber = 413; | |
1616 private int FieldName13_; | |
1617 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1618 public int FieldName13 { | |
1619 get { return FieldName13_; } | |
1620 set { | |
1621 FieldName13_ = value; | |
1622 } | |
1623 } | |
1624 | |
1625 /// <summary>Field number for the "__Field_name14" field.</summary> | |
1626 public const int FieldName14FieldNumber = 414; | |
1627 private int FieldName14_; | |
1628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1629 public int FieldName14 { | |
1630 get { return FieldName14_; } | |
1631 set { | |
1632 FieldName14_ = value; | |
1633 } | |
1634 } | |
1635 | |
1636 /// <summary>Field number for the "field__name15" field.</summary> | |
1637 public const int FieldName15FieldNumber = 415; | |
1638 private int fieldName15_; | |
1639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1640 public int FieldName15 { | |
1641 get { return fieldName15_; } | |
1642 set { | |
1643 fieldName15_ = value; | |
1644 } | |
1645 } | |
1646 | |
1647 /// <summary>Field number for the "field__Name16" field.</summary> | |
1648 public const int FieldName16FieldNumber = 416; | |
1649 private int fieldName16_; | |
1650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1651 public int FieldName16 { | |
1652 get { return fieldName16_; } | |
1653 set { | |
1654 fieldName16_ = value; | |
1655 } | |
1656 } | |
1657 | |
1658 /// <summary>Field number for the "field_name17__" field.</summary> | |
1659 public const int FieldName17FieldNumber = 417; | |
1660 private int fieldName17_; | |
1661 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1662 public int FieldName17 { | |
1663 get { return fieldName17_; } | |
1664 set { | |
1665 fieldName17_ = value; | |
1666 } | |
1667 } | |
1668 | |
1669 /// <summary>Field number for the "Field_name18__" field.</summary> | |
1670 public const int FieldName18FieldNumber = 418; | |
1671 private int fieldName18_; | |
1672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1673 public int FieldName18 { | |
1674 get { return fieldName18_; } | |
1675 set { | |
1676 fieldName18_ = value; | |
1677 } | |
1678 } | |
1679 | |
1680 private object oneofField_; | |
1681 /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary> | |
1682 public enum OneofFieldOneofCase { | |
1683 None = 0, | |
1684 OneofUint32 = 111, | |
1685 OneofNestedMessage = 112, | |
1686 OneofString = 113, | |
1687 OneofBytes = 114, | |
1688 OneofBool = 115, | |
1689 OneofUint64 = 116, | |
1690 OneofFloat = 117, | |
1691 OneofDouble = 118, | |
1692 OneofEnum = 119, | |
1693 } | |
1694 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; | |
1695 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1696 public OneofFieldOneofCase OneofFieldCase { | |
1697 get { return oneofFieldCase_; } | |
1698 } | |
1699 | |
1700 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1701 public void ClearOneofField() { | |
1702 oneofFieldCase_ = OneofFieldOneofCase.None; | |
1703 oneofField_ = null; | |
1704 } | |
1705 | |
1706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1707 public override bool Equals(object other) { | |
1708 return Equals(other as TestAllTypes); | |
1709 } | |
1710 | |
1711 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1712 public bool Equals(TestAllTypes other) { | |
1713 if (ReferenceEquals(other, null)) { | |
1714 return false; | |
1715 } | |
1716 if (ReferenceEquals(other, this)) { | |
1717 return true; | |
1718 } | |
1719 if (OptionalInt32 != other.OptionalInt32) return false; | |
1720 if (OptionalInt64 != other.OptionalInt64) return false; | |
1721 if (OptionalUint32 != other.OptionalUint32) return false; | |
1722 if (OptionalUint64 != other.OptionalUint64) return false; | |
1723 if (OptionalSint32 != other.OptionalSint32) return false; | |
1724 if (OptionalSint64 != other.OptionalSint64) return false; | |
1725 if (OptionalFixed32 != other.OptionalFixed32) return false; | |
1726 if (OptionalFixed64 != other.OptionalFixed64) return false; | |
1727 if (OptionalSfixed32 != other.OptionalSfixed32) return false; | |
1728 if (OptionalSfixed64 != other.OptionalSfixed64) return false; | |
1729 if (OptionalFloat != other.OptionalFloat) return false; | |
1730 if (OptionalDouble != other.OptionalDouble) return false; | |
1731 if (OptionalBool != other.OptionalBool) return false; | |
1732 if (OptionalString != other.OptionalString) return false; | |
1733 if (OptionalBytes != other.OptionalBytes) return false; | |
1734 if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) re
turn false; | |
1735 if (!object.Equals(OptionalForeignMessage, other.OptionalForeignMessage))
return false; | |
1736 if (OptionalNestedEnum != other.OptionalNestedEnum) return false; | |
1737 if (OptionalForeignEnum != other.OptionalForeignEnum) return false; | |
1738 if (OptionalStringPiece != other.OptionalStringPiece) return false; | |
1739 if (OptionalCord != other.OptionalCord) return false; | |
1740 if (!object.Equals(RecursiveMessage, other.RecursiveMessage)) return false
; | |
1741 if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false; | |
1742 if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false; | |
1743 if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false; | |
1744 if(!repeatedUint64_.Equals(other.repeatedUint64_)) return false; | |
1745 if(!repeatedSint32_.Equals(other.repeatedSint32_)) return false; | |
1746 if(!repeatedSint64_.Equals(other.repeatedSint64_)) return false; | |
1747 if(!repeatedFixed32_.Equals(other.repeatedFixed32_)) return false; | |
1748 if(!repeatedFixed64_.Equals(other.repeatedFixed64_)) return false; | |
1749 if(!repeatedSfixed32_.Equals(other.repeatedSfixed32_)) return false; | |
1750 if(!repeatedSfixed64_.Equals(other.repeatedSfixed64_)) return false; | |
1751 if(!repeatedFloat_.Equals(other.repeatedFloat_)) return false; | |
1752 if(!repeatedDouble_.Equals(other.repeatedDouble_)) return false; | |
1753 if(!repeatedBool_.Equals(other.repeatedBool_)) return false; | |
1754 if(!repeatedString_.Equals(other.repeatedString_)) return false; | |
1755 if(!repeatedBytes_.Equals(other.repeatedBytes_)) return false; | |
1756 if(!repeatedNestedMessage_.Equals(other.repeatedNestedMessage_)) return fa
lse; | |
1757 if(!repeatedForeignMessage_.Equals(other.repeatedForeignMessage_)) return
false; | |
1758 if(!repeatedNestedEnum_.Equals(other.repeatedNestedEnum_)) return false; | |
1759 if(!repeatedForeignEnum_.Equals(other.repeatedForeignEnum_)) return false; | |
1760 if(!repeatedStringPiece_.Equals(other.repeatedStringPiece_)) return false; | |
1761 if(!repeatedCord_.Equals(other.repeatedCord_)) return false; | |
1762 if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false; | |
1763 if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false; | |
1764 if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false; | |
1765 if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false; | |
1766 if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false; | |
1767 if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false; | |
1768 if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false; | |
1769 if (!MapFixed64Fixed64.Equals(other.MapFixed64Fixed64)) return false; | |
1770 if (!MapSfixed32Sfixed32.Equals(other.MapSfixed32Sfixed32)) return false; | |
1771 if (!MapSfixed64Sfixed64.Equals(other.MapSfixed64Sfixed64)) return false; | |
1772 if (!MapInt32Float.Equals(other.MapInt32Float)) return false; | |
1773 if (!MapInt32Double.Equals(other.MapInt32Double)) return false; | |
1774 if (!MapBoolBool.Equals(other.MapBoolBool)) return false; | |
1775 if (!MapStringString.Equals(other.MapStringString)) return false; | |
1776 if (!MapStringBytes.Equals(other.MapStringBytes)) return false; | |
1777 if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return f
alse; | |
1778 if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return
false; | |
1779 if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false; | |
1780 if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false
; | |
1781 if (OneofUint32 != other.OneofUint32) return false; | |
1782 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return f
alse; | |
1783 if (OneofString != other.OneofString) return false; | |
1784 if (OneofBytes != other.OneofBytes) return false; | |
1785 if (OneofBool != other.OneofBool) return false; | |
1786 if (OneofUint64 != other.OneofUint64) return false; | |
1787 if (OneofFloat != other.OneofFloat) return false; | |
1788 if (OneofDouble != other.OneofDouble) return false; | |
1789 if (OneofEnum != other.OneofEnum) return false; | |
1790 if (OptionalBoolWrapper != other.OptionalBoolWrapper) return false; | |
1791 if (OptionalInt32Wrapper != other.OptionalInt32Wrapper) return false; | |
1792 if (OptionalInt64Wrapper != other.OptionalInt64Wrapper) return false; | |
1793 if (OptionalUint32Wrapper != other.OptionalUint32Wrapper) return false; | |
1794 if (OptionalUint64Wrapper != other.OptionalUint64Wrapper) return false; | |
1795 if (OptionalFloatWrapper != other.OptionalFloatWrapper) return false; | |
1796 if (OptionalDoubleWrapper != other.OptionalDoubleWrapper) return false; | |
1797 if (OptionalStringWrapper != other.OptionalStringWrapper) return false; | |
1798 if (OptionalBytesWrapper != other.OptionalBytesWrapper) return false; | |
1799 if(!repeatedBoolWrapper_.Equals(other.repeatedBoolWrapper_)) return false; | |
1800 if(!repeatedInt32Wrapper_.Equals(other.repeatedInt32Wrapper_)) return fals
e; | |
1801 if(!repeatedInt64Wrapper_.Equals(other.repeatedInt64Wrapper_)) return fals
e; | |
1802 if(!repeatedUint32Wrapper_.Equals(other.repeatedUint32Wrapper_)) return fa
lse; | |
1803 if(!repeatedUint64Wrapper_.Equals(other.repeatedUint64Wrapper_)) return fa
lse; | |
1804 if(!repeatedFloatWrapper_.Equals(other.repeatedFloatWrapper_)) return fals
e; | |
1805 if(!repeatedDoubleWrapper_.Equals(other.repeatedDoubleWrapper_)) return fa
lse; | |
1806 if(!repeatedStringWrapper_.Equals(other.repeatedStringWrapper_)) return fa
lse; | |
1807 if(!repeatedBytesWrapper_.Equals(other.repeatedBytesWrapper_)) return fals
e; | |
1808 if (!object.Equals(OptionalDuration, other.OptionalDuration)) return false
; | |
1809 if (!object.Equals(OptionalTimestamp, other.OptionalTimestamp)) return fal
se; | |
1810 if (!object.Equals(OptionalFieldMask, other.OptionalFieldMask)) return fal
se; | |
1811 if (!object.Equals(OptionalStruct, other.OptionalStruct)) return false; | |
1812 if (!object.Equals(OptionalAny, other.OptionalAny)) return false; | |
1813 if (!object.Equals(OptionalValue, other.OptionalValue)) return false; | |
1814 if(!repeatedDuration_.Equals(other.repeatedDuration_)) return false; | |
1815 if(!repeatedTimestamp_.Equals(other.repeatedTimestamp_)) return false; | |
1816 if(!repeatedFieldmask_.Equals(other.repeatedFieldmask_)) return false; | |
1817 if(!repeatedStruct_.Equals(other.repeatedStruct_)) return false; | |
1818 if(!repeatedAny_.Equals(other.repeatedAny_)) return false; | |
1819 if(!repeatedValue_.Equals(other.repeatedValue_)) return false; | |
1820 if (Fieldname1 != other.Fieldname1) return false; | |
1821 if (FieldName2 != other.FieldName2) return false; | |
1822 if (FieldName3 != other.FieldName3) return false; | |
1823 if (FieldName4 != other.FieldName4) return false; | |
1824 if (Field0Name5 != other.Field0Name5) return false; | |
1825 if (Field0Name6 != other.Field0Name6) return false; | |
1826 if (FieldName7 != other.FieldName7) return false; | |
1827 if (FieldName8 != other.FieldName8) return false; | |
1828 if (FieldName9 != other.FieldName9) return false; | |
1829 if (FieldName10 != other.FieldName10) return false; | |
1830 if (FIELDNAME11 != other.FIELDNAME11) return false; | |
1831 if (FIELDName12 != other.FIELDName12) return false; | |
1832 if (FieldName13 != other.FieldName13) return false; | |
1833 if (FieldName14 != other.FieldName14) return false; | |
1834 if (FieldName15 != other.FieldName15) return false; | |
1835 if (FieldName16 != other.FieldName16) return false; | |
1836 if (FieldName17 != other.FieldName17) return false; | |
1837 if (FieldName18 != other.FieldName18) return false; | |
1838 if (OneofFieldCase != other.OneofFieldCase) return false; | |
1839 return true; | |
1840 } | |
1841 | |
1842 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1843 public override int GetHashCode() { | |
1844 int hash = 1; | |
1845 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); | |
1846 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); | |
1847 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); | |
1848 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); | |
1849 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); | |
1850 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); | |
1851 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); | |
1852 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); | |
1853 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); | |
1854 if (OptionalSfixed64 != 0L) hash ^= OptionalSfixed64.GetHashCode(); | |
1855 if (OptionalFloat != 0F) hash ^= OptionalFloat.GetHashCode(); | |
1856 if (OptionalDouble != 0D) hash ^= OptionalDouble.GetHashCode(); | |
1857 if (OptionalBool != false) hash ^= OptionalBool.GetHashCode(); | |
1858 if (OptionalString.Length != 0) hash ^= OptionalString.GetHashCode(); | |
1859 if (OptionalBytes.Length != 0) hash ^= OptionalBytes.GetHashCode(); | |
1860 if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashC
ode(); | |
1861 if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHas
hCode(); | |
1862 if (OptionalNestedEnum != 0) hash ^= OptionalNestedEnum.GetHashCode(); | |
1863 if (OptionalForeignEnum != 0) hash ^= OptionalForeignEnum.GetHashCode(); | |
1864 if (OptionalStringPiece.Length != 0) hash ^= OptionalStringPiece.GetHashCo
de(); | |
1865 if (OptionalCord.Length != 0) hash ^= OptionalCord.GetHashCode(); | |
1866 if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode(); | |
1867 hash ^= repeatedInt32_.GetHashCode(); | |
1868 hash ^= repeatedInt64_.GetHashCode(); | |
1869 hash ^= repeatedUint32_.GetHashCode(); | |
1870 hash ^= repeatedUint64_.GetHashCode(); | |
1871 hash ^= repeatedSint32_.GetHashCode(); | |
1872 hash ^= repeatedSint64_.GetHashCode(); | |
1873 hash ^= repeatedFixed32_.GetHashCode(); | |
1874 hash ^= repeatedFixed64_.GetHashCode(); | |
1875 hash ^= repeatedSfixed32_.GetHashCode(); | |
1876 hash ^= repeatedSfixed64_.GetHashCode(); | |
1877 hash ^= repeatedFloat_.GetHashCode(); | |
1878 hash ^= repeatedDouble_.GetHashCode(); | |
1879 hash ^= repeatedBool_.GetHashCode(); | |
1880 hash ^= repeatedString_.GetHashCode(); | |
1881 hash ^= repeatedBytes_.GetHashCode(); | |
1882 hash ^= repeatedNestedMessage_.GetHashCode(); | |
1883 hash ^= repeatedForeignMessage_.GetHashCode(); | |
1884 hash ^= repeatedNestedEnum_.GetHashCode(); | |
1885 hash ^= repeatedForeignEnum_.GetHashCode(); | |
1886 hash ^= repeatedStringPiece_.GetHashCode(); | |
1887 hash ^= repeatedCord_.GetHashCode(); | |
1888 hash ^= MapInt32Int32.GetHashCode(); | |
1889 hash ^= MapInt64Int64.GetHashCode(); | |
1890 hash ^= MapUint32Uint32.GetHashCode(); | |
1891 hash ^= MapUint64Uint64.GetHashCode(); | |
1892 hash ^= MapSint32Sint32.GetHashCode(); | |
1893 hash ^= MapSint64Sint64.GetHashCode(); | |
1894 hash ^= MapFixed32Fixed32.GetHashCode(); | |
1895 hash ^= MapFixed64Fixed64.GetHashCode(); | |
1896 hash ^= MapSfixed32Sfixed32.GetHashCode(); | |
1897 hash ^= MapSfixed64Sfixed64.GetHashCode(); | |
1898 hash ^= MapInt32Float.GetHashCode(); | |
1899 hash ^= MapInt32Double.GetHashCode(); | |
1900 hash ^= MapBoolBool.GetHashCode(); | |
1901 hash ^= MapStringString.GetHashCode(); | |
1902 hash ^= MapStringBytes.GetHashCode(); | |
1903 hash ^= MapStringNestedMessage.GetHashCode(); | |
1904 hash ^= MapStringForeignMessage.GetHashCode(); | |
1905 hash ^= MapStringNestedEnum.GetHashCode(); | |
1906 hash ^= MapStringForeignEnum.GetHashCode(); | |
1907 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint3
2.GetHashCode(); | |
1908 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= One
ofNestedMessage.GetHashCode(); | |
1909 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofStrin
g.GetHashCode(); | |
1910 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.
GetHashCode(); | |
1911 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) hash ^= OneofBool.Ge
tHashCode(); | |
1912 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) hash ^= OneofUint6
4.GetHashCode(); | |
1913 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) hash ^= OneofFloat.
GetHashCode(); | |
1914 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) hash ^= OneofDoubl
e.GetHashCode(); | |
1915 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) hash ^= OneofEnum.Ge
tHashCode(); | |
1916 if (optionalBoolWrapper_ != null) hash ^= OptionalBoolWrapper.GetHashCode(
); | |
1917 if (optionalInt32Wrapper_ != null) hash ^= OptionalInt32Wrapper.GetHashCod
e(); | |
1918 if (optionalInt64Wrapper_ != null) hash ^= OptionalInt64Wrapper.GetHashCod
e(); | |
1919 if (optionalUint32Wrapper_ != null) hash ^= OptionalUint32Wrapper.GetHashC
ode(); | |
1920 if (optionalUint64Wrapper_ != null) hash ^= OptionalUint64Wrapper.GetHashC
ode(); | |
1921 if (optionalFloatWrapper_ != null) hash ^= OptionalFloatWrapper.GetHashCod
e(); | |
1922 if (optionalDoubleWrapper_ != null) hash ^= OptionalDoubleWrapper.GetHashC
ode(); | |
1923 if (optionalStringWrapper_ != null) hash ^= OptionalStringWrapper.GetHashC
ode(); | |
1924 if (optionalBytesWrapper_ != null) hash ^= OptionalBytesWrapper.GetHashCod
e(); | |
1925 hash ^= repeatedBoolWrapper_.GetHashCode(); | |
1926 hash ^= repeatedInt32Wrapper_.GetHashCode(); | |
1927 hash ^= repeatedInt64Wrapper_.GetHashCode(); | |
1928 hash ^= repeatedUint32Wrapper_.GetHashCode(); | |
1929 hash ^= repeatedUint64Wrapper_.GetHashCode(); | |
1930 hash ^= repeatedFloatWrapper_.GetHashCode(); | |
1931 hash ^= repeatedDoubleWrapper_.GetHashCode(); | |
1932 hash ^= repeatedStringWrapper_.GetHashCode(); | |
1933 hash ^= repeatedBytesWrapper_.GetHashCode(); | |
1934 if (optionalDuration_ != null) hash ^= OptionalDuration.GetHashCode(); | |
1935 if (optionalTimestamp_ != null) hash ^= OptionalTimestamp.GetHashCode(); | |
1936 if (optionalFieldMask_ != null) hash ^= OptionalFieldMask.GetHashCode(); | |
1937 if (optionalStruct_ != null) hash ^= OptionalStruct.GetHashCode(); | |
1938 if (optionalAny_ != null) hash ^= OptionalAny.GetHashCode(); | |
1939 if (optionalValue_ != null) hash ^= OptionalValue.GetHashCode(); | |
1940 hash ^= repeatedDuration_.GetHashCode(); | |
1941 hash ^= repeatedTimestamp_.GetHashCode(); | |
1942 hash ^= repeatedFieldmask_.GetHashCode(); | |
1943 hash ^= repeatedStruct_.GetHashCode(); | |
1944 hash ^= repeatedAny_.GetHashCode(); | |
1945 hash ^= repeatedValue_.GetHashCode(); | |
1946 if (Fieldname1 != 0) hash ^= Fieldname1.GetHashCode(); | |
1947 if (FieldName2 != 0) hash ^= FieldName2.GetHashCode(); | |
1948 if (FieldName3 != 0) hash ^= FieldName3.GetHashCode(); | |
1949 if (FieldName4 != 0) hash ^= FieldName4.GetHashCode(); | |
1950 if (Field0Name5 != 0) hash ^= Field0Name5.GetHashCode(); | |
1951 if (Field0Name6 != 0) hash ^= Field0Name6.GetHashCode(); | |
1952 if (FieldName7 != 0) hash ^= FieldName7.GetHashCode(); | |
1953 if (FieldName8 != 0) hash ^= FieldName8.GetHashCode(); | |
1954 if (FieldName9 != 0) hash ^= FieldName9.GetHashCode(); | |
1955 if (FieldName10 != 0) hash ^= FieldName10.GetHashCode(); | |
1956 if (FIELDNAME11 != 0) hash ^= FIELDNAME11.GetHashCode(); | |
1957 if (FIELDName12 != 0) hash ^= FIELDName12.GetHashCode(); | |
1958 if (FieldName13 != 0) hash ^= FieldName13.GetHashCode(); | |
1959 if (FieldName14 != 0) hash ^= FieldName14.GetHashCode(); | |
1960 if (FieldName15 != 0) hash ^= FieldName15.GetHashCode(); | |
1961 if (FieldName16 != 0) hash ^= FieldName16.GetHashCode(); | |
1962 if (FieldName17 != 0) hash ^= FieldName17.GetHashCode(); | |
1963 if (FieldName18 != 0) hash ^= FieldName18.GetHashCode(); | |
1964 hash ^= (int) oneofFieldCase_; | |
1965 return hash; | |
1966 } | |
1967 | |
1968 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1969 public override string ToString() { | |
1970 return pb::JsonFormatter.ToDiagnosticString(this); | |
1971 } | |
1972 | |
1973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1974 public void WriteTo(pb::CodedOutputStream output) { | |
1975 if (OptionalInt32 != 0) { | |
1976 output.WriteRawTag(8); | |
1977 output.WriteInt32(OptionalInt32); | |
1978 } | |
1979 if (OptionalInt64 != 0L) { | |
1980 output.WriteRawTag(16); | |
1981 output.WriteInt64(OptionalInt64); | |
1982 } | |
1983 if (OptionalUint32 != 0) { | |
1984 output.WriteRawTag(24); | |
1985 output.WriteUInt32(OptionalUint32); | |
1986 } | |
1987 if (OptionalUint64 != 0UL) { | |
1988 output.WriteRawTag(32); | |
1989 output.WriteUInt64(OptionalUint64); | |
1990 } | |
1991 if (OptionalSint32 != 0) { | |
1992 output.WriteRawTag(40); | |
1993 output.WriteSInt32(OptionalSint32); | |
1994 } | |
1995 if (OptionalSint64 != 0L) { | |
1996 output.WriteRawTag(48); | |
1997 output.WriteSInt64(OptionalSint64); | |
1998 } | |
1999 if (OptionalFixed32 != 0) { | |
2000 output.WriteRawTag(61); | |
2001 output.WriteFixed32(OptionalFixed32); | |
2002 } | |
2003 if (OptionalFixed64 != 0UL) { | |
2004 output.WriteRawTag(65); | |
2005 output.WriteFixed64(OptionalFixed64); | |
2006 } | |
2007 if (OptionalSfixed32 != 0) { | |
2008 output.WriteRawTag(77); | |
2009 output.WriteSFixed32(OptionalSfixed32); | |
2010 } | |
2011 if (OptionalSfixed64 != 0L) { | |
2012 output.WriteRawTag(81); | |
2013 output.WriteSFixed64(OptionalSfixed64); | |
2014 } | |
2015 if (OptionalFloat != 0F) { | |
2016 output.WriteRawTag(93); | |
2017 output.WriteFloat(OptionalFloat); | |
2018 } | |
2019 if (OptionalDouble != 0D) { | |
2020 output.WriteRawTag(97); | |
2021 output.WriteDouble(OptionalDouble); | |
2022 } | |
2023 if (OptionalBool != false) { | |
2024 output.WriteRawTag(104); | |
2025 output.WriteBool(OptionalBool); | |
2026 } | |
2027 if (OptionalString.Length != 0) { | |
2028 output.WriteRawTag(114); | |
2029 output.WriteString(OptionalString); | |
2030 } | |
2031 if (OptionalBytes.Length != 0) { | |
2032 output.WriteRawTag(122); | |
2033 output.WriteBytes(OptionalBytes); | |
2034 } | |
2035 if (optionalNestedMessage_ != null) { | |
2036 output.WriteRawTag(146, 1); | |
2037 output.WriteMessage(OptionalNestedMessage); | |
2038 } | |
2039 if (optionalForeignMessage_ != null) { | |
2040 output.WriteRawTag(154, 1); | |
2041 output.WriteMessage(OptionalForeignMessage); | |
2042 } | |
2043 if (OptionalNestedEnum != 0) { | |
2044 output.WriteRawTag(168, 1); | |
2045 output.WriteEnum((int) OptionalNestedEnum); | |
2046 } | |
2047 if (OptionalForeignEnum != 0) { | |
2048 output.WriteRawTag(176, 1); | |
2049 output.WriteEnum((int) OptionalForeignEnum); | |
2050 } | |
2051 if (OptionalStringPiece.Length != 0) { | |
2052 output.WriteRawTag(194, 1); | |
2053 output.WriteString(OptionalStringPiece); | |
2054 } | |
2055 if (OptionalCord.Length != 0) { | |
2056 output.WriteRawTag(202, 1); | |
2057 output.WriteString(OptionalCord); | |
2058 } | |
2059 if (recursiveMessage_ != null) { | |
2060 output.WriteRawTag(218, 1); | |
2061 output.WriteMessage(RecursiveMessage); | |
2062 } | |
2063 repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec); | |
2064 repeatedInt64_.WriteTo(output, _repeated_repeatedInt64_codec); | |
2065 repeatedUint32_.WriteTo(output, _repeated_repeatedUint32_codec); | |
2066 repeatedUint64_.WriteTo(output, _repeated_repeatedUint64_codec); | |
2067 repeatedSint32_.WriteTo(output, _repeated_repeatedSint32_codec); | |
2068 repeatedSint64_.WriteTo(output, _repeated_repeatedSint64_codec); | |
2069 repeatedFixed32_.WriteTo(output, _repeated_repeatedFixed32_codec); | |
2070 repeatedFixed64_.WriteTo(output, _repeated_repeatedFixed64_codec); | |
2071 repeatedSfixed32_.WriteTo(output, _repeated_repeatedSfixed32_codec); | |
2072 repeatedSfixed64_.WriteTo(output, _repeated_repeatedSfixed64_codec); | |
2073 repeatedFloat_.WriteTo(output, _repeated_repeatedFloat_codec); | |
2074 repeatedDouble_.WriteTo(output, _repeated_repeatedDouble_codec); | |
2075 repeatedBool_.WriteTo(output, _repeated_repeatedBool_codec); | |
2076 repeatedString_.WriteTo(output, _repeated_repeatedString_codec); | |
2077 repeatedBytes_.WriteTo(output, _repeated_repeatedBytes_codec); | |
2078 repeatedNestedMessage_.WriteTo(output, _repeated_repeatedNestedMessage_cod
ec); | |
2079 repeatedForeignMessage_.WriteTo(output, _repeated_repeatedForeignMessage_c
odec); | |
2080 repeatedNestedEnum_.WriteTo(output, _repeated_repeatedNestedEnum_codec); | |
2081 repeatedForeignEnum_.WriteTo(output, _repeated_repeatedForeignEnum_codec); | |
2082 repeatedStringPiece_.WriteTo(output, _repeated_repeatedStringPiece_codec); | |
2083 repeatedCord_.WriteTo(output, _repeated_repeatedCord_codec); | |
2084 mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec); | |
2085 mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec); | |
2086 mapUint32Uint32_.WriteTo(output, _map_mapUint32Uint32_codec); | |
2087 mapUint64Uint64_.WriteTo(output, _map_mapUint64Uint64_codec); | |
2088 mapSint32Sint32_.WriteTo(output, _map_mapSint32Sint32_codec); | |
2089 mapSint64Sint64_.WriteTo(output, _map_mapSint64Sint64_codec); | |
2090 mapFixed32Fixed32_.WriteTo(output, _map_mapFixed32Fixed32_codec); | |
2091 mapFixed64Fixed64_.WriteTo(output, _map_mapFixed64Fixed64_codec); | |
2092 mapSfixed32Sfixed32_.WriteTo(output, _map_mapSfixed32Sfixed32_codec); | |
2093 mapSfixed64Sfixed64_.WriteTo(output, _map_mapSfixed64Sfixed64_codec); | |
2094 mapInt32Float_.WriteTo(output, _map_mapInt32Float_codec); | |
2095 mapInt32Double_.WriteTo(output, _map_mapInt32Double_codec); | |
2096 mapBoolBool_.WriteTo(output, _map_mapBoolBool_codec); | |
2097 mapStringString_.WriteTo(output, _map_mapStringString_codec); | |
2098 mapStringBytes_.WriteTo(output, _map_mapStringBytes_codec); | |
2099 mapStringNestedMessage_.WriteTo(output, _map_mapStringNestedMessage_codec)
; | |
2100 mapStringForeignMessage_.WriteTo(output, _map_mapStringForeignMessage_code
c); | |
2101 mapStringNestedEnum_.WriteTo(output, _map_mapStringNestedEnum_codec); | |
2102 mapStringForeignEnum_.WriteTo(output, _map_mapStringForeignEnum_codec); | |
2103 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { | |
2104 output.WriteRawTag(248, 6); | |
2105 output.WriteUInt32(OneofUint32); | |
2106 } | |
2107 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { | |
2108 output.WriteRawTag(130, 7); | |
2109 output.WriteMessage(OneofNestedMessage); | |
2110 } | |
2111 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { | |
2112 output.WriteRawTag(138, 7); | |
2113 output.WriteString(OneofString); | |
2114 } | |
2115 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { | |
2116 output.WriteRawTag(146, 7); | |
2117 output.WriteBytes(OneofBytes); | |
2118 } | |
2119 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) { | |
2120 output.WriteRawTag(152, 7); | |
2121 output.WriteBool(OneofBool); | |
2122 } | |
2123 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) { | |
2124 output.WriteRawTag(160, 7); | |
2125 output.WriteUInt64(OneofUint64); | |
2126 } | |
2127 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) { | |
2128 output.WriteRawTag(173, 7); | |
2129 output.WriteFloat(OneofFloat); | |
2130 } | |
2131 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) { | |
2132 output.WriteRawTag(177, 7); | |
2133 output.WriteDouble(OneofDouble); | |
2134 } | |
2135 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) { | |
2136 output.WriteRawTag(184, 7); | |
2137 output.WriteEnum((int) OneofEnum); | |
2138 } | |
2139 if (optionalBoolWrapper_ != null) { | |
2140 _single_optionalBoolWrapper_codec.WriteTagAndValue(output, OptionalBoolW
rapper); | |
2141 } | |
2142 if (optionalInt32Wrapper_ != null) { | |
2143 _single_optionalInt32Wrapper_codec.WriteTagAndValue(output, OptionalInt3
2Wrapper); | |
2144 } | |
2145 if (optionalInt64Wrapper_ != null) { | |
2146 _single_optionalInt64Wrapper_codec.WriteTagAndValue(output, OptionalInt6
4Wrapper); | |
2147 } | |
2148 if (optionalUint32Wrapper_ != null) { | |
2149 _single_optionalUint32Wrapper_codec.WriteTagAndValue(output, OptionalUin
t32Wrapper); | |
2150 } | |
2151 if (optionalUint64Wrapper_ != null) { | |
2152 _single_optionalUint64Wrapper_codec.WriteTagAndValue(output, OptionalUin
t64Wrapper); | |
2153 } | |
2154 if (optionalFloatWrapper_ != null) { | |
2155 _single_optionalFloatWrapper_codec.WriteTagAndValue(output, OptionalFloa
tWrapper); | |
2156 } | |
2157 if (optionalDoubleWrapper_ != null) { | |
2158 _single_optionalDoubleWrapper_codec.WriteTagAndValue(output, OptionalDou
bleWrapper); | |
2159 } | |
2160 if (optionalStringWrapper_ != null) { | |
2161 _single_optionalStringWrapper_codec.WriteTagAndValue(output, OptionalStr
ingWrapper); | |
2162 } | |
2163 if (optionalBytesWrapper_ != null) { | |
2164 _single_optionalBytesWrapper_codec.WriteTagAndValue(output, OptionalByte
sWrapper); | |
2165 } | |
2166 repeatedBoolWrapper_.WriteTo(output, _repeated_repeatedBoolWrapper_codec); | |
2167 repeatedInt32Wrapper_.WriteTo(output, _repeated_repeatedInt32Wrapper_codec
); | |
2168 repeatedInt64Wrapper_.WriteTo(output, _repeated_repeatedInt64Wrapper_codec
); | |
2169 repeatedUint32Wrapper_.WriteTo(output, _repeated_repeatedUint32Wrapper_cod
ec); | |
2170 repeatedUint64Wrapper_.WriteTo(output, _repeated_repeatedUint64Wrapper_cod
ec); | |
2171 repeatedFloatWrapper_.WriteTo(output, _repeated_repeatedFloatWrapper_codec
); | |
2172 repeatedDoubleWrapper_.WriteTo(output, _repeated_repeatedDoubleWrapper_cod
ec); | |
2173 repeatedStringWrapper_.WriteTo(output, _repeated_repeatedStringWrapper_cod
ec); | |
2174 repeatedBytesWrapper_.WriteTo(output, _repeated_repeatedBytesWrapper_codec
); | |
2175 if (optionalDuration_ != null) { | |
2176 output.WriteRawTag(234, 18); | |
2177 output.WriteMessage(OptionalDuration); | |
2178 } | |
2179 if (optionalTimestamp_ != null) { | |
2180 output.WriteRawTag(242, 18); | |
2181 output.WriteMessage(OptionalTimestamp); | |
2182 } | |
2183 if (optionalFieldMask_ != null) { | |
2184 output.WriteRawTag(250, 18); | |
2185 output.WriteMessage(OptionalFieldMask); | |
2186 } | |
2187 if (optionalStruct_ != null) { | |
2188 output.WriteRawTag(130, 19); | |
2189 output.WriteMessage(OptionalStruct); | |
2190 } | |
2191 if (optionalAny_ != null) { | |
2192 output.WriteRawTag(138, 19); | |
2193 output.WriteMessage(OptionalAny); | |
2194 } | |
2195 if (optionalValue_ != null) { | |
2196 output.WriteRawTag(146, 19); | |
2197 output.WriteMessage(OptionalValue); | |
2198 } | |
2199 repeatedDuration_.WriteTo(output, _repeated_repeatedDuration_codec); | |
2200 repeatedTimestamp_.WriteTo(output, _repeated_repeatedTimestamp_codec); | |
2201 repeatedFieldmask_.WriteTo(output, _repeated_repeatedFieldmask_codec); | |
2202 repeatedAny_.WriteTo(output, _repeated_repeatedAny_codec); | |
2203 repeatedValue_.WriteTo(output, _repeated_repeatedValue_codec); | |
2204 repeatedStruct_.WriteTo(output, _repeated_repeatedStruct_codec); | |
2205 if (Fieldname1 != 0) { | |
2206 output.WriteRawTag(136, 25); | |
2207 output.WriteInt32(Fieldname1); | |
2208 } | |
2209 if (FieldName2 != 0) { | |
2210 output.WriteRawTag(144, 25); | |
2211 output.WriteInt32(FieldName2); | |
2212 } | |
2213 if (FieldName3 != 0) { | |
2214 output.WriteRawTag(152, 25); | |
2215 output.WriteInt32(FieldName3); | |
2216 } | |
2217 if (FieldName4 != 0) { | |
2218 output.WriteRawTag(160, 25); | |
2219 output.WriteInt32(FieldName4); | |
2220 } | |
2221 if (Field0Name5 != 0) { | |
2222 output.WriteRawTag(168, 25); | |
2223 output.WriteInt32(Field0Name5); | |
2224 } | |
2225 if (Field0Name6 != 0) { | |
2226 output.WriteRawTag(176, 25); | |
2227 output.WriteInt32(Field0Name6); | |
2228 } | |
2229 if (FieldName7 != 0) { | |
2230 output.WriteRawTag(184, 25); | |
2231 output.WriteInt32(FieldName7); | |
2232 } | |
2233 if (FieldName8 != 0) { | |
2234 output.WriteRawTag(192, 25); | |
2235 output.WriteInt32(FieldName8); | |
2236 } | |
2237 if (FieldName9 != 0) { | |
2238 output.WriteRawTag(200, 25); | |
2239 output.WriteInt32(FieldName9); | |
2240 } | |
2241 if (FieldName10 != 0) { | |
2242 output.WriteRawTag(208, 25); | |
2243 output.WriteInt32(FieldName10); | |
2244 } | |
2245 if (FIELDNAME11 != 0) { | |
2246 output.WriteRawTag(216, 25); | |
2247 output.WriteInt32(FIELDNAME11); | |
2248 } | |
2249 if (FIELDName12 != 0) { | |
2250 output.WriteRawTag(224, 25); | |
2251 output.WriteInt32(FIELDName12); | |
2252 } | |
2253 if (FieldName13 != 0) { | |
2254 output.WriteRawTag(232, 25); | |
2255 output.WriteInt32(FieldName13); | |
2256 } | |
2257 if (FieldName14 != 0) { | |
2258 output.WriteRawTag(240, 25); | |
2259 output.WriteInt32(FieldName14); | |
2260 } | |
2261 if (FieldName15 != 0) { | |
2262 output.WriteRawTag(248, 25); | |
2263 output.WriteInt32(FieldName15); | |
2264 } | |
2265 if (FieldName16 != 0) { | |
2266 output.WriteRawTag(128, 26); | |
2267 output.WriteInt32(FieldName16); | |
2268 } | |
2269 if (FieldName17 != 0) { | |
2270 output.WriteRawTag(136, 26); | |
2271 output.WriteInt32(FieldName17); | |
2272 } | |
2273 if (FieldName18 != 0) { | |
2274 output.WriteRawTag(144, 26); | |
2275 output.WriteInt32(FieldName18); | |
2276 } | |
2277 } | |
2278 | |
2279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2280 public int CalculateSize() { | |
2281 int size = 0; | |
2282 if (OptionalInt32 != 0) { | |
2283 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); | |
2284 } | |
2285 if (OptionalInt64 != 0L) { | |
2286 size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64); | |
2287 } | |
2288 if (OptionalUint32 != 0) { | |
2289 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32); | |
2290 } | |
2291 if (OptionalUint64 != 0UL) { | |
2292 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64); | |
2293 } | |
2294 if (OptionalSint32 != 0) { | |
2295 size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32); | |
2296 } | |
2297 if (OptionalSint64 != 0L) { | |
2298 size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64); | |
2299 } | |
2300 if (OptionalFixed32 != 0) { | |
2301 size += 1 + 4; | |
2302 } | |
2303 if (OptionalFixed64 != 0UL) { | |
2304 size += 1 + 8; | |
2305 } | |
2306 if (OptionalSfixed32 != 0) { | |
2307 size += 1 + 4; | |
2308 } | |
2309 if (OptionalSfixed64 != 0L) { | |
2310 size += 1 + 8; | |
2311 } | |
2312 if (OptionalFloat != 0F) { | |
2313 size += 1 + 4; | |
2314 } | |
2315 if (OptionalDouble != 0D) { | |
2316 size += 1 + 8; | |
2317 } | |
2318 if (OptionalBool != false) { | |
2319 size += 1 + 1; | |
2320 } | |
2321 if (OptionalString.Length != 0) { | |
2322 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); | |
2323 } | |
2324 if (OptionalBytes.Length != 0) { | |
2325 size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes); | |
2326 } | |
2327 if (optionalNestedMessage_ != null) { | |
2328 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessa
ge); | |
2329 } | |
2330 if (optionalForeignMessage_ != null) { | |
2331 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMess
age); | |
2332 } | |
2333 if (OptionalNestedEnum != 0) { | |
2334 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEn
um); | |
2335 } | |
2336 if (OptionalForeignEnum != 0) { | |
2337 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignE
num); | |
2338 } | |
2339 if (OptionalStringPiece.Length != 0) { | |
2340 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece)
; | |
2341 } | |
2342 if (OptionalCord.Length != 0) { | |
2343 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); | |
2344 } | |
2345 if (recursiveMessage_ != null) { | |
2346 size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage); | |
2347 } | |
2348 size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); | |
2349 size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); | |
2350 size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); | |
2351 size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); | |
2352 size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); | |
2353 size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); | |
2354 size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); | |
2355 size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec); | |
2356 size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec); | |
2357 size += repeatedSfixed64_.CalculateSize(_repeated_repeatedSfixed64_codec); | |
2358 size += repeatedFloat_.CalculateSize(_repeated_repeatedFloat_codec); | |
2359 size += repeatedDouble_.CalculateSize(_repeated_repeatedDouble_codec); | |
2360 size += repeatedBool_.CalculateSize(_repeated_repeatedBool_codec); | |
2361 size += repeatedString_.CalculateSize(_repeated_repeatedString_codec); | |
2362 size += repeatedBytes_.CalculateSize(_repeated_repeatedBytes_codec); | |
2363 size += repeatedNestedMessage_.CalculateSize(_repeated_repeatedNestedMessa
ge_codec); | |
2364 size += repeatedForeignMessage_.CalculateSize(_repeated_repeatedForeignMes
sage_codec); | |
2365 size += repeatedNestedEnum_.CalculateSize(_repeated_repeatedNestedEnum_cod
ec); | |
2366 size += repeatedForeignEnum_.CalculateSize(_repeated_repeatedForeignEnum_c
odec); | |
2367 size += repeatedStringPiece_.CalculateSize(_repeated_repeatedStringPiece_c
odec); | |
2368 size += repeatedCord_.CalculateSize(_repeated_repeatedCord_codec); | |
2369 size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); | |
2370 size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec); | |
2371 size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec); | |
2372 size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec); | |
2373 size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec); | |
2374 size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec); | |
2375 size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec); | |
2376 size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec); | |
2377 size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec)
; | |
2378 size += mapSfixed64Sfixed64_.CalculateSize(_map_mapSfixed64Sfixed64_codec)
; | |
2379 size += mapInt32Float_.CalculateSize(_map_mapInt32Float_codec); | |
2380 size += mapInt32Double_.CalculateSize(_map_mapInt32Double_codec); | |
2381 size += mapBoolBool_.CalculateSize(_map_mapBoolBool_codec); | |
2382 size += mapStringString_.CalculateSize(_map_mapStringString_codec); | |
2383 size += mapStringBytes_.CalculateSize(_map_mapStringBytes_codec); | |
2384 size += mapStringNestedMessage_.CalculateSize(_map_mapStringNestedMessage_
codec); | |
2385 size += mapStringForeignMessage_.CalculateSize(_map_mapStringForeignMessag
e_codec); | |
2386 size += mapStringNestedEnum_.CalculateSize(_map_mapStringNestedEnum_codec)
; | |
2387 size += mapStringForeignEnum_.CalculateSize(_map_mapStringForeignEnum_code
c); | |
2388 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { | |
2389 size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32); | |
2390 } | |
2391 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { | |
2392 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage)
; | |
2393 } | |
2394 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { | |
2395 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); | |
2396 } | |
2397 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { | |
2398 size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes); | |
2399 } | |
2400 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBool) { | |
2401 size += 2 + 1; | |
2402 } | |
2403 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint64) { | |
2404 size += 2 + pb::CodedOutputStream.ComputeUInt64Size(OneofUint64); | |
2405 } | |
2406 if (oneofFieldCase_ == OneofFieldOneofCase.OneofFloat) { | |
2407 size += 2 + 4; | |
2408 } | |
2409 if (oneofFieldCase_ == OneofFieldOneofCase.OneofDouble) { | |
2410 size += 2 + 8; | |
2411 } | |
2412 if (oneofFieldCase_ == OneofFieldOneofCase.OneofEnum) { | |
2413 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum); | |
2414 } | |
2415 if (optionalBoolWrapper_ != null) { | |
2416 size += _single_optionalBoolWrapper_codec.CalculateSizeWithTag(OptionalB
oolWrapper); | |
2417 } | |
2418 if (optionalInt32Wrapper_ != null) { | |
2419 size += _single_optionalInt32Wrapper_codec.CalculateSizeWithTag(Optional
Int32Wrapper); | |
2420 } | |
2421 if (optionalInt64Wrapper_ != null) { | |
2422 size += _single_optionalInt64Wrapper_codec.CalculateSizeWithTag(Optional
Int64Wrapper); | |
2423 } | |
2424 if (optionalUint32Wrapper_ != null) { | |
2425 size += _single_optionalUint32Wrapper_codec.CalculateSizeWithTag(Optiona
lUint32Wrapper); | |
2426 } | |
2427 if (optionalUint64Wrapper_ != null) { | |
2428 size += _single_optionalUint64Wrapper_codec.CalculateSizeWithTag(Optiona
lUint64Wrapper); | |
2429 } | |
2430 if (optionalFloatWrapper_ != null) { | |
2431 size += _single_optionalFloatWrapper_codec.CalculateSizeWithTag(Optional
FloatWrapper); | |
2432 } | |
2433 if (optionalDoubleWrapper_ != null) { | |
2434 size += _single_optionalDoubleWrapper_codec.CalculateSizeWithTag(Optiona
lDoubleWrapper); | |
2435 } | |
2436 if (optionalStringWrapper_ != null) { | |
2437 size += _single_optionalStringWrapper_codec.CalculateSizeWithTag(Optiona
lStringWrapper); | |
2438 } | |
2439 if (optionalBytesWrapper_ != null) { | |
2440 size += _single_optionalBytesWrapper_codec.CalculateSizeWithTag(Optional
BytesWrapper); | |
2441 } | |
2442 size += repeatedBoolWrapper_.CalculateSize(_repeated_repeatedBoolWrapper_c
odec); | |
2443 size += repeatedInt32Wrapper_.CalculateSize(_repeated_repeatedInt32Wrapper
_codec); | |
2444 size += repeatedInt64Wrapper_.CalculateSize(_repeated_repeatedInt64Wrapper
_codec); | |
2445 size += repeatedUint32Wrapper_.CalculateSize(_repeated_repeatedUint32Wrapp
er_codec); | |
2446 size += repeatedUint64Wrapper_.CalculateSize(_repeated_repeatedUint64Wrapp
er_codec); | |
2447 size += repeatedFloatWrapper_.CalculateSize(_repeated_repeatedFloatWrapper
_codec); | |
2448 size += repeatedDoubleWrapper_.CalculateSize(_repeated_repeatedDoubleWrapp
er_codec); | |
2449 size += repeatedStringWrapper_.CalculateSize(_repeated_repeatedStringWrapp
er_codec); | |
2450 size += repeatedBytesWrapper_.CalculateSize(_repeated_repeatedBytesWrapper
_codec); | |
2451 if (optionalDuration_ != null) { | |
2452 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration); | |
2453 } | |
2454 if (optionalTimestamp_ != null) { | |
2455 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp); | |
2456 } | |
2457 if (optionalFieldMask_ != null) { | |
2458 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask); | |
2459 } | |
2460 if (optionalStruct_ != null) { | |
2461 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct); | |
2462 } | |
2463 if (optionalAny_ != null) { | |
2464 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny); | |
2465 } | |
2466 if (optionalValue_ != null) { | |
2467 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue); | |
2468 } | |
2469 size += repeatedDuration_.CalculateSize(_repeated_repeatedDuration_codec); | |
2470 size += repeatedTimestamp_.CalculateSize(_repeated_repeatedTimestamp_codec
); | |
2471 size += repeatedFieldmask_.CalculateSize(_repeated_repeatedFieldmask_codec
); | |
2472 size += repeatedStruct_.CalculateSize(_repeated_repeatedStruct_codec); | |
2473 size += repeatedAny_.CalculateSize(_repeated_repeatedAny_codec); | |
2474 size += repeatedValue_.CalculateSize(_repeated_repeatedValue_codec); | |
2475 if (Fieldname1 != 0) { | |
2476 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); | |
2477 } | |
2478 if (FieldName2 != 0) { | |
2479 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); | |
2480 } | |
2481 if (FieldName3 != 0) { | |
2482 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); | |
2483 } | |
2484 if (FieldName4 != 0) { | |
2485 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); | |
2486 } | |
2487 if (Field0Name5 != 0) { | |
2488 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); | |
2489 } | |
2490 if (Field0Name6 != 0) { | |
2491 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); | |
2492 } | |
2493 if (FieldName7 != 0) { | |
2494 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); | |
2495 } | |
2496 if (FieldName8 != 0) { | |
2497 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); | |
2498 } | |
2499 if (FieldName9 != 0) { | |
2500 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); | |
2501 } | |
2502 if (FieldName10 != 0) { | |
2503 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10); | |
2504 } | |
2505 if (FIELDNAME11 != 0) { | |
2506 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11); | |
2507 } | |
2508 if (FIELDName12 != 0) { | |
2509 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12); | |
2510 } | |
2511 if (FieldName13 != 0) { | |
2512 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName13); | |
2513 } | |
2514 if (FieldName14 != 0) { | |
2515 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName14); | |
2516 } | |
2517 if (FieldName15 != 0) { | |
2518 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName15); | |
2519 } | |
2520 if (FieldName16 != 0) { | |
2521 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName16); | |
2522 } | |
2523 if (FieldName17 != 0) { | |
2524 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName17); | |
2525 } | |
2526 if (FieldName18 != 0) { | |
2527 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName18); | |
2528 } | |
2529 return size; | |
2530 } | |
2531 | |
2532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2533 public void MergeFrom(TestAllTypes other) { | |
2534 if (other == null) { | |
2535 return; | |
2536 } | |
2537 if (other.OptionalInt32 != 0) { | |
2538 OptionalInt32 = other.OptionalInt32; | |
2539 } | |
2540 if (other.OptionalInt64 != 0L) { | |
2541 OptionalInt64 = other.OptionalInt64; | |
2542 } | |
2543 if (other.OptionalUint32 != 0) { | |
2544 OptionalUint32 = other.OptionalUint32; | |
2545 } | |
2546 if (other.OptionalUint64 != 0UL) { | |
2547 OptionalUint64 = other.OptionalUint64; | |
2548 } | |
2549 if (other.OptionalSint32 != 0) { | |
2550 OptionalSint32 = other.OptionalSint32; | |
2551 } | |
2552 if (other.OptionalSint64 != 0L) { | |
2553 OptionalSint64 = other.OptionalSint64; | |
2554 } | |
2555 if (other.OptionalFixed32 != 0) { | |
2556 OptionalFixed32 = other.OptionalFixed32; | |
2557 } | |
2558 if (other.OptionalFixed64 != 0UL) { | |
2559 OptionalFixed64 = other.OptionalFixed64; | |
2560 } | |
2561 if (other.OptionalSfixed32 != 0) { | |
2562 OptionalSfixed32 = other.OptionalSfixed32; | |
2563 } | |
2564 if (other.OptionalSfixed64 != 0L) { | |
2565 OptionalSfixed64 = other.OptionalSfixed64; | |
2566 } | |
2567 if (other.OptionalFloat != 0F) { | |
2568 OptionalFloat = other.OptionalFloat; | |
2569 } | |
2570 if (other.OptionalDouble != 0D) { | |
2571 OptionalDouble = other.OptionalDouble; | |
2572 } | |
2573 if (other.OptionalBool != false) { | |
2574 OptionalBool = other.OptionalBool; | |
2575 } | |
2576 if (other.OptionalString.Length != 0) { | |
2577 OptionalString = other.OptionalString; | |
2578 } | |
2579 if (other.OptionalBytes.Length != 0) { | |
2580 OptionalBytes = other.OptionalBytes; | |
2581 } | |
2582 if (other.optionalNestedMessage_ != null) { | |
2583 if (optionalNestedMessage_ == null) { | |
2584 optionalNestedMessage_ = new global::ProtobufTestMessages.Proto3.TestA
llTypes.Types.NestedMessage(); | |
2585 } | |
2586 OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage); | |
2587 } | |
2588 if (other.optionalForeignMessage_ != null) { | |
2589 if (optionalForeignMessage_ == null) { | |
2590 optionalForeignMessage_ = new global::ProtobufTestMessages.Proto3.Fore
ignMessage(); | |
2591 } | |
2592 OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage); | |
2593 } | |
2594 if (other.OptionalNestedEnum != 0) { | |
2595 OptionalNestedEnum = other.OptionalNestedEnum; | |
2596 } | |
2597 if (other.OptionalForeignEnum != 0) { | |
2598 OptionalForeignEnum = other.OptionalForeignEnum; | |
2599 } | |
2600 if (other.OptionalStringPiece.Length != 0) { | |
2601 OptionalStringPiece = other.OptionalStringPiece; | |
2602 } | |
2603 if (other.OptionalCord.Length != 0) { | |
2604 OptionalCord = other.OptionalCord; | |
2605 } | |
2606 if (other.recursiveMessage_ != null) { | |
2607 if (recursiveMessage_ == null) { | |
2608 recursiveMessage_ = new global::ProtobufTestMessages.Proto3.TestAllTyp
es(); | |
2609 } | |
2610 RecursiveMessage.MergeFrom(other.RecursiveMessage); | |
2611 } | |
2612 repeatedInt32_.Add(other.repeatedInt32_); | |
2613 repeatedInt64_.Add(other.repeatedInt64_); | |
2614 repeatedUint32_.Add(other.repeatedUint32_); | |
2615 repeatedUint64_.Add(other.repeatedUint64_); | |
2616 repeatedSint32_.Add(other.repeatedSint32_); | |
2617 repeatedSint64_.Add(other.repeatedSint64_); | |
2618 repeatedFixed32_.Add(other.repeatedFixed32_); | |
2619 repeatedFixed64_.Add(other.repeatedFixed64_); | |
2620 repeatedSfixed32_.Add(other.repeatedSfixed32_); | |
2621 repeatedSfixed64_.Add(other.repeatedSfixed64_); | |
2622 repeatedFloat_.Add(other.repeatedFloat_); | |
2623 repeatedDouble_.Add(other.repeatedDouble_); | |
2624 repeatedBool_.Add(other.repeatedBool_); | |
2625 repeatedString_.Add(other.repeatedString_); | |
2626 repeatedBytes_.Add(other.repeatedBytes_); | |
2627 repeatedNestedMessage_.Add(other.repeatedNestedMessage_); | |
2628 repeatedForeignMessage_.Add(other.repeatedForeignMessage_); | |
2629 repeatedNestedEnum_.Add(other.repeatedNestedEnum_); | |
2630 repeatedForeignEnum_.Add(other.repeatedForeignEnum_); | |
2631 repeatedStringPiece_.Add(other.repeatedStringPiece_); | |
2632 repeatedCord_.Add(other.repeatedCord_); | |
2633 mapInt32Int32_.Add(other.mapInt32Int32_); | |
2634 mapInt64Int64_.Add(other.mapInt64Int64_); | |
2635 mapUint32Uint32_.Add(other.mapUint32Uint32_); | |
2636 mapUint64Uint64_.Add(other.mapUint64Uint64_); | |
2637 mapSint32Sint32_.Add(other.mapSint32Sint32_); | |
2638 mapSint64Sint64_.Add(other.mapSint64Sint64_); | |
2639 mapFixed32Fixed32_.Add(other.mapFixed32Fixed32_); | |
2640 mapFixed64Fixed64_.Add(other.mapFixed64Fixed64_); | |
2641 mapSfixed32Sfixed32_.Add(other.mapSfixed32Sfixed32_); | |
2642 mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_); | |
2643 mapInt32Float_.Add(other.mapInt32Float_); | |
2644 mapInt32Double_.Add(other.mapInt32Double_); | |
2645 mapBoolBool_.Add(other.mapBoolBool_); | |
2646 mapStringString_.Add(other.mapStringString_); | |
2647 mapStringBytes_.Add(other.mapStringBytes_); | |
2648 mapStringNestedMessage_.Add(other.mapStringNestedMessage_); | |
2649 mapStringForeignMessage_.Add(other.mapStringForeignMessage_); | |
2650 mapStringNestedEnum_.Add(other.mapStringNestedEnum_); | |
2651 mapStringForeignEnum_.Add(other.mapStringForeignEnum_); | |
2652 if (other.optionalBoolWrapper_ != null) { | |
2653 if (optionalBoolWrapper_ == null || other.OptionalBoolWrapper != false)
{ | |
2654 OptionalBoolWrapper = other.OptionalBoolWrapper; | |
2655 } | |
2656 } | |
2657 if (other.optionalInt32Wrapper_ != null) { | |
2658 if (optionalInt32Wrapper_ == null || other.OptionalInt32Wrapper != 0) { | |
2659 OptionalInt32Wrapper = other.OptionalInt32Wrapper; | |
2660 } | |
2661 } | |
2662 if (other.optionalInt64Wrapper_ != null) { | |
2663 if (optionalInt64Wrapper_ == null || other.OptionalInt64Wrapper != 0L) { | |
2664 OptionalInt64Wrapper = other.OptionalInt64Wrapper; | |
2665 } | |
2666 } | |
2667 if (other.optionalUint32Wrapper_ != null) { | |
2668 if (optionalUint32Wrapper_ == null || other.OptionalUint32Wrapper != 0)
{ | |
2669 OptionalUint32Wrapper = other.OptionalUint32Wrapper; | |
2670 } | |
2671 } | |
2672 if (other.optionalUint64Wrapper_ != null) { | |
2673 if (optionalUint64Wrapper_ == null || other.OptionalUint64Wrapper != 0UL
) { | |
2674 OptionalUint64Wrapper = other.OptionalUint64Wrapper; | |
2675 } | |
2676 } | |
2677 if (other.optionalFloatWrapper_ != null) { | |
2678 if (optionalFloatWrapper_ == null || other.OptionalFloatWrapper != 0F) { | |
2679 OptionalFloatWrapper = other.OptionalFloatWrapper; | |
2680 } | |
2681 } | |
2682 if (other.optionalDoubleWrapper_ != null) { | |
2683 if (optionalDoubleWrapper_ == null || other.OptionalDoubleWrapper != 0D)
{ | |
2684 OptionalDoubleWrapper = other.OptionalDoubleWrapper; | |
2685 } | |
2686 } | |
2687 if (other.optionalStringWrapper_ != null) { | |
2688 if (optionalStringWrapper_ == null || other.OptionalStringWrapper != "")
{ | |
2689 OptionalStringWrapper = other.OptionalStringWrapper; | |
2690 } | |
2691 } | |
2692 if (other.optionalBytesWrapper_ != null) { | |
2693 if (optionalBytesWrapper_ == null || other.OptionalBytesWrapper != pb::B
yteString.Empty) { | |
2694 OptionalBytesWrapper = other.OptionalBytesWrapper; | |
2695 } | |
2696 } | |
2697 repeatedBoolWrapper_.Add(other.repeatedBoolWrapper_); | |
2698 repeatedInt32Wrapper_.Add(other.repeatedInt32Wrapper_); | |
2699 repeatedInt64Wrapper_.Add(other.repeatedInt64Wrapper_); | |
2700 repeatedUint32Wrapper_.Add(other.repeatedUint32Wrapper_); | |
2701 repeatedUint64Wrapper_.Add(other.repeatedUint64Wrapper_); | |
2702 repeatedFloatWrapper_.Add(other.repeatedFloatWrapper_); | |
2703 repeatedDoubleWrapper_.Add(other.repeatedDoubleWrapper_); | |
2704 repeatedStringWrapper_.Add(other.repeatedStringWrapper_); | |
2705 repeatedBytesWrapper_.Add(other.repeatedBytesWrapper_); | |
2706 if (other.optionalDuration_ != null) { | |
2707 if (optionalDuration_ == null) { | |
2708 optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Duratio
n(); | |
2709 } | |
2710 OptionalDuration.MergeFrom(other.OptionalDuration); | |
2711 } | |
2712 if (other.optionalTimestamp_ != null) { | |
2713 if (optionalTimestamp_ == null) { | |
2714 optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timest
amp(); | |
2715 } | |
2716 OptionalTimestamp.MergeFrom(other.OptionalTimestamp); | |
2717 } | |
2718 if (other.optionalFieldMask_ != null) { | |
2719 if (optionalFieldMask_ == null) { | |
2720 optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.FieldM
ask(); | |
2721 } | |
2722 OptionalFieldMask.MergeFrom(other.OptionalFieldMask); | |
2723 } | |
2724 if (other.optionalStruct_ != null) { | |
2725 if (optionalStruct_ == null) { | |
2726 optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struct(); | |
2727 } | |
2728 OptionalStruct.MergeFrom(other.OptionalStruct); | |
2729 } | |
2730 if (other.optionalAny_ != null) { | |
2731 if (optionalAny_ == null) { | |
2732 optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any(); | |
2733 } | |
2734 OptionalAny.MergeFrom(other.OptionalAny); | |
2735 } | |
2736 if (other.optionalValue_ != null) { | |
2737 if (optionalValue_ == null) { | |
2738 optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value(); | |
2739 } | |
2740 OptionalValue.MergeFrom(other.OptionalValue); | |
2741 } | |
2742 repeatedDuration_.Add(other.repeatedDuration_); | |
2743 repeatedTimestamp_.Add(other.repeatedTimestamp_); | |
2744 repeatedFieldmask_.Add(other.repeatedFieldmask_); | |
2745 repeatedStruct_.Add(other.repeatedStruct_); | |
2746 repeatedAny_.Add(other.repeatedAny_); | |
2747 repeatedValue_.Add(other.repeatedValue_); | |
2748 if (other.Fieldname1 != 0) { | |
2749 Fieldname1 = other.Fieldname1; | |
2750 } | |
2751 if (other.FieldName2 != 0) { | |
2752 FieldName2 = other.FieldName2; | |
2753 } | |
2754 if (other.FieldName3 != 0) { | |
2755 FieldName3 = other.FieldName3; | |
2756 } | |
2757 if (other.FieldName4 != 0) { | |
2758 FieldName4 = other.FieldName4; | |
2759 } | |
2760 if (other.Field0Name5 != 0) { | |
2761 Field0Name5 = other.Field0Name5; | |
2762 } | |
2763 if (other.Field0Name6 != 0) { | |
2764 Field0Name6 = other.Field0Name6; | |
2765 } | |
2766 if (other.FieldName7 != 0) { | |
2767 FieldName7 = other.FieldName7; | |
2768 } | |
2769 if (other.FieldName8 != 0) { | |
2770 FieldName8 = other.FieldName8; | |
2771 } | |
2772 if (other.FieldName9 != 0) { | |
2773 FieldName9 = other.FieldName9; | |
2774 } | |
2775 if (other.FieldName10 != 0) { | |
2776 FieldName10 = other.FieldName10; | |
2777 } | |
2778 if (other.FIELDNAME11 != 0) { | |
2779 FIELDNAME11 = other.FIELDNAME11; | |
2780 } | |
2781 if (other.FIELDName12 != 0) { | |
2782 FIELDName12 = other.FIELDName12; | |
2783 } | |
2784 if (other.FieldName13 != 0) { | |
2785 FieldName13 = other.FieldName13; | |
2786 } | |
2787 if (other.FieldName14 != 0) { | |
2788 FieldName14 = other.FieldName14; | |
2789 } | |
2790 if (other.FieldName15 != 0) { | |
2791 FieldName15 = other.FieldName15; | |
2792 } | |
2793 if (other.FieldName16 != 0) { | |
2794 FieldName16 = other.FieldName16; | |
2795 } | |
2796 if (other.FieldName17 != 0) { | |
2797 FieldName17 = other.FieldName17; | |
2798 } | |
2799 if (other.FieldName18 != 0) { | |
2800 FieldName18 = other.FieldName18; | |
2801 } | |
2802 switch (other.OneofFieldCase) { | |
2803 case OneofFieldOneofCase.OneofUint32: | |
2804 OneofUint32 = other.OneofUint32; | |
2805 break; | |
2806 case OneofFieldOneofCase.OneofNestedMessage: | |
2807 OneofNestedMessage = other.OneofNestedMessage; | |
2808 break; | |
2809 case OneofFieldOneofCase.OneofString: | |
2810 OneofString = other.OneofString; | |
2811 break; | |
2812 case OneofFieldOneofCase.OneofBytes: | |
2813 OneofBytes = other.OneofBytes; | |
2814 break; | |
2815 case OneofFieldOneofCase.OneofBool: | |
2816 OneofBool = other.OneofBool; | |
2817 break; | |
2818 case OneofFieldOneofCase.OneofUint64: | |
2819 OneofUint64 = other.OneofUint64; | |
2820 break; | |
2821 case OneofFieldOneofCase.OneofFloat: | |
2822 OneofFloat = other.OneofFloat; | |
2823 break; | |
2824 case OneofFieldOneofCase.OneofDouble: | |
2825 OneofDouble = other.OneofDouble; | |
2826 break; | |
2827 case OneofFieldOneofCase.OneofEnum: | |
2828 OneofEnum = other.OneofEnum; | |
2829 break; | |
2830 } | |
2831 | |
2832 } | |
2833 | |
2834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2835 public void MergeFrom(pb::CodedInputStream input) { | |
2836 uint tag; | |
2837 while ((tag = input.ReadTag()) != 0) { | |
2838 switch(tag) { | |
2839 default: | |
2840 input.SkipLastField(); | |
2841 break; | |
2842 case 8: { | |
2843 OptionalInt32 = input.ReadInt32(); | |
2844 break; | |
2845 } | |
2846 case 16: { | |
2847 OptionalInt64 = input.ReadInt64(); | |
2848 break; | |
2849 } | |
2850 case 24: { | |
2851 OptionalUint32 = input.ReadUInt32(); | |
2852 break; | |
2853 } | |
2854 case 32: { | |
2855 OptionalUint64 = input.ReadUInt64(); | |
2856 break; | |
2857 } | |
2858 case 40: { | |
2859 OptionalSint32 = input.ReadSInt32(); | |
2860 break; | |
2861 } | |
2862 case 48: { | |
2863 OptionalSint64 = input.ReadSInt64(); | |
2864 break; | |
2865 } | |
2866 case 61: { | |
2867 OptionalFixed32 = input.ReadFixed32(); | |
2868 break; | |
2869 } | |
2870 case 65: { | |
2871 OptionalFixed64 = input.ReadFixed64(); | |
2872 break; | |
2873 } | |
2874 case 77: { | |
2875 OptionalSfixed32 = input.ReadSFixed32(); | |
2876 break; | |
2877 } | |
2878 case 81: { | |
2879 OptionalSfixed64 = input.ReadSFixed64(); | |
2880 break; | |
2881 } | |
2882 case 93: { | |
2883 OptionalFloat = input.ReadFloat(); | |
2884 break; | |
2885 } | |
2886 case 97: { | |
2887 OptionalDouble = input.ReadDouble(); | |
2888 break; | |
2889 } | |
2890 case 104: { | |
2891 OptionalBool = input.ReadBool(); | |
2892 break; | |
2893 } | |
2894 case 114: { | |
2895 OptionalString = input.ReadString(); | |
2896 break; | |
2897 } | |
2898 case 122: { | |
2899 OptionalBytes = input.ReadBytes(); | |
2900 break; | |
2901 } | |
2902 case 146: { | |
2903 if (optionalNestedMessage_ == null) { | |
2904 optionalNestedMessage_ = new global::ProtobufTestMessages.Proto3.T
estAllTypes.Types.NestedMessage(); | |
2905 } | |
2906 input.ReadMessage(optionalNestedMessage_); | |
2907 break; | |
2908 } | |
2909 case 154: { | |
2910 if (optionalForeignMessage_ == null) { | |
2911 optionalForeignMessage_ = new global::ProtobufTestMessages.Proto3.
ForeignMessage(); | |
2912 } | |
2913 input.ReadMessage(optionalForeignMessage_); | |
2914 break; | |
2915 } | |
2916 case 168: { | |
2917 optionalNestedEnum_ = (global::ProtobufTestMessages.Proto3.TestAllTy
pes.Types.NestedEnum) input.ReadEnum(); | |
2918 break; | |
2919 } | |
2920 case 176: { | |
2921 optionalForeignEnum_ = (global::ProtobufTestMessages.Proto3.ForeignE
num) input.ReadEnum(); | |
2922 break; | |
2923 } | |
2924 case 194: { | |
2925 OptionalStringPiece = input.ReadString(); | |
2926 break; | |
2927 } | |
2928 case 202: { | |
2929 OptionalCord = input.ReadString(); | |
2930 break; | |
2931 } | |
2932 case 218: { | |
2933 if (recursiveMessage_ == null) { | |
2934 recursiveMessage_ = new global::ProtobufTestMessages.Proto3.TestAl
lTypes(); | |
2935 } | |
2936 input.ReadMessage(recursiveMessage_); | |
2937 break; | |
2938 } | |
2939 case 250: | |
2940 case 248: { | |
2941 repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec); | |
2942 break; | |
2943 } | |
2944 case 258: | |
2945 case 256: { | |
2946 repeatedInt64_.AddEntriesFrom(input, _repeated_repeatedInt64_codec); | |
2947 break; | |
2948 } | |
2949 case 266: | |
2950 case 264: { | |
2951 repeatedUint32_.AddEntriesFrom(input, _repeated_repeatedUint32_codec
); | |
2952 break; | |
2953 } | |
2954 case 274: | |
2955 case 272: { | |
2956 repeatedUint64_.AddEntriesFrom(input, _repeated_repeatedUint64_codec
); | |
2957 break; | |
2958 } | |
2959 case 282: | |
2960 case 280: { | |
2961 repeatedSint32_.AddEntriesFrom(input, _repeated_repeatedSint32_codec
); | |
2962 break; | |
2963 } | |
2964 case 290: | |
2965 case 288: { | |
2966 repeatedSint64_.AddEntriesFrom(input, _repeated_repeatedSint64_codec
); | |
2967 break; | |
2968 } | |
2969 case 298: | |
2970 case 301: { | |
2971 repeatedFixed32_.AddEntriesFrom(input, _repeated_repeatedFixed32_cod
ec); | |
2972 break; | |
2973 } | |
2974 case 306: | |
2975 case 305: { | |
2976 repeatedFixed64_.AddEntriesFrom(input, _repeated_repeatedFixed64_cod
ec); | |
2977 break; | |
2978 } | |
2979 case 314: | |
2980 case 317: { | |
2981 repeatedSfixed32_.AddEntriesFrom(input, _repeated_repeatedSfixed32_c
odec); | |
2982 break; | |
2983 } | |
2984 case 322: | |
2985 case 321: { | |
2986 repeatedSfixed64_.AddEntriesFrom(input, _repeated_repeatedSfixed64_c
odec); | |
2987 break; | |
2988 } | |
2989 case 330: | |
2990 case 333: { | |
2991 repeatedFloat_.AddEntriesFrom(input, _repeated_repeatedFloat_codec); | |
2992 break; | |
2993 } | |
2994 case 338: | |
2995 case 337: { | |
2996 repeatedDouble_.AddEntriesFrom(input, _repeated_repeatedDouble_codec
); | |
2997 break; | |
2998 } | |
2999 case 346: | |
3000 case 344: { | |
3001 repeatedBool_.AddEntriesFrom(input, _repeated_repeatedBool_codec); | |
3002 break; | |
3003 } | |
3004 case 354: { | |
3005 repeatedString_.AddEntriesFrom(input, _repeated_repeatedString_codec
); | |
3006 break; | |
3007 } | |
3008 case 362: { | |
3009 repeatedBytes_.AddEntriesFrom(input, _repeated_repeatedBytes_codec); | |
3010 break; | |
3011 } | |
3012 case 386: { | |
3013 repeatedNestedMessage_.AddEntriesFrom(input, _repeated_repeatedNeste
dMessage_codec); | |
3014 break; | |
3015 } | |
3016 case 394: { | |
3017 repeatedForeignMessage_.AddEntriesFrom(input, _repeated_repeatedFore
ignMessage_codec); | |
3018 break; | |
3019 } | |
3020 case 410: | |
3021 case 408: { | |
3022 repeatedNestedEnum_.AddEntriesFrom(input, _repeated_repeatedNestedEn
um_codec); | |
3023 break; | |
3024 } | |
3025 case 418: | |
3026 case 416: { | |
3027 repeatedForeignEnum_.AddEntriesFrom(input, _repeated_repeatedForeign
Enum_codec); | |
3028 break; | |
3029 } | |
3030 case 434: { | |
3031 repeatedStringPiece_.AddEntriesFrom(input, _repeated_repeatedStringP
iece_codec); | |
3032 break; | |
3033 } | |
3034 case 442: { | |
3035 repeatedCord_.AddEntriesFrom(input, _repeated_repeatedCord_codec); | |
3036 break; | |
3037 } | |
3038 case 450: { | |
3039 mapInt32Int32_.AddEntriesFrom(input, _map_mapInt32Int32_codec); | |
3040 break; | |
3041 } | |
3042 case 458: { | |
3043 mapInt64Int64_.AddEntriesFrom(input, _map_mapInt64Int64_codec); | |
3044 break; | |
3045 } | |
3046 case 466: { | |
3047 mapUint32Uint32_.AddEntriesFrom(input, _map_mapUint32Uint32_codec); | |
3048 break; | |
3049 } | |
3050 case 474: { | |
3051 mapUint64Uint64_.AddEntriesFrom(input, _map_mapUint64Uint64_codec); | |
3052 break; | |
3053 } | |
3054 case 482: { | |
3055 mapSint32Sint32_.AddEntriesFrom(input, _map_mapSint32Sint32_codec); | |
3056 break; | |
3057 } | |
3058 case 490: { | |
3059 mapSint64Sint64_.AddEntriesFrom(input, _map_mapSint64Sint64_codec); | |
3060 break; | |
3061 } | |
3062 case 498: { | |
3063 mapFixed32Fixed32_.AddEntriesFrom(input, _map_mapFixed32Fixed32_code
c); | |
3064 break; | |
3065 } | |
3066 case 506: { | |
3067 mapFixed64Fixed64_.AddEntriesFrom(input, _map_mapFixed64Fixed64_code
c); | |
3068 break; | |
3069 } | |
3070 case 514: { | |
3071 mapSfixed32Sfixed32_.AddEntriesFrom(input, _map_mapSfixed32Sfixed32_
codec); | |
3072 break; | |
3073 } | |
3074 case 522: { | |
3075 mapSfixed64Sfixed64_.AddEntriesFrom(input, _map_mapSfixed64Sfixed64_
codec); | |
3076 break; | |
3077 } | |
3078 case 530: { | |
3079 mapInt32Float_.AddEntriesFrom(input, _map_mapInt32Float_codec); | |
3080 break; | |
3081 } | |
3082 case 538: { | |
3083 mapInt32Double_.AddEntriesFrom(input, _map_mapInt32Double_codec); | |
3084 break; | |
3085 } | |
3086 case 546: { | |
3087 mapBoolBool_.AddEntriesFrom(input, _map_mapBoolBool_codec); | |
3088 break; | |
3089 } | |
3090 case 554: { | |
3091 mapStringString_.AddEntriesFrom(input, _map_mapStringString_codec); | |
3092 break; | |
3093 } | |
3094 case 562: { | |
3095 mapStringBytes_.AddEntriesFrom(input, _map_mapStringBytes_codec); | |
3096 break; | |
3097 } | |
3098 case 570: { | |
3099 mapStringNestedMessage_.AddEntriesFrom(input, _map_mapStringNestedMe
ssage_codec); | |
3100 break; | |
3101 } | |
3102 case 578: { | |
3103 mapStringForeignMessage_.AddEntriesFrom(input, _map_mapStringForeign
Message_codec); | |
3104 break; | |
3105 } | |
3106 case 586: { | |
3107 mapStringNestedEnum_.AddEntriesFrom(input, _map_mapStringNestedEnum_
codec); | |
3108 break; | |
3109 } | |
3110 case 594: { | |
3111 mapStringForeignEnum_.AddEntriesFrom(input, _map_mapStringForeignEnu
m_codec); | |
3112 break; | |
3113 } | |
3114 case 888: { | |
3115 OneofUint32 = input.ReadUInt32(); | |
3116 break; | |
3117 } | |
3118 case 898: { | |
3119 global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedMessage
subBuilder = new global::ProtobufTestMessages.Proto3.TestAllTypes.Types.NestedM
essage(); | |
3120 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { | |
3121 subBuilder.MergeFrom(OneofNestedMessage); | |
3122 } | |
3123 input.ReadMessage(subBuilder); | |
3124 OneofNestedMessage = subBuilder; | |
3125 break; | |
3126 } | |
3127 case 906: { | |
3128 OneofString = input.ReadString(); | |
3129 break; | |
3130 } | |
3131 case 914: { | |
3132 OneofBytes = input.ReadBytes(); | |
3133 break; | |
3134 } | |
3135 case 920: { | |
3136 OneofBool = input.ReadBool(); | |
3137 break; | |
3138 } | |
3139 case 928: { | |
3140 OneofUint64 = input.ReadUInt64(); | |
3141 break; | |
3142 } | |
3143 case 941: { | |
3144 OneofFloat = input.ReadFloat(); | |
3145 break; | |
3146 } | |
3147 case 945: { | |
3148 OneofDouble = input.ReadDouble(); | |
3149 break; | |
3150 } | |
3151 case 952: { | |
3152 oneofField_ = input.ReadEnum(); | |
3153 oneofFieldCase_ = OneofFieldOneofCase.OneofEnum; | |
3154 break; | |
3155 } | |
3156 case 1610: { | |
3157 bool? value = _single_optionalBoolWrapper_codec.Read(input); | |
3158 if (optionalBoolWrapper_ == null || value != false) { | |
3159 OptionalBoolWrapper = value; | |
3160 } | |
3161 break; | |
3162 } | |
3163 case 1618: { | |
3164 int? value = _single_optionalInt32Wrapper_codec.Read(input); | |
3165 if (optionalInt32Wrapper_ == null || value != 0) { | |
3166 OptionalInt32Wrapper = value; | |
3167 } | |
3168 break; | |
3169 } | |
3170 case 1626: { | |
3171 long? value = _single_optionalInt64Wrapper_codec.Read(input); | |
3172 if (optionalInt64Wrapper_ == null || value != 0L) { | |
3173 OptionalInt64Wrapper = value; | |
3174 } | |
3175 break; | |
3176 } | |
3177 case 1634: { | |
3178 uint? value = _single_optionalUint32Wrapper_codec.Read(input); | |
3179 if (optionalUint32Wrapper_ == null || value != 0) { | |
3180 OptionalUint32Wrapper = value; | |
3181 } | |
3182 break; | |
3183 } | |
3184 case 1642: { | |
3185 ulong? value = _single_optionalUint64Wrapper_codec.Read(input); | |
3186 if (optionalUint64Wrapper_ == null || value != 0UL) { | |
3187 OptionalUint64Wrapper = value; | |
3188 } | |
3189 break; | |
3190 } | |
3191 case 1650: { | |
3192 float? value = _single_optionalFloatWrapper_codec.Read(input); | |
3193 if (optionalFloatWrapper_ == null || value != 0F) { | |
3194 OptionalFloatWrapper = value; | |
3195 } | |
3196 break; | |
3197 } | |
3198 case 1658: { | |
3199 double? value = _single_optionalDoubleWrapper_codec.Read(input); | |
3200 if (optionalDoubleWrapper_ == null || value != 0D) { | |
3201 OptionalDoubleWrapper = value; | |
3202 } | |
3203 break; | |
3204 } | |
3205 case 1666: { | |
3206 string value = _single_optionalStringWrapper_codec.Read(input); | |
3207 if (optionalStringWrapper_ == null || value != "") { | |
3208 OptionalStringWrapper = value; | |
3209 } | |
3210 break; | |
3211 } | |
3212 case 1674: { | |
3213 pb::ByteString value = _single_optionalBytesWrapper_codec.Read(input
); | |
3214 if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty)
{ | |
3215 OptionalBytesWrapper = value; | |
3216 } | |
3217 break; | |
3218 } | |
3219 case 1690: { | |
3220 repeatedBoolWrapper_.AddEntriesFrom(input, _repeated_repeatedBoolWra
pper_codec); | |
3221 break; | |
3222 } | |
3223 case 1698: { | |
3224 repeatedInt32Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt32W
rapper_codec); | |
3225 break; | |
3226 } | |
3227 case 1706: { | |
3228 repeatedInt64Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt64W
rapper_codec); | |
3229 break; | |
3230 } | |
3231 case 1714: { | |
3232 repeatedUint32Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint3
2Wrapper_codec); | |
3233 break; | |
3234 } | |
3235 case 1722: { | |
3236 repeatedUint64Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint6
4Wrapper_codec); | |
3237 break; | |
3238 } | |
3239 case 1730: { | |
3240 repeatedFloatWrapper_.AddEntriesFrom(input, _repeated_repeatedFloatW
rapper_codec); | |
3241 break; | |
3242 } | |
3243 case 1738: { | |
3244 repeatedDoubleWrapper_.AddEntriesFrom(input, _repeated_repeatedDoubl
eWrapper_codec); | |
3245 break; | |
3246 } | |
3247 case 1746: { | |
3248 repeatedStringWrapper_.AddEntriesFrom(input, _repeated_repeatedStrin
gWrapper_codec); | |
3249 break; | |
3250 } | |
3251 case 1754: { | |
3252 repeatedBytesWrapper_.AddEntriesFrom(input, _repeated_repeatedBytesW
rapper_codec); | |
3253 break; | |
3254 } | |
3255 case 2410: { | |
3256 if (optionalDuration_ == null) { | |
3257 optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Dur
ation(); | |
3258 } | |
3259 input.ReadMessage(optionalDuration_); | |
3260 break; | |
3261 } | |
3262 case 2418: { | |
3263 if (optionalTimestamp_ == null) { | |
3264 optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Ti
mestamp(); | |
3265 } | |
3266 input.ReadMessage(optionalTimestamp_); | |
3267 break; | |
3268 } | |
3269 case 2426: { | |
3270 if (optionalFieldMask_ == null) { | |
3271 optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.Fi
eldMask(); | |
3272 } | |
3273 input.ReadMessage(optionalFieldMask_); | |
3274 break; | |
3275 } | |
3276 case 2434: { | |
3277 if (optionalStruct_ == null) { | |
3278 optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struc
t(); | |
3279 } | |
3280 input.ReadMessage(optionalStruct_); | |
3281 break; | |
3282 } | |
3283 case 2442: { | |
3284 if (optionalAny_ == null) { | |
3285 optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any(); | |
3286 } | |
3287 input.ReadMessage(optionalAny_); | |
3288 break; | |
3289 } | |
3290 case 2450: { | |
3291 if (optionalValue_ == null) { | |
3292 optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value(
); | |
3293 } | |
3294 input.ReadMessage(optionalValue_); | |
3295 break; | |
3296 } | |
3297 case 2490: { | |
3298 repeatedDuration_.AddEntriesFrom(input, _repeated_repeatedDuration_c
odec); | |
3299 break; | |
3300 } | |
3301 case 2498: { | |
3302 repeatedTimestamp_.AddEntriesFrom(input, _repeated_repeatedTimestamp
_codec); | |
3303 break; | |
3304 } | |
3305 case 2506: { | |
3306 repeatedFieldmask_.AddEntriesFrom(input, _repeated_repeatedFieldmask
_codec); | |
3307 break; | |
3308 } | |
3309 case 2522: { | |
3310 repeatedAny_.AddEntriesFrom(input, _repeated_repeatedAny_codec); | |
3311 break; | |
3312 } | |
3313 case 2530: { | |
3314 repeatedValue_.AddEntriesFrom(input, _repeated_repeatedValue_codec); | |
3315 break; | |
3316 } | |
3317 case 2594: { | |
3318 repeatedStruct_.AddEntriesFrom(input, _repeated_repeatedStruct_codec
); | |
3319 break; | |
3320 } | |
3321 case 3208: { | |
3322 Fieldname1 = input.ReadInt32(); | |
3323 break; | |
3324 } | |
3325 case 3216: { | |
3326 FieldName2 = input.ReadInt32(); | |
3327 break; | |
3328 } | |
3329 case 3224: { | |
3330 FieldName3 = input.ReadInt32(); | |
3331 break; | |
3332 } | |
3333 case 3232: { | |
3334 FieldName4 = input.ReadInt32(); | |
3335 break; | |
3336 } | |
3337 case 3240: { | |
3338 Field0Name5 = input.ReadInt32(); | |
3339 break; | |
3340 } | |
3341 case 3248: { | |
3342 Field0Name6 = input.ReadInt32(); | |
3343 break; | |
3344 } | |
3345 case 3256: { | |
3346 FieldName7 = input.ReadInt32(); | |
3347 break; | |
3348 } | |
3349 case 3264: { | |
3350 FieldName8 = input.ReadInt32(); | |
3351 break; | |
3352 } | |
3353 case 3272: { | |
3354 FieldName9 = input.ReadInt32(); | |
3355 break; | |
3356 } | |
3357 case 3280: { | |
3358 FieldName10 = input.ReadInt32(); | |
3359 break; | |
3360 } | |
3361 case 3288: { | |
3362 FIELDNAME11 = input.ReadInt32(); | |
3363 break; | |
3364 } | |
3365 case 3296: { | |
3366 FIELDName12 = input.ReadInt32(); | |
3367 break; | |
3368 } | |
3369 case 3304: { | |
3370 FieldName13 = input.ReadInt32(); | |
3371 break; | |
3372 } | |
3373 case 3312: { | |
3374 FieldName14 = input.ReadInt32(); | |
3375 break; | |
3376 } | |
3377 case 3320: { | |
3378 FieldName15 = input.ReadInt32(); | |
3379 break; | |
3380 } | |
3381 case 3328: { | |
3382 FieldName16 = input.ReadInt32(); | |
3383 break; | |
3384 } | |
3385 case 3336: { | |
3386 FieldName17 = input.ReadInt32(); | |
3387 break; | |
3388 } | |
3389 case 3344: { | |
3390 FieldName18 = input.ReadInt32(); | |
3391 break; | |
3392 } | |
3393 } | |
3394 } | |
3395 } | |
3396 | |
3397 #region Nested types | |
3398 /// <summary>Container for nested types declared in the TestAllTypes message
type.</summary> | |
3399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3400 public static partial class Types { | |
3401 public enum NestedEnum { | |
3402 [pbr::OriginalName("FOO")] Foo = 0, | |
3403 [pbr::OriginalName("BAR")] Bar = 1, | |
3404 [pbr::OriginalName("BAZ")] Baz = 2, | |
3405 /// <summary> | |
3406 /// Intentionally negative. | |
3407 /// </summary> | |
3408 [pbr::OriginalName("NEG")] Neg = -1, | |
3409 } | |
3410 | |
3411 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> { | |
3412 private static readonly pb::MessageParser<NestedMessage> _parser = new p
b::MessageParser<NestedMessage>(() => new NestedMessage()); | |
3413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3414 public static pb::MessageParser<NestedMessage> Parser { get { return _pa
rser; } } | |
3415 | |
3416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3417 public static pbr::MessageDescriptor Descriptor { | |
3418 get { return global::ProtobufTestMessages.Proto3.TestAllTypes.Descript
or.NestedTypes[0]; } | |
3419 } | |
3420 | |
3421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3422 pbr::MessageDescriptor pb::IMessage.Descriptor { | |
3423 get { return Descriptor; } | |
3424 } | |
3425 | |
3426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3427 public NestedMessage() { | |
3428 OnConstruction(); | |
3429 } | |
3430 | |
3431 partial void OnConstruction(); | |
3432 | |
3433 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3434 public NestedMessage(NestedMessage other) : this() { | |
3435 a_ = other.a_; | |
3436 Corecursive = other.corecursive_ != null ? other.Corecursive.Clone() :
null; | |
3437 } | |
3438 | |
3439 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3440 public NestedMessage Clone() { | |
3441 return new NestedMessage(this); | |
3442 } | |
3443 | |
3444 /// <summary>Field number for the "a" field.</summary> | |
3445 public const int AFieldNumber = 1; | |
3446 private int a_; | |
3447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3448 public int A { | |
3449 get { return a_; } | |
3450 set { | |
3451 a_ = value; | |
3452 } | |
3453 } | |
3454 | |
3455 /// <summary>Field number for the "corecursive" field.</summary> | |
3456 public const int CorecursiveFieldNumber = 2; | |
3457 private global::ProtobufTestMessages.Proto3.TestAllTypes corecursive_; | |
3458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3459 public global::ProtobufTestMessages.Proto3.TestAllTypes Corecursive { | |
3460 get { return corecursive_; } | |
3461 set { | |
3462 corecursive_ = value; | |
3463 } | |
3464 } | |
3465 | |
3466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3467 public override bool Equals(object other) { | |
3468 return Equals(other as NestedMessage); | |
3469 } | |
3470 | |
3471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3472 public bool Equals(NestedMessage other) { | |
3473 if (ReferenceEquals(other, null)) { | |
3474 return false; | |
3475 } | |
3476 if (ReferenceEquals(other, this)) { | |
3477 return true; | |
3478 } | |
3479 if (A != other.A) return false; | |
3480 if (!object.Equals(Corecursive, other.Corecursive)) return false; | |
3481 return true; | |
3482 } | |
3483 | |
3484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3485 public override int GetHashCode() { | |
3486 int hash = 1; | |
3487 if (A != 0) hash ^= A.GetHashCode(); | |
3488 if (corecursive_ != null) hash ^= Corecursive.GetHashCode(); | |
3489 return hash; | |
3490 } | |
3491 | |
3492 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3493 public override string ToString() { | |
3494 return pb::JsonFormatter.ToDiagnosticString(this); | |
3495 } | |
3496 | |
3497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3498 public void WriteTo(pb::CodedOutputStream output) { | |
3499 if (A != 0) { | |
3500 output.WriteRawTag(8); | |
3501 output.WriteInt32(A); | |
3502 } | |
3503 if (corecursive_ != null) { | |
3504 output.WriteRawTag(18); | |
3505 output.WriteMessage(Corecursive); | |
3506 } | |
3507 } | |
3508 | |
3509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3510 public int CalculateSize() { | |
3511 int size = 0; | |
3512 if (A != 0) { | |
3513 size += 1 + pb::CodedOutputStream.ComputeInt32Size(A); | |
3514 } | |
3515 if (corecursive_ != null) { | |
3516 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive); | |
3517 } | |
3518 return size; | |
3519 } | |
3520 | |
3521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3522 public void MergeFrom(NestedMessage other) { | |
3523 if (other == null) { | |
3524 return; | |
3525 } | |
3526 if (other.A != 0) { | |
3527 A = other.A; | |
3528 } | |
3529 if (other.corecursive_ != null) { | |
3530 if (corecursive_ == null) { | |
3531 corecursive_ = new global::ProtobufTestMessages.Proto3.TestAllType
s(); | |
3532 } | |
3533 Corecursive.MergeFrom(other.Corecursive); | |
3534 } | |
3535 } | |
3536 | |
3537 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3538 public void MergeFrom(pb::CodedInputStream input) { | |
3539 uint tag; | |
3540 while ((tag = input.ReadTag()) != 0) { | |
3541 switch(tag) { | |
3542 default: | |
3543 input.SkipLastField(); | |
3544 break; | |
3545 case 8: { | |
3546 A = input.ReadInt32(); | |
3547 break; | |
3548 } | |
3549 case 18: { | |
3550 if (corecursive_ == null) { | |
3551 corecursive_ = new global::ProtobufTestMessages.Proto3.TestAll
Types(); | |
3552 } | |
3553 input.ReadMessage(corecursive_); | |
3554 break; | |
3555 } | |
3556 } | |
3557 } | |
3558 } | |
3559 | |
3560 } | |
3561 | |
3562 } | |
3563 #endregion | |
3564 | |
3565 } | |
3566 | |
3567 public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> { | |
3568 private static readonly pb::MessageParser<ForeignMessage> _parser = new pb::
MessageParser<ForeignMessage>(() => new ForeignMessage()); | |
3569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3570 public static pb::MessageParser<ForeignMessage> Parser { get { return _parse
r; } } | |
3571 | |
3572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3573 public static pbr::MessageDescriptor Descriptor { | |
3574 get { return global::ProtobufTestMessages.Proto3.TestMessagesProto3Reflect
ion.Descriptor.MessageTypes[1]; } | |
3575 } | |
3576 | |
3577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3578 pbr::MessageDescriptor pb::IMessage.Descriptor { | |
3579 get { return Descriptor; } | |
3580 } | |
3581 | |
3582 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3583 public ForeignMessage() { | |
3584 OnConstruction(); | |
3585 } | |
3586 | |
3587 partial void OnConstruction(); | |
3588 | |
3589 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3590 public ForeignMessage(ForeignMessage other) : this() { | |
3591 c_ = other.c_; | |
3592 } | |
3593 | |
3594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3595 public ForeignMessage Clone() { | |
3596 return new ForeignMessage(this); | |
3597 } | |
3598 | |
3599 /// <summary>Field number for the "c" field.</summary> | |
3600 public const int CFieldNumber = 1; | |
3601 private int c_; | |
3602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3603 public int C { | |
3604 get { return c_; } | |
3605 set { | |
3606 c_ = value; | |
3607 } | |
3608 } | |
3609 | |
3610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3611 public override bool Equals(object other) { | |
3612 return Equals(other as ForeignMessage); | |
3613 } | |
3614 | |
3615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3616 public bool Equals(ForeignMessage other) { | |
3617 if (ReferenceEquals(other, null)) { | |
3618 return false; | |
3619 } | |
3620 if (ReferenceEquals(other, this)) { | |
3621 return true; | |
3622 } | |
3623 if (C != other.C) return false; | |
3624 return true; | |
3625 } | |
3626 | |
3627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3628 public override int GetHashCode() { | |
3629 int hash = 1; | |
3630 if (C != 0) hash ^= C.GetHashCode(); | |
3631 return hash; | |
3632 } | |
3633 | |
3634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3635 public override string ToString() { | |
3636 return pb::JsonFormatter.ToDiagnosticString(this); | |
3637 } | |
3638 | |
3639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3640 public void WriteTo(pb::CodedOutputStream output) { | |
3641 if (C != 0) { | |
3642 output.WriteRawTag(8); | |
3643 output.WriteInt32(C); | |
3644 } | |
3645 } | |
3646 | |
3647 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3648 public int CalculateSize() { | |
3649 int size = 0; | |
3650 if (C != 0) { | |
3651 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); | |
3652 } | |
3653 return size; | |
3654 } | |
3655 | |
3656 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3657 public void MergeFrom(ForeignMessage other) { | |
3658 if (other == null) { | |
3659 return; | |
3660 } | |
3661 if (other.C != 0) { | |
3662 C = other.C; | |
3663 } | |
3664 } | |
3665 | |
3666 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
3667 public void MergeFrom(pb::CodedInputStream input) { | |
3668 uint tag; | |
3669 while ((tag = input.ReadTag()) != 0) { | |
3670 switch(tag) { | |
3671 default: | |
3672 input.SkipLastField(); | |
3673 break; | |
3674 case 8: { | |
3675 C = input.ReadInt32(); | |
3676 break; | |
3677 } | |
3678 } | |
3679 } | |
3680 } | |
3681 | |
3682 } | |
3683 | |
3684 #endregion | |
3685 | |
3686 } | |
3687 | |
3688 #endregion Designer generated code | |
OLD | NEW |