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