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