OLD | NEW |
1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 // source: google/protobuf/unittest_well_known_types.proto | 2 // source: google/protobuf/unittest_well_known_types.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 Google.Protobuf.TestProtos { | 10 namespace Google.Protobuf.TestProtos { |
11 | 11 |
12 /// <summary>Holder for reflection information generated from google/protobuf/
unittest_well_known_types.proto</summary> | 12 /// <summary>Holder for reflection information generated from google/protobuf/
unittest_well_known_types.proto</summary> |
| 13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
13 public static partial class UnittestWellKnownTypesReflection { | 14 public static partial class UnittestWellKnownTypesReflection { |
14 | 15 |
15 #region Descriptor | 16 #region Descriptor |
16 /// <summary>File descriptor for google/protobuf/unittest_well_known_types.p
roto</summary> | 17 /// <summary>File descriptor for google/protobuf/unittest_well_known_types.p
roto</summary> |
17 public static pbr::FileDescriptor Descriptor { | 18 public static pbr::FileDescriptor Descriptor { |
18 get { return descriptor; } | 19 get { return descriptor; } |
19 } | 20 } |
20 private static pbr::FileDescriptor descriptor; | 21 private static pbr::FileDescriptor descriptor; |
21 | 22 |
22 static UnittestWellKnownTypesReflection() { | 23 static UnittestWellKnownTypesReflection() { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro
tos.RepeatedWellKnownTypes), global::Google.Protobuf.TestProtos.RepeatedWellKnow
nTypes.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "Fi
eldMaskField", "SourceContextField", "StructField", "TimestampField", "TypeField
", "DoubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint
32Field", "BoolField", "StringField", "BytesField" }, null, null, null), | 167 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro
tos.RepeatedWellKnownTypes), global::Google.Protobuf.TestProtos.RepeatedWellKnow
nTypes.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "Fi
eldMaskField", "SourceContextField", "StructField", "TimestampField", "TypeField
", "DoubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint
32Field", "BoolField", "StringField", "BytesField" }, null, null, null), |
167 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro
tos.OneofWellKnownTypes), global::Google.Protobuf.TestProtos.OneofWellKnownTypes
.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMas
kField", "SourceContextField", "StructField", "TimestampField", "TypeField", "Do
ubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Fiel
d", "BoolField", "StringField", "BytesField" }, new[]{ "OneofField" }, null, nul
l), | 168 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro
tos.OneofWellKnownTypes), global::Google.Protobuf.TestProtos.OneofWellKnownTypes
.Parser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMas
kField", "SourceContextField", "StructField", "TimestampField", "TypeField", "Do
ubleField", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Fiel
d", "BoolField", "StringField", "BytesField" }, new[]{ "OneofField" }, null, nul
l), |
168 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro
tos.MapWellKnownTypes), global::Google.Protobuf.TestProtos.MapWellKnownTypes.Par
ser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMaskFie
ld", "SourceContextField", "StructField", "TimestampField", "TypeField", "Double
Field", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Field",
"BoolField", "StringField", "BytesField" }, null, null, new pbr::GeneratedClrTyp
eInfo[] { null, null, null, null, null, null, null, null, null, null, null, null
, null, null, null, null, null, null, }) | 169 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro
tos.MapWellKnownTypes), global::Google.Protobuf.TestProtos.MapWellKnownTypes.Par
ser, new[]{ "AnyField", "ApiField", "DurationField", "EmptyField", "FieldMaskFie
ld", "SourceContextField", "StructField", "TimestampField", "TypeField", "Double
Field", "FloatField", "Int64Field", "Uint64Field", "Int32Field", "Uint32Field",
"BoolField", "StringField", "BytesField" }, null, null, new pbr::GeneratedClrTyp
eInfo[] { null, null, null, null, null, null, null, null, null, null, null, null
, null, null, null, null, null, null, }) |
169 })); | 170 })); |
170 } | 171 } |
171 #endregion | 172 #endregion |
172 | 173 |
173 } | 174 } |
174 #region Messages | 175 #region Messages |
175 /// <summary> | 176 /// <summary> |
176 /// Test that we can include all well-known types. | 177 /// Test that we can include all well-known types. |
177 /// Each wrapper type is included separately, as languages | 178 /// Each wrapper type is included separately, as languages |
178 /// map handle different wrappers in different ways. | 179 /// map handle different wrappers in different ways. |
179 /// </summary> | 180 /// </summary> |
| 181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
180 public sealed partial class TestWellKnownTypes : pb::IMessage<TestWellKnownTyp
es> { | 182 public sealed partial class TestWellKnownTypes : pb::IMessage<TestWellKnownTyp
es> { |
181 private static readonly pb::MessageParser<TestWellKnownTypes> _parser = new
pb::MessageParser<TestWellKnownTypes>(() => new TestWellKnownTypes()); | 183 private static readonly pb::MessageParser<TestWellKnownTypes> _parser = new
pb::MessageParser<TestWellKnownTypes>(() => new TestWellKnownTypes()); |
182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
183 public static pb::MessageParser<TestWellKnownTypes> Parser { get { return _p
arser; } } | 184 public static pb::MessageParser<TestWellKnownTypes> Parser { get { return _p
arser; } } |
184 | 185 |
185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
186 public static pbr::MessageDescriptor Descriptor { | 186 public static pbr::MessageDescriptor Descriptor { |
187 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[0]; } | 187 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[0]; } |
188 } | 188 } |
189 | 189 |
190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
191 pbr::MessageDescriptor pb::IMessage.Descriptor { | 190 pbr::MessageDescriptor pb::IMessage.Descriptor { |
192 get { return Descriptor; } | 191 get { return Descriptor; } |
193 } | 192 } |
194 | 193 |
195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
196 public TestWellKnownTypes() { | 194 public TestWellKnownTypes() { |
197 OnConstruction(); | 195 OnConstruction(); |
198 } | 196 } |
199 | 197 |
200 partial void OnConstruction(); | 198 partial void OnConstruction(); |
201 | 199 |
202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
203 public TestWellKnownTypes(TestWellKnownTypes other) : this() { | 200 public TestWellKnownTypes(TestWellKnownTypes other) : this() { |
204 AnyField = other.anyField_ != null ? other.AnyField.Clone() : null; | 201 AnyField = other.anyField_ != null ? other.AnyField.Clone() : null; |
205 ApiField = other.apiField_ != null ? other.ApiField.Clone() : null; | 202 ApiField = other.apiField_ != null ? other.ApiField.Clone() : null; |
206 DurationField = other.durationField_ != null ? other.DurationField.Clone()
: null; | 203 DurationField = other.durationField_ != null ? other.DurationField.Clone()
: null; |
207 EmptyField = other.emptyField_ != null ? other.EmptyField.Clone() : null; | 204 EmptyField = other.emptyField_ != null ? other.EmptyField.Clone() : null; |
208 FieldMaskField = other.fieldMaskField_ != null ? other.FieldMaskField.Clon
e() : null; | 205 FieldMaskField = other.fieldMaskField_ != null ? other.FieldMaskField.Clon
e() : null; |
209 SourceContextField = other.sourceContextField_ != null ? other.SourceConte
xtField.Clone() : null; | 206 SourceContextField = other.sourceContextField_ != null ? other.SourceConte
xtField.Clone() : null; |
210 StructField = other.structField_ != null ? other.StructField.Clone() : nul
l; | 207 StructField = other.structField_ != null ? other.StructField.Clone() : nul
l; |
211 TimestampField = other.timestampField_ != null ? other.TimestampField.Clon
e() : null; | 208 TimestampField = other.timestampField_ != null ? other.TimestampField.Clon
e() : null; |
212 TypeField = other.typeField_ != null ? other.TypeField.Clone() : null; | 209 TypeField = other.typeField_ != null ? other.TypeField.Clone() : null; |
213 DoubleField = other.DoubleField; | 210 DoubleField = other.DoubleField; |
214 FloatField = other.FloatField; | 211 FloatField = other.FloatField; |
215 Int64Field = other.Int64Field; | 212 Int64Field = other.Int64Field; |
216 Uint64Field = other.Uint64Field; | 213 Uint64Field = other.Uint64Field; |
217 Int32Field = other.Int32Field; | 214 Int32Field = other.Int32Field; |
218 Uint32Field = other.Uint32Field; | 215 Uint32Field = other.Uint32Field; |
219 BoolField = other.BoolField; | 216 BoolField = other.BoolField; |
220 StringField = other.StringField; | 217 StringField = other.StringField; |
221 BytesField = other.BytesField; | 218 BytesField = other.BytesField; |
222 ValueField = other.valueField_ != null ? other.ValueField.Clone() : null; | 219 ValueField = other.valueField_ != null ? other.ValueField.Clone() : null; |
223 } | 220 } |
224 | 221 |
225 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
226 public TestWellKnownTypes Clone() { | 222 public TestWellKnownTypes Clone() { |
227 return new TestWellKnownTypes(this); | 223 return new TestWellKnownTypes(this); |
228 } | 224 } |
229 | 225 |
230 /// <summary>Field number for the "any_field" field.</summary> | 226 /// <summary>Field number for the "any_field" field.</summary> |
231 public const int AnyFieldFieldNumber = 1; | 227 public const int AnyFieldFieldNumber = 1; |
232 private global::Google.Protobuf.WellKnownTypes.Any anyField_; | 228 private global::Google.Protobuf.WellKnownTypes.Any anyField_; |
233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
234 public global::Google.Protobuf.WellKnownTypes.Any AnyField { | 229 public global::Google.Protobuf.WellKnownTypes.Any AnyField { |
235 get { return anyField_; } | 230 get { return anyField_; } |
236 set { | 231 set { |
237 anyField_ = value; | 232 anyField_ = value; |
238 } | 233 } |
239 } | 234 } |
240 | 235 |
241 /// <summary>Field number for the "api_field" field.</summary> | 236 /// <summary>Field number for the "api_field" field.</summary> |
242 public const int ApiFieldFieldNumber = 2; | 237 public const int ApiFieldFieldNumber = 2; |
243 private global::Google.Protobuf.WellKnownTypes.Api apiField_; | 238 private global::Google.Protobuf.WellKnownTypes.Api apiField_; |
244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
245 public global::Google.Protobuf.WellKnownTypes.Api ApiField { | 239 public global::Google.Protobuf.WellKnownTypes.Api ApiField { |
246 get { return apiField_; } | 240 get { return apiField_; } |
247 set { | 241 set { |
248 apiField_ = value; | 242 apiField_ = value; |
249 } | 243 } |
250 } | 244 } |
251 | 245 |
252 /// <summary>Field number for the "duration_field" field.</summary> | 246 /// <summary>Field number for the "duration_field" field.</summary> |
253 public const int DurationFieldFieldNumber = 3; | 247 public const int DurationFieldFieldNumber = 3; |
254 private global::Google.Protobuf.WellKnownTypes.Duration durationField_; | 248 private global::Google.Protobuf.WellKnownTypes.Duration durationField_; |
255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
256 public global::Google.Protobuf.WellKnownTypes.Duration DurationField { | 249 public global::Google.Protobuf.WellKnownTypes.Duration DurationField { |
257 get { return durationField_; } | 250 get { return durationField_; } |
258 set { | 251 set { |
259 durationField_ = value; | 252 durationField_ = value; |
260 } | 253 } |
261 } | 254 } |
262 | 255 |
263 /// <summary>Field number for the "empty_field" field.</summary> | 256 /// <summary>Field number for the "empty_field" field.</summary> |
264 public const int EmptyFieldFieldNumber = 4; | 257 public const int EmptyFieldFieldNumber = 4; |
265 private global::Google.Protobuf.WellKnownTypes.Empty emptyField_; | 258 private global::Google.Protobuf.WellKnownTypes.Empty emptyField_; |
266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
267 public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { | 259 public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { |
268 get { return emptyField_; } | 260 get { return emptyField_; } |
269 set { | 261 set { |
270 emptyField_ = value; | 262 emptyField_ = value; |
271 } | 263 } |
272 } | 264 } |
273 | 265 |
274 /// <summary>Field number for the "field_mask_field" field.</summary> | 266 /// <summary>Field number for the "field_mask_field" field.</summary> |
275 public const int FieldMaskFieldFieldNumber = 5; | 267 public const int FieldMaskFieldFieldNumber = 5; |
276 private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_; | 268 private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_; |
277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
278 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { | 269 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { |
279 get { return fieldMaskField_; } | 270 get { return fieldMaskField_; } |
280 set { | 271 set { |
281 fieldMaskField_ = value; | 272 fieldMaskField_ = value; |
282 } | 273 } |
283 } | 274 } |
284 | 275 |
285 /// <summary>Field number for the "source_context_field" field.</summary> | 276 /// <summary>Field number for the "source_context_field" field.</summary> |
286 public const int SourceContextFieldFieldNumber = 6; | 277 public const int SourceContextFieldFieldNumber = 6; |
287 private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContextFi
eld_; | 278 private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContextFi
eld_; |
288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
289 public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextFie
ld { | 279 public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextFie
ld { |
290 get { return sourceContextField_; } | 280 get { return sourceContextField_; } |
291 set { | 281 set { |
292 sourceContextField_ = value; | 282 sourceContextField_ = value; |
293 } | 283 } |
294 } | 284 } |
295 | 285 |
296 /// <summary>Field number for the "struct_field" field.</summary> | 286 /// <summary>Field number for the "struct_field" field.</summary> |
297 public const int StructFieldFieldNumber = 7; | 287 public const int StructFieldFieldNumber = 7; |
298 private global::Google.Protobuf.WellKnownTypes.Struct structField_; | 288 private global::Google.Protobuf.WellKnownTypes.Struct structField_; |
299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
300 public global::Google.Protobuf.WellKnownTypes.Struct StructField { | 289 public global::Google.Protobuf.WellKnownTypes.Struct StructField { |
301 get { return structField_; } | 290 get { return structField_; } |
302 set { | 291 set { |
303 structField_ = value; | 292 structField_ = value; |
304 } | 293 } |
305 } | 294 } |
306 | 295 |
307 /// <summary>Field number for the "timestamp_field" field.</summary> | 296 /// <summary>Field number for the "timestamp_field" field.</summary> |
308 public const int TimestampFieldFieldNumber = 8; | 297 public const int TimestampFieldFieldNumber = 8; |
309 private global::Google.Protobuf.WellKnownTypes.Timestamp timestampField_; | 298 private global::Google.Protobuf.WellKnownTypes.Timestamp timestampField_; |
310 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
311 public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField { | 299 public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField { |
312 get { return timestampField_; } | 300 get { return timestampField_; } |
313 set { | 301 set { |
314 timestampField_ = value; | 302 timestampField_ = value; |
315 } | 303 } |
316 } | 304 } |
317 | 305 |
318 /// <summary>Field number for the "type_field" field.</summary> | 306 /// <summary>Field number for the "type_field" field.</summary> |
319 public const int TypeFieldFieldNumber = 9; | 307 public const int TypeFieldFieldNumber = 9; |
320 private global::Google.Protobuf.WellKnownTypes.Type typeField_; | 308 private global::Google.Protobuf.WellKnownTypes.Type typeField_; |
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
322 public global::Google.Protobuf.WellKnownTypes.Type TypeField { | 309 public global::Google.Protobuf.WellKnownTypes.Type TypeField { |
323 get { return typeField_; } | 310 get { return typeField_; } |
324 set { | 311 set { |
325 typeField_ = value; | 312 typeField_ = value; |
326 } | 313 } |
327 } | 314 } |
328 | 315 |
329 /// <summary>Field number for the "double_field" field.</summary> | 316 /// <summary>Field number for the "double_field" field.</summary> |
330 public const int DoubleFieldFieldNumber = 10; | 317 public const int DoubleFieldFieldNumber = 10; |
331 private static readonly pb::FieldCodec<double?> _single_doubleField_codec =
pb::FieldCodec.ForStructWrapper<double>(82); | 318 private static readonly pb::FieldCodec<double?> _single_doubleField_codec =
pb::FieldCodec.ForStructWrapper<double>(82); |
332 private double? doubleField_; | 319 private double? doubleField_; |
333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
334 public double? DoubleField { | 320 public double? DoubleField { |
335 get { return doubleField_; } | 321 get { return doubleField_; } |
336 set { | 322 set { |
337 doubleField_ = value; | 323 doubleField_ = value; |
338 } | 324 } |
339 } | 325 } |
340 | 326 |
341 /// <summary>Field number for the "float_field" field.</summary> | 327 /// <summary>Field number for the "float_field" field.</summary> |
342 public const int FloatFieldFieldNumber = 11; | 328 public const int FloatFieldFieldNumber = 11; |
343 private static readonly pb::FieldCodec<float?> _single_floatField_codec = pb
::FieldCodec.ForStructWrapper<float>(90); | 329 private static readonly pb::FieldCodec<float?> _single_floatField_codec = pb
::FieldCodec.ForStructWrapper<float>(90); |
344 private float? floatField_; | 330 private float? floatField_; |
345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
346 public float? FloatField { | 331 public float? FloatField { |
347 get { return floatField_; } | 332 get { return floatField_; } |
348 set { | 333 set { |
349 floatField_ = value; | 334 floatField_ = value; |
350 } | 335 } |
351 } | 336 } |
352 | 337 |
353 /// <summary>Field number for the "int64_field" field.</summary> | 338 /// <summary>Field number for the "int64_field" field.</summary> |
354 public const int Int64FieldFieldNumber = 12; | 339 public const int Int64FieldFieldNumber = 12; |
355 private static readonly pb::FieldCodec<long?> _single_int64Field_codec = pb:
:FieldCodec.ForStructWrapper<long>(98); | 340 private static readonly pb::FieldCodec<long?> _single_int64Field_codec = pb:
:FieldCodec.ForStructWrapper<long>(98); |
356 private long? int64Field_; | 341 private long? int64Field_; |
357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
358 public long? Int64Field { | 342 public long? Int64Field { |
359 get { return int64Field_; } | 343 get { return int64Field_; } |
360 set { | 344 set { |
361 int64Field_ = value; | 345 int64Field_ = value; |
362 } | 346 } |
363 } | 347 } |
364 | 348 |
365 /// <summary>Field number for the "uint64_field" field.</summary> | 349 /// <summary>Field number for the "uint64_field" field.</summary> |
366 public const int Uint64FieldFieldNumber = 13; | 350 public const int Uint64FieldFieldNumber = 13; |
367 private static readonly pb::FieldCodec<ulong?> _single_uint64Field_codec = p
b::FieldCodec.ForStructWrapper<ulong>(106); | 351 private static readonly pb::FieldCodec<ulong?> _single_uint64Field_codec = p
b::FieldCodec.ForStructWrapper<ulong>(106); |
368 private ulong? uint64Field_; | 352 private ulong? uint64Field_; |
369 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
370 public ulong? Uint64Field { | 353 public ulong? Uint64Field { |
371 get { return uint64Field_; } | 354 get { return uint64Field_; } |
372 set { | 355 set { |
373 uint64Field_ = value; | 356 uint64Field_ = value; |
374 } | 357 } |
375 } | 358 } |
376 | 359 |
377 /// <summary>Field number for the "int32_field" field.</summary> | 360 /// <summary>Field number for the "int32_field" field.</summary> |
378 public const int Int32FieldFieldNumber = 14; | 361 public const int Int32FieldFieldNumber = 14; |
379 private static readonly pb::FieldCodec<int?> _single_int32Field_codec = pb::
FieldCodec.ForStructWrapper<int>(114); | 362 private static readonly pb::FieldCodec<int?> _single_int32Field_codec = pb::
FieldCodec.ForStructWrapper<int>(114); |
380 private int? int32Field_; | 363 private int? int32Field_; |
381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
382 public int? Int32Field { | 364 public int? Int32Field { |
383 get { return int32Field_; } | 365 get { return int32Field_; } |
384 set { | 366 set { |
385 int32Field_ = value; | 367 int32Field_ = value; |
386 } | 368 } |
387 } | 369 } |
388 | 370 |
389 /// <summary>Field number for the "uint32_field" field.</summary> | 371 /// <summary>Field number for the "uint32_field" field.</summary> |
390 public const int Uint32FieldFieldNumber = 15; | 372 public const int Uint32FieldFieldNumber = 15; |
391 private static readonly pb::FieldCodec<uint?> _single_uint32Field_codec = pb
::FieldCodec.ForStructWrapper<uint>(122); | 373 private static readonly pb::FieldCodec<uint?> _single_uint32Field_codec = pb
::FieldCodec.ForStructWrapper<uint>(122); |
392 private uint? uint32Field_; | 374 private uint? uint32Field_; |
393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
394 public uint? Uint32Field { | 375 public uint? Uint32Field { |
395 get { return uint32Field_; } | 376 get { return uint32Field_; } |
396 set { | 377 set { |
397 uint32Field_ = value; | 378 uint32Field_ = value; |
398 } | 379 } |
399 } | 380 } |
400 | 381 |
401 /// <summary>Field number for the "bool_field" field.</summary> | 382 /// <summary>Field number for the "bool_field" field.</summary> |
402 public const int BoolFieldFieldNumber = 16; | 383 public const int BoolFieldFieldNumber = 16; |
403 private static readonly pb::FieldCodec<bool?> _single_boolField_codec = pb::
FieldCodec.ForStructWrapper<bool>(130); | 384 private static readonly pb::FieldCodec<bool?> _single_boolField_codec = pb::
FieldCodec.ForStructWrapper<bool>(130); |
404 private bool? boolField_; | 385 private bool? boolField_; |
405 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
406 public bool? BoolField { | 386 public bool? BoolField { |
407 get { return boolField_; } | 387 get { return boolField_; } |
408 set { | 388 set { |
409 boolField_ = value; | 389 boolField_ = value; |
410 } | 390 } |
411 } | 391 } |
412 | 392 |
413 /// <summary>Field number for the "string_field" field.</summary> | 393 /// <summary>Field number for the "string_field" field.</summary> |
414 public const int StringFieldFieldNumber = 17; | 394 public const int StringFieldFieldNumber = 17; |
415 private static readonly pb::FieldCodec<string> _single_stringField_codec = p
b::FieldCodec.ForClassWrapper<string>(138); | 395 private static readonly pb::FieldCodec<string> _single_stringField_codec = p
b::FieldCodec.ForClassWrapper<string>(138); |
416 private string stringField_; | 396 private string stringField_; |
417 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
418 public string StringField { | 397 public string StringField { |
419 get { return stringField_; } | 398 get { return stringField_; } |
420 set { | 399 set { |
421 stringField_ = value; | 400 stringField_ = value; |
422 } | 401 } |
423 } | 402 } |
424 | 403 |
425 /// <summary>Field number for the "bytes_field" field.</summary> | 404 /// <summary>Field number for the "bytes_field" field.</summary> |
426 public const int BytesFieldFieldNumber = 18; | 405 public const int BytesFieldFieldNumber = 18; |
427 private static readonly pb::FieldCodec<pb::ByteString> _single_bytesField_co
dec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); | 406 private static readonly pb::FieldCodec<pb::ByteString> _single_bytesField_co
dec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); |
428 private pb::ByteString bytesField_; | 407 private pb::ByteString bytesField_; |
429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
430 public pb::ByteString BytesField { | 408 public pb::ByteString BytesField { |
431 get { return bytesField_; } | 409 get { return bytesField_; } |
432 set { | 410 set { |
433 bytesField_ = value; | 411 bytesField_ = value; |
434 } | 412 } |
435 } | 413 } |
436 | 414 |
437 /// <summary>Field number for the "value_field" field.</summary> | 415 /// <summary>Field number for the "value_field" field.</summary> |
438 public const int ValueFieldFieldNumber = 19; | 416 public const int ValueFieldFieldNumber = 19; |
439 private global::Google.Protobuf.WellKnownTypes.Value valueField_; | 417 private global::Google.Protobuf.WellKnownTypes.Value valueField_; |
440 /// <summary> | 418 /// <summary> |
441 /// Part of struct, but useful to be able to test separately | 419 /// Part of struct, but useful to be able to test separately |
442 /// </summary> | 420 /// </summary> |
443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
444 public global::Google.Protobuf.WellKnownTypes.Value ValueField { | 421 public global::Google.Protobuf.WellKnownTypes.Value ValueField { |
445 get { return valueField_; } | 422 get { return valueField_; } |
446 set { | 423 set { |
447 valueField_ = value; | 424 valueField_ = value; |
448 } | 425 } |
449 } | 426 } |
450 | 427 |
451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
452 public override bool Equals(object other) { | 428 public override bool Equals(object other) { |
453 return Equals(other as TestWellKnownTypes); | 429 return Equals(other as TestWellKnownTypes); |
454 } | 430 } |
455 | 431 |
456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
457 public bool Equals(TestWellKnownTypes other) { | 432 public bool Equals(TestWellKnownTypes other) { |
458 if (ReferenceEquals(other, null)) { | 433 if (ReferenceEquals(other, null)) { |
459 return false; | 434 return false; |
460 } | 435 } |
461 if (ReferenceEquals(other, this)) { | 436 if (ReferenceEquals(other, this)) { |
462 return true; | 437 return true; |
463 } | 438 } |
464 if (!object.Equals(AnyField, other.AnyField)) return false; | 439 if (!object.Equals(AnyField, other.AnyField)) return false; |
465 if (!object.Equals(ApiField, other.ApiField)) return false; | 440 if (!object.Equals(ApiField, other.ApiField)) return false; |
466 if (!object.Equals(DurationField, other.DurationField)) return false; | 441 if (!object.Equals(DurationField, other.DurationField)) return false; |
467 if (!object.Equals(EmptyField, other.EmptyField)) return false; | 442 if (!object.Equals(EmptyField, other.EmptyField)) return false; |
468 if (!object.Equals(FieldMaskField, other.FieldMaskField)) return false; | 443 if (!object.Equals(FieldMaskField, other.FieldMaskField)) return false; |
469 if (!object.Equals(SourceContextField, other.SourceContextField)) return f
alse; | 444 if (!object.Equals(SourceContextField, other.SourceContextField)) return f
alse; |
470 if (!object.Equals(StructField, other.StructField)) return false; | 445 if (!object.Equals(StructField, other.StructField)) return false; |
471 if (!object.Equals(TimestampField, other.TimestampField)) return false; | 446 if (!object.Equals(TimestampField, other.TimestampField)) return false; |
472 if (!object.Equals(TypeField, other.TypeField)) return false; | 447 if (!object.Equals(TypeField, other.TypeField)) return false; |
473 if (DoubleField != other.DoubleField) return false; | 448 if (DoubleField != other.DoubleField) return false; |
474 if (FloatField != other.FloatField) return false; | 449 if (FloatField != other.FloatField) return false; |
475 if (Int64Field != other.Int64Field) return false; | 450 if (Int64Field != other.Int64Field) return false; |
476 if (Uint64Field != other.Uint64Field) return false; | 451 if (Uint64Field != other.Uint64Field) return false; |
477 if (Int32Field != other.Int32Field) return false; | 452 if (Int32Field != other.Int32Field) return false; |
478 if (Uint32Field != other.Uint32Field) return false; | 453 if (Uint32Field != other.Uint32Field) return false; |
479 if (BoolField != other.BoolField) return false; | 454 if (BoolField != other.BoolField) return false; |
480 if (StringField != other.StringField) return false; | 455 if (StringField != other.StringField) return false; |
481 if (BytesField != other.BytesField) return false; | 456 if (BytesField != other.BytesField) return false; |
482 if (!object.Equals(ValueField, other.ValueField)) return false; | 457 if (!object.Equals(ValueField, other.ValueField)) return false; |
483 return true; | 458 return true; |
484 } | 459 } |
485 | 460 |
486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
487 public override int GetHashCode() { | 461 public override int GetHashCode() { |
488 int hash = 1; | 462 int hash = 1; |
489 if (anyField_ != null) hash ^= AnyField.GetHashCode(); | 463 if (anyField_ != null) hash ^= AnyField.GetHashCode(); |
490 if (apiField_ != null) hash ^= ApiField.GetHashCode(); | 464 if (apiField_ != null) hash ^= ApiField.GetHashCode(); |
491 if (durationField_ != null) hash ^= DurationField.GetHashCode(); | 465 if (durationField_ != null) hash ^= DurationField.GetHashCode(); |
492 if (emptyField_ != null) hash ^= EmptyField.GetHashCode(); | 466 if (emptyField_ != null) hash ^= EmptyField.GetHashCode(); |
493 if (fieldMaskField_ != null) hash ^= FieldMaskField.GetHashCode(); | 467 if (fieldMaskField_ != null) hash ^= FieldMaskField.GetHashCode(); |
494 if (sourceContextField_ != null) hash ^= SourceContextField.GetHashCode(); | 468 if (sourceContextField_ != null) hash ^= SourceContextField.GetHashCode(); |
495 if (structField_ != null) hash ^= StructField.GetHashCode(); | 469 if (structField_ != null) hash ^= StructField.GetHashCode(); |
496 if (timestampField_ != null) hash ^= TimestampField.GetHashCode(); | 470 if (timestampField_ != null) hash ^= TimestampField.GetHashCode(); |
497 if (typeField_ != null) hash ^= TypeField.GetHashCode(); | 471 if (typeField_ != null) hash ^= TypeField.GetHashCode(); |
498 if (doubleField_ != null) hash ^= DoubleField.GetHashCode(); | 472 if (doubleField_ != null) hash ^= DoubleField.GetHashCode(); |
499 if (floatField_ != null) hash ^= FloatField.GetHashCode(); | 473 if (floatField_ != null) hash ^= FloatField.GetHashCode(); |
500 if (int64Field_ != null) hash ^= Int64Field.GetHashCode(); | 474 if (int64Field_ != null) hash ^= Int64Field.GetHashCode(); |
501 if (uint64Field_ != null) hash ^= Uint64Field.GetHashCode(); | 475 if (uint64Field_ != null) hash ^= Uint64Field.GetHashCode(); |
502 if (int32Field_ != null) hash ^= Int32Field.GetHashCode(); | 476 if (int32Field_ != null) hash ^= Int32Field.GetHashCode(); |
503 if (uint32Field_ != null) hash ^= Uint32Field.GetHashCode(); | 477 if (uint32Field_ != null) hash ^= Uint32Field.GetHashCode(); |
504 if (boolField_ != null) hash ^= BoolField.GetHashCode(); | 478 if (boolField_ != null) hash ^= BoolField.GetHashCode(); |
505 if (stringField_ != null) hash ^= StringField.GetHashCode(); | 479 if (stringField_ != null) hash ^= StringField.GetHashCode(); |
506 if (bytesField_ != null) hash ^= BytesField.GetHashCode(); | 480 if (bytesField_ != null) hash ^= BytesField.GetHashCode(); |
507 if (valueField_ != null) hash ^= ValueField.GetHashCode(); | 481 if (valueField_ != null) hash ^= ValueField.GetHashCode(); |
508 return hash; | 482 return hash; |
509 } | 483 } |
510 | 484 |
511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
512 public override string ToString() { | 485 public override string ToString() { |
513 return pb::JsonFormatter.ToDiagnosticString(this); | 486 return pb::JsonFormatter.ToDiagnosticString(this); |
514 } | 487 } |
515 | 488 |
516 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
517 public void WriteTo(pb::CodedOutputStream output) { | 489 public void WriteTo(pb::CodedOutputStream output) { |
518 if (anyField_ != null) { | 490 if (anyField_ != null) { |
519 output.WriteRawTag(10); | 491 output.WriteRawTag(10); |
520 output.WriteMessage(AnyField); | 492 output.WriteMessage(AnyField); |
521 } | 493 } |
522 if (apiField_ != null) { | 494 if (apiField_ != null) { |
523 output.WriteRawTag(18); | 495 output.WriteRawTag(18); |
524 output.WriteMessage(ApiField); | 496 output.WriteMessage(ApiField); |
525 } | 497 } |
526 if (durationField_ != null) { | 498 if (durationField_ != null) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 } | 549 } |
578 if (bytesField_ != null) { | 550 if (bytesField_ != null) { |
579 _single_bytesField_codec.WriteTagAndValue(output, BytesField); | 551 _single_bytesField_codec.WriteTagAndValue(output, BytesField); |
580 } | 552 } |
581 if (valueField_ != null) { | 553 if (valueField_ != null) { |
582 output.WriteRawTag(154, 1); | 554 output.WriteRawTag(154, 1); |
583 output.WriteMessage(ValueField); | 555 output.WriteMessage(ValueField); |
584 } | 556 } |
585 } | 557 } |
586 | 558 |
587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
588 public int CalculateSize() { | 559 public int CalculateSize() { |
589 int size = 0; | 560 int size = 0; |
590 if (anyField_ != null) { | 561 if (anyField_ != null) { |
591 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnyField); | 562 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnyField); |
592 } | 563 } |
593 if (apiField_ != null) { | 564 if (apiField_ != null) { |
594 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApiField); | 565 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApiField); |
595 } | 566 } |
596 if (durationField_ != null) { | 567 if (durationField_ != null) { |
597 size += 1 + pb::CodedOutputStream.ComputeMessageSize(DurationField); | 568 size += 1 + pb::CodedOutputStream.ComputeMessageSize(DurationField); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 } | 611 } |
641 if (bytesField_ != null) { | 612 if (bytesField_ != null) { |
642 size += _single_bytesField_codec.CalculateSizeWithTag(BytesField); | 613 size += _single_bytesField_codec.CalculateSizeWithTag(BytesField); |
643 } | 614 } |
644 if (valueField_ != null) { | 615 if (valueField_ != null) { |
645 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ValueField); | 616 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ValueField); |
646 } | 617 } |
647 return size; | 618 return size; |
648 } | 619 } |
649 | 620 |
650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
651 public void MergeFrom(TestWellKnownTypes other) { | 621 public void MergeFrom(TestWellKnownTypes other) { |
652 if (other == null) { | 622 if (other == null) { |
653 return; | 623 return; |
654 } | 624 } |
655 if (other.anyField_ != null) { | 625 if (other.anyField_ != null) { |
656 if (anyField_ == null) { | 626 if (anyField_ == null) { |
657 anyField_ = new global::Google.Protobuf.WellKnownTypes.Any(); | 627 anyField_ = new global::Google.Protobuf.WellKnownTypes.Any(); |
658 } | 628 } |
659 AnyField.MergeFrom(other.AnyField); | 629 AnyField.MergeFrom(other.AnyField); |
660 } | 630 } |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 } | 722 } |
753 } | 723 } |
754 if (other.valueField_ != null) { | 724 if (other.valueField_ != null) { |
755 if (valueField_ == null) { | 725 if (valueField_ == null) { |
756 valueField_ = new global::Google.Protobuf.WellKnownTypes.Value(); | 726 valueField_ = new global::Google.Protobuf.WellKnownTypes.Value(); |
757 } | 727 } |
758 ValueField.MergeFrom(other.ValueField); | 728 ValueField.MergeFrom(other.ValueField); |
759 } | 729 } |
760 } | 730 } |
761 | 731 |
762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
763 public void MergeFrom(pb::CodedInputStream input) { | 732 public void MergeFrom(pb::CodedInputStream input) { |
764 uint tag; | 733 uint tag; |
765 while ((tag = input.ReadTag()) != 0) { | 734 while ((tag = input.ReadTag()) != 0) { |
766 switch(tag) { | 735 switch(tag) { |
767 default: | 736 default: |
768 input.SkipLastField(); | 737 input.SkipLastField(); |
769 break; | 738 break; |
770 case 10: { | 739 case 10: { |
771 if (anyField_ == null) { | 740 if (anyField_ == null) { |
772 anyField_ = new global::Google.Protobuf.WellKnownTypes.Any(); | 741 anyField_ = new global::Google.Protobuf.WellKnownTypes.Any(); |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 input.ReadMessage(valueField_); | 869 input.ReadMessage(valueField_); |
901 break; | 870 break; |
902 } | 871 } |
903 } | 872 } |
904 } | 873 } |
905 } | 874 } |
906 | 875 |
907 } | 876 } |
908 | 877 |
909 /// <summary> | 878 /// <summary> |
910 /// A repeated field for each well-known type. | 879 /// A repeated field for each well-known type. |
911 /// </summary> | 880 /// </summary> |
| 881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
912 public sealed partial class RepeatedWellKnownTypes : pb::IMessage<RepeatedWell
KnownTypes> { | 882 public sealed partial class RepeatedWellKnownTypes : pb::IMessage<RepeatedWell
KnownTypes> { |
913 private static readonly pb::MessageParser<RepeatedWellKnownTypes> _parser =
new pb::MessageParser<RepeatedWellKnownTypes>(() => new RepeatedWellKnownTypes()
); | 883 private static readonly pb::MessageParser<RepeatedWellKnownTypes> _parser =
new pb::MessageParser<RepeatedWellKnownTypes>(() => new RepeatedWellKnownTypes()
); |
914 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
915 public static pb::MessageParser<RepeatedWellKnownTypes> Parser { get { retur
n _parser; } } | 884 public static pb::MessageParser<RepeatedWellKnownTypes> Parser { get { retur
n _parser; } } |
916 | 885 |
917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
918 public static pbr::MessageDescriptor Descriptor { | 886 public static pbr::MessageDescriptor Descriptor { |
919 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[1]; } | 887 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[1]; } |
920 } | 888 } |
921 | 889 |
922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
923 pbr::MessageDescriptor pb::IMessage.Descriptor { | 890 pbr::MessageDescriptor pb::IMessage.Descriptor { |
924 get { return Descriptor; } | 891 get { return Descriptor; } |
925 } | 892 } |
926 | 893 |
927 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
928 public RepeatedWellKnownTypes() { | 894 public RepeatedWellKnownTypes() { |
929 OnConstruction(); | 895 OnConstruction(); |
930 } | 896 } |
931 | 897 |
932 partial void OnConstruction(); | 898 partial void OnConstruction(); |
933 | 899 |
934 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
935 public RepeatedWellKnownTypes(RepeatedWellKnownTypes other) : this() { | 900 public RepeatedWellKnownTypes(RepeatedWellKnownTypes other) : this() { |
936 anyField_ = other.anyField_.Clone(); | 901 anyField_ = other.anyField_.Clone(); |
937 apiField_ = other.apiField_.Clone(); | 902 apiField_ = other.apiField_.Clone(); |
938 durationField_ = other.durationField_.Clone(); | 903 durationField_ = other.durationField_.Clone(); |
939 emptyField_ = other.emptyField_.Clone(); | 904 emptyField_ = other.emptyField_.Clone(); |
940 fieldMaskField_ = other.fieldMaskField_.Clone(); | 905 fieldMaskField_ = other.fieldMaskField_.Clone(); |
941 sourceContextField_ = other.sourceContextField_.Clone(); | 906 sourceContextField_ = other.sourceContextField_.Clone(); |
942 structField_ = other.structField_.Clone(); | 907 structField_ = other.structField_.Clone(); |
943 timestampField_ = other.timestampField_.Clone(); | 908 timestampField_ = other.timestampField_.Clone(); |
944 typeField_ = other.typeField_.Clone(); | 909 typeField_ = other.typeField_.Clone(); |
945 doubleField_ = other.doubleField_.Clone(); | 910 doubleField_ = other.doubleField_.Clone(); |
946 floatField_ = other.floatField_.Clone(); | 911 floatField_ = other.floatField_.Clone(); |
947 int64Field_ = other.int64Field_.Clone(); | 912 int64Field_ = other.int64Field_.Clone(); |
948 uint64Field_ = other.uint64Field_.Clone(); | 913 uint64Field_ = other.uint64Field_.Clone(); |
949 int32Field_ = other.int32Field_.Clone(); | 914 int32Field_ = other.int32Field_.Clone(); |
950 uint32Field_ = other.uint32Field_.Clone(); | 915 uint32Field_ = other.uint32Field_.Clone(); |
951 boolField_ = other.boolField_.Clone(); | 916 boolField_ = other.boolField_.Clone(); |
952 stringField_ = other.stringField_.Clone(); | 917 stringField_ = other.stringField_.Clone(); |
953 bytesField_ = other.bytesField_.Clone(); | 918 bytesField_ = other.bytesField_.Clone(); |
954 } | 919 } |
955 | 920 |
956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
957 public RepeatedWellKnownTypes Clone() { | 921 public RepeatedWellKnownTypes Clone() { |
958 return new RepeatedWellKnownTypes(this); | 922 return new RepeatedWellKnownTypes(this); |
959 } | 923 } |
960 | 924 |
961 /// <summary>Field number for the "any_field" field.</summary> | 925 /// <summary>Field number for the "any_field" field.</summary> |
962 public const int AnyFieldFieldNumber = 1; | 926 public const int AnyFieldFieldNumber = 1; |
963 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Any> _repeated_anyField_codec | 927 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Any> _repeated_anyField_codec |
964 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.A
ny.Parser); | 928 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.A
ny.Parser); |
965 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.A
ny> anyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.An
y>(); | 929 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.A
ny> anyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.An
y>(); |
966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
967 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> AnyFie
ld { | 930 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> AnyFie
ld { |
968 get { return anyField_; } | 931 get { return anyField_; } |
969 } | 932 } |
970 | 933 |
971 /// <summary>Field number for the "api_field" field.</summary> | 934 /// <summary>Field number for the "api_field" field.</summary> |
972 public const int ApiFieldFieldNumber = 2; | 935 public const int ApiFieldFieldNumber = 2; |
973 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Api> _repeated_apiField_codec | 936 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Api> _repeated_apiField_codec |
974 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.A
pi.Parser); | 937 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.A
pi.Parser); |
975 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.A
pi> apiField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Ap
i>(); | 938 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.A
pi> apiField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Ap
i>(); |
976 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
977 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiFie
ld { | 939 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiFie
ld { |
978 get { return apiField_; } | 940 get { return apiField_; } |
979 } | 941 } |
980 | 942 |
981 /// <summary>Field number for the "duration_field" field.</summary> | 943 /// <summary>Field number for the "duration_field" field.</summary> |
982 public const int DurationFieldFieldNumber = 3; | 944 public const int DurationFieldFieldNumber = 3; |
983 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Duration> _repeated_durationField_codec | 945 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Duration> _repeated_durationField_codec |
984 = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.D
uration.Parser); | 946 = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.D
uration.Parser); |
985 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.D
uration> durationField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKno
wnTypes.Duration>(); | 947 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.D
uration> durationField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKno
wnTypes.Duration>(); |
986 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
987 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> D
urationField { | 948 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> D
urationField { |
988 get { return durationField_; } | 949 get { return durationField_; } |
989 } | 950 } |
990 | 951 |
991 /// <summary>Field number for the "empty_field" field.</summary> | 952 /// <summary>Field number for the "empty_field" field.</summary> |
992 public const int EmptyFieldFieldNumber = 4; | 953 public const int EmptyFieldFieldNumber = 4; |
993 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Empty> _repeated_emptyField_codec | 954 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Empty> _repeated_emptyField_codec |
994 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.WellKnownTypes.E
mpty.Parser); | 955 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.WellKnownTypes.E
mpty.Parser); |
995 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.E
mpty> emptyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownType
s.Empty>(); | 956 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.E
mpty> emptyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownType
s.Empty>(); |
996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
997 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> Empt
yField { | 957 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> Empt
yField { |
998 get { return emptyField_; } | 958 get { return emptyField_; } |
999 } | 959 } |
1000 | 960 |
1001 /// <summary>Field number for the "field_mask_field" field.</summary> | 961 /// <summary>Field number for the "field_mask_field" field.</summary> |
1002 public const int FieldMaskFieldFieldNumber = 5; | 962 public const int FieldMaskFieldFieldNumber = 5; |
1003 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.FieldMask> _repeated_fieldMaskField_codec | 963 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.FieldMask> _repeated_fieldMaskField_codec |
1004 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.F
ieldMask.Parser); | 964 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.F
ieldMask.Parser); |
1005 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.F
ieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Protobuf.WellK
nownTypes.FieldMask>(); | 965 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.F
ieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Protobuf.WellK
nownTypes.FieldMask>(); |
1006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1007 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>
FieldMaskField { | 966 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>
FieldMaskField { |
1008 get { return fieldMaskField_; } | 967 get { return fieldMaskField_; } |
1009 } | 968 } |
1010 | 969 |
1011 /// <summary>Field number for the "source_context_field" field.</summary> | 970 /// <summary>Field number for the "source_context_field" field.</summary> |
1012 public const int SourceContextFieldFieldNumber = 6; | 971 public const int SourceContextFieldFieldNumber = 6; |
1013 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.SourceContext> _repeated_sourceContextField_codec | 972 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.SourceContext> _repeated_sourceContextField_codec |
1014 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.S
ourceContext.Parser); | 973 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.S
ourceContext.Parser); |
1015 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.S
ourceContext> sourceContextField_ = new pbc::RepeatedField<global::Google.Protob
uf.WellKnownTypes.SourceContext>(); | 974 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.S
ourceContext> sourceContextField_ = new pbc::RepeatedField<global::Google.Protob
uf.WellKnownTypes.SourceContext>(); |
1016 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1017 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceConte
xt> SourceContextField { | 975 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceConte
xt> SourceContextField { |
1018 get { return sourceContextField_; } | 976 get { return sourceContextField_; } |
1019 } | 977 } |
1020 | 978 |
1021 /// <summary>Field number for the "struct_field" field.</summary> | 979 /// <summary>Field number for the "struct_field" field.</summary> |
1022 public const int StructFieldFieldNumber = 7; | 980 public const int StructFieldFieldNumber = 7; |
1023 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Struct> _repeated_structField_codec | 981 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Struct> _repeated_structField_codec |
1024 = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.WellKnownTypes.S
truct.Parser); | 982 = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.WellKnownTypes.S
truct.Parser); |
1025 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.S
truct> structField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTy
pes.Struct>(); | 983 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.S
truct> structField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTy
pes.Struct>(); |
1026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1027 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> Str
uctField { | 984 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> Str
uctField { |
1028 get { return structField_; } | 985 get { return structField_; } |
1029 } | 986 } |
1030 | 987 |
1031 /// <summary>Field number for the "timestamp_field" field.</summary> | 988 /// <summary>Field number for the "timestamp_field" field.</summary> |
1032 public const int TimestampFieldFieldNumber = 8; | 989 public const int TimestampFieldFieldNumber = 8; |
1033 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Timestamp> _repeated_timestampField_codec | 990 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Timestamp> _repeated_timestampField_codec |
1034 = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.WellKnownTypes.T
imestamp.Parser); | 991 = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.WellKnownTypes.T
imestamp.Parser); |
1035 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.T
imestamp> timestampField_ = new pbc::RepeatedField<global::Google.Protobuf.WellK
nownTypes.Timestamp>(); | 992 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.T
imestamp> timestampField_ = new pbc::RepeatedField<global::Google.Protobuf.WellK
nownTypes.Timestamp>(); |
1036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1037 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>
TimestampField { | 993 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>
TimestampField { |
1038 get { return timestampField_; } | 994 get { return timestampField_; } |
1039 } | 995 } |
1040 | 996 |
1041 /// <summary>Field number for the "type_field" field.</summary> | 997 /// <summary>Field number for the "type_field" field.</summary> |
1042 public const int TypeFieldFieldNumber = 9; | 998 public const int TypeFieldFieldNumber = 9; |
1043 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Type> _repeated_typeField_codec | 999 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownType
s.Type> _repeated_typeField_codec |
1044 = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.WellKnownTypes.T
ype.Parser); | 1000 = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.WellKnownTypes.T
ype.Parser); |
1045 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.T
ype> typeField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Type>(); | 1001 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.T
ype> typeField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.
Type>(); |
1046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1047 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type> TypeF
ield { | 1002 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type> TypeF
ield { |
1048 get { return typeField_; } | 1003 get { return typeField_; } |
1049 } | 1004 } |
1050 | 1005 |
1051 /// <summary>Field number for the "double_field" field.</summary> | 1006 /// <summary>Field number for the "double_field" field.</summary> |
1052 public const int DoubleFieldFieldNumber = 10; | 1007 public const int DoubleFieldFieldNumber = 10; |
1053 private static readonly pb::FieldCodec<double?> _repeated_doubleField_codec | 1008 private static readonly pb::FieldCodec<double?> _repeated_doubleField_codec |
1054 = pb::FieldCodec.ForStructWrapper<double>(82); | 1009 = pb::FieldCodec.ForStructWrapper<double>(82); |
1055 private readonly pbc::RepeatedField<double?> doubleField_ = new pbc::Repeate
dField<double?>(); | 1010 private readonly pbc::RepeatedField<double?> doubleField_ = new pbc::Repeate
dField<double?>(); |
1056 /// <summary> | 1011 /// <summary> |
1057 /// These don't actually make a lot of sense, but they're not prohibited... | 1012 /// These don't actually make a lot of sense, but they're not prohibited... |
1058 /// </summary> | 1013 /// </summary> |
1059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1060 public pbc::RepeatedField<double?> DoubleField { | 1014 public pbc::RepeatedField<double?> DoubleField { |
1061 get { return doubleField_; } | 1015 get { return doubleField_; } |
1062 } | 1016 } |
1063 | 1017 |
1064 /// <summary>Field number for the "float_field" field.</summary> | 1018 /// <summary>Field number for the "float_field" field.</summary> |
1065 public const int FloatFieldFieldNumber = 11; | 1019 public const int FloatFieldFieldNumber = 11; |
1066 private static readonly pb::FieldCodec<float?> _repeated_floatField_codec | 1020 private static readonly pb::FieldCodec<float?> _repeated_floatField_codec |
1067 = pb::FieldCodec.ForStructWrapper<float>(90); | 1021 = pb::FieldCodec.ForStructWrapper<float>(90); |
1068 private readonly pbc::RepeatedField<float?> floatField_ = new pbc::RepeatedF
ield<float?>(); | 1022 private readonly pbc::RepeatedField<float?> floatField_ = new pbc::RepeatedF
ield<float?>(); |
1069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1070 public pbc::RepeatedField<float?> FloatField { | 1023 public pbc::RepeatedField<float?> FloatField { |
1071 get { return floatField_; } | 1024 get { return floatField_; } |
1072 } | 1025 } |
1073 | 1026 |
1074 /// <summary>Field number for the "int64_field" field.</summary> | 1027 /// <summary>Field number for the "int64_field" field.</summary> |
1075 public const int Int64FieldFieldNumber = 12; | 1028 public const int Int64FieldFieldNumber = 12; |
1076 private static readonly pb::FieldCodec<long?> _repeated_int64Field_codec | 1029 private static readonly pb::FieldCodec<long?> _repeated_int64Field_codec |
1077 = pb::FieldCodec.ForStructWrapper<long>(98); | 1030 = pb::FieldCodec.ForStructWrapper<long>(98); |
1078 private readonly pbc::RepeatedField<long?> int64Field_ = new pbc::RepeatedFi
eld<long?>(); | 1031 private readonly pbc::RepeatedField<long?> int64Field_ = new pbc::RepeatedFi
eld<long?>(); |
1079 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1080 public pbc::RepeatedField<long?> Int64Field { | 1032 public pbc::RepeatedField<long?> Int64Field { |
1081 get { return int64Field_; } | 1033 get { return int64Field_; } |
1082 } | 1034 } |
1083 | 1035 |
1084 /// <summary>Field number for the "uint64_field" field.</summary> | 1036 /// <summary>Field number for the "uint64_field" field.</summary> |
1085 public const int Uint64FieldFieldNumber = 13; | 1037 public const int Uint64FieldFieldNumber = 13; |
1086 private static readonly pb::FieldCodec<ulong?> _repeated_uint64Field_codec | 1038 private static readonly pb::FieldCodec<ulong?> _repeated_uint64Field_codec |
1087 = pb::FieldCodec.ForStructWrapper<ulong>(106); | 1039 = pb::FieldCodec.ForStructWrapper<ulong>(106); |
1088 private readonly pbc::RepeatedField<ulong?> uint64Field_ = new pbc::Repeated
Field<ulong?>(); | 1040 private readonly pbc::RepeatedField<ulong?> uint64Field_ = new pbc::Repeated
Field<ulong?>(); |
1089 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1090 public pbc::RepeatedField<ulong?> Uint64Field { | 1041 public pbc::RepeatedField<ulong?> Uint64Field { |
1091 get { return uint64Field_; } | 1042 get { return uint64Field_; } |
1092 } | 1043 } |
1093 | 1044 |
1094 /// <summary>Field number for the "int32_field" field.</summary> | 1045 /// <summary>Field number for the "int32_field" field.</summary> |
1095 public const int Int32FieldFieldNumber = 14; | 1046 public const int Int32FieldFieldNumber = 14; |
1096 private static readonly pb::FieldCodec<int?> _repeated_int32Field_codec | 1047 private static readonly pb::FieldCodec<int?> _repeated_int32Field_codec |
1097 = pb::FieldCodec.ForStructWrapper<int>(114); | 1048 = pb::FieldCodec.ForStructWrapper<int>(114); |
1098 private readonly pbc::RepeatedField<int?> int32Field_ = new pbc::RepeatedFie
ld<int?>(); | 1049 private readonly pbc::RepeatedField<int?> int32Field_ = new pbc::RepeatedFie
ld<int?>(); |
1099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1100 public pbc::RepeatedField<int?> Int32Field { | 1050 public pbc::RepeatedField<int?> Int32Field { |
1101 get { return int32Field_; } | 1051 get { return int32Field_; } |
1102 } | 1052 } |
1103 | 1053 |
1104 /// <summary>Field number for the "uint32_field" field.</summary> | 1054 /// <summary>Field number for the "uint32_field" field.</summary> |
1105 public const int Uint32FieldFieldNumber = 15; | 1055 public const int Uint32FieldFieldNumber = 15; |
1106 private static readonly pb::FieldCodec<uint?> _repeated_uint32Field_codec | 1056 private static readonly pb::FieldCodec<uint?> _repeated_uint32Field_codec |
1107 = pb::FieldCodec.ForStructWrapper<uint>(122); | 1057 = pb::FieldCodec.ForStructWrapper<uint>(122); |
1108 private readonly pbc::RepeatedField<uint?> uint32Field_ = new pbc::RepeatedF
ield<uint?>(); | 1058 private readonly pbc::RepeatedField<uint?> uint32Field_ = new pbc::RepeatedF
ield<uint?>(); |
1109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1110 public pbc::RepeatedField<uint?> Uint32Field { | 1059 public pbc::RepeatedField<uint?> Uint32Field { |
1111 get { return uint32Field_; } | 1060 get { return uint32Field_; } |
1112 } | 1061 } |
1113 | 1062 |
1114 /// <summary>Field number for the "bool_field" field.</summary> | 1063 /// <summary>Field number for the "bool_field" field.</summary> |
1115 public const int BoolFieldFieldNumber = 16; | 1064 public const int BoolFieldFieldNumber = 16; |
1116 private static readonly pb::FieldCodec<bool?> _repeated_boolField_codec | 1065 private static readonly pb::FieldCodec<bool?> _repeated_boolField_codec |
1117 = pb::FieldCodec.ForStructWrapper<bool>(130); | 1066 = pb::FieldCodec.ForStructWrapper<bool>(130); |
1118 private readonly pbc::RepeatedField<bool?> boolField_ = new pbc::RepeatedFie
ld<bool?>(); | 1067 private readonly pbc::RepeatedField<bool?> boolField_ = new pbc::RepeatedFie
ld<bool?>(); |
1119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1120 public pbc::RepeatedField<bool?> BoolField { | 1068 public pbc::RepeatedField<bool?> BoolField { |
1121 get { return boolField_; } | 1069 get { return boolField_; } |
1122 } | 1070 } |
1123 | 1071 |
1124 /// <summary>Field number for the "string_field" field.</summary> | 1072 /// <summary>Field number for the "string_field" field.</summary> |
1125 public const int StringFieldFieldNumber = 17; | 1073 public const int StringFieldFieldNumber = 17; |
1126 private static readonly pb::FieldCodec<string> _repeated_stringField_codec | 1074 private static readonly pb::FieldCodec<string> _repeated_stringField_codec |
1127 = pb::FieldCodec.ForClassWrapper<string>(138); | 1075 = pb::FieldCodec.ForClassWrapper<string>(138); |
1128 private readonly pbc::RepeatedField<string> stringField_ = new pbc::Repeated
Field<string>(); | 1076 private readonly pbc::RepeatedField<string> stringField_ = new pbc::Repeated
Field<string>(); |
1129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1130 public pbc::RepeatedField<string> StringField { | 1077 public pbc::RepeatedField<string> StringField { |
1131 get { return stringField_; } | 1078 get { return stringField_; } |
1132 } | 1079 } |
1133 | 1080 |
1134 /// <summary>Field number for the "bytes_field" field.</summary> | 1081 /// <summary>Field number for the "bytes_field" field.</summary> |
1135 public const int BytesFieldFieldNumber = 18; | 1082 public const int BytesFieldFieldNumber = 18; |
1136 private static readonly pb::FieldCodec<pb::ByteString> _repeated_bytesField_
codec | 1083 private static readonly pb::FieldCodec<pb::ByteString> _repeated_bytesField_
codec |
1137 = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); | 1084 = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); |
1138 private readonly pbc::RepeatedField<pb::ByteString> bytesField_ = new pbc::R
epeatedField<pb::ByteString>(); | 1085 private readonly pbc::RepeatedField<pb::ByteString> bytesField_ = new pbc::R
epeatedField<pb::ByteString>(); |
1139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1140 public pbc::RepeatedField<pb::ByteString> BytesField { | 1086 public pbc::RepeatedField<pb::ByteString> BytesField { |
1141 get { return bytesField_; } | 1087 get { return bytesField_; } |
1142 } | 1088 } |
1143 | 1089 |
1144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1145 public override bool Equals(object other) { | 1090 public override bool Equals(object other) { |
1146 return Equals(other as RepeatedWellKnownTypes); | 1091 return Equals(other as RepeatedWellKnownTypes); |
1147 } | 1092 } |
1148 | 1093 |
1149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1150 public bool Equals(RepeatedWellKnownTypes other) { | 1094 public bool Equals(RepeatedWellKnownTypes other) { |
1151 if (ReferenceEquals(other, null)) { | 1095 if (ReferenceEquals(other, null)) { |
1152 return false; | 1096 return false; |
1153 } | 1097 } |
1154 if (ReferenceEquals(other, this)) { | 1098 if (ReferenceEquals(other, this)) { |
1155 return true; | 1099 return true; |
1156 } | 1100 } |
1157 if(!anyField_.Equals(other.anyField_)) return false; | 1101 if(!anyField_.Equals(other.anyField_)) return false; |
1158 if(!apiField_.Equals(other.apiField_)) return false; | 1102 if(!apiField_.Equals(other.apiField_)) return false; |
1159 if(!durationField_.Equals(other.durationField_)) return false; | 1103 if(!durationField_.Equals(other.durationField_)) return false; |
1160 if(!emptyField_.Equals(other.emptyField_)) return false; | 1104 if(!emptyField_.Equals(other.emptyField_)) return false; |
1161 if(!fieldMaskField_.Equals(other.fieldMaskField_)) return false; | 1105 if(!fieldMaskField_.Equals(other.fieldMaskField_)) return false; |
1162 if(!sourceContextField_.Equals(other.sourceContextField_)) return false; | 1106 if(!sourceContextField_.Equals(other.sourceContextField_)) return false; |
1163 if(!structField_.Equals(other.structField_)) return false; | 1107 if(!structField_.Equals(other.structField_)) return false; |
1164 if(!timestampField_.Equals(other.timestampField_)) return false; | 1108 if(!timestampField_.Equals(other.timestampField_)) return false; |
1165 if(!typeField_.Equals(other.typeField_)) return false; | 1109 if(!typeField_.Equals(other.typeField_)) return false; |
1166 if(!doubleField_.Equals(other.doubleField_)) return false; | 1110 if(!doubleField_.Equals(other.doubleField_)) return false; |
1167 if(!floatField_.Equals(other.floatField_)) return false; | 1111 if(!floatField_.Equals(other.floatField_)) return false; |
1168 if(!int64Field_.Equals(other.int64Field_)) return false; | 1112 if(!int64Field_.Equals(other.int64Field_)) return false; |
1169 if(!uint64Field_.Equals(other.uint64Field_)) return false; | 1113 if(!uint64Field_.Equals(other.uint64Field_)) return false; |
1170 if(!int32Field_.Equals(other.int32Field_)) return false; | 1114 if(!int32Field_.Equals(other.int32Field_)) return false; |
1171 if(!uint32Field_.Equals(other.uint32Field_)) return false; | 1115 if(!uint32Field_.Equals(other.uint32Field_)) return false; |
1172 if(!boolField_.Equals(other.boolField_)) return false; | 1116 if(!boolField_.Equals(other.boolField_)) return false; |
1173 if(!stringField_.Equals(other.stringField_)) return false; | 1117 if(!stringField_.Equals(other.stringField_)) return false; |
1174 if(!bytesField_.Equals(other.bytesField_)) return false; | 1118 if(!bytesField_.Equals(other.bytesField_)) return false; |
1175 return true; | 1119 return true; |
1176 } | 1120 } |
1177 | 1121 |
1178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1179 public override int GetHashCode() { | 1122 public override int GetHashCode() { |
1180 int hash = 1; | 1123 int hash = 1; |
1181 hash ^= anyField_.GetHashCode(); | 1124 hash ^= anyField_.GetHashCode(); |
1182 hash ^= apiField_.GetHashCode(); | 1125 hash ^= apiField_.GetHashCode(); |
1183 hash ^= durationField_.GetHashCode(); | 1126 hash ^= durationField_.GetHashCode(); |
1184 hash ^= emptyField_.GetHashCode(); | 1127 hash ^= emptyField_.GetHashCode(); |
1185 hash ^= fieldMaskField_.GetHashCode(); | 1128 hash ^= fieldMaskField_.GetHashCode(); |
1186 hash ^= sourceContextField_.GetHashCode(); | 1129 hash ^= sourceContextField_.GetHashCode(); |
1187 hash ^= structField_.GetHashCode(); | 1130 hash ^= structField_.GetHashCode(); |
1188 hash ^= timestampField_.GetHashCode(); | 1131 hash ^= timestampField_.GetHashCode(); |
1189 hash ^= typeField_.GetHashCode(); | 1132 hash ^= typeField_.GetHashCode(); |
1190 hash ^= doubleField_.GetHashCode(); | 1133 hash ^= doubleField_.GetHashCode(); |
1191 hash ^= floatField_.GetHashCode(); | 1134 hash ^= floatField_.GetHashCode(); |
1192 hash ^= int64Field_.GetHashCode(); | 1135 hash ^= int64Field_.GetHashCode(); |
1193 hash ^= uint64Field_.GetHashCode(); | 1136 hash ^= uint64Field_.GetHashCode(); |
1194 hash ^= int32Field_.GetHashCode(); | 1137 hash ^= int32Field_.GetHashCode(); |
1195 hash ^= uint32Field_.GetHashCode(); | 1138 hash ^= uint32Field_.GetHashCode(); |
1196 hash ^= boolField_.GetHashCode(); | 1139 hash ^= boolField_.GetHashCode(); |
1197 hash ^= stringField_.GetHashCode(); | 1140 hash ^= stringField_.GetHashCode(); |
1198 hash ^= bytesField_.GetHashCode(); | 1141 hash ^= bytesField_.GetHashCode(); |
1199 return hash; | 1142 return hash; |
1200 } | 1143 } |
1201 | 1144 |
1202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1203 public override string ToString() { | 1145 public override string ToString() { |
1204 return pb::JsonFormatter.ToDiagnosticString(this); | 1146 return pb::JsonFormatter.ToDiagnosticString(this); |
1205 } | 1147 } |
1206 | 1148 |
1207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1208 public void WriteTo(pb::CodedOutputStream output) { | 1149 public void WriteTo(pb::CodedOutputStream output) { |
1209 anyField_.WriteTo(output, _repeated_anyField_codec); | 1150 anyField_.WriteTo(output, _repeated_anyField_codec); |
1210 apiField_.WriteTo(output, _repeated_apiField_codec); | 1151 apiField_.WriteTo(output, _repeated_apiField_codec); |
1211 durationField_.WriteTo(output, _repeated_durationField_codec); | 1152 durationField_.WriteTo(output, _repeated_durationField_codec); |
1212 emptyField_.WriteTo(output, _repeated_emptyField_codec); | 1153 emptyField_.WriteTo(output, _repeated_emptyField_codec); |
1213 fieldMaskField_.WriteTo(output, _repeated_fieldMaskField_codec); | 1154 fieldMaskField_.WriteTo(output, _repeated_fieldMaskField_codec); |
1214 sourceContextField_.WriteTo(output, _repeated_sourceContextField_codec); | 1155 sourceContextField_.WriteTo(output, _repeated_sourceContextField_codec); |
1215 structField_.WriteTo(output, _repeated_structField_codec); | 1156 structField_.WriteTo(output, _repeated_structField_codec); |
1216 timestampField_.WriteTo(output, _repeated_timestampField_codec); | 1157 timestampField_.WriteTo(output, _repeated_timestampField_codec); |
1217 typeField_.WriteTo(output, _repeated_typeField_codec); | 1158 typeField_.WriteTo(output, _repeated_typeField_codec); |
1218 doubleField_.WriteTo(output, _repeated_doubleField_codec); | 1159 doubleField_.WriteTo(output, _repeated_doubleField_codec); |
1219 floatField_.WriteTo(output, _repeated_floatField_codec); | 1160 floatField_.WriteTo(output, _repeated_floatField_codec); |
1220 int64Field_.WriteTo(output, _repeated_int64Field_codec); | 1161 int64Field_.WriteTo(output, _repeated_int64Field_codec); |
1221 uint64Field_.WriteTo(output, _repeated_uint64Field_codec); | 1162 uint64Field_.WriteTo(output, _repeated_uint64Field_codec); |
1222 int32Field_.WriteTo(output, _repeated_int32Field_codec); | 1163 int32Field_.WriteTo(output, _repeated_int32Field_codec); |
1223 uint32Field_.WriteTo(output, _repeated_uint32Field_codec); | 1164 uint32Field_.WriteTo(output, _repeated_uint32Field_codec); |
1224 boolField_.WriteTo(output, _repeated_boolField_codec); | 1165 boolField_.WriteTo(output, _repeated_boolField_codec); |
1225 stringField_.WriteTo(output, _repeated_stringField_codec); | 1166 stringField_.WriteTo(output, _repeated_stringField_codec); |
1226 bytesField_.WriteTo(output, _repeated_bytesField_codec); | 1167 bytesField_.WriteTo(output, _repeated_bytesField_codec); |
1227 } | 1168 } |
1228 | 1169 |
1229 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1230 public int CalculateSize() { | 1170 public int CalculateSize() { |
1231 int size = 0; | 1171 int size = 0; |
1232 size += anyField_.CalculateSize(_repeated_anyField_codec); | 1172 size += anyField_.CalculateSize(_repeated_anyField_codec); |
1233 size += apiField_.CalculateSize(_repeated_apiField_codec); | 1173 size += apiField_.CalculateSize(_repeated_apiField_codec); |
1234 size += durationField_.CalculateSize(_repeated_durationField_codec); | 1174 size += durationField_.CalculateSize(_repeated_durationField_codec); |
1235 size += emptyField_.CalculateSize(_repeated_emptyField_codec); | 1175 size += emptyField_.CalculateSize(_repeated_emptyField_codec); |
1236 size += fieldMaskField_.CalculateSize(_repeated_fieldMaskField_codec); | 1176 size += fieldMaskField_.CalculateSize(_repeated_fieldMaskField_codec); |
1237 size += sourceContextField_.CalculateSize(_repeated_sourceContextField_cod
ec); | 1177 size += sourceContextField_.CalculateSize(_repeated_sourceContextField_cod
ec); |
1238 size += structField_.CalculateSize(_repeated_structField_codec); | 1178 size += structField_.CalculateSize(_repeated_structField_codec); |
1239 size += timestampField_.CalculateSize(_repeated_timestampField_codec); | 1179 size += timestampField_.CalculateSize(_repeated_timestampField_codec); |
1240 size += typeField_.CalculateSize(_repeated_typeField_codec); | 1180 size += typeField_.CalculateSize(_repeated_typeField_codec); |
1241 size += doubleField_.CalculateSize(_repeated_doubleField_codec); | 1181 size += doubleField_.CalculateSize(_repeated_doubleField_codec); |
1242 size += floatField_.CalculateSize(_repeated_floatField_codec); | 1182 size += floatField_.CalculateSize(_repeated_floatField_codec); |
1243 size += int64Field_.CalculateSize(_repeated_int64Field_codec); | 1183 size += int64Field_.CalculateSize(_repeated_int64Field_codec); |
1244 size += uint64Field_.CalculateSize(_repeated_uint64Field_codec); | 1184 size += uint64Field_.CalculateSize(_repeated_uint64Field_codec); |
1245 size += int32Field_.CalculateSize(_repeated_int32Field_codec); | 1185 size += int32Field_.CalculateSize(_repeated_int32Field_codec); |
1246 size += uint32Field_.CalculateSize(_repeated_uint32Field_codec); | 1186 size += uint32Field_.CalculateSize(_repeated_uint32Field_codec); |
1247 size += boolField_.CalculateSize(_repeated_boolField_codec); | 1187 size += boolField_.CalculateSize(_repeated_boolField_codec); |
1248 size += stringField_.CalculateSize(_repeated_stringField_codec); | 1188 size += stringField_.CalculateSize(_repeated_stringField_codec); |
1249 size += bytesField_.CalculateSize(_repeated_bytesField_codec); | 1189 size += bytesField_.CalculateSize(_repeated_bytesField_codec); |
1250 return size; | 1190 return size; |
1251 } | 1191 } |
1252 | 1192 |
1253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1254 public void MergeFrom(RepeatedWellKnownTypes other) { | 1193 public void MergeFrom(RepeatedWellKnownTypes other) { |
1255 if (other == null) { | 1194 if (other == null) { |
1256 return; | 1195 return; |
1257 } | 1196 } |
1258 anyField_.Add(other.anyField_); | 1197 anyField_.Add(other.anyField_); |
1259 apiField_.Add(other.apiField_); | 1198 apiField_.Add(other.apiField_); |
1260 durationField_.Add(other.durationField_); | 1199 durationField_.Add(other.durationField_); |
1261 emptyField_.Add(other.emptyField_); | 1200 emptyField_.Add(other.emptyField_); |
1262 fieldMaskField_.Add(other.fieldMaskField_); | 1201 fieldMaskField_.Add(other.fieldMaskField_); |
1263 sourceContextField_.Add(other.sourceContextField_); | 1202 sourceContextField_.Add(other.sourceContextField_); |
1264 structField_.Add(other.structField_); | 1203 structField_.Add(other.structField_); |
1265 timestampField_.Add(other.timestampField_); | 1204 timestampField_.Add(other.timestampField_); |
1266 typeField_.Add(other.typeField_); | 1205 typeField_.Add(other.typeField_); |
1267 doubleField_.Add(other.doubleField_); | 1206 doubleField_.Add(other.doubleField_); |
1268 floatField_.Add(other.floatField_); | 1207 floatField_.Add(other.floatField_); |
1269 int64Field_.Add(other.int64Field_); | 1208 int64Field_.Add(other.int64Field_); |
1270 uint64Field_.Add(other.uint64Field_); | 1209 uint64Field_.Add(other.uint64Field_); |
1271 int32Field_.Add(other.int32Field_); | 1210 int32Field_.Add(other.int32Field_); |
1272 uint32Field_.Add(other.uint32Field_); | 1211 uint32Field_.Add(other.uint32Field_); |
1273 boolField_.Add(other.boolField_); | 1212 boolField_.Add(other.boolField_); |
1274 stringField_.Add(other.stringField_); | 1213 stringField_.Add(other.stringField_); |
1275 bytesField_.Add(other.bytesField_); | 1214 bytesField_.Add(other.bytesField_); |
1276 } | 1215 } |
1277 | 1216 |
1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1279 public void MergeFrom(pb::CodedInputStream input) { | 1217 public void MergeFrom(pb::CodedInputStream input) { |
1280 uint tag; | 1218 uint tag; |
1281 while ((tag = input.ReadTag()) != 0) { | 1219 while ((tag = input.ReadTag()) != 0) { |
1282 switch(tag) { | 1220 switch(tag) { |
1283 default: | 1221 default: |
1284 input.SkipLastField(); | 1222 input.SkipLastField(); |
1285 break; | 1223 break; |
1286 case 10: { | 1224 case 10: { |
1287 anyField_.AddEntriesFrom(input, _repeated_anyField_codec); | 1225 anyField_.AddEntriesFrom(input, _repeated_anyField_codec); |
1288 break; | 1226 break; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 case 146: { | 1292 case 146: { |
1355 bytesField_.AddEntriesFrom(input, _repeated_bytesField_codec); | 1293 bytesField_.AddEntriesFrom(input, _repeated_bytesField_codec); |
1356 break; | 1294 break; |
1357 } | 1295 } |
1358 } | 1296 } |
1359 } | 1297 } |
1360 } | 1298 } |
1361 | 1299 |
1362 } | 1300 } |
1363 | 1301 |
| 1302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
1364 public sealed partial class OneofWellKnownTypes : pb::IMessage<OneofWellKnownT
ypes> { | 1303 public sealed partial class OneofWellKnownTypes : pb::IMessage<OneofWellKnownT
ypes> { |
1365 private static readonly pb::MessageParser<OneofWellKnownTypes> _parser = new
pb::MessageParser<OneofWellKnownTypes>(() => new OneofWellKnownTypes()); | 1304 private static readonly pb::MessageParser<OneofWellKnownTypes> _parser = new
pb::MessageParser<OneofWellKnownTypes>(() => new OneofWellKnownTypes()); |
1366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1367 public static pb::MessageParser<OneofWellKnownTypes> Parser { get { return _
parser; } } | 1305 public static pb::MessageParser<OneofWellKnownTypes> Parser { get { return _
parser; } } |
1368 | 1306 |
1369 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1370 public static pbr::MessageDescriptor Descriptor { | 1307 public static pbr::MessageDescriptor Descriptor { |
1371 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[2]; } | 1308 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[2]; } |
1372 } | 1309 } |
1373 | 1310 |
1374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1375 pbr::MessageDescriptor pb::IMessage.Descriptor { | 1311 pbr::MessageDescriptor pb::IMessage.Descriptor { |
1376 get { return Descriptor; } | 1312 get { return Descriptor; } |
1377 } | 1313 } |
1378 | 1314 |
1379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1380 public OneofWellKnownTypes() { | 1315 public OneofWellKnownTypes() { |
1381 OnConstruction(); | 1316 OnConstruction(); |
1382 } | 1317 } |
1383 | 1318 |
1384 partial void OnConstruction(); | 1319 partial void OnConstruction(); |
1385 | 1320 |
1386 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1387 public OneofWellKnownTypes(OneofWellKnownTypes other) : this() { | 1321 public OneofWellKnownTypes(OneofWellKnownTypes other) : this() { |
1388 switch (other.OneofFieldCase) { | 1322 switch (other.OneofFieldCase) { |
1389 case OneofFieldOneofCase.AnyField: | 1323 case OneofFieldOneofCase.AnyField: |
1390 AnyField = other.AnyField.Clone(); | 1324 AnyField = other.AnyField.Clone(); |
1391 break; | 1325 break; |
1392 case OneofFieldOneofCase.ApiField: | 1326 case OneofFieldOneofCase.ApiField: |
1393 ApiField = other.ApiField.Clone(); | 1327 ApiField = other.ApiField.Clone(); |
1394 break; | 1328 break; |
1395 case OneofFieldOneofCase.DurationField: | 1329 case OneofFieldOneofCase.DurationField: |
1396 DurationField = other.DurationField.Clone(); | 1330 DurationField = other.DurationField.Clone(); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 case OneofFieldOneofCase.StringField: | 1371 case OneofFieldOneofCase.StringField: |
1438 StringField = other.StringField; | 1372 StringField = other.StringField; |
1439 break; | 1373 break; |
1440 case OneofFieldOneofCase.BytesField: | 1374 case OneofFieldOneofCase.BytesField: |
1441 BytesField = other.BytesField; | 1375 BytesField = other.BytesField; |
1442 break; | 1376 break; |
1443 } | 1377 } |
1444 | 1378 |
1445 } | 1379 } |
1446 | 1380 |
1447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1448 public OneofWellKnownTypes Clone() { | 1381 public OneofWellKnownTypes Clone() { |
1449 return new OneofWellKnownTypes(this); | 1382 return new OneofWellKnownTypes(this); |
1450 } | 1383 } |
1451 | 1384 |
1452 /// <summary>Field number for the "any_field" field.</summary> | 1385 /// <summary>Field number for the "any_field" field.</summary> |
1453 public const int AnyFieldFieldNumber = 1; | 1386 public const int AnyFieldFieldNumber = 1; |
1454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1455 public global::Google.Protobuf.WellKnownTypes.Any AnyField { | 1387 public global::Google.Protobuf.WellKnownTypes.Any AnyField { |
1456 get { return oneofFieldCase_ == OneofFieldOneofCase.AnyField ? (global::Go
ogle.Protobuf.WellKnownTypes.Any) oneofField_ : null; } | 1388 get { return oneofFieldCase_ == OneofFieldOneofCase.AnyField ? (global::Go
ogle.Protobuf.WellKnownTypes.Any) oneofField_ : null; } |
1457 set { | 1389 set { |
1458 oneofField_ = value; | 1390 oneofField_ = value; |
1459 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.AnyField; | 1391 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.AnyField; |
1460 } | 1392 } |
1461 } | 1393 } |
1462 | 1394 |
1463 /// <summary>Field number for the "api_field" field.</summary> | 1395 /// <summary>Field number for the "api_field" field.</summary> |
1464 public const int ApiFieldFieldNumber = 2; | 1396 public const int ApiFieldFieldNumber = 2; |
1465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1466 public global::Google.Protobuf.WellKnownTypes.Api ApiField { | 1397 public global::Google.Protobuf.WellKnownTypes.Api ApiField { |
1467 get { return oneofFieldCase_ == OneofFieldOneofCase.ApiField ? (global::Go
ogle.Protobuf.WellKnownTypes.Api) oneofField_ : null; } | 1398 get { return oneofFieldCase_ == OneofFieldOneofCase.ApiField ? (global::Go
ogle.Protobuf.WellKnownTypes.Api) oneofField_ : null; } |
1468 set { | 1399 set { |
1469 oneofField_ = value; | 1400 oneofField_ = value; |
1470 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.ApiField; | 1401 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.ApiField; |
1471 } | 1402 } |
1472 } | 1403 } |
1473 | 1404 |
1474 /// <summary>Field number for the "duration_field" field.</summary> | 1405 /// <summary>Field number for the "duration_field" field.</summary> |
1475 public const int DurationFieldFieldNumber = 3; | 1406 public const int DurationFieldFieldNumber = 3; |
1476 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1477 public global::Google.Protobuf.WellKnownTypes.Duration DurationField { | 1407 public global::Google.Protobuf.WellKnownTypes.Duration DurationField { |
1478 get { return oneofFieldCase_ == OneofFieldOneofCase.DurationField ? (globa
l::Google.Protobuf.WellKnownTypes.Duration) oneofField_ : null; } | 1408 get { return oneofFieldCase_ == OneofFieldOneofCase.DurationField ? (globa
l::Google.Protobuf.WellKnownTypes.Duration) oneofField_ : null; } |
1479 set { | 1409 set { |
1480 oneofField_ = value; | 1410 oneofField_ = value; |
1481 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.DurationField; | 1411 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.DurationField; |
1482 } | 1412 } |
1483 } | 1413 } |
1484 | 1414 |
1485 /// <summary>Field number for the "empty_field" field.</summary> | 1415 /// <summary>Field number for the "empty_field" field.</summary> |
1486 public const int EmptyFieldFieldNumber = 4; | 1416 public const int EmptyFieldFieldNumber = 4; |
1487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1488 public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { | 1417 public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { |
1489 get { return oneofFieldCase_ == OneofFieldOneofCase.EmptyField ? (global::
Google.Protobuf.WellKnownTypes.Empty) oneofField_ : null; } | 1418 get { return oneofFieldCase_ == OneofFieldOneofCase.EmptyField ? (global::
Google.Protobuf.WellKnownTypes.Empty) oneofField_ : null; } |
1490 set { | 1419 set { |
1491 oneofField_ = value; | 1420 oneofField_ = value; |
1492 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.EmptyField; | 1421 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.EmptyField; |
1493 } | 1422 } |
1494 } | 1423 } |
1495 | 1424 |
1496 /// <summary>Field number for the "field_mask_field" field.</summary> | 1425 /// <summary>Field number for the "field_mask_field" field.</summary> |
1497 public const int FieldMaskFieldFieldNumber = 5; | 1426 public const int FieldMaskFieldFieldNumber = 5; |
1498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1499 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { | 1427 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { |
1500 get { return oneofFieldCase_ == OneofFieldOneofCase.FieldMaskField ? (glob
al::Google.Protobuf.WellKnownTypes.FieldMask) oneofField_ : null; } | 1428 get { return oneofFieldCase_ == OneofFieldOneofCase.FieldMaskField ? (glob
al::Google.Protobuf.WellKnownTypes.FieldMask) oneofField_ : null; } |
1501 set { | 1429 set { |
1502 oneofField_ = value; | 1430 oneofField_ = value; |
1503 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.FieldMaskField; | 1431 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.FieldMaskField; |
1504 } | 1432 } |
1505 } | 1433 } |
1506 | 1434 |
1507 /// <summary>Field number for the "source_context_field" field.</summary> | 1435 /// <summary>Field number for the "source_context_field" field.</summary> |
1508 public const int SourceContextFieldFieldNumber = 6; | 1436 public const int SourceContextFieldFieldNumber = 6; |
1509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1510 public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextFie
ld { | 1437 public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextFie
ld { |
1511 get { return oneofFieldCase_ == OneofFieldOneofCase.SourceContextField ? (
global::Google.Protobuf.WellKnownTypes.SourceContext) oneofField_ : null; } | 1438 get { return oneofFieldCase_ == OneofFieldOneofCase.SourceContextField ? (
global::Google.Protobuf.WellKnownTypes.SourceContext) oneofField_ : null; } |
1512 set { | 1439 set { |
1513 oneofField_ = value; | 1440 oneofField_ = value; |
1514 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.SourceContextField; | 1441 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.SourceContextField; |
1515 } | 1442 } |
1516 } | 1443 } |
1517 | 1444 |
1518 /// <summary>Field number for the "struct_field" field.</summary> | 1445 /// <summary>Field number for the "struct_field" field.</summary> |
1519 public const int StructFieldFieldNumber = 7; | 1446 public const int StructFieldFieldNumber = 7; |
1520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1521 public global::Google.Protobuf.WellKnownTypes.Struct StructField { | 1447 public global::Google.Protobuf.WellKnownTypes.Struct StructField { |
1522 get { return oneofFieldCase_ == OneofFieldOneofCase.StructField ? (global:
:Google.Protobuf.WellKnownTypes.Struct) oneofField_ : null; } | 1448 get { return oneofFieldCase_ == OneofFieldOneofCase.StructField ? (global:
:Google.Protobuf.WellKnownTypes.Struct) oneofField_ : null; } |
1523 set { | 1449 set { |
1524 oneofField_ = value; | 1450 oneofField_ = value; |
1525 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.StructField; | 1451 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.StructField; |
1526 } | 1452 } |
1527 } | 1453 } |
1528 | 1454 |
1529 /// <summary>Field number for the "timestamp_field" field.</summary> | 1455 /// <summary>Field number for the "timestamp_field" field.</summary> |
1530 public const int TimestampFieldFieldNumber = 8; | 1456 public const int TimestampFieldFieldNumber = 8; |
1531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1532 public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField { | 1457 public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField { |
1533 get { return oneofFieldCase_ == OneofFieldOneofCase.TimestampField ? (glob
al::Google.Protobuf.WellKnownTypes.Timestamp) oneofField_ : null; } | 1458 get { return oneofFieldCase_ == OneofFieldOneofCase.TimestampField ? (glob
al::Google.Protobuf.WellKnownTypes.Timestamp) oneofField_ : null; } |
1534 set { | 1459 set { |
1535 oneofField_ = value; | 1460 oneofField_ = value; |
1536 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.TimestampField; | 1461 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.TimestampField; |
1537 } | 1462 } |
1538 } | 1463 } |
1539 | 1464 |
1540 /// <summary>Field number for the "type_field" field.</summary> | 1465 /// <summary>Field number for the "type_field" field.</summary> |
1541 public const int TypeFieldFieldNumber = 9; | 1466 public const int TypeFieldFieldNumber = 9; |
1542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1543 public global::Google.Protobuf.WellKnownTypes.Type TypeField { | 1467 public global::Google.Protobuf.WellKnownTypes.Type TypeField { |
1544 get { return oneofFieldCase_ == OneofFieldOneofCase.TypeField ? (global::G
oogle.Protobuf.WellKnownTypes.Type) oneofField_ : null; } | 1468 get { return oneofFieldCase_ == OneofFieldOneofCase.TypeField ? (global::G
oogle.Protobuf.WellKnownTypes.Type) oneofField_ : null; } |
1545 set { | 1469 set { |
1546 oneofField_ = value; | 1470 oneofField_ = value; |
1547 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.TypeField; | 1471 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.TypeField; |
1548 } | 1472 } |
1549 } | 1473 } |
1550 | 1474 |
1551 /// <summary>Field number for the "double_field" field.</summary> | 1475 /// <summary>Field number for the "double_field" field.</summary> |
1552 public const int DoubleFieldFieldNumber = 10; | 1476 public const int DoubleFieldFieldNumber = 10; |
1553 private static readonly pb::FieldCodec<double?> _oneof_doubleField_codec = p
b::FieldCodec.ForStructWrapper<double>(82); | 1477 private static readonly pb::FieldCodec<double?> _oneof_doubleField_codec = p
b::FieldCodec.ForStructWrapper<double>(82); |
1554 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1555 public double? DoubleField { | 1478 public double? DoubleField { |
1556 get { return oneofFieldCase_ == OneofFieldOneofCase.DoubleField ? (double?
) oneofField_ : (double?) null; } | 1479 get { return oneofFieldCase_ == OneofFieldOneofCase.DoubleField ? (double?
) oneofField_ : (double?) null; } |
1557 set { | 1480 set { |
1558 oneofField_ = value; | 1481 oneofField_ = value; |
1559 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.DoubleField; | 1482 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.DoubleField; |
1560 } | 1483 } |
1561 } | 1484 } |
1562 | 1485 |
1563 /// <summary>Field number for the "float_field" field.</summary> | 1486 /// <summary>Field number for the "float_field" field.</summary> |
1564 public const int FloatFieldFieldNumber = 11; | 1487 public const int FloatFieldFieldNumber = 11; |
1565 private static readonly pb::FieldCodec<float?> _oneof_floatField_codec = pb:
:FieldCodec.ForStructWrapper<float>(90); | 1488 private static readonly pb::FieldCodec<float?> _oneof_floatField_codec = pb:
:FieldCodec.ForStructWrapper<float>(90); |
1566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1567 public float? FloatField { | 1489 public float? FloatField { |
1568 get { return oneofFieldCase_ == OneofFieldOneofCase.FloatField ? (float?)
oneofField_ : (float?) null; } | 1490 get { return oneofFieldCase_ == OneofFieldOneofCase.FloatField ? (float?)
oneofField_ : (float?) null; } |
1569 set { | 1491 set { |
1570 oneofField_ = value; | 1492 oneofField_ = value; |
1571 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.FloatField; | 1493 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.FloatField; |
1572 } | 1494 } |
1573 } | 1495 } |
1574 | 1496 |
1575 /// <summary>Field number for the "int64_field" field.</summary> | 1497 /// <summary>Field number for the "int64_field" field.</summary> |
1576 public const int Int64FieldFieldNumber = 12; | 1498 public const int Int64FieldFieldNumber = 12; |
1577 private static readonly pb::FieldCodec<long?> _oneof_int64Field_codec = pb::
FieldCodec.ForStructWrapper<long>(98); | 1499 private static readonly pb::FieldCodec<long?> _oneof_int64Field_codec = pb::
FieldCodec.ForStructWrapper<long>(98); |
1578 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1579 public long? Int64Field { | 1500 public long? Int64Field { |
1580 get { return oneofFieldCase_ == OneofFieldOneofCase.Int64Field ? (long?) o
neofField_ : (long?) null; } | 1501 get { return oneofFieldCase_ == OneofFieldOneofCase.Int64Field ? (long?) o
neofField_ : (long?) null; } |
1581 set { | 1502 set { |
1582 oneofField_ = value; | 1503 oneofField_ = value; |
1583 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Int64Field; | 1504 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Int64Field; |
1584 } | 1505 } |
1585 } | 1506 } |
1586 | 1507 |
1587 /// <summary>Field number for the "uint64_field" field.</summary> | 1508 /// <summary>Field number for the "uint64_field" field.</summary> |
1588 public const int Uint64FieldFieldNumber = 13; | 1509 public const int Uint64FieldFieldNumber = 13; |
1589 private static readonly pb::FieldCodec<ulong?> _oneof_uint64Field_codec = pb
::FieldCodec.ForStructWrapper<ulong>(106); | 1510 private static readonly pb::FieldCodec<ulong?> _oneof_uint64Field_codec = pb
::FieldCodec.ForStructWrapper<ulong>(106); |
1590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1591 public ulong? Uint64Field { | 1511 public ulong? Uint64Field { |
1592 get { return oneofFieldCase_ == OneofFieldOneofCase.Uint64Field ? (ulong?)
oneofField_ : (ulong?) null; } | 1512 get { return oneofFieldCase_ == OneofFieldOneofCase.Uint64Field ? (ulong?)
oneofField_ : (ulong?) null; } |
1593 set { | 1513 set { |
1594 oneofField_ = value; | 1514 oneofField_ = value; |
1595 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Uint64Field; | 1515 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Uint64Field; |
1596 } | 1516 } |
1597 } | 1517 } |
1598 | 1518 |
1599 /// <summary>Field number for the "int32_field" field.</summary> | 1519 /// <summary>Field number for the "int32_field" field.</summary> |
1600 public const int Int32FieldFieldNumber = 14; | 1520 public const int Int32FieldFieldNumber = 14; |
1601 private static readonly pb::FieldCodec<int?> _oneof_int32Field_codec = pb::F
ieldCodec.ForStructWrapper<int>(114); | 1521 private static readonly pb::FieldCodec<int?> _oneof_int32Field_codec = pb::F
ieldCodec.ForStructWrapper<int>(114); |
1602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1603 public int? Int32Field { | 1522 public int? Int32Field { |
1604 get { return oneofFieldCase_ == OneofFieldOneofCase.Int32Field ? (int?) on
eofField_ : (int?) null; } | 1523 get { return oneofFieldCase_ == OneofFieldOneofCase.Int32Field ? (int?) on
eofField_ : (int?) null; } |
1605 set { | 1524 set { |
1606 oneofField_ = value; | 1525 oneofField_ = value; |
1607 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Int32Field; | 1526 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Int32Field; |
1608 } | 1527 } |
1609 } | 1528 } |
1610 | 1529 |
1611 /// <summary>Field number for the "uint32_field" field.</summary> | 1530 /// <summary>Field number for the "uint32_field" field.</summary> |
1612 public const int Uint32FieldFieldNumber = 15; | 1531 public const int Uint32FieldFieldNumber = 15; |
1613 private static readonly pb::FieldCodec<uint?> _oneof_uint32Field_codec = pb:
:FieldCodec.ForStructWrapper<uint>(122); | 1532 private static readonly pb::FieldCodec<uint?> _oneof_uint32Field_codec = pb:
:FieldCodec.ForStructWrapper<uint>(122); |
1614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1615 public uint? Uint32Field { | 1533 public uint? Uint32Field { |
1616 get { return oneofFieldCase_ == OneofFieldOneofCase.Uint32Field ? (uint?)
oneofField_ : (uint?) null; } | 1534 get { return oneofFieldCase_ == OneofFieldOneofCase.Uint32Field ? (uint?)
oneofField_ : (uint?) null; } |
1617 set { | 1535 set { |
1618 oneofField_ = value; | 1536 oneofField_ = value; |
1619 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Uint32Field; | 1537 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.Uint32Field; |
1620 } | 1538 } |
1621 } | 1539 } |
1622 | 1540 |
1623 /// <summary>Field number for the "bool_field" field.</summary> | 1541 /// <summary>Field number for the "bool_field" field.</summary> |
1624 public const int BoolFieldFieldNumber = 16; | 1542 public const int BoolFieldFieldNumber = 16; |
1625 private static readonly pb::FieldCodec<bool?> _oneof_boolField_codec = pb::F
ieldCodec.ForStructWrapper<bool>(130); | 1543 private static readonly pb::FieldCodec<bool?> _oneof_boolField_codec = pb::F
ieldCodec.ForStructWrapper<bool>(130); |
1626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1627 public bool? BoolField { | 1544 public bool? BoolField { |
1628 get { return oneofFieldCase_ == OneofFieldOneofCase.BoolField ? (bool?) on
eofField_ : (bool?) null; } | 1545 get { return oneofFieldCase_ == OneofFieldOneofCase.BoolField ? (bool?) on
eofField_ : (bool?) null; } |
1629 set { | 1546 set { |
1630 oneofField_ = value; | 1547 oneofField_ = value; |
1631 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.BoolField; | 1548 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.BoolField; |
1632 } | 1549 } |
1633 } | 1550 } |
1634 | 1551 |
1635 /// <summary>Field number for the "string_field" field.</summary> | 1552 /// <summary>Field number for the "string_field" field.</summary> |
1636 public const int StringFieldFieldNumber = 17; | 1553 public const int StringFieldFieldNumber = 17; |
1637 private static readonly pb::FieldCodec<string> _oneof_stringField_codec = pb
::FieldCodec.ForClassWrapper<string>(138); | 1554 private static readonly pb::FieldCodec<string> _oneof_stringField_codec = pb
::FieldCodec.ForClassWrapper<string>(138); |
1638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1639 public string StringField { | 1555 public string StringField { |
1640 get { return oneofFieldCase_ == OneofFieldOneofCase.StringField ? (string)
oneofField_ : (string) null; } | 1556 get { return oneofFieldCase_ == OneofFieldOneofCase.StringField ? (string)
oneofField_ : (string) null; } |
1641 set { | 1557 set { |
1642 oneofField_ = value; | 1558 oneofField_ = value; |
1643 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.StringField; | 1559 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.StringField; |
1644 } | 1560 } |
1645 } | 1561 } |
1646 | 1562 |
1647 /// <summary>Field number for the "bytes_field" field.</summary> | 1563 /// <summary>Field number for the "bytes_field" field.</summary> |
1648 public const int BytesFieldFieldNumber = 18; | 1564 public const int BytesFieldFieldNumber = 18; |
1649 private static readonly pb::FieldCodec<pb::ByteString> _oneof_bytesField_cod
ec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); | 1565 private static readonly pb::FieldCodec<pb::ByteString> _oneof_bytesField_cod
ec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); |
1650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1651 public pb::ByteString BytesField { | 1566 public pb::ByteString BytesField { |
1652 get { return oneofFieldCase_ == OneofFieldOneofCase.BytesField ? (pb::Byte
String) oneofField_ : (pb::ByteString) null; } | 1567 get { return oneofFieldCase_ == OneofFieldOneofCase.BytesField ? (pb::Byte
String) oneofField_ : (pb::ByteString) null; } |
1653 set { | 1568 set { |
1654 oneofField_ = value; | 1569 oneofField_ = value; |
1655 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.BytesField; | 1570 oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldO
neofCase.BytesField; |
1656 } | 1571 } |
1657 } | 1572 } |
1658 | 1573 |
1659 private object oneofField_; | 1574 private object oneofField_; |
1660 /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary> | 1575 /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary> |
(...skipping 12 matching lines...) Expand all Loading... |
1673 FloatField = 11, | 1588 FloatField = 11, |
1674 Int64Field = 12, | 1589 Int64Field = 12, |
1675 Uint64Field = 13, | 1590 Uint64Field = 13, |
1676 Int32Field = 14, | 1591 Int32Field = 14, |
1677 Uint32Field = 15, | 1592 Uint32Field = 15, |
1678 BoolField = 16, | 1593 BoolField = 16, |
1679 StringField = 17, | 1594 StringField = 17, |
1680 BytesField = 18, | 1595 BytesField = 18, |
1681 } | 1596 } |
1682 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; | 1597 private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; |
1683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1684 public OneofFieldOneofCase OneofFieldCase { | 1598 public OneofFieldOneofCase OneofFieldCase { |
1685 get { return oneofFieldCase_; } | 1599 get { return oneofFieldCase_; } |
1686 } | 1600 } |
1687 | 1601 |
1688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1689 public void ClearOneofField() { | 1602 public void ClearOneofField() { |
1690 oneofFieldCase_ = OneofFieldOneofCase.None; | 1603 oneofFieldCase_ = OneofFieldOneofCase.None; |
1691 oneofField_ = null; | 1604 oneofField_ = null; |
1692 } | 1605 } |
1693 | 1606 |
1694 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1695 public override bool Equals(object other) { | 1607 public override bool Equals(object other) { |
1696 return Equals(other as OneofWellKnownTypes); | 1608 return Equals(other as OneofWellKnownTypes); |
1697 } | 1609 } |
1698 | 1610 |
1699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1700 public bool Equals(OneofWellKnownTypes other) { | 1611 public bool Equals(OneofWellKnownTypes other) { |
1701 if (ReferenceEquals(other, null)) { | 1612 if (ReferenceEquals(other, null)) { |
1702 return false; | 1613 return false; |
1703 } | 1614 } |
1704 if (ReferenceEquals(other, this)) { | 1615 if (ReferenceEquals(other, this)) { |
1705 return true; | 1616 return true; |
1706 } | 1617 } |
1707 if (!object.Equals(AnyField, other.AnyField)) return false; | 1618 if (!object.Equals(AnyField, other.AnyField)) return false; |
1708 if (!object.Equals(ApiField, other.ApiField)) return false; | 1619 if (!object.Equals(ApiField, other.ApiField)) return false; |
1709 if (!object.Equals(DurationField, other.DurationField)) return false; | 1620 if (!object.Equals(DurationField, other.DurationField)) return false; |
1710 if (!object.Equals(EmptyField, other.EmptyField)) return false; | 1621 if (!object.Equals(EmptyField, other.EmptyField)) return false; |
1711 if (!object.Equals(FieldMaskField, other.FieldMaskField)) return false; | 1622 if (!object.Equals(FieldMaskField, other.FieldMaskField)) return false; |
1712 if (!object.Equals(SourceContextField, other.SourceContextField)) return f
alse; | 1623 if (!object.Equals(SourceContextField, other.SourceContextField)) return f
alse; |
1713 if (!object.Equals(StructField, other.StructField)) return false; | 1624 if (!object.Equals(StructField, other.StructField)) return false; |
1714 if (!object.Equals(TimestampField, other.TimestampField)) return false; | 1625 if (!object.Equals(TimestampField, other.TimestampField)) return false; |
1715 if (!object.Equals(TypeField, other.TypeField)) return false; | 1626 if (!object.Equals(TypeField, other.TypeField)) return false; |
1716 if (DoubleField != other.DoubleField) return false; | 1627 if (DoubleField != other.DoubleField) return false; |
1717 if (FloatField != other.FloatField) return false; | 1628 if (FloatField != other.FloatField) return false; |
1718 if (Int64Field != other.Int64Field) return false; | 1629 if (Int64Field != other.Int64Field) return false; |
1719 if (Uint64Field != other.Uint64Field) return false; | 1630 if (Uint64Field != other.Uint64Field) return false; |
1720 if (Int32Field != other.Int32Field) return false; | 1631 if (Int32Field != other.Int32Field) return false; |
1721 if (Uint32Field != other.Uint32Field) return false; | 1632 if (Uint32Field != other.Uint32Field) return false; |
1722 if (BoolField != other.BoolField) return false; | 1633 if (BoolField != other.BoolField) return false; |
1723 if (StringField != other.StringField) return false; | 1634 if (StringField != other.StringField) return false; |
1724 if (BytesField != other.BytesField) return false; | 1635 if (BytesField != other.BytesField) return false; |
1725 if (OneofFieldCase != other.OneofFieldCase) return false; | 1636 if (OneofFieldCase != other.OneofFieldCase) return false; |
1726 return true; | 1637 return true; |
1727 } | 1638 } |
1728 | 1639 |
1729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1730 public override int GetHashCode() { | 1640 public override int GetHashCode() { |
1731 int hash = 1; | 1641 int hash = 1; |
1732 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) hash ^= AnyField.GetH
ashCode(); | 1642 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) hash ^= AnyField.GetH
ashCode(); |
1733 if (oneofFieldCase_ == OneofFieldOneofCase.ApiField) hash ^= ApiField.GetH
ashCode(); | 1643 if (oneofFieldCase_ == OneofFieldOneofCase.ApiField) hash ^= ApiField.GetH
ashCode(); |
1734 if (oneofFieldCase_ == OneofFieldOneofCase.DurationField) hash ^= Duration
Field.GetHashCode(); | 1644 if (oneofFieldCase_ == OneofFieldOneofCase.DurationField) hash ^= Duration
Field.GetHashCode(); |
1735 if (oneofFieldCase_ == OneofFieldOneofCase.EmptyField) hash ^= EmptyField.
GetHashCode(); | 1645 if (oneofFieldCase_ == OneofFieldOneofCase.EmptyField) hash ^= EmptyField.
GetHashCode(); |
1736 if (oneofFieldCase_ == OneofFieldOneofCase.FieldMaskField) hash ^= FieldMa
skField.GetHashCode(); | 1646 if (oneofFieldCase_ == OneofFieldOneofCase.FieldMaskField) hash ^= FieldMa
skField.GetHashCode(); |
1737 if (oneofFieldCase_ == OneofFieldOneofCase.SourceContextField) hash ^= Sou
rceContextField.GetHashCode(); | 1647 if (oneofFieldCase_ == OneofFieldOneofCase.SourceContextField) hash ^= Sou
rceContextField.GetHashCode(); |
1738 if (oneofFieldCase_ == OneofFieldOneofCase.StructField) hash ^= StructFiel
d.GetHashCode(); | 1648 if (oneofFieldCase_ == OneofFieldOneofCase.StructField) hash ^= StructFiel
d.GetHashCode(); |
1739 if (oneofFieldCase_ == OneofFieldOneofCase.TimestampField) hash ^= Timesta
mpField.GetHashCode(); | 1649 if (oneofFieldCase_ == OneofFieldOneofCase.TimestampField) hash ^= Timesta
mpField.GetHashCode(); |
1740 if (oneofFieldCase_ == OneofFieldOneofCase.TypeField) hash ^= TypeField.Ge
tHashCode(); | 1650 if (oneofFieldCase_ == OneofFieldOneofCase.TypeField) hash ^= TypeField.Ge
tHashCode(); |
1741 if (oneofFieldCase_ == OneofFieldOneofCase.DoubleField) hash ^= DoubleFiel
d.GetHashCode(); | 1651 if (oneofFieldCase_ == OneofFieldOneofCase.DoubleField) hash ^= DoubleFiel
d.GetHashCode(); |
1742 if (oneofFieldCase_ == OneofFieldOneofCase.FloatField) hash ^= FloatField.
GetHashCode(); | 1652 if (oneofFieldCase_ == OneofFieldOneofCase.FloatField) hash ^= FloatField.
GetHashCode(); |
1743 if (oneofFieldCase_ == OneofFieldOneofCase.Int64Field) hash ^= Int64Field.
GetHashCode(); | 1653 if (oneofFieldCase_ == OneofFieldOneofCase.Int64Field) hash ^= Int64Field.
GetHashCode(); |
1744 if (oneofFieldCase_ == OneofFieldOneofCase.Uint64Field) hash ^= Uint64Fiel
d.GetHashCode(); | 1654 if (oneofFieldCase_ == OneofFieldOneofCase.Uint64Field) hash ^= Uint64Fiel
d.GetHashCode(); |
1745 if (oneofFieldCase_ == OneofFieldOneofCase.Int32Field) hash ^= Int32Field.
GetHashCode(); | 1655 if (oneofFieldCase_ == OneofFieldOneofCase.Int32Field) hash ^= Int32Field.
GetHashCode(); |
1746 if (oneofFieldCase_ == OneofFieldOneofCase.Uint32Field) hash ^= Uint32Fiel
d.GetHashCode(); | 1656 if (oneofFieldCase_ == OneofFieldOneofCase.Uint32Field) hash ^= Uint32Fiel
d.GetHashCode(); |
1747 if (oneofFieldCase_ == OneofFieldOneofCase.BoolField) hash ^= BoolField.Ge
tHashCode(); | 1657 if (oneofFieldCase_ == OneofFieldOneofCase.BoolField) hash ^= BoolField.Ge
tHashCode(); |
1748 if (oneofFieldCase_ == OneofFieldOneofCase.StringField) hash ^= StringFiel
d.GetHashCode(); | 1658 if (oneofFieldCase_ == OneofFieldOneofCase.StringField) hash ^= StringFiel
d.GetHashCode(); |
1749 if (oneofFieldCase_ == OneofFieldOneofCase.BytesField) hash ^= BytesField.
GetHashCode(); | 1659 if (oneofFieldCase_ == OneofFieldOneofCase.BytesField) hash ^= BytesField.
GetHashCode(); |
1750 hash ^= (int) oneofFieldCase_; | 1660 hash ^= (int) oneofFieldCase_; |
1751 return hash; | 1661 return hash; |
1752 } | 1662 } |
1753 | 1663 |
1754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1755 public override string ToString() { | 1664 public override string ToString() { |
1756 return pb::JsonFormatter.ToDiagnosticString(this); | 1665 return pb::JsonFormatter.ToDiagnosticString(this); |
1757 } | 1666 } |
1758 | 1667 |
1759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1760 public void WriteTo(pb::CodedOutputStream output) { | 1668 public void WriteTo(pb::CodedOutputStream output) { |
1761 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { | 1669 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { |
1762 output.WriteRawTag(10); | 1670 output.WriteRawTag(10); |
1763 output.WriteMessage(AnyField); | 1671 output.WriteMessage(AnyField); |
1764 } | 1672 } |
1765 if (oneofFieldCase_ == OneofFieldOneofCase.ApiField) { | 1673 if (oneofFieldCase_ == OneofFieldOneofCase.ApiField) { |
1766 output.WriteRawTag(18); | 1674 output.WriteRawTag(18); |
1767 output.WriteMessage(ApiField); | 1675 output.WriteMessage(ApiField); |
1768 } | 1676 } |
1769 if (oneofFieldCase_ == OneofFieldOneofCase.DurationField) { | 1677 if (oneofFieldCase_ == OneofFieldOneofCase.DurationField) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1816 _oneof_boolField_codec.WriteTagAndValue(output, (bool?) oneofField_); | 1724 _oneof_boolField_codec.WriteTagAndValue(output, (bool?) oneofField_); |
1817 } | 1725 } |
1818 if (oneofFieldCase_ == OneofFieldOneofCase.StringField) { | 1726 if (oneofFieldCase_ == OneofFieldOneofCase.StringField) { |
1819 _oneof_stringField_codec.WriteTagAndValue(output, (string) oneofField_); | 1727 _oneof_stringField_codec.WriteTagAndValue(output, (string) oneofField_); |
1820 } | 1728 } |
1821 if (oneofFieldCase_ == OneofFieldOneofCase.BytesField) { | 1729 if (oneofFieldCase_ == OneofFieldOneofCase.BytesField) { |
1822 _oneof_bytesField_codec.WriteTagAndValue(output, (pb::ByteString) oneofF
ield_); | 1730 _oneof_bytesField_codec.WriteTagAndValue(output, (pb::ByteString) oneofF
ield_); |
1823 } | 1731 } |
1824 } | 1732 } |
1825 | 1733 |
1826 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1827 public int CalculateSize() { | 1734 public int CalculateSize() { |
1828 int size = 0; | 1735 int size = 0; |
1829 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { | 1736 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { |
1830 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnyField); | 1737 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnyField); |
1831 } | 1738 } |
1832 if (oneofFieldCase_ == OneofFieldOneofCase.ApiField) { | 1739 if (oneofFieldCase_ == OneofFieldOneofCase.ApiField) { |
1833 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApiField); | 1740 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApiField); |
1834 } | 1741 } |
1835 if (oneofFieldCase_ == OneofFieldOneofCase.DurationField) { | 1742 if (oneofFieldCase_ == OneofFieldOneofCase.DurationField) { |
1836 size += 1 + pb::CodedOutputStream.ComputeMessageSize(DurationField); | 1743 size += 1 + pb::CodedOutputStream.ComputeMessageSize(DurationField); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1876 } | 1783 } |
1877 if (oneofFieldCase_ == OneofFieldOneofCase.StringField) { | 1784 if (oneofFieldCase_ == OneofFieldOneofCase.StringField) { |
1878 size += _oneof_stringField_codec.CalculateSizeWithTag(StringField); | 1785 size += _oneof_stringField_codec.CalculateSizeWithTag(StringField); |
1879 } | 1786 } |
1880 if (oneofFieldCase_ == OneofFieldOneofCase.BytesField) { | 1787 if (oneofFieldCase_ == OneofFieldOneofCase.BytesField) { |
1881 size += _oneof_bytesField_codec.CalculateSizeWithTag(BytesField); | 1788 size += _oneof_bytesField_codec.CalculateSizeWithTag(BytesField); |
1882 } | 1789 } |
1883 return size; | 1790 return size; |
1884 } | 1791 } |
1885 | 1792 |
1886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1887 public void MergeFrom(OneofWellKnownTypes other) { | 1793 public void MergeFrom(OneofWellKnownTypes other) { |
1888 if (other == null) { | 1794 if (other == null) { |
1889 return; | 1795 return; |
1890 } | 1796 } |
1891 switch (other.OneofFieldCase) { | 1797 switch (other.OneofFieldCase) { |
1892 case OneofFieldOneofCase.AnyField: | 1798 case OneofFieldOneofCase.AnyField: |
1893 AnyField = other.AnyField; | 1799 AnyField = other.AnyField; |
1894 break; | 1800 break; |
1895 case OneofFieldOneofCase.ApiField: | 1801 case OneofFieldOneofCase.ApiField: |
1896 ApiField = other.ApiField; | 1802 ApiField = other.ApiField; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 case OneofFieldOneofCase.StringField: | 1846 case OneofFieldOneofCase.StringField: |
1941 StringField = other.StringField; | 1847 StringField = other.StringField; |
1942 break; | 1848 break; |
1943 case OneofFieldOneofCase.BytesField: | 1849 case OneofFieldOneofCase.BytesField: |
1944 BytesField = other.BytesField; | 1850 BytesField = other.BytesField; |
1945 break; | 1851 break; |
1946 } | 1852 } |
1947 | 1853 |
1948 } | 1854 } |
1949 | 1855 |
1950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
1951 public void MergeFrom(pb::CodedInputStream input) { | 1856 public void MergeFrom(pb::CodedInputStream input) { |
1952 uint tag; | 1857 uint tag; |
1953 while ((tag = input.ReadTag()) != 0) { | 1858 while ((tag = input.ReadTag()) != 0) { |
1954 switch(tag) { | 1859 switch(tag) { |
1955 default: | 1860 default: |
1956 input.SkipLastField(); | 1861 input.SkipLastField(); |
1957 break; | 1862 break; |
1958 case 10: { | 1863 case 10: { |
1959 global::Google.Protobuf.WellKnownTypes.Any subBuilder = new global::
Google.Protobuf.WellKnownTypes.Any(); | 1864 global::Google.Protobuf.WellKnownTypes.Any subBuilder = new global::
Google.Protobuf.WellKnownTypes.Any(); |
1960 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { | 1865 if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 BytesField = _oneof_bytesField_codec.Read(input); | 1977 BytesField = _oneof_bytesField_codec.Read(input); |
2073 break; | 1978 break; |
2074 } | 1979 } |
2075 } | 1980 } |
2076 } | 1981 } |
2077 } | 1982 } |
2078 | 1983 |
2079 } | 1984 } |
2080 | 1985 |
2081 /// <summary> | 1986 /// <summary> |
2082 /// A map field for each well-known type. We only | 1987 /// A map field for each well-known type. We only |
2083 /// need to worry about the value part of the map being the | 1988 /// need to worry about the value part of the map being the |
2084 /// well-known types, as messages can't be map keys. | 1989 /// well-known types, as messages can't be map keys. |
2085 /// </summary> | 1990 /// </summary> |
| 1991 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
2086 public sealed partial class MapWellKnownTypes : pb::IMessage<MapWellKnownTypes
> { | 1992 public sealed partial class MapWellKnownTypes : pb::IMessage<MapWellKnownTypes
> { |
2087 private static readonly pb::MessageParser<MapWellKnownTypes> _parser = new p
b::MessageParser<MapWellKnownTypes>(() => new MapWellKnownTypes()); | 1993 private static readonly pb::MessageParser<MapWellKnownTypes> _parser = new p
b::MessageParser<MapWellKnownTypes>(() => new MapWellKnownTypes()); |
2088 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2089 public static pb::MessageParser<MapWellKnownTypes> Parser { get { return _pa
rser; } } | 1994 public static pb::MessageParser<MapWellKnownTypes> Parser { get { return _pa
rser; } } |
2090 | 1995 |
2091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2092 public static pbr::MessageDescriptor Descriptor { | 1996 public static pbr::MessageDescriptor Descriptor { |
2093 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[3]; } | 1997 get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesRefl
ection.Descriptor.MessageTypes[3]; } |
2094 } | 1998 } |
2095 | 1999 |
2096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2097 pbr::MessageDescriptor pb::IMessage.Descriptor { | 2000 pbr::MessageDescriptor pb::IMessage.Descriptor { |
2098 get { return Descriptor; } | 2001 get { return Descriptor; } |
2099 } | 2002 } |
2100 | 2003 |
2101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2102 public MapWellKnownTypes() { | 2004 public MapWellKnownTypes() { |
2103 OnConstruction(); | 2005 OnConstruction(); |
2104 } | 2006 } |
2105 | 2007 |
2106 partial void OnConstruction(); | 2008 partial void OnConstruction(); |
2107 | 2009 |
2108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2109 public MapWellKnownTypes(MapWellKnownTypes other) : this() { | 2010 public MapWellKnownTypes(MapWellKnownTypes other) : this() { |
2110 anyField_ = other.anyField_.Clone(); | 2011 anyField_ = other.anyField_.Clone(); |
2111 apiField_ = other.apiField_.Clone(); | 2012 apiField_ = other.apiField_.Clone(); |
2112 durationField_ = other.durationField_.Clone(); | 2013 durationField_ = other.durationField_.Clone(); |
2113 emptyField_ = other.emptyField_.Clone(); | 2014 emptyField_ = other.emptyField_.Clone(); |
2114 fieldMaskField_ = other.fieldMaskField_.Clone(); | 2015 fieldMaskField_ = other.fieldMaskField_.Clone(); |
2115 sourceContextField_ = other.sourceContextField_.Clone(); | 2016 sourceContextField_ = other.sourceContextField_.Clone(); |
2116 structField_ = other.structField_.Clone(); | 2017 structField_ = other.structField_.Clone(); |
2117 timestampField_ = other.timestampField_.Clone(); | 2018 timestampField_ = other.timestampField_.Clone(); |
2118 typeField_ = other.typeField_.Clone(); | 2019 typeField_ = other.typeField_.Clone(); |
2119 doubleField_ = other.doubleField_.Clone(); | 2020 doubleField_ = other.doubleField_.Clone(); |
2120 floatField_ = other.floatField_.Clone(); | 2021 floatField_ = other.floatField_.Clone(); |
2121 int64Field_ = other.int64Field_.Clone(); | 2022 int64Field_ = other.int64Field_.Clone(); |
2122 uint64Field_ = other.uint64Field_.Clone(); | 2023 uint64Field_ = other.uint64Field_.Clone(); |
2123 int32Field_ = other.int32Field_.Clone(); | 2024 int32Field_ = other.int32Field_.Clone(); |
2124 uint32Field_ = other.uint32Field_.Clone(); | 2025 uint32Field_ = other.uint32Field_.Clone(); |
2125 boolField_ = other.boolField_.Clone(); | 2026 boolField_ = other.boolField_.Clone(); |
2126 stringField_ = other.stringField_.Clone(); | 2027 stringField_ = other.stringField_.Clone(); |
2127 bytesField_ = other.bytesField_.Clone(); | 2028 bytesField_ = other.bytesField_.Clone(); |
2128 } | 2029 } |
2129 | 2030 |
2130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2131 public MapWellKnownTypes Clone() { | 2031 public MapWellKnownTypes Clone() { |
2132 return new MapWellKnownTypes(this); | 2032 return new MapWellKnownTypes(this); |
2133 } | 2033 } |
2134 | 2034 |
2135 /// <summary>Field number for the "any_field" field.</summary> | 2035 /// <summary>Field number for the "any_field" field.</summary> |
2136 public const int AnyFieldFieldNumber = 1; | 2036 public const int AnyFieldFieldNumber = 1; |
2137 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Any>.Codec _map_anyField_codec | 2037 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Any>.Codec _map_anyField_codec |
2138 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Cod
ec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Prot
obuf.WellKnownTypes.Any.Parser), 10); | 2038 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Cod
ec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Prot
obuf.WellKnownTypes.Any.Parser), 10); |
2139 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.A
ny> anyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.An
y>(); | 2039 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.A
ny> anyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.An
y>(); |
2140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2141 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyFie
ld { | 2040 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyFie
ld { |
2142 get { return anyField_; } | 2041 get { return anyField_; } |
2143 } | 2042 } |
2144 | 2043 |
2145 /// <summary>Field number for the "api_field" field.</summary> | 2044 /// <summary>Field number for the "api_field" field.</summary> |
2146 public const int ApiFieldFieldNumber = 2; | 2045 public const int ApiFieldFieldNumber = 2; |
2147 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Api>.Codec _map_apiField_codec | 2046 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Api>.Codec _map_apiField_codec |
2148 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Cod
ec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Prot
obuf.WellKnownTypes.Api.Parser), 18); | 2047 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Cod
ec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Prot
obuf.WellKnownTypes.Api.Parser), 18); |
2149 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.A
pi> apiField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Ap
i>(); | 2048 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.A
pi> apiField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Ap
i>(); |
2150 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2151 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiFie
ld { | 2049 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiFie
ld { |
2152 get { return apiField_; } | 2050 get { return apiField_; } |
2153 } | 2051 } |
2154 | 2052 |
2155 /// <summary>Field number for the "duration_field" field.</summary> | 2053 /// <summary>Field number for the "duration_field" field.</summary> |
2156 public const int DurationFieldFieldNumber = 3; | 2054 public const int DurationFieldFieldNumber = 3; |
2157 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Duration>.Codec _map_durationField_codec | 2055 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Duration>.Codec _map_durationField_codec |
2158 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration
>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google
.Protobuf.WellKnownTypes.Duration.Parser), 26); | 2056 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration
>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google
.Protobuf.WellKnownTypes.Duration.Parser), 26); |
2159 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.D
uration> durationField_ = new pbc::MapField<int, global::Google.Protobuf.WellKno
wnTypes.Duration>(); | 2057 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.D
uration> durationField_ = new pbc::MapField<int, global::Google.Protobuf.WellKno
wnTypes.Duration>(); |
2160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2161 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration> D
urationField { | 2058 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration> D
urationField { |
2162 get { return durationField_; } | 2059 get { return durationField_; } |
2163 } | 2060 } |
2164 | 2061 |
2165 /// <summary>Field number for the "empty_field" field.</summary> | 2062 /// <summary>Field number for the "empty_field" field.</summary> |
2166 public const int EmptyFieldFieldNumber = 4; | 2063 public const int EmptyFieldFieldNumber = 4; |
2167 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Empty>.Codec _map_emptyField_codec | 2064 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Empty>.Codec _map_emptyField_codec |
2168 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>.C
odec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Pr
otobuf.WellKnownTypes.Empty.Parser), 34); | 2065 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>.C
odec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Pr
otobuf.WellKnownTypes.Empty.Parser), 34); |
2169 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.E
mpty> emptyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownType
s.Empty>(); | 2066 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.E
mpty> emptyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownType
s.Empty>(); |
2170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2171 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty> Empt
yField { | 2067 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty> Empt
yField { |
2172 get { return emptyField_; } | 2068 get { return emptyField_; } |
2173 } | 2069 } |
2174 | 2070 |
2175 /// <summary>Field number for the "field_mask_field" field.</summary> | 2071 /// <summary>Field number for the "field_mask_field" field.</summary> |
2176 public const int FieldMaskFieldFieldNumber = 5; | 2072 public const int FieldMaskFieldFieldNumber = 5; |
2177 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.FieldMask>.Codec _map_fieldMaskField_codec | 2073 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.FieldMask>.Codec _map_fieldMaskField_codec |
2178 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMas
k>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Googl
e.Protobuf.WellKnownTypes.FieldMask.Parser), 42); | 2074 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMas
k>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Googl
e.Protobuf.WellKnownTypes.FieldMask.Parser), 42); |
2179 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.F
ieldMask> fieldMaskField_ = new pbc::MapField<int, global::Google.Protobuf.WellK
nownTypes.FieldMask>(); | 2075 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.F
ieldMask> fieldMaskField_ = new pbc::MapField<int, global::Google.Protobuf.WellK
nownTypes.FieldMask>(); |
2180 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2181 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>
FieldMaskField { | 2076 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>
FieldMaskField { |
2182 get { return fieldMaskField_; } | 2077 get { return fieldMaskField_; } |
2183 } | 2078 } |
2184 | 2079 |
2185 /// <summary>Field number for the "source_context_field" field.</summary> | 2080 /// <summary>Field number for the "source_context_field" field.</summary> |
2186 public const int SourceContextFieldFieldNumber = 6; | 2081 public const int SourceContextFieldFieldNumber = 6; |
2187 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.SourceContext>.Codec _map_sourceContextField_codec | 2082 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.SourceContext>.Codec _map_sourceContextField_codec |
2188 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceCo
ntext>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::G
oogle.Protobuf.WellKnownTypes.SourceContext.Parser), 50); | 2083 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceCo
ntext>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::G
oogle.Protobuf.WellKnownTypes.SourceContext.Parser), 50); |
2189 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.S
ourceContext> sourceContextField_ = new pbc::MapField<int, global::Google.Protob
uf.WellKnownTypes.SourceContext>(); | 2084 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.S
ourceContext> sourceContextField_ = new pbc::MapField<int, global::Google.Protob
uf.WellKnownTypes.SourceContext>(); |
2190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2191 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceConte
xt> SourceContextField { | 2085 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceConte
xt> SourceContextField { |
2192 get { return sourceContextField_; } | 2086 get { return sourceContextField_; } |
2193 } | 2087 } |
2194 | 2088 |
2195 /// <summary>Field number for the "struct_field" field.</summary> | 2089 /// <summary>Field number for the "struct_field" field.</summary> |
2196 public const int StructFieldFieldNumber = 7; | 2090 public const int StructFieldFieldNumber = 7; |
2197 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Struct>.Codec _map_structField_codec | 2091 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Struct>.Codec _map_structField_codec |
2198 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>.
Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.P
rotobuf.WellKnownTypes.Struct.Parser), 58); | 2092 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>.
Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.P
rotobuf.WellKnownTypes.Struct.Parser), 58); |
2199 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.S
truct> structField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTy
pes.Struct>(); | 2093 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.S
truct> structField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTy
pes.Struct>(); |
2200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2201 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct> Str
uctField { | 2094 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct> Str
uctField { |
2202 get { return structField_; } | 2095 get { return structField_; } |
2203 } | 2096 } |
2204 | 2097 |
2205 /// <summary>Field number for the "timestamp_field" field.</summary> | 2098 /// <summary>Field number for the "timestamp_field" field.</summary> |
2206 public const int TimestampFieldFieldNumber = 8; | 2099 public const int TimestampFieldFieldNumber = 8; |
2207 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Timestamp>.Codec _map_timestampField_codec | 2100 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Timestamp>.Codec _map_timestampField_codec |
2208 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestam
p>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Googl
e.Protobuf.WellKnownTypes.Timestamp.Parser), 66); | 2101 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestam
p>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Googl
e.Protobuf.WellKnownTypes.Timestamp.Parser), 66); |
2209 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.T
imestamp> timestampField_ = new pbc::MapField<int, global::Google.Protobuf.WellK
nownTypes.Timestamp>(); | 2102 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.T
imestamp> timestampField_ = new pbc::MapField<int, global::Google.Protobuf.WellK
nownTypes.Timestamp>(); |
2210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2211 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>
TimestampField { | 2103 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>
TimestampField { |
2212 get { return timestampField_; } | 2104 get { return timestampField_; } |
2213 } | 2105 } |
2214 | 2106 |
2215 /// <summary>Field number for the "type_field" field.</summary> | 2107 /// <summary>Field number for the "type_field" field.</summary> |
2216 public const int TypeFieldFieldNumber = 9; | 2108 public const int TypeFieldFieldNumber = 9; |
2217 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Type>.Codec _map_typeField_codec | 2109 private static readonly pbc::MapField<int, global::Google.Protobuf.WellKnown
Types.Type>.Codec _map_typeField_codec |
2218 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>.Co
dec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Pro
tobuf.WellKnownTypes.Type.Parser), 74); | 2110 = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>.Co
dec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global::Google.Pro
tobuf.WellKnownTypes.Type.Parser), 74); |
2219 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.T
ype> typeField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.
Type>(); | 2111 private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.T
ype> typeField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.
Type>(); |
2220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2221 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type> TypeF
ield { | 2112 public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type> TypeF
ield { |
2222 get { return typeField_; } | 2113 get { return typeField_; } |
2223 } | 2114 } |
2224 | 2115 |
2225 /// <summary>Field number for the "double_field" field.</summary> | 2116 /// <summary>Field number for the "double_field" field.</summary> |
2226 public const int DoubleFieldFieldNumber = 10; | 2117 public const int DoubleFieldFieldNumber = 10; |
2227 private static readonly pbc::MapField<int, double?>.Codec _map_doubleField_c
odec | 2118 private static readonly pbc::MapField<int, double?>.Codec _map_doubleField_c
odec |
2228 = new pbc::MapField<int, double?>.Codec(pb::FieldCodec.ForInt32(8), pb::
FieldCodec.ForStructWrapper<double>(18), 82); | 2119 = new pbc::MapField<int, double?>.Codec(pb::FieldCodec.ForInt32(8), pb::
FieldCodec.ForStructWrapper<double>(18), 82); |
2229 private readonly pbc::MapField<int, double?> doubleField_ = new pbc::MapFiel
d<int, double?>(); | 2120 private readonly pbc::MapField<int, double?> doubleField_ = new pbc::MapFiel
d<int, double?>(); |
2230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2231 public pbc::MapField<int, double?> DoubleField { | 2121 public pbc::MapField<int, double?> DoubleField { |
2232 get { return doubleField_; } | 2122 get { return doubleField_; } |
2233 } | 2123 } |
2234 | 2124 |
2235 /// <summary>Field number for the "float_field" field.</summary> | 2125 /// <summary>Field number for the "float_field" field.</summary> |
2236 public const int FloatFieldFieldNumber = 11; | 2126 public const int FloatFieldFieldNumber = 11; |
2237 private static readonly pbc::MapField<int, float?>.Codec _map_floatField_cod
ec | 2127 private static readonly pbc::MapField<int, float?>.Codec _map_floatField_cod
ec |
2238 = new pbc::MapField<int, float?>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForStructWrapper<float>(18), 90); | 2128 = new pbc::MapField<int, float?>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForStructWrapper<float>(18), 90); |
2239 private readonly pbc::MapField<int, float?> floatField_ = new pbc::MapField<
int, float?>(); | 2129 private readonly pbc::MapField<int, float?> floatField_ = new pbc::MapField<
int, float?>(); |
2240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2241 public pbc::MapField<int, float?> FloatField { | 2130 public pbc::MapField<int, float?> FloatField { |
2242 get { return floatField_; } | 2131 get { return floatField_; } |
2243 } | 2132 } |
2244 | 2133 |
2245 /// <summary>Field number for the "int64_field" field.</summary> | 2134 /// <summary>Field number for the "int64_field" field.</summary> |
2246 public const int Int64FieldFieldNumber = 12; | 2135 public const int Int64FieldFieldNumber = 12; |
2247 private static readonly pbc::MapField<int, long?>.Codec _map_int64Field_code
c | 2136 private static readonly pbc::MapField<int, long?>.Codec _map_int64Field_code
c |
2248 = new pbc::MapField<int, long?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForStructWrapper<long>(18), 98); | 2137 = new pbc::MapField<int, long?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForStructWrapper<long>(18), 98); |
2249 private readonly pbc::MapField<int, long?> int64Field_ = new pbc::MapField<i
nt, long?>(); | 2138 private readonly pbc::MapField<int, long?> int64Field_ = new pbc::MapField<i
nt, long?>(); |
2250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2251 public pbc::MapField<int, long?> Int64Field { | 2139 public pbc::MapField<int, long?> Int64Field { |
2252 get { return int64Field_; } | 2140 get { return int64Field_; } |
2253 } | 2141 } |
2254 | 2142 |
2255 /// <summary>Field number for the "uint64_field" field.</summary> | 2143 /// <summary>Field number for the "uint64_field" field.</summary> |
2256 public const int Uint64FieldFieldNumber = 13; | 2144 public const int Uint64FieldFieldNumber = 13; |
2257 private static readonly pbc::MapField<int, ulong?>.Codec _map_uint64Field_co
dec | 2145 private static readonly pbc::MapField<int, ulong?>.Codec _map_uint64Field_co
dec |
2258 = new pbc::MapField<int, ulong?>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForStructWrapper<ulong>(18), 106); | 2146 = new pbc::MapField<int, ulong?>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForStructWrapper<ulong>(18), 106); |
2259 private readonly pbc::MapField<int, ulong?> uint64Field_ = new pbc::MapField
<int, ulong?>(); | 2147 private readonly pbc::MapField<int, ulong?> uint64Field_ = new pbc::MapField
<int, ulong?>(); |
2260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2261 public pbc::MapField<int, ulong?> Uint64Field { | 2148 public pbc::MapField<int, ulong?> Uint64Field { |
2262 get { return uint64Field_; } | 2149 get { return uint64Field_; } |
2263 } | 2150 } |
2264 | 2151 |
2265 /// <summary>Field number for the "int32_field" field.</summary> | 2152 /// <summary>Field number for the "int32_field" field.</summary> |
2266 public const int Int32FieldFieldNumber = 14; | 2153 public const int Int32FieldFieldNumber = 14; |
2267 private static readonly pbc::MapField<int, int?>.Codec _map_int32Field_codec | 2154 private static readonly pbc::MapField<int, int?>.Codec _map_int32Field_codec |
2268 = new pbc::MapField<int, int?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fie
ldCodec.ForStructWrapper<int>(18), 114); | 2155 = new pbc::MapField<int, int?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fie
ldCodec.ForStructWrapper<int>(18), 114); |
2269 private readonly pbc::MapField<int, int?> int32Field_ = new pbc::MapField<in
t, int?>(); | 2156 private readonly pbc::MapField<int, int?> int32Field_ = new pbc::MapField<in
t, int?>(); |
2270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2271 public pbc::MapField<int, int?> Int32Field { | 2157 public pbc::MapField<int, int?> Int32Field { |
2272 get { return int32Field_; } | 2158 get { return int32Field_; } |
2273 } | 2159 } |
2274 | 2160 |
2275 /// <summary>Field number for the "uint32_field" field.</summary> | 2161 /// <summary>Field number for the "uint32_field" field.</summary> |
2276 public const int Uint32FieldFieldNumber = 15; | 2162 public const int Uint32FieldFieldNumber = 15; |
2277 private static readonly pbc::MapField<int, uint?>.Codec _map_uint32Field_cod
ec | 2163 private static readonly pbc::MapField<int, uint?>.Codec _map_uint32Field_cod
ec |
2278 = new pbc::MapField<int, uint?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForStructWrapper<uint>(18), 122); | 2164 = new pbc::MapField<int, uint?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForStructWrapper<uint>(18), 122); |
2279 private readonly pbc::MapField<int, uint?> uint32Field_ = new pbc::MapField<
int, uint?>(); | 2165 private readonly pbc::MapField<int, uint?> uint32Field_ = new pbc::MapField<
int, uint?>(); |
2280 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2281 public pbc::MapField<int, uint?> Uint32Field { | 2166 public pbc::MapField<int, uint?> Uint32Field { |
2282 get { return uint32Field_; } | 2167 get { return uint32Field_; } |
2283 } | 2168 } |
2284 | 2169 |
2285 /// <summary>Field number for the "bool_field" field.</summary> | 2170 /// <summary>Field number for the "bool_field" field.</summary> |
2286 public const int BoolFieldFieldNumber = 16; | 2171 public const int BoolFieldFieldNumber = 16; |
2287 private static readonly pbc::MapField<int, bool?>.Codec _map_boolField_codec | 2172 private static readonly pbc::MapField<int, bool?>.Codec _map_boolField_codec |
2288 = new pbc::MapField<int, bool?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForStructWrapper<bool>(18), 130); | 2173 = new pbc::MapField<int, bool?>.Codec(pb::FieldCodec.ForInt32(8), pb::Fi
eldCodec.ForStructWrapper<bool>(18), 130); |
2289 private readonly pbc::MapField<int, bool?> boolField_ = new pbc::MapField<in
t, bool?>(); | 2174 private readonly pbc::MapField<int, bool?> boolField_ = new pbc::MapField<in
t, bool?>(); |
2290 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2291 public pbc::MapField<int, bool?> BoolField { | 2175 public pbc::MapField<int, bool?> BoolField { |
2292 get { return boolField_; } | 2176 get { return boolField_; } |
2293 } | 2177 } |
2294 | 2178 |
2295 /// <summary>Field number for the "string_field" field.</summary> | 2179 /// <summary>Field number for the "string_field" field.</summary> |
2296 public const int StringFieldFieldNumber = 17; | 2180 public const int StringFieldFieldNumber = 17; |
2297 private static readonly pbc::MapField<int, string>.Codec _map_stringField_co
dec | 2181 private static readonly pbc::MapField<int, string>.Codec _map_stringField_co
dec |
2298 = new pbc::MapField<int, string>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForClassWrapper<string>(18), 138); | 2182 = new pbc::MapField<int, string>.Codec(pb::FieldCodec.ForInt32(8), pb::F
ieldCodec.ForClassWrapper<string>(18), 138); |
2299 private readonly pbc::MapField<int, string> stringField_ = new pbc::MapField
<int, string>(); | 2183 private readonly pbc::MapField<int, string> stringField_ = new pbc::MapField
<int, string>(); |
2300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2301 public pbc::MapField<int, string> StringField { | 2184 public pbc::MapField<int, string> StringField { |
2302 get { return stringField_; } | 2185 get { return stringField_; } |
2303 } | 2186 } |
2304 | 2187 |
2305 /// <summary>Field number for the "bytes_field" field.</summary> | 2188 /// <summary>Field number for the "bytes_field" field.</summary> |
2306 public const int BytesFieldFieldNumber = 18; | 2189 public const int BytesFieldFieldNumber = 18; |
2307 private static readonly pbc::MapField<int, pb::ByteString>.Codec _map_bytesF
ield_codec | 2190 private static readonly pbc::MapField<int, pb::ByteString>.Codec _map_bytesF
ield_codec |
2308 = new pbc::MapField<int, pb::ByteString>.Codec(pb::FieldCodec.ForInt32(8
), pb::FieldCodec.ForClassWrapper<pb::ByteString>(18), 146); | 2191 = new pbc::MapField<int, pb::ByteString>.Codec(pb::FieldCodec.ForInt32(8
), pb::FieldCodec.ForClassWrapper<pb::ByteString>(18), 146); |
2309 private readonly pbc::MapField<int, pb::ByteString> bytesField_ = new pbc::M
apField<int, pb::ByteString>(); | 2192 private readonly pbc::MapField<int, pb::ByteString> bytesField_ = new pbc::M
apField<int, pb::ByteString>(); |
2310 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2311 public pbc::MapField<int, pb::ByteString> BytesField { | 2193 public pbc::MapField<int, pb::ByteString> BytesField { |
2312 get { return bytesField_; } | 2194 get { return bytesField_; } |
2313 } | 2195 } |
2314 | 2196 |
2315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2316 public override bool Equals(object other) { | 2197 public override bool Equals(object other) { |
2317 return Equals(other as MapWellKnownTypes); | 2198 return Equals(other as MapWellKnownTypes); |
2318 } | 2199 } |
2319 | 2200 |
2320 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2321 public bool Equals(MapWellKnownTypes other) { | 2201 public bool Equals(MapWellKnownTypes other) { |
2322 if (ReferenceEquals(other, null)) { | 2202 if (ReferenceEquals(other, null)) { |
2323 return false; | 2203 return false; |
2324 } | 2204 } |
2325 if (ReferenceEquals(other, this)) { | 2205 if (ReferenceEquals(other, this)) { |
2326 return true; | 2206 return true; |
2327 } | 2207 } |
2328 if (!AnyField.Equals(other.AnyField)) return false; | 2208 if (!AnyField.Equals(other.AnyField)) return false; |
2329 if (!ApiField.Equals(other.ApiField)) return false; | 2209 if (!ApiField.Equals(other.ApiField)) return false; |
2330 if (!DurationField.Equals(other.DurationField)) return false; | 2210 if (!DurationField.Equals(other.DurationField)) return false; |
2331 if (!EmptyField.Equals(other.EmptyField)) return false; | 2211 if (!EmptyField.Equals(other.EmptyField)) return false; |
2332 if (!FieldMaskField.Equals(other.FieldMaskField)) return false; | 2212 if (!FieldMaskField.Equals(other.FieldMaskField)) return false; |
2333 if (!SourceContextField.Equals(other.SourceContextField)) return false; | 2213 if (!SourceContextField.Equals(other.SourceContextField)) return false; |
2334 if (!StructField.Equals(other.StructField)) return false; | 2214 if (!StructField.Equals(other.StructField)) return false; |
2335 if (!TimestampField.Equals(other.TimestampField)) return false; | 2215 if (!TimestampField.Equals(other.TimestampField)) return false; |
2336 if (!TypeField.Equals(other.TypeField)) return false; | 2216 if (!TypeField.Equals(other.TypeField)) return false; |
2337 if (!DoubleField.Equals(other.DoubleField)) return false; | 2217 if (!DoubleField.Equals(other.DoubleField)) return false; |
2338 if (!FloatField.Equals(other.FloatField)) return false; | 2218 if (!FloatField.Equals(other.FloatField)) return false; |
2339 if (!Int64Field.Equals(other.Int64Field)) return false; | 2219 if (!Int64Field.Equals(other.Int64Field)) return false; |
2340 if (!Uint64Field.Equals(other.Uint64Field)) return false; | 2220 if (!Uint64Field.Equals(other.Uint64Field)) return false; |
2341 if (!Int32Field.Equals(other.Int32Field)) return false; | 2221 if (!Int32Field.Equals(other.Int32Field)) return false; |
2342 if (!Uint32Field.Equals(other.Uint32Field)) return false; | 2222 if (!Uint32Field.Equals(other.Uint32Field)) return false; |
2343 if (!BoolField.Equals(other.BoolField)) return false; | 2223 if (!BoolField.Equals(other.BoolField)) return false; |
2344 if (!StringField.Equals(other.StringField)) return false; | 2224 if (!StringField.Equals(other.StringField)) return false; |
2345 if (!BytesField.Equals(other.BytesField)) return false; | 2225 if (!BytesField.Equals(other.BytesField)) return false; |
2346 return true; | 2226 return true; |
2347 } | 2227 } |
2348 | 2228 |
2349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2350 public override int GetHashCode() { | 2229 public override int GetHashCode() { |
2351 int hash = 1; | 2230 int hash = 1; |
2352 hash ^= AnyField.GetHashCode(); | 2231 hash ^= AnyField.GetHashCode(); |
2353 hash ^= ApiField.GetHashCode(); | 2232 hash ^= ApiField.GetHashCode(); |
2354 hash ^= DurationField.GetHashCode(); | 2233 hash ^= DurationField.GetHashCode(); |
2355 hash ^= EmptyField.GetHashCode(); | 2234 hash ^= EmptyField.GetHashCode(); |
2356 hash ^= FieldMaskField.GetHashCode(); | 2235 hash ^= FieldMaskField.GetHashCode(); |
2357 hash ^= SourceContextField.GetHashCode(); | 2236 hash ^= SourceContextField.GetHashCode(); |
2358 hash ^= StructField.GetHashCode(); | 2237 hash ^= StructField.GetHashCode(); |
2359 hash ^= TimestampField.GetHashCode(); | 2238 hash ^= TimestampField.GetHashCode(); |
2360 hash ^= TypeField.GetHashCode(); | 2239 hash ^= TypeField.GetHashCode(); |
2361 hash ^= DoubleField.GetHashCode(); | 2240 hash ^= DoubleField.GetHashCode(); |
2362 hash ^= FloatField.GetHashCode(); | 2241 hash ^= FloatField.GetHashCode(); |
2363 hash ^= Int64Field.GetHashCode(); | 2242 hash ^= Int64Field.GetHashCode(); |
2364 hash ^= Uint64Field.GetHashCode(); | 2243 hash ^= Uint64Field.GetHashCode(); |
2365 hash ^= Int32Field.GetHashCode(); | 2244 hash ^= Int32Field.GetHashCode(); |
2366 hash ^= Uint32Field.GetHashCode(); | 2245 hash ^= Uint32Field.GetHashCode(); |
2367 hash ^= BoolField.GetHashCode(); | 2246 hash ^= BoolField.GetHashCode(); |
2368 hash ^= StringField.GetHashCode(); | 2247 hash ^= StringField.GetHashCode(); |
2369 hash ^= BytesField.GetHashCode(); | 2248 hash ^= BytesField.GetHashCode(); |
2370 return hash; | 2249 return hash; |
2371 } | 2250 } |
2372 | 2251 |
2373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2374 public override string ToString() { | 2252 public override string ToString() { |
2375 return pb::JsonFormatter.ToDiagnosticString(this); | 2253 return pb::JsonFormatter.ToDiagnosticString(this); |
2376 } | 2254 } |
2377 | 2255 |
2378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2379 public void WriteTo(pb::CodedOutputStream output) { | 2256 public void WriteTo(pb::CodedOutputStream output) { |
2380 anyField_.WriteTo(output, _map_anyField_codec); | 2257 anyField_.WriteTo(output, _map_anyField_codec); |
2381 apiField_.WriteTo(output, _map_apiField_codec); | 2258 apiField_.WriteTo(output, _map_apiField_codec); |
2382 durationField_.WriteTo(output, _map_durationField_codec); | 2259 durationField_.WriteTo(output, _map_durationField_codec); |
2383 emptyField_.WriteTo(output, _map_emptyField_codec); | 2260 emptyField_.WriteTo(output, _map_emptyField_codec); |
2384 fieldMaskField_.WriteTo(output, _map_fieldMaskField_codec); | 2261 fieldMaskField_.WriteTo(output, _map_fieldMaskField_codec); |
2385 sourceContextField_.WriteTo(output, _map_sourceContextField_codec); | 2262 sourceContextField_.WriteTo(output, _map_sourceContextField_codec); |
2386 structField_.WriteTo(output, _map_structField_codec); | 2263 structField_.WriteTo(output, _map_structField_codec); |
2387 timestampField_.WriteTo(output, _map_timestampField_codec); | 2264 timestampField_.WriteTo(output, _map_timestampField_codec); |
2388 typeField_.WriteTo(output, _map_typeField_codec); | 2265 typeField_.WriteTo(output, _map_typeField_codec); |
2389 doubleField_.WriteTo(output, _map_doubleField_codec); | 2266 doubleField_.WriteTo(output, _map_doubleField_codec); |
2390 floatField_.WriteTo(output, _map_floatField_codec); | 2267 floatField_.WriteTo(output, _map_floatField_codec); |
2391 int64Field_.WriteTo(output, _map_int64Field_codec); | 2268 int64Field_.WriteTo(output, _map_int64Field_codec); |
2392 uint64Field_.WriteTo(output, _map_uint64Field_codec); | 2269 uint64Field_.WriteTo(output, _map_uint64Field_codec); |
2393 int32Field_.WriteTo(output, _map_int32Field_codec); | 2270 int32Field_.WriteTo(output, _map_int32Field_codec); |
2394 uint32Field_.WriteTo(output, _map_uint32Field_codec); | 2271 uint32Field_.WriteTo(output, _map_uint32Field_codec); |
2395 boolField_.WriteTo(output, _map_boolField_codec); | 2272 boolField_.WriteTo(output, _map_boolField_codec); |
2396 stringField_.WriteTo(output, _map_stringField_codec); | 2273 stringField_.WriteTo(output, _map_stringField_codec); |
2397 bytesField_.WriteTo(output, _map_bytesField_codec); | 2274 bytesField_.WriteTo(output, _map_bytesField_codec); |
2398 } | 2275 } |
2399 | 2276 |
2400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2401 public int CalculateSize() { | 2277 public int CalculateSize() { |
2402 int size = 0; | 2278 int size = 0; |
2403 size += anyField_.CalculateSize(_map_anyField_codec); | 2279 size += anyField_.CalculateSize(_map_anyField_codec); |
2404 size += apiField_.CalculateSize(_map_apiField_codec); | 2280 size += apiField_.CalculateSize(_map_apiField_codec); |
2405 size += durationField_.CalculateSize(_map_durationField_codec); | 2281 size += durationField_.CalculateSize(_map_durationField_codec); |
2406 size += emptyField_.CalculateSize(_map_emptyField_codec); | 2282 size += emptyField_.CalculateSize(_map_emptyField_codec); |
2407 size += fieldMaskField_.CalculateSize(_map_fieldMaskField_codec); | 2283 size += fieldMaskField_.CalculateSize(_map_fieldMaskField_codec); |
2408 size += sourceContextField_.CalculateSize(_map_sourceContextField_codec); | 2284 size += sourceContextField_.CalculateSize(_map_sourceContextField_codec); |
2409 size += structField_.CalculateSize(_map_structField_codec); | 2285 size += structField_.CalculateSize(_map_structField_codec); |
2410 size += timestampField_.CalculateSize(_map_timestampField_codec); | 2286 size += timestampField_.CalculateSize(_map_timestampField_codec); |
2411 size += typeField_.CalculateSize(_map_typeField_codec); | 2287 size += typeField_.CalculateSize(_map_typeField_codec); |
2412 size += doubleField_.CalculateSize(_map_doubleField_codec); | 2288 size += doubleField_.CalculateSize(_map_doubleField_codec); |
2413 size += floatField_.CalculateSize(_map_floatField_codec); | 2289 size += floatField_.CalculateSize(_map_floatField_codec); |
2414 size += int64Field_.CalculateSize(_map_int64Field_codec); | 2290 size += int64Field_.CalculateSize(_map_int64Field_codec); |
2415 size += uint64Field_.CalculateSize(_map_uint64Field_codec); | 2291 size += uint64Field_.CalculateSize(_map_uint64Field_codec); |
2416 size += int32Field_.CalculateSize(_map_int32Field_codec); | 2292 size += int32Field_.CalculateSize(_map_int32Field_codec); |
2417 size += uint32Field_.CalculateSize(_map_uint32Field_codec); | 2293 size += uint32Field_.CalculateSize(_map_uint32Field_codec); |
2418 size += boolField_.CalculateSize(_map_boolField_codec); | 2294 size += boolField_.CalculateSize(_map_boolField_codec); |
2419 size += stringField_.CalculateSize(_map_stringField_codec); | 2295 size += stringField_.CalculateSize(_map_stringField_codec); |
2420 size += bytesField_.CalculateSize(_map_bytesField_codec); | 2296 size += bytesField_.CalculateSize(_map_bytesField_codec); |
2421 return size; | 2297 return size; |
2422 } | 2298 } |
2423 | 2299 |
2424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2425 public void MergeFrom(MapWellKnownTypes other) { | 2300 public void MergeFrom(MapWellKnownTypes other) { |
2426 if (other == null) { | 2301 if (other == null) { |
2427 return; | 2302 return; |
2428 } | 2303 } |
2429 anyField_.Add(other.anyField_); | 2304 anyField_.Add(other.anyField_); |
2430 apiField_.Add(other.apiField_); | 2305 apiField_.Add(other.apiField_); |
2431 durationField_.Add(other.durationField_); | 2306 durationField_.Add(other.durationField_); |
2432 emptyField_.Add(other.emptyField_); | 2307 emptyField_.Add(other.emptyField_); |
2433 fieldMaskField_.Add(other.fieldMaskField_); | 2308 fieldMaskField_.Add(other.fieldMaskField_); |
2434 sourceContextField_.Add(other.sourceContextField_); | 2309 sourceContextField_.Add(other.sourceContextField_); |
2435 structField_.Add(other.structField_); | 2310 structField_.Add(other.structField_); |
2436 timestampField_.Add(other.timestampField_); | 2311 timestampField_.Add(other.timestampField_); |
2437 typeField_.Add(other.typeField_); | 2312 typeField_.Add(other.typeField_); |
2438 doubleField_.Add(other.doubleField_); | 2313 doubleField_.Add(other.doubleField_); |
2439 floatField_.Add(other.floatField_); | 2314 floatField_.Add(other.floatField_); |
2440 int64Field_.Add(other.int64Field_); | 2315 int64Field_.Add(other.int64Field_); |
2441 uint64Field_.Add(other.uint64Field_); | 2316 uint64Field_.Add(other.uint64Field_); |
2442 int32Field_.Add(other.int32Field_); | 2317 int32Field_.Add(other.int32Field_); |
2443 uint32Field_.Add(other.uint32Field_); | 2318 uint32Field_.Add(other.uint32Field_); |
2444 boolField_.Add(other.boolField_); | 2319 boolField_.Add(other.boolField_); |
2445 stringField_.Add(other.stringField_); | 2320 stringField_.Add(other.stringField_); |
2446 bytesField_.Add(other.bytesField_); | 2321 bytesField_.Add(other.bytesField_); |
2447 } | 2322 } |
2448 | 2323 |
2449 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | |
2450 public void MergeFrom(pb::CodedInputStream input) { | 2324 public void MergeFrom(pb::CodedInputStream input) { |
2451 uint tag; | 2325 uint tag; |
2452 while ((tag = input.ReadTag()) != 0) { | 2326 while ((tag = input.ReadTag()) != 0) { |
2453 switch(tag) { | 2327 switch(tag) { |
2454 default: | 2328 default: |
2455 input.SkipLastField(); | 2329 input.SkipLastField(); |
2456 break; | 2330 break; |
2457 case 10: { | 2331 case 10: { |
2458 anyField_.AddEntriesFrom(input, _map_anyField_codec); | 2332 anyField_.AddEntriesFrom(input, _map_anyField_codec); |
2459 break; | 2333 break; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2530 } | 2404 } |
2531 } | 2405 } |
2532 | 2406 |
2533 } | 2407 } |
2534 | 2408 |
2535 #endregion | 2409 #endregion |
2536 | 2410 |
2537 } | 2411 } |
2538 | 2412 |
2539 #endregion Designer generated code | 2413 #endregion Designer generated code |
OLD | NEW |