| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/bff/authentication_service.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 Decentraland.Bff { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/bff/authentication_service.proto</summary> |
| | 15 | | public static partial class AuthenticationServiceReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/bff/authentication_service.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static AuthenticationServiceReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Ci1kZWNlbnRyYWxhbmQvYmZmL2F1dGhlbnRpY2F0aW9uX3NlcnZpY2UucHJv", |
| | 28 | | "dG8SEGRlY2VudHJhbGFuZC5iZmYiJgoTR2V0Q2hhbGxlbmdlUmVxdWVzdBIP", |
| | 29 | | "CgdhZGRyZXNzGAEgASgJIkwKFEdldENoYWxsZW5nZVJlc3BvbnNlEhkKEWNo", |
| | 30 | | "YWxsZW5nZV90b19zaWduGAEgASgJEhkKEWFscmVhZHlfY29ubmVjdGVkGAIg", |
| | 31 | | "ASgIIioKD1NpZ25lZENoYWxsZW5nZRIXCg9hdXRoX2NoYWluX2pzb24YASAB", |
| | 32 | | "KAkiRAoWV2VsY29tZVBlZXJJbmZvcm1hdGlvbhIPCgdwZWVyX2lkGAEgASgJ", |
| | 33 | | "EhkKEWF2YWlsYWJsZV9tb2R1bGVzGAIgAygJMtoBChhCZmZBdXRoZW50aWNh", |
| | 34 | | "dGlvblNlcnZpY2USXwoMR2V0Q2hhbGxlbmdlEiUuZGVjZW50cmFsYW5kLmJm", |
| | 35 | | "Zi5HZXRDaGFsbGVuZ2VSZXF1ZXN0GiYuZGVjZW50cmFsYW5kLmJmZi5HZXRD", |
| | 36 | | "aGFsbGVuZ2VSZXNwb25zZSIAEl0KDEF1dGhlbnRpY2F0ZRIhLmRlY2VudHJh", |
| | 37 | | "bGFuZC5iZmYuU2lnbmVkQ2hhbGxlbmdlGiguZGVjZW50cmFsYW5kLmJmZi5X", |
| | 38 | | "ZWxjb21lUGVlckluZm9ybWF0aW9uIgBiBnByb3RvMw==")); |
| | 39 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 40 | | new pbr::FileDescriptor[] { }, |
| | 41 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 42 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Bff.GetChallengeRequest), global::Decentraland.Bff |
| | 43 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Bff.GetChallengeResponse), global::Decentraland.Bf |
| | 44 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Bff.SignedChallenge), global::Decentraland.Bff.Sig |
| | 45 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Bff.WelcomePeerInformation), global::Decentraland. |
| | 46 | | })); |
| | 47 | | } |
| | 48 | | #endregion |
| | 49 | |
|
| | 50 | | } |
| | 51 | | #region Messages |
| | 52 | | public sealed partial class GetChallengeRequest : pb::IMessage<GetChallengeRequest> |
| | 53 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 54 | | , pb::IBufferMessage |
| | 55 | | #endif |
| | 56 | | { |
| | 57 | | private static readonly pb::MessageParser<GetChallengeRequest> _parser = new pb::MessageParser<GetChallengeRequest>( |
| | 58 | | private pb::UnknownFieldSet _unknownFields; |
| | 59 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 60 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 61 | | public static pb::MessageParser<GetChallengeRequest> Parser { get { return _parser; } } |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 64 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 65 | | public static pbr::MessageDescriptor Descriptor { |
| | 66 | | get { return global::Decentraland.Bff.AuthenticationServiceReflection.Descriptor.MessageTypes[0]; } |
| | 67 | | } |
| | 68 | |
|
| | 69 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 70 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 71 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 72 | | get { return Descriptor; } |
| | 73 | | } |
| | 74 | |
|
| | 75 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 76 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 77 | | public GetChallengeRequest() { |
| | 78 | | OnConstruction(); |
| | 79 | | } |
| | 80 | |
|
| | 81 | | partial void OnConstruction(); |
| | 82 | |
|
| | 83 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 84 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 85 | | public GetChallengeRequest(GetChallengeRequest other) : this() { |
| | 86 | | address_ = other.address_; |
| | 87 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 88 | | } |
| | 89 | |
|
| | 90 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 91 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 92 | | public GetChallengeRequest Clone() { |
| | 93 | | return new GetChallengeRequest(this); |
| | 94 | | } |
| | 95 | |
|
| | 96 | | /// <summary>Field number for the "address" field.</summary> |
| | 97 | | public const int AddressFieldNumber = 1; |
| | 98 | | private string address_ = ""; |
| | 99 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 101 | | public string Address { |
| | 102 | | get { return address_; } |
| | 103 | | set { |
| | 104 | | address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 105 | | } |
| | 106 | | } |
| | 107 | |
|
| | 108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 110 | | public override bool Equals(object other) { |
| | 111 | | return Equals(other as GetChallengeRequest); |
| | 112 | | } |
| | 113 | |
|
| | 114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 116 | | public bool Equals(GetChallengeRequest other) { |
| | 117 | | if (ReferenceEquals(other, null)) { |
| | 118 | | return false; |
| | 119 | | } |
| | 120 | | if (ReferenceEquals(other, this)) { |
| | 121 | | return true; |
| | 122 | | } |
| | 123 | | if (Address != other.Address) return false; |
| | 124 | | return Equals(_unknownFields, other._unknownFields); |
| | 125 | | } |
| | 126 | |
|
| | 127 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 128 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 129 | | public override int GetHashCode() { |
| | 130 | | int hash = 1; |
| | 131 | | if (Address.Length != 0) hash ^= Address.GetHashCode(); |
| | 132 | | if (_unknownFields != null) { |
| | 133 | | hash ^= _unknownFields.GetHashCode(); |
| | 134 | | } |
| | 135 | | return hash; |
| | 136 | | } |
| | 137 | |
|
| | 138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 140 | | public override string ToString() { |
| | 141 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 142 | | } |
| | 143 | |
|
| | 144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 146 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 147 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 148 | | output.WriteRawMessage(this); |
| | 149 | | #else |
| | 150 | | if (Address.Length != 0) { |
| | 151 | | output.WriteRawTag(10); |
| | 152 | | output.WriteString(Address); |
| | 153 | | } |
| | 154 | | if (_unknownFields != null) { |
| | 155 | | _unknownFields.WriteTo(output); |
| | 156 | | } |
| | 157 | | #endif |
| | 158 | | } |
| | 159 | |
|
| | 160 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 163 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 164 | | if (Address.Length != 0) { |
| | 165 | | output.WriteRawTag(10); |
| | 166 | | output.WriteString(Address); |
| | 167 | | } |
| | 168 | | if (_unknownFields != null) { |
| | 169 | | _unknownFields.WriteTo(ref output); |
| | 170 | | } |
| | 171 | | } |
| | 172 | | #endif |
| | 173 | |
|
| | 174 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 175 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 176 | | public int CalculateSize() { |
| | 177 | | int size = 0; |
| | 178 | | if (Address.Length != 0) { |
| | 179 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); |
| | 180 | | } |
| | 181 | | if (_unknownFields != null) { |
| | 182 | | size += _unknownFields.CalculateSize(); |
| | 183 | | } |
| | 184 | | return size; |
| | 185 | | } |
| | 186 | |
|
| | 187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 189 | | public void MergeFrom(GetChallengeRequest other) { |
| | 190 | | if (other == null) { |
| | 191 | | return; |
| | 192 | | } |
| | 193 | | if (other.Address.Length != 0) { |
| | 194 | | Address = other.Address; |
| | 195 | | } |
| | 196 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 197 | | } |
| | 198 | |
|
| | 199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 201 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 202 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 203 | | input.ReadRawMessage(this); |
| | 204 | | #else |
| | 205 | | uint tag; |
| | 206 | | while ((tag = input.ReadTag()) != 0) { |
| | 207 | | switch(tag) { |
| | 208 | | default: |
| | 209 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 210 | | break; |
| | 211 | | case 10: { |
| | 212 | | Address = input.ReadString(); |
| | 213 | | break; |
| | 214 | | } |
| | 215 | | } |
| | 216 | | } |
| | 217 | | #endif |
| | 218 | | } |
| | 219 | |
|
| | 220 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 221 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 222 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 223 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 224 | | uint tag; |
| | 225 | | while ((tag = input.ReadTag()) != 0) { |
| | 226 | | switch(tag) { |
| | 227 | | default: |
| | 228 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 229 | | break; |
| | 230 | | case 10: { |
| | 231 | | Address = input.ReadString(); |
| | 232 | | break; |
| | 233 | | } |
| | 234 | | } |
| | 235 | | } |
| | 236 | | } |
| | 237 | | #endif |
| | 238 | |
|
| | 239 | | } |
| | 240 | |
|
| | 241 | | public sealed partial class GetChallengeResponse : pb::IMessage<GetChallengeResponse> |
| | 242 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 243 | | , pb::IBufferMessage |
| | 244 | | #endif |
| | 245 | | { |
| 0 | 246 | | private static readonly pb::MessageParser<GetChallengeResponse> _parser = new pb::MessageParser<GetChallengeResponse |
| | 247 | | private pb::UnknownFieldSet _unknownFields; |
| | 248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 250 | | public static pb::MessageParser<GetChallengeResponse> Parser { get { return _parser; } } |
| | 251 | |
|
| | 252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 254 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 255 | | get { return global::Decentraland.Bff.AuthenticationServiceReflection.Descriptor.MessageTypes[1]; } |
| | 256 | | } |
| | 257 | |
|
| | 258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 260 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 261 | | get { return Descriptor; } |
| | 262 | | } |
| | 263 | |
|
| | 264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 266 | | public GetChallengeResponse() { |
| | 267 | | OnConstruction(); |
| 0 | 268 | | } |
| | 269 | |
|
| | 270 | | partial void OnConstruction(); |
| | 271 | |
|
| | 272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 274 | | public GetChallengeResponse(GetChallengeResponse other) : this() { |
| 0 | 275 | | challengeToSign_ = other.challengeToSign_; |
| 0 | 276 | | alreadyConnected_ = other.alreadyConnected_; |
| 0 | 277 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 278 | | } |
| | 279 | |
|
| | 280 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 281 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 282 | | public GetChallengeResponse Clone() { |
| 0 | 283 | | return new GetChallengeResponse(this); |
| | 284 | | } |
| | 285 | |
|
| | 286 | | /// <summary>Field number for the "challenge_to_sign" field.</summary> |
| | 287 | | public const int ChallengeToSignFieldNumber = 1; |
| 0 | 288 | | private string challengeToSign_ = ""; |
| | 289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 291 | | public string ChallengeToSign { |
| 0 | 292 | | get { return challengeToSign_; } |
| | 293 | | set { |
| 0 | 294 | | challengeToSign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 295 | | } |
| | 296 | | } |
| | 297 | |
|
| | 298 | | /// <summary>Field number for the "already_connected" field.</summary> |
| | 299 | | public const int AlreadyConnectedFieldNumber = 2; |
| | 300 | | private bool alreadyConnected_; |
| | 301 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 302 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 303 | | public bool AlreadyConnected { |
| 0 | 304 | | get { return alreadyConnected_; } |
| | 305 | | set { |
| 0 | 306 | | alreadyConnected_ = value; |
| 0 | 307 | | } |
| | 308 | | } |
| | 309 | |
|
| | 310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 312 | | public override bool Equals(object other) { |
| 0 | 313 | | return Equals(other as GetChallengeResponse); |
| | 314 | | } |
| | 315 | |
|
| | 316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 318 | | public bool Equals(GetChallengeResponse other) { |
| 0 | 319 | | if (ReferenceEquals(other, null)) { |
| 0 | 320 | | return false; |
| | 321 | | } |
| 0 | 322 | | if (ReferenceEquals(other, this)) { |
| 0 | 323 | | return true; |
| | 324 | | } |
| 0 | 325 | | if (ChallengeToSign != other.ChallengeToSign) return false; |
| 0 | 326 | | if (AlreadyConnected != other.AlreadyConnected) return false; |
| 0 | 327 | | return Equals(_unknownFields, other._unknownFields); |
| | 328 | | } |
| | 329 | |
|
| | 330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 332 | | public override int GetHashCode() { |
| 0 | 333 | | int hash = 1; |
| 0 | 334 | | if (ChallengeToSign.Length != 0) hash ^= ChallengeToSign.GetHashCode(); |
| 0 | 335 | | if (AlreadyConnected != false) hash ^= AlreadyConnected.GetHashCode(); |
| 0 | 336 | | if (_unknownFields != null) { |
| 0 | 337 | | hash ^= _unknownFields.GetHashCode(); |
| | 338 | | } |
| 0 | 339 | | return hash; |
| | 340 | | } |
| | 341 | |
|
| | 342 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 343 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 344 | | public override string ToString() { |
| 0 | 345 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 346 | | } |
| | 347 | |
|
| | 348 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 349 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 350 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 351 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 352 | | output.WriteRawMessage(this); |
| | 353 | | #else |
| 0 | 354 | | if (ChallengeToSign.Length != 0) { |
| 0 | 355 | | output.WriteRawTag(10); |
| 0 | 356 | | output.WriteString(ChallengeToSign); |
| | 357 | | } |
| 0 | 358 | | if (AlreadyConnected != false) { |
| 0 | 359 | | output.WriteRawTag(16); |
| 0 | 360 | | output.WriteBool(AlreadyConnected); |
| | 361 | | } |
| 0 | 362 | | if (_unknownFields != null) { |
| 0 | 363 | | _unknownFields.WriteTo(output); |
| | 364 | | } |
| | 365 | | #endif |
| 0 | 366 | | } |
| | 367 | |
|
| | 368 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 369 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 370 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 371 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 372 | | if (ChallengeToSign.Length != 0) { |
| | 373 | | output.WriteRawTag(10); |
| | 374 | | output.WriteString(ChallengeToSign); |
| | 375 | | } |
| | 376 | | if (AlreadyConnected != false) { |
| | 377 | | output.WriteRawTag(16); |
| | 378 | | output.WriteBool(AlreadyConnected); |
| | 379 | | } |
| | 380 | | if (_unknownFields != null) { |
| | 381 | | _unknownFields.WriteTo(ref output); |
| | 382 | | } |
| | 383 | | } |
| | 384 | | #endif |
| | 385 | |
|
| | 386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 388 | | public int CalculateSize() { |
| 0 | 389 | | int size = 0; |
| 0 | 390 | | if (ChallengeToSign.Length != 0) { |
| 0 | 391 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ChallengeToSign); |
| | 392 | | } |
| 0 | 393 | | if (AlreadyConnected != false) { |
| 0 | 394 | | size += 1 + 1; |
| | 395 | | } |
| 0 | 396 | | if (_unknownFields != null) { |
| 0 | 397 | | size += _unknownFields.CalculateSize(); |
| | 398 | | } |
| 0 | 399 | | return size; |
| | 400 | | } |
| | 401 | |
|
| | 402 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 403 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 404 | | public void MergeFrom(GetChallengeResponse other) { |
| 0 | 405 | | if (other == null) { |
| 0 | 406 | | return; |
| | 407 | | } |
| 0 | 408 | | if (other.ChallengeToSign.Length != 0) { |
| 0 | 409 | | ChallengeToSign = other.ChallengeToSign; |
| | 410 | | } |
| 0 | 411 | | if (other.AlreadyConnected != false) { |
| 0 | 412 | | AlreadyConnected = other.AlreadyConnected; |
| | 413 | | } |
| 0 | 414 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 415 | | } |
| | 416 | |
|
| | 417 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 418 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 419 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 420 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 421 | | input.ReadRawMessage(this); |
| | 422 | | #else |
| | 423 | | uint tag; |
| 0 | 424 | | while ((tag = input.ReadTag()) != 0) { |
| | 425 | | switch(tag) { |
| | 426 | | default: |
| 0 | 427 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 428 | | break; |
| | 429 | | case 10: { |
| 0 | 430 | | ChallengeToSign = input.ReadString(); |
| 0 | 431 | | break; |
| | 432 | | } |
| | 433 | | case 16: { |
| 0 | 434 | | AlreadyConnected = input.ReadBool(); |
| | 435 | | break; |
| | 436 | | } |
| | 437 | | } |
| | 438 | | } |
| | 439 | | #endif |
| 0 | 440 | | } |
| | 441 | |
|
| | 442 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 445 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 446 | | uint tag; |
| | 447 | | while ((tag = input.ReadTag()) != 0) { |
| | 448 | | switch(tag) { |
| | 449 | | default: |
| | 450 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 451 | | break; |
| | 452 | | case 10: { |
| | 453 | | ChallengeToSign = input.ReadString(); |
| | 454 | | break; |
| | 455 | | } |
| | 456 | | case 16: { |
| | 457 | | AlreadyConnected = input.ReadBool(); |
| | 458 | | break; |
| | 459 | | } |
| | 460 | | } |
| | 461 | | } |
| | 462 | | } |
| | 463 | | #endif |
| | 464 | |
|
| | 465 | | } |
| | 466 | |
|
| | 467 | | public sealed partial class SignedChallenge : pb::IMessage<SignedChallenge> |
| | 468 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 469 | | , pb::IBufferMessage |
| | 470 | | #endif |
| | 471 | | { |
| | 472 | | private static readonly pb::MessageParser<SignedChallenge> _parser = new pb::MessageParser<SignedChallenge>(() => ne |
| | 473 | | private pb::UnknownFieldSet _unknownFields; |
| | 474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 476 | | public static pb::MessageParser<SignedChallenge> Parser { get { return _parser; } } |
| | 477 | |
|
| | 478 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 479 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 480 | | public static pbr::MessageDescriptor Descriptor { |
| | 481 | | get { return global::Decentraland.Bff.AuthenticationServiceReflection.Descriptor.MessageTypes[2]; } |
| | 482 | | } |
| | 483 | |
|
| | 484 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 485 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 486 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 487 | | get { return Descriptor; } |
| | 488 | | } |
| | 489 | |
|
| | 490 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 491 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 492 | | public SignedChallenge() { |
| | 493 | | OnConstruction(); |
| | 494 | | } |
| | 495 | |
|
| | 496 | | partial void OnConstruction(); |
| | 497 | |
|
| | 498 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 499 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 500 | | public SignedChallenge(SignedChallenge other) : this() { |
| | 501 | | authChainJson_ = other.authChainJson_; |
| | 502 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 503 | | } |
| | 504 | |
|
| | 505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 507 | | public SignedChallenge Clone() { |
| | 508 | | return new SignedChallenge(this); |
| | 509 | | } |
| | 510 | |
|
| | 511 | | /// <summary>Field number for the "auth_chain_json" field.</summary> |
| | 512 | | public const int AuthChainJsonFieldNumber = 1; |
| | 513 | | private string authChainJson_ = ""; |
| | 514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 516 | | public string AuthChainJson { |
| | 517 | | get { return authChainJson_; } |
| | 518 | | set { |
| | 519 | | authChainJson_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 520 | | } |
| | 521 | | } |
| | 522 | |
|
| | 523 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 524 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 525 | | public override bool Equals(object other) { |
| | 526 | | return Equals(other as SignedChallenge); |
| | 527 | | } |
| | 528 | |
|
| | 529 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 530 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 531 | | public bool Equals(SignedChallenge other) { |
| | 532 | | if (ReferenceEquals(other, null)) { |
| | 533 | | return false; |
| | 534 | | } |
| | 535 | | if (ReferenceEquals(other, this)) { |
| | 536 | | return true; |
| | 537 | | } |
| | 538 | | if (AuthChainJson != other.AuthChainJson) return false; |
| | 539 | | return Equals(_unknownFields, other._unknownFields); |
| | 540 | | } |
| | 541 | |
|
| | 542 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 543 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 544 | | public override int GetHashCode() { |
| | 545 | | int hash = 1; |
| | 546 | | if (AuthChainJson.Length != 0) hash ^= AuthChainJson.GetHashCode(); |
| | 547 | | if (_unknownFields != null) { |
| | 548 | | hash ^= _unknownFields.GetHashCode(); |
| | 549 | | } |
| | 550 | | return hash; |
| | 551 | | } |
| | 552 | |
|
| | 553 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 554 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 555 | | public override string ToString() { |
| | 556 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 557 | | } |
| | 558 | |
|
| | 559 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 560 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 561 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 562 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 563 | | output.WriteRawMessage(this); |
| | 564 | | #else |
| | 565 | | if (AuthChainJson.Length != 0) { |
| | 566 | | output.WriteRawTag(10); |
| | 567 | | output.WriteString(AuthChainJson); |
| | 568 | | } |
| | 569 | | if (_unknownFields != null) { |
| | 570 | | _unknownFields.WriteTo(output); |
| | 571 | | } |
| | 572 | | #endif |
| | 573 | | } |
| | 574 | |
|
| | 575 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 578 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 579 | | if (AuthChainJson.Length != 0) { |
| | 580 | | output.WriteRawTag(10); |
| | 581 | | output.WriteString(AuthChainJson); |
| | 582 | | } |
| | 583 | | if (_unknownFields != null) { |
| | 584 | | _unknownFields.WriteTo(ref output); |
| | 585 | | } |
| | 586 | | } |
| | 587 | | #endif |
| | 588 | |
|
| | 589 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 590 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 591 | | public int CalculateSize() { |
| | 592 | | int size = 0; |
| | 593 | | if (AuthChainJson.Length != 0) { |
| | 594 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AuthChainJson); |
| | 595 | | } |
| | 596 | | if (_unknownFields != null) { |
| | 597 | | size += _unknownFields.CalculateSize(); |
| | 598 | | } |
| | 599 | | return size; |
| | 600 | | } |
| | 601 | |
|
| | 602 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 603 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 604 | | public void MergeFrom(SignedChallenge other) { |
| | 605 | | if (other == null) { |
| | 606 | | return; |
| | 607 | | } |
| | 608 | | if (other.AuthChainJson.Length != 0) { |
| | 609 | | AuthChainJson = other.AuthChainJson; |
| | 610 | | } |
| | 611 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 612 | | } |
| | 613 | |
|
| | 614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 616 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 617 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 618 | | input.ReadRawMessage(this); |
| | 619 | | #else |
| | 620 | | uint tag; |
| | 621 | | while ((tag = input.ReadTag()) != 0) { |
| | 622 | | switch(tag) { |
| | 623 | | default: |
| | 624 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 625 | | break; |
| | 626 | | case 10: { |
| | 627 | | AuthChainJson = input.ReadString(); |
| | 628 | | break; |
| | 629 | | } |
| | 630 | | } |
| | 631 | | } |
| | 632 | | #endif |
| | 633 | | } |
| | 634 | |
|
| | 635 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 636 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 637 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 638 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 639 | | uint tag; |
| | 640 | | while ((tag = input.ReadTag()) != 0) { |
| | 641 | | switch(tag) { |
| | 642 | | default: |
| | 643 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 644 | | break; |
| | 645 | | case 10: { |
| | 646 | | AuthChainJson = input.ReadString(); |
| | 647 | | break; |
| | 648 | | } |
| | 649 | | } |
| | 650 | | } |
| | 651 | | } |
| | 652 | | #endif |
| | 653 | |
|
| | 654 | | } |
| | 655 | |
|
| | 656 | | public sealed partial class WelcomePeerInformation : pb::IMessage<WelcomePeerInformation> |
| | 657 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 658 | | , pb::IBufferMessage |
| | 659 | | #endif |
| | 660 | | { |
| | 661 | | private static readonly pb::MessageParser<WelcomePeerInformation> _parser = new pb::MessageParser<WelcomePeerInforma |
| | 662 | | private pb::UnknownFieldSet _unknownFields; |
| | 663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 665 | | public static pb::MessageParser<WelcomePeerInformation> Parser { get { return _parser; } } |
| | 666 | |
|
| | 667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 669 | | public static pbr::MessageDescriptor Descriptor { |
| | 670 | | get { return global::Decentraland.Bff.AuthenticationServiceReflection.Descriptor.MessageTypes[3]; } |
| | 671 | | } |
| | 672 | |
|
| | 673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 675 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 676 | | get { return Descriptor; } |
| | 677 | | } |
| | 678 | |
|
| | 679 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 680 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 681 | | public WelcomePeerInformation() { |
| | 682 | | OnConstruction(); |
| | 683 | | } |
| | 684 | |
|
| | 685 | | partial void OnConstruction(); |
| | 686 | |
|
| | 687 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 688 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 689 | | public WelcomePeerInformation(WelcomePeerInformation other) : this() { |
| | 690 | | peerId_ = other.peerId_; |
| | 691 | | availableModules_ = other.availableModules_.Clone(); |
| | 692 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 693 | | } |
| | 694 | |
|
| | 695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 697 | | public WelcomePeerInformation Clone() { |
| | 698 | | return new WelcomePeerInformation(this); |
| | 699 | | } |
| | 700 | |
|
| | 701 | | /// <summary>Field number for the "peer_id" field.</summary> |
| | 702 | | public const int PeerIdFieldNumber = 1; |
| | 703 | | private string peerId_ = ""; |
| | 704 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 705 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 706 | | public string PeerId { |
| | 707 | | get { return peerId_; } |
| | 708 | | set { |
| | 709 | | peerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 710 | | } |
| | 711 | | } |
| | 712 | |
|
| | 713 | | /// <summary>Field number for the "available_modules" field.</summary> |
| | 714 | | public const int AvailableModulesFieldNumber = 2; |
| | 715 | | private static readonly pb::FieldCodec<string> _repeated_availableModules_codec |
| | 716 | | = pb::FieldCodec.ForString(18); |
| | 717 | | private readonly pbc::RepeatedField<string> availableModules_ = new pbc::RepeatedField<string>(); |
| | 718 | | /// <summary> |
| | 719 | | /// list of available modules in this BFF |
| | 720 | | /// </summary> |
| | 721 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 722 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 723 | | public pbc::RepeatedField<string> AvailableModules { |
| | 724 | | get { return availableModules_; } |
| | 725 | | } |
| | 726 | |
|
| | 727 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 728 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 729 | | public override bool Equals(object other) { |
| | 730 | | return Equals(other as WelcomePeerInformation); |
| | 731 | | } |
| | 732 | |
|
| | 733 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 734 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 735 | | public bool Equals(WelcomePeerInformation other) { |
| | 736 | | if (ReferenceEquals(other, null)) { |
| | 737 | | return false; |
| | 738 | | } |
| | 739 | | if (ReferenceEquals(other, this)) { |
| | 740 | | return true; |
| | 741 | | } |
| | 742 | | if (PeerId != other.PeerId) return false; |
| | 743 | | if(!availableModules_.Equals(other.availableModules_)) return false; |
| | 744 | | return Equals(_unknownFields, other._unknownFields); |
| | 745 | | } |
| | 746 | |
|
| | 747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 749 | | public override int GetHashCode() { |
| | 750 | | int hash = 1; |
| | 751 | | if (PeerId.Length != 0) hash ^= PeerId.GetHashCode(); |
| | 752 | | hash ^= availableModules_.GetHashCode(); |
| | 753 | | if (_unknownFields != null) { |
| | 754 | | hash ^= _unknownFields.GetHashCode(); |
| | 755 | | } |
| | 756 | | return hash; |
| | 757 | | } |
| | 758 | |
|
| | 759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 761 | | public override string ToString() { |
| | 762 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 763 | | } |
| | 764 | |
|
| | 765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 767 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 768 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 769 | | output.WriteRawMessage(this); |
| | 770 | | #else |
| | 771 | | if (PeerId.Length != 0) { |
| | 772 | | output.WriteRawTag(10); |
| | 773 | | output.WriteString(PeerId); |
| | 774 | | } |
| | 775 | | availableModules_.WriteTo(output, _repeated_availableModules_codec); |
| | 776 | | if (_unknownFields != null) { |
| | 777 | | _unknownFields.WriteTo(output); |
| | 778 | | } |
| | 779 | | #endif |
| | 780 | | } |
| | 781 | |
|
| | 782 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 783 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 784 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 785 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 786 | | if (PeerId.Length != 0) { |
| | 787 | | output.WriteRawTag(10); |
| | 788 | | output.WriteString(PeerId); |
| | 789 | | } |
| | 790 | | availableModules_.WriteTo(ref output, _repeated_availableModules_codec); |
| | 791 | | if (_unknownFields != null) { |
| | 792 | | _unknownFields.WriteTo(ref output); |
| | 793 | | } |
| | 794 | | } |
| | 795 | | #endif |
| | 796 | |
|
| | 797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 799 | | public int CalculateSize() { |
| | 800 | | int size = 0; |
| | 801 | | if (PeerId.Length != 0) { |
| | 802 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PeerId); |
| | 803 | | } |
| | 804 | | size += availableModules_.CalculateSize(_repeated_availableModules_codec); |
| | 805 | | if (_unknownFields != null) { |
| | 806 | | size += _unknownFields.CalculateSize(); |
| | 807 | | } |
| | 808 | | return size; |
| | 809 | | } |
| | 810 | |
|
| | 811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 813 | | public void MergeFrom(WelcomePeerInformation other) { |
| | 814 | | if (other == null) { |
| | 815 | | return; |
| | 816 | | } |
| | 817 | | if (other.PeerId.Length != 0) { |
| | 818 | | PeerId = other.PeerId; |
| | 819 | | } |
| | 820 | | availableModules_.Add(other.availableModules_); |
| | 821 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 822 | | } |
| | 823 | |
|
| | 824 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 825 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 826 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 827 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 828 | | input.ReadRawMessage(this); |
| | 829 | | #else |
| | 830 | | uint tag; |
| | 831 | | while ((tag = input.ReadTag()) != 0) { |
| | 832 | | switch(tag) { |
| | 833 | | default: |
| | 834 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 835 | | break; |
| | 836 | | case 10: { |
| | 837 | | PeerId = input.ReadString(); |
| | 838 | | break; |
| | 839 | | } |
| | 840 | | case 18: { |
| | 841 | | availableModules_.AddEntriesFrom(input, _repeated_availableModules_codec); |
| | 842 | | break; |
| | 843 | | } |
| | 844 | | } |
| | 845 | | } |
| | 846 | | #endif |
| | 847 | | } |
| | 848 | |
|
| | 849 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 850 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 851 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 852 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 853 | | uint tag; |
| | 854 | | while ((tag = input.ReadTag()) != 0) { |
| | 855 | | switch(tag) { |
| | 856 | | default: |
| | 857 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 858 | | break; |
| | 859 | | case 10: { |
| | 860 | | PeerId = input.ReadString(); |
| | 861 | | break; |
| | 862 | | } |
| | 863 | | case 18: { |
| | 864 | | availableModules_.AddEntriesFrom(ref input, _repeated_availableModules_codec); |
| | 865 | | break; |
| | 866 | | } |
| | 867 | | } |
| | 868 | | } |
| | 869 | | } |
| | 870 | | #endif |
| | 871 | |
|
| | 872 | | } |
| | 873 | |
|
| | 874 | | #endregion |
| | 875 | |
|
| | 876 | | } |
| | 877 | |
|
| | 878 | | #endregion Designer generated code |