Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: third_party/protobuf/csharp/src/Google.Protobuf.Conformance/Conformance.cs

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: conformance.proto 2 // source: conformance.proto
3 #pragma warning disable 1591, 0612, 3021 3 #pragma warning disable 1591, 0612, 3021
4 #region Designer generated code 4 #region Designer generated code
5 5
6 using pb = global::Google.Protobuf; 6 using pb = global::Google.Protobuf;
7 using pbc = global::Google.Protobuf.Collections; 7 using pbc = global::Google.Protobuf.Collections;
8 using pbr = global::Google.Protobuf.Reflection; 8 using pbr = global::Google.Protobuf.Reflection;
9 using scg = global::System.Collections.Generic; 9 using scg = global::System.Collections.Generic;
10 namespace Conformance { 10 namespace Conformance {
11 11
12 /// <summary>Holder for reflection information generated from conformance.prot o</summary> 12 /// <summary>Holder for reflection information generated from conformance.prot o</summary>
13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
14 public static partial class ConformanceReflection { 14 public static partial class ConformanceReflection {
15 15
16 #region Descriptor 16 #region Descriptor
17 /// <summary>File descriptor for conformance.proto</summary> 17 /// <summary>File descriptor for conformance.proto</summary>
18 public static pbr::FileDescriptor Descriptor { 18 public static pbr::FileDescriptor Descriptor {
19 get { return descriptor; } 19 get { return descriptor; }
20 } 20 }
21 private static pbr::FileDescriptor descriptor; 21 private static pbr::FileDescriptor descriptor;
22 22
23 static ConformanceReflection() { 23 static ConformanceReflection() {
24 byte[] descriptorData = global::System.Convert.FromBase64String( 24 byte[] descriptorData = global::System.Convert.FromBase64String(
25 string.Concat( 25 string.Concat(
26 "ChFjb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2UijQEKEkNvbmZvcm1h", 26 "ChFjb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2UaGWdvb2dsZS9wcm90",
27 "bmNlUmVxdWVzdBIaChBwcm90b2J1Zl9wYXlsb2FkGAEgASgMSAASFgoManNv", 27 "b2J1Zi9hbnkucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi9kdXJhdGlvbi5wcm90",
28 "bl9wYXlsb2FkGAIgASgJSAASOAoXcmVxdWVzdGVkX291dHB1dF9mb3JtYXQY", 28 "bxogZ29vZ2xlL3Byb3RvYnVmL2ZpZWxkX21hc2sucHJvdG8aHGdvb2dsZS9w",
29 "AyABKA4yFy5jb25mb3JtYW5jZS5XaXJlRm9ybWF0QgkKB3BheWxvYWQilgEK", 29 "cm90b2J1Zi9zdHJ1Y3QucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3Rh",
30 "E0NvbmZvcm1hbmNlUmVzcG9uc2USFQoLcGFyc2VfZXJyb3IYASABKAlIABIX", 30 "bXAucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi93cmFwcGVycy5wcm90byKNAQoS",
31 "Cg1ydW50aW1lX2Vycm9yGAIgASgJSAASGgoQcHJvdG9idWZfcGF5bG9hZBgD", 31 "Q29uZm9ybWFuY2VSZXF1ZXN0EhoKEHByb3RvYnVmX3BheWxvYWQYASABKAxI",
32 "IAEoDEgAEhYKDGpzb25fcGF5bG9hZBgEIAEoCUgAEhEKB3NraXBwZWQYBSAB", 32 "ABIWCgxqc29uX3BheWxvYWQYAiABKAlIABI4ChdyZXF1ZXN0ZWRfb3V0cHV0",
33 "KAlIAEIICgZyZXN1bHQi6yIKDFRlc3RBbGxUeXBlcxIWCg5vcHRpb25hbF9p", 33 "X2Zvcm1hdBgDIAEoDj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"ZWRFbnVtEgcKA0ZPTxAAEgcKA0JBUhABEgcKA0JBWhACEhAKA05FRxD/////", 131 "chjbASADKAsyGy5nb29nbGUucHJvdG9idWYuQnl0ZXNWYWx1ZRI1ChFvcHRp",
132 "//////8BQg0KC29uZW9mX2ZpZWxkIhsKDkZvcmVpZ25NZXNzYWdlEgkKAWMY", 132 "b25hbF9kdXJhdGlvbhitAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp",
133 "ASABKAUqNQoKV2lyZUZvcm1hdBIPCgtVTlNQRUNJRklFRBAAEgwKCFBST1RP", 133 "b24SNwoSb3B0aW9uYWxfdGltZXN0YW1wGK4CIAEoCzIaLmdvb2dsZS5wcm90",
134 "QlVGEAESCAoESlNPThACKkAKC0ZvcmVpZ25FbnVtEg8KC0ZPUkVJR05fRk9P", 134 "b2J1Zi5UaW1lc3RhbXASOAoTb3B0aW9uYWxfZmllbGRfbWFzaxivAiABKAsy",
135 "EAASDwoLRk9SRUlHTl9CQVIQARIPCgtGT1JFSUdOX0JBWhACQiEKH2NvbS5n", 135 "Gi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrEjEKD29wdGlvbmFsX3N0cnVj",
136 "b29nbGUucHJvdG9idWYuY29uZm9ybWFuY2ViBnByb3RvMw==")); 136 "dBiwAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EisKDG9wdGlvbmFs",
137 "X2FueRixAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55Ei8KDm9wdGlvbmFs",
138 "X3ZhbHVlGLICIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZRI1ChFyZXBl",
139 "YXRlZF9kdXJhdGlvbhi3AiADKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp",
140 "b24SNwoScmVwZWF0ZWRfdGltZXN0YW1wGLgCIAMoCzIaLmdvb2dsZS5wcm90",
141 "b2J1Zi5UaW1lc3RhbXASNwoScmVwZWF0ZWRfZmllbGRtYXNrGLkCIAMo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EaWwocTWFwU3RyaW5nRm9yZWlnbk1lc3Nh",
175 "Z2VFbnRyeRILCgNrZXkYASABKAkSKgoFdmFsdWUYAiABKAsyGy5jb25mb3Jt",
176 "YW5jZS5Gb3JlaWduTWVzc2FnZToCOAEaYAoYTWFwU3RyaW5nTmVzdGVkRW51",
177 "bUVudHJ5EgsKA2tleRgBIAEoCRIzCgV2YWx1ZRgCIAEoDjIkLmNvbmZvcm1h",
178 "bmNlLlRlc3RBbGxUeXBlcy5OZXN0ZWRFbnVtOgI4ARpVChlNYXBTdHJpbmdG",
179 "b3JlaWduRW51bUVudHJ5EgsKA2tleRgBIAEoCRInCgV2YWx1ZRgCIAEoDjIY",
180 "LmNvbmZvcm1hbmNlLkZvcmVpZ25FbnVtOgI4ASI5CgpOZXN0ZWRFbnVtEgcK",
181 "A0ZPTxAAEgcKA0JBUhABEgcKA0JBWhACEhAKA05FRxD///////////8BQg0K",
182 "C29uZW9mX2ZpZWxkIhsKDkZvcmVpZ25NZXNzYWdlEgkKAWMYASABKAUqNQoK",
183 "V2lyZUZvcm1hdBIPCgtVTlNQRUNJRklFRBAAEgwKCFBST1RPQlVGEAESCAoE",
184 "SlNPThACKkAKC0ZvcmVpZ25FbnVtEg8KC0ZPUkVJR05fRk9PEAASDwoLRk9S",
185 "RUlHTl9CQVIQARIPCgtGT1JFSUdOX0JBWhACQiEKH2NvbS5nb29nbGUucHJv",
186 "dG9idWYuY29uZm9ybWFuY2ViBnByb3RvMw=="));
137 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 187 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
138 new pbr::FileDescriptor[] { }, 188 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, },
139 new pbr::GeneratedCodeInfo(new[] {typeof(global::Conformance.WireForma t), typeof(global::Conformance.ForeignEnum), }, new pbr::GeneratedCodeInfo[] { 189 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Conformance.WireFo rmat), typeof(global::Conformance.ForeignEnum), }, new pbr::GeneratedClrTypeInfo [] {
140 new pbr::GeneratedCodeInfo(typeof(global::Conformance.ConformanceReq uest), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload", "JsonPayload", "RequestedOutputFormat" }, new[]{ "Payload" }, null, null), 190 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.Conformance Request), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload ", "JsonPayload", "RequestedOutputFormat" }, new[]{ "Payload" }, null, null),
141 new pbr::GeneratedCodeInfo(typeof(global::Conformance.ConformanceRes ponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "Ru ntimeError", "ProtobufPayload", "JsonPayload", "Skipped" }, new[]{ "Result" }, n ull, null), 191 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.Conformance Response), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped" }, new[]{ "Result" }, null, null),
142 new pbr::GeneratedCodeInfo(typeof(global::Conformance.TestAllTypes), global::Conformance.TestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalInt64 ", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "Opti onalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "Option alFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", " OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "Optiona lForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "Repea tedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32" , "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "R epeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedSt ring", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "Repe atedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", " MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint3 2Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixe d32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBool Bool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapString ForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", " OneofNestedMessage", "OneofString", "OneofBytes" }, new[]{ "OneofField" }, new[] { typeof(global::Conformance.TestAllTypes.Types.NestedEnum) }, new pbr::Generate dCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Conformance.TestAllTypes .Types.NestedMessage), global::Conformance.TestAllTypes.Types.NestedMessage.Pars er, new[]{ "A", "Corecursive" }, null, null, null), 192 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestAllType s), global::Conformance.TestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalIn t64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "O ptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "Opt ionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes" , "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "Opti onalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "Re peatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint 32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "Repeate dString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "R epeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord" , "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSi nt32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSf ixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapB oolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStr ingForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32" , "OneofNestedMessage", "OneofString", "OneofBytes", "OptionalBoolWrapper", "Opt ionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint32Wrapper", "OptionalUi nt64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapper", "OptionalStringWr apper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "RepeatedInt32Wrapper", " RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedUint64Wrapper", "Repeat edFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringWrapper", "RepeatedByte sWrapper", "OptionalDuration", "OptionalTimestamp", "OptionalFieldMask", "Option alStruct", "OptionalAny", "OptionalValue", "RepeatedDuration", "RepeatedTimestam p", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny", "RepeatedValue", "Fiel dname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDN ame12" }, new[]{ "OneofField" }, new[]{ typeof(global::Conformance.TestAllTypes. Types.NestedEnum) }, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrType Info(typeof(global::Conformance.TestAllTypes.Types.NestedMessage), global::Confo rmance.TestAllTypes.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, nul l, null, null),
143 null, null, null, null, null, null, null, null, null, null, null, nu ll, null, null, null, null, null, null, null, }), 193 null, null, null, null, null, null, null, null, null, null, null, nu ll, null, null, null, null, null, null, null, }),
144 new pbr::GeneratedCodeInfo(typeof(global::Conformance.ForeignMessage ), global::Conformance.ForeignMessage.Parser, new[]{ "C" }, null, null, null) 194 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ForeignMess age), global::Conformance.ForeignMessage.Parser, new[]{ "C" }, null, null, null)
145 })); 195 }));
146 } 196 }
147 #endregion 197 #endregion
148 198
149 } 199 }
150 #region Enums 200 #region Enums
151 public enum WireFormat { 201 public enum WireFormat {
152 UNSPECIFIED = 0, 202 [pbr::OriginalName("UNSPECIFIED")] Unspecified = 0,
153 PROTOBUF = 1, 203 [pbr::OriginalName("PROTOBUF")] Protobuf = 1,
154 JSON = 2, 204 [pbr::OriginalName("JSON")] Json = 2,
155 } 205 }
156 206
157 public enum ForeignEnum { 207 public enum ForeignEnum {
158 FOREIGN_FOO = 0, 208 [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0,
159 FOREIGN_BAR = 1, 209 [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1,
160 FOREIGN_BAZ = 2, 210 [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2,
161 } 211 }
162 212
163 #endregion 213 #endregion
164 214
165 #region Messages 215 #region Messages
166 /// <summary> 216 /// <summary>
167 /// Represents a single test case's input. The testee should: 217 /// Represents a single test case's input. The testee should:
168 /// 218 ///
169 /// 1. parse this proto (which should always succeed) 219 /// 1. parse this proto (which should always succeed)
170 /// 2. parse the protobuf or JSON payload in "payload" (which may fail) 220 /// 2. parse the protobuf or JSON payload in "payload" (which may fail)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 254
205 public ConformanceRequest Clone() { 255 public ConformanceRequest Clone() {
206 return new ConformanceRequest(this); 256 return new ConformanceRequest(this);
207 } 257 }
208 258
209 /// <summary>Field number for the "protobuf_payload" field.</summary> 259 /// <summary>Field number for the "protobuf_payload" field.</summary>
210 public const int ProtobufPayloadFieldNumber = 1; 260 public const int ProtobufPayloadFieldNumber = 1;
211 public pb::ByteString ProtobufPayload { 261 public pb::ByteString ProtobufPayload {
212 get { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteS tring) payload_ : pb::ByteString.Empty; } 262 get { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteS tring) payload_ : pb::ByteString.Empty; }
213 set { 263 set {
214 payload_ = pb::Preconditions.CheckNotNull(value, "value"); 264 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
215 payloadCase_ = PayloadOneofCase.ProtobufPayload; 265 payloadCase_ = PayloadOneofCase.ProtobufPayload;
216 } 266 }
217 } 267 }
218 268
219 /// <summary>Field number for the "json_payload" field.</summary> 269 /// <summary>Field number for the "json_payload" field.</summary>
220 public const int JsonPayloadFieldNumber = 2; 270 public const int JsonPayloadFieldNumber = 2;
221 public string JsonPayload { 271 public string JsonPayload {
222 get { return payloadCase_ == PayloadOneofCase.JsonPayload ? (string) paylo ad_ : ""; } 272 get { return payloadCase_ == PayloadOneofCase.JsonPayload ? (string) paylo ad_ : ""; }
223 set { 273 set {
224 payload_ = pb::Preconditions.CheckNotNull(value, "value"); 274 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
225 payloadCase_ = PayloadOneofCase.JsonPayload; 275 payloadCase_ = PayloadOneofCase.JsonPayload;
226 } 276 }
227 } 277 }
228 278
229 /// <summary>Field number for the "requested_output_format" field.</summary> 279 /// <summary>Field number for the "requested_output_format" field.</summary>
230 public const int RequestedOutputFormatFieldNumber = 3; 280 public const int RequestedOutputFormatFieldNumber = 3;
231 private global::Conformance.WireFormat requestedOutputFormat_ = global::Conf ormance.WireFormat.UNSPECIFIED; 281 private global::Conformance.WireFormat requestedOutputFormat_ = 0;
232 /// <summary> 282 /// <summary>
233 /// Which format should the testee serialize its message to? 283 /// Which format should the testee serialize its message to?
234 /// </summary> 284 /// </summary>
235 public global::Conformance.WireFormat RequestedOutputFormat { 285 public global::Conformance.WireFormat RequestedOutputFormat {
236 get { return requestedOutputFormat_; } 286 get { return requestedOutputFormat_; }
237 set { 287 set {
238 requestedOutputFormat_ = value; 288 requestedOutputFormat_ = value;
239 } 289 }
240 } 290 }
241 291
(...skipping 29 matching lines...) Expand all
271 if (JsonPayload != other.JsonPayload) return false; 321 if (JsonPayload != other.JsonPayload) return false;
272 if (RequestedOutputFormat != other.RequestedOutputFormat) return false; 322 if (RequestedOutputFormat != other.RequestedOutputFormat) return false;
273 if (PayloadCase != other.PayloadCase) return false; 323 if (PayloadCase != other.PayloadCase) return false;
274 return true; 324 return true;
275 } 325 }
276 326
277 public override int GetHashCode() { 327 public override int GetHashCode() {
278 int hash = 1; 328 int hash = 1;
279 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayl oad.GetHashCode(); 329 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayl oad.GetHashCode();
280 if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetH ashCode(); 330 if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetH ashCode();
281 if (RequestedOutputFormat != global::Conformance.WireFormat.UNSPECIFIED) h ash ^= RequestedOutputFormat.GetHashCode(); 331 if (RequestedOutputFormat != 0) hash ^= RequestedOutputFormat.GetHashCode( );
282 hash ^= (int) payloadCase_; 332 hash ^= (int) payloadCase_;
283 return hash; 333 return hash;
284 } 334 }
285 335
286 public override string ToString() { 336 public override string ToString() {
287 return pb::JsonFormatter.ToDiagnosticString(this); 337 return pb::JsonFormatter.ToDiagnosticString(this);
288 } 338 }
289 339
290 public void WriteTo(pb::CodedOutputStream output) { 340 public void WriteTo(pb::CodedOutputStream output) {
291 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) { 341 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
292 output.WriteRawTag(10); 342 output.WriteRawTag(10);
293 output.WriteBytes(ProtobufPayload); 343 output.WriteBytes(ProtobufPayload);
294 } 344 }
295 if (payloadCase_ == PayloadOneofCase.JsonPayload) { 345 if (payloadCase_ == PayloadOneofCase.JsonPayload) {
296 output.WriteRawTag(18); 346 output.WriteRawTag(18);
297 output.WriteString(JsonPayload); 347 output.WriteString(JsonPayload);
298 } 348 }
299 if (RequestedOutputFormat != global::Conformance.WireFormat.UNSPECIFIED) { 349 if (RequestedOutputFormat != 0) {
300 output.WriteRawTag(24); 350 output.WriteRawTag(24);
301 output.WriteEnum((int) RequestedOutputFormat); 351 output.WriteEnum((int) RequestedOutputFormat);
302 } 352 }
303 } 353 }
304 354
305 public int CalculateSize() { 355 public int CalculateSize() {
306 int size = 0; 356 int size = 0;
307 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) { 357 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
308 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload); 358 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
309 } 359 }
310 if (payloadCase_ == PayloadOneofCase.JsonPayload) { 360 if (payloadCase_ == PayloadOneofCase.JsonPayload) {
311 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload); 361 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
312 } 362 }
313 if (RequestedOutputFormat != global::Conformance.WireFormat.UNSPECIFIED) { 363 if (RequestedOutputFormat != 0) {
314 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputF ormat); 364 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputF ormat);
315 } 365 }
316 return size; 366 return size;
317 } 367 }
318 368
319 public void MergeFrom(ConformanceRequest other) { 369 public void MergeFrom(ConformanceRequest other) {
320 if (other == null) { 370 if (other == null) {
321 return; 371 return;
322 } 372 }
323 if (other.RequestedOutputFormat != global::Conformance.WireFormat.UNSPECIF IED) { 373 if (other.RequestedOutputFormat != 0) {
324 RequestedOutputFormat = other.RequestedOutputFormat; 374 RequestedOutputFormat = other.RequestedOutputFormat;
325 } 375 }
326 switch (other.PayloadCase) { 376 switch (other.PayloadCase) {
327 case PayloadOneofCase.ProtobufPayload: 377 case PayloadOneofCase.ProtobufPayload:
328 ProtobufPayload = other.ProtobufPayload; 378 ProtobufPayload = other.ProtobufPayload;
329 break; 379 break;
330 case PayloadOneofCase.JsonPayload: 380 case PayloadOneofCase.JsonPayload:
331 JsonPayload = other.JsonPayload; 381 JsonPayload = other.JsonPayload;
332 break; 382 break;
333 } 383 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 OnConstruction(); 429 OnConstruction();
380 } 430 }
381 431
382 partial void OnConstruction(); 432 partial void OnConstruction();
383 433
384 public ConformanceResponse(ConformanceResponse other) : this() { 434 public ConformanceResponse(ConformanceResponse other) : this() {
385 switch (other.ResultCase) { 435 switch (other.ResultCase) {
386 case ResultOneofCase.ParseError: 436 case ResultOneofCase.ParseError:
387 ParseError = other.ParseError; 437 ParseError = other.ParseError;
388 break; 438 break;
439 case ResultOneofCase.SerializeError:
440 SerializeError = other.SerializeError;
441 break;
389 case ResultOneofCase.RuntimeError: 442 case ResultOneofCase.RuntimeError:
390 RuntimeError = other.RuntimeError; 443 RuntimeError = other.RuntimeError;
391 break; 444 break;
392 case ResultOneofCase.ProtobufPayload: 445 case ResultOneofCase.ProtobufPayload:
393 ProtobufPayload = other.ProtobufPayload; 446 ProtobufPayload = other.ProtobufPayload;
394 break; 447 break;
395 case ResultOneofCase.JsonPayload: 448 case ResultOneofCase.JsonPayload:
396 JsonPayload = other.JsonPayload; 449 JsonPayload = other.JsonPayload;
397 break; 450 break;
398 case ResultOneofCase.Skipped: 451 case ResultOneofCase.Skipped:
(...skipping 12 matching lines...) Expand all
411 /// <summary> 464 /// <summary>
412 /// This string should be set to indicate parsing failed. The string can 465 /// This string should be set to indicate parsing failed. The string can
413 /// provide more information about the parse error if it is available. 466 /// provide more information about the parse error if it is available.
414 /// 467 ///
415 /// Setting this string does not necessarily mean the testee failed the 468 /// Setting this string does not necessarily mean the testee failed the
416 /// test. Some of the test cases are intentionally invalid input. 469 /// test. Some of the test cases are intentionally invalid input.
417 /// </summary> 470 /// </summary>
418 public string ParseError { 471 public string ParseError {
419 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; } 472 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; }
420 set { 473 set {
421 result_ = pb::Preconditions.CheckNotNull(value, "value"); 474 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
422 resultCase_ = ResultOneofCase.ParseError; 475 resultCase_ = ResultOneofCase.ParseError;
423 } 476 }
424 } 477 }
425 478
479 /// <summary>Field number for the "serialize_error" field.</summary>
480 public const int SerializeErrorFieldNumber = 6;
481 /// <summary>
482 /// If the input was successfully parsed but errors occurred when
483 /// serializing it to the requested output format, set the error message in
484 /// this field.
485 /// </summary>
486 public string SerializeError {
487 get { return resultCase_ == ResultOneofCase.SerializeError ? (string) resu lt_ : ""; }
488 set {
489 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
490 resultCase_ = ResultOneofCase.SerializeError;
491 }
492 }
493
426 /// <summary>Field number for the "runtime_error" field.</summary> 494 /// <summary>Field number for the "runtime_error" field.</summary>
427 public const int RuntimeErrorFieldNumber = 2; 495 public const int RuntimeErrorFieldNumber = 2;
428 /// <summary> 496 /// <summary>
429 /// This should be set if some other error occurred. This will always 497 /// This should be set if some other error occurred. This will always
430 /// indicate that the test failed. The string can provide more information 498 /// indicate that the test failed. The string can provide more information
431 /// about the failure. 499 /// about the failure.
432 /// </summary> 500 /// </summary>
433 public string RuntimeError { 501 public string RuntimeError {
434 get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result _ : ""; } 502 get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result _ : ""; }
435 set { 503 set {
436 result_ = pb::Preconditions.CheckNotNull(value, "value"); 504 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
437 resultCase_ = ResultOneofCase.RuntimeError; 505 resultCase_ = ResultOneofCase.RuntimeError;
438 } 506 }
439 } 507 }
440 508
441 /// <summary>Field number for the "protobuf_payload" field.</summary> 509 /// <summary>Field number for the "protobuf_payload" field.</summary>
442 public const int ProtobufPayloadFieldNumber = 3; 510 public const int ProtobufPayloadFieldNumber = 3;
443 /// <summary> 511 /// <summary>
444 /// If the input was successfully parsed and the requested output was 512 /// If the input was successfully parsed and the requested output was
445 /// protobuf, serialize it to protobuf and set it in this field. 513 /// protobuf, serialize it to protobuf and set it in this field.
446 /// </summary> 514 /// </summary>
447 public pb::ByteString ProtobufPayload { 515 public pb::ByteString ProtobufPayload {
448 get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteStr ing) result_ : pb::ByteString.Empty; } 516 get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteStr ing) result_ : pb::ByteString.Empty; }
449 set { 517 set {
450 result_ = pb::Preconditions.CheckNotNull(value, "value"); 518 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
451 resultCase_ = ResultOneofCase.ProtobufPayload; 519 resultCase_ = ResultOneofCase.ProtobufPayload;
452 } 520 }
453 } 521 }
454 522
455 /// <summary>Field number for the "json_payload" field.</summary> 523 /// <summary>Field number for the "json_payload" field.</summary>
456 public const int JsonPayloadFieldNumber = 4; 524 public const int JsonPayloadFieldNumber = 4;
457 /// <summary> 525 /// <summary>
458 /// If the input was successfully parsed and the requested output was JSON, 526 /// If the input was successfully parsed and the requested output was JSON,
459 /// serialize to JSON and set it in this field. 527 /// serialize to JSON and set it in this field.
460 /// </summary> 528 /// </summary>
461 public string JsonPayload { 529 public string JsonPayload {
462 get { return resultCase_ == ResultOneofCase.JsonPayload ? (string) result_ : ""; } 530 get { return resultCase_ == ResultOneofCase.JsonPayload ? (string) result_ : ""; }
463 set { 531 set {
464 result_ = pb::Preconditions.CheckNotNull(value, "value"); 532 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
465 resultCase_ = ResultOneofCase.JsonPayload; 533 resultCase_ = ResultOneofCase.JsonPayload;
466 } 534 }
467 } 535 }
468 536
469 /// <summary>Field number for the "skipped" field.</summary> 537 /// <summary>Field number for the "skipped" field.</summary>
470 public const int SkippedFieldNumber = 5; 538 public const int SkippedFieldNumber = 5;
471 /// <summary> 539 /// <summary>
472 /// For when the testee skipped the test, likely because a certain feature 540 /// For when the testee skipped the test, likely because a certain feature
473 /// wasn't supported, like JSON input/output. 541 /// wasn't supported, like JSON input/output.
474 /// </summary> 542 /// </summary>
475 public string Skipped { 543 public string Skipped {
476 get { return resultCase_ == ResultOneofCase.Skipped ? (string) result_ : " "; } 544 get { return resultCase_ == ResultOneofCase.Skipped ? (string) result_ : " "; }
477 set { 545 set {
478 result_ = pb::Preconditions.CheckNotNull(value, "value"); 546 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
479 resultCase_ = ResultOneofCase.Skipped; 547 resultCase_ = ResultOneofCase.Skipped;
480 } 548 }
481 } 549 }
482 550
483 private object result_; 551 private object result_;
484 /// <summary>Enum of possible cases for the "result" oneof.</summary> 552 /// <summary>Enum of possible cases for the "result" oneof.</summary>
485 public enum ResultOneofCase { 553 public enum ResultOneofCase {
486 None = 0, 554 None = 0,
487 ParseError = 1, 555 ParseError = 1,
556 SerializeError = 6,
488 RuntimeError = 2, 557 RuntimeError = 2,
489 ProtobufPayload = 3, 558 ProtobufPayload = 3,
490 JsonPayload = 4, 559 JsonPayload = 4,
491 Skipped = 5, 560 Skipped = 5,
492 } 561 }
493 private ResultOneofCase resultCase_ = ResultOneofCase.None; 562 private ResultOneofCase resultCase_ = ResultOneofCase.None;
494 public ResultOneofCase ResultCase { 563 public ResultOneofCase ResultCase {
495 get { return resultCase_; } 564 get { return resultCase_; }
496 } 565 }
497 566
498 public void ClearResult() { 567 public void ClearResult() {
499 resultCase_ = ResultOneofCase.None; 568 resultCase_ = ResultOneofCase.None;
500 result_ = null; 569 result_ = null;
501 } 570 }
502 571
503 public override bool Equals(object other) { 572 public override bool Equals(object other) {
504 return Equals(other as ConformanceResponse); 573 return Equals(other as ConformanceResponse);
505 } 574 }
506 575
507 public bool Equals(ConformanceResponse other) { 576 public bool Equals(ConformanceResponse other) {
508 if (ReferenceEquals(other, null)) { 577 if (ReferenceEquals(other, null)) {
509 return false; 578 return false;
510 } 579 }
511 if (ReferenceEquals(other, this)) { 580 if (ReferenceEquals(other, this)) {
512 return true; 581 return true;
513 } 582 }
514 if (ParseError != other.ParseError) return false; 583 if (ParseError != other.ParseError) return false;
584 if (SerializeError != other.SerializeError) return false;
515 if (RuntimeError != other.RuntimeError) return false; 585 if (RuntimeError != other.RuntimeError) return false;
516 if (ProtobufPayload != other.ProtobufPayload) return false; 586 if (ProtobufPayload != other.ProtobufPayload) return false;
517 if (JsonPayload != other.JsonPayload) return false; 587 if (JsonPayload != other.JsonPayload) return false;
518 if (Skipped != other.Skipped) return false; 588 if (Skipped != other.Skipped) return false;
519 if (ResultCase != other.ResultCase) return false; 589 if (ResultCase != other.ResultCase) return false;
520 return true; 590 return true;
521 } 591 }
522 592
523 public override int GetHashCode() { 593 public override int GetHashCode() {
524 int hash = 1; 594 int hash = 1;
525 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashC ode(); 595 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashC ode();
596 if (resultCase_ == ResultOneofCase.SerializeError) hash ^= SerializeError. GetHashCode();
526 if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetH ashCode(); 597 if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetH ashCode();
527 if (resultCase_ == ResultOneofCase.ProtobufPayload) hash ^= ProtobufPayloa d.GetHashCode(); 598 if (resultCase_ == ResultOneofCase.ProtobufPayload) hash ^= ProtobufPayloa d.GetHashCode();
528 if (resultCase_ == ResultOneofCase.JsonPayload) hash ^= JsonPayload.GetHas hCode(); 599 if (resultCase_ == ResultOneofCase.JsonPayload) hash ^= JsonPayload.GetHas hCode();
529 if (resultCase_ == ResultOneofCase.Skipped) hash ^= Skipped.GetHashCode(); 600 if (resultCase_ == ResultOneofCase.Skipped) hash ^= Skipped.GetHashCode();
530 hash ^= (int) resultCase_; 601 hash ^= (int) resultCase_;
531 return hash; 602 return hash;
532 } 603 }
533 604
534 public override string ToString() { 605 public override string ToString() {
535 return pb::JsonFormatter.ToDiagnosticString(this); 606 return pb::JsonFormatter.ToDiagnosticString(this);
(...skipping 13 matching lines...) Expand all
549 output.WriteBytes(ProtobufPayload); 620 output.WriteBytes(ProtobufPayload);
550 } 621 }
551 if (resultCase_ == ResultOneofCase.JsonPayload) { 622 if (resultCase_ == ResultOneofCase.JsonPayload) {
552 output.WriteRawTag(34); 623 output.WriteRawTag(34);
553 output.WriteString(JsonPayload); 624 output.WriteString(JsonPayload);
554 } 625 }
555 if (resultCase_ == ResultOneofCase.Skipped) { 626 if (resultCase_ == ResultOneofCase.Skipped) {
556 output.WriteRawTag(42); 627 output.WriteRawTag(42);
557 output.WriteString(Skipped); 628 output.WriteString(Skipped);
558 } 629 }
630 if (resultCase_ == ResultOneofCase.SerializeError) {
631 output.WriteRawTag(50);
632 output.WriteString(SerializeError);
633 }
559 } 634 }
560 635
561 public int CalculateSize() { 636 public int CalculateSize() {
562 int size = 0; 637 int size = 0;
563 if (resultCase_ == ResultOneofCase.ParseError) { 638 if (resultCase_ == ResultOneofCase.ParseError) {
564 size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError); 639 size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError);
565 } 640 }
641 if (resultCase_ == ResultOneofCase.SerializeError) {
642 size += 1 + pb::CodedOutputStream.ComputeStringSize(SerializeError);
643 }
566 if (resultCase_ == ResultOneofCase.RuntimeError) { 644 if (resultCase_ == ResultOneofCase.RuntimeError) {
567 size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError); 645 size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError);
568 } 646 }
569 if (resultCase_ == ResultOneofCase.ProtobufPayload) { 647 if (resultCase_ == ResultOneofCase.ProtobufPayload) {
570 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload); 648 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
571 } 649 }
572 if (resultCase_ == ResultOneofCase.JsonPayload) { 650 if (resultCase_ == ResultOneofCase.JsonPayload) {
573 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload); 651 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
574 } 652 }
575 if (resultCase_ == ResultOneofCase.Skipped) { 653 if (resultCase_ == ResultOneofCase.Skipped) {
576 size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped); 654 size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped);
577 } 655 }
578 return size; 656 return size;
579 } 657 }
580 658
581 public void MergeFrom(ConformanceResponse other) { 659 public void MergeFrom(ConformanceResponse other) {
582 if (other == null) { 660 if (other == null) {
583 return; 661 return;
584 } 662 }
585 switch (other.ResultCase) { 663 switch (other.ResultCase) {
586 case ResultOneofCase.ParseError: 664 case ResultOneofCase.ParseError:
587 ParseError = other.ParseError; 665 ParseError = other.ParseError;
588 break; 666 break;
667 case ResultOneofCase.SerializeError:
668 SerializeError = other.SerializeError;
669 break;
589 case ResultOneofCase.RuntimeError: 670 case ResultOneofCase.RuntimeError:
590 RuntimeError = other.RuntimeError; 671 RuntimeError = other.RuntimeError;
591 break; 672 break;
592 case ResultOneofCase.ProtobufPayload: 673 case ResultOneofCase.ProtobufPayload:
593 ProtobufPayload = other.ProtobufPayload; 674 ProtobufPayload = other.ProtobufPayload;
594 break; 675 break;
595 case ResultOneofCase.JsonPayload: 676 case ResultOneofCase.JsonPayload:
596 JsonPayload = other.JsonPayload; 677 JsonPayload = other.JsonPayload;
597 break; 678 break;
598 case ResultOneofCase.Skipped: 679 case ResultOneofCase.Skipped:
(...skipping 23 matching lines...) Expand all
622 break; 703 break;
623 } 704 }
624 case 34: { 705 case 34: {
625 JsonPayload = input.ReadString(); 706 JsonPayload = input.ReadString();
626 break; 707 break;
627 } 708 }
628 case 42: { 709 case 42: {
629 Skipped = input.ReadString(); 710 Skipped = input.ReadString();
630 break; 711 break;
631 } 712 }
713 case 50: {
714 SerializeError = input.ReadString();
715 break;
716 }
632 } 717 }
633 } 718 }
634 } 719 }
635 720
636 } 721 }
637 722
638 /// <summary> 723 /// <summary>
639 /// This proto includes every type of field in both singular and repeated 724 /// This proto includes every type of field in both singular and repeated
640 /// forms. 725 /// forms.
641 /// </summary> 726 /// </summary>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone(); 799 mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone();
715 mapInt32Float_ = other.mapInt32Float_.Clone(); 800 mapInt32Float_ = other.mapInt32Float_.Clone();
716 mapInt32Double_ = other.mapInt32Double_.Clone(); 801 mapInt32Double_ = other.mapInt32Double_.Clone();
717 mapBoolBool_ = other.mapBoolBool_.Clone(); 802 mapBoolBool_ = other.mapBoolBool_.Clone();
718 mapStringString_ = other.mapStringString_.Clone(); 803 mapStringString_ = other.mapStringString_.Clone();
719 mapStringBytes_ = other.mapStringBytes_.Clone(); 804 mapStringBytes_ = other.mapStringBytes_.Clone();
720 mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone(); 805 mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone();
721 mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone(); 806 mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone();
722 mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone(); 807 mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone();
723 mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone(); 808 mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone();
809 OptionalBoolWrapper = other.OptionalBoolWrapper;
810 OptionalInt32Wrapper = other.OptionalInt32Wrapper;
811 OptionalInt64Wrapper = other.OptionalInt64Wrapper;
812 OptionalUint32Wrapper = other.OptionalUint32Wrapper;
813 OptionalUint64Wrapper = other.OptionalUint64Wrapper;
814 OptionalFloatWrapper = other.OptionalFloatWrapper;
815 OptionalDoubleWrapper = other.OptionalDoubleWrapper;
816 OptionalStringWrapper = other.OptionalStringWrapper;
817 OptionalBytesWrapper = other.OptionalBytesWrapper;
818 repeatedBoolWrapper_ = other.repeatedBoolWrapper_.Clone();
819 repeatedInt32Wrapper_ = other.repeatedInt32Wrapper_.Clone();
820 repeatedInt64Wrapper_ = other.repeatedInt64Wrapper_.Clone();
821 repeatedUint32Wrapper_ = other.repeatedUint32Wrapper_.Clone();
822 repeatedUint64Wrapper_ = other.repeatedUint64Wrapper_.Clone();
823 repeatedFloatWrapper_ = other.repeatedFloatWrapper_.Clone();
824 repeatedDoubleWrapper_ = other.repeatedDoubleWrapper_.Clone();
825 repeatedStringWrapper_ = other.repeatedStringWrapper_.Clone();
826 repeatedBytesWrapper_ = other.repeatedBytesWrapper_.Clone();
827 OptionalDuration = other.optionalDuration_ != null ? other.OptionalDuratio n.Clone() : null;
828 OptionalTimestamp = other.optionalTimestamp_ != null ? other.OptionalTimes tamp.Clone() : null;
829 OptionalFieldMask = other.optionalFieldMask_ != null ? other.OptionalField Mask.Clone() : null;
830 OptionalStruct = other.optionalStruct_ != null ? other.OptionalStruct.Clon e() : null;
831 OptionalAny = other.optionalAny_ != null ? other.OptionalAny.Clone() : nul l;
832 OptionalValue = other.optionalValue_ != null ? other.OptionalValue.Clone() : null;
833 repeatedDuration_ = other.repeatedDuration_.Clone();
834 repeatedTimestamp_ = other.repeatedTimestamp_.Clone();
835 repeatedFieldmask_ = other.repeatedFieldmask_.Clone();
836 repeatedStruct_ = other.repeatedStruct_.Clone();
837 repeatedAny_ = other.repeatedAny_.Clone();
838 repeatedValue_ = other.repeatedValue_.Clone();
839 fieldname1_ = other.fieldname1_;
840 fieldName2_ = other.fieldName2_;
841 FieldName3_ = other.FieldName3_;
842 fieldName4_ = other.fieldName4_;
843 field0Name5_ = other.field0Name5_;
844 field0Name6_ = other.field0Name6_;
845 fieldName7_ = other.fieldName7_;
846 fieldName8_ = other.fieldName8_;
847 fieldName9_ = other.fieldName9_;
848 fieldName10_ = other.fieldName10_;
849 fIELDNAME11_ = other.fIELDNAME11_;
850 fIELDName12_ = other.fIELDName12_;
724 switch (other.OneofFieldCase) { 851 switch (other.OneofFieldCase) {
725 case OneofFieldOneofCase.OneofUint32: 852 case OneofFieldOneofCase.OneofUint32:
726 OneofUint32 = other.OneofUint32; 853 OneofUint32 = other.OneofUint32;
727 break; 854 break;
728 case OneofFieldOneofCase.OneofNestedMessage: 855 case OneofFieldOneofCase.OneofNestedMessage:
729 OneofNestedMessage = other.OneofNestedMessage.Clone(); 856 OneofNestedMessage = other.OneofNestedMessage.Clone();
730 break; 857 break;
731 case OneofFieldOneofCase.OneofString: 858 case OneofFieldOneofCase.OneofString:
732 OneofString = other.OneofString; 859 OneofString = other.OneofString;
733 break; 860 break;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 optionalBool_ = value; 1001 optionalBool_ = value;
875 } 1002 }
876 } 1003 }
877 1004
878 /// <summary>Field number for the "optional_string" field.</summary> 1005 /// <summary>Field number for the "optional_string" field.</summary>
879 public const int OptionalStringFieldNumber = 14; 1006 public const int OptionalStringFieldNumber = 14;
880 private string optionalString_ = ""; 1007 private string optionalString_ = "";
881 public string OptionalString { 1008 public string OptionalString {
882 get { return optionalString_; } 1009 get { return optionalString_; }
883 set { 1010 set {
884 optionalString_ = pb::Preconditions.CheckNotNull(value, "value"); 1011 optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
885 } 1012 }
886 } 1013 }
887 1014
888 /// <summary>Field number for the "optional_bytes" field.</summary> 1015 /// <summary>Field number for the "optional_bytes" field.</summary>
889 public const int OptionalBytesFieldNumber = 15; 1016 public const int OptionalBytesFieldNumber = 15;
890 private pb::ByteString optionalBytes_ = pb::ByteString.Empty; 1017 private pb::ByteString optionalBytes_ = pb::ByteString.Empty;
891 public pb::ByteString OptionalBytes { 1018 public pb::ByteString OptionalBytes {
892 get { return optionalBytes_; } 1019 get { return optionalBytes_; }
893 set { 1020 set {
894 optionalBytes_ = pb::Preconditions.CheckNotNull(value, "value"); 1021 optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
895 } 1022 }
896 } 1023 }
897 1024
898 /// <summary>Field number for the "optional_nested_message" field.</summary> 1025 /// <summary>Field number for the "optional_nested_message" field.</summary>
899 public const int OptionalNestedMessageFieldNumber = 18; 1026 public const int OptionalNestedMessageFieldNumber = 18;
900 private global::Conformance.TestAllTypes.Types.NestedMessage optionalNestedM essage_; 1027 private global::Conformance.TestAllTypes.Types.NestedMessage optionalNestedM essage_;
901 public global::Conformance.TestAllTypes.Types.NestedMessage OptionalNestedMe ssage { 1028 public global::Conformance.TestAllTypes.Types.NestedMessage OptionalNestedMe ssage {
902 get { return optionalNestedMessage_; } 1029 get { return optionalNestedMessage_; }
903 set { 1030 set {
904 optionalNestedMessage_ = value; 1031 optionalNestedMessage_ = value;
905 } 1032 }
906 } 1033 }
907 1034
908 /// <summary>Field number for the "optional_foreign_message" field.</summary > 1035 /// <summary>Field number for the "optional_foreign_message" field.</summary >
909 public const int OptionalForeignMessageFieldNumber = 19; 1036 public const int OptionalForeignMessageFieldNumber = 19;
910 private global::Conformance.ForeignMessage optionalForeignMessage_; 1037 private global::Conformance.ForeignMessage optionalForeignMessage_;
911 public global::Conformance.ForeignMessage OptionalForeignMessage { 1038 public global::Conformance.ForeignMessage OptionalForeignMessage {
912 get { return optionalForeignMessage_; } 1039 get { return optionalForeignMessage_; }
913 set { 1040 set {
914 optionalForeignMessage_ = value; 1041 optionalForeignMessage_ = value;
915 } 1042 }
916 } 1043 }
917 1044
918 /// <summary>Field number for the "optional_nested_enum" field.</summary> 1045 /// <summary>Field number for the "optional_nested_enum" field.</summary>
919 public const int OptionalNestedEnumFieldNumber = 21; 1046 public const int OptionalNestedEnumFieldNumber = 21;
920 private global::Conformance.TestAllTypes.Types.NestedEnum optionalNestedEnum _ = global::Conformance.TestAllTypes.Types.NestedEnum.FOO; 1047 private global::Conformance.TestAllTypes.Types.NestedEnum optionalNestedEnum _ = 0;
921 public global::Conformance.TestAllTypes.Types.NestedEnum OptionalNestedEnum { 1048 public global::Conformance.TestAllTypes.Types.NestedEnum OptionalNestedEnum {
922 get { return optionalNestedEnum_; } 1049 get { return optionalNestedEnum_; }
923 set { 1050 set {
924 optionalNestedEnum_ = value; 1051 optionalNestedEnum_ = value;
925 } 1052 }
926 } 1053 }
927 1054
928 /// <summary>Field number for the "optional_foreign_enum" field.</summary> 1055 /// <summary>Field number for the "optional_foreign_enum" field.</summary>
929 public const int OptionalForeignEnumFieldNumber = 22; 1056 public const int OptionalForeignEnumFieldNumber = 22;
930 private global::Conformance.ForeignEnum optionalForeignEnum_ = global::Confo rmance.ForeignEnum.FOREIGN_FOO; 1057 private global::Conformance.ForeignEnum optionalForeignEnum_ = 0;
931 public global::Conformance.ForeignEnum OptionalForeignEnum { 1058 public global::Conformance.ForeignEnum OptionalForeignEnum {
932 get { return optionalForeignEnum_; } 1059 get { return optionalForeignEnum_; }
933 set { 1060 set {
934 optionalForeignEnum_ = value; 1061 optionalForeignEnum_ = value;
935 } 1062 }
936 } 1063 }
937 1064
938 /// <summary>Field number for the "optional_string_piece" field.</summary> 1065 /// <summary>Field number for the "optional_string_piece" field.</summary>
939 public const int OptionalStringPieceFieldNumber = 24; 1066 public const int OptionalStringPieceFieldNumber = 24;
940 private string optionalStringPiece_ = ""; 1067 private string optionalStringPiece_ = "";
941 public string OptionalStringPiece { 1068 public string OptionalStringPiece {
942 get { return optionalStringPiece_; } 1069 get { return optionalStringPiece_; }
943 set { 1070 set {
944 optionalStringPiece_ = pb::Preconditions.CheckNotNull(value, "value"); 1071 optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value ");
945 } 1072 }
946 } 1073 }
947 1074
948 /// <summary>Field number for the "optional_cord" field.</summary> 1075 /// <summary>Field number for the "optional_cord" field.</summary>
949 public const int OptionalCordFieldNumber = 25; 1076 public const int OptionalCordFieldNumber = 25;
950 private string optionalCord_ = ""; 1077 private string optionalCord_ = "";
951 public string OptionalCord { 1078 public string OptionalCord {
952 get { return optionalCord_; } 1079 get { return optionalCord_; }
953 set { 1080 set {
954 optionalCord_ = pb::Preconditions.CheckNotNull(value, "value"); 1081 optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
955 } 1082 }
956 } 1083 }
957 1084
958 /// <summary>Field number for the "recursive_message" field.</summary> 1085 /// <summary>Field number for the "recursive_message" field.</summary>
959 public const int RecursiveMessageFieldNumber = 27; 1086 public const int RecursiveMessageFieldNumber = 27;
960 private global::Conformance.TestAllTypes recursiveMessage_; 1087 private global::Conformance.TestAllTypes recursiveMessage_;
961 public global::Conformance.TestAllTypes RecursiveMessage { 1088 public global::Conformance.TestAllTypes RecursiveMessage {
962 get { return recursiveMessage_; } 1089 get { return recursiveMessage_; }
963 set { 1090 set {
964 recursiveMessage_ = value; 1091 recursiveMessage_ = value;
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 oneofField_ = value; 1476 oneofField_ = value;
1350 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO neofCase.OneofNestedMessage; 1477 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO neofCase.OneofNestedMessage;
1351 } 1478 }
1352 } 1479 }
1353 1480
1354 /// <summary>Field number for the "oneof_string" field.</summary> 1481 /// <summary>Field number for the "oneof_string" field.</summary>
1355 public const int OneofStringFieldNumber = 113; 1482 public const int OneofStringFieldNumber = 113;
1356 public string OneofString { 1483 public string OneofString {
1357 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; } 1484 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
1358 set { 1485 set {
1359 oneofField_ = pb::Preconditions.CheckNotNull(value, "value"); 1486 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1360 oneofFieldCase_ = OneofFieldOneofCase.OneofString; 1487 oneofFieldCase_ = OneofFieldOneofCase.OneofString;
1361 } 1488 }
1362 } 1489 }
1363 1490
1364 /// <summary>Field number for the "oneof_bytes" field.</summary> 1491 /// <summary>Field number for the "oneof_bytes" field.</summary>
1365 public const int OneofBytesFieldNumber = 114; 1492 public const int OneofBytesFieldNumber = 114;
1366 public pb::ByteString OneofBytes { 1493 public pb::ByteString OneofBytes {
1367 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::Byte String) oneofField_ : pb::ByteString.Empty; } 1494 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::Byte String) oneofField_ : pb::ByteString.Empty; }
1368 set { 1495 set {
1369 oneofField_ = pb::Preconditions.CheckNotNull(value, "value"); 1496 oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1370 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes; 1497 oneofFieldCase_ = OneofFieldOneofCase.OneofBytes;
1371 } 1498 }
1372 } 1499 }
1373 1500
1501 /// <summary>Field number for the "optional_bool_wrapper" field.</summary>
1502 public const int OptionalBoolWrapperFieldNumber = 201;
1503 private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_co dec = pb::FieldCodec.ForStructWrapper<bool>(1610);
1504 private bool? optionalBoolWrapper_;
1505 /// <summary>
1506 /// Well-known types
1507 /// </summary>
1508 public bool? OptionalBoolWrapper {
1509 get { return optionalBoolWrapper_; }
1510 set {
1511 optionalBoolWrapper_ = value;
1512 }
1513 }
1514
1515 /// <summary>Field number for the "optional_int32_wrapper" field.</summary>
1516 public const int OptionalInt32WrapperFieldNumber = 202;
1517 private static readonly pb::FieldCodec<int?> _single_optionalInt32Wrapper_co dec = pb::FieldCodec.ForStructWrapper<int>(1618);
1518 private int? optionalInt32Wrapper_;
1519 public int? OptionalInt32Wrapper {
1520 get { return optionalInt32Wrapper_; }
1521 set {
1522 optionalInt32Wrapper_ = value;
1523 }
1524 }
1525
1526 /// <summary>Field number for the "optional_int64_wrapper" field.</summary>
1527 public const int OptionalInt64WrapperFieldNumber = 203;
1528 private static readonly pb::FieldCodec<long?> _single_optionalInt64Wrapper_c odec = pb::FieldCodec.ForStructWrapper<long>(1626);
1529 private long? optionalInt64Wrapper_;
1530 public long? OptionalInt64Wrapper {
1531 get { return optionalInt64Wrapper_; }
1532 set {
1533 optionalInt64Wrapper_ = value;
1534 }
1535 }
1536
1537 /// <summary>Field number for the "optional_uint32_wrapper" field.</summary>
1538 public const int OptionalUint32WrapperFieldNumber = 204;
1539 private static readonly pb::FieldCodec<uint?> _single_optionalUint32Wrapper_ codec = pb::FieldCodec.ForStructWrapper<uint>(1634);
1540 private uint? optionalUint32Wrapper_;
1541 public uint? OptionalUint32Wrapper {
1542 get { return optionalUint32Wrapper_; }
1543 set {
1544 optionalUint32Wrapper_ = value;
1545 }
1546 }
1547
1548 /// <summary>Field number for the "optional_uint64_wrapper" field.</summary>
1549 public const int OptionalUint64WrapperFieldNumber = 205;
1550 private static readonly pb::FieldCodec<ulong?> _single_optionalUint64Wrapper _codec = pb::FieldCodec.ForStructWrapper<ulong>(1642);
1551 private ulong? optionalUint64Wrapper_;
1552 public ulong? OptionalUint64Wrapper {
1553 get { return optionalUint64Wrapper_; }
1554 set {
1555 optionalUint64Wrapper_ = value;
1556 }
1557 }
1558
1559 /// <summary>Field number for the "optional_float_wrapper" field.</summary>
1560 public const int OptionalFloatWrapperFieldNumber = 206;
1561 private static readonly pb::FieldCodec<float?> _single_optionalFloatWrapper_ codec = pb::FieldCodec.ForStructWrapper<float>(1650);
1562 private float? optionalFloatWrapper_;
1563 public float? OptionalFloatWrapper {
1564 get { return optionalFloatWrapper_; }
1565 set {
1566 optionalFloatWrapper_ = value;
1567 }
1568 }
1569
1570 /// <summary>Field number for the "optional_double_wrapper" field.</summary>
1571 public const int OptionalDoubleWrapperFieldNumber = 207;
1572 private static readonly pb::FieldCodec<double?> _single_optionalDoubleWrappe r_codec = pb::FieldCodec.ForStructWrapper<double>(1658);
1573 private double? optionalDoubleWrapper_;
1574 public double? OptionalDoubleWrapper {
1575 get { return optionalDoubleWrapper_; }
1576 set {
1577 optionalDoubleWrapper_ = value;
1578 }
1579 }
1580
1581 /// <summary>Field number for the "optional_string_wrapper" field.</summary>
1582 public const int OptionalStringWrapperFieldNumber = 208;
1583 private static readonly pb::FieldCodec<string> _single_optionalStringWrapper _codec = pb::FieldCodec.ForClassWrapper<string>(1666);
1584 private string optionalStringWrapper_;
1585 public string OptionalStringWrapper {
1586 get { return optionalStringWrapper_; }
1587 set {
1588 optionalStringWrapper_ = value;
1589 }
1590 }
1591
1592 /// <summary>Field number for the "optional_bytes_wrapper" field.</summary>
1593 public const int OptionalBytesWrapperFieldNumber = 209;
1594 private static readonly pb::FieldCodec<pb::ByteString> _single_optionalBytes Wrapper_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1674);
1595 private pb::ByteString optionalBytesWrapper_;
1596 public pb::ByteString OptionalBytesWrapper {
1597 get { return optionalBytesWrapper_; }
1598 set {
1599 optionalBytesWrapper_ = value;
1600 }
1601 }
1602
1603 /// <summary>Field number for the "repeated_bool_wrapper" field.</summary>
1604 public const int RepeatedBoolWrapperFieldNumber = 211;
1605 private static readonly pb::FieldCodec<bool?> _repeated_repeatedBoolWrapper_ codec
1606 = pb::FieldCodec.ForStructWrapper<bool>(1690);
1607 private readonly pbc::RepeatedField<bool?> repeatedBoolWrapper_ = new pbc::R epeatedField<bool?>();
1608 public pbc::RepeatedField<bool?> RepeatedBoolWrapper {
1609 get { return repeatedBoolWrapper_; }
1610 }
1611
1612 /// <summary>Field number for the "repeated_int32_wrapper" field.</summary>
1613 public const int RepeatedInt32WrapperFieldNumber = 212;
1614 private static readonly pb::FieldCodec<int?> _repeated_repeatedInt32Wrapper_ codec
1615 = pb::FieldCodec.ForStructWrapper<int>(1698);
1616 private readonly pbc::RepeatedField<int?> repeatedInt32Wrapper_ = new pbc::R epeatedField<int?>();
1617 public pbc::RepeatedField<int?> RepeatedInt32Wrapper {
1618 get { return repeatedInt32Wrapper_; }
1619 }
1620
1621 /// <summary>Field number for the "repeated_int64_wrapper" field.</summary>
1622 public const int RepeatedInt64WrapperFieldNumber = 213;
1623 private static readonly pb::FieldCodec<long?> _repeated_repeatedInt64Wrapper _codec
1624 = pb::FieldCodec.ForStructWrapper<long>(1706);
1625 private readonly pbc::RepeatedField<long?> repeatedInt64Wrapper_ = new pbc:: RepeatedField<long?>();
1626 public pbc::RepeatedField<long?> RepeatedInt64Wrapper {
1627 get { return repeatedInt64Wrapper_; }
1628 }
1629
1630 /// <summary>Field number for the "repeated_uint32_wrapper" field.</summary>
1631 public const int RepeatedUint32WrapperFieldNumber = 214;
1632 private static readonly pb::FieldCodec<uint?> _repeated_repeatedUint32Wrappe r_codec
1633 = pb::FieldCodec.ForStructWrapper<uint>(1714);
1634 private readonly pbc::RepeatedField<uint?> repeatedUint32Wrapper_ = new pbc: :RepeatedField<uint?>();
1635 public pbc::RepeatedField<uint?> RepeatedUint32Wrapper {
1636 get { return repeatedUint32Wrapper_; }
1637 }
1638
1639 /// <summary>Field number for the "repeated_uint64_wrapper" field.</summary>
1640 public const int RepeatedUint64WrapperFieldNumber = 215;
1641 private static readonly pb::FieldCodec<ulong?> _repeated_repeatedUint64Wrapp er_codec
1642 = pb::FieldCodec.ForStructWrapper<ulong>(1722);
1643 private readonly pbc::RepeatedField<ulong?> repeatedUint64Wrapper_ = new pbc ::RepeatedField<ulong?>();
1644 public pbc::RepeatedField<ulong?> RepeatedUint64Wrapper {
1645 get { return repeatedUint64Wrapper_; }
1646 }
1647
1648 /// <summary>Field number for the "repeated_float_wrapper" field.</summary>
1649 public const int RepeatedFloatWrapperFieldNumber = 216;
1650 private static readonly pb::FieldCodec<float?> _repeated_repeatedFloatWrappe r_codec
1651 = pb::FieldCodec.ForStructWrapper<float>(1730);
1652 private readonly pbc::RepeatedField<float?> repeatedFloatWrapper_ = new pbc: :RepeatedField<float?>();
1653 public pbc::RepeatedField<float?> RepeatedFloatWrapper {
1654 get { return repeatedFloatWrapper_; }
1655 }
1656
1657 /// <summary>Field number for the "repeated_double_wrapper" field.</summary>
1658 public const int RepeatedDoubleWrapperFieldNumber = 217;
1659 private static readonly pb::FieldCodec<double?> _repeated_repeatedDoubleWrap per_codec
1660 = pb::FieldCodec.ForStructWrapper<double>(1738);
1661 private readonly pbc::RepeatedField<double?> repeatedDoubleWrapper_ = new pb c::RepeatedField<double?>();
1662 public pbc::RepeatedField<double?> RepeatedDoubleWrapper {
1663 get { return repeatedDoubleWrapper_; }
1664 }
1665
1666 /// <summary>Field number for the "repeated_string_wrapper" field.</summary>
1667 public const int RepeatedStringWrapperFieldNumber = 218;
1668 private static readonly pb::FieldCodec<string> _repeated_repeatedStringWrapp er_codec
1669 = pb::FieldCodec.ForClassWrapper<string>(1746);
1670 private readonly pbc::RepeatedField<string> repeatedStringWrapper_ = new pbc ::RepeatedField<string>();
1671 public pbc::RepeatedField<string> RepeatedStringWrapper {
1672 get { return repeatedStringWrapper_; }
1673 }
1674
1675 /// <summary>Field number for the "repeated_bytes_wrapper" field.</summary>
1676 public const int RepeatedBytesWrapperFieldNumber = 219;
1677 private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedByt esWrapper_codec
1678 = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1754);
1679 private readonly pbc::RepeatedField<pb::ByteString> repeatedBytesWrapper_ = new pbc::RepeatedField<pb::ByteString>();
1680 public pbc::RepeatedField<pb::ByteString> RepeatedBytesWrapper {
1681 get { return repeatedBytesWrapper_; }
1682 }
1683
1684 /// <summary>Field number for the "optional_duration" field.</summary>
1685 public const int OptionalDurationFieldNumber = 301;
1686 private global::Google.Protobuf.WellKnownTypes.Duration optionalDuration_;
1687 public global::Google.Protobuf.WellKnownTypes.Duration OptionalDuration {
1688 get { return optionalDuration_; }
1689 set {
1690 optionalDuration_ = value;
1691 }
1692 }
1693
1694 /// <summary>Field number for the "optional_timestamp" field.</summary>
1695 public const int OptionalTimestampFieldNumber = 302;
1696 private global::Google.Protobuf.WellKnownTypes.Timestamp optionalTimestamp_;
1697 public global::Google.Protobuf.WellKnownTypes.Timestamp OptionalTimestamp {
1698 get { return optionalTimestamp_; }
1699 set {
1700 optionalTimestamp_ = value;
1701 }
1702 }
1703
1704 /// <summary>Field number for the "optional_field_mask" field.</summary>
1705 public const int OptionalFieldMaskFieldNumber = 303;
1706 private global::Google.Protobuf.WellKnownTypes.FieldMask optionalFieldMask_;
1707 public global::Google.Protobuf.WellKnownTypes.FieldMask OptionalFieldMask {
1708 get { return optionalFieldMask_; }
1709 set {
1710 optionalFieldMask_ = value;
1711 }
1712 }
1713
1714 /// <summary>Field number for the "optional_struct" field.</summary>
1715 public const int OptionalStructFieldNumber = 304;
1716 private global::Google.Protobuf.WellKnownTypes.Struct optionalStruct_;
1717 public global::Google.Protobuf.WellKnownTypes.Struct OptionalStruct {
1718 get { return optionalStruct_; }
1719 set {
1720 optionalStruct_ = value;
1721 }
1722 }
1723
1724 /// <summary>Field number for the "optional_any" field.</summary>
1725 public const int OptionalAnyFieldNumber = 305;
1726 private global::Google.Protobuf.WellKnownTypes.Any optionalAny_;
1727 public global::Google.Protobuf.WellKnownTypes.Any OptionalAny {
1728 get { return optionalAny_; }
1729 set {
1730 optionalAny_ = value;
1731 }
1732 }
1733
1734 /// <summary>Field number for the "optional_value" field.</summary>
1735 public const int OptionalValueFieldNumber = 306;
1736 private global::Google.Protobuf.WellKnownTypes.Value optionalValue_;
1737 public global::Google.Protobuf.WellKnownTypes.Value OptionalValue {
1738 get { return optionalValue_; }
1739 set {
1740 optionalValue_ = value;
1741 }
1742 }
1743
1744 /// <summary>Field number for the "repeated_duration" field.</summary>
1745 public const int RepeatedDurationFieldNumber = 311;
1746 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType s.Duration> _repeated_repeatedDuration_codec
1747 = pb::FieldCodec.ForMessage(2490, global::Google.Protobuf.WellKnownTypes .Duration.Parser);
1748 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.D uration> repeatedDuration_ = new pbc::RepeatedField<global::Google.Protobuf.Well KnownTypes.Duration>();
1749 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> R epeatedDuration {
1750 get { return repeatedDuration_; }
1751 }
1752
1753 /// <summary>Field number for the "repeated_timestamp" field.</summary>
1754 public const int RepeatedTimestampFieldNumber = 312;
1755 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType s.Timestamp> _repeated_repeatedTimestamp_codec
1756 = pb::FieldCodec.ForMessage(2498, global::Google.Protobuf.WellKnownTypes .Timestamp.Parser);
1757 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.T imestamp> repeatedTimestamp_ = new pbc::RepeatedField<global::Google.Protobuf.We llKnownTypes.Timestamp>();
1758 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> RepeatedTimestamp {
1759 get { return repeatedTimestamp_; }
1760 }
1761
1762 /// <summary>Field number for the "repeated_fieldmask" field.</summary>
1763 public const int RepeatedFieldmaskFieldNumber = 313;
1764 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType s.FieldMask> _repeated_repeatedFieldmask_codec
1765 = pb::FieldCodec.ForMessage(2506, global::Google.Protobuf.WellKnownTypes .FieldMask.Parser);
1766 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.F ieldMask> repeatedFieldmask_ = new pbc::RepeatedField<global::Google.Protobuf.We llKnownTypes.FieldMask>();
1767 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> RepeatedFieldmask {
1768 get { return repeatedFieldmask_; }
1769 }
1770
1771 /// <summary>Field number for the "repeated_struct" field.</summary>
1772 public const int RepeatedStructFieldNumber = 324;
1773 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType s.Struct> _repeated_repeatedStruct_codec
1774 = pb::FieldCodec.ForMessage(2594, global::Google.Protobuf.WellKnownTypes .Struct.Parser);
1775 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.S truct> repeatedStruct_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnow nTypes.Struct>();
1776 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> Rep eatedStruct {
1777 get { return repeatedStruct_; }
1778 }
1779
1780 /// <summary>Field number for the "repeated_any" field.</summary>
1781 public const int RepeatedAnyFieldNumber = 315;
1782 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType s.Any> _repeated_repeatedAny_codec
1783 = pb::FieldCodec.ForMessage(2522, global::Google.Protobuf.WellKnownTypes .Any.Parser);
1784 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.A ny> repeatedAny_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes .Any>();
1785 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> Repeat edAny {
1786 get { return repeatedAny_; }
1787 }
1788
1789 /// <summary>Field number for the "repeated_value" field.</summary>
1790 public const int RepeatedValueFieldNumber = 316;
1791 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType s.Value> _repeated_repeatedValue_codec
1792 = pb::FieldCodec.ForMessage(2530, global::Google.Protobuf.WellKnownTypes .Value.Parser);
1793 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.V alue> repeatedValue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownT ypes.Value>();
1794 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Repe atedValue {
1795 get { return repeatedValue_; }
1796 }
1797
1798 /// <summary>Field number for the "fieldname1" field.</summary>
1799 public const int Fieldname1FieldNumber = 401;
1800 private int fieldname1_;
1801 /// <summary>
1802 /// Test field-name-to-JSON-name convention.
1803 /// </summary>
1804 public int Fieldname1 {
1805 get { return fieldname1_; }
1806 set {
1807 fieldname1_ = value;
1808 }
1809 }
1810
1811 /// <summary>Field number for the "field_name2" field.</summary>
1812 public const int FieldName2FieldNumber = 402;
1813 private int fieldName2_;
1814 public int FieldName2 {
1815 get { return fieldName2_; }
1816 set {
1817 fieldName2_ = value;
1818 }
1819 }
1820
1821 /// <summary>Field number for the "_field_name3" field.</summary>
1822 public const int FieldName3FieldNumber = 403;
1823 private int FieldName3_;
1824 public int FieldName3 {
1825 get { return FieldName3_; }
1826 set {
1827 FieldName3_ = value;
1828 }
1829 }
1830
1831 /// <summary>Field number for the "field__name4_" field.</summary>
1832 public const int FieldName4FieldNumber = 404;
1833 private int fieldName4_;
1834 public int FieldName4 {
1835 get { return fieldName4_; }
1836 set {
1837 fieldName4_ = value;
1838 }
1839 }
1840
1841 /// <summary>Field number for the "field0name5" field.</summary>
1842 public const int Field0Name5FieldNumber = 405;
1843 private int field0Name5_;
1844 public int Field0Name5 {
1845 get { return field0Name5_; }
1846 set {
1847 field0Name5_ = value;
1848 }
1849 }
1850
1851 /// <summary>Field number for the "field_0_name6" field.</summary>
1852 public const int Field0Name6FieldNumber = 406;
1853 private int field0Name6_;
1854 public int Field0Name6 {
1855 get { return field0Name6_; }
1856 set {
1857 field0Name6_ = value;
1858 }
1859 }
1860
1861 /// <summary>Field number for the "fieldName7" field.</summary>
1862 public const int FieldName7FieldNumber = 407;
1863 private int fieldName7_;
1864 public int FieldName7 {
1865 get { return fieldName7_; }
1866 set {
1867 fieldName7_ = value;
1868 }
1869 }
1870
1871 /// <summary>Field number for the "FieldName8" field.</summary>
1872 public const int FieldName8FieldNumber = 408;
1873 private int fieldName8_;
1874 public int FieldName8 {
1875 get { return fieldName8_; }
1876 set {
1877 fieldName8_ = value;
1878 }
1879 }
1880
1881 /// <summary>Field number for the "field_Name9" field.</summary>
1882 public const int FieldName9FieldNumber = 409;
1883 private int fieldName9_;
1884 public int FieldName9 {
1885 get { return fieldName9_; }
1886 set {
1887 fieldName9_ = value;
1888 }
1889 }
1890
1891 /// <summary>Field number for the "Field_Name10" field.</summary>
1892 public const int FieldName10FieldNumber = 410;
1893 private int fieldName10_;
1894 public int FieldName10 {
1895 get { return fieldName10_; }
1896 set {
1897 fieldName10_ = value;
1898 }
1899 }
1900
1901 /// <summary>Field number for the "FIELD_NAME11" field.</summary>
1902 public const int FIELDNAME11FieldNumber = 411;
1903 private int fIELDNAME11_;
1904 public int FIELDNAME11 {
1905 get { return fIELDNAME11_; }
1906 set {
1907 fIELDNAME11_ = value;
1908 }
1909 }
1910
1911 /// <summary>Field number for the "FIELD_name12" field.</summary>
1912 public const int FIELDName12FieldNumber = 412;
1913 private int fIELDName12_;
1914 public int FIELDName12 {
1915 get { return fIELDName12_; }
1916 set {
1917 fIELDName12_ = value;
1918 }
1919 }
1920
1374 private object oneofField_; 1921 private object oneofField_;
1375 /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary> 1922 /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
1376 public enum OneofFieldOneofCase { 1923 public enum OneofFieldOneofCase {
1377 None = 0, 1924 None = 0,
1378 OneofUint32 = 111, 1925 OneofUint32 = 111,
1379 OneofNestedMessage = 112, 1926 OneofNestedMessage = 112,
1380 OneofString = 113, 1927 OneofString = 113,
1381 OneofBytes = 114, 1928 OneofBytes = 114,
1382 } 1929 }
1383 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; 1930 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 if (!MapStringString.Equals(other.MapStringString)) return false; 2007 if (!MapStringString.Equals(other.MapStringString)) return false;
1461 if (!MapStringBytes.Equals(other.MapStringBytes)) return false; 2008 if (!MapStringBytes.Equals(other.MapStringBytes)) return false;
1462 if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return f alse; 2009 if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return f alse;
1463 if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false; 2010 if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false;
1464 if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false; 2011 if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false;
1465 if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false ; 2012 if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false ;
1466 if (OneofUint32 != other.OneofUint32) return false; 2013 if (OneofUint32 != other.OneofUint32) return false;
1467 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return f alse; 2014 if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return f alse;
1468 if (OneofString != other.OneofString) return false; 2015 if (OneofString != other.OneofString) return false;
1469 if (OneofBytes != other.OneofBytes) return false; 2016 if (OneofBytes != other.OneofBytes) return false;
2017 if (OptionalBoolWrapper != other.OptionalBoolWrapper) return false;
2018 if (OptionalInt32Wrapper != other.OptionalInt32Wrapper) return false;
2019 if (OptionalInt64Wrapper != other.OptionalInt64Wrapper) return false;
2020 if (OptionalUint32Wrapper != other.OptionalUint32Wrapper) return false;
2021 if (OptionalUint64Wrapper != other.OptionalUint64Wrapper) return false;
2022 if (OptionalFloatWrapper != other.OptionalFloatWrapper) return false;
2023 if (OptionalDoubleWrapper != other.OptionalDoubleWrapper) return false;
2024 if (OptionalStringWrapper != other.OptionalStringWrapper) return false;
2025 if (OptionalBytesWrapper != other.OptionalBytesWrapper) return false;
2026 if(!repeatedBoolWrapper_.Equals(other.repeatedBoolWrapper_)) return false;
2027 if(!repeatedInt32Wrapper_.Equals(other.repeatedInt32Wrapper_)) return fals e;
2028 if(!repeatedInt64Wrapper_.Equals(other.repeatedInt64Wrapper_)) return fals e;
2029 if(!repeatedUint32Wrapper_.Equals(other.repeatedUint32Wrapper_)) return fa lse;
2030 if(!repeatedUint64Wrapper_.Equals(other.repeatedUint64Wrapper_)) return fa lse;
2031 if(!repeatedFloatWrapper_.Equals(other.repeatedFloatWrapper_)) return fals e;
2032 if(!repeatedDoubleWrapper_.Equals(other.repeatedDoubleWrapper_)) return fa lse;
2033 if(!repeatedStringWrapper_.Equals(other.repeatedStringWrapper_)) return fa lse;
2034 if(!repeatedBytesWrapper_.Equals(other.repeatedBytesWrapper_)) return fals e;
2035 if (!object.Equals(OptionalDuration, other.OptionalDuration)) return false ;
2036 if (!object.Equals(OptionalTimestamp, other.OptionalTimestamp)) return fal se;
2037 if (!object.Equals(OptionalFieldMask, other.OptionalFieldMask)) return fal se;
2038 if (!object.Equals(OptionalStruct, other.OptionalStruct)) return false;
2039 if (!object.Equals(OptionalAny, other.OptionalAny)) return false;
2040 if (!object.Equals(OptionalValue, other.OptionalValue)) return false;
2041 if(!repeatedDuration_.Equals(other.repeatedDuration_)) return false;
2042 if(!repeatedTimestamp_.Equals(other.repeatedTimestamp_)) return false;
2043 if(!repeatedFieldmask_.Equals(other.repeatedFieldmask_)) return false;
2044 if(!repeatedStruct_.Equals(other.repeatedStruct_)) return false;
2045 if(!repeatedAny_.Equals(other.repeatedAny_)) return false;
2046 if(!repeatedValue_.Equals(other.repeatedValue_)) return false;
2047 if (Fieldname1 != other.Fieldname1) return false;
2048 if (FieldName2 != other.FieldName2) return false;
2049 if (FieldName3 != other.FieldName3) return false;
2050 if (FieldName4 != other.FieldName4) return false;
2051 if (Field0Name5 != other.Field0Name5) return false;
2052 if (Field0Name6 != other.Field0Name6) return false;
2053 if (FieldName7 != other.FieldName7) return false;
2054 if (FieldName8 != other.FieldName8) return false;
2055 if (FieldName9 != other.FieldName9) return false;
2056 if (FieldName10 != other.FieldName10) return false;
2057 if (FIELDNAME11 != other.FIELDNAME11) return false;
2058 if (FIELDName12 != other.FIELDName12) return false;
1470 if (OneofFieldCase != other.OneofFieldCase) return false; 2059 if (OneofFieldCase != other.OneofFieldCase) return false;
1471 return true; 2060 return true;
1472 } 2061 }
1473 2062
1474 public override int GetHashCode() { 2063 public override int GetHashCode() {
1475 int hash = 1; 2064 int hash = 1;
1476 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode(); 2065 if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode();
1477 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode(); 2066 if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode();
1478 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode(); 2067 if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode();
1479 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode(); 2068 if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode();
1480 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode(); 2069 if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode();
1481 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode(); 2070 if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode();
1482 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode(); 2071 if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode();
1483 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode(); 2072 if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode();
1484 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode(); 2073 if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode();
1485 if (OptionalSfixed64 != 0L) hash ^= OptionalSfixed64.GetHashCode(); 2074 if (OptionalSfixed64 != 0L) hash ^= OptionalSfixed64.GetHashCode();
1486 if (OptionalFloat != 0F) hash ^= OptionalFloat.GetHashCode(); 2075 if (OptionalFloat != 0F) hash ^= OptionalFloat.GetHashCode();
1487 if (OptionalDouble != 0D) hash ^= OptionalDouble.GetHashCode(); 2076 if (OptionalDouble != 0D) hash ^= OptionalDouble.GetHashCode();
1488 if (OptionalBool != false) hash ^= OptionalBool.GetHashCode(); 2077 if (OptionalBool != false) hash ^= OptionalBool.GetHashCode();
1489 if (OptionalString.Length != 0) hash ^= OptionalString.GetHashCode(); 2078 if (OptionalString.Length != 0) hash ^= OptionalString.GetHashCode();
1490 if (OptionalBytes.Length != 0) hash ^= OptionalBytes.GetHashCode(); 2079 if (OptionalBytes.Length != 0) hash ^= OptionalBytes.GetHashCode();
1491 if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashC ode(); 2080 if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashC ode();
1492 if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHas hCode(); 2081 if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHas hCode();
1493 if (OptionalNestedEnum != global::Conformance.TestAllTypes.Types.NestedEnu m.FOO) hash ^= OptionalNestedEnum.GetHashCode(); 2082 if (OptionalNestedEnum != 0) hash ^= OptionalNestedEnum.GetHashCode();
1494 if (OptionalForeignEnum != global::Conformance.ForeignEnum.FOREIGN_FOO) ha sh ^= OptionalForeignEnum.GetHashCode(); 2083 if (OptionalForeignEnum != 0) hash ^= OptionalForeignEnum.GetHashCode();
1495 if (OptionalStringPiece.Length != 0) hash ^= OptionalStringPiece.GetHashCo de(); 2084 if (OptionalStringPiece.Length != 0) hash ^= OptionalStringPiece.GetHashCo de();
1496 if (OptionalCord.Length != 0) hash ^= OptionalCord.GetHashCode(); 2085 if (OptionalCord.Length != 0) hash ^= OptionalCord.GetHashCode();
1497 if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode(); 2086 if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode();
1498 hash ^= repeatedInt32_.GetHashCode(); 2087 hash ^= repeatedInt32_.GetHashCode();
1499 hash ^= repeatedInt64_.GetHashCode(); 2088 hash ^= repeatedInt64_.GetHashCode();
1500 hash ^= repeatedUint32_.GetHashCode(); 2089 hash ^= repeatedUint32_.GetHashCode();
1501 hash ^= repeatedUint64_.GetHashCode(); 2090 hash ^= repeatedUint64_.GetHashCode();
1502 hash ^= repeatedSint32_.GetHashCode(); 2091 hash ^= repeatedSint32_.GetHashCode();
1503 hash ^= repeatedSint64_.GetHashCode(); 2092 hash ^= repeatedSint64_.GetHashCode();
1504 hash ^= repeatedFixed32_.GetHashCode(); 2093 hash ^= repeatedFixed32_.GetHashCode();
(...skipping 27 matching lines...) Expand all
1532 hash ^= MapStringString.GetHashCode(); 2121 hash ^= MapStringString.GetHashCode();
1533 hash ^= MapStringBytes.GetHashCode(); 2122 hash ^= MapStringBytes.GetHashCode();
1534 hash ^= MapStringNestedMessage.GetHashCode(); 2123 hash ^= MapStringNestedMessage.GetHashCode();
1535 hash ^= MapStringForeignMessage.GetHashCode(); 2124 hash ^= MapStringForeignMessage.GetHashCode();
1536 hash ^= MapStringNestedEnum.GetHashCode(); 2125 hash ^= MapStringNestedEnum.GetHashCode();
1537 hash ^= MapStringForeignEnum.GetHashCode(); 2126 hash ^= MapStringForeignEnum.GetHashCode();
1538 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint3 2.GetHashCode(); 2127 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint3 2.GetHashCode();
1539 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= One ofNestedMessage.GetHashCode(); 2128 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= One ofNestedMessage.GetHashCode();
1540 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofStrin g.GetHashCode(); 2129 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofStrin g.GetHashCode();
1541 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes. GetHashCode(); 2130 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes. GetHashCode();
2131 if (optionalBoolWrapper_ != null) hash ^= OptionalBoolWrapper.GetHashCode( );
2132 if (optionalInt32Wrapper_ != null) hash ^= OptionalInt32Wrapper.GetHashCod e();
2133 if (optionalInt64Wrapper_ != null) hash ^= OptionalInt64Wrapper.GetHashCod e();
2134 if (optionalUint32Wrapper_ != null) hash ^= OptionalUint32Wrapper.GetHashC ode();
2135 if (optionalUint64Wrapper_ != null) hash ^= OptionalUint64Wrapper.GetHashC ode();
2136 if (optionalFloatWrapper_ != null) hash ^= OptionalFloatWrapper.GetHashCod e();
2137 if (optionalDoubleWrapper_ != null) hash ^= OptionalDoubleWrapper.GetHashC ode();
2138 if (optionalStringWrapper_ != null) hash ^= OptionalStringWrapper.GetHashC ode();
2139 if (optionalBytesWrapper_ != null) hash ^= OptionalBytesWrapper.GetHashCod e();
2140 hash ^= repeatedBoolWrapper_.GetHashCode();
2141 hash ^= repeatedInt32Wrapper_.GetHashCode();
2142 hash ^= repeatedInt64Wrapper_.GetHashCode();
2143 hash ^= repeatedUint32Wrapper_.GetHashCode();
2144 hash ^= repeatedUint64Wrapper_.GetHashCode();
2145 hash ^= repeatedFloatWrapper_.GetHashCode();
2146 hash ^= repeatedDoubleWrapper_.GetHashCode();
2147 hash ^= repeatedStringWrapper_.GetHashCode();
2148 hash ^= repeatedBytesWrapper_.GetHashCode();
2149 if (optionalDuration_ != null) hash ^= OptionalDuration.GetHashCode();
2150 if (optionalTimestamp_ != null) hash ^= OptionalTimestamp.GetHashCode();
2151 if (optionalFieldMask_ != null) hash ^= OptionalFieldMask.GetHashCode();
2152 if (optionalStruct_ != null) hash ^= OptionalStruct.GetHashCode();
2153 if (optionalAny_ != null) hash ^= OptionalAny.GetHashCode();
2154 if (optionalValue_ != null) hash ^= OptionalValue.GetHashCode();
2155 hash ^= repeatedDuration_.GetHashCode();
2156 hash ^= repeatedTimestamp_.GetHashCode();
2157 hash ^= repeatedFieldmask_.GetHashCode();
2158 hash ^= repeatedStruct_.GetHashCode();
2159 hash ^= repeatedAny_.GetHashCode();
2160 hash ^= repeatedValue_.GetHashCode();
2161 if (Fieldname1 != 0) hash ^= Fieldname1.GetHashCode();
2162 if (FieldName2 != 0) hash ^= FieldName2.GetHashCode();
2163 if (FieldName3 != 0) hash ^= FieldName3.GetHashCode();
2164 if (FieldName4 != 0) hash ^= FieldName4.GetHashCode();
2165 if (Field0Name5 != 0) hash ^= Field0Name5.GetHashCode();
2166 if (Field0Name6 != 0) hash ^= Field0Name6.GetHashCode();
2167 if (FieldName7 != 0) hash ^= FieldName7.GetHashCode();
2168 if (FieldName8 != 0) hash ^= FieldName8.GetHashCode();
2169 if (FieldName9 != 0) hash ^= FieldName9.GetHashCode();
2170 if (FieldName10 != 0) hash ^= FieldName10.GetHashCode();
2171 if (FIELDNAME11 != 0) hash ^= FIELDNAME11.GetHashCode();
2172 if (FIELDName12 != 0) hash ^= FIELDName12.GetHashCode();
1542 hash ^= (int) oneofFieldCase_; 2173 hash ^= (int) oneofFieldCase_;
1543 return hash; 2174 return hash;
1544 } 2175 }
1545 2176
1546 public override string ToString() { 2177 public override string ToString() {
1547 return pb::JsonFormatter.ToDiagnosticString(this); 2178 return pb::JsonFormatter.ToDiagnosticString(this);
1548 } 2179 }
1549 2180
1550 public void WriteTo(pb::CodedOutputStream output) { 2181 public void WriteTo(pb::CodedOutputStream output) {
1551 if (OptionalInt32 != 0) { 2182 if (OptionalInt32 != 0) {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 output.WriteBytes(OptionalBytes); 2240 output.WriteBytes(OptionalBytes);
1610 } 2241 }
1611 if (optionalNestedMessage_ != null) { 2242 if (optionalNestedMessage_ != null) {
1612 output.WriteRawTag(146, 1); 2243 output.WriteRawTag(146, 1);
1613 output.WriteMessage(OptionalNestedMessage); 2244 output.WriteMessage(OptionalNestedMessage);
1614 } 2245 }
1615 if (optionalForeignMessage_ != null) { 2246 if (optionalForeignMessage_ != null) {
1616 output.WriteRawTag(154, 1); 2247 output.WriteRawTag(154, 1);
1617 output.WriteMessage(OptionalForeignMessage); 2248 output.WriteMessage(OptionalForeignMessage);
1618 } 2249 }
1619 if (OptionalNestedEnum != global::Conformance.TestAllTypes.Types.NestedEnu m.FOO) { 2250 if (OptionalNestedEnum != 0) {
1620 output.WriteRawTag(168, 1); 2251 output.WriteRawTag(168, 1);
1621 output.WriteEnum((int) OptionalNestedEnum); 2252 output.WriteEnum((int) OptionalNestedEnum);
1622 } 2253 }
1623 if (OptionalForeignEnum != global::Conformance.ForeignEnum.FOREIGN_FOO) { 2254 if (OptionalForeignEnum != 0) {
1624 output.WriteRawTag(176, 1); 2255 output.WriteRawTag(176, 1);
1625 output.WriteEnum((int) OptionalForeignEnum); 2256 output.WriteEnum((int) OptionalForeignEnum);
1626 } 2257 }
1627 if (OptionalStringPiece.Length != 0) { 2258 if (OptionalStringPiece.Length != 0) {
1628 output.WriteRawTag(194, 1); 2259 output.WriteRawTag(194, 1);
1629 output.WriteString(OptionalStringPiece); 2260 output.WriteString(OptionalStringPiece);
1630 } 2261 }
1631 if (OptionalCord.Length != 0) { 2262 if (OptionalCord.Length != 0) {
1632 output.WriteRawTag(202, 1); 2263 output.WriteRawTag(202, 1);
1633 output.WriteString(OptionalCord); 2264 output.WriteString(OptionalCord);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 output.WriteMessage(OneofNestedMessage); 2316 output.WriteMessage(OneofNestedMessage);
1686 } 2317 }
1687 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { 2318 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) {
1688 output.WriteRawTag(138, 7); 2319 output.WriteRawTag(138, 7);
1689 output.WriteString(OneofString); 2320 output.WriteString(OneofString);
1690 } 2321 }
1691 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { 2322 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) {
1692 output.WriteRawTag(146, 7); 2323 output.WriteRawTag(146, 7);
1693 output.WriteBytes(OneofBytes); 2324 output.WriteBytes(OneofBytes);
1694 } 2325 }
2326 if (optionalBoolWrapper_ != null) {
2327 _single_optionalBoolWrapper_codec.WriteTagAndValue(output, OptionalBoolW rapper);
2328 }
2329 if (optionalInt32Wrapper_ != null) {
2330 _single_optionalInt32Wrapper_codec.WriteTagAndValue(output, OptionalInt3 2Wrapper);
2331 }
2332 if (optionalInt64Wrapper_ != null) {
2333 _single_optionalInt64Wrapper_codec.WriteTagAndValue(output, OptionalInt6 4Wrapper);
2334 }
2335 if (optionalUint32Wrapper_ != null) {
2336 _single_optionalUint32Wrapper_codec.WriteTagAndValue(output, OptionalUin t32Wrapper);
2337 }
2338 if (optionalUint64Wrapper_ != null) {
2339 _single_optionalUint64Wrapper_codec.WriteTagAndValue(output, OptionalUin t64Wrapper);
2340 }
2341 if (optionalFloatWrapper_ != null) {
2342 _single_optionalFloatWrapper_codec.WriteTagAndValue(output, OptionalFloa tWrapper);
2343 }
2344 if (optionalDoubleWrapper_ != null) {
2345 _single_optionalDoubleWrapper_codec.WriteTagAndValue(output, OptionalDou bleWrapper);
2346 }
2347 if (optionalStringWrapper_ != null) {
2348 _single_optionalStringWrapper_codec.WriteTagAndValue(output, OptionalStr ingWrapper);
2349 }
2350 if (optionalBytesWrapper_ != null) {
2351 _single_optionalBytesWrapper_codec.WriteTagAndValue(output, OptionalByte sWrapper);
2352 }
2353 repeatedBoolWrapper_.WriteTo(output, _repeated_repeatedBoolWrapper_codec);
2354 repeatedInt32Wrapper_.WriteTo(output, _repeated_repeatedInt32Wrapper_codec );
2355 repeatedInt64Wrapper_.WriteTo(output, _repeated_repeatedInt64Wrapper_codec );
2356 repeatedUint32Wrapper_.WriteTo(output, _repeated_repeatedUint32Wrapper_cod ec);
2357 repeatedUint64Wrapper_.WriteTo(output, _repeated_repeatedUint64Wrapper_cod ec);
2358 repeatedFloatWrapper_.WriteTo(output, _repeated_repeatedFloatWrapper_codec );
2359 repeatedDoubleWrapper_.WriteTo(output, _repeated_repeatedDoubleWrapper_cod ec);
2360 repeatedStringWrapper_.WriteTo(output, _repeated_repeatedStringWrapper_cod ec);
2361 repeatedBytesWrapper_.WriteTo(output, _repeated_repeatedBytesWrapper_codec );
2362 if (optionalDuration_ != null) {
2363 output.WriteRawTag(234, 18);
2364 output.WriteMessage(OptionalDuration);
2365 }
2366 if (optionalTimestamp_ != null) {
2367 output.WriteRawTag(242, 18);
2368 output.WriteMessage(OptionalTimestamp);
2369 }
2370 if (optionalFieldMask_ != null) {
2371 output.WriteRawTag(250, 18);
2372 output.WriteMessage(OptionalFieldMask);
2373 }
2374 if (optionalStruct_ != null) {
2375 output.WriteRawTag(130, 19);
2376 output.WriteMessage(OptionalStruct);
2377 }
2378 if (optionalAny_ != null) {
2379 output.WriteRawTag(138, 19);
2380 output.WriteMessage(OptionalAny);
2381 }
2382 if (optionalValue_ != null) {
2383 output.WriteRawTag(146, 19);
2384 output.WriteMessage(OptionalValue);
2385 }
2386 repeatedDuration_.WriteTo(output, _repeated_repeatedDuration_codec);
2387 repeatedTimestamp_.WriteTo(output, _repeated_repeatedTimestamp_codec);
2388 repeatedFieldmask_.WriteTo(output, _repeated_repeatedFieldmask_codec);
2389 repeatedAny_.WriteTo(output, _repeated_repeatedAny_codec);
2390 repeatedValue_.WriteTo(output, _repeated_repeatedValue_codec);
2391 repeatedStruct_.WriteTo(output, _repeated_repeatedStruct_codec);
2392 if (Fieldname1 != 0) {
2393 output.WriteRawTag(136, 25);
2394 output.WriteInt32(Fieldname1);
2395 }
2396 if (FieldName2 != 0) {
2397 output.WriteRawTag(144, 25);
2398 output.WriteInt32(FieldName2);
2399 }
2400 if (FieldName3 != 0) {
2401 output.WriteRawTag(152, 25);
2402 output.WriteInt32(FieldName3);
2403 }
2404 if (FieldName4 != 0) {
2405 output.WriteRawTag(160, 25);
2406 output.WriteInt32(FieldName4);
2407 }
2408 if (Field0Name5 != 0) {
2409 output.WriteRawTag(168, 25);
2410 output.WriteInt32(Field0Name5);
2411 }
2412 if (Field0Name6 != 0) {
2413 output.WriteRawTag(176, 25);
2414 output.WriteInt32(Field0Name6);
2415 }
2416 if (FieldName7 != 0) {
2417 output.WriteRawTag(184, 25);
2418 output.WriteInt32(FieldName7);
2419 }
2420 if (FieldName8 != 0) {
2421 output.WriteRawTag(192, 25);
2422 output.WriteInt32(FieldName8);
2423 }
2424 if (FieldName9 != 0) {
2425 output.WriteRawTag(200, 25);
2426 output.WriteInt32(FieldName9);
2427 }
2428 if (FieldName10 != 0) {
2429 output.WriteRawTag(208, 25);
2430 output.WriteInt32(FieldName10);
2431 }
2432 if (FIELDNAME11 != 0) {
2433 output.WriteRawTag(216, 25);
2434 output.WriteInt32(FIELDNAME11);
2435 }
2436 if (FIELDName12 != 0) {
2437 output.WriteRawTag(224, 25);
2438 output.WriteInt32(FIELDName12);
2439 }
1695 } 2440 }
1696 2441
1697 public int CalculateSize() { 2442 public int CalculateSize() {
1698 int size = 0; 2443 int size = 0;
1699 if (OptionalInt32 != 0) { 2444 if (OptionalInt32 != 0) {
1700 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); 2445 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32);
1701 } 2446 }
1702 if (OptionalInt64 != 0L) { 2447 if (OptionalInt64 != 0L) {
1703 size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64); 2448 size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64);
1704 } 2449 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 } 2485 }
1741 if (OptionalBytes.Length != 0) { 2486 if (OptionalBytes.Length != 0) {
1742 size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes); 2487 size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes);
1743 } 2488 }
1744 if (optionalNestedMessage_ != null) { 2489 if (optionalNestedMessage_ != null) {
1745 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessa ge); 2490 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessa ge);
1746 } 2491 }
1747 if (optionalForeignMessage_ != null) { 2492 if (optionalForeignMessage_ != null) {
1748 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMess age); 2493 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMess age);
1749 } 2494 }
1750 if (OptionalNestedEnum != global::Conformance.TestAllTypes.Types.NestedEnu m.FOO) { 2495 if (OptionalNestedEnum != 0) {
1751 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEn um); 2496 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEn um);
1752 } 2497 }
1753 if (OptionalForeignEnum != global::Conformance.ForeignEnum.FOREIGN_FOO) { 2498 if (OptionalForeignEnum != 0) {
1754 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignE num); 2499 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignE num);
1755 } 2500 }
1756 if (OptionalStringPiece.Length != 0) { 2501 if (OptionalStringPiece.Length != 0) {
1757 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece) ; 2502 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece) ;
1758 } 2503 }
1759 if (OptionalCord.Length != 0) { 2504 if (OptionalCord.Length != 0) {
1760 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); 2505 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord);
1761 } 2506 }
1762 if (recursiveMessage_ != null) { 2507 if (recursiveMessage_ != null) {
1763 size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage); 2508 size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1807 } 2552 }
1808 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) { 2553 if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
1809 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage) ; 2554 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage) ;
1810 } 2555 }
1811 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) { 2556 if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) {
1812 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); 2557 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString);
1813 } 2558 }
1814 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) { 2559 if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) {
1815 size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes); 2560 size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes);
1816 } 2561 }
2562 if (optionalBoolWrapper_ != null) {
2563 size += _single_optionalBoolWrapper_codec.CalculateSizeWithTag(OptionalB oolWrapper);
2564 }
2565 if (optionalInt32Wrapper_ != null) {
2566 size += _single_optionalInt32Wrapper_codec.CalculateSizeWithTag(Optional Int32Wrapper);
2567 }
2568 if (optionalInt64Wrapper_ != null) {
2569 size += _single_optionalInt64Wrapper_codec.CalculateSizeWithTag(Optional Int64Wrapper);
2570 }
2571 if (optionalUint32Wrapper_ != null) {
2572 size += _single_optionalUint32Wrapper_codec.CalculateSizeWithTag(Optiona lUint32Wrapper);
2573 }
2574 if (optionalUint64Wrapper_ != null) {
2575 size += _single_optionalUint64Wrapper_codec.CalculateSizeWithTag(Optiona lUint64Wrapper);
2576 }
2577 if (optionalFloatWrapper_ != null) {
2578 size += _single_optionalFloatWrapper_codec.CalculateSizeWithTag(Optional FloatWrapper);
2579 }
2580 if (optionalDoubleWrapper_ != null) {
2581 size += _single_optionalDoubleWrapper_codec.CalculateSizeWithTag(Optiona lDoubleWrapper);
2582 }
2583 if (optionalStringWrapper_ != null) {
2584 size += _single_optionalStringWrapper_codec.CalculateSizeWithTag(Optiona lStringWrapper);
2585 }
2586 if (optionalBytesWrapper_ != null) {
2587 size += _single_optionalBytesWrapper_codec.CalculateSizeWithTag(Optional BytesWrapper);
2588 }
2589 size += repeatedBoolWrapper_.CalculateSize(_repeated_repeatedBoolWrapper_c odec);
2590 size += repeatedInt32Wrapper_.CalculateSize(_repeated_repeatedInt32Wrapper _codec);
2591 size += repeatedInt64Wrapper_.CalculateSize(_repeated_repeatedInt64Wrapper _codec);
2592 size += repeatedUint32Wrapper_.CalculateSize(_repeated_repeatedUint32Wrapp er_codec);
2593 size += repeatedUint64Wrapper_.CalculateSize(_repeated_repeatedUint64Wrapp er_codec);
2594 size += repeatedFloatWrapper_.CalculateSize(_repeated_repeatedFloatWrapper _codec);
2595 size += repeatedDoubleWrapper_.CalculateSize(_repeated_repeatedDoubleWrapp er_codec);
2596 size += repeatedStringWrapper_.CalculateSize(_repeated_repeatedStringWrapp er_codec);
2597 size += repeatedBytesWrapper_.CalculateSize(_repeated_repeatedBytesWrapper _codec);
2598 if (optionalDuration_ != null) {
2599 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration);
2600 }
2601 if (optionalTimestamp_ != null) {
2602 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp);
2603 }
2604 if (optionalFieldMask_ != null) {
2605 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask);
2606 }
2607 if (optionalStruct_ != null) {
2608 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct);
2609 }
2610 if (optionalAny_ != null) {
2611 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny);
2612 }
2613 if (optionalValue_ != null) {
2614 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue);
2615 }
2616 size += repeatedDuration_.CalculateSize(_repeated_repeatedDuration_codec);
2617 size += repeatedTimestamp_.CalculateSize(_repeated_repeatedTimestamp_codec );
2618 size += repeatedFieldmask_.CalculateSize(_repeated_repeatedFieldmask_codec );
2619 size += repeatedStruct_.CalculateSize(_repeated_repeatedStruct_codec);
2620 size += repeatedAny_.CalculateSize(_repeated_repeatedAny_codec);
2621 size += repeatedValue_.CalculateSize(_repeated_repeatedValue_codec);
2622 if (Fieldname1 != 0) {
2623 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1);
2624 }
2625 if (FieldName2 != 0) {
2626 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2);
2627 }
2628 if (FieldName3 != 0) {
2629 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3);
2630 }
2631 if (FieldName4 != 0) {
2632 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4);
2633 }
2634 if (Field0Name5 != 0) {
2635 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5);
2636 }
2637 if (Field0Name6 != 0) {
2638 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6);
2639 }
2640 if (FieldName7 != 0) {
2641 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7);
2642 }
2643 if (FieldName8 != 0) {
2644 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8);
2645 }
2646 if (FieldName9 != 0) {
2647 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9);
2648 }
2649 if (FieldName10 != 0) {
2650 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10);
2651 }
2652 if (FIELDNAME11 != 0) {
2653 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11);
2654 }
2655 if (FIELDName12 != 0) {
2656 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12);
2657 }
1817 return size; 2658 return size;
1818 } 2659 }
1819 2660
1820 public void MergeFrom(TestAllTypes other) { 2661 public void MergeFrom(TestAllTypes other) {
1821 if (other == null) { 2662 if (other == null) {
1822 return; 2663 return;
1823 } 2664 }
1824 if (other.OptionalInt32 != 0) { 2665 if (other.OptionalInt32 != 0) {
1825 OptionalInt32 = other.OptionalInt32; 2666 OptionalInt32 = other.OptionalInt32;
1826 } 2667 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 optionalNestedMessage_ = new global::Conformance.TestAllTypes.Types.Ne stedMessage(); 2712 optionalNestedMessage_ = new global::Conformance.TestAllTypes.Types.Ne stedMessage();
1872 } 2713 }
1873 OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage); 2714 OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage);
1874 } 2715 }
1875 if (other.optionalForeignMessage_ != null) { 2716 if (other.optionalForeignMessage_ != null) {
1876 if (optionalForeignMessage_ == null) { 2717 if (optionalForeignMessage_ == null) {
1877 optionalForeignMessage_ = new global::Conformance.ForeignMessage(); 2718 optionalForeignMessage_ = new global::Conformance.ForeignMessage();
1878 } 2719 }
1879 OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage); 2720 OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage);
1880 } 2721 }
1881 if (other.OptionalNestedEnum != global::Conformance.TestAllTypes.Types.Nes tedEnum.FOO) { 2722 if (other.OptionalNestedEnum != 0) {
1882 OptionalNestedEnum = other.OptionalNestedEnum; 2723 OptionalNestedEnum = other.OptionalNestedEnum;
1883 } 2724 }
1884 if (other.OptionalForeignEnum != global::Conformance.ForeignEnum.FOREIGN_F OO) { 2725 if (other.OptionalForeignEnum != 0) {
1885 OptionalForeignEnum = other.OptionalForeignEnum; 2726 OptionalForeignEnum = other.OptionalForeignEnum;
1886 } 2727 }
1887 if (other.OptionalStringPiece.Length != 0) { 2728 if (other.OptionalStringPiece.Length != 0) {
1888 OptionalStringPiece = other.OptionalStringPiece; 2729 OptionalStringPiece = other.OptionalStringPiece;
1889 } 2730 }
1890 if (other.OptionalCord.Length != 0) { 2731 if (other.OptionalCord.Length != 0) {
1891 OptionalCord = other.OptionalCord; 2732 OptionalCord = other.OptionalCord;
1892 } 2733 }
1893 if (other.recursiveMessage_ != null) { 2734 if (other.recursiveMessage_ != null) {
1894 if (recursiveMessage_ == null) { 2735 if (recursiveMessage_ == null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_); 2770 mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_);
1930 mapInt32Float_.Add(other.mapInt32Float_); 2771 mapInt32Float_.Add(other.mapInt32Float_);
1931 mapInt32Double_.Add(other.mapInt32Double_); 2772 mapInt32Double_.Add(other.mapInt32Double_);
1932 mapBoolBool_.Add(other.mapBoolBool_); 2773 mapBoolBool_.Add(other.mapBoolBool_);
1933 mapStringString_.Add(other.mapStringString_); 2774 mapStringString_.Add(other.mapStringString_);
1934 mapStringBytes_.Add(other.mapStringBytes_); 2775 mapStringBytes_.Add(other.mapStringBytes_);
1935 mapStringNestedMessage_.Add(other.mapStringNestedMessage_); 2776 mapStringNestedMessage_.Add(other.mapStringNestedMessage_);
1936 mapStringForeignMessage_.Add(other.mapStringForeignMessage_); 2777 mapStringForeignMessage_.Add(other.mapStringForeignMessage_);
1937 mapStringNestedEnum_.Add(other.mapStringNestedEnum_); 2778 mapStringNestedEnum_.Add(other.mapStringNestedEnum_);
1938 mapStringForeignEnum_.Add(other.mapStringForeignEnum_); 2779 mapStringForeignEnum_.Add(other.mapStringForeignEnum_);
2780 if (other.optionalBoolWrapper_ != null) {
2781 if (optionalBoolWrapper_ == null || other.OptionalBoolWrapper != false) {
2782 OptionalBoolWrapper = other.OptionalBoolWrapper;
2783 }
2784 }
2785 if (other.optionalInt32Wrapper_ != null) {
2786 if (optionalInt32Wrapper_ == null || other.OptionalInt32Wrapper != 0) {
2787 OptionalInt32Wrapper = other.OptionalInt32Wrapper;
2788 }
2789 }
2790 if (other.optionalInt64Wrapper_ != null) {
2791 if (optionalInt64Wrapper_ == null || other.OptionalInt64Wrapper != 0L) {
2792 OptionalInt64Wrapper = other.OptionalInt64Wrapper;
2793 }
2794 }
2795 if (other.optionalUint32Wrapper_ != null) {
2796 if (optionalUint32Wrapper_ == null || other.OptionalUint32Wrapper != 0) {
2797 OptionalUint32Wrapper = other.OptionalUint32Wrapper;
2798 }
2799 }
2800 if (other.optionalUint64Wrapper_ != null) {
2801 if (optionalUint64Wrapper_ == null || other.OptionalUint64Wrapper != 0UL ) {
2802 OptionalUint64Wrapper = other.OptionalUint64Wrapper;
2803 }
2804 }
2805 if (other.optionalFloatWrapper_ != null) {
2806 if (optionalFloatWrapper_ == null || other.OptionalFloatWrapper != 0F) {
2807 OptionalFloatWrapper = other.OptionalFloatWrapper;
2808 }
2809 }
2810 if (other.optionalDoubleWrapper_ != null) {
2811 if (optionalDoubleWrapper_ == null || other.OptionalDoubleWrapper != 0D) {
2812 OptionalDoubleWrapper = other.OptionalDoubleWrapper;
2813 }
2814 }
2815 if (other.optionalStringWrapper_ != null) {
2816 if (optionalStringWrapper_ == null || other.OptionalStringWrapper != "") {
2817 OptionalStringWrapper = other.OptionalStringWrapper;
2818 }
2819 }
2820 if (other.optionalBytesWrapper_ != null) {
2821 if (optionalBytesWrapper_ == null || other.OptionalBytesWrapper != pb::B yteString.Empty) {
2822 OptionalBytesWrapper = other.OptionalBytesWrapper;
2823 }
2824 }
2825 repeatedBoolWrapper_.Add(other.repeatedBoolWrapper_);
2826 repeatedInt32Wrapper_.Add(other.repeatedInt32Wrapper_);
2827 repeatedInt64Wrapper_.Add(other.repeatedInt64Wrapper_);
2828 repeatedUint32Wrapper_.Add(other.repeatedUint32Wrapper_);
2829 repeatedUint64Wrapper_.Add(other.repeatedUint64Wrapper_);
2830 repeatedFloatWrapper_.Add(other.repeatedFloatWrapper_);
2831 repeatedDoubleWrapper_.Add(other.repeatedDoubleWrapper_);
2832 repeatedStringWrapper_.Add(other.repeatedStringWrapper_);
2833 repeatedBytesWrapper_.Add(other.repeatedBytesWrapper_);
2834 if (other.optionalDuration_ != null) {
2835 if (optionalDuration_ == null) {
2836 optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Duratio n();
2837 }
2838 OptionalDuration.MergeFrom(other.OptionalDuration);
2839 }
2840 if (other.optionalTimestamp_ != null) {
2841 if (optionalTimestamp_ == null) {
2842 optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timest amp();
2843 }
2844 OptionalTimestamp.MergeFrom(other.OptionalTimestamp);
2845 }
2846 if (other.optionalFieldMask_ != null) {
2847 if (optionalFieldMask_ == null) {
2848 optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.FieldM ask();
2849 }
2850 OptionalFieldMask.MergeFrom(other.OptionalFieldMask);
2851 }
2852 if (other.optionalStruct_ != null) {
2853 if (optionalStruct_ == null) {
2854 optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struct();
2855 }
2856 OptionalStruct.MergeFrom(other.OptionalStruct);
2857 }
2858 if (other.optionalAny_ != null) {
2859 if (optionalAny_ == null) {
2860 optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any();
2861 }
2862 OptionalAny.MergeFrom(other.OptionalAny);
2863 }
2864 if (other.optionalValue_ != null) {
2865 if (optionalValue_ == null) {
2866 optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value();
2867 }
2868 OptionalValue.MergeFrom(other.OptionalValue);
2869 }
2870 repeatedDuration_.Add(other.repeatedDuration_);
2871 repeatedTimestamp_.Add(other.repeatedTimestamp_);
2872 repeatedFieldmask_.Add(other.repeatedFieldmask_);
2873 repeatedStruct_.Add(other.repeatedStruct_);
2874 repeatedAny_.Add(other.repeatedAny_);
2875 repeatedValue_.Add(other.repeatedValue_);
2876 if (other.Fieldname1 != 0) {
2877 Fieldname1 = other.Fieldname1;
2878 }
2879 if (other.FieldName2 != 0) {
2880 FieldName2 = other.FieldName2;
2881 }
2882 if (other.FieldName3 != 0) {
2883 FieldName3 = other.FieldName3;
2884 }
2885 if (other.FieldName4 != 0) {
2886 FieldName4 = other.FieldName4;
2887 }
2888 if (other.Field0Name5 != 0) {
2889 Field0Name5 = other.Field0Name5;
2890 }
2891 if (other.Field0Name6 != 0) {
2892 Field0Name6 = other.Field0Name6;
2893 }
2894 if (other.FieldName7 != 0) {
2895 FieldName7 = other.FieldName7;
2896 }
2897 if (other.FieldName8 != 0) {
2898 FieldName8 = other.FieldName8;
2899 }
2900 if (other.FieldName9 != 0) {
2901 FieldName9 = other.FieldName9;
2902 }
2903 if (other.FieldName10 != 0) {
2904 FieldName10 = other.FieldName10;
2905 }
2906 if (other.FIELDNAME11 != 0) {
2907 FIELDNAME11 = other.FIELDNAME11;
2908 }
2909 if (other.FIELDName12 != 0) {
2910 FIELDName12 = other.FIELDName12;
2911 }
1939 switch (other.OneofFieldCase) { 2912 switch (other.OneofFieldCase) {
1940 case OneofFieldOneofCase.OneofUint32: 2913 case OneofFieldOneofCase.OneofUint32:
1941 OneofUint32 = other.OneofUint32; 2914 OneofUint32 = other.OneofUint32;
1942 break; 2915 break;
1943 case OneofFieldOneofCase.OneofNestedMessage: 2916 case OneofFieldOneofCase.OneofNestedMessage:
1944 OneofNestedMessage = other.OneofNestedMessage; 2917 OneofNestedMessage = other.OneofNestedMessage;
1945 break; 2918 break;
1946 case OneofFieldOneofCase.OneofString: 2919 case OneofFieldOneofCase.OneofString:
1947 OneofString = other.OneofString; 2920 OneofString = other.OneofString;
1948 break; 2921 break;
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 break; 3219 break;
2247 } 3220 }
2248 case 906: { 3221 case 906: {
2249 OneofString = input.ReadString(); 3222 OneofString = input.ReadString();
2250 break; 3223 break;
2251 } 3224 }
2252 case 914: { 3225 case 914: {
2253 OneofBytes = input.ReadBytes(); 3226 OneofBytes = input.ReadBytes();
2254 break; 3227 break;
2255 } 3228 }
3229 case 1610: {
3230 bool? value = _single_optionalBoolWrapper_codec.Read(input);
3231 if (optionalBoolWrapper_ == null || value != false) {
3232 OptionalBoolWrapper = value;
3233 }
3234 break;
3235 }
3236 case 1618: {
3237 int? value = _single_optionalInt32Wrapper_codec.Read(input);
3238 if (optionalInt32Wrapper_ == null || value != 0) {
3239 OptionalInt32Wrapper = value;
3240 }
3241 break;
3242 }
3243 case 1626: {
3244 long? value = _single_optionalInt64Wrapper_codec.Read(input);
3245 if (optionalInt64Wrapper_ == null || value != 0L) {
3246 OptionalInt64Wrapper = value;
3247 }
3248 break;
3249 }
3250 case 1634: {
3251 uint? value = _single_optionalUint32Wrapper_codec.Read(input);
3252 if (optionalUint32Wrapper_ == null || value != 0) {
3253 OptionalUint32Wrapper = value;
3254 }
3255 break;
3256 }
3257 case 1642: {
3258 ulong? value = _single_optionalUint64Wrapper_codec.Read(input);
3259 if (optionalUint64Wrapper_ == null || value != 0UL) {
3260 OptionalUint64Wrapper = value;
3261 }
3262 break;
3263 }
3264 case 1650: {
3265 float? value = _single_optionalFloatWrapper_codec.Read(input);
3266 if (optionalFloatWrapper_ == null || value != 0F) {
3267 OptionalFloatWrapper = value;
3268 }
3269 break;
3270 }
3271 case 1658: {
3272 double? value = _single_optionalDoubleWrapper_codec.Read(input);
3273 if (optionalDoubleWrapper_ == null || value != 0D) {
3274 OptionalDoubleWrapper = value;
3275 }
3276 break;
3277 }
3278 case 1666: {
3279 string value = _single_optionalStringWrapper_codec.Read(input);
3280 if (optionalStringWrapper_ == null || value != "") {
3281 OptionalStringWrapper = value;
3282 }
3283 break;
3284 }
3285 case 1674: {
3286 pb::ByteString value = _single_optionalBytesWrapper_codec.Read(input );
3287 if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty) {
3288 OptionalBytesWrapper = value;
3289 }
3290 break;
3291 }
3292 case 1690: {
3293 repeatedBoolWrapper_.AddEntriesFrom(input, _repeated_repeatedBoolWra pper_codec);
3294 break;
3295 }
3296 case 1698: {
3297 repeatedInt32Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt32W rapper_codec);
3298 break;
3299 }
3300 case 1706: {
3301 repeatedInt64Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt64W rapper_codec);
3302 break;
3303 }
3304 case 1714: {
3305 repeatedUint32Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint3 2Wrapper_codec);
3306 break;
3307 }
3308 case 1722: {
3309 repeatedUint64Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint6 4Wrapper_codec);
3310 break;
3311 }
3312 case 1730: {
3313 repeatedFloatWrapper_.AddEntriesFrom(input, _repeated_repeatedFloatW rapper_codec);
3314 break;
3315 }
3316 case 1738: {
3317 repeatedDoubleWrapper_.AddEntriesFrom(input, _repeated_repeatedDoubl eWrapper_codec);
3318 break;
3319 }
3320 case 1746: {
3321 repeatedStringWrapper_.AddEntriesFrom(input, _repeated_repeatedStrin gWrapper_codec);
3322 break;
3323 }
3324 case 1754: {
3325 repeatedBytesWrapper_.AddEntriesFrom(input, _repeated_repeatedBytesW rapper_codec);
3326 break;
3327 }
3328 case 2410: {
3329 if (optionalDuration_ == null) {
3330 optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Dur ation();
3331 }
3332 input.ReadMessage(optionalDuration_);
3333 break;
3334 }
3335 case 2418: {
3336 if (optionalTimestamp_ == null) {
3337 optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Ti mestamp();
3338 }
3339 input.ReadMessage(optionalTimestamp_);
3340 break;
3341 }
3342 case 2426: {
3343 if (optionalFieldMask_ == null) {
3344 optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.Fi eldMask();
3345 }
3346 input.ReadMessage(optionalFieldMask_);
3347 break;
3348 }
3349 case 2434: {
3350 if (optionalStruct_ == null) {
3351 optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struc t();
3352 }
3353 input.ReadMessage(optionalStruct_);
3354 break;
3355 }
3356 case 2442: {
3357 if (optionalAny_ == null) {
3358 optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any();
3359 }
3360 input.ReadMessage(optionalAny_);
3361 break;
3362 }
3363 case 2450: {
3364 if (optionalValue_ == null) {
3365 optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value( );
3366 }
3367 input.ReadMessage(optionalValue_);
3368 break;
3369 }
3370 case 2490: {
3371 repeatedDuration_.AddEntriesFrom(input, _repeated_repeatedDuration_c odec);
3372 break;
3373 }
3374 case 2498: {
3375 repeatedTimestamp_.AddEntriesFrom(input, _repeated_repeatedTimestamp _codec);
3376 break;
3377 }
3378 case 2506: {
3379 repeatedFieldmask_.AddEntriesFrom(input, _repeated_repeatedFieldmask _codec);
3380 break;
3381 }
3382 case 2522: {
3383 repeatedAny_.AddEntriesFrom(input, _repeated_repeatedAny_codec);
3384 break;
3385 }
3386 case 2530: {
3387 repeatedValue_.AddEntriesFrom(input, _repeated_repeatedValue_codec);
3388 break;
3389 }
3390 case 2594: {
3391 repeatedStruct_.AddEntriesFrom(input, _repeated_repeatedStruct_codec );
3392 break;
3393 }
3394 case 3208: {
3395 Fieldname1 = input.ReadInt32();
3396 break;
3397 }
3398 case 3216: {
3399 FieldName2 = input.ReadInt32();
3400 break;
3401 }
3402 case 3224: {
3403 FieldName3 = input.ReadInt32();
3404 break;
3405 }
3406 case 3232: {
3407 FieldName4 = input.ReadInt32();
3408 break;
3409 }
3410 case 3240: {
3411 Field0Name5 = input.ReadInt32();
3412 break;
3413 }
3414 case 3248: {
3415 Field0Name6 = input.ReadInt32();
3416 break;
3417 }
3418 case 3256: {
3419 FieldName7 = input.ReadInt32();
3420 break;
3421 }
3422 case 3264: {
3423 FieldName8 = input.ReadInt32();
3424 break;
3425 }
3426 case 3272: {
3427 FieldName9 = input.ReadInt32();
3428 break;
3429 }
3430 case 3280: {
3431 FieldName10 = input.ReadInt32();
3432 break;
3433 }
3434 case 3288: {
3435 FIELDNAME11 = input.ReadInt32();
3436 break;
3437 }
3438 case 3296: {
3439 FIELDName12 = input.ReadInt32();
3440 break;
3441 }
2256 } 3442 }
2257 } 3443 }
2258 } 3444 }
2259 3445
2260 #region Nested types 3446 #region Nested types
2261 /// <summary>Container for nested types declared in the TestAllTypes message type.</summary> 3447 /// <summary>Container for nested types declared in the TestAllTypes message type.</summary>
2262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3448 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2263 public static partial class Types { 3449 public static partial class Types {
2264 public enum NestedEnum { 3450 public enum NestedEnum {
2265 FOO = 0, 3451 [pbr::OriginalName("FOO")] Foo = 0,
2266 BAR = 1, 3452 [pbr::OriginalName("BAR")] Bar = 1,
2267 BAZ = 2, 3453 [pbr::OriginalName("BAZ")] Baz = 2,
2268 /// <summary> 3454 /// <summary>
2269 /// Intentionally negative. 3455 /// Intentionally negative.
2270 /// </summary> 3456 /// </summary>
2271 NEG = -1, 3457 [pbr::OriginalName("NEG")] Neg = -1,
2272 } 3458 }
2273 3459
2274 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2275 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> { 3461 public sealed partial class NestedMessage : pb::IMessage<NestedMessage> {
2276 private static readonly pb::MessageParser<NestedMessage> _parser = new p b::MessageParser<NestedMessage>(() => new NestedMessage()); 3462 private static readonly pb::MessageParser<NestedMessage> _parser = new p b::MessageParser<NestedMessage>(() => new NestedMessage());
2277 public static pb::MessageParser<NestedMessage> Parser { get { return _pa rser; } } 3463 public static pb::MessageParser<NestedMessage> Parser { get { return _pa rser; } }
2278 3464
2279 public static pbr::MessageDescriptor Descriptor { 3465 public static pbr::MessageDescriptor Descriptor {
2280 get { return global::Conformance.TestAllTypes.Descriptor.NestedTypes[0 ]; } 3466 get { return global::Conformance.TestAllTypes.Descriptor.NestedTypes[0 ]; }
2281 } 3467 }
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 } 3699 }
2514 } 3700 }
2515 3701
2516 } 3702 }
2517 3703
2518 #endregion 3704 #endregion
2519 3705
2520 } 3706 }
2521 3707
2522 #endregion Designer generated code 3708 #endregion Designer generated code
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698