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 private static readonly pb::MessageParser<DoubleValue> _parser = new pb::MessageParser<DoubleValue>(() => new DoubleValue()); 62 private pb::UnknownFieldSet _unknownFields; 63 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 64 public static pb::MessageParser<DoubleValue> Parser { get { return _parser; } } 65 66 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 67 public static pbr::MessageDescriptor Descriptor { 68 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[0]; } 69 } 70 71 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 72 pbr::MessageDescriptor pb::IMessage.Descriptor { 73 get { return Descriptor; } 74 } 75 76 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DoubleValue()77 public DoubleValue() { 78 OnConstruction(); 79 } 80 OnConstruction()81 partial void OnConstruction(); 82 83 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DoubleValue(DoubleValue other)84 public DoubleValue(DoubleValue other) : this() { 85 value_ = other.value_; 86 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 87 } 88 89 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()90 public DoubleValue Clone() { 91 return new DoubleValue(this); 92 } 93 94 /// <summary>Field number for the "value" field.</summary> 95 public const int ValueFieldNumber = 1; 96 private double value_; 97 /// <summary> 98 /// The double value. 99 /// </summary> 100 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 101 public double Value { 102 get { return value_; } 103 set { 104 value_ = value; 105 } 106 } 107 108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)109 public override bool Equals(object other) { 110 return Equals(other as DoubleValue); 111 } 112 113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(DoubleValue other)114 public bool Equals(DoubleValue other) { 115 if (ReferenceEquals(other, null)) { 116 return false; 117 } 118 if (ReferenceEquals(other, this)) { 119 return true; 120 } 121 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Value, other.Value)) return false; 122 return Equals(_unknownFields, other._unknownFields); 123 } 124 125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()126 public override int GetHashCode() { 127 int hash = 1; 128 if (Value != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value); 129 if (_unknownFields != null) { 130 hash ^= _unknownFields.GetHashCode(); 131 } 132 return hash; 133 } 134 135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()136 public override string ToString() { 137 return pb::JsonFormatter.ToDiagnosticString(this); 138 } 139 140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)141 public void WriteTo(pb::CodedOutputStream output) { 142 if (Value != 0D) { 143 output.WriteRawTag(9); 144 output.WriteDouble(Value); 145 } 146 if (_unknownFields != null) { 147 _unknownFields.WriteTo(output); 148 } 149 } 150 151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()152 public int CalculateSize() { 153 int size = 0; 154 if (Value != 0D) { 155 size += 1 + 8; 156 } 157 if (_unknownFields != null) { 158 size += _unknownFields.CalculateSize(); 159 } 160 return size; 161 } 162 163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(DoubleValue other)164 public void MergeFrom(DoubleValue other) { 165 if (other == null) { 166 return; 167 } 168 if (other.Value != 0D) { 169 Value = other.Value; 170 } 171 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 172 } 173 174 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)175 public void MergeFrom(pb::CodedInputStream input) { 176 uint tag; 177 while ((tag = input.ReadTag()) != 0) { 178 switch(tag) { 179 default: 180 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 181 break; 182 case 9: { 183 Value = input.ReadDouble(); 184 break; 185 } 186 } 187 } 188 } 189 190 } 191 192 /// <summary> 193 /// Wrapper message for `float`. 194 /// 195 /// The JSON representation for `FloatValue` is JSON number. 196 /// </summary> 197 public sealed partial class FloatValue : pb::IMessage<FloatValue> { 198 private static readonly pb::MessageParser<FloatValue> _parser = new pb::MessageParser<FloatValue>(() => new FloatValue()); 199 private pb::UnknownFieldSet _unknownFields; 200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 201 public static pb::MessageParser<FloatValue> Parser { get { return _parser; } } 202 203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 204 public static pbr::MessageDescriptor Descriptor { 205 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[1]; } 206 } 207 208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 209 pbr::MessageDescriptor pb::IMessage.Descriptor { 210 get { return Descriptor; } 211 } 212 213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FloatValue()214 public FloatValue() { 215 OnConstruction(); 216 } 217 OnConstruction()218 partial void OnConstruction(); 219 220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FloatValue(FloatValue other)221 public FloatValue(FloatValue other) : this() { 222 value_ = other.value_; 223 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 224 } 225 226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()227 public FloatValue Clone() { 228 return new FloatValue(this); 229 } 230 231 /// <summary>Field number for the "value" field.</summary> 232 public const int ValueFieldNumber = 1; 233 private float value_; 234 /// <summary> 235 /// The float value. 236 /// </summary> 237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 238 public float Value { 239 get { return value_; } 240 set { 241 value_ = value; 242 } 243 } 244 245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)246 public override bool Equals(object other) { 247 return Equals(other as FloatValue); 248 } 249 250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(FloatValue other)251 public bool Equals(FloatValue other) { 252 if (ReferenceEquals(other, null)) { 253 return false; 254 } 255 if (ReferenceEquals(other, this)) { 256 return true; 257 } 258 if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) return false; 259 return Equals(_unknownFields, other._unknownFields); 260 } 261 262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()263 public override int GetHashCode() { 264 int hash = 1; 265 if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); 266 if (_unknownFields != null) { 267 hash ^= _unknownFields.GetHashCode(); 268 } 269 return hash; 270 } 271 272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()273 public override string ToString() { 274 return pb::JsonFormatter.ToDiagnosticString(this); 275 } 276 277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)278 public void WriteTo(pb::CodedOutputStream output) { 279 if (Value != 0F) { 280 output.WriteRawTag(13); 281 output.WriteFloat(Value); 282 } 283 if (_unknownFields != null) { 284 _unknownFields.WriteTo(output); 285 } 286 } 287 288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()289 public int CalculateSize() { 290 int size = 0; 291 if (Value != 0F) { 292 size += 1 + 4; 293 } 294 if (_unknownFields != null) { 295 size += _unknownFields.CalculateSize(); 296 } 297 return size; 298 } 299 300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(FloatValue other)301 public void MergeFrom(FloatValue other) { 302 if (other == null) { 303 return; 304 } 305 if (other.Value != 0F) { 306 Value = other.Value; 307 } 308 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 309 } 310 311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)312 public void MergeFrom(pb::CodedInputStream input) { 313 uint tag; 314 while ((tag = input.ReadTag()) != 0) { 315 switch(tag) { 316 default: 317 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 318 break; 319 case 13: { 320 Value = input.ReadFloat(); 321 break; 322 } 323 } 324 } 325 } 326 327 } 328 329 /// <summary> 330 /// Wrapper message for `int64`. 331 /// 332 /// The JSON representation for `Int64Value` is JSON string. 333 /// </summary> 334 public sealed partial class Int64Value : pb::IMessage<Int64Value> { 335 private static readonly pb::MessageParser<Int64Value> _parser = new pb::MessageParser<Int64Value>(() => new Int64Value()); 336 private pb::UnknownFieldSet _unknownFields; 337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 338 public static pb::MessageParser<Int64Value> Parser { get { return _parser; } } 339 340 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 341 public static pbr::MessageDescriptor Descriptor { 342 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[2]; } 343 } 344 345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 346 pbr::MessageDescriptor pb::IMessage.Descriptor { 347 get { return Descriptor; } 348 } 349 350 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int64Value()351 public Int64Value() { 352 OnConstruction(); 353 } 354 OnConstruction()355 partial void OnConstruction(); 356 357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int64Value(Int64Value other)358 public Int64Value(Int64Value other) : this() { 359 value_ = other.value_; 360 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 361 } 362 363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()364 public Int64Value Clone() { 365 return new Int64Value(this); 366 } 367 368 /// <summary>Field number for the "value" field.</summary> 369 public const int ValueFieldNumber = 1; 370 private long value_; 371 /// <summary> 372 /// The int64 value. 373 /// </summary> 374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 375 public long Value { 376 get { return value_; } 377 set { 378 value_ = value; 379 } 380 } 381 382 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)383 public override bool Equals(object other) { 384 return Equals(other as Int64Value); 385 } 386 387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(Int64Value other)388 public bool Equals(Int64Value other) { 389 if (ReferenceEquals(other, null)) { 390 return false; 391 } 392 if (ReferenceEquals(other, this)) { 393 return true; 394 } 395 if (Value != other.Value) return false; 396 return Equals(_unknownFields, other._unknownFields); 397 } 398 399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()400 public override int GetHashCode() { 401 int hash = 1; 402 if (Value != 0L) hash ^= Value.GetHashCode(); 403 if (_unknownFields != null) { 404 hash ^= _unknownFields.GetHashCode(); 405 } 406 return hash; 407 } 408 409 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()410 public override string ToString() { 411 return pb::JsonFormatter.ToDiagnosticString(this); 412 } 413 414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)415 public void WriteTo(pb::CodedOutputStream output) { 416 if (Value != 0L) { 417 output.WriteRawTag(8); 418 output.WriteInt64(Value); 419 } 420 if (_unknownFields != null) { 421 _unknownFields.WriteTo(output); 422 } 423 } 424 425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()426 public int CalculateSize() { 427 int size = 0; 428 if (Value != 0L) { 429 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Value); 430 } 431 if (_unknownFields != null) { 432 size += _unknownFields.CalculateSize(); 433 } 434 return size; 435 } 436 437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(Int64Value other)438 public void MergeFrom(Int64Value other) { 439 if (other == null) { 440 return; 441 } 442 if (other.Value != 0L) { 443 Value = other.Value; 444 } 445 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 446 } 447 448 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)449 public void MergeFrom(pb::CodedInputStream input) { 450 uint tag; 451 while ((tag = input.ReadTag()) != 0) { 452 switch(tag) { 453 default: 454 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 455 break; 456 case 8: { 457 Value = input.ReadInt64(); 458 break; 459 } 460 } 461 } 462 } 463 464 } 465 466 /// <summary> 467 /// Wrapper message for `uint64`. 468 /// 469 /// The JSON representation for `UInt64Value` is JSON string. 470 /// </summary> 471 public sealed partial class UInt64Value : pb::IMessage<UInt64Value> { 472 private static readonly pb::MessageParser<UInt64Value> _parser = new pb::MessageParser<UInt64Value>(() => new UInt64Value()); 473 private pb::UnknownFieldSet _unknownFields; 474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 475 public static pb::MessageParser<UInt64Value> Parser { get { return _parser; } } 476 477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 478 public static pbr::MessageDescriptor Descriptor { 479 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[3]; } 480 } 481 482 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 483 pbr::MessageDescriptor pb::IMessage.Descriptor { 484 get { return Descriptor; } 485 } 486 487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt64Value()488 public UInt64Value() { 489 OnConstruction(); 490 } 491 OnConstruction()492 partial void OnConstruction(); 493 494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt64Value(UInt64Value other)495 public UInt64Value(UInt64Value other) : this() { 496 value_ = other.value_; 497 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 498 } 499 500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()501 public UInt64Value Clone() { 502 return new UInt64Value(this); 503 } 504 505 /// <summary>Field number for the "value" field.</summary> 506 public const int ValueFieldNumber = 1; 507 private ulong value_; 508 /// <summary> 509 /// The uint64 value. 510 /// </summary> 511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 512 public ulong Value { 513 get { return value_; } 514 set { 515 value_ = value; 516 } 517 } 518 519 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)520 public override bool Equals(object other) { 521 return Equals(other as UInt64Value); 522 } 523 524 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(UInt64Value other)525 public bool Equals(UInt64Value other) { 526 if (ReferenceEquals(other, null)) { 527 return false; 528 } 529 if (ReferenceEquals(other, this)) { 530 return true; 531 } 532 if (Value != other.Value) return false; 533 return Equals(_unknownFields, other._unknownFields); 534 } 535 536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()537 public override int GetHashCode() { 538 int hash = 1; 539 if (Value != 0UL) hash ^= Value.GetHashCode(); 540 if (_unknownFields != null) { 541 hash ^= _unknownFields.GetHashCode(); 542 } 543 return hash; 544 } 545 546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()547 public override string ToString() { 548 return pb::JsonFormatter.ToDiagnosticString(this); 549 } 550 551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)552 public void WriteTo(pb::CodedOutputStream output) { 553 if (Value != 0UL) { 554 output.WriteRawTag(8); 555 output.WriteUInt64(Value); 556 } 557 if (_unknownFields != null) { 558 _unknownFields.WriteTo(output); 559 } 560 } 561 562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()563 public int CalculateSize() { 564 int size = 0; 565 if (Value != 0UL) { 566 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Value); 567 } 568 if (_unknownFields != null) { 569 size += _unknownFields.CalculateSize(); 570 } 571 return size; 572 } 573 574 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(UInt64Value other)575 public void MergeFrom(UInt64Value other) { 576 if (other == null) { 577 return; 578 } 579 if (other.Value != 0UL) { 580 Value = other.Value; 581 } 582 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 583 } 584 585 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)586 public void MergeFrom(pb::CodedInputStream input) { 587 uint tag; 588 while ((tag = input.ReadTag()) != 0) { 589 switch(tag) { 590 default: 591 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 592 break; 593 case 8: { 594 Value = input.ReadUInt64(); 595 break; 596 } 597 } 598 } 599 } 600 601 } 602 603 /// <summary> 604 /// Wrapper message for `int32`. 605 /// 606 /// The JSON representation for `Int32Value` is JSON number. 607 /// </summary> 608 public sealed partial class Int32Value : pb::IMessage<Int32Value> { 609 private static readonly pb::MessageParser<Int32Value> _parser = new pb::MessageParser<Int32Value>(() => new Int32Value()); 610 private pb::UnknownFieldSet _unknownFields; 611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 612 public static pb::MessageParser<Int32Value> Parser { get { return _parser; } } 613 614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 615 public static pbr::MessageDescriptor Descriptor { 616 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[4]; } 617 } 618 619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 620 pbr::MessageDescriptor pb::IMessage.Descriptor { 621 get { return Descriptor; } 622 } 623 624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int32Value()625 public Int32Value() { 626 OnConstruction(); 627 } 628 OnConstruction()629 partial void OnConstruction(); 630 631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Int32Value(Int32Value other)632 public Int32Value(Int32Value other) : this() { 633 value_ = other.value_; 634 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 635 } 636 637 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()638 public Int32Value Clone() { 639 return new Int32Value(this); 640 } 641 642 /// <summary>Field number for the "value" field.</summary> 643 public const int ValueFieldNumber = 1; 644 private int value_; 645 /// <summary> 646 /// The int32 value. 647 /// </summary> 648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 649 public int Value { 650 get { return value_; } 651 set { 652 value_ = value; 653 } 654 } 655 656 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)657 public override bool Equals(object other) { 658 return Equals(other as Int32Value); 659 } 660 661 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(Int32Value other)662 public bool Equals(Int32Value other) { 663 if (ReferenceEquals(other, null)) { 664 return false; 665 } 666 if (ReferenceEquals(other, this)) { 667 return true; 668 } 669 if (Value != other.Value) return false; 670 return Equals(_unknownFields, other._unknownFields); 671 } 672 673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()674 public override int GetHashCode() { 675 int hash = 1; 676 if (Value != 0) hash ^= Value.GetHashCode(); 677 if (_unknownFields != null) { 678 hash ^= _unknownFields.GetHashCode(); 679 } 680 return hash; 681 } 682 683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()684 public override string ToString() { 685 return pb::JsonFormatter.ToDiagnosticString(this); 686 } 687 688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)689 public void WriteTo(pb::CodedOutputStream output) { 690 if (Value != 0) { 691 output.WriteRawTag(8); 692 output.WriteInt32(Value); 693 } 694 if (_unknownFields != null) { 695 _unknownFields.WriteTo(output); 696 } 697 } 698 699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()700 public int CalculateSize() { 701 int size = 0; 702 if (Value != 0) { 703 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value); 704 } 705 if (_unknownFields != null) { 706 size += _unknownFields.CalculateSize(); 707 } 708 return size; 709 } 710 711 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(Int32Value other)712 public void MergeFrom(Int32Value other) { 713 if (other == null) { 714 return; 715 } 716 if (other.Value != 0) { 717 Value = other.Value; 718 } 719 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 720 } 721 722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)723 public void MergeFrom(pb::CodedInputStream input) { 724 uint tag; 725 while ((tag = input.ReadTag()) != 0) { 726 switch(tag) { 727 default: 728 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 729 break; 730 case 8: { 731 Value = input.ReadInt32(); 732 break; 733 } 734 } 735 } 736 } 737 738 } 739 740 /// <summary> 741 /// Wrapper message for `uint32`. 742 /// 743 /// The JSON representation for `UInt32Value` is JSON number. 744 /// </summary> 745 public sealed partial class UInt32Value : pb::IMessage<UInt32Value> { 746 private static readonly pb::MessageParser<UInt32Value> _parser = new pb::MessageParser<UInt32Value>(() => new UInt32Value()); 747 private pb::UnknownFieldSet _unknownFields; 748 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 749 public static pb::MessageParser<UInt32Value> Parser { get { return _parser; } } 750 751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 752 public static pbr::MessageDescriptor Descriptor { 753 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[5]; } 754 } 755 756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 757 pbr::MessageDescriptor pb::IMessage.Descriptor { 758 get { return Descriptor; } 759 } 760 761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt32Value()762 public UInt32Value() { 763 OnConstruction(); 764 } 765 OnConstruction()766 partial void OnConstruction(); 767 768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] UInt32Value(UInt32Value other)769 public UInt32Value(UInt32Value other) : this() { 770 value_ = other.value_; 771 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 772 } 773 774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()775 public UInt32Value Clone() { 776 return new UInt32Value(this); 777 } 778 779 /// <summary>Field number for the "value" field.</summary> 780 public const int ValueFieldNumber = 1; 781 private uint value_; 782 /// <summary> 783 /// The uint32 value. 784 /// </summary> 785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 786 public uint Value { 787 get { return value_; } 788 set { 789 value_ = value; 790 } 791 } 792 793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)794 public override bool Equals(object other) { 795 return Equals(other as UInt32Value); 796 } 797 798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(UInt32Value other)799 public bool Equals(UInt32Value other) { 800 if (ReferenceEquals(other, null)) { 801 return false; 802 } 803 if (ReferenceEquals(other, this)) { 804 return true; 805 } 806 if (Value != other.Value) return false; 807 return Equals(_unknownFields, other._unknownFields); 808 } 809 810 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()811 public override int GetHashCode() { 812 int hash = 1; 813 if (Value != 0) hash ^= Value.GetHashCode(); 814 if (_unknownFields != null) { 815 hash ^= _unknownFields.GetHashCode(); 816 } 817 return hash; 818 } 819 820 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()821 public override string ToString() { 822 return pb::JsonFormatter.ToDiagnosticString(this); 823 } 824 825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)826 public void WriteTo(pb::CodedOutputStream output) { 827 if (Value != 0) { 828 output.WriteRawTag(8); 829 output.WriteUInt32(Value); 830 } 831 if (_unknownFields != null) { 832 _unknownFields.WriteTo(output); 833 } 834 } 835 836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()837 public int CalculateSize() { 838 int size = 0; 839 if (Value != 0) { 840 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Value); 841 } 842 if (_unknownFields != null) { 843 size += _unknownFields.CalculateSize(); 844 } 845 return size; 846 } 847 848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(UInt32Value other)849 public void MergeFrom(UInt32Value other) { 850 if (other == null) { 851 return; 852 } 853 if (other.Value != 0) { 854 Value = other.Value; 855 } 856 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 857 } 858 859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)860 public void MergeFrom(pb::CodedInputStream input) { 861 uint tag; 862 while ((tag = input.ReadTag()) != 0) { 863 switch(tag) { 864 default: 865 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 866 break; 867 case 8: { 868 Value = input.ReadUInt32(); 869 break; 870 } 871 } 872 } 873 } 874 875 } 876 877 /// <summary> 878 /// Wrapper message for `bool`. 879 /// 880 /// The JSON representation for `BoolValue` is JSON `true` and `false`. 881 /// </summary> 882 public sealed partial class BoolValue : pb::IMessage<BoolValue> { 883 private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue()); 884 private pb::UnknownFieldSet _unknownFields; 885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 886 public static pb::MessageParser<BoolValue> Parser { get { return _parser; } } 887 888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 889 public static pbr::MessageDescriptor Descriptor { 890 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[6]; } 891 } 892 893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 894 pbr::MessageDescriptor pb::IMessage.Descriptor { 895 get { return Descriptor; } 896 } 897 898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BoolValue()899 public BoolValue() { 900 OnConstruction(); 901 } 902 OnConstruction()903 partial void OnConstruction(); 904 905 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BoolValue(BoolValue other)906 public BoolValue(BoolValue other) : this() { 907 value_ = other.value_; 908 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 909 } 910 911 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()912 public BoolValue Clone() { 913 return new BoolValue(this); 914 } 915 916 /// <summary>Field number for the "value" field.</summary> 917 public const int ValueFieldNumber = 1; 918 private bool value_; 919 /// <summary> 920 /// The bool value. 921 /// </summary> 922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 923 public bool Value { 924 get { return value_; } 925 set { 926 value_ = value; 927 } 928 } 929 930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)931 public override bool Equals(object other) { 932 return Equals(other as BoolValue); 933 } 934 935 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(BoolValue other)936 public bool Equals(BoolValue other) { 937 if (ReferenceEquals(other, null)) { 938 return false; 939 } 940 if (ReferenceEquals(other, this)) { 941 return true; 942 } 943 if (Value != other.Value) return false; 944 return Equals(_unknownFields, other._unknownFields); 945 } 946 947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()948 public override int GetHashCode() { 949 int hash = 1; 950 if (Value != false) hash ^= Value.GetHashCode(); 951 if (_unknownFields != null) { 952 hash ^= _unknownFields.GetHashCode(); 953 } 954 return hash; 955 } 956 957 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()958 public override string ToString() { 959 return pb::JsonFormatter.ToDiagnosticString(this); 960 } 961 962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)963 public void WriteTo(pb::CodedOutputStream output) { 964 if (Value != false) { 965 output.WriteRawTag(8); 966 output.WriteBool(Value); 967 } 968 if (_unknownFields != null) { 969 _unknownFields.WriteTo(output); 970 } 971 } 972 973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()974 public int CalculateSize() { 975 int size = 0; 976 if (Value != false) { 977 size += 1 + 1; 978 } 979 if (_unknownFields != null) { 980 size += _unknownFields.CalculateSize(); 981 } 982 return size; 983 } 984 985 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(BoolValue other)986 public void MergeFrom(BoolValue other) { 987 if (other == null) { 988 return; 989 } 990 if (other.Value != false) { 991 Value = other.Value; 992 } 993 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 994 } 995 996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)997 public void MergeFrom(pb::CodedInputStream input) { 998 uint tag; 999 while ((tag = input.ReadTag()) != 0) { 1000 switch(tag) { 1001 default: 1002 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1003 break; 1004 case 8: { 1005 Value = input.ReadBool(); 1006 break; 1007 } 1008 } 1009 } 1010 } 1011 1012 } 1013 1014 /// <summary> 1015 /// Wrapper message for `string`. 1016 /// 1017 /// The JSON representation for `StringValue` is JSON string. 1018 /// </summary> 1019 public sealed partial class StringValue : pb::IMessage<StringValue> { 1020 private static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() => new StringValue()); 1021 private pb::UnknownFieldSet _unknownFields; 1022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1023 public static pb::MessageParser<StringValue> Parser { get { return _parser; } } 1024 1025 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1026 public static pbr::MessageDescriptor Descriptor { 1027 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[7]; } 1028 } 1029 1030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1031 pbr::MessageDescriptor pb::IMessage.Descriptor { 1032 get { return Descriptor; } 1033 } 1034 1035 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] StringValue()1036 public StringValue() { 1037 OnConstruction(); 1038 } 1039 OnConstruction()1040 partial void OnConstruction(); 1041 1042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] StringValue(StringValue other)1043 public StringValue(StringValue other) : this() { 1044 value_ = other.value_; 1045 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 1046 } 1047 1048 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()1049 public StringValue Clone() { 1050 return new StringValue(this); 1051 } 1052 1053 /// <summary>Field number for the "value" field.</summary> 1054 public const int ValueFieldNumber = 1; 1055 private string value_ = ""; 1056 /// <summary> 1057 /// The string value. 1058 /// </summary> 1059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1060 public string Value { 1061 get { return value_; } 1062 set { 1063 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1064 } 1065 } 1066 1067 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1068 public override bool Equals(object other) { 1069 return Equals(other as StringValue); 1070 } 1071 1072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(StringValue other)1073 public bool Equals(StringValue other) { 1074 if (ReferenceEquals(other, null)) { 1075 return false; 1076 } 1077 if (ReferenceEquals(other, this)) { 1078 return true; 1079 } 1080 if (Value != other.Value) return false; 1081 return Equals(_unknownFields, other._unknownFields); 1082 } 1083 1084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1085 public override int GetHashCode() { 1086 int hash = 1; 1087 if (Value.Length != 0) hash ^= Value.GetHashCode(); 1088 if (_unknownFields != null) { 1089 hash ^= _unknownFields.GetHashCode(); 1090 } 1091 return hash; 1092 } 1093 1094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()1095 public override string ToString() { 1096 return pb::JsonFormatter.ToDiagnosticString(this); 1097 } 1098 1099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)1100 public void WriteTo(pb::CodedOutputStream output) { 1101 if (Value.Length != 0) { 1102 output.WriteRawTag(10); 1103 output.WriteString(Value); 1104 } 1105 if (_unknownFields != null) { 1106 _unknownFields.WriteTo(output); 1107 } 1108 } 1109 1110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1111 public int CalculateSize() { 1112 int size = 0; 1113 if (Value.Length != 0) { 1114 size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); 1115 } 1116 if (_unknownFields != null) { 1117 size += _unknownFields.CalculateSize(); 1118 } 1119 return size; 1120 } 1121 1122 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(StringValue other)1123 public void MergeFrom(StringValue other) { 1124 if (other == null) { 1125 return; 1126 } 1127 if (other.Value.Length != 0) { 1128 Value = other.Value; 1129 } 1130 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1131 } 1132 1133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1134 public void MergeFrom(pb::CodedInputStream input) { 1135 uint tag; 1136 while ((tag = input.ReadTag()) != 0) { 1137 switch(tag) { 1138 default: 1139 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1140 break; 1141 case 10: { 1142 Value = input.ReadString(); 1143 break; 1144 } 1145 } 1146 } 1147 } 1148 1149 } 1150 1151 /// <summary> 1152 /// Wrapper message for `bytes`. 1153 /// 1154 /// The JSON representation for `BytesValue` is JSON string. 1155 /// </summary> 1156 public sealed partial class BytesValue : pb::IMessage<BytesValue> { 1157 private static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<BytesValue>(() => new BytesValue()); 1158 private pb::UnknownFieldSet _unknownFields; 1159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1160 public static pb::MessageParser<BytesValue> Parser { get { return _parser; } } 1161 1162 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1163 public static pbr::MessageDescriptor Descriptor { 1164 get { return global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor.MessageTypes[8]; } 1165 } 1166 1167 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1168 pbr::MessageDescriptor pb::IMessage.Descriptor { 1169 get { return Descriptor; } 1170 } 1171 1172 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BytesValue()1173 public BytesValue() { 1174 OnConstruction(); 1175 } 1176 OnConstruction()1177 partial void OnConstruction(); 1178 1179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] BytesValue(BytesValue other)1180 public BytesValue(BytesValue other) : this() { 1181 value_ = other.value_; 1182 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 1183 } 1184 1185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()1186 public BytesValue Clone() { 1187 return new BytesValue(this); 1188 } 1189 1190 /// <summary>Field number for the "value" field.</summary> 1191 public const int ValueFieldNumber = 1; 1192 private pb::ByteString value_ = pb::ByteString.Empty; 1193 /// <summary> 1194 /// The bytes value. 1195 /// </summary> 1196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1197 public pb::ByteString Value { 1198 get { return value_; } 1199 set { 1200 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1201 } 1202 } 1203 1204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1205 public override bool Equals(object other) { 1206 return Equals(other as BytesValue); 1207 } 1208 1209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(BytesValue other)1210 public bool Equals(BytesValue other) { 1211 if (ReferenceEquals(other, null)) { 1212 return false; 1213 } 1214 if (ReferenceEquals(other, this)) { 1215 return true; 1216 } 1217 if (Value != other.Value) return false; 1218 return Equals(_unknownFields, other._unknownFields); 1219 } 1220 1221 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1222 public override int GetHashCode() { 1223 int hash = 1; 1224 if (Value.Length != 0) hash ^= Value.GetHashCode(); 1225 if (_unknownFields != null) { 1226 hash ^= _unknownFields.GetHashCode(); 1227 } 1228 return hash; 1229 } 1230 1231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()1232 public override string ToString() { 1233 return pb::JsonFormatter.ToDiagnosticString(this); 1234 } 1235 1236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)1237 public void WriteTo(pb::CodedOutputStream output) { 1238 if (Value.Length != 0) { 1239 output.WriteRawTag(10); 1240 output.WriteBytes(Value); 1241 } 1242 if (_unknownFields != null) { 1243 _unknownFields.WriteTo(output); 1244 } 1245 } 1246 1247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1248 public int CalculateSize() { 1249 int size = 0; 1250 if (Value.Length != 0) { 1251 size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); 1252 } 1253 if (_unknownFields != null) { 1254 size += _unknownFields.CalculateSize(); 1255 } 1256 return size; 1257 } 1258 1259 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(BytesValue other)1260 public void MergeFrom(BytesValue other) { 1261 if (other == null) { 1262 return; 1263 } 1264 if (other.Value.Length != 0) { 1265 Value = other.Value; 1266 } 1267 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1268 } 1269 1270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1271 public void MergeFrom(pb::CodedInputStream input) { 1272 uint tag; 1273 while ((tag = input.ReadTag()) != 0) { 1274 switch(tag) { 1275 default: 1276 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1277 break; 1278 case 10: { 1279 Value = input.ReadBytes(); 1280 break; 1281 } 1282 } 1283 } 1284 } 1285 1286 } 1287 1288 #endregion 1289 1290 } 1291 1292 #endregion Designer generated code 1293