1 // <auto-generated> 2 // Generated by the protocol buffer compiler. DO NOT EDIT! 3 // source: google/protobuf/wrappers.proto 4 // </auto-generated> 5 #pragma warning disable 1591, 0612, 3021 6 #region Designer generated code 7 8 using pb = global::Google.Protobuf; 9 using pbc = global::Google.Protobuf.Collections; 10 using pbr = global::Google.Protobuf.Reflection; 11 using scg = global::System.Collections.Generic; 12 namespace Google.Protobuf.WellKnownTypes { 13 14 /// <summary>Holder for reflection information generated from google/protobuf/wrappers.proto</summary> 15 public static partial class WrappersReflection { 16 17 #region Descriptor 18 /// <summary>File descriptor for google/protobuf/wrappers.proto</summary> 19 public static pbr::FileDescriptor Descriptor { 20 get { return descriptor; } 21 } 22 private static pbr::FileDescriptor descriptor; 23 WrappersReflection()24 static WrappersReflection() { 25 byte[] descriptorData = global::System.Convert.FromBase64String( 26 string.Concat( 27 "Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90", 28 "b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZh", 29 "bHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASAB", 30 "KAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1", 31 "ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEo", 32 "DSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUS", 33 "DQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEJ8", 34 "ChNjb20uZ29vZ2xlLnByb3RvYnVmQg1XcmFwcGVyc1Byb3RvUAFaKmdpdGh1", 35 "Yi5jb20vZ29sYW5nL3Byb3RvYnVmL3B0eXBlcy93cmFwcGVyc/gBAaICA0dQ", 36 "QqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z")); 37 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 38 new pbr::FileDescriptor[] { }, 39 new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { 40 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.DoubleValue), global::Google.Protobuf.WellKnownTypes.DoubleValue.Parser, new[]{ "Value" }, null, null, null, null), 41 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.FloatValue), global::Google.Protobuf.WellKnownTypes.FloatValue.Parser, new[]{ "Value" }, null, null, null, null), 42 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Int64Value), global::Google.Protobuf.WellKnownTypes.Int64Value.Parser, new[]{ "Value" }, null, null, null, null), 43 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.UInt64Value), global::Google.Protobuf.WellKnownTypes.UInt64Value.Parser, new[]{ "Value" }, null, null, null, null), 44 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Int32Value), global::Google.Protobuf.WellKnownTypes.Int32Value.Parser, new[]{ "Value" }, null, null, null, null), 45 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.UInt32Value), global::Google.Protobuf.WellKnownTypes.UInt32Value.Parser, new[]{ "Value" }, null, null, null, null), 46 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.BoolValue), global::Google.Protobuf.WellKnownTypes.BoolValue.Parser, new[]{ "Value" }, null, null, null, null), 47 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.StringValue), global::Google.Protobuf.WellKnownTypes.StringValue.Parser, new[]{ "Value" }, null, null, null, null), 48 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.BytesValue), global::Google.Protobuf.WellKnownTypes.BytesValue.Parser, new[]{ "Value" }, null, null, null, null) 49 })); 50 } 51 #endregion 52 53 } 54 #region Messages 55 /// <summary> 56 /// Wrapper message for `double`. 57 /// 58 /// The JSON representation for `DoubleValue` is JSON number. 59 /// </summary> 60 public sealed partial class DoubleValue : pb::IMessage<DoubleValue> 61 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 62 , pb::IBufferMessage 63 #endif 64 { 65 private static readonly pb::MessageParser<DoubleValue> _parser = new pb::MessageParser<DoubleValue>(() => new DoubleValue()); 66 private pb::UnknownFieldSet _unknownFields; 67 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 68 public static pb::MessageParser<DoubleValue> Parser { get { return _parser; } } 69 70 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 71 public static pbr::MessageDescriptor Descriptor { 72 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[0]; } 73 } 74 75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 76 pbr::MessageDescriptor pb::IMessage.Descriptor { 77 get { return Descriptor; } 78 } 79 80 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DoubleValue()81 public DoubleValue() { 82 OnConstruction(); 83 } 84 OnConstruction()85 partial void OnConstruction(); 86 87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DoubleValue(DoubleValue other)88 public DoubleValue(DoubleValue other) : this() { 89 value_ = other.value_; 90 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 91 } 92 93 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()94 public DoubleValue Clone() { 95 return new DoubleValue(this); 96 } 97 98 /// <summary>Field number for the "value" field.</summary> 99 public const int ValueFieldNumber = 1; 100 private double value_; 101 /// <summary> 102 /// The double value. 103 /// </summary> 104 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 105 public double Value { 106 get { return value_; } 107 set { 108 value_ = value; 109 } 110 } 111 112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)113 public override bool Equals(object other) { 114 return Equals(other as DoubleValue); 115 } 116 117 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(DoubleValue other)118 public bool Equals(DoubleValue other) { 119 if (ReferenceEquals(other, null)) { 120 return false; 121 } 122 if (ReferenceEquals(other, this)) { 123 return true; 124 } 125 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Value, other.Value)) return false; 126 return Equals(_unknownFields, other._unknownFields); 127 } 128 129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()130 public override int GetHashCode() { 131 int hash = 1; 132 if (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); 133 if (_unknownFields != null) { 134 hash ^= _unknownFields.GetHashCode(); 135 } 136 return hash; 137 } 138 139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()140 public override string ToString() { 141 return pb::JsonFormatter.ToDiagnosticString(this); 142 } 143 144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)145 public void WriteTo(pb::CodedOutputStream output) { 146 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 147 output.WriteRawMessage(this); 148 #else 149 if (Value != 0D) { 150 output.WriteRawTag(9); 151 output.WriteDouble(Value); 152 } 153 if (_unknownFields != null) { 154 _unknownFields.WriteTo(output); 155 } 156 #endif 157 } 158 159 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)161 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 162 if (Value != 0D) { 163 output.WriteRawTag(9); 164 output.WriteDouble(Value); 165 } 166 if (_unknownFields != null) { 167 _unknownFields.WriteTo(ref output); 168 } 169 } 170 #endif 171 172 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()173 public int CalculateSize() { 174 int size = 0; 175 if (Value != 0D) { 176 size += 1 + 8; 177 } 178 if (_unknownFields != null) { 179 size += _unknownFields.CalculateSize(); 180 } 181 return size; 182 } 183 184 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(DoubleValue other)185 public void MergeFrom(DoubleValue other) { 186 if (other == null) { 187 return; 188 } 189 if (other.Value != 0D) { 190 Value = other.Value; 191 } 192 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 193 } 194 195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)196 public void MergeFrom(pb::CodedInputStream input) { 197 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 198 input.ReadRawMessage(this); 199 #else 200 uint tag; 201 while ((tag = input.ReadTag()) != 0) { 202 switch(tag) { 203 default: 204 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 205 break; 206 case 9: { 207 Value = input.ReadDouble(); 208 break; 209 } 210 } 211 } 212 #endif 213 } 214 215 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)217 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 218 uint tag; 219 while ((tag = input.ReadTag()) != 0) { 220 switch(tag) { 221 default: 222 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 223 break; 224 case 9: { 225 Value = input.ReadDouble(); 226 break; 227 } 228 } 229 } 230 } 231 #endif 232 233 } 234 235 /// <summary> 236 /// Wrapper message for `float`. 237 /// 238 /// The JSON representation for `FloatValue` is JSON number. 239 /// </summary> 240 public sealed partial class FloatValue : pb::IMessage<FloatValue> 241 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 242 , pb::IBufferMessage 243 #endif 244 { 245 private static readonly pb::MessageParser<FloatValue> _parser = new pb::MessageParser<FloatValue>(() => new FloatValue()); 246 private pb::UnknownFieldSet _unknownFields; 247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 248 public static pb::MessageParser<FloatValue> Parser { get { return _parser; } } 249 250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 251 public static pbr::MessageDescriptor Descriptor { 252 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[1]; } 253 } 254 255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 256 pbr::MessageDescriptor pb::IMessage.Descriptor { 257 get { return Descriptor; } 258 } 259 260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FloatValue()261 public FloatValue() { 262 OnConstruction(); 263 } 264 OnConstruction()265 partial void OnConstruction(); 266 267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FloatValue(FloatValue other)268 public FloatValue(FloatValue other) : this() { 269 value_ = other.value_; 270 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 271 } 272 273 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()274 public FloatValue Clone() { 275 return new FloatValue(this); 276 } 277 278 /// <summary>Field number for the "value" field.</summary> 279 public const int ValueFieldNumber = 1; 280 private float value_; 281 /// <summary> 282 /// The float value. 283 /// </summary> 284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 285 public float Value { 286 get { return value_; } 287 set { 288 value_ = value; 289 } 290 } 291 292 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)293 public override bool Equals(object other) { 294 return Equals(other as FloatValue); 295 } 296 297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(FloatValue other)298 public bool Equals(FloatValue other) { 299 if (ReferenceEquals(other, null)) { 300 return false; 301 } 302 if (ReferenceEquals(other, this)) { 303 return true; 304 } 305 if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) return false; 306 return Equals(_unknownFields, other._unknownFields); 307 } 308 309 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()310 public override int GetHashCode() { 311 int hash = 1; 312 if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); 313 if (_unknownFields != null) { 314 hash ^= _unknownFields.GetHashCode(); 315 } 316 return hash; 317 } 318 319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()320 public override string ToString() { 321 return pb::JsonFormatter.ToDiagnosticString(this); 322 } 323 324 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)325 public void WriteTo(pb::CodedOutputStream output) { 326 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 327 output.WriteRawMessage(this); 328 #else 329 if (Value != 0F) { 330 output.WriteRawTag(13); 331 output.WriteFloat(Value); 332 } 333 if (_unknownFields != null) { 334 _unknownFields.WriteTo(output); 335 } 336 #endif 337 } 338 339 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 340 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)341 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 342 if (Value != 0F) { 343 output.WriteRawTag(13); 344 output.WriteFloat(Value); 345 } 346 if (_unknownFields != null) { 347 _unknownFields.WriteTo(ref output); 348 } 349 } 350 #endif 351 352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()353 public int CalculateSize() { 354 int size = 0; 355 if (Value != 0F) { 356 size += 1 + 4; 357 } 358 if (_unknownFields != null) { 359 size += _unknownFields.CalculateSize(); 360 } 361 return size; 362 } 363 364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(FloatValue other)365 public void MergeFrom(FloatValue other) { 366 if (other == null) { 367 return; 368 } 369 if (other.Value != 0F) { 370 Value = other.Value; 371 } 372 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 373 } 374 375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)376 public void MergeFrom(pb::CodedInputStream input) { 377 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 378 input.ReadRawMessage(this); 379 #else 380 uint tag; 381 while ((tag = input.ReadTag()) != 0) { 382 switch(tag) { 383 default: 384 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 385 break; 386 case 13: { 387 Value = input.ReadFloat(); 388 break; 389 } 390 } 391 } 392 #endif 393 } 394 395 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 396 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)397 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 398 uint tag; 399 while ((tag = input.ReadTag()) != 0) { 400 switch(tag) { 401 default: 402 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 403 break; 404 case 13: { 405 Value = input.ReadFloat(); 406 break; 407 } 408 } 409 } 410 } 411 #endif 412 413 } 414 415 /// <summary> 416 /// Wrapper message for `int64`. 417 /// 418 /// The JSON representation for `Int64Value` is JSON string. 419 /// </summary> 420 public sealed partial class Int64Value : pb::IMessage<Int64Value> 421 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 422 , pb::IBufferMessage 423 #endif 424 { 425 private static readonly pb::MessageParser<Int64Value> _parser = new pb::MessageParser<Int64Value>(() => new Int64Value()); 426 private pb::UnknownFieldSet _unknownFields; 427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 428 public static pb::MessageParser<Int64Value> Parser { get { return _parser; } } 429 430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 431 public static pbr::MessageDescriptor Descriptor { 432 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[2]; } 433 } 434 435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 436 pbr::MessageDescriptor pb::IMessage.Descriptor { 437 get { return Descriptor; } 438 } 439 440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int64Value()441 public Int64Value() { 442 OnConstruction(); 443 } 444 OnConstruction()445 partial void OnConstruction(); 446 447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int64Value(Int64Value other)448 public Int64Value(Int64Value other) : this() { 449 value_ = other.value_; 450 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 451 } 452 453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()454 public Int64Value Clone() { 455 return new Int64Value(this); 456 } 457 458 /// <summary>Field number for the "value" field.</summary> 459 public const int ValueFieldNumber = 1; 460 private long value_; 461 /// <summary> 462 /// The int64 value. 463 /// </summary> 464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 465 public long Value { 466 get { return value_; } 467 set { 468 value_ = value; 469 } 470 } 471 472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)473 public override bool Equals(object other) { 474 return Equals(other as Int64Value); 475 } 476 477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(Int64Value other)478 public bool Equals(Int64Value other) { 479 if (ReferenceEquals(other, null)) { 480 return false; 481 } 482 if (ReferenceEquals(other, this)) { 483 return true; 484 } 485 if (Value != other.Value) return false; 486 return Equals(_unknownFields, other._unknownFields); 487 } 488 489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()490 public override int GetHashCode() { 491 int hash = 1; 492 if (Value != 0L) hash ^= Value.GetHashCode(); 493 if (_unknownFields != null) { 494 hash ^= _unknownFields.GetHashCode(); 495 } 496 return hash; 497 } 498 499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()500 public override string ToString() { 501 return pb::JsonFormatter.ToDiagnosticString(this); 502 } 503 504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)505 public void WriteTo(pb::CodedOutputStream output) { 506 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 507 output.WriteRawMessage(this); 508 #else 509 if (Value != 0L) { 510 output.WriteRawTag(8); 511 output.WriteInt64(Value); 512 } 513 if (_unknownFields != null) { 514 _unknownFields.WriteTo(output); 515 } 516 #endif 517 } 518 519 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)521 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 522 if (Value != 0L) { 523 output.WriteRawTag(8); 524 output.WriteInt64(Value); 525 } 526 if (_unknownFields != null) { 527 _unknownFields.WriteTo(ref output); 528 } 529 } 530 #endif 531 532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()533 public int CalculateSize() { 534 int size = 0; 535 if (Value != 0L) { 536 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Value); 537 } 538 if (_unknownFields != null) { 539 size += _unknownFields.CalculateSize(); 540 } 541 return size; 542 } 543 544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(Int64Value other)545 public void MergeFrom(Int64Value other) { 546 if (other == null) { 547 return; 548 } 549 if (other.Value != 0L) { 550 Value = other.Value; 551 } 552 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 553 } 554 555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)556 public void MergeFrom(pb::CodedInputStream input) { 557 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 558 input.ReadRawMessage(this); 559 #else 560 uint tag; 561 while ((tag = input.ReadTag()) != 0) { 562 switch(tag) { 563 default: 564 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 565 break; 566 case 8: { 567 Value = input.ReadInt64(); 568 break; 569 } 570 } 571 } 572 #endif 573 } 574 575 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)577 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 578 uint tag; 579 while ((tag = input.ReadTag()) != 0) { 580 switch(tag) { 581 default: 582 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 583 break; 584 case 8: { 585 Value = input.ReadInt64(); 586 break; 587 } 588 } 589 } 590 } 591 #endif 592 593 } 594 595 /// <summary> 596 /// Wrapper message for `uint64`. 597 /// 598 /// The JSON representation for `UInt64Value` is JSON string. 599 /// </summary> 600 public sealed partial class UInt64Value : pb::IMessage<UInt64Value> 601 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 602 , pb::IBufferMessage 603 #endif 604 { 605 private static readonly pb::MessageParser<UInt64Value> _parser = new pb::MessageParser<UInt64Value>(() => new UInt64Value()); 606 private pb::UnknownFieldSet _unknownFields; 607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 608 public static pb::MessageParser<UInt64Value> Parser { get { return _parser; } } 609 610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 611 public static pbr::MessageDescriptor Descriptor { 612 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[3]; } 613 } 614 615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 616 pbr::MessageDescriptor pb::IMessage.Descriptor { 617 get { return Descriptor; } 618 } 619 620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt64Value()621 public UInt64Value() { 622 OnConstruction(); 623 } 624 OnConstruction()625 partial void OnConstruction(); 626 627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt64Value(UInt64Value other)628 public UInt64Value(UInt64Value other) : this() { 629 value_ = other.value_; 630 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 631 } 632 633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()634 public UInt64Value Clone() { 635 return new UInt64Value(this); 636 } 637 638 /// <summary>Field number for the "value" field.</summary> 639 public const int ValueFieldNumber = 1; 640 private ulong value_; 641 /// <summary> 642 /// The uint64 value. 643 /// </summary> 644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 645 public ulong Value { 646 get { return value_; } 647 set { 648 value_ = value; 649 } 650 } 651 652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)653 public override bool Equals(object other) { 654 return Equals(other as UInt64Value); 655 } 656 657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(UInt64Value other)658 public bool Equals(UInt64Value other) { 659 if (ReferenceEquals(other, null)) { 660 return false; 661 } 662 if (ReferenceEquals(other, this)) { 663 return true; 664 } 665 if (Value != other.Value) return false; 666 return Equals(_unknownFields, other._unknownFields); 667 } 668 669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()670 public override int GetHashCode() { 671 int hash = 1; 672 if (Value != 0UL) hash ^= Value.GetHashCode(); 673 if (_unknownFields != null) { 674 hash ^= _unknownFields.GetHashCode(); 675 } 676 return hash; 677 } 678 679 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()680 public override string ToString() { 681 return pb::JsonFormatter.ToDiagnosticString(this); 682 } 683 684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)685 public void WriteTo(pb::CodedOutputStream output) { 686 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 687 output.WriteRawMessage(this); 688 #else 689 if (Value != 0UL) { 690 output.WriteRawTag(8); 691 output.WriteUInt64(Value); 692 } 693 if (_unknownFields != null) { 694 _unknownFields.WriteTo(output); 695 } 696 #endif 697 } 698 699 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 700 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)701 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 702 if (Value != 0UL) { 703 output.WriteRawTag(8); 704 output.WriteUInt64(Value); 705 } 706 if (_unknownFields != null) { 707 _unknownFields.WriteTo(ref output); 708 } 709 } 710 #endif 711 712 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()713 public int CalculateSize() { 714 int size = 0; 715 if (Value != 0UL) { 716 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Value); 717 } 718 if (_unknownFields != null) { 719 size += _unknownFields.CalculateSize(); 720 } 721 return size; 722 } 723 724 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(UInt64Value other)725 public void MergeFrom(UInt64Value other) { 726 if (other == null) { 727 return; 728 } 729 if (other.Value != 0UL) { 730 Value = other.Value; 731 } 732 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 733 } 734 735 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)736 public void MergeFrom(pb::CodedInputStream input) { 737 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 738 input.ReadRawMessage(this); 739 #else 740 uint tag; 741 while ((tag = input.ReadTag()) != 0) { 742 switch(tag) { 743 default: 744 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 745 break; 746 case 8: { 747 Value = input.ReadUInt64(); 748 break; 749 } 750 } 751 } 752 #endif 753 } 754 755 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)757 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 758 uint tag; 759 while ((tag = input.ReadTag()) != 0) { 760 switch(tag) { 761 default: 762 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 763 break; 764 case 8: { 765 Value = input.ReadUInt64(); 766 break; 767 } 768 } 769 } 770 } 771 #endif 772 773 } 774 775 /// <summary> 776 /// Wrapper message for `int32`. 777 /// 778 /// The JSON representation for `Int32Value` is JSON number. 779 /// </summary> 780 public sealed partial class Int32Value : pb::IMessage<Int32Value> 781 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 782 , pb::IBufferMessage 783 #endif 784 { 785 private static readonly pb::MessageParser<Int32Value> _parser = new pb::MessageParser<Int32Value>(() => new Int32Value()); 786 private pb::UnknownFieldSet _unknownFields; 787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 788 public static pb::MessageParser<Int32Value> Parser { get { return _parser; } } 789 790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 791 public static pbr::MessageDescriptor Descriptor { 792 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[4]; } 793 } 794 795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 796 pbr::MessageDescriptor pb::IMessage.Descriptor { 797 get { return Descriptor; } 798 } 799 800 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int32Value()801 public Int32Value() { 802 OnConstruction(); 803 } 804 OnConstruction()805 partial void OnConstruction(); 806 807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int32Value(Int32Value other)808 public Int32Value(Int32Value other) : this() { 809 value_ = other.value_; 810 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 811 } 812 813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()814 public Int32Value Clone() { 815 return new Int32Value(this); 816 } 817 818 /// <summary>Field number for the "value" field.</summary> 819 public const int ValueFieldNumber = 1; 820 private int value_; 821 /// <summary> 822 /// The int32 value. 823 /// </summary> 824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 825 public int Value { 826 get { return value_; } 827 set { 828 value_ = value; 829 } 830 } 831 832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)833 public override bool Equals(object other) { 834 return Equals(other as Int32Value); 835 } 836 837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(Int32Value other)838 public bool Equals(Int32Value other) { 839 if (ReferenceEquals(other, null)) { 840 return false; 841 } 842 if (ReferenceEquals(other, this)) { 843 return true; 844 } 845 if (Value != other.Value) return false; 846 return Equals(_unknownFields, other._unknownFields); 847 } 848 849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()850 public override int GetHashCode() { 851 int hash = 1; 852 if (Value != 0) hash ^= Value.GetHashCode(); 853 if (_unknownFields != null) { 854 hash ^= _unknownFields.GetHashCode(); 855 } 856 return hash; 857 } 858 859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()860 public override string ToString() { 861 return pb::JsonFormatter.ToDiagnosticString(this); 862 } 863 864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)865 public void WriteTo(pb::CodedOutputStream output) { 866 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 867 output.WriteRawMessage(this); 868 #else 869 if (Value != 0) { 870 output.WriteRawTag(8); 871 output.WriteInt32(Value); 872 } 873 if (_unknownFields != null) { 874 _unknownFields.WriteTo(output); 875 } 876 #endif 877 } 878 879 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)881 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 882 if (Value != 0) { 883 output.WriteRawTag(8); 884 output.WriteInt32(Value); 885 } 886 if (_unknownFields != null) { 887 _unknownFields.WriteTo(ref output); 888 } 889 } 890 #endif 891 892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()893 public int CalculateSize() { 894 int size = 0; 895 if (Value != 0) { 896 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); 897 } 898 if (_unknownFields != null) { 899 size += _unknownFields.CalculateSize(); 900 } 901 return size; 902 } 903 904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(Int32Value other)905 public void MergeFrom(Int32Value other) { 906 if (other == null) { 907 return; 908 } 909 if (other.Value != 0) { 910 Value = other.Value; 911 } 912 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 913 } 914 915 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)916 public void MergeFrom(pb::CodedInputStream input) { 917 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 918 input.ReadRawMessage(this); 919 #else 920 uint tag; 921 while ((tag = input.ReadTag()) != 0) { 922 switch(tag) { 923 default: 924 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 925 break; 926 case 8: { 927 Value = input.ReadInt32(); 928 break; 929 } 930 } 931 } 932 #endif 933 } 934 935 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)937 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 938 uint tag; 939 while ((tag = input.ReadTag()) != 0) { 940 switch(tag) { 941 default: 942 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 943 break; 944 case 8: { 945 Value = input.ReadInt32(); 946 break; 947 } 948 } 949 } 950 } 951 #endif 952 953 } 954 955 /// <summary> 956 /// Wrapper message for `uint32`. 957 /// 958 /// The JSON representation for `UInt32Value` is JSON number. 959 /// </summary> 960 public sealed partial class UInt32Value : pb::IMessage<UInt32Value> 961 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 962 , pb::IBufferMessage 963 #endif 964 { 965 private static readonly pb::MessageParser<UInt32Value> _parser = new pb::MessageParser<UInt32Value>(() => new UInt32Value()); 966 private pb::UnknownFieldSet _unknownFields; 967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 968 public static pb::MessageParser<UInt32Value> Parser { get { return _parser; } } 969 970 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 971 public static pbr::MessageDescriptor Descriptor { 972 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[5]; } 973 } 974 975 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 976 pbr::MessageDescriptor pb::IMessage.Descriptor { 977 get { return Descriptor; } 978 } 979 980 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt32Value()981 public UInt32Value() { 982 OnConstruction(); 983 } 984 OnConstruction()985 partial void OnConstruction(); 986 987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt32Value(UInt32Value other)988 public UInt32Value(UInt32Value other) : this() { 989 value_ = other.value_; 990 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 991 } 992 993 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()994 public UInt32Value Clone() { 995 return new UInt32Value(this); 996 } 997 998 /// <summary>Field number for the "value" field.</summary> 999 public const int ValueFieldNumber = 1; 1000 private uint value_; 1001 /// <summary> 1002 /// The uint32 value. 1003 /// </summary> 1004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1005 public uint Value { 1006 get { return value_; } 1007 set { 1008 value_ = value; 1009 } 1010 } 1011 1012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1013 public override bool Equals(object other) { 1014 return Equals(other as UInt32Value); 1015 } 1016 1017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(UInt32Value other)1018 public bool Equals(UInt32Value other) { 1019 if (ReferenceEquals(other, null)) { 1020 return false; 1021 } 1022 if (ReferenceEquals(other, this)) { 1023 return true; 1024 } 1025 if (Value != other.Value) return false; 1026 return Equals(_unknownFields, other._unknownFields); 1027 } 1028 1029 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1030 public override int GetHashCode() { 1031 int hash = 1; 1032 if (Value != 0) hash ^= Value.GetHashCode(); 1033 if (_unknownFields != null) { 1034 hash ^= _unknownFields.GetHashCode(); 1035 } 1036 return hash; 1037 } 1038 1039 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()1040 public override string ToString() { 1041 return pb::JsonFormatter.ToDiagnosticString(this); 1042 } 1043 1044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)1045 public void WriteTo(pb::CodedOutputStream output) { 1046 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1047 output.WriteRawMessage(this); 1048 #else 1049 if (Value != 0) { 1050 output.WriteRawTag(8); 1051 output.WriteUInt32(Value); 1052 } 1053 if (_unknownFields != null) { 1054 _unknownFields.WriteTo(output); 1055 } 1056 #endif 1057 } 1058 1059 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1061 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 1062 if (Value != 0) { 1063 output.WriteRawTag(8); 1064 output.WriteUInt32(Value); 1065 } 1066 if (_unknownFields != null) { 1067 _unknownFields.WriteTo(ref output); 1068 } 1069 } 1070 #endif 1071 1072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1073 public int CalculateSize() { 1074 int size = 0; 1075 if (Value != 0) { 1076 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); 1077 } 1078 if (_unknownFields != null) { 1079 size += _unknownFields.CalculateSize(); 1080 } 1081 return size; 1082 } 1083 1084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(UInt32Value other)1085 public void MergeFrom(UInt32Value other) { 1086 if (other == null) { 1087 return; 1088 } 1089 if (other.Value != 0) { 1090 Value = other.Value; 1091 } 1092 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1093 } 1094 1095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1096 public void MergeFrom(pb::CodedInputStream input) { 1097 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1098 input.ReadRawMessage(this); 1099 #else 1100 uint tag; 1101 while ((tag = input.ReadTag()) != 0) { 1102 switch(tag) { 1103 default: 1104 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1105 break; 1106 case 8: { 1107 Value = input.ReadUInt32(); 1108 break; 1109 } 1110 } 1111 } 1112 #endif 1113 } 1114 1115 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1117 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 1118 uint tag; 1119 while ((tag = input.ReadTag()) != 0) { 1120 switch(tag) { 1121 default: 1122 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 1123 break; 1124 case 8: { 1125 Value = input.ReadUInt32(); 1126 break; 1127 } 1128 } 1129 } 1130 } 1131 #endif 1132 1133 } 1134 1135 /// <summary> 1136 /// Wrapper message for `bool`. 1137 /// 1138 /// The JSON representation for `BoolValue` is JSON `true` and `false`. 1139 /// </summary> 1140 public sealed partial class BoolValue : pb::IMessage<BoolValue> 1141 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1142 , pb::IBufferMessage 1143 #endif 1144 { 1145 private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue()); 1146 private pb::UnknownFieldSet _unknownFields; 1147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1148 public static pb::MessageParser<BoolValue> Parser { get { return _parser; } } 1149 1150 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1151 public static pbr::MessageDescriptor Descriptor { 1152 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[6]; } 1153 } 1154 1155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1156 pbr::MessageDescriptor pb::IMessage.Descriptor { 1157 get { return Descriptor; } 1158 } 1159 1160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BoolValue()1161 public BoolValue() { 1162 OnConstruction(); 1163 } 1164 OnConstruction()1165 partial void OnConstruction(); 1166 1167 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BoolValue(BoolValue other)1168 public BoolValue(BoolValue other) : this() { 1169 value_ = other.value_; 1170 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 1171 } 1172 1173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()1174 public BoolValue Clone() { 1175 return new BoolValue(this); 1176 } 1177 1178 /// <summary>Field number for the "value" field.</summary> 1179 public const int ValueFieldNumber = 1; 1180 private bool value_; 1181 /// <summary> 1182 /// The bool value. 1183 /// </summary> 1184 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1185 public bool Value { 1186 get { return value_; } 1187 set { 1188 value_ = value; 1189 } 1190 } 1191 1192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1193 public override bool Equals(object other) { 1194 return Equals(other as BoolValue); 1195 } 1196 1197 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(BoolValue other)1198 public bool Equals(BoolValue other) { 1199 if (ReferenceEquals(other, null)) { 1200 return false; 1201 } 1202 if (ReferenceEquals(other, this)) { 1203 return true; 1204 } 1205 if (Value != other.Value) return false; 1206 return Equals(_unknownFields, other._unknownFields); 1207 } 1208 1209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1210 public override int GetHashCode() { 1211 int hash = 1; 1212 if (Value != false) hash ^= Value.GetHashCode(); 1213 if (_unknownFields != null) { 1214 hash ^= _unknownFields.GetHashCode(); 1215 } 1216 return hash; 1217 } 1218 1219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()1220 public override string ToString() { 1221 return pb::JsonFormatter.ToDiagnosticString(this); 1222 } 1223 1224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)1225 public void WriteTo(pb::CodedOutputStream output) { 1226 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1227 output.WriteRawMessage(this); 1228 #else 1229 if (Value != false) { 1230 output.WriteRawTag(8); 1231 output.WriteBool(Value); 1232 } 1233 if (_unknownFields != null) { 1234 _unknownFields.WriteTo(output); 1235 } 1236 #endif 1237 } 1238 1239 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1241 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 1242 if (Value != false) { 1243 output.WriteRawTag(8); 1244 output.WriteBool(Value); 1245 } 1246 if (_unknownFields != null) { 1247 _unknownFields.WriteTo(ref output); 1248 } 1249 } 1250 #endif 1251 1252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1253 public int CalculateSize() { 1254 int size = 0; 1255 if (Value != false) { 1256 size += 1 + 1; 1257 } 1258 if (_unknownFields != null) { 1259 size += _unknownFields.CalculateSize(); 1260 } 1261 return size; 1262 } 1263 1264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(BoolValue other)1265 public void MergeFrom(BoolValue other) { 1266 if (other == null) { 1267 return; 1268 } 1269 if (other.Value != false) { 1270 Value = other.Value; 1271 } 1272 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1273 } 1274 1275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1276 public void MergeFrom(pb::CodedInputStream input) { 1277 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1278 input.ReadRawMessage(this); 1279 #else 1280 uint tag; 1281 while ((tag = input.ReadTag()) != 0) { 1282 switch(tag) { 1283 default: 1284 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1285 break; 1286 case 8: { 1287 Value = input.ReadBool(); 1288 break; 1289 } 1290 } 1291 } 1292 #endif 1293 } 1294 1295 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1296 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1297 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 1298 uint tag; 1299 while ((tag = input.ReadTag()) != 0) { 1300 switch(tag) { 1301 default: 1302 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 1303 break; 1304 case 8: { 1305 Value = input.ReadBool(); 1306 break; 1307 } 1308 } 1309 } 1310 } 1311 #endif 1312 1313 } 1314 1315 /// <summary> 1316 /// Wrapper message for `string`. 1317 /// 1318 /// The JSON representation for `StringValue` is JSON string. 1319 /// </summary> 1320 public sealed partial class StringValue : pb::IMessage<StringValue> 1321 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1322 , pb::IBufferMessage 1323 #endif 1324 { 1325 private static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() => new StringValue()); 1326 private pb::UnknownFieldSet _unknownFields; 1327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1328 public static pb::MessageParser<StringValue> Parser { get { return _parser; } } 1329 1330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1331 public static pbr::MessageDescriptor Descriptor { 1332 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[7]; } 1333 } 1334 1335 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1336 pbr::MessageDescriptor pb::IMessage.Descriptor { 1337 get { return Descriptor; } 1338 } 1339 1340 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] StringValue()1341 public StringValue() { 1342 OnConstruction(); 1343 } 1344 OnConstruction()1345 partial void OnConstruction(); 1346 1347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] StringValue(StringValue other)1348 public StringValue(StringValue other) : this() { 1349 value_ = other.value_; 1350 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 1351 } 1352 1353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()1354 public StringValue Clone() { 1355 return new StringValue(this); 1356 } 1357 1358 /// <summary>Field number for the "value" field.</summary> 1359 public const int ValueFieldNumber = 1; 1360 private string value_ = ""; 1361 /// <summary> 1362 /// The string value. 1363 /// </summary> 1364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1365 public string Value { 1366 get { return value_; } 1367 set { 1368 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1369 } 1370 } 1371 1372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1373 public override bool Equals(object other) { 1374 return Equals(other as StringValue); 1375 } 1376 1377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(StringValue other)1378 public bool Equals(StringValue other) { 1379 if (ReferenceEquals(other, null)) { 1380 return false; 1381 } 1382 if (ReferenceEquals(other, this)) { 1383 return true; 1384 } 1385 if (Value != other.Value) return false; 1386 return Equals(_unknownFields, other._unknownFields); 1387 } 1388 1389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1390 public override int GetHashCode() { 1391 int hash = 1; 1392 if (Value.Length != 0) hash ^= Value.GetHashCode(); 1393 if (_unknownFields != null) { 1394 hash ^= _unknownFields.GetHashCode(); 1395 } 1396 return hash; 1397 } 1398 1399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()1400 public override string ToString() { 1401 return pb::JsonFormatter.ToDiagnosticString(this); 1402 } 1403 1404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)1405 public void WriteTo(pb::CodedOutputStream output) { 1406 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1407 output.WriteRawMessage(this); 1408 #else 1409 if (Value.Length != 0) { 1410 output.WriteRawTag(10); 1411 output.WriteString(Value); 1412 } 1413 if (_unknownFields != null) { 1414 _unknownFields.WriteTo(output); 1415 } 1416 #endif 1417 } 1418 1419 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1421 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 1422 if (Value.Length != 0) { 1423 output.WriteRawTag(10); 1424 output.WriteString(Value); 1425 } 1426 if (_unknownFields != null) { 1427 _unknownFields.WriteTo(ref output); 1428 } 1429 } 1430 #endif 1431 1432 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1433 public int CalculateSize() { 1434 int size = 0; 1435 if (Value.Length != 0) { 1436 size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); 1437 } 1438 if (_unknownFields != null) { 1439 size += _unknownFields.CalculateSize(); 1440 } 1441 return size; 1442 } 1443 1444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(StringValue other)1445 public void MergeFrom(StringValue other) { 1446 if (other == null) { 1447 return; 1448 } 1449 if (other.Value.Length != 0) { 1450 Value = other.Value; 1451 } 1452 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1453 } 1454 1455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1456 public void MergeFrom(pb::CodedInputStream input) { 1457 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1458 input.ReadRawMessage(this); 1459 #else 1460 uint tag; 1461 while ((tag = input.ReadTag()) != 0) { 1462 switch(tag) { 1463 default: 1464 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1465 break; 1466 case 10: { 1467 Value = input.ReadString(); 1468 break; 1469 } 1470 } 1471 } 1472 #endif 1473 } 1474 1475 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1476 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1477 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 1478 uint tag; 1479 while ((tag = input.ReadTag()) != 0) { 1480 switch(tag) { 1481 default: 1482 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 1483 break; 1484 case 10: { 1485 Value = input.ReadString(); 1486 break; 1487 } 1488 } 1489 } 1490 } 1491 #endif 1492 1493 } 1494 1495 /// <summary> 1496 /// Wrapper message for `bytes`. 1497 /// 1498 /// The JSON representation for `BytesValue` is JSON string. 1499 /// </summary> 1500 public sealed partial class BytesValue : pb::IMessage<BytesValue> 1501 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1502 , pb::IBufferMessage 1503 #endif 1504 { 1505 private static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<BytesValue>(() => new BytesValue()); 1506 private pb::UnknownFieldSet _unknownFields; 1507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1508 public static pb::MessageParser<BytesValue> Parser { get { return _parser; } } 1509 1510 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1511 public static pbr::MessageDescriptor Descriptor { 1512 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[8]; } 1513 } 1514 1515 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1516 pbr::MessageDescriptor pb::IMessage.Descriptor { 1517 get { return Descriptor; } 1518 } 1519 1520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BytesValue()1521 public BytesValue() { 1522 OnConstruction(); 1523 } 1524 OnConstruction()1525 partial void OnConstruction(); 1526 1527 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BytesValue(BytesValue other)1528 public BytesValue(BytesValue other) : this() { 1529 value_ = other.value_; 1530 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 1531 } 1532 1533 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()1534 public BytesValue Clone() { 1535 return new BytesValue(this); 1536 } 1537 1538 /// <summary>Field number for the "value" field.</summary> 1539 public const int ValueFieldNumber = 1; 1540 private pb::ByteString value_ = pb::ByteString.Empty; 1541 /// <summary> 1542 /// The bytes value. 1543 /// </summary> 1544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1545 public pb::ByteString Value { 1546 get { return value_; } 1547 set { 1548 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1549 } 1550 } 1551 1552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1553 public override bool Equals(object other) { 1554 return Equals(other as BytesValue); 1555 } 1556 1557 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(BytesValue other)1558 public bool Equals(BytesValue other) { 1559 if (ReferenceEquals(other, null)) { 1560 return false; 1561 } 1562 if (ReferenceEquals(other, this)) { 1563 return true; 1564 } 1565 if (Value != other.Value) return false; 1566 return Equals(_unknownFields, other._unknownFields); 1567 } 1568 1569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1570 public override int GetHashCode() { 1571 int hash = 1; 1572 if (Value.Length != 0) hash ^= Value.GetHashCode(); 1573 if (_unknownFields != null) { 1574 hash ^= _unknownFields.GetHashCode(); 1575 } 1576 return hash; 1577 } 1578 1579 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()1580 public override string ToString() { 1581 return pb::JsonFormatter.ToDiagnosticString(this); 1582 } 1583 1584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)1585 public void WriteTo(pb::CodedOutputStream output) { 1586 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1587 output.WriteRawMessage(this); 1588 #else 1589 if (Value.Length != 0) { 1590 output.WriteRawTag(10); 1591 output.WriteBytes(Value); 1592 } 1593 if (_unknownFields != null) { 1594 _unknownFields.WriteTo(output); 1595 } 1596 #endif 1597 } 1598 1599 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1601 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 1602 if (Value.Length != 0) { 1603 output.WriteRawTag(10); 1604 output.WriteBytes(Value); 1605 } 1606 if (_unknownFields != null) { 1607 _unknownFields.WriteTo(ref output); 1608 } 1609 } 1610 #endif 1611 1612 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1613 public int CalculateSize() { 1614 int size = 0; 1615 if (Value.Length != 0) { 1616 size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); 1617 } 1618 if (_unknownFields != null) { 1619 size += _unknownFields.CalculateSize(); 1620 } 1621 return size; 1622 } 1623 1624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(BytesValue other)1625 public void MergeFrom(BytesValue other) { 1626 if (other == null) { 1627 return; 1628 } 1629 if (other.Value.Length != 0) { 1630 Value = other.Value; 1631 } 1632 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1633 } 1634 1635 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1636 public void MergeFrom(pb::CodedInputStream input) { 1637 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1638 input.ReadRawMessage(this); 1639 #else 1640 uint tag; 1641 while ((tag = input.ReadTag()) != 0) { 1642 switch(tag) { 1643 default: 1644 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1645 break; 1646 case 10: { 1647 Value = input.ReadBytes(); 1648 break; 1649 } 1650 } 1651 } 1652 #endif 1653 } 1654 1655 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1656 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1657 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 1658 uint tag; 1659 while ((tag = input.ReadTag()) != 0) { 1660 switch(tag) { 1661 default: 1662 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 1663 break; 1664 case 10: { 1665 Value = input.ReadBytes(); 1666 break; 1667 } 1668 } 1669 } 1670 } 1671 #endif 1672 1673 } 1674 1675 #endregion 1676 1677 } 1678 1679 #endregion Designer generated code 1680