| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/social/friendships/friendships.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.Social.Friendships { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/social/friendships/friendships.proto</summa |
| | 15 | | public static partial class FriendshipsReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/social/friendships/friendships.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static FriendshipsReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CjFkZWNlbnRyYWxhbmQvc29jaWFsL2ZyaWVuZHNoaXBzL2ZyaWVuZHNoaXBz", |
| | 28 | | "LnByb3RvEh9kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzIvICChdG", |
| | 29 | | "cmllbmRzaGlwRXZlbnRSZXNwb25zZRJDCgdyZXF1ZXN0GAEgASgLMjAuZGVj", |
| | 30 | | "ZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5SZXF1ZXN0UmVzcG9uc2VI", |
| | 31 | | "ABJBCgZhY2NlcHQYAiABKAsyLy5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVu", |
| | 32 | | "ZHNoaXBzLkFjY2VwdFJlc3BvbnNlSAASQQoGcmVqZWN0GAQgASgLMi8uZGVj", |
| | 33 | | "ZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5SZWplY3RSZXNwb25zZUgA", |
| | 34 | | "EkEKBmRlbGV0ZRgFIAEoCzIvLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5k", |
| | 35 | | "c2hpcHMuRGVsZXRlUmVzcG9uc2VIABJBCgZjYW5jZWwYBiABKAsyLy5kZWNl", |
| | 36 | | "bnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzLkNhbmNlbFJlc3BvbnNlSABC", |
| | 37 | | "BgoEYm9keSJnChhGcmllbmRzaGlwRXZlbnRSZXNwb25zZXMSSwoJcmVzcG9u", |
| | 38 | | "c2VzGAEgAygLMjguZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5G", |
| | 39 | | "cmllbmRzaGlwRXZlbnRSZXNwb25zZSLsAgoWRnJpZW5kc2hpcEV2ZW50UGF5", |
| | 40 | | "bG9hZBJCCgdyZXF1ZXN0GAEgASgLMi8uZGVjZW50cmFsYW5kLnNvY2lhbC5m", |
| | 41 | | "cmllbmRzaGlwcy5SZXF1ZXN0UGF5bG9hZEgAEkAKBmFjY2VwdBgCIAEoCzIu", |
| | 42 | | "LmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuQWNjZXB0UGF5bG9h", |
| | 43 | | "ZEgAEkAKBnJlamVjdBgEIAEoCzIuLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJp", |
| | 44 | | "ZW5kc2hpcHMuUmVqZWN0UGF5bG9hZEgAEkAKBmRlbGV0ZRgFIAEoCzIuLmRl", |
| | 45 | | "Y2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuRGVsZXRlUGF5bG9hZEgA", |
| | 46 | | "EkAKBmNhbmNlbBgGIAEoCzIuLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5k", |
| | 47 | | "c2hpcHMuQ2FuY2VsUGF5bG9hZEgAQgYKBGJvZHkiFwoEVXNlchIPCgdhZGRy", |
| | 48 | | "ZXNzGAEgASgJIj0KBVVzZXJzEjQKBXVzZXJzGAEgAygLMiUuZGVjZW50cmFs", |
| | 49 | | "YW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Vc2VyInwKD1JlcXVlc3RSZXNwb25z", |
| | 50 | | "ZRIzCgR1c2VyGAEgASgLMiUuZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRz", |
| | 51 | | "aGlwcy5Vc2VyEhIKCmNyZWF0ZWRfYXQYAiABKAMSFAoHbWVzc2FnZRgDIAEo", |
| | 52 | | "CUgAiAEBQgoKCF9tZXNzYWdlImcKDlJlcXVlc3RQYXlsb2FkEjMKBHVzZXIY", |
| | 53 | | "ASABKAsyJS5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzLlVzZXIS", |
| | 54 | | "FAoHbWVzc2FnZRgDIAEoCUgAiAEBQgoKCF9tZXNzYWdlIloKCFJlcXVlc3Rz", |
| | 55 | | "Eg0KBXRvdGFsGAEgASgDEj8KBWl0ZW1zGAIgAygLMjAuZGVjZW50cmFsYW5k", |
| | 56 | | "LnNvY2lhbC5mcmllbmRzaGlwcy5SZXF1ZXN0UmVzcG9uc2UiiQEKDVJlcXVl", |
| | 57 | | "c3RFdmVudHMSOwoIb3V0Z29pbmcYASABKAsyKS5kZWNlbnRyYWxhbmQuc29j", |
| | 58 | | "aWFsLmZyaWVuZHNoaXBzLlJlcXVlc3RzEjsKCGluY29taW5nGAIgASgLMiku", |
| | 59 | | "ZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5SZXF1ZXN0cyJFCg5B", |
| | 60 | | "Y2NlcHRSZXNwb25zZRIzCgR1c2VyGAEgASgLMiUuZGVjZW50cmFsYW5kLnNv", |
| | 61 | | "Y2lhbC5mcmllbmRzaGlwcy5Vc2VyIkQKDUFjY2VwdFBheWxvYWQSMwoEdXNl", |
| | 62 | | "chgBIAEoCzIlLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuVXNl", |
| | 63 | | "ciJFCg5SZWplY3RSZXNwb25zZRIzCgR1c2VyGAEgASgLMiUuZGVjZW50cmFs", |
| | 64 | | "YW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Vc2VyIkQKDVJlamVjdFBheWxvYWQS", |
| | 65 | | "MwoEdXNlchgBIAEoCzIlLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hp", |
| | 66 | | "cHMuVXNlciJFCg5EZWxldGVSZXNwb25zZRIzCgR1c2VyGAEgASgLMiUuZGVj", |
| | 67 | | "ZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Vc2VyIkQKDURlbGV0ZVBh", |
| | 68 | | "eWxvYWQSMwoEdXNlchgBIAEoCzIlLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJp", |
| | 69 | | "ZW5kc2hpcHMuVXNlciJFCg5DYW5jZWxSZXNwb25zZRIzCgR1c2VyGAEgASgL", |
| | 70 | | "MiUuZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Vc2VyIkQKDUNh", |
| | 71 | | "bmNlbFBheWxvYWQSMwoEdXNlchgBIAEoCzIlLmRlY2VudHJhbGFuZC5zb2Np", |
| | 72 | | "YWwuZnJpZW5kc2hpcHMuVXNlciKzAQoXVXBkYXRlRnJpZW5kc2hpcFBheWxv", |
| | 73 | | "YWQSRgoFZXZlbnQYASABKAsyNy5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVu", |
| | 74 | | "ZHNoaXBzLkZyaWVuZHNoaXBFdmVudFBheWxvYWQSQQoKYXV0aF90b2tlbhgC", |
| | 75 | | "IAEoCzIoLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuUGF5bG9h", |
| | 76 | | "ZEgAiAEBQg0KC19hdXRoX3Rva2VuIp0BChRNdXR1YWxGcmllbmRzUGF5bG9h", |
| | 77 | | "ZBIzCgR1c2VyGAEgASgLMiUuZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRz", |
| | 78 | | "aGlwcy5Vc2VyEkEKCmF1dGhfdG9rZW4YAiABKAsyKC5kZWNlbnRyYWxhbmQu", |
| | 79 | | "c29jaWFsLmZyaWVuZHNoaXBzLlBheWxvYWRIAIgBAUINCgtfYXV0aF90b2tl", |
| | 80 | | "biI3CgdQYXlsb2FkEhoKDXN5bmFwc2VfdG9rZW4YASABKAlIAIgBAUIQCg5f", |
| | 81 | | "c3luYXBzZV90b2tlbiIiCg9CYWRSZXF1ZXN0RXJyb3ISDwoHbWVzc2FnZRgB", |
| | 82 | | "IAEoCSIkChFVbmF1dGhvcml6ZWRFcnJvchIPCgdtZXNzYWdlGAEgASgJIiEK", |
| | 83 | | "DkZvcmJpZGRlbkVycm9yEg8KB21lc3NhZ2UYASABKAkiJwoUVG9vTWFueVJl", |
| | 84 | | "cXVlc3RzRXJyb3ISDwoHbWVzc2FnZRgBIAEoCSImChNJbnRlcm5hbFNlcnZl", |
| | 85 | | "ckVycm9yEg8KB21lc3NhZ2UYASABKAki8gMKDVVzZXJzUmVzcG9uc2USNwoF", |
| | 86 | | "dXNlcnMYASABKAsyJi5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBz", |
| | 87 | | "LlVzZXJzSAASVQoVaW50ZXJuYWxfc2VydmVyX2Vycm9yGAIgASgLMjQuZGVj", |
| | 88 | | "ZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5JbnRlcm5hbFNlcnZlckVy", |
| | 89 | | "cm9ySAASUAoSdW5hdXRob3JpemVkX2Vycm9yGAMgASgLMjIuZGVjZW50cmFs", |
| | 90 | | "YW5kLnNvY2lhbC5mcmllbmRzaGlwcy5VbmF1dGhvcml6ZWRFcnJvckgAEkoK", |
| | 91 | | "D2ZvcmJpZGRlbl9lcnJvchgEIAEoCzIvLmRlY2VudHJhbGFuZC5zb2NpYWwu", |
| | 92 | | "ZnJpZW5kc2hpcHMuRm9yYmlkZGVuRXJyb3JIABJYChd0b29fbWFueV9yZXF1", |
| | 93 | | "ZXN0c19lcnJvchgFIAEoCzI1LmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5k", |
| | 94 | | "c2hpcHMuVG9vTWFueVJlcXVlc3RzRXJyb3JIABJNChFiYWRfcmVxdWVzdF9l", |
| | 95 | | "cnJvchgGIAEoCzIwLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMu", |
| | 96 | | "QmFkUmVxdWVzdEVycm9ySABCCgoIcmVzcG9uc2UitAMKFVJlcXVlc3RFdmVu", |
| | 97 | | "dHNSZXNwb25zZRJACgZldmVudHMYASABKAsyLi5kZWNlbnRyYWxhbmQuc29j", |
| | 98 | | "aWFsLmZyaWVuZHNoaXBzLlJlcXVlc3RFdmVudHNIABJVChVpbnRlcm5hbF9z", |
| | 99 | | "ZXJ2ZXJfZXJyb3IYAiABKAsyNC5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVu", |
| | 100 | | "ZHNoaXBzLkludGVybmFsU2VydmVyRXJyb3JIABJQChJ1bmF1dGhvcml6ZWRf", |
| | 101 | | "ZXJyb3IYAyABKAsyMi5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBz", |
| | 102 | | "LlVuYXV0aG9yaXplZEVycm9ySAASSgoPZm9yYmlkZGVuX2Vycm9yGAQgASgL", |
| | 103 | | "Mi8uZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Gb3JiaWRkZW5F", |
| | 104 | | "cnJvckgAElgKF3Rvb19tYW55X3JlcXVlc3RzX2Vycm9yGAUgASgLMjUuZGVj", |
| | 105 | | "ZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Ub29NYW55UmVxdWVzdHNF", |
| | 106 | | "cnJvckgAQgoKCHJlc3BvbnNlIo8EChhVcGRhdGVGcmllbmRzaGlwUmVzcG9u", |
| | 107 | | "c2USSQoFZXZlbnQYASABKAsyOC5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVu", |
| | 108 | | "ZHNoaXBzLkZyaWVuZHNoaXBFdmVudFJlc3BvbnNlSAASVQoVaW50ZXJuYWxf", |
| | 109 | | "c2VydmVyX2Vycm9yGAIgASgLMjQuZGVjZW50cmFsYW5kLnNvY2lhbC5mcmll", |
| | 110 | | "bmRzaGlwcy5JbnRlcm5hbFNlcnZlckVycm9ySAASUAoSdW5hdXRob3JpemVk", |
| | 111 | | "X2Vycm9yGAMgASgLMjIuZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlw", |
| | 112 | | "cy5VbmF1dGhvcml6ZWRFcnJvckgAEkoKD2ZvcmJpZGRlbl9lcnJvchgEIAEo", |
| | 113 | | "CzIvLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuRm9yYmlkZGVu", |
| | 114 | | "RXJyb3JIABJYChd0b29fbWFueV9yZXF1ZXN0c19lcnJvchgFIAEoCzI1LmRl", |
| | 115 | | "Y2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuVG9vTWFueVJlcXVlc3Rz", |
| | 116 | | "RXJyb3JIABJNChFiYWRfcmVxdWVzdF9lcnJvchgGIAEoCzIwLmRlY2VudHJh", |
| | 117 | | "bGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuQmFkUmVxdWVzdEVycm9ySABCCgoI", |
| | 118 | | "cmVzcG9uc2Ui0gMKKFN1YnNjcmliZUZyaWVuZHNoaXBFdmVudHNVcGRhdGVz", |
| | 119 | | "UmVzcG9uc2USSwoGZXZlbnRzGAEgASgLMjkuZGVjZW50cmFsYW5kLnNvY2lh", |
| | 120 | | "bC5mcmllbmRzaGlwcy5GcmllbmRzaGlwRXZlbnRSZXNwb25zZXNIABJVChVp", |
| | 121 | | "bnRlcm5hbF9zZXJ2ZXJfZXJyb3IYAiABKAsyNC5kZWNlbnRyYWxhbmQuc29j", |
| | 122 | | "aWFsLmZyaWVuZHNoaXBzLkludGVybmFsU2VydmVyRXJyb3JIABJQChJ1bmF1", |
| | 123 | | "dGhvcml6ZWRfZXJyb3IYAyABKAsyMi5kZWNlbnRyYWxhbmQuc29jaWFsLmZy", |
| | 124 | | "aWVuZHNoaXBzLlVuYXV0aG9yaXplZEVycm9ySAASSgoPZm9yYmlkZGVuX2Vy", |
| | 125 | | "cm9yGAQgASgLMi8uZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5G", |
| | 126 | | "b3JiaWRkZW5FcnJvckgAElgKF3Rvb19tYW55X3JlcXVlc3RzX2Vycm9yGAUg", |
| | 127 | | "ASgLMjUuZGVjZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5Ub29NYW55", |
| | 128 | | "UmVxdWVzdHNFcnJvckgAQgoKCHJlc3BvbnNlMqYFChJGcmllbmRzaGlwc1Nl", |
| | 129 | | "cnZpY2USagoKR2V0RnJpZW5kcxIoLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJp", |
| | 130 | | "ZW5kc2hpcHMuUGF5bG9hZBouLmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5k", |
| | 131 | | "c2hpcHMuVXNlcnNSZXNwb25zZSIAMAESfQoQR2V0TXV0dWFsRnJpZW5kcxI1", |
| | 132 | | "LmRlY2VudHJhbGFuZC5zb2NpYWwuZnJpZW5kc2hpcHMuTXV0dWFsRnJpZW5k", |
| | 133 | | "c1BheWxvYWQaLi5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzLlVz", |
| | 134 | | "ZXJzUmVzcG9uc2UiADABEnYKEEdldFJlcXVlc3RFdmVudHMSKC5kZWNlbnRy", |
| | 135 | | "YWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzLlBheWxvYWQaNi5kZWNlbnRyYWxh", |
| | 136 | | "bmQuc29jaWFsLmZyaWVuZHNoaXBzLlJlcXVlc3RFdmVudHNSZXNwb25zZSIA", |
| | 137 | | "Eo4BChVVcGRhdGVGcmllbmRzaGlwRXZlbnQSOC5kZWNlbnRyYWxhbmQuc29j", |
| | 138 | | "aWFsLmZyaWVuZHNoaXBzLlVwZGF0ZUZyaWVuZHNoaXBQYXlsb2FkGjkuZGVj", |
| | 139 | | "ZW50cmFsYW5kLnNvY2lhbC5mcmllbmRzaGlwcy5VcGRhdGVGcmllbmRzaGlw", |
| | 140 | | "UmVzcG9uc2UiABKbAQogU3Vic2NyaWJlRnJpZW5kc2hpcEV2ZW50c1VwZGF0", |
| | 141 | | "ZXMSKC5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzLlBheWxvYWQa", |
| | 142 | | "SS5kZWNlbnRyYWxhbmQuc29jaWFsLmZyaWVuZHNoaXBzLlN1YnNjcmliZUZy", |
| | 143 | | "aWVuZHNoaXBFdmVudHNVcGRhdGVzUmVzcG9uc2UiADABYgZwcm90bzM=")); |
| | 144 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 145 | | new pbr::FileDescriptor[] { }, |
| | 146 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 147 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.FriendshipEventResponse), globa |
| | 148 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.FriendshipEventResponses), glob |
| | 149 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.FriendshipEventPayload), global |
| | 150 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.User), global::Decentraland.Soc |
| | 151 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.Users), global::Decentraland.So |
| | 152 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.RequestResponse), global::Decen |
| | 153 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.RequestPayload), global::Decent |
| | 154 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.Requests), global::Decentraland |
| | 155 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.RequestEvents), global::Decentr |
| | 156 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.AcceptResponse), global::Decent |
| | 157 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.AcceptPayload), global::Decentr |
| | 158 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.RejectResponse), global::Decent |
| | 159 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.RejectPayload), global::Decentr |
| | 160 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.DeleteResponse), global::Decent |
| | 161 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.DeletePayload), global::Decentr |
| | 162 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.CancelResponse), global::Decent |
| | 163 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.CancelPayload), global::Decentr |
| | 164 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.UpdateFriendshipPayload), globa |
| | 165 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.MutualFriendsPayload), global:: |
| | 166 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.Payload), global::Decentraland. |
| | 167 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.BadRequestError), global::Decen |
| | 168 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.UnauthorizedError), global::Dec |
| | 169 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.ForbiddenError), global::Decent |
| | 170 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.TooManyRequestsError), global:: |
| | 171 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.InternalServerError), global::D |
| | 172 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.UsersResponse), global::Decentr |
| | 173 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.RequestEventsResponse), global: |
| | 174 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.UpdateFriendshipResponse), glob |
| | 175 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Social.Friendships.SubscribeFriendshipEventsUpdate |
| | 176 | | })); |
| | 177 | | } |
| | 178 | | #endregion |
| | 179 | |
|
| | 180 | | } |
| | 181 | | #region Messages |
| | 182 | | /// <summary> |
| | 183 | | /// This message is a response that is sent from the server to the client |
| | 184 | | /// </summary> |
| | 185 | | public sealed partial class FriendshipEventResponse : pb::IMessage<FriendshipEventResponse> |
| | 186 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 187 | | , pb::IBufferMessage |
| | 188 | | #endif |
| | 189 | | { |
| | 190 | | private static readonly pb::MessageParser<FriendshipEventResponse> _parser = new pb::MessageParser<FriendshipEventRe |
| | 191 | | private pb::UnknownFieldSet _unknownFields; |
| | 192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 194 | | public static pb::MessageParser<FriendshipEventResponse> Parser { get { return _parser; } } |
| | 195 | |
|
| | 196 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 197 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 198 | | public static pbr::MessageDescriptor Descriptor { |
| | 199 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[0]; } |
| | 200 | | } |
| | 201 | |
|
| | 202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 204 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 205 | | get { return Descriptor; } |
| | 206 | | } |
| | 207 | |
|
| | 208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 210 | | public FriendshipEventResponse() { |
| | 211 | | OnConstruction(); |
| | 212 | | } |
| | 213 | |
|
| | 214 | | partial void OnConstruction(); |
| | 215 | |
|
| | 216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 218 | | public FriendshipEventResponse(FriendshipEventResponse other) : this() { |
| | 219 | | switch (other.BodyCase) { |
| | 220 | | case BodyOneofCase.Request: |
| | 221 | | Request = other.Request.Clone(); |
| | 222 | | break; |
| | 223 | | case BodyOneofCase.Accept: |
| | 224 | | Accept = other.Accept.Clone(); |
| | 225 | | break; |
| | 226 | | case BodyOneofCase.Reject: |
| | 227 | | Reject = other.Reject.Clone(); |
| | 228 | | break; |
| | 229 | | case BodyOneofCase.Delete: |
| | 230 | | Delete = other.Delete.Clone(); |
| | 231 | | break; |
| | 232 | | case BodyOneofCase.Cancel: |
| | 233 | | Cancel = other.Cancel.Clone(); |
| | 234 | | break; |
| | 235 | | } |
| | 236 | |
|
| | 237 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 238 | | } |
| | 239 | |
|
| | 240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 242 | | public FriendshipEventResponse Clone() { |
| | 243 | | return new FriendshipEventResponse(this); |
| | 244 | | } |
| | 245 | |
|
| | 246 | | /// <summary>Field number for the "request" field.</summary> |
| | 247 | | public const int RequestFieldNumber = 1; |
| | 248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 250 | | public global::Decentraland.Social.Friendships.RequestResponse Request { |
| | 251 | | get { return bodyCase_ == BodyOneofCase.Request ? (global::Decentraland.Social.Friendships.RequestResponse) body_ |
| | 252 | | set { |
| | 253 | | body_ = value; |
| | 254 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Request; |
| | 255 | | } |
| | 256 | | } |
| | 257 | |
|
| | 258 | | /// <summary>Field number for the "accept" field.</summary> |
| | 259 | | public const int AcceptFieldNumber = 2; |
| | 260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 262 | | public global::Decentraland.Social.Friendships.AcceptResponse Accept { |
| | 263 | | get { return bodyCase_ == BodyOneofCase.Accept ? (global::Decentraland.Social.Friendships.AcceptResponse) body_ : |
| | 264 | | set { |
| | 265 | | body_ = value; |
| | 266 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Accept; |
| | 267 | | } |
| | 268 | | } |
| | 269 | |
|
| | 270 | | /// <summary>Field number for the "reject" field.</summary> |
| | 271 | | public const int RejectFieldNumber = 4; |
| | 272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 274 | | public global::Decentraland.Social.Friendships.RejectResponse Reject { |
| | 275 | | get { return bodyCase_ == BodyOneofCase.Reject ? (global::Decentraland.Social.Friendships.RejectResponse) body_ : |
| | 276 | | set { |
| | 277 | | body_ = value; |
| | 278 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Reject; |
| | 279 | | } |
| | 280 | | } |
| | 281 | |
|
| | 282 | | /// <summary>Field number for the "delete" field.</summary> |
| | 283 | | public const int DeleteFieldNumber = 5; |
| | 284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 286 | | public global::Decentraland.Social.Friendships.DeleteResponse Delete { |
| | 287 | | get { return bodyCase_ == BodyOneofCase.Delete ? (global::Decentraland.Social.Friendships.DeleteResponse) body_ : |
| | 288 | | set { |
| | 289 | | body_ = value; |
| | 290 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Delete; |
| | 291 | | } |
| | 292 | | } |
| | 293 | |
|
| | 294 | | /// <summary>Field number for the "cancel" field.</summary> |
| | 295 | | public const int CancelFieldNumber = 6; |
| | 296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 298 | | public global::Decentraland.Social.Friendships.CancelResponse Cancel { |
| | 299 | | get { return bodyCase_ == BodyOneofCase.Cancel ? (global::Decentraland.Social.Friendships.CancelResponse) body_ : |
| | 300 | | set { |
| | 301 | | body_ = value; |
| | 302 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Cancel; |
| | 303 | | } |
| | 304 | | } |
| | 305 | |
|
| | 306 | | private object body_; |
| | 307 | | /// <summary>Enum of possible cases for the "body" oneof.</summary> |
| | 308 | | public enum BodyOneofCase { |
| | 309 | | None = 0, |
| | 310 | | Request = 1, |
| | 311 | | Accept = 2, |
| | 312 | | Reject = 4, |
| | 313 | | Delete = 5, |
| | 314 | | Cancel = 6, |
| | 315 | | } |
| | 316 | | private BodyOneofCase bodyCase_ = BodyOneofCase.None; |
| | 317 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 318 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 319 | | public BodyOneofCase BodyCase { |
| | 320 | | get { return bodyCase_; } |
| | 321 | | } |
| | 322 | |
|
| | 323 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 324 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 325 | | public void ClearBody() { |
| | 326 | | bodyCase_ = BodyOneofCase.None; |
| | 327 | | body_ = null; |
| | 328 | | } |
| | 329 | |
|
| | 330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 332 | | public override bool Equals(object other) { |
| | 333 | | return Equals(other as FriendshipEventResponse); |
| | 334 | | } |
| | 335 | |
|
| | 336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 338 | | public bool Equals(FriendshipEventResponse other) { |
| | 339 | | if (ReferenceEquals(other, null)) { |
| | 340 | | return false; |
| | 341 | | } |
| | 342 | | if (ReferenceEquals(other, this)) { |
| | 343 | | return true; |
| | 344 | | } |
| | 345 | | if (!object.Equals(Request, other.Request)) return false; |
| | 346 | | if (!object.Equals(Accept, other.Accept)) return false; |
| | 347 | | if (!object.Equals(Reject, other.Reject)) return false; |
| | 348 | | if (!object.Equals(Delete, other.Delete)) return false; |
| | 349 | | if (!object.Equals(Cancel, other.Cancel)) return false; |
| | 350 | | if (BodyCase != other.BodyCase) return false; |
| | 351 | | return Equals(_unknownFields, other._unknownFields); |
| | 352 | | } |
| | 353 | |
|
| | 354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 356 | | public override int GetHashCode() { |
| | 357 | | int hash = 1; |
| | 358 | | if (bodyCase_ == BodyOneofCase.Request) hash ^= Request.GetHashCode(); |
| | 359 | | if (bodyCase_ == BodyOneofCase.Accept) hash ^= Accept.GetHashCode(); |
| | 360 | | if (bodyCase_ == BodyOneofCase.Reject) hash ^= Reject.GetHashCode(); |
| | 361 | | if (bodyCase_ == BodyOneofCase.Delete) hash ^= Delete.GetHashCode(); |
| | 362 | | if (bodyCase_ == BodyOneofCase.Cancel) hash ^= Cancel.GetHashCode(); |
| | 363 | | hash ^= (int) bodyCase_; |
| | 364 | | if (_unknownFields != null) { |
| | 365 | | hash ^= _unknownFields.GetHashCode(); |
| | 366 | | } |
| | 367 | | return hash; |
| | 368 | | } |
| | 369 | |
|
| | 370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 372 | | public override string ToString() { |
| | 373 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 374 | | } |
| | 375 | |
|
| | 376 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 377 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 378 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 379 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 380 | | output.WriteRawMessage(this); |
| | 381 | | #else |
| | 382 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 383 | | output.WriteRawTag(10); |
| | 384 | | output.WriteMessage(Request); |
| | 385 | | } |
| | 386 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 387 | | output.WriteRawTag(18); |
| | 388 | | output.WriteMessage(Accept); |
| | 389 | | } |
| | 390 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 391 | | output.WriteRawTag(34); |
| | 392 | | output.WriteMessage(Reject); |
| | 393 | | } |
| | 394 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 395 | | output.WriteRawTag(42); |
| | 396 | | output.WriteMessage(Delete); |
| | 397 | | } |
| | 398 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 399 | | output.WriteRawTag(50); |
| | 400 | | output.WriteMessage(Cancel); |
| | 401 | | } |
| | 402 | | if (_unknownFields != null) { |
| | 403 | | _unknownFields.WriteTo(output); |
| | 404 | | } |
| | 405 | | #endif |
| | 406 | | } |
| | 407 | |
|
| | 408 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 409 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 410 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 411 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 412 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 413 | | output.WriteRawTag(10); |
| | 414 | | output.WriteMessage(Request); |
| | 415 | | } |
| | 416 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 417 | | output.WriteRawTag(18); |
| | 418 | | output.WriteMessage(Accept); |
| | 419 | | } |
| | 420 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 421 | | output.WriteRawTag(34); |
| | 422 | | output.WriteMessage(Reject); |
| | 423 | | } |
| | 424 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 425 | | output.WriteRawTag(42); |
| | 426 | | output.WriteMessage(Delete); |
| | 427 | | } |
| | 428 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 429 | | output.WriteRawTag(50); |
| | 430 | | output.WriteMessage(Cancel); |
| | 431 | | } |
| | 432 | | if (_unknownFields != null) { |
| | 433 | | _unknownFields.WriteTo(ref output); |
| | 434 | | } |
| | 435 | | } |
| | 436 | | #endif |
| | 437 | |
|
| | 438 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 439 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 440 | | public int CalculateSize() { |
| | 441 | | int size = 0; |
| | 442 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 443 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); |
| | 444 | | } |
| | 445 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 446 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Accept); |
| | 447 | | } |
| | 448 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 449 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reject); |
| | 450 | | } |
| | 451 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 452 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Delete); |
| | 453 | | } |
| | 454 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 455 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cancel); |
| | 456 | | } |
| | 457 | | if (_unknownFields != null) { |
| | 458 | | size += _unknownFields.CalculateSize(); |
| | 459 | | } |
| | 460 | | return size; |
| | 461 | | } |
| | 462 | |
|
| | 463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 465 | | public void MergeFrom(FriendshipEventResponse other) { |
| | 466 | | if (other == null) { |
| | 467 | | return; |
| | 468 | | } |
| | 469 | | switch (other.BodyCase) { |
| | 470 | | case BodyOneofCase.Request: |
| | 471 | | if (Request == null) { |
| | 472 | | Request = new global::Decentraland.Social.Friendships.RequestResponse(); |
| | 473 | | } |
| | 474 | | Request.MergeFrom(other.Request); |
| | 475 | | break; |
| | 476 | | case BodyOneofCase.Accept: |
| | 477 | | if (Accept == null) { |
| | 478 | | Accept = new global::Decentraland.Social.Friendships.AcceptResponse(); |
| | 479 | | } |
| | 480 | | Accept.MergeFrom(other.Accept); |
| | 481 | | break; |
| | 482 | | case BodyOneofCase.Reject: |
| | 483 | | if (Reject == null) { |
| | 484 | | Reject = new global::Decentraland.Social.Friendships.RejectResponse(); |
| | 485 | | } |
| | 486 | | Reject.MergeFrom(other.Reject); |
| | 487 | | break; |
| | 488 | | case BodyOneofCase.Delete: |
| | 489 | | if (Delete == null) { |
| | 490 | | Delete = new global::Decentraland.Social.Friendships.DeleteResponse(); |
| | 491 | | } |
| | 492 | | Delete.MergeFrom(other.Delete); |
| | 493 | | break; |
| | 494 | | case BodyOneofCase.Cancel: |
| | 495 | | if (Cancel == null) { |
| | 496 | | Cancel = new global::Decentraland.Social.Friendships.CancelResponse(); |
| | 497 | | } |
| | 498 | | Cancel.MergeFrom(other.Cancel); |
| | 499 | | break; |
| | 500 | | } |
| | 501 | |
|
| | 502 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 503 | | } |
| | 504 | |
|
| | 505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 507 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 508 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 509 | | input.ReadRawMessage(this); |
| | 510 | | #else |
| | 511 | | uint tag; |
| | 512 | | while ((tag = input.ReadTag()) != 0) { |
| | 513 | | switch(tag) { |
| | 514 | | default: |
| | 515 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 516 | | break; |
| | 517 | | case 10: { |
| | 518 | | global::Decentraland.Social.Friendships.RequestResponse subBuilder = new global::Decentraland.Social.Friends |
| | 519 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 520 | | subBuilder.MergeFrom(Request); |
| | 521 | | } |
| | 522 | | input.ReadMessage(subBuilder); |
| | 523 | | Request = subBuilder; |
| | 524 | | break; |
| | 525 | | } |
| | 526 | | case 18: { |
| | 527 | | global::Decentraland.Social.Friendships.AcceptResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 528 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 529 | | subBuilder.MergeFrom(Accept); |
| | 530 | | } |
| | 531 | | input.ReadMessage(subBuilder); |
| | 532 | | Accept = subBuilder; |
| | 533 | | break; |
| | 534 | | } |
| | 535 | | case 34: { |
| | 536 | | global::Decentraland.Social.Friendships.RejectResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 537 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 538 | | subBuilder.MergeFrom(Reject); |
| | 539 | | } |
| | 540 | | input.ReadMessage(subBuilder); |
| | 541 | | Reject = subBuilder; |
| | 542 | | break; |
| | 543 | | } |
| | 544 | | case 42: { |
| | 545 | | global::Decentraland.Social.Friendships.DeleteResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 546 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 547 | | subBuilder.MergeFrom(Delete); |
| | 548 | | } |
| | 549 | | input.ReadMessage(subBuilder); |
| | 550 | | Delete = subBuilder; |
| | 551 | | break; |
| | 552 | | } |
| | 553 | | case 50: { |
| | 554 | | global::Decentraland.Social.Friendships.CancelResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 555 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 556 | | subBuilder.MergeFrom(Cancel); |
| | 557 | | } |
| | 558 | | input.ReadMessage(subBuilder); |
| | 559 | | Cancel = subBuilder; |
| | 560 | | break; |
| | 561 | | } |
| | 562 | | } |
| | 563 | | } |
| | 564 | | #endif |
| | 565 | | } |
| | 566 | |
|
| | 567 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 568 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 569 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 570 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 571 | | uint tag; |
| | 572 | | while ((tag = input.ReadTag()) != 0) { |
| | 573 | | switch(tag) { |
| | 574 | | default: |
| | 575 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 576 | | break; |
| | 577 | | case 10: { |
| | 578 | | global::Decentraland.Social.Friendships.RequestResponse subBuilder = new global::Decentraland.Social.Friends |
| | 579 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 580 | | subBuilder.MergeFrom(Request); |
| | 581 | | } |
| | 582 | | input.ReadMessage(subBuilder); |
| | 583 | | Request = subBuilder; |
| | 584 | | break; |
| | 585 | | } |
| | 586 | | case 18: { |
| | 587 | | global::Decentraland.Social.Friendships.AcceptResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 588 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 589 | | subBuilder.MergeFrom(Accept); |
| | 590 | | } |
| | 591 | | input.ReadMessage(subBuilder); |
| | 592 | | Accept = subBuilder; |
| | 593 | | break; |
| | 594 | | } |
| | 595 | | case 34: { |
| | 596 | | global::Decentraland.Social.Friendships.RejectResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 597 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 598 | | subBuilder.MergeFrom(Reject); |
| | 599 | | } |
| | 600 | | input.ReadMessage(subBuilder); |
| | 601 | | Reject = subBuilder; |
| | 602 | | break; |
| | 603 | | } |
| | 604 | | case 42: { |
| | 605 | | global::Decentraland.Social.Friendships.DeleteResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 606 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 607 | | subBuilder.MergeFrom(Delete); |
| | 608 | | } |
| | 609 | | input.ReadMessage(subBuilder); |
| | 610 | | Delete = subBuilder; |
| | 611 | | break; |
| | 612 | | } |
| | 613 | | case 50: { |
| | 614 | | global::Decentraland.Social.Friendships.CancelResponse subBuilder = new global::Decentraland.Social.Friendsh |
| | 615 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 616 | | subBuilder.MergeFrom(Cancel); |
| | 617 | | } |
| | 618 | | input.ReadMessage(subBuilder); |
| | 619 | | Cancel = subBuilder; |
| | 620 | | break; |
| | 621 | | } |
| | 622 | | } |
| | 623 | | } |
| | 624 | | } |
| | 625 | | #endif |
| | 626 | |
|
| | 627 | | } |
| | 628 | |
|
| | 629 | | public sealed partial class FriendshipEventResponses : pb::IMessage<FriendshipEventResponses> |
| | 630 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 631 | | , pb::IBufferMessage |
| | 632 | | #endif |
| | 633 | | { |
| | 634 | | private static readonly pb::MessageParser<FriendshipEventResponses> _parser = new pb::MessageParser<FriendshipEventR |
| | 635 | | private pb::UnknownFieldSet _unknownFields; |
| | 636 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 637 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 638 | | public static pb::MessageParser<FriendshipEventResponses> Parser { get { return _parser; } } |
| | 639 | |
|
| | 640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 642 | | public static pbr::MessageDescriptor Descriptor { |
| | 643 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[1]; } |
| | 644 | | } |
| | 645 | |
|
| | 646 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 647 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 648 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 649 | | get { return Descriptor; } |
| | 650 | | } |
| | 651 | |
|
| | 652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 654 | | public FriendshipEventResponses() { |
| | 655 | | OnConstruction(); |
| | 656 | | } |
| | 657 | |
|
| | 658 | | partial void OnConstruction(); |
| | 659 | |
|
| | 660 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 661 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 662 | | public FriendshipEventResponses(FriendshipEventResponses other) : this() { |
| | 663 | | responses_ = other.responses_.Clone(); |
| | 664 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 665 | | } |
| | 666 | |
|
| | 667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 669 | | public FriendshipEventResponses Clone() { |
| | 670 | | return new FriendshipEventResponses(this); |
| | 671 | | } |
| | 672 | |
|
| | 673 | | /// <summary>Field number for the "responses" field.</summary> |
| | 674 | | public const int ResponsesFieldNumber = 1; |
| | 675 | | private static readonly pb::FieldCodec<global::Decentraland.Social.Friendships.FriendshipEventResponse> _repeated_re |
| | 676 | | = pb::FieldCodec.ForMessage(10, global::Decentraland.Social.Friendships.FriendshipEventResponse.Parser); |
| | 677 | | private readonly pbc::RepeatedField<global::Decentraland.Social.Friendships.FriendshipEventResponse> responses_ = ne |
| | 678 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 679 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 680 | | public pbc::RepeatedField<global::Decentraland.Social.Friendships.FriendshipEventResponse> Responses { |
| | 681 | | get { return responses_; } |
| | 682 | | } |
| | 683 | |
|
| | 684 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 685 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 686 | | public override bool Equals(object other) { |
| | 687 | | return Equals(other as FriendshipEventResponses); |
| | 688 | | } |
| | 689 | |
|
| | 690 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 691 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 692 | | public bool Equals(FriendshipEventResponses other) { |
| | 693 | | if (ReferenceEquals(other, null)) { |
| | 694 | | return false; |
| | 695 | | } |
| | 696 | | if (ReferenceEquals(other, this)) { |
| | 697 | | return true; |
| | 698 | | } |
| | 699 | | if(!responses_.Equals(other.responses_)) return false; |
| | 700 | | return Equals(_unknownFields, other._unknownFields); |
| | 701 | | } |
| | 702 | |
|
| | 703 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 704 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 705 | | public override int GetHashCode() { |
| | 706 | | int hash = 1; |
| | 707 | | hash ^= responses_.GetHashCode(); |
| | 708 | | if (_unknownFields != null) { |
| | 709 | | hash ^= _unknownFields.GetHashCode(); |
| | 710 | | } |
| | 711 | | return hash; |
| | 712 | | } |
| | 713 | |
|
| | 714 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 715 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 716 | | public override string ToString() { |
| | 717 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 718 | | } |
| | 719 | |
|
| | 720 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 721 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 722 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 723 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 724 | | output.WriteRawMessage(this); |
| | 725 | | #else |
| | 726 | | responses_.WriteTo(output, _repeated_responses_codec); |
| | 727 | | if (_unknownFields != null) { |
| | 728 | | _unknownFields.WriteTo(output); |
| | 729 | | } |
| | 730 | | #endif |
| | 731 | | } |
| | 732 | |
|
| | 733 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 734 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 735 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 736 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 737 | | responses_.WriteTo(ref output, _repeated_responses_codec); |
| | 738 | | if (_unknownFields != null) { |
| | 739 | | _unknownFields.WriteTo(ref output); |
| | 740 | | } |
| | 741 | | } |
| | 742 | | #endif |
| | 743 | |
|
| | 744 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 745 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 746 | | public int CalculateSize() { |
| | 747 | | int size = 0; |
| | 748 | | size += responses_.CalculateSize(_repeated_responses_codec); |
| | 749 | | if (_unknownFields != null) { |
| | 750 | | size += _unknownFields.CalculateSize(); |
| | 751 | | } |
| | 752 | | return size; |
| | 753 | | } |
| | 754 | |
|
| | 755 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 756 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 757 | | public void MergeFrom(FriendshipEventResponses other) { |
| | 758 | | if (other == null) { |
| | 759 | | return; |
| | 760 | | } |
| | 761 | | responses_.Add(other.responses_); |
| | 762 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 763 | | } |
| | 764 | |
|
| | 765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 767 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 768 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 769 | | input.ReadRawMessage(this); |
| | 770 | | #else |
| | 771 | | uint tag; |
| | 772 | | while ((tag = input.ReadTag()) != 0) { |
| | 773 | | switch(tag) { |
| | 774 | | default: |
| | 775 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 776 | | break; |
| | 777 | | case 10: { |
| | 778 | | responses_.AddEntriesFrom(input, _repeated_responses_codec); |
| | 779 | | break; |
| | 780 | | } |
| | 781 | | } |
| | 782 | | } |
| | 783 | | #endif |
| | 784 | | } |
| | 785 | |
|
| | 786 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 787 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 788 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 789 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 790 | | uint tag; |
| | 791 | | while ((tag = input.ReadTag()) != 0) { |
| | 792 | | switch(tag) { |
| | 793 | | default: |
| | 794 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 795 | | break; |
| | 796 | | case 10: { |
| | 797 | | responses_.AddEntriesFrom(ref input, _repeated_responses_codec); |
| | 798 | | break; |
| | 799 | | } |
| | 800 | | } |
| | 801 | | } |
| | 802 | | } |
| | 803 | | #endif |
| | 804 | |
|
| | 805 | | } |
| | 806 | |
|
| | 807 | | public sealed partial class FriendshipEventPayload : pb::IMessage<FriendshipEventPayload> |
| | 808 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 809 | | , pb::IBufferMessage |
| | 810 | | #endif |
| | 811 | | { |
| | 812 | | private static readonly pb::MessageParser<FriendshipEventPayload> _parser = new pb::MessageParser<FriendshipEventPay |
| | 813 | | private pb::UnknownFieldSet _unknownFields; |
| | 814 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 815 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 816 | | public static pb::MessageParser<FriendshipEventPayload> Parser { get { return _parser; } } |
| | 817 | |
|
| | 818 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 819 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 820 | | public static pbr::MessageDescriptor Descriptor { |
| | 821 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[2]; } |
| | 822 | | } |
| | 823 | |
|
| | 824 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 825 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 826 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 827 | | get { return Descriptor; } |
| | 828 | | } |
| | 829 | |
|
| | 830 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 831 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 832 | | public FriendshipEventPayload() { |
| | 833 | | OnConstruction(); |
| | 834 | | } |
| | 835 | |
|
| | 836 | | partial void OnConstruction(); |
| | 837 | |
|
| | 838 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 839 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 840 | | public FriendshipEventPayload(FriendshipEventPayload other) : this() { |
| | 841 | | switch (other.BodyCase) { |
| | 842 | | case BodyOneofCase.Request: |
| | 843 | | Request = other.Request.Clone(); |
| | 844 | | break; |
| | 845 | | case BodyOneofCase.Accept: |
| | 846 | | Accept = other.Accept.Clone(); |
| | 847 | | break; |
| | 848 | | case BodyOneofCase.Reject: |
| | 849 | | Reject = other.Reject.Clone(); |
| | 850 | | break; |
| | 851 | | case BodyOneofCase.Delete: |
| | 852 | | Delete = other.Delete.Clone(); |
| | 853 | | break; |
| | 854 | | case BodyOneofCase.Cancel: |
| | 855 | | Cancel = other.Cancel.Clone(); |
| | 856 | | break; |
| | 857 | | } |
| | 858 | |
|
| | 859 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 860 | | } |
| | 861 | |
|
| | 862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 864 | | public FriendshipEventPayload Clone() { |
| | 865 | | return new FriendshipEventPayload(this); |
| | 866 | | } |
| | 867 | |
|
| | 868 | | /// <summary>Field number for the "request" field.</summary> |
| | 869 | | public const int RequestFieldNumber = 1; |
| | 870 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 871 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 872 | | public global::Decentraland.Social.Friendships.RequestPayload Request { |
| | 873 | | get { return bodyCase_ == BodyOneofCase.Request ? (global::Decentraland.Social.Friendships.RequestPayload) body_ : |
| | 874 | | set { |
| | 875 | | body_ = value; |
| | 876 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Request; |
| | 877 | | } |
| | 878 | | } |
| | 879 | |
|
| | 880 | | /// <summary>Field number for the "accept" field.</summary> |
| | 881 | | public const int AcceptFieldNumber = 2; |
| | 882 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 883 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 884 | | public global::Decentraland.Social.Friendships.AcceptPayload Accept { |
| | 885 | | get { return bodyCase_ == BodyOneofCase.Accept ? (global::Decentraland.Social.Friendships.AcceptPayload) body_ : n |
| | 886 | | set { |
| | 887 | | body_ = value; |
| | 888 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Accept; |
| | 889 | | } |
| | 890 | | } |
| | 891 | |
|
| | 892 | | /// <summary>Field number for the "reject" field.</summary> |
| | 893 | | public const int RejectFieldNumber = 4; |
| | 894 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 895 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 896 | | public global::Decentraland.Social.Friendships.RejectPayload Reject { |
| | 897 | | get { return bodyCase_ == BodyOneofCase.Reject ? (global::Decentraland.Social.Friendships.RejectPayload) body_ : n |
| | 898 | | set { |
| | 899 | | body_ = value; |
| | 900 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Reject; |
| | 901 | | } |
| | 902 | | } |
| | 903 | |
|
| | 904 | | /// <summary>Field number for the "delete" field.</summary> |
| | 905 | | public const int DeleteFieldNumber = 5; |
| | 906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 908 | | public global::Decentraland.Social.Friendships.DeletePayload Delete { |
| | 909 | | get { return bodyCase_ == BodyOneofCase.Delete ? (global::Decentraland.Social.Friendships.DeletePayload) body_ : n |
| | 910 | | set { |
| | 911 | | body_ = value; |
| | 912 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Delete; |
| | 913 | | } |
| | 914 | | } |
| | 915 | |
|
| | 916 | | /// <summary>Field number for the "cancel" field.</summary> |
| | 917 | | public const int CancelFieldNumber = 6; |
| | 918 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 919 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 920 | | public global::Decentraland.Social.Friendships.CancelPayload Cancel { |
| | 921 | | get { return bodyCase_ == BodyOneofCase.Cancel ? (global::Decentraland.Social.Friendships.CancelPayload) body_ : n |
| | 922 | | set { |
| | 923 | | body_ = value; |
| | 924 | | bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.Cancel; |
| | 925 | | } |
| | 926 | | } |
| | 927 | |
|
| | 928 | | private object body_; |
| | 929 | | /// <summary>Enum of possible cases for the "body" oneof.</summary> |
| | 930 | | public enum BodyOneofCase { |
| | 931 | | None = 0, |
| | 932 | | Request = 1, |
| | 933 | | Accept = 2, |
| | 934 | | Reject = 4, |
| | 935 | | Delete = 5, |
| | 936 | | Cancel = 6, |
| | 937 | | } |
| | 938 | | private BodyOneofCase bodyCase_ = BodyOneofCase.None; |
| | 939 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 940 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 941 | | public BodyOneofCase BodyCase { |
| | 942 | | get { return bodyCase_; } |
| | 943 | | } |
| | 944 | |
|
| | 945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 947 | | public void ClearBody() { |
| | 948 | | bodyCase_ = BodyOneofCase.None; |
| | 949 | | body_ = null; |
| | 950 | | } |
| | 951 | |
|
| | 952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 954 | | public override bool Equals(object other) { |
| | 955 | | return Equals(other as FriendshipEventPayload); |
| | 956 | | } |
| | 957 | |
|
| | 958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 960 | | public bool Equals(FriendshipEventPayload other) { |
| | 961 | | if (ReferenceEquals(other, null)) { |
| | 962 | | return false; |
| | 963 | | } |
| | 964 | | if (ReferenceEquals(other, this)) { |
| | 965 | | return true; |
| | 966 | | } |
| | 967 | | if (!object.Equals(Request, other.Request)) return false; |
| | 968 | | if (!object.Equals(Accept, other.Accept)) return false; |
| | 969 | | if (!object.Equals(Reject, other.Reject)) return false; |
| | 970 | | if (!object.Equals(Delete, other.Delete)) return false; |
| | 971 | | if (!object.Equals(Cancel, other.Cancel)) return false; |
| | 972 | | if (BodyCase != other.BodyCase) return false; |
| | 973 | | return Equals(_unknownFields, other._unknownFields); |
| | 974 | | } |
| | 975 | |
|
| | 976 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 977 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 978 | | public override int GetHashCode() { |
| | 979 | | int hash = 1; |
| | 980 | | if (bodyCase_ == BodyOneofCase.Request) hash ^= Request.GetHashCode(); |
| | 981 | | if (bodyCase_ == BodyOneofCase.Accept) hash ^= Accept.GetHashCode(); |
| | 982 | | if (bodyCase_ == BodyOneofCase.Reject) hash ^= Reject.GetHashCode(); |
| | 983 | | if (bodyCase_ == BodyOneofCase.Delete) hash ^= Delete.GetHashCode(); |
| | 984 | | if (bodyCase_ == BodyOneofCase.Cancel) hash ^= Cancel.GetHashCode(); |
| | 985 | | hash ^= (int) bodyCase_; |
| | 986 | | if (_unknownFields != null) { |
| | 987 | | hash ^= _unknownFields.GetHashCode(); |
| | 988 | | } |
| | 989 | | return hash; |
| | 990 | | } |
| | 991 | |
|
| | 992 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 993 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 994 | | public override string ToString() { |
| | 995 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 996 | | } |
| | 997 | |
|
| | 998 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 999 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1000 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1001 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1002 | | output.WriteRawMessage(this); |
| | 1003 | | #else |
| | 1004 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 1005 | | output.WriteRawTag(10); |
| | 1006 | | output.WriteMessage(Request); |
| | 1007 | | } |
| | 1008 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 1009 | | output.WriteRawTag(18); |
| | 1010 | | output.WriteMessage(Accept); |
| | 1011 | | } |
| | 1012 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 1013 | | output.WriteRawTag(34); |
| | 1014 | | output.WriteMessage(Reject); |
| | 1015 | | } |
| | 1016 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 1017 | | output.WriteRawTag(42); |
| | 1018 | | output.WriteMessage(Delete); |
| | 1019 | | } |
| | 1020 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 1021 | | output.WriteRawTag(50); |
| | 1022 | | output.WriteMessage(Cancel); |
| | 1023 | | } |
| | 1024 | | if (_unknownFields != null) { |
| | 1025 | | _unknownFields.WriteTo(output); |
| | 1026 | | } |
| | 1027 | | #endif |
| | 1028 | | } |
| | 1029 | |
|
| | 1030 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1031 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1032 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1033 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1034 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 1035 | | output.WriteRawTag(10); |
| | 1036 | | output.WriteMessage(Request); |
| | 1037 | | } |
| | 1038 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 1039 | | output.WriteRawTag(18); |
| | 1040 | | output.WriteMessage(Accept); |
| | 1041 | | } |
| | 1042 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 1043 | | output.WriteRawTag(34); |
| | 1044 | | output.WriteMessage(Reject); |
| | 1045 | | } |
| | 1046 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 1047 | | output.WriteRawTag(42); |
| | 1048 | | output.WriteMessage(Delete); |
| | 1049 | | } |
| | 1050 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 1051 | | output.WriteRawTag(50); |
| | 1052 | | output.WriteMessage(Cancel); |
| | 1053 | | } |
| | 1054 | | if (_unknownFields != null) { |
| | 1055 | | _unknownFields.WriteTo(ref output); |
| | 1056 | | } |
| | 1057 | | } |
| | 1058 | | #endif |
| | 1059 | |
|
| | 1060 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1061 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1062 | | public int CalculateSize() { |
| | 1063 | | int size = 0; |
| | 1064 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 1065 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request); |
| | 1066 | | } |
| | 1067 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 1068 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Accept); |
| | 1069 | | } |
| | 1070 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 1071 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reject); |
| | 1072 | | } |
| | 1073 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 1074 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Delete); |
| | 1075 | | } |
| | 1076 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 1077 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Cancel); |
| | 1078 | | } |
| | 1079 | | if (_unknownFields != null) { |
| | 1080 | | size += _unknownFields.CalculateSize(); |
| | 1081 | | } |
| | 1082 | | return size; |
| | 1083 | | } |
| | 1084 | |
|
| | 1085 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1086 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1087 | | public void MergeFrom(FriendshipEventPayload other) { |
| | 1088 | | if (other == null) { |
| | 1089 | | return; |
| | 1090 | | } |
| | 1091 | | switch (other.BodyCase) { |
| | 1092 | | case BodyOneofCase.Request: |
| | 1093 | | if (Request == null) { |
| | 1094 | | Request = new global::Decentraland.Social.Friendships.RequestPayload(); |
| | 1095 | | } |
| | 1096 | | Request.MergeFrom(other.Request); |
| | 1097 | | break; |
| | 1098 | | case BodyOneofCase.Accept: |
| | 1099 | | if (Accept == null) { |
| | 1100 | | Accept = new global::Decentraland.Social.Friendships.AcceptPayload(); |
| | 1101 | | } |
| | 1102 | | Accept.MergeFrom(other.Accept); |
| | 1103 | | break; |
| | 1104 | | case BodyOneofCase.Reject: |
| | 1105 | | if (Reject == null) { |
| | 1106 | | Reject = new global::Decentraland.Social.Friendships.RejectPayload(); |
| | 1107 | | } |
| | 1108 | | Reject.MergeFrom(other.Reject); |
| | 1109 | | break; |
| | 1110 | | case BodyOneofCase.Delete: |
| | 1111 | | if (Delete == null) { |
| | 1112 | | Delete = new global::Decentraland.Social.Friendships.DeletePayload(); |
| | 1113 | | } |
| | 1114 | | Delete.MergeFrom(other.Delete); |
| | 1115 | | break; |
| | 1116 | | case BodyOneofCase.Cancel: |
| | 1117 | | if (Cancel == null) { |
| | 1118 | | Cancel = new global::Decentraland.Social.Friendships.CancelPayload(); |
| | 1119 | | } |
| | 1120 | | Cancel.MergeFrom(other.Cancel); |
| | 1121 | | break; |
| | 1122 | | } |
| | 1123 | |
|
| | 1124 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1125 | | } |
| | 1126 | |
|
| | 1127 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1128 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1129 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1130 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1131 | | input.ReadRawMessage(this); |
| | 1132 | | #else |
| | 1133 | | uint tag; |
| | 1134 | | while ((tag = input.ReadTag()) != 0) { |
| | 1135 | | switch(tag) { |
| | 1136 | | default: |
| | 1137 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1138 | | break; |
| | 1139 | | case 10: { |
| | 1140 | | global::Decentraland.Social.Friendships.RequestPayload subBuilder = new global::Decentraland.Social.Friendsh |
| | 1141 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 1142 | | subBuilder.MergeFrom(Request); |
| | 1143 | | } |
| | 1144 | | input.ReadMessage(subBuilder); |
| | 1145 | | Request = subBuilder; |
| | 1146 | | break; |
| | 1147 | | } |
| | 1148 | | case 18: { |
| | 1149 | | global::Decentraland.Social.Friendships.AcceptPayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1150 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 1151 | | subBuilder.MergeFrom(Accept); |
| | 1152 | | } |
| | 1153 | | input.ReadMessage(subBuilder); |
| | 1154 | | Accept = subBuilder; |
| | 1155 | | break; |
| | 1156 | | } |
| | 1157 | | case 34: { |
| | 1158 | | global::Decentraland.Social.Friendships.RejectPayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1159 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 1160 | | subBuilder.MergeFrom(Reject); |
| | 1161 | | } |
| | 1162 | | input.ReadMessage(subBuilder); |
| | 1163 | | Reject = subBuilder; |
| | 1164 | | break; |
| | 1165 | | } |
| | 1166 | | case 42: { |
| | 1167 | | global::Decentraland.Social.Friendships.DeletePayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1168 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 1169 | | subBuilder.MergeFrom(Delete); |
| | 1170 | | } |
| | 1171 | | input.ReadMessage(subBuilder); |
| | 1172 | | Delete = subBuilder; |
| | 1173 | | break; |
| | 1174 | | } |
| | 1175 | | case 50: { |
| | 1176 | | global::Decentraland.Social.Friendships.CancelPayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1177 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 1178 | | subBuilder.MergeFrom(Cancel); |
| | 1179 | | } |
| | 1180 | | input.ReadMessage(subBuilder); |
| | 1181 | | Cancel = subBuilder; |
| | 1182 | | break; |
| | 1183 | | } |
| | 1184 | | } |
| | 1185 | | } |
| | 1186 | | #endif |
| | 1187 | | } |
| | 1188 | |
|
| | 1189 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1190 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1191 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1192 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1193 | | uint tag; |
| | 1194 | | while ((tag = input.ReadTag()) != 0) { |
| | 1195 | | switch(tag) { |
| | 1196 | | default: |
| | 1197 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1198 | | break; |
| | 1199 | | case 10: { |
| | 1200 | | global::Decentraland.Social.Friendships.RequestPayload subBuilder = new global::Decentraland.Social.Friendsh |
| | 1201 | | if (bodyCase_ == BodyOneofCase.Request) { |
| | 1202 | | subBuilder.MergeFrom(Request); |
| | 1203 | | } |
| | 1204 | | input.ReadMessage(subBuilder); |
| | 1205 | | Request = subBuilder; |
| | 1206 | | break; |
| | 1207 | | } |
| | 1208 | | case 18: { |
| | 1209 | | global::Decentraland.Social.Friendships.AcceptPayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1210 | | if (bodyCase_ == BodyOneofCase.Accept) { |
| | 1211 | | subBuilder.MergeFrom(Accept); |
| | 1212 | | } |
| | 1213 | | input.ReadMessage(subBuilder); |
| | 1214 | | Accept = subBuilder; |
| | 1215 | | break; |
| | 1216 | | } |
| | 1217 | | case 34: { |
| | 1218 | | global::Decentraland.Social.Friendships.RejectPayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1219 | | if (bodyCase_ == BodyOneofCase.Reject) { |
| | 1220 | | subBuilder.MergeFrom(Reject); |
| | 1221 | | } |
| | 1222 | | input.ReadMessage(subBuilder); |
| | 1223 | | Reject = subBuilder; |
| | 1224 | | break; |
| | 1225 | | } |
| | 1226 | | case 42: { |
| | 1227 | | global::Decentraland.Social.Friendships.DeletePayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1228 | | if (bodyCase_ == BodyOneofCase.Delete) { |
| | 1229 | | subBuilder.MergeFrom(Delete); |
| | 1230 | | } |
| | 1231 | | input.ReadMessage(subBuilder); |
| | 1232 | | Delete = subBuilder; |
| | 1233 | | break; |
| | 1234 | | } |
| | 1235 | | case 50: { |
| | 1236 | | global::Decentraland.Social.Friendships.CancelPayload subBuilder = new global::Decentraland.Social.Friendshi |
| | 1237 | | if (bodyCase_ == BodyOneofCase.Cancel) { |
| | 1238 | | subBuilder.MergeFrom(Cancel); |
| | 1239 | | } |
| | 1240 | | input.ReadMessage(subBuilder); |
| | 1241 | | Cancel = subBuilder; |
| | 1242 | | break; |
| | 1243 | | } |
| | 1244 | | } |
| | 1245 | | } |
| | 1246 | | } |
| | 1247 | | #endif |
| | 1248 | |
|
| | 1249 | | } |
| | 1250 | |
|
| | 1251 | | public sealed partial class User : pb::IMessage<User> |
| | 1252 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1253 | | , pb::IBufferMessage |
| | 1254 | | #endif |
| | 1255 | | { |
| | 1256 | | private static readonly pb::MessageParser<User> _parser = new pb::MessageParser<User>(() => new User()); |
| | 1257 | | private pb::UnknownFieldSet _unknownFields; |
| | 1258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1260 | | public static pb::MessageParser<User> Parser { get { return _parser; } } |
| | 1261 | |
|
| | 1262 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1263 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1264 | | public static pbr::MessageDescriptor Descriptor { |
| | 1265 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[3]; } |
| | 1266 | | } |
| | 1267 | |
|
| | 1268 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1269 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1270 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1271 | | get { return Descriptor; } |
| | 1272 | | } |
| | 1273 | |
|
| | 1274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1276 | | public User() { |
| | 1277 | | OnConstruction(); |
| | 1278 | | } |
| | 1279 | |
|
| | 1280 | | partial void OnConstruction(); |
| | 1281 | |
|
| | 1282 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1283 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1284 | | public User(User other) : this() { |
| | 1285 | | address_ = other.address_; |
| | 1286 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1287 | | } |
| | 1288 | |
|
| | 1289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1291 | | public User Clone() { |
| | 1292 | | return new User(this); |
| | 1293 | | } |
| | 1294 | |
|
| | 1295 | | /// <summary>Field number for the "address" field.</summary> |
| | 1296 | | public const int AddressFieldNumber = 1; |
| | 1297 | | private string address_ = ""; |
| | 1298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1300 | | public string Address { |
| | 1301 | | get { return address_; } |
| | 1302 | | set { |
| | 1303 | | address_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1304 | | } |
| | 1305 | | } |
| | 1306 | |
|
| | 1307 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1308 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1309 | | public override bool Equals(object other) { |
| | 1310 | | return Equals(other as User); |
| | 1311 | | } |
| | 1312 | |
|
| | 1313 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1314 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1315 | | public bool Equals(User other) { |
| | 1316 | | if (ReferenceEquals(other, null)) { |
| | 1317 | | return false; |
| | 1318 | | } |
| | 1319 | | if (ReferenceEquals(other, this)) { |
| | 1320 | | return true; |
| | 1321 | | } |
| | 1322 | | if (Address != other.Address) return false; |
| | 1323 | | return Equals(_unknownFields, other._unknownFields); |
| | 1324 | | } |
| | 1325 | |
|
| | 1326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1328 | | public override int GetHashCode() { |
| | 1329 | | int hash = 1; |
| | 1330 | | if (Address.Length != 0) hash ^= Address.GetHashCode(); |
| | 1331 | | if (_unknownFields != null) { |
| | 1332 | | hash ^= _unknownFields.GetHashCode(); |
| | 1333 | | } |
| | 1334 | | return hash; |
| | 1335 | | } |
| | 1336 | |
|
| | 1337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1339 | | public override string ToString() { |
| | 1340 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1341 | | } |
| | 1342 | |
|
| | 1343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1345 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1346 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1347 | | output.WriteRawMessage(this); |
| | 1348 | | #else |
| | 1349 | | if (Address.Length != 0) { |
| | 1350 | | output.WriteRawTag(10); |
| | 1351 | | output.WriteString(Address); |
| | 1352 | | } |
| | 1353 | | if (_unknownFields != null) { |
| | 1354 | | _unknownFields.WriteTo(output); |
| | 1355 | | } |
| | 1356 | | #endif |
| | 1357 | | } |
| | 1358 | |
|
| | 1359 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1360 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1361 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1362 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1363 | | if (Address.Length != 0) { |
| | 1364 | | output.WriteRawTag(10); |
| | 1365 | | output.WriteString(Address); |
| | 1366 | | } |
| | 1367 | | if (_unknownFields != null) { |
| | 1368 | | _unknownFields.WriteTo(ref output); |
| | 1369 | | } |
| | 1370 | | } |
| | 1371 | | #endif |
| | 1372 | |
|
| | 1373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1375 | | public int CalculateSize() { |
| | 1376 | | int size = 0; |
| | 1377 | | if (Address.Length != 0) { |
| | 1378 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); |
| | 1379 | | } |
| | 1380 | | if (_unknownFields != null) { |
| | 1381 | | size += _unknownFields.CalculateSize(); |
| | 1382 | | } |
| | 1383 | | return size; |
| | 1384 | | } |
| | 1385 | |
|
| | 1386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1388 | | public void MergeFrom(User other) { |
| | 1389 | | if (other == null) { |
| | 1390 | | return; |
| | 1391 | | } |
| | 1392 | | if (other.Address.Length != 0) { |
| | 1393 | | Address = other.Address; |
| | 1394 | | } |
| | 1395 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1396 | | } |
| | 1397 | |
|
| | 1398 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1399 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1400 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1401 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1402 | | input.ReadRawMessage(this); |
| | 1403 | | #else |
| | 1404 | | uint tag; |
| | 1405 | | while ((tag = input.ReadTag()) != 0) { |
| | 1406 | | switch(tag) { |
| | 1407 | | default: |
| | 1408 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1409 | | break; |
| | 1410 | | case 10: { |
| | 1411 | | Address = input.ReadString(); |
| | 1412 | | break; |
| | 1413 | | } |
| | 1414 | | } |
| | 1415 | | } |
| | 1416 | | #endif |
| | 1417 | | } |
| | 1418 | |
|
| | 1419 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1420 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1421 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1422 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1423 | | uint tag; |
| | 1424 | | while ((tag = input.ReadTag()) != 0) { |
| | 1425 | | switch(tag) { |
| | 1426 | | default: |
| | 1427 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1428 | | break; |
| | 1429 | | case 10: { |
| | 1430 | | Address = input.ReadString(); |
| | 1431 | | break; |
| | 1432 | | } |
| | 1433 | | } |
| | 1434 | | } |
| | 1435 | | } |
| | 1436 | | #endif |
| | 1437 | |
|
| | 1438 | | } |
| | 1439 | |
|
| | 1440 | | public sealed partial class Users : pb::IMessage<Users> |
| | 1441 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1442 | | , pb::IBufferMessage |
| | 1443 | | #endif |
| | 1444 | | { |
| | 1445 | | private static readonly pb::MessageParser<Users> _parser = new pb::MessageParser<Users>(() => new Users()); |
| | 1446 | | private pb::UnknownFieldSet _unknownFields; |
| | 1447 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1448 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1449 | | public static pb::MessageParser<Users> Parser { get { return _parser; } } |
| | 1450 | |
|
| | 1451 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1452 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1453 | | public static pbr::MessageDescriptor Descriptor { |
| | 1454 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[4]; } |
| | 1455 | | } |
| | 1456 | |
|
| | 1457 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1458 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1459 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1460 | | get { return Descriptor; } |
| | 1461 | | } |
| | 1462 | |
|
| | 1463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1465 | | public Users() { |
| | 1466 | | OnConstruction(); |
| | 1467 | | } |
| | 1468 | |
|
| | 1469 | | partial void OnConstruction(); |
| | 1470 | |
|
| | 1471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1473 | | public Users(Users other) : this() { |
| | 1474 | | users_ = other.users_.Clone(); |
| | 1475 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1476 | | } |
| | 1477 | |
|
| | 1478 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1479 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1480 | | public Users Clone() { |
| | 1481 | | return new Users(this); |
| | 1482 | | } |
| | 1483 | |
|
| | 1484 | | /// <summary>Field number for the "users" field.</summary> |
| | 1485 | | public const int Users_FieldNumber = 1; |
| | 1486 | | private static readonly pb::FieldCodec<global::Decentraland.Social.Friendships.User> _repeated_users_codec |
| | 1487 | | = pb::FieldCodec.ForMessage(10, global::Decentraland.Social.Friendships.User.Parser); |
| | 1488 | | private readonly pbc::RepeatedField<global::Decentraland.Social.Friendships.User> users_ = new pbc::RepeatedField<gl |
| | 1489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1491 | | public pbc::RepeatedField<global::Decentraland.Social.Friendships.User> Users_ { |
| | 1492 | | get { return users_; } |
| | 1493 | | } |
| | 1494 | |
|
| | 1495 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1496 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1497 | | public override bool Equals(object other) { |
| | 1498 | | return Equals(other as Users); |
| | 1499 | | } |
| | 1500 | |
|
| | 1501 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1502 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1503 | | public bool Equals(Users other) { |
| | 1504 | | if (ReferenceEquals(other, null)) { |
| | 1505 | | return false; |
| | 1506 | | } |
| | 1507 | | if (ReferenceEquals(other, this)) { |
| | 1508 | | return true; |
| | 1509 | | } |
| | 1510 | | if(!users_.Equals(other.users_)) return false; |
| | 1511 | | return Equals(_unknownFields, other._unknownFields); |
| | 1512 | | } |
| | 1513 | |
|
| | 1514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1516 | | public override int GetHashCode() { |
| | 1517 | | int hash = 1; |
| | 1518 | | hash ^= users_.GetHashCode(); |
| | 1519 | | if (_unknownFields != null) { |
| | 1520 | | hash ^= _unknownFields.GetHashCode(); |
| | 1521 | | } |
| | 1522 | | return hash; |
| | 1523 | | } |
| | 1524 | |
|
| | 1525 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1526 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1527 | | public override string ToString() { |
| | 1528 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1529 | | } |
| | 1530 | |
|
| | 1531 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1532 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1533 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1534 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1535 | | output.WriteRawMessage(this); |
| | 1536 | | #else |
| | 1537 | | users_.WriteTo(output, _repeated_users_codec); |
| | 1538 | | if (_unknownFields != null) { |
| | 1539 | | _unknownFields.WriteTo(output); |
| | 1540 | | } |
| | 1541 | | #endif |
| | 1542 | | } |
| | 1543 | |
|
| | 1544 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1545 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1546 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1547 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1548 | | users_.WriteTo(ref output, _repeated_users_codec); |
| | 1549 | | if (_unknownFields != null) { |
| | 1550 | | _unknownFields.WriteTo(ref output); |
| | 1551 | | } |
| | 1552 | | } |
| | 1553 | | #endif |
| | 1554 | |
|
| | 1555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1557 | | public int CalculateSize() { |
| | 1558 | | int size = 0; |
| | 1559 | | size += users_.CalculateSize(_repeated_users_codec); |
| | 1560 | | if (_unknownFields != null) { |
| | 1561 | | size += _unknownFields.CalculateSize(); |
| | 1562 | | } |
| | 1563 | | return size; |
| | 1564 | | } |
| | 1565 | |
|
| | 1566 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1567 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1568 | | public void MergeFrom(Users other) { |
| | 1569 | | if (other == null) { |
| | 1570 | | return; |
| | 1571 | | } |
| | 1572 | | users_.Add(other.users_); |
| | 1573 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1574 | | } |
| | 1575 | |
|
| | 1576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1578 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1579 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1580 | | input.ReadRawMessage(this); |
| | 1581 | | #else |
| | 1582 | | uint tag; |
| | 1583 | | while ((tag = input.ReadTag()) != 0) { |
| | 1584 | | switch(tag) { |
| | 1585 | | default: |
| | 1586 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1587 | | break; |
| | 1588 | | case 10: { |
| | 1589 | | users_.AddEntriesFrom(input, _repeated_users_codec); |
| | 1590 | | break; |
| | 1591 | | } |
| | 1592 | | } |
| | 1593 | | } |
| | 1594 | | #endif |
| | 1595 | | } |
| | 1596 | |
|
| | 1597 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1598 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1599 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1600 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1601 | | uint tag; |
| | 1602 | | while ((tag = input.ReadTag()) != 0) { |
| | 1603 | | switch(tag) { |
| | 1604 | | default: |
| | 1605 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1606 | | break; |
| | 1607 | | case 10: { |
| | 1608 | | users_.AddEntriesFrom(ref input, _repeated_users_codec); |
| | 1609 | | break; |
| | 1610 | | } |
| | 1611 | | } |
| | 1612 | | } |
| | 1613 | | } |
| | 1614 | | #endif |
| | 1615 | |
|
| | 1616 | | } |
| | 1617 | |
|
| | 1618 | | public sealed partial class RequestResponse : pb::IMessage<RequestResponse> |
| | 1619 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1620 | | , pb::IBufferMessage |
| | 1621 | | #endif |
| | 1622 | | { |
| | 1623 | | private static readonly pb::MessageParser<RequestResponse> _parser = new pb::MessageParser<RequestResponse>(() => ne |
| | 1624 | | private pb::UnknownFieldSet _unknownFields; |
| | 1625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1627 | | public static pb::MessageParser<RequestResponse> Parser { get { return _parser; } } |
| | 1628 | |
|
| | 1629 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1630 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1631 | | public static pbr::MessageDescriptor Descriptor { |
| | 1632 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[5]; } |
| | 1633 | | } |
| | 1634 | |
|
| | 1635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1637 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1638 | | get { return Descriptor; } |
| | 1639 | | } |
| | 1640 | |
|
| | 1641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1643 | | public RequestResponse() { |
| | 1644 | | OnConstruction(); |
| | 1645 | | } |
| | 1646 | |
|
| | 1647 | | partial void OnConstruction(); |
| | 1648 | |
|
| | 1649 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1650 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1651 | | public RequestResponse(RequestResponse other) : this() { |
| | 1652 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 1653 | | createdAt_ = other.createdAt_; |
| | 1654 | | message_ = other.message_; |
| | 1655 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1656 | | } |
| | 1657 | |
|
| | 1658 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1659 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1660 | | public RequestResponse Clone() { |
| | 1661 | | return new RequestResponse(this); |
| | 1662 | | } |
| | 1663 | |
|
| | 1664 | | /// <summary>Field number for the "user" field.</summary> |
| | 1665 | | public const int UserFieldNumber = 1; |
| | 1666 | | private global::Decentraland.Social.Friendships.User user_; |
| | 1667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1669 | | public global::Decentraland.Social.Friendships.User User { |
| | 1670 | | get { return user_; } |
| | 1671 | | set { |
| | 1672 | | user_ = value; |
| | 1673 | | } |
| | 1674 | | } |
| | 1675 | |
|
| | 1676 | | /// <summary>Field number for the "created_at" field.</summary> |
| | 1677 | | public const int CreatedAtFieldNumber = 2; |
| | 1678 | | private long createdAt_; |
| | 1679 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1680 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1681 | | public long CreatedAt { |
| | 1682 | | get { return createdAt_; } |
| | 1683 | | set { |
| | 1684 | | createdAt_ = value; |
| | 1685 | | } |
| | 1686 | | } |
| | 1687 | |
|
| | 1688 | | /// <summary>Field number for the "message" field.</summary> |
| | 1689 | | public const int MessageFieldNumber = 3; |
| | 1690 | | private string message_; |
| | 1691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1693 | | public string Message { |
| | 1694 | | get { return message_ ?? ""; } |
| | 1695 | | set { |
| | 1696 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1697 | | } |
| | 1698 | | } |
| | 1699 | | /// <summary>Gets whether the "message" field is set</summary> |
| | 1700 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1701 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1702 | | public bool HasMessage { |
| | 1703 | | get { return message_ != null; } |
| | 1704 | | } |
| | 1705 | | /// <summary>Clears the value of the "message" field</summary> |
| | 1706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1708 | | public void ClearMessage() { |
| | 1709 | | message_ = null; |
| | 1710 | | } |
| | 1711 | |
|
| | 1712 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1713 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1714 | | public override bool Equals(object other) { |
| | 1715 | | return Equals(other as RequestResponse); |
| | 1716 | | } |
| | 1717 | |
|
| | 1718 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1719 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1720 | | public bool Equals(RequestResponse other) { |
| | 1721 | | if (ReferenceEquals(other, null)) { |
| | 1722 | | return false; |
| | 1723 | | } |
| | 1724 | | if (ReferenceEquals(other, this)) { |
| | 1725 | | return true; |
| | 1726 | | } |
| | 1727 | | if (!object.Equals(User, other.User)) return false; |
| | 1728 | | if (CreatedAt != other.CreatedAt) return false; |
| | 1729 | | if (Message != other.Message) return false; |
| | 1730 | | return Equals(_unknownFields, other._unknownFields); |
| | 1731 | | } |
| | 1732 | |
|
| | 1733 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1734 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1735 | | public override int GetHashCode() { |
| | 1736 | | int hash = 1; |
| | 1737 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 1738 | | if (CreatedAt != 0L) hash ^= CreatedAt.GetHashCode(); |
| | 1739 | | if (HasMessage) hash ^= Message.GetHashCode(); |
| | 1740 | | if (_unknownFields != null) { |
| | 1741 | | hash ^= _unknownFields.GetHashCode(); |
| | 1742 | | } |
| | 1743 | | return hash; |
| | 1744 | | } |
| | 1745 | |
|
| | 1746 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1747 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1748 | | public override string ToString() { |
| | 1749 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1750 | | } |
| | 1751 | |
|
| | 1752 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1753 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1754 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1755 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1756 | | output.WriteRawMessage(this); |
| | 1757 | | #else |
| | 1758 | | if (user_ != null) { |
| | 1759 | | output.WriteRawTag(10); |
| | 1760 | | output.WriteMessage(User); |
| | 1761 | | } |
| | 1762 | | if (CreatedAt != 0L) { |
| | 1763 | | output.WriteRawTag(16); |
| | 1764 | | output.WriteInt64(CreatedAt); |
| | 1765 | | } |
| | 1766 | | if (HasMessage) { |
| | 1767 | | output.WriteRawTag(26); |
| | 1768 | | output.WriteString(Message); |
| | 1769 | | } |
| | 1770 | | if (_unknownFields != null) { |
| | 1771 | | _unknownFields.WriteTo(output); |
| | 1772 | | } |
| | 1773 | | #endif |
| | 1774 | | } |
| | 1775 | |
|
| | 1776 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1777 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1778 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1779 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1780 | | if (user_ != null) { |
| | 1781 | | output.WriteRawTag(10); |
| | 1782 | | output.WriteMessage(User); |
| | 1783 | | } |
| | 1784 | | if (CreatedAt != 0L) { |
| | 1785 | | output.WriteRawTag(16); |
| | 1786 | | output.WriteInt64(CreatedAt); |
| | 1787 | | } |
| | 1788 | | if (HasMessage) { |
| | 1789 | | output.WriteRawTag(26); |
| | 1790 | | output.WriteString(Message); |
| | 1791 | | } |
| | 1792 | | if (_unknownFields != null) { |
| | 1793 | | _unknownFields.WriteTo(ref output); |
| | 1794 | | } |
| | 1795 | | } |
| | 1796 | | #endif |
| | 1797 | |
|
| | 1798 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1799 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1800 | | public int CalculateSize() { |
| | 1801 | | int size = 0; |
| | 1802 | | if (user_ != null) { |
| | 1803 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 1804 | | } |
| | 1805 | | if (CreatedAt != 0L) { |
| | 1806 | | size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreatedAt); |
| | 1807 | | } |
| | 1808 | | if (HasMessage) { |
| | 1809 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 1810 | | } |
| | 1811 | | if (_unknownFields != null) { |
| | 1812 | | size += _unknownFields.CalculateSize(); |
| | 1813 | | } |
| | 1814 | | return size; |
| | 1815 | | } |
| | 1816 | |
|
| | 1817 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1818 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1819 | | public void MergeFrom(RequestResponse other) { |
| | 1820 | | if (other == null) { |
| | 1821 | | return; |
| | 1822 | | } |
| | 1823 | | if (other.user_ != null) { |
| | 1824 | | if (user_ == null) { |
| | 1825 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 1826 | | } |
| | 1827 | | User.MergeFrom(other.User); |
| | 1828 | | } |
| | 1829 | | if (other.CreatedAt != 0L) { |
| | 1830 | | CreatedAt = other.CreatedAt; |
| | 1831 | | } |
| | 1832 | | if (other.HasMessage) { |
| | 1833 | | Message = other.Message; |
| | 1834 | | } |
| | 1835 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1836 | | } |
| | 1837 | |
|
| | 1838 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1839 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1840 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1841 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1842 | | input.ReadRawMessage(this); |
| | 1843 | | #else |
| | 1844 | | uint tag; |
| | 1845 | | while ((tag = input.ReadTag()) != 0) { |
| | 1846 | | switch(tag) { |
| | 1847 | | default: |
| | 1848 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1849 | | break; |
| | 1850 | | case 10: { |
| | 1851 | | if (user_ == null) { |
| | 1852 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 1853 | | } |
| | 1854 | | input.ReadMessage(User); |
| | 1855 | | break; |
| | 1856 | | } |
| | 1857 | | case 16: { |
| | 1858 | | CreatedAt = input.ReadInt64(); |
| | 1859 | | break; |
| | 1860 | | } |
| | 1861 | | case 26: { |
| | 1862 | | Message = input.ReadString(); |
| | 1863 | | break; |
| | 1864 | | } |
| | 1865 | | } |
| | 1866 | | } |
| | 1867 | | #endif |
| | 1868 | | } |
| | 1869 | |
|
| | 1870 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1873 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1874 | | uint tag; |
| | 1875 | | while ((tag = input.ReadTag()) != 0) { |
| | 1876 | | switch(tag) { |
| | 1877 | | default: |
| | 1878 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1879 | | break; |
| | 1880 | | case 10: { |
| | 1881 | | if (user_ == null) { |
| | 1882 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 1883 | | } |
| | 1884 | | input.ReadMessage(User); |
| | 1885 | | break; |
| | 1886 | | } |
| | 1887 | | case 16: { |
| | 1888 | | CreatedAt = input.ReadInt64(); |
| | 1889 | | break; |
| | 1890 | | } |
| | 1891 | | case 26: { |
| | 1892 | | Message = input.ReadString(); |
| | 1893 | | break; |
| | 1894 | | } |
| | 1895 | | } |
| | 1896 | | } |
| | 1897 | | } |
| | 1898 | | #endif |
| | 1899 | |
|
| | 1900 | | } |
| | 1901 | |
|
| | 1902 | | public sealed partial class RequestPayload : pb::IMessage<RequestPayload> |
| | 1903 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1904 | | , pb::IBufferMessage |
| | 1905 | | #endif |
| | 1906 | | { |
| | 1907 | | private static readonly pb::MessageParser<RequestPayload> _parser = new pb::MessageParser<RequestPayload>(() => new |
| | 1908 | | private pb::UnknownFieldSet _unknownFields; |
| | 1909 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1910 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1911 | | public static pb::MessageParser<RequestPayload> Parser { get { return _parser; } } |
| | 1912 | |
|
| | 1913 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1914 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1915 | | public static pbr::MessageDescriptor Descriptor { |
| | 1916 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[6]; } |
| | 1917 | | } |
| | 1918 | |
|
| | 1919 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1920 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1921 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1922 | | get { return Descriptor; } |
| | 1923 | | } |
| | 1924 | |
|
| | 1925 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1926 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1927 | | public RequestPayload() { |
| | 1928 | | OnConstruction(); |
| | 1929 | | } |
| | 1930 | |
|
| | 1931 | | partial void OnConstruction(); |
| | 1932 | |
|
| | 1933 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1934 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1935 | | public RequestPayload(RequestPayload other) : this() { |
| | 1936 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 1937 | | message_ = other.message_; |
| | 1938 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1939 | | } |
| | 1940 | |
|
| | 1941 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1942 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1943 | | public RequestPayload Clone() { |
| | 1944 | | return new RequestPayload(this); |
| | 1945 | | } |
| | 1946 | |
|
| | 1947 | | /// <summary>Field number for the "user" field.</summary> |
| | 1948 | | public const int UserFieldNumber = 1; |
| | 1949 | | private global::Decentraland.Social.Friendships.User user_; |
| | 1950 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1951 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1952 | | public global::Decentraland.Social.Friendships.User User { |
| | 1953 | | get { return user_; } |
| | 1954 | | set { |
| | 1955 | | user_ = value; |
| | 1956 | | } |
| | 1957 | | } |
| | 1958 | |
|
| | 1959 | | /// <summary>Field number for the "message" field.</summary> |
| | 1960 | | public const int MessageFieldNumber = 3; |
| | 1961 | | private string message_; |
| | 1962 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1963 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1964 | | public string Message { |
| | 1965 | | get { return message_ ?? ""; } |
| | 1966 | | set { |
| | 1967 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1968 | | } |
| | 1969 | | } |
| | 1970 | | /// <summary>Gets whether the "message" field is set</summary> |
| | 1971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1973 | | public bool HasMessage { |
| | 1974 | | get { return message_ != null; } |
| | 1975 | | } |
| | 1976 | | /// <summary>Clears the value of the "message" field</summary> |
| | 1977 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1978 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1979 | | public void ClearMessage() { |
| | 1980 | | message_ = null; |
| | 1981 | | } |
| | 1982 | |
|
| | 1983 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1984 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1985 | | public override bool Equals(object other) { |
| | 1986 | | return Equals(other as RequestPayload); |
| | 1987 | | } |
| | 1988 | |
|
| | 1989 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1990 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1991 | | public bool Equals(RequestPayload other) { |
| | 1992 | | if (ReferenceEquals(other, null)) { |
| | 1993 | | return false; |
| | 1994 | | } |
| | 1995 | | if (ReferenceEquals(other, this)) { |
| | 1996 | | return true; |
| | 1997 | | } |
| | 1998 | | if (!object.Equals(User, other.User)) return false; |
| | 1999 | | if (Message != other.Message) return false; |
| | 2000 | | return Equals(_unknownFields, other._unknownFields); |
| | 2001 | | } |
| | 2002 | |
|
| | 2003 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2004 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2005 | | public override int GetHashCode() { |
| | 2006 | | int hash = 1; |
| | 2007 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 2008 | | if (HasMessage) hash ^= Message.GetHashCode(); |
| | 2009 | | if (_unknownFields != null) { |
| | 2010 | | hash ^= _unknownFields.GetHashCode(); |
| | 2011 | | } |
| | 2012 | | return hash; |
| | 2013 | | } |
| | 2014 | |
|
| | 2015 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2016 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2017 | | public override string ToString() { |
| | 2018 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2019 | | } |
| | 2020 | |
|
| | 2021 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2022 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2023 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2024 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2025 | | output.WriteRawMessage(this); |
| | 2026 | | #else |
| | 2027 | | if (user_ != null) { |
| | 2028 | | output.WriteRawTag(10); |
| | 2029 | | output.WriteMessage(User); |
| | 2030 | | } |
| | 2031 | | if (HasMessage) { |
| | 2032 | | output.WriteRawTag(26); |
| | 2033 | | output.WriteString(Message); |
| | 2034 | | } |
| | 2035 | | if (_unknownFields != null) { |
| | 2036 | | _unknownFields.WriteTo(output); |
| | 2037 | | } |
| | 2038 | | #endif |
| | 2039 | | } |
| | 2040 | |
|
| | 2041 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2042 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2043 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2044 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2045 | | if (user_ != null) { |
| | 2046 | | output.WriteRawTag(10); |
| | 2047 | | output.WriteMessage(User); |
| | 2048 | | } |
| | 2049 | | if (HasMessage) { |
| | 2050 | | output.WriteRawTag(26); |
| | 2051 | | output.WriteString(Message); |
| | 2052 | | } |
| | 2053 | | if (_unknownFields != null) { |
| | 2054 | | _unknownFields.WriteTo(ref output); |
| | 2055 | | } |
| | 2056 | | } |
| | 2057 | | #endif |
| | 2058 | |
|
| | 2059 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2060 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2061 | | public int CalculateSize() { |
| | 2062 | | int size = 0; |
| | 2063 | | if (user_ != null) { |
| | 2064 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 2065 | | } |
| | 2066 | | if (HasMessage) { |
| | 2067 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 2068 | | } |
| | 2069 | | if (_unknownFields != null) { |
| | 2070 | | size += _unknownFields.CalculateSize(); |
| | 2071 | | } |
| | 2072 | | return size; |
| | 2073 | | } |
| | 2074 | |
|
| | 2075 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2076 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2077 | | public void MergeFrom(RequestPayload other) { |
| | 2078 | | if (other == null) { |
| | 2079 | | return; |
| | 2080 | | } |
| | 2081 | | if (other.user_ != null) { |
| | 2082 | | if (user_ == null) { |
| | 2083 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2084 | | } |
| | 2085 | | User.MergeFrom(other.User); |
| | 2086 | | } |
| | 2087 | | if (other.HasMessage) { |
| | 2088 | | Message = other.Message; |
| | 2089 | | } |
| | 2090 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2091 | | } |
| | 2092 | |
|
| | 2093 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2094 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2095 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2096 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2097 | | input.ReadRawMessage(this); |
| | 2098 | | #else |
| | 2099 | | uint tag; |
| | 2100 | | while ((tag = input.ReadTag()) != 0) { |
| | 2101 | | switch(tag) { |
| | 2102 | | default: |
| | 2103 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2104 | | break; |
| | 2105 | | case 10: { |
| | 2106 | | if (user_ == null) { |
| | 2107 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2108 | | } |
| | 2109 | | input.ReadMessage(User); |
| | 2110 | | break; |
| | 2111 | | } |
| | 2112 | | case 26: { |
| | 2113 | | Message = input.ReadString(); |
| | 2114 | | break; |
| | 2115 | | } |
| | 2116 | | } |
| | 2117 | | } |
| | 2118 | | #endif |
| | 2119 | | } |
| | 2120 | |
|
| | 2121 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2124 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2125 | | uint tag; |
| | 2126 | | while ((tag = input.ReadTag()) != 0) { |
| | 2127 | | switch(tag) { |
| | 2128 | | default: |
| | 2129 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2130 | | break; |
| | 2131 | | case 10: { |
| | 2132 | | if (user_ == null) { |
| | 2133 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2134 | | } |
| | 2135 | | input.ReadMessage(User); |
| | 2136 | | break; |
| | 2137 | | } |
| | 2138 | | case 26: { |
| | 2139 | | Message = input.ReadString(); |
| | 2140 | | break; |
| | 2141 | | } |
| | 2142 | | } |
| | 2143 | | } |
| | 2144 | | } |
| | 2145 | | #endif |
| | 2146 | |
|
| | 2147 | | } |
| | 2148 | |
|
| | 2149 | | public sealed partial class Requests : pb::IMessage<Requests> |
| | 2150 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2151 | | , pb::IBufferMessage |
| | 2152 | | #endif |
| | 2153 | | { |
| | 2154 | | private static readonly pb::MessageParser<Requests> _parser = new pb::MessageParser<Requests>(() => new Requests()); |
| | 2155 | | private pb::UnknownFieldSet _unknownFields; |
| | 2156 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2157 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2158 | | public static pb::MessageParser<Requests> Parser { get { return _parser; } } |
| | 2159 | |
|
| | 2160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2162 | | public static pbr::MessageDescriptor Descriptor { |
| | 2163 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[7]; } |
| | 2164 | | } |
| | 2165 | |
|
| | 2166 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2167 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2168 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2169 | | get { return Descriptor; } |
| | 2170 | | } |
| | 2171 | |
|
| | 2172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2174 | | public Requests() { |
| | 2175 | | OnConstruction(); |
| | 2176 | | } |
| | 2177 | |
|
| | 2178 | | partial void OnConstruction(); |
| | 2179 | |
|
| | 2180 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2181 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2182 | | public Requests(Requests other) : this() { |
| | 2183 | | total_ = other.total_; |
| | 2184 | | items_ = other.items_.Clone(); |
| | 2185 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2186 | | } |
| | 2187 | |
|
| | 2188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2190 | | public Requests Clone() { |
| | 2191 | | return new Requests(this); |
| | 2192 | | } |
| | 2193 | |
|
| | 2194 | | /// <summary>Field number for the "total" field.</summary> |
| | 2195 | | public const int TotalFieldNumber = 1; |
| | 2196 | | private long total_; |
| | 2197 | | /// <summary> |
| | 2198 | | /// Total amount of friendship requests |
| | 2199 | | /// </summary> |
| | 2200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2202 | | public long Total { |
| | 2203 | | get { return total_; } |
| | 2204 | | set { |
| | 2205 | | total_ = value; |
| | 2206 | | } |
| | 2207 | | } |
| | 2208 | |
|
| | 2209 | | /// <summary>Field number for the "items" field.</summary> |
| | 2210 | | public const int ItemsFieldNumber = 2; |
| | 2211 | | private static readonly pb::FieldCodec<global::Decentraland.Social.Friendships.RequestResponse> _repeated_items_code |
| | 2212 | | = pb::FieldCodec.ForMessage(18, global::Decentraland.Social.Friendships.RequestResponse.Parser); |
| | 2213 | | private readonly pbc::RepeatedField<global::Decentraland.Social.Friendships.RequestResponse> items_ = new pbc::Repea |
| | 2214 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2215 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2216 | | public pbc::RepeatedField<global::Decentraland.Social.Friendships.RequestResponse> Items { |
| | 2217 | | get { return items_; } |
| | 2218 | | } |
| | 2219 | |
|
| | 2220 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2221 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2222 | | public override bool Equals(object other) { |
| | 2223 | | return Equals(other as Requests); |
| | 2224 | | } |
| | 2225 | |
|
| | 2226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2228 | | public bool Equals(Requests other) { |
| | 2229 | | if (ReferenceEquals(other, null)) { |
| | 2230 | | return false; |
| | 2231 | | } |
| | 2232 | | if (ReferenceEquals(other, this)) { |
| | 2233 | | return true; |
| | 2234 | | } |
| | 2235 | | if (Total != other.Total) return false; |
| | 2236 | | if(!items_.Equals(other.items_)) return false; |
| | 2237 | | return Equals(_unknownFields, other._unknownFields); |
| | 2238 | | } |
| | 2239 | |
|
| | 2240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2242 | | public override int GetHashCode() { |
| | 2243 | | int hash = 1; |
| | 2244 | | if (Total != 0L) hash ^= Total.GetHashCode(); |
| | 2245 | | hash ^= items_.GetHashCode(); |
| | 2246 | | if (_unknownFields != null) { |
| | 2247 | | hash ^= _unknownFields.GetHashCode(); |
| | 2248 | | } |
| | 2249 | | return hash; |
| | 2250 | | } |
| | 2251 | |
|
| | 2252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2254 | | public override string ToString() { |
| | 2255 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2256 | | } |
| | 2257 | |
|
| | 2258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2260 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2261 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2262 | | output.WriteRawMessage(this); |
| | 2263 | | #else |
| | 2264 | | if (Total != 0L) { |
| | 2265 | | output.WriteRawTag(8); |
| | 2266 | | output.WriteInt64(Total); |
| | 2267 | | } |
| | 2268 | | items_.WriteTo(output, _repeated_items_codec); |
| | 2269 | | if (_unknownFields != null) { |
| | 2270 | | _unknownFields.WriteTo(output); |
| | 2271 | | } |
| | 2272 | | #endif |
| | 2273 | | } |
| | 2274 | |
|
| | 2275 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2276 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2277 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2278 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2279 | | if (Total != 0L) { |
| | 2280 | | output.WriteRawTag(8); |
| | 2281 | | output.WriteInt64(Total); |
| | 2282 | | } |
| | 2283 | | items_.WriteTo(ref output, _repeated_items_codec); |
| | 2284 | | if (_unknownFields != null) { |
| | 2285 | | _unknownFields.WriteTo(ref output); |
| | 2286 | | } |
| | 2287 | | } |
| | 2288 | | #endif |
| | 2289 | |
|
| | 2290 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2291 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2292 | | public int CalculateSize() { |
| | 2293 | | int size = 0; |
| | 2294 | | if (Total != 0L) { |
| | 2295 | | size += 1 + pb::CodedOutputStream.ComputeInt64Size(Total); |
| | 2296 | | } |
| | 2297 | | size += items_.CalculateSize(_repeated_items_codec); |
| | 2298 | | if (_unknownFields != null) { |
| | 2299 | | size += _unknownFields.CalculateSize(); |
| | 2300 | | } |
| | 2301 | | return size; |
| | 2302 | | } |
| | 2303 | |
|
| | 2304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2306 | | public void MergeFrom(Requests other) { |
| | 2307 | | if (other == null) { |
| | 2308 | | return; |
| | 2309 | | } |
| | 2310 | | if (other.Total != 0L) { |
| | 2311 | | Total = other.Total; |
| | 2312 | | } |
| | 2313 | | items_.Add(other.items_); |
| | 2314 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2315 | | } |
| | 2316 | |
|
| | 2317 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2318 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2319 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2320 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2321 | | input.ReadRawMessage(this); |
| | 2322 | | #else |
| | 2323 | | uint tag; |
| | 2324 | | while ((tag = input.ReadTag()) != 0) { |
| | 2325 | | switch(tag) { |
| | 2326 | | default: |
| | 2327 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2328 | | break; |
| | 2329 | | case 8: { |
| | 2330 | | Total = input.ReadInt64(); |
| | 2331 | | break; |
| | 2332 | | } |
| | 2333 | | case 18: { |
| | 2334 | | items_.AddEntriesFrom(input, _repeated_items_codec); |
| | 2335 | | break; |
| | 2336 | | } |
| | 2337 | | } |
| | 2338 | | } |
| | 2339 | | #endif |
| | 2340 | | } |
| | 2341 | |
|
| | 2342 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2345 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2346 | | uint tag; |
| | 2347 | | while ((tag = input.ReadTag()) != 0) { |
| | 2348 | | switch(tag) { |
| | 2349 | | default: |
| | 2350 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2351 | | break; |
| | 2352 | | case 8: { |
| | 2353 | | Total = input.ReadInt64(); |
| | 2354 | | break; |
| | 2355 | | } |
| | 2356 | | case 18: { |
| | 2357 | | items_.AddEntriesFrom(ref input, _repeated_items_codec); |
| | 2358 | | break; |
| | 2359 | | } |
| | 2360 | | } |
| | 2361 | | } |
| | 2362 | | } |
| | 2363 | | #endif |
| | 2364 | |
|
| | 2365 | | } |
| | 2366 | |
|
| | 2367 | | public sealed partial class RequestEvents : pb::IMessage<RequestEvents> |
| | 2368 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2369 | | , pb::IBufferMessage |
| | 2370 | | #endif |
| | 2371 | | { |
| | 2372 | | private static readonly pb::MessageParser<RequestEvents> _parser = new pb::MessageParser<RequestEvents>(() => new Re |
| | 2373 | | private pb::UnknownFieldSet _unknownFields; |
| | 2374 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2375 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2376 | | public static pb::MessageParser<RequestEvents> Parser { get { return _parser; } } |
| | 2377 | |
|
| | 2378 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2379 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2380 | | public static pbr::MessageDescriptor Descriptor { |
| | 2381 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[8]; } |
| | 2382 | | } |
| | 2383 | |
|
| | 2384 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2385 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2386 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2387 | | get { return Descriptor; } |
| | 2388 | | } |
| | 2389 | |
|
| | 2390 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2391 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2392 | | public RequestEvents() { |
| | 2393 | | OnConstruction(); |
| | 2394 | | } |
| | 2395 | |
|
| | 2396 | | partial void OnConstruction(); |
| | 2397 | |
|
| | 2398 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2399 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2400 | | public RequestEvents(RequestEvents other) : this() { |
| | 2401 | | outgoing_ = other.outgoing_ != null ? other.outgoing_.Clone() : null; |
| | 2402 | | incoming_ = other.incoming_ != null ? other.incoming_.Clone() : null; |
| | 2403 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2404 | | } |
| | 2405 | |
|
| | 2406 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2407 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2408 | | public RequestEvents Clone() { |
| | 2409 | | return new RequestEvents(this); |
| | 2410 | | } |
| | 2411 | |
|
| | 2412 | | /// <summary>Field number for the "outgoing" field.</summary> |
| | 2413 | | public const int OutgoingFieldNumber = 1; |
| | 2414 | | private global::Decentraland.Social.Friendships.Requests outgoing_; |
| | 2415 | | /// <summary> |
| | 2416 | | /// Requests the authed user have sent to users |
| | 2417 | | /// </summary> |
| | 2418 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2419 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2420 | | public global::Decentraland.Social.Friendships.Requests Outgoing { |
| | 2421 | | get { return outgoing_; } |
| | 2422 | | set { |
| | 2423 | | outgoing_ = value; |
| | 2424 | | } |
| | 2425 | | } |
| | 2426 | |
|
| | 2427 | | /// <summary>Field number for the "incoming" field.</summary> |
| | 2428 | | public const int IncomingFieldNumber = 2; |
| | 2429 | | private global::Decentraland.Social.Friendships.Requests incoming_; |
| | 2430 | | /// <summary> |
| | 2431 | | /// Requests the authed user have received from users |
| | 2432 | | /// </summary> |
| | 2433 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2434 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2435 | | public global::Decentraland.Social.Friendships.Requests Incoming { |
| | 2436 | | get { return incoming_; } |
| | 2437 | | set { |
| | 2438 | | incoming_ = value; |
| | 2439 | | } |
| | 2440 | | } |
| | 2441 | |
|
| | 2442 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2443 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2444 | | public override bool Equals(object other) { |
| | 2445 | | return Equals(other as RequestEvents); |
| | 2446 | | } |
| | 2447 | |
|
| | 2448 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2449 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2450 | | public bool Equals(RequestEvents other) { |
| | 2451 | | if (ReferenceEquals(other, null)) { |
| | 2452 | | return false; |
| | 2453 | | } |
| | 2454 | | if (ReferenceEquals(other, this)) { |
| | 2455 | | return true; |
| | 2456 | | } |
| | 2457 | | if (!object.Equals(Outgoing, other.Outgoing)) return false; |
| | 2458 | | if (!object.Equals(Incoming, other.Incoming)) return false; |
| | 2459 | | return Equals(_unknownFields, other._unknownFields); |
| | 2460 | | } |
| | 2461 | |
|
| | 2462 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2463 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2464 | | public override int GetHashCode() { |
| | 2465 | | int hash = 1; |
| | 2466 | | if (outgoing_ != null) hash ^= Outgoing.GetHashCode(); |
| | 2467 | | if (incoming_ != null) hash ^= Incoming.GetHashCode(); |
| | 2468 | | if (_unknownFields != null) { |
| | 2469 | | hash ^= _unknownFields.GetHashCode(); |
| | 2470 | | } |
| | 2471 | | return hash; |
| | 2472 | | } |
| | 2473 | |
|
| | 2474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2476 | | public override string ToString() { |
| | 2477 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2478 | | } |
| | 2479 | |
|
| | 2480 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2481 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2482 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2483 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2484 | | output.WriteRawMessage(this); |
| | 2485 | | #else |
| | 2486 | | if (outgoing_ != null) { |
| | 2487 | | output.WriteRawTag(10); |
| | 2488 | | output.WriteMessage(Outgoing); |
| | 2489 | | } |
| | 2490 | | if (incoming_ != null) { |
| | 2491 | | output.WriteRawTag(18); |
| | 2492 | | output.WriteMessage(Incoming); |
| | 2493 | | } |
| | 2494 | | if (_unknownFields != null) { |
| | 2495 | | _unknownFields.WriteTo(output); |
| | 2496 | | } |
| | 2497 | | #endif |
| | 2498 | | } |
| | 2499 | |
|
| | 2500 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2501 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2502 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2503 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2504 | | if (outgoing_ != null) { |
| | 2505 | | output.WriteRawTag(10); |
| | 2506 | | output.WriteMessage(Outgoing); |
| | 2507 | | } |
| | 2508 | | if (incoming_ != null) { |
| | 2509 | | output.WriteRawTag(18); |
| | 2510 | | output.WriteMessage(Incoming); |
| | 2511 | | } |
| | 2512 | | if (_unknownFields != null) { |
| | 2513 | | _unknownFields.WriteTo(ref output); |
| | 2514 | | } |
| | 2515 | | } |
| | 2516 | | #endif |
| | 2517 | |
|
| | 2518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2520 | | public int CalculateSize() { |
| | 2521 | | int size = 0; |
| | 2522 | | if (outgoing_ != null) { |
| | 2523 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Outgoing); |
| | 2524 | | } |
| | 2525 | | if (incoming_ != null) { |
| | 2526 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Incoming); |
| | 2527 | | } |
| | 2528 | | if (_unknownFields != null) { |
| | 2529 | | size += _unknownFields.CalculateSize(); |
| | 2530 | | } |
| | 2531 | | return size; |
| | 2532 | | } |
| | 2533 | |
|
| | 2534 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2535 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2536 | | public void MergeFrom(RequestEvents other) { |
| | 2537 | | if (other == null) { |
| | 2538 | | return; |
| | 2539 | | } |
| | 2540 | | if (other.outgoing_ != null) { |
| | 2541 | | if (outgoing_ == null) { |
| | 2542 | | Outgoing = new global::Decentraland.Social.Friendships.Requests(); |
| | 2543 | | } |
| | 2544 | | Outgoing.MergeFrom(other.Outgoing); |
| | 2545 | | } |
| | 2546 | | if (other.incoming_ != null) { |
| | 2547 | | if (incoming_ == null) { |
| | 2548 | | Incoming = new global::Decentraland.Social.Friendships.Requests(); |
| | 2549 | | } |
| | 2550 | | Incoming.MergeFrom(other.Incoming); |
| | 2551 | | } |
| | 2552 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2553 | | } |
| | 2554 | |
|
| | 2555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2557 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2558 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2559 | | input.ReadRawMessage(this); |
| | 2560 | | #else |
| | 2561 | | uint tag; |
| | 2562 | | while ((tag = input.ReadTag()) != 0) { |
| | 2563 | | switch(tag) { |
| | 2564 | | default: |
| | 2565 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2566 | | break; |
| | 2567 | | case 10: { |
| | 2568 | | if (outgoing_ == null) { |
| | 2569 | | Outgoing = new global::Decentraland.Social.Friendships.Requests(); |
| | 2570 | | } |
| | 2571 | | input.ReadMessage(Outgoing); |
| | 2572 | | break; |
| | 2573 | | } |
| | 2574 | | case 18: { |
| | 2575 | | if (incoming_ == null) { |
| | 2576 | | Incoming = new global::Decentraland.Social.Friendships.Requests(); |
| | 2577 | | } |
| | 2578 | | input.ReadMessage(Incoming); |
| | 2579 | | break; |
| | 2580 | | } |
| | 2581 | | } |
| | 2582 | | } |
| | 2583 | | #endif |
| | 2584 | | } |
| | 2585 | |
|
| | 2586 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2587 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2588 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2589 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2590 | | uint tag; |
| | 2591 | | while ((tag = input.ReadTag()) != 0) { |
| | 2592 | | switch(tag) { |
| | 2593 | | default: |
| | 2594 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2595 | | break; |
| | 2596 | | case 10: { |
| | 2597 | | if (outgoing_ == null) { |
| | 2598 | | Outgoing = new global::Decentraland.Social.Friendships.Requests(); |
| | 2599 | | } |
| | 2600 | | input.ReadMessage(Outgoing); |
| | 2601 | | break; |
| | 2602 | | } |
| | 2603 | | case 18: { |
| | 2604 | | if (incoming_ == null) { |
| | 2605 | | Incoming = new global::Decentraland.Social.Friendships.Requests(); |
| | 2606 | | } |
| | 2607 | | input.ReadMessage(Incoming); |
| | 2608 | | break; |
| | 2609 | | } |
| | 2610 | | } |
| | 2611 | | } |
| | 2612 | | } |
| | 2613 | | #endif |
| | 2614 | |
|
| | 2615 | | } |
| | 2616 | |
|
| | 2617 | | public sealed partial class AcceptResponse : pb::IMessage<AcceptResponse> |
| | 2618 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2619 | | , pb::IBufferMessage |
| | 2620 | | #endif |
| | 2621 | | { |
| | 2622 | | private static readonly pb::MessageParser<AcceptResponse> _parser = new pb::MessageParser<AcceptResponse>(() => new |
| | 2623 | | private pb::UnknownFieldSet _unknownFields; |
| | 2624 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2625 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2626 | | public static pb::MessageParser<AcceptResponse> Parser { get { return _parser; } } |
| | 2627 | |
|
| | 2628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2630 | | public static pbr::MessageDescriptor Descriptor { |
| | 2631 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[9]; } |
| | 2632 | | } |
| | 2633 | |
|
| | 2634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2636 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2637 | | get { return Descriptor; } |
| | 2638 | | } |
| | 2639 | |
|
| | 2640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2642 | | public AcceptResponse() { |
| | 2643 | | OnConstruction(); |
| | 2644 | | } |
| | 2645 | |
|
| | 2646 | | partial void OnConstruction(); |
| | 2647 | |
|
| | 2648 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2649 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2650 | | public AcceptResponse(AcceptResponse other) : this() { |
| | 2651 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 2652 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2653 | | } |
| | 2654 | |
|
| | 2655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2657 | | public AcceptResponse Clone() { |
| | 2658 | | return new AcceptResponse(this); |
| | 2659 | | } |
| | 2660 | |
|
| | 2661 | | /// <summary>Field number for the "user" field.</summary> |
| | 2662 | | public const int UserFieldNumber = 1; |
| | 2663 | | private global::Decentraland.Social.Friendships.User user_; |
| | 2664 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2665 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2666 | | public global::Decentraland.Social.Friendships.User User { |
| | 2667 | | get { return user_; } |
| | 2668 | | set { |
| | 2669 | | user_ = value; |
| | 2670 | | } |
| | 2671 | | } |
| | 2672 | |
|
| | 2673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2675 | | public override bool Equals(object other) { |
| | 2676 | | return Equals(other as AcceptResponse); |
| | 2677 | | } |
| | 2678 | |
|
| | 2679 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2680 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2681 | | public bool Equals(AcceptResponse other) { |
| | 2682 | | if (ReferenceEquals(other, null)) { |
| | 2683 | | return false; |
| | 2684 | | } |
| | 2685 | | if (ReferenceEquals(other, this)) { |
| | 2686 | | return true; |
| | 2687 | | } |
| | 2688 | | if (!object.Equals(User, other.User)) return false; |
| | 2689 | | return Equals(_unknownFields, other._unknownFields); |
| | 2690 | | } |
| | 2691 | |
|
| | 2692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2694 | | public override int GetHashCode() { |
| | 2695 | | int hash = 1; |
| | 2696 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 2697 | | if (_unknownFields != null) { |
| | 2698 | | hash ^= _unknownFields.GetHashCode(); |
| | 2699 | | } |
| | 2700 | | return hash; |
| | 2701 | | } |
| | 2702 | |
|
| | 2703 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2704 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2705 | | public override string ToString() { |
| | 2706 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2707 | | } |
| | 2708 | |
|
| | 2709 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2710 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2711 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2712 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2713 | | output.WriteRawMessage(this); |
| | 2714 | | #else |
| | 2715 | | if (user_ != null) { |
| | 2716 | | output.WriteRawTag(10); |
| | 2717 | | output.WriteMessage(User); |
| | 2718 | | } |
| | 2719 | | if (_unknownFields != null) { |
| | 2720 | | _unknownFields.WriteTo(output); |
| | 2721 | | } |
| | 2722 | | #endif |
| | 2723 | | } |
| | 2724 | |
|
| | 2725 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2728 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2729 | | if (user_ != null) { |
| | 2730 | | output.WriteRawTag(10); |
| | 2731 | | output.WriteMessage(User); |
| | 2732 | | } |
| | 2733 | | if (_unknownFields != null) { |
| | 2734 | | _unknownFields.WriteTo(ref output); |
| | 2735 | | } |
| | 2736 | | } |
| | 2737 | | #endif |
| | 2738 | |
|
| | 2739 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2740 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2741 | | public int CalculateSize() { |
| | 2742 | | int size = 0; |
| | 2743 | | if (user_ != null) { |
| | 2744 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 2745 | | } |
| | 2746 | | if (_unknownFields != null) { |
| | 2747 | | size += _unknownFields.CalculateSize(); |
| | 2748 | | } |
| | 2749 | | return size; |
| | 2750 | | } |
| | 2751 | |
|
| | 2752 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2753 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2754 | | public void MergeFrom(AcceptResponse other) { |
| | 2755 | | if (other == null) { |
| | 2756 | | return; |
| | 2757 | | } |
| | 2758 | | if (other.user_ != null) { |
| | 2759 | | if (user_ == null) { |
| | 2760 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2761 | | } |
| | 2762 | | User.MergeFrom(other.User); |
| | 2763 | | } |
| | 2764 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2765 | | } |
| | 2766 | |
|
| | 2767 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2768 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2769 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2770 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2771 | | input.ReadRawMessage(this); |
| | 2772 | | #else |
| | 2773 | | uint tag; |
| | 2774 | | while ((tag = input.ReadTag()) != 0) { |
| | 2775 | | switch(tag) { |
| | 2776 | | default: |
| | 2777 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2778 | | break; |
| | 2779 | | case 10: { |
| | 2780 | | if (user_ == null) { |
| | 2781 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2782 | | } |
| | 2783 | | input.ReadMessage(User); |
| | 2784 | | break; |
| | 2785 | | } |
| | 2786 | | } |
| | 2787 | | } |
| | 2788 | | #endif |
| | 2789 | | } |
| | 2790 | |
|
| | 2791 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2794 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2795 | | uint tag; |
| | 2796 | | while ((tag = input.ReadTag()) != 0) { |
| | 2797 | | switch(tag) { |
| | 2798 | | default: |
| | 2799 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2800 | | break; |
| | 2801 | | case 10: { |
| | 2802 | | if (user_ == null) { |
| | 2803 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2804 | | } |
| | 2805 | | input.ReadMessage(User); |
| | 2806 | | break; |
| | 2807 | | } |
| | 2808 | | } |
| | 2809 | | } |
| | 2810 | | } |
| | 2811 | | #endif |
| | 2812 | |
|
| | 2813 | | } |
| | 2814 | |
|
| | 2815 | | public sealed partial class AcceptPayload : pb::IMessage<AcceptPayload> |
| | 2816 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2817 | | , pb::IBufferMessage |
| | 2818 | | #endif |
| | 2819 | | { |
| | 2820 | | private static readonly pb::MessageParser<AcceptPayload> _parser = new pb::MessageParser<AcceptPayload>(() => new Ac |
| | 2821 | | private pb::UnknownFieldSet _unknownFields; |
| | 2822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2824 | | public static pb::MessageParser<AcceptPayload> Parser { get { return _parser; } } |
| | 2825 | |
|
| | 2826 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2827 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2828 | | public static pbr::MessageDescriptor Descriptor { |
| | 2829 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[10]; } |
| | 2830 | | } |
| | 2831 | |
|
| | 2832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2834 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2835 | | get { return Descriptor; } |
| | 2836 | | } |
| | 2837 | |
|
| | 2838 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2839 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2840 | | public AcceptPayload() { |
| | 2841 | | OnConstruction(); |
| | 2842 | | } |
| | 2843 | |
|
| | 2844 | | partial void OnConstruction(); |
| | 2845 | |
|
| | 2846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2848 | | public AcceptPayload(AcceptPayload other) : this() { |
| | 2849 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 2850 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2851 | | } |
| | 2852 | |
|
| | 2853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2855 | | public AcceptPayload Clone() { |
| | 2856 | | return new AcceptPayload(this); |
| | 2857 | | } |
| | 2858 | |
|
| | 2859 | | /// <summary>Field number for the "user" field.</summary> |
| | 2860 | | public const int UserFieldNumber = 1; |
| | 2861 | | private global::Decentraland.Social.Friendships.User user_; |
| | 2862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2864 | | public global::Decentraland.Social.Friendships.User User { |
| | 2865 | | get { return user_; } |
| | 2866 | | set { |
| | 2867 | | user_ = value; |
| | 2868 | | } |
| | 2869 | | } |
| | 2870 | |
|
| | 2871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2873 | | public override bool Equals(object other) { |
| | 2874 | | return Equals(other as AcceptPayload); |
| | 2875 | | } |
| | 2876 | |
|
| | 2877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2879 | | public bool Equals(AcceptPayload other) { |
| | 2880 | | if (ReferenceEquals(other, null)) { |
| | 2881 | | return false; |
| | 2882 | | } |
| | 2883 | | if (ReferenceEquals(other, this)) { |
| | 2884 | | return true; |
| | 2885 | | } |
| | 2886 | | if (!object.Equals(User, other.User)) return false; |
| | 2887 | | return Equals(_unknownFields, other._unknownFields); |
| | 2888 | | } |
| | 2889 | |
|
| | 2890 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2891 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2892 | | public override int GetHashCode() { |
| | 2893 | | int hash = 1; |
| | 2894 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 2895 | | if (_unknownFields != null) { |
| | 2896 | | hash ^= _unknownFields.GetHashCode(); |
| | 2897 | | } |
| | 2898 | | return hash; |
| | 2899 | | } |
| | 2900 | |
|
| | 2901 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2902 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2903 | | public override string ToString() { |
| | 2904 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2905 | | } |
| | 2906 | |
|
| | 2907 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2908 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2909 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2910 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2911 | | output.WriteRawMessage(this); |
| | 2912 | | #else |
| | 2913 | | if (user_ != null) { |
| | 2914 | | output.WriteRawTag(10); |
| | 2915 | | output.WriteMessage(User); |
| | 2916 | | } |
| | 2917 | | if (_unknownFields != null) { |
| | 2918 | | _unknownFields.WriteTo(output); |
| | 2919 | | } |
| | 2920 | | #endif |
| | 2921 | | } |
| | 2922 | |
|
| | 2923 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2924 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2925 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2926 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2927 | | if (user_ != null) { |
| | 2928 | | output.WriteRawTag(10); |
| | 2929 | | output.WriteMessage(User); |
| | 2930 | | } |
| | 2931 | | if (_unknownFields != null) { |
| | 2932 | | _unknownFields.WriteTo(ref output); |
| | 2933 | | } |
| | 2934 | | } |
| | 2935 | | #endif |
| | 2936 | |
|
| | 2937 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2938 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2939 | | public int CalculateSize() { |
| | 2940 | | int size = 0; |
| | 2941 | | if (user_ != null) { |
| | 2942 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 2943 | | } |
| | 2944 | | if (_unknownFields != null) { |
| | 2945 | | size += _unknownFields.CalculateSize(); |
| | 2946 | | } |
| | 2947 | | return size; |
| | 2948 | | } |
| | 2949 | |
|
| | 2950 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2951 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2952 | | public void MergeFrom(AcceptPayload other) { |
| | 2953 | | if (other == null) { |
| | 2954 | | return; |
| | 2955 | | } |
| | 2956 | | if (other.user_ != null) { |
| | 2957 | | if (user_ == null) { |
| | 2958 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2959 | | } |
| | 2960 | | User.MergeFrom(other.User); |
| | 2961 | | } |
| | 2962 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2963 | | } |
| | 2964 | |
|
| | 2965 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2966 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2967 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2968 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2969 | | input.ReadRawMessage(this); |
| | 2970 | | #else |
| | 2971 | | uint tag; |
| | 2972 | | while ((tag = input.ReadTag()) != 0) { |
| | 2973 | | switch(tag) { |
| | 2974 | | default: |
| | 2975 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2976 | | break; |
| | 2977 | | case 10: { |
| | 2978 | | if (user_ == null) { |
| | 2979 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 2980 | | } |
| | 2981 | | input.ReadMessage(User); |
| | 2982 | | break; |
| | 2983 | | } |
| | 2984 | | } |
| | 2985 | | } |
| | 2986 | | #endif |
| | 2987 | | } |
| | 2988 | |
|
| | 2989 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2990 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2991 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2992 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2993 | | uint tag; |
| | 2994 | | while ((tag = input.ReadTag()) != 0) { |
| | 2995 | | switch(tag) { |
| | 2996 | | default: |
| | 2997 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2998 | | break; |
| | 2999 | | case 10: { |
| | 3000 | | if (user_ == null) { |
| | 3001 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3002 | | } |
| | 3003 | | input.ReadMessage(User); |
| | 3004 | | break; |
| | 3005 | | } |
| | 3006 | | } |
| | 3007 | | } |
| | 3008 | | } |
| | 3009 | | #endif |
| | 3010 | |
|
| | 3011 | | } |
| | 3012 | |
|
| | 3013 | | public sealed partial class RejectResponse : pb::IMessage<RejectResponse> |
| | 3014 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3015 | | , pb::IBufferMessage |
| | 3016 | | #endif |
| | 3017 | | { |
| | 3018 | | private static readonly pb::MessageParser<RejectResponse> _parser = new pb::MessageParser<RejectResponse>(() => new |
| | 3019 | | private pb::UnknownFieldSet _unknownFields; |
| | 3020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3022 | | public static pb::MessageParser<RejectResponse> Parser { get { return _parser; } } |
| | 3023 | |
|
| | 3024 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3025 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3026 | | public static pbr::MessageDescriptor Descriptor { |
| | 3027 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[11]; } |
| | 3028 | | } |
| | 3029 | |
|
| | 3030 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3031 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3032 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3033 | | get { return Descriptor; } |
| | 3034 | | } |
| | 3035 | |
|
| | 3036 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3037 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3038 | | public RejectResponse() { |
| | 3039 | | OnConstruction(); |
| | 3040 | | } |
| | 3041 | |
|
| | 3042 | | partial void OnConstruction(); |
| | 3043 | |
|
| | 3044 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3045 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3046 | | public RejectResponse(RejectResponse other) : this() { |
| | 3047 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 3048 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3049 | | } |
| | 3050 | |
|
| | 3051 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3052 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3053 | | public RejectResponse Clone() { |
| | 3054 | | return new RejectResponse(this); |
| | 3055 | | } |
| | 3056 | |
|
| | 3057 | | /// <summary>Field number for the "user" field.</summary> |
| | 3058 | | public const int UserFieldNumber = 1; |
| | 3059 | | private global::Decentraland.Social.Friendships.User user_; |
| | 3060 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3061 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3062 | | public global::Decentraland.Social.Friendships.User User { |
| | 3063 | | get { return user_; } |
| | 3064 | | set { |
| | 3065 | | user_ = value; |
| | 3066 | | } |
| | 3067 | | } |
| | 3068 | |
|
| | 3069 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3070 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3071 | | public override bool Equals(object other) { |
| | 3072 | | return Equals(other as RejectResponse); |
| | 3073 | | } |
| | 3074 | |
|
| | 3075 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3076 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3077 | | public bool Equals(RejectResponse other) { |
| | 3078 | | if (ReferenceEquals(other, null)) { |
| | 3079 | | return false; |
| | 3080 | | } |
| | 3081 | | if (ReferenceEquals(other, this)) { |
| | 3082 | | return true; |
| | 3083 | | } |
| | 3084 | | if (!object.Equals(User, other.User)) return false; |
| | 3085 | | return Equals(_unknownFields, other._unknownFields); |
| | 3086 | | } |
| | 3087 | |
|
| | 3088 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3089 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3090 | | public override int GetHashCode() { |
| | 3091 | | int hash = 1; |
| | 3092 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 3093 | | if (_unknownFields != null) { |
| | 3094 | | hash ^= _unknownFields.GetHashCode(); |
| | 3095 | | } |
| | 3096 | | return hash; |
| | 3097 | | } |
| | 3098 | |
|
| | 3099 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3101 | | public override string ToString() { |
| | 3102 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3103 | | } |
| | 3104 | |
|
| | 3105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3107 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3108 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3109 | | output.WriteRawMessage(this); |
| | 3110 | | #else |
| | 3111 | | if (user_ != null) { |
| | 3112 | | output.WriteRawTag(10); |
| | 3113 | | output.WriteMessage(User); |
| | 3114 | | } |
| | 3115 | | if (_unknownFields != null) { |
| | 3116 | | _unknownFields.WriteTo(output); |
| | 3117 | | } |
| | 3118 | | #endif |
| | 3119 | | } |
| | 3120 | |
|
| | 3121 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3124 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3125 | | if (user_ != null) { |
| | 3126 | | output.WriteRawTag(10); |
| | 3127 | | output.WriteMessage(User); |
| | 3128 | | } |
| | 3129 | | if (_unknownFields != null) { |
| | 3130 | | _unknownFields.WriteTo(ref output); |
| | 3131 | | } |
| | 3132 | | } |
| | 3133 | | #endif |
| | 3134 | |
|
| | 3135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3137 | | public int CalculateSize() { |
| | 3138 | | int size = 0; |
| | 3139 | | if (user_ != null) { |
| | 3140 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 3141 | | } |
| | 3142 | | if (_unknownFields != null) { |
| | 3143 | | size += _unknownFields.CalculateSize(); |
| | 3144 | | } |
| | 3145 | | return size; |
| | 3146 | | } |
| | 3147 | |
|
| | 3148 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3149 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3150 | | public void MergeFrom(RejectResponse other) { |
| | 3151 | | if (other == null) { |
| | 3152 | | return; |
| | 3153 | | } |
| | 3154 | | if (other.user_ != null) { |
| | 3155 | | if (user_ == null) { |
| | 3156 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3157 | | } |
| | 3158 | | User.MergeFrom(other.User); |
| | 3159 | | } |
| | 3160 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3161 | | } |
| | 3162 | |
|
| | 3163 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3164 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3165 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3166 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3167 | | input.ReadRawMessage(this); |
| | 3168 | | #else |
| | 3169 | | uint tag; |
| | 3170 | | while ((tag = input.ReadTag()) != 0) { |
| | 3171 | | switch(tag) { |
| | 3172 | | default: |
| | 3173 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3174 | | break; |
| | 3175 | | case 10: { |
| | 3176 | | if (user_ == null) { |
| | 3177 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3178 | | } |
| | 3179 | | input.ReadMessage(User); |
| | 3180 | | break; |
| | 3181 | | } |
| | 3182 | | } |
| | 3183 | | } |
| | 3184 | | #endif |
| | 3185 | | } |
| | 3186 | |
|
| | 3187 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3190 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3191 | | uint tag; |
| | 3192 | | while ((tag = input.ReadTag()) != 0) { |
| | 3193 | | switch(tag) { |
| | 3194 | | default: |
| | 3195 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3196 | | break; |
| | 3197 | | case 10: { |
| | 3198 | | if (user_ == null) { |
| | 3199 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3200 | | } |
| | 3201 | | input.ReadMessage(User); |
| | 3202 | | break; |
| | 3203 | | } |
| | 3204 | | } |
| | 3205 | | } |
| | 3206 | | } |
| | 3207 | | #endif |
| | 3208 | |
|
| | 3209 | | } |
| | 3210 | |
|
| | 3211 | | public sealed partial class RejectPayload : pb::IMessage<RejectPayload> |
| | 3212 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3213 | | , pb::IBufferMessage |
| | 3214 | | #endif |
| | 3215 | | { |
| | 3216 | | private static readonly pb::MessageParser<RejectPayload> _parser = new pb::MessageParser<RejectPayload>(() => new Re |
| | 3217 | | private pb::UnknownFieldSet _unknownFields; |
| | 3218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3220 | | public static pb::MessageParser<RejectPayload> Parser { get { return _parser; } } |
| | 3221 | |
|
| | 3222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3224 | | public static pbr::MessageDescriptor Descriptor { |
| | 3225 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[12]; } |
| | 3226 | | } |
| | 3227 | |
|
| | 3228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3230 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3231 | | get { return Descriptor; } |
| | 3232 | | } |
| | 3233 | |
|
| | 3234 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3235 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3236 | | public RejectPayload() { |
| | 3237 | | OnConstruction(); |
| | 3238 | | } |
| | 3239 | |
|
| | 3240 | | partial void OnConstruction(); |
| | 3241 | |
|
| | 3242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3244 | | public RejectPayload(RejectPayload other) : this() { |
| | 3245 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 3246 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3247 | | } |
| | 3248 | |
|
| | 3249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3251 | | public RejectPayload Clone() { |
| | 3252 | | return new RejectPayload(this); |
| | 3253 | | } |
| | 3254 | |
|
| | 3255 | | /// <summary>Field number for the "user" field.</summary> |
| | 3256 | | public const int UserFieldNumber = 1; |
| | 3257 | | private global::Decentraland.Social.Friendships.User user_; |
| | 3258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3260 | | public global::Decentraland.Social.Friendships.User User { |
| | 3261 | | get { return user_; } |
| | 3262 | | set { |
| | 3263 | | user_ = value; |
| | 3264 | | } |
| | 3265 | | } |
| | 3266 | |
|
| | 3267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3269 | | public override bool Equals(object other) { |
| | 3270 | | return Equals(other as RejectPayload); |
| | 3271 | | } |
| | 3272 | |
|
| | 3273 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3274 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3275 | | public bool Equals(RejectPayload other) { |
| | 3276 | | if (ReferenceEquals(other, null)) { |
| | 3277 | | return false; |
| | 3278 | | } |
| | 3279 | | if (ReferenceEquals(other, this)) { |
| | 3280 | | return true; |
| | 3281 | | } |
| | 3282 | | if (!object.Equals(User, other.User)) return false; |
| | 3283 | | return Equals(_unknownFields, other._unknownFields); |
| | 3284 | | } |
| | 3285 | |
|
| | 3286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3288 | | public override int GetHashCode() { |
| | 3289 | | int hash = 1; |
| | 3290 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 3291 | | if (_unknownFields != null) { |
| | 3292 | | hash ^= _unknownFields.GetHashCode(); |
| | 3293 | | } |
| | 3294 | | return hash; |
| | 3295 | | } |
| | 3296 | |
|
| | 3297 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3298 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3299 | | public override string ToString() { |
| | 3300 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3301 | | } |
| | 3302 | |
|
| | 3303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3305 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3306 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3307 | | output.WriteRawMessage(this); |
| | 3308 | | #else |
| | 3309 | | if (user_ != null) { |
| | 3310 | | output.WriteRawTag(10); |
| | 3311 | | output.WriteMessage(User); |
| | 3312 | | } |
| | 3313 | | if (_unknownFields != null) { |
| | 3314 | | _unknownFields.WriteTo(output); |
| | 3315 | | } |
| | 3316 | | #endif |
| | 3317 | | } |
| | 3318 | |
|
| | 3319 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3320 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3321 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3322 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3323 | | if (user_ != null) { |
| | 3324 | | output.WriteRawTag(10); |
| | 3325 | | output.WriteMessage(User); |
| | 3326 | | } |
| | 3327 | | if (_unknownFields != null) { |
| | 3328 | | _unknownFields.WriteTo(ref output); |
| | 3329 | | } |
| | 3330 | | } |
| | 3331 | | #endif |
| | 3332 | |
|
| | 3333 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3334 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3335 | | public int CalculateSize() { |
| | 3336 | | int size = 0; |
| | 3337 | | if (user_ != null) { |
| | 3338 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 3339 | | } |
| | 3340 | | if (_unknownFields != null) { |
| | 3341 | | size += _unknownFields.CalculateSize(); |
| | 3342 | | } |
| | 3343 | | return size; |
| | 3344 | | } |
| | 3345 | |
|
| | 3346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3348 | | public void MergeFrom(RejectPayload other) { |
| | 3349 | | if (other == null) { |
| | 3350 | | return; |
| | 3351 | | } |
| | 3352 | | if (other.user_ != null) { |
| | 3353 | | if (user_ == null) { |
| | 3354 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3355 | | } |
| | 3356 | | User.MergeFrom(other.User); |
| | 3357 | | } |
| | 3358 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3359 | | } |
| | 3360 | |
|
| | 3361 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3362 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3363 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3364 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3365 | | input.ReadRawMessage(this); |
| | 3366 | | #else |
| | 3367 | | uint tag; |
| | 3368 | | while ((tag = input.ReadTag()) != 0) { |
| | 3369 | | switch(tag) { |
| | 3370 | | default: |
| | 3371 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3372 | | break; |
| | 3373 | | case 10: { |
| | 3374 | | if (user_ == null) { |
| | 3375 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3376 | | } |
| | 3377 | | input.ReadMessage(User); |
| | 3378 | | break; |
| | 3379 | | } |
| | 3380 | | } |
| | 3381 | | } |
| | 3382 | | #endif |
| | 3383 | | } |
| | 3384 | |
|
| | 3385 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3388 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3389 | | uint tag; |
| | 3390 | | while ((tag = input.ReadTag()) != 0) { |
| | 3391 | | switch(tag) { |
| | 3392 | | default: |
| | 3393 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3394 | | break; |
| | 3395 | | case 10: { |
| | 3396 | | if (user_ == null) { |
| | 3397 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3398 | | } |
| | 3399 | | input.ReadMessage(User); |
| | 3400 | | break; |
| | 3401 | | } |
| | 3402 | | } |
| | 3403 | | } |
| | 3404 | | } |
| | 3405 | | #endif |
| | 3406 | |
|
| | 3407 | | } |
| | 3408 | |
|
| | 3409 | | public sealed partial class DeleteResponse : pb::IMessage<DeleteResponse> |
| | 3410 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3411 | | , pb::IBufferMessage |
| | 3412 | | #endif |
| | 3413 | | { |
| | 3414 | | private static readonly pb::MessageParser<DeleteResponse> _parser = new pb::MessageParser<DeleteResponse>(() => new |
| | 3415 | | private pb::UnknownFieldSet _unknownFields; |
| | 3416 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3417 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3418 | | public static pb::MessageParser<DeleteResponse> Parser { get { return _parser; } } |
| | 3419 | |
|
| | 3420 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3421 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3422 | | public static pbr::MessageDescriptor Descriptor { |
| | 3423 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[13]; } |
| | 3424 | | } |
| | 3425 | |
|
| | 3426 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3427 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3428 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3429 | | get { return Descriptor; } |
| | 3430 | | } |
| | 3431 | |
|
| | 3432 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3433 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3434 | | public DeleteResponse() { |
| | 3435 | | OnConstruction(); |
| | 3436 | | } |
| | 3437 | |
|
| | 3438 | | partial void OnConstruction(); |
| | 3439 | |
|
| | 3440 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3441 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3442 | | public DeleteResponse(DeleteResponse other) : this() { |
| | 3443 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 3444 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3445 | | } |
| | 3446 | |
|
| | 3447 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3448 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3449 | | public DeleteResponse Clone() { |
| | 3450 | | return new DeleteResponse(this); |
| | 3451 | | } |
| | 3452 | |
|
| | 3453 | | /// <summary>Field number for the "user" field.</summary> |
| | 3454 | | public const int UserFieldNumber = 1; |
| | 3455 | | private global::Decentraland.Social.Friendships.User user_; |
| | 3456 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3457 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3458 | | public global::Decentraland.Social.Friendships.User User { |
| | 3459 | | get { return user_; } |
| | 3460 | | set { |
| | 3461 | | user_ = value; |
| | 3462 | | } |
| | 3463 | | } |
| | 3464 | |
|
| | 3465 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3466 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3467 | | public override bool Equals(object other) { |
| | 3468 | | return Equals(other as DeleteResponse); |
| | 3469 | | } |
| | 3470 | |
|
| | 3471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3473 | | public bool Equals(DeleteResponse other) { |
| | 3474 | | if (ReferenceEquals(other, null)) { |
| | 3475 | | return false; |
| | 3476 | | } |
| | 3477 | | if (ReferenceEquals(other, this)) { |
| | 3478 | | return true; |
| | 3479 | | } |
| | 3480 | | if (!object.Equals(User, other.User)) return false; |
| | 3481 | | return Equals(_unknownFields, other._unknownFields); |
| | 3482 | | } |
| | 3483 | |
|
| | 3484 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3485 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3486 | | public override int GetHashCode() { |
| | 3487 | | int hash = 1; |
| | 3488 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 3489 | | if (_unknownFields != null) { |
| | 3490 | | hash ^= _unknownFields.GetHashCode(); |
| | 3491 | | } |
| | 3492 | | return hash; |
| | 3493 | | } |
| | 3494 | |
|
| | 3495 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3496 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3497 | | public override string ToString() { |
| | 3498 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3499 | | } |
| | 3500 | |
|
| | 3501 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3502 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3503 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3504 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3505 | | output.WriteRawMessage(this); |
| | 3506 | | #else |
| | 3507 | | if (user_ != null) { |
| | 3508 | | output.WriteRawTag(10); |
| | 3509 | | output.WriteMessage(User); |
| | 3510 | | } |
| | 3511 | | if (_unknownFields != null) { |
| | 3512 | | _unknownFields.WriteTo(output); |
| | 3513 | | } |
| | 3514 | | #endif |
| | 3515 | | } |
| | 3516 | |
|
| | 3517 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3520 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3521 | | if (user_ != null) { |
| | 3522 | | output.WriteRawTag(10); |
| | 3523 | | output.WriteMessage(User); |
| | 3524 | | } |
| | 3525 | | if (_unknownFields != null) { |
| | 3526 | | _unknownFields.WriteTo(ref output); |
| | 3527 | | } |
| | 3528 | | } |
| | 3529 | | #endif |
| | 3530 | |
|
| | 3531 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3532 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3533 | | public int CalculateSize() { |
| | 3534 | | int size = 0; |
| | 3535 | | if (user_ != null) { |
| | 3536 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 3537 | | } |
| | 3538 | | if (_unknownFields != null) { |
| | 3539 | | size += _unknownFields.CalculateSize(); |
| | 3540 | | } |
| | 3541 | | return size; |
| | 3542 | | } |
| | 3543 | |
|
| | 3544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3546 | | public void MergeFrom(DeleteResponse other) { |
| | 3547 | | if (other == null) { |
| | 3548 | | return; |
| | 3549 | | } |
| | 3550 | | if (other.user_ != null) { |
| | 3551 | | if (user_ == null) { |
| | 3552 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3553 | | } |
| | 3554 | | User.MergeFrom(other.User); |
| | 3555 | | } |
| | 3556 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3557 | | } |
| | 3558 | |
|
| | 3559 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3560 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3561 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3562 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3563 | | input.ReadRawMessage(this); |
| | 3564 | | #else |
| | 3565 | | uint tag; |
| | 3566 | | while ((tag = input.ReadTag()) != 0) { |
| | 3567 | | switch(tag) { |
| | 3568 | | default: |
| | 3569 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3570 | | break; |
| | 3571 | | case 10: { |
| | 3572 | | if (user_ == null) { |
| | 3573 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3574 | | } |
| | 3575 | | input.ReadMessage(User); |
| | 3576 | | break; |
| | 3577 | | } |
| | 3578 | | } |
| | 3579 | | } |
| | 3580 | | #endif |
| | 3581 | | } |
| | 3582 | |
|
| | 3583 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3586 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3587 | | uint tag; |
| | 3588 | | while ((tag = input.ReadTag()) != 0) { |
| | 3589 | | switch(tag) { |
| | 3590 | | default: |
| | 3591 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3592 | | break; |
| | 3593 | | case 10: { |
| | 3594 | | if (user_ == null) { |
| | 3595 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3596 | | } |
| | 3597 | | input.ReadMessage(User); |
| | 3598 | | break; |
| | 3599 | | } |
| | 3600 | | } |
| | 3601 | | } |
| | 3602 | | } |
| | 3603 | | #endif |
| | 3604 | |
|
| | 3605 | | } |
| | 3606 | |
|
| | 3607 | | public sealed partial class DeletePayload : pb::IMessage<DeletePayload> |
| | 3608 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3609 | | , pb::IBufferMessage |
| | 3610 | | #endif |
| | 3611 | | { |
| | 3612 | | private static readonly pb::MessageParser<DeletePayload> _parser = new pb::MessageParser<DeletePayload>(() => new De |
| | 3613 | | private pb::UnknownFieldSet _unknownFields; |
| | 3614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3616 | | public static pb::MessageParser<DeletePayload> Parser { get { return _parser; } } |
| | 3617 | |
|
| | 3618 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3619 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3620 | | public static pbr::MessageDescriptor Descriptor { |
| | 3621 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[14]; } |
| | 3622 | | } |
| | 3623 | |
|
| | 3624 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3625 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3626 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3627 | | get { return Descriptor; } |
| | 3628 | | } |
| | 3629 | |
|
| | 3630 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3631 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3632 | | public DeletePayload() { |
| | 3633 | | OnConstruction(); |
| | 3634 | | } |
| | 3635 | |
|
| | 3636 | | partial void OnConstruction(); |
| | 3637 | |
|
| | 3638 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3639 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3640 | | public DeletePayload(DeletePayload other) : this() { |
| | 3641 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 3642 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3643 | | } |
| | 3644 | |
|
| | 3645 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3646 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3647 | | public DeletePayload Clone() { |
| | 3648 | | return new DeletePayload(this); |
| | 3649 | | } |
| | 3650 | |
|
| | 3651 | | /// <summary>Field number for the "user" field.</summary> |
| | 3652 | | public const int UserFieldNumber = 1; |
| | 3653 | | private global::Decentraland.Social.Friendships.User user_; |
| | 3654 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3655 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3656 | | public global::Decentraland.Social.Friendships.User User { |
| | 3657 | | get { return user_; } |
| | 3658 | | set { |
| | 3659 | | user_ = value; |
| | 3660 | | } |
| | 3661 | | } |
| | 3662 | |
|
| | 3663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3665 | | public override bool Equals(object other) { |
| | 3666 | | return Equals(other as DeletePayload); |
| | 3667 | | } |
| | 3668 | |
|
| | 3669 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3670 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3671 | | public bool Equals(DeletePayload other) { |
| | 3672 | | if (ReferenceEquals(other, null)) { |
| | 3673 | | return false; |
| | 3674 | | } |
| | 3675 | | if (ReferenceEquals(other, this)) { |
| | 3676 | | return true; |
| | 3677 | | } |
| | 3678 | | if (!object.Equals(User, other.User)) return false; |
| | 3679 | | return Equals(_unknownFields, other._unknownFields); |
| | 3680 | | } |
| | 3681 | |
|
| | 3682 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3683 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3684 | | public override int GetHashCode() { |
| | 3685 | | int hash = 1; |
| | 3686 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 3687 | | if (_unknownFields != null) { |
| | 3688 | | hash ^= _unknownFields.GetHashCode(); |
| | 3689 | | } |
| | 3690 | | return hash; |
| | 3691 | | } |
| | 3692 | |
|
| | 3693 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3694 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3695 | | public override string ToString() { |
| | 3696 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3697 | | } |
| | 3698 | |
|
| | 3699 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3700 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3701 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3702 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3703 | | output.WriteRawMessage(this); |
| | 3704 | | #else |
| | 3705 | | if (user_ != null) { |
| | 3706 | | output.WriteRawTag(10); |
| | 3707 | | output.WriteMessage(User); |
| | 3708 | | } |
| | 3709 | | if (_unknownFields != null) { |
| | 3710 | | _unknownFields.WriteTo(output); |
| | 3711 | | } |
| | 3712 | | #endif |
| | 3713 | | } |
| | 3714 | |
|
| | 3715 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3716 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3717 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3718 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3719 | | if (user_ != null) { |
| | 3720 | | output.WriteRawTag(10); |
| | 3721 | | output.WriteMessage(User); |
| | 3722 | | } |
| | 3723 | | if (_unknownFields != null) { |
| | 3724 | | _unknownFields.WriteTo(ref output); |
| | 3725 | | } |
| | 3726 | | } |
| | 3727 | | #endif |
| | 3728 | |
|
| | 3729 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3730 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3731 | | public int CalculateSize() { |
| | 3732 | | int size = 0; |
| | 3733 | | if (user_ != null) { |
| | 3734 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 3735 | | } |
| | 3736 | | if (_unknownFields != null) { |
| | 3737 | | size += _unknownFields.CalculateSize(); |
| | 3738 | | } |
| | 3739 | | return size; |
| | 3740 | | } |
| | 3741 | |
|
| | 3742 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3743 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3744 | | public void MergeFrom(DeletePayload other) { |
| | 3745 | | if (other == null) { |
| | 3746 | | return; |
| | 3747 | | } |
| | 3748 | | if (other.user_ != null) { |
| | 3749 | | if (user_ == null) { |
| | 3750 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3751 | | } |
| | 3752 | | User.MergeFrom(other.User); |
| | 3753 | | } |
| | 3754 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3755 | | } |
| | 3756 | |
|
| | 3757 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3758 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3759 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3760 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3761 | | input.ReadRawMessage(this); |
| | 3762 | | #else |
| | 3763 | | uint tag; |
| | 3764 | | while ((tag = input.ReadTag()) != 0) { |
| | 3765 | | switch(tag) { |
| | 3766 | | default: |
| | 3767 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3768 | | break; |
| | 3769 | | case 10: { |
| | 3770 | | if (user_ == null) { |
| | 3771 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3772 | | } |
| | 3773 | | input.ReadMessage(User); |
| | 3774 | | break; |
| | 3775 | | } |
| | 3776 | | } |
| | 3777 | | } |
| | 3778 | | #endif |
| | 3779 | | } |
| | 3780 | |
|
| | 3781 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3782 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3783 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3784 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3785 | | uint tag; |
| | 3786 | | while ((tag = input.ReadTag()) != 0) { |
| | 3787 | | switch(tag) { |
| | 3788 | | default: |
| | 3789 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3790 | | break; |
| | 3791 | | case 10: { |
| | 3792 | | if (user_ == null) { |
| | 3793 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3794 | | } |
| | 3795 | | input.ReadMessage(User); |
| | 3796 | | break; |
| | 3797 | | } |
| | 3798 | | } |
| | 3799 | | } |
| | 3800 | | } |
| | 3801 | | #endif |
| | 3802 | |
|
| | 3803 | | } |
| | 3804 | |
|
| | 3805 | | public sealed partial class CancelResponse : pb::IMessage<CancelResponse> |
| | 3806 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3807 | | , pb::IBufferMessage |
| | 3808 | | #endif |
| | 3809 | | { |
| | 3810 | | private static readonly pb::MessageParser<CancelResponse> _parser = new pb::MessageParser<CancelResponse>(() => new |
| | 3811 | | private pb::UnknownFieldSet _unknownFields; |
| | 3812 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3813 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3814 | | public static pb::MessageParser<CancelResponse> Parser { get { return _parser; } } |
| | 3815 | |
|
| | 3816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3818 | | public static pbr::MessageDescriptor Descriptor { |
| | 3819 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[15]; } |
| | 3820 | | } |
| | 3821 | |
|
| | 3822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3824 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3825 | | get { return Descriptor; } |
| | 3826 | | } |
| | 3827 | |
|
| | 3828 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3829 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3830 | | public CancelResponse() { |
| | 3831 | | OnConstruction(); |
| | 3832 | | } |
| | 3833 | |
|
| | 3834 | | partial void OnConstruction(); |
| | 3835 | |
|
| | 3836 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3837 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3838 | | public CancelResponse(CancelResponse other) : this() { |
| | 3839 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 3840 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3841 | | } |
| | 3842 | |
|
| | 3843 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3844 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3845 | | public CancelResponse Clone() { |
| | 3846 | | return new CancelResponse(this); |
| | 3847 | | } |
| | 3848 | |
|
| | 3849 | | /// <summary>Field number for the "user" field.</summary> |
| | 3850 | | public const int UserFieldNumber = 1; |
| | 3851 | | private global::Decentraland.Social.Friendships.User user_; |
| | 3852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3854 | | public global::Decentraland.Social.Friendships.User User { |
| | 3855 | | get { return user_; } |
| | 3856 | | set { |
| | 3857 | | user_ = value; |
| | 3858 | | } |
| | 3859 | | } |
| | 3860 | |
|
| | 3861 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3862 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3863 | | public override bool Equals(object other) { |
| | 3864 | | return Equals(other as CancelResponse); |
| | 3865 | | } |
| | 3866 | |
|
| | 3867 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3868 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3869 | | public bool Equals(CancelResponse other) { |
| | 3870 | | if (ReferenceEquals(other, null)) { |
| | 3871 | | return false; |
| | 3872 | | } |
| | 3873 | | if (ReferenceEquals(other, this)) { |
| | 3874 | | return true; |
| | 3875 | | } |
| | 3876 | | if (!object.Equals(User, other.User)) return false; |
| | 3877 | | return Equals(_unknownFields, other._unknownFields); |
| | 3878 | | } |
| | 3879 | |
|
| | 3880 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3881 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3882 | | public override int GetHashCode() { |
| | 3883 | | int hash = 1; |
| | 3884 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 3885 | | if (_unknownFields != null) { |
| | 3886 | | hash ^= _unknownFields.GetHashCode(); |
| | 3887 | | } |
| | 3888 | | return hash; |
| | 3889 | | } |
| | 3890 | |
|
| | 3891 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3892 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3893 | | public override string ToString() { |
| | 3894 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3895 | | } |
| | 3896 | |
|
| | 3897 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3898 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3899 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3900 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3901 | | output.WriteRawMessage(this); |
| | 3902 | | #else |
| | 3903 | | if (user_ != null) { |
| | 3904 | | output.WriteRawTag(10); |
| | 3905 | | output.WriteMessage(User); |
| | 3906 | | } |
| | 3907 | | if (_unknownFields != null) { |
| | 3908 | | _unknownFields.WriteTo(output); |
| | 3909 | | } |
| | 3910 | | #endif |
| | 3911 | | } |
| | 3912 | |
|
| | 3913 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3914 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3915 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3916 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3917 | | if (user_ != null) { |
| | 3918 | | output.WriteRawTag(10); |
| | 3919 | | output.WriteMessage(User); |
| | 3920 | | } |
| | 3921 | | if (_unknownFields != null) { |
| | 3922 | | _unknownFields.WriteTo(ref output); |
| | 3923 | | } |
| | 3924 | | } |
| | 3925 | | #endif |
| | 3926 | |
|
| | 3927 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3928 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3929 | | public int CalculateSize() { |
| | 3930 | | int size = 0; |
| | 3931 | | if (user_ != null) { |
| | 3932 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 3933 | | } |
| | 3934 | | if (_unknownFields != null) { |
| | 3935 | | size += _unknownFields.CalculateSize(); |
| | 3936 | | } |
| | 3937 | | return size; |
| | 3938 | | } |
| | 3939 | |
|
| | 3940 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3941 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3942 | | public void MergeFrom(CancelResponse other) { |
| | 3943 | | if (other == null) { |
| | 3944 | | return; |
| | 3945 | | } |
| | 3946 | | if (other.user_ != null) { |
| | 3947 | | if (user_ == null) { |
| | 3948 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3949 | | } |
| | 3950 | | User.MergeFrom(other.User); |
| | 3951 | | } |
| | 3952 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3953 | | } |
| | 3954 | |
|
| | 3955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3957 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3958 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3959 | | input.ReadRawMessage(this); |
| | 3960 | | #else |
| | 3961 | | uint tag; |
| | 3962 | | while ((tag = input.ReadTag()) != 0) { |
| | 3963 | | switch(tag) { |
| | 3964 | | default: |
| | 3965 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3966 | | break; |
| | 3967 | | case 10: { |
| | 3968 | | if (user_ == null) { |
| | 3969 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3970 | | } |
| | 3971 | | input.ReadMessage(User); |
| | 3972 | | break; |
| | 3973 | | } |
| | 3974 | | } |
| | 3975 | | } |
| | 3976 | | #endif |
| | 3977 | | } |
| | 3978 | |
|
| | 3979 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3982 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3983 | | uint tag; |
| | 3984 | | while ((tag = input.ReadTag()) != 0) { |
| | 3985 | | switch(tag) { |
| | 3986 | | default: |
| | 3987 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3988 | | break; |
| | 3989 | | case 10: { |
| | 3990 | | if (user_ == null) { |
| | 3991 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 3992 | | } |
| | 3993 | | input.ReadMessage(User); |
| | 3994 | | break; |
| | 3995 | | } |
| | 3996 | | } |
| | 3997 | | } |
| | 3998 | | } |
| | 3999 | | #endif |
| | 4000 | |
|
| | 4001 | | } |
| | 4002 | |
|
| | 4003 | | public sealed partial class CancelPayload : pb::IMessage<CancelPayload> |
| | 4004 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4005 | | , pb::IBufferMessage |
| | 4006 | | #endif |
| | 4007 | | { |
| | 4008 | | private static readonly pb::MessageParser<CancelPayload> _parser = new pb::MessageParser<CancelPayload>(() => new Ca |
| | 4009 | | private pb::UnknownFieldSet _unknownFields; |
| | 4010 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4011 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4012 | | public static pb::MessageParser<CancelPayload> Parser { get { return _parser; } } |
| | 4013 | |
|
| | 4014 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4015 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4016 | | public static pbr::MessageDescriptor Descriptor { |
| | 4017 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[16]; } |
| | 4018 | | } |
| | 4019 | |
|
| | 4020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4022 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4023 | | get { return Descriptor; } |
| | 4024 | | } |
| | 4025 | |
|
| | 4026 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4027 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4028 | | public CancelPayload() { |
| | 4029 | | OnConstruction(); |
| | 4030 | | } |
| | 4031 | |
|
| | 4032 | | partial void OnConstruction(); |
| | 4033 | |
|
| | 4034 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4035 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4036 | | public CancelPayload(CancelPayload other) : this() { |
| | 4037 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 4038 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4039 | | } |
| | 4040 | |
|
| | 4041 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4042 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4043 | | public CancelPayload Clone() { |
| | 4044 | | return new CancelPayload(this); |
| | 4045 | | } |
| | 4046 | |
|
| | 4047 | | /// <summary>Field number for the "user" field.</summary> |
| | 4048 | | public const int UserFieldNumber = 1; |
| | 4049 | | private global::Decentraland.Social.Friendships.User user_; |
| | 4050 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4051 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4052 | | public global::Decentraland.Social.Friendships.User User { |
| | 4053 | | get { return user_; } |
| | 4054 | | set { |
| | 4055 | | user_ = value; |
| | 4056 | | } |
| | 4057 | | } |
| | 4058 | |
|
| | 4059 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4060 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4061 | | public override bool Equals(object other) { |
| | 4062 | | return Equals(other as CancelPayload); |
| | 4063 | | } |
| | 4064 | |
|
| | 4065 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4066 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4067 | | public bool Equals(CancelPayload other) { |
| | 4068 | | if (ReferenceEquals(other, null)) { |
| | 4069 | | return false; |
| | 4070 | | } |
| | 4071 | | if (ReferenceEquals(other, this)) { |
| | 4072 | | return true; |
| | 4073 | | } |
| | 4074 | | if (!object.Equals(User, other.User)) return false; |
| | 4075 | | return Equals(_unknownFields, other._unknownFields); |
| | 4076 | | } |
| | 4077 | |
|
| | 4078 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4079 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4080 | | public override int GetHashCode() { |
| | 4081 | | int hash = 1; |
| | 4082 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 4083 | | if (_unknownFields != null) { |
| | 4084 | | hash ^= _unknownFields.GetHashCode(); |
| | 4085 | | } |
| | 4086 | | return hash; |
| | 4087 | | } |
| | 4088 | |
|
| | 4089 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4090 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4091 | | public override string ToString() { |
| | 4092 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4093 | | } |
| | 4094 | |
|
| | 4095 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4096 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4097 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4098 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4099 | | output.WriteRawMessage(this); |
| | 4100 | | #else |
| | 4101 | | if (user_ != null) { |
| | 4102 | | output.WriteRawTag(10); |
| | 4103 | | output.WriteMessage(User); |
| | 4104 | | } |
| | 4105 | | if (_unknownFields != null) { |
| | 4106 | | _unknownFields.WriteTo(output); |
| | 4107 | | } |
| | 4108 | | #endif |
| | 4109 | | } |
| | 4110 | |
|
| | 4111 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4112 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4113 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4114 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4115 | | if (user_ != null) { |
| | 4116 | | output.WriteRawTag(10); |
| | 4117 | | output.WriteMessage(User); |
| | 4118 | | } |
| | 4119 | | if (_unknownFields != null) { |
| | 4120 | | _unknownFields.WriteTo(ref output); |
| | 4121 | | } |
| | 4122 | | } |
| | 4123 | | #endif |
| | 4124 | |
|
| | 4125 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4126 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4127 | | public int CalculateSize() { |
| | 4128 | | int size = 0; |
| | 4129 | | if (user_ != null) { |
| | 4130 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 4131 | | } |
| | 4132 | | if (_unknownFields != null) { |
| | 4133 | | size += _unknownFields.CalculateSize(); |
| | 4134 | | } |
| | 4135 | | return size; |
| | 4136 | | } |
| | 4137 | |
|
| | 4138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4140 | | public void MergeFrom(CancelPayload other) { |
| | 4141 | | if (other == null) { |
| | 4142 | | return; |
| | 4143 | | } |
| | 4144 | | if (other.user_ != null) { |
| | 4145 | | if (user_ == null) { |
| | 4146 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 4147 | | } |
| | 4148 | | User.MergeFrom(other.User); |
| | 4149 | | } |
| | 4150 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4151 | | } |
| | 4152 | |
|
| | 4153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4155 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4156 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4157 | | input.ReadRawMessage(this); |
| | 4158 | | #else |
| | 4159 | | uint tag; |
| | 4160 | | while ((tag = input.ReadTag()) != 0) { |
| | 4161 | | switch(tag) { |
| | 4162 | | default: |
| | 4163 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4164 | | break; |
| | 4165 | | case 10: { |
| | 4166 | | if (user_ == null) { |
| | 4167 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 4168 | | } |
| | 4169 | | input.ReadMessage(User); |
| | 4170 | | break; |
| | 4171 | | } |
| | 4172 | | } |
| | 4173 | | } |
| | 4174 | | #endif |
| | 4175 | | } |
| | 4176 | |
|
| | 4177 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4178 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4179 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4180 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4181 | | uint tag; |
| | 4182 | | while ((tag = input.ReadTag()) != 0) { |
| | 4183 | | switch(tag) { |
| | 4184 | | default: |
| | 4185 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4186 | | break; |
| | 4187 | | case 10: { |
| | 4188 | | if (user_ == null) { |
| | 4189 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 4190 | | } |
| | 4191 | | input.ReadMessage(User); |
| | 4192 | | break; |
| | 4193 | | } |
| | 4194 | | } |
| | 4195 | | } |
| | 4196 | | } |
| | 4197 | | #endif |
| | 4198 | |
|
| | 4199 | | } |
| | 4200 | |
|
| | 4201 | | public sealed partial class UpdateFriendshipPayload : pb::IMessage<UpdateFriendshipPayload> |
| | 4202 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4203 | | , pb::IBufferMessage |
| | 4204 | | #endif |
| | 4205 | | { |
| | 4206 | | private static readonly pb::MessageParser<UpdateFriendshipPayload> _parser = new pb::MessageParser<UpdateFriendshipP |
| | 4207 | | private pb::UnknownFieldSet _unknownFields; |
| | 4208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4210 | | public static pb::MessageParser<UpdateFriendshipPayload> Parser { get { return _parser; } } |
| | 4211 | |
|
| | 4212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4214 | | public static pbr::MessageDescriptor Descriptor { |
| | 4215 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[17]; } |
| | 4216 | | } |
| | 4217 | |
|
| | 4218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4220 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4221 | | get { return Descriptor; } |
| | 4222 | | } |
| | 4223 | |
|
| | 4224 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4225 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4226 | | public UpdateFriendshipPayload() { |
| | 4227 | | OnConstruction(); |
| | 4228 | | } |
| | 4229 | |
|
| | 4230 | | partial void OnConstruction(); |
| | 4231 | |
|
| | 4232 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4233 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4234 | | public UpdateFriendshipPayload(UpdateFriendshipPayload other) : this() { |
| | 4235 | | event_ = other.event_ != null ? other.event_.Clone() : null; |
| | 4236 | | authToken_ = other.authToken_ != null ? other.authToken_.Clone() : null; |
| | 4237 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4238 | | } |
| | 4239 | |
|
| | 4240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4242 | | public UpdateFriendshipPayload Clone() { |
| | 4243 | | return new UpdateFriendshipPayload(this); |
| | 4244 | | } |
| | 4245 | |
|
| | 4246 | | /// <summary>Field number for the "event" field.</summary> |
| | 4247 | | public const int EventFieldNumber = 1; |
| | 4248 | | private global::Decentraland.Social.Friendships.FriendshipEventPayload event_; |
| | 4249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4251 | | public global::Decentraland.Social.Friendships.FriendshipEventPayload Event { |
| | 4252 | | get { return event_; } |
| | 4253 | | set { |
| | 4254 | | event_ = value; |
| | 4255 | | } |
| | 4256 | | } |
| | 4257 | |
|
| | 4258 | | /// <summary>Field number for the "auth_token" field.</summary> |
| | 4259 | | public const int AuthTokenFieldNumber = 2; |
| | 4260 | | private global::Decentraland.Social.Friendships.Payload authToken_; |
| | 4261 | | /// <summary> |
| | 4262 | | /// For internal use only, subject to change. |
| | 4263 | | /// </summary> |
| | 4264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4266 | | public global::Decentraland.Social.Friendships.Payload AuthToken { |
| | 4267 | | get { return authToken_; } |
| | 4268 | | set { |
| | 4269 | | authToken_ = value; |
| | 4270 | | } |
| | 4271 | | } |
| | 4272 | |
|
| | 4273 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4274 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4275 | | public override bool Equals(object other) { |
| | 4276 | | return Equals(other as UpdateFriendshipPayload); |
| | 4277 | | } |
| | 4278 | |
|
| | 4279 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4280 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4281 | | public bool Equals(UpdateFriendshipPayload other) { |
| | 4282 | | if (ReferenceEquals(other, null)) { |
| | 4283 | | return false; |
| | 4284 | | } |
| | 4285 | | if (ReferenceEquals(other, this)) { |
| | 4286 | | return true; |
| | 4287 | | } |
| | 4288 | | if (!object.Equals(Event, other.Event)) return false; |
| | 4289 | | if (!object.Equals(AuthToken, other.AuthToken)) return false; |
| | 4290 | | return Equals(_unknownFields, other._unknownFields); |
| | 4291 | | } |
| | 4292 | |
|
| | 4293 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4294 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4295 | | public override int GetHashCode() { |
| | 4296 | | int hash = 1; |
| | 4297 | | if (event_ != null) hash ^= Event.GetHashCode(); |
| | 4298 | | if (authToken_ != null) hash ^= AuthToken.GetHashCode(); |
| | 4299 | | if (_unknownFields != null) { |
| | 4300 | | hash ^= _unknownFields.GetHashCode(); |
| | 4301 | | } |
| | 4302 | | return hash; |
| | 4303 | | } |
| | 4304 | |
|
| | 4305 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4306 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4307 | | public override string ToString() { |
| | 4308 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4309 | | } |
| | 4310 | |
|
| | 4311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4313 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4314 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4315 | | output.WriteRawMessage(this); |
| | 4316 | | #else |
| | 4317 | | if (event_ != null) { |
| | 4318 | | output.WriteRawTag(10); |
| | 4319 | | output.WriteMessage(Event); |
| | 4320 | | } |
| | 4321 | | if (authToken_ != null) { |
| | 4322 | | output.WriteRawTag(18); |
| | 4323 | | output.WriteMessage(AuthToken); |
| | 4324 | | } |
| | 4325 | | if (_unknownFields != null) { |
| | 4326 | | _unknownFields.WriteTo(output); |
| | 4327 | | } |
| | 4328 | | #endif |
| | 4329 | | } |
| | 4330 | |
|
| | 4331 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4332 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4333 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4334 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4335 | | if (event_ != null) { |
| | 4336 | | output.WriteRawTag(10); |
| | 4337 | | output.WriteMessage(Event); |
| | 4338 | | } |
| | 4339 | | if (authToken_ != null) { |
| | 4340 | | output.WriteRawTag(18); |
| | 4341 | | output.WriteMessage(AuthToken); |
| | 4342 | | } |
| | 4343 | | if (_unknownFields != null) { |
| | 4344 | | _unknownFields.WriteTo(ref output); |
| | 4345 | | } |
| | 4346 | | } |
| | 4347 | | #endif |
| | 4348 | |
|
| | 4349 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4350 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4351 | | public int CalculateSize() { |
| | 4352 | | int size = 0; |
| | 4353 | | if (event_ != null) { |
| | 4354 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Event); |
| | 4355 | | } |
| | 4356 | | if (authToken_ != null) { |
| | 4357 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthToken); |
| | 4358 | | } |
| | 4359 | | if (_unknownFields != null) { |
| | 4360 | | size += _unknownFields.CalculateSize(); |
| | 4361 | | } |
| | 4362 | | return size; |
| | 4363 | | } |
| | 4364 | |
|
| | 4365 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4366 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4367 | | public void MergeFrom(UpdateFriendshipPayload other) { |
| | 4368 | | if (other == null) { |
| | 4369 | | return; |
| | 4370 | | } |
| | 4371 | | if (other.event_ != null) { |
| | 4372 | | if (event_ == null) { |
| | 4373 | | Event = new global::Decentraland.Social.Friendships.FriendshipEventPayload(); |
| | 4374 | | } |
| | 4375 | | Event.MergeFrom(other.Event); |
| | 4376 | | } |
| | 4377 | | if (other.authToken_ != null) { |
| | 4378 | | if (authToken_ == null) { |
| | 4379 | | AuthToken = new global::Decentraland.Social.Friendships.Payload(); |
| | 4380 | | } |
| | 4381 | | AuthToken.MergeFrom(other.AuthToken); |
| | 4382 | | } |
| | 4383 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4384 | | } |
| | 4385 | |
|
| | 4386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4388 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4389 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4390 | | input.ReadRawMessage(this); |
| | 4391 | | #else |
| | 4392 | | uint tag; |
| | 4393 | | while ((tag = input.ReadTag()) != 0) { |
| | 4394 | | switch(tag) { |
| | 4395 | | default: |
| | 4396 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4397 | | break; |
| | 4398 | | case 10: { |
| | 4399 | | if (event_ == null) { |
| | 4400 | | Event = new global::Decentraland.Social.Friendships.FriendshipEventPayload(); |
| | 4401 | | } |
| | 4402 | | input.ReadMessage(Event); |
| | 4403 | | break; |
| | 4404 | | } |
| | 4405 | | case 18: { |
| | 4406 | | if (authToken_ == null) { |
| | 4407 | | AuthToken = new global::Decentraland.Social.Friendships.Payload(); |
| | 4408 | | } |
| | 4409 | | input.ReadMessage(AuthToken); |
| | 4410 | | break; |
| | 4411 | | } |
| | 4412 | | } |
| | 4413 | | } |
| | 4414 | | #endif |
| | 4415 | | } |
| | 4416 | |
|
| | 4417 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4418 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4419 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4420 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4421 | | uint tag; |
| | 4422 | | while ((tag = input.ReadTag()) != 0) { |
| | 4423 | | switch(tag) { |
| | 4424 | | default: |
| | 4425 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4426 | | break; |
| | 4427 | | case 10: { |
| | 4428 | | if (event_ == null) { |
| | 4429 | | Event = new global::Decentraland.Social.Friendships.FriendshipEventPayload(); |
| | 4430 | | } |
| | 4431 | | input.ReadMessage(Event); |
| | 4432 | | break; |
| | 4433 | | } |
| | 4434 | | case 18: { |
| | 4435 | | if (authToken_ == null) { |
| | 4436 | | AuthToken = new global::Decentraland.Social.Friendships.Payload(); |
| | 4437 | | } |
| | 4438 | | input.ReadMessage(AuthToken); |
| | 4439 | | break; |
| | 4440 | | } |
| | 4441 | | } |
| | 4442 | | } |
| | 4443 | | } |
| | 4444 | | #endif |
| | 4445 | |
|
| | 4446 | | } |
| | 4447 | |
|
| | 4448 | | public sealed partial class MutualFriendsPayload : pb::IMessage<MutualFriendsPayload> |
| | 4449 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4450 | | , pb::IBufferMessage |
| | 4451 | | #endif |
| | 4452 | | { |
| | 4453 | | private static readonly pb::MessageParser<MutualFriendsPayload> _parser = new pb::MessageParser<MutualFriendsPayload |
| | 4454 | | private pb::UnknownFieldSet _unknownFields; |
| | 4455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4457 | | public static pb::MessageParser<MutualFriendsPayload> Parser { get { return _parser; } } |
| | 4458 | |
|
| | 4459 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4460 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4461 | | public static pbr::MessageDescriptor Descriptor { |
| | 4462 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[18]; } |
| | 4463 | | } |
| | 4464 | |
|
| | 4465 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4466 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4467 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4468 | | get { return Descriptor; } |
| | 4469 | | } |
| | 4470 | |
|
| | 4471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4473 | | public MutualFriendsPayload() { |
| | 4474 | | OnConstruction(); |
| | 4475 | | } |
| | 4476 | |
|
| | 4477 | | partial void OnConstruction(); |
| | 4478 | |
|
| | 4479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4481 | | public MutualFriendsPayload(MutualFriendsPayload other) : this() { |
| | 4482 | | user_ = other.user_ != null ? other.user_.Clone() : null; |
| | 4483 | | authToken_ = other.authToken_ != null ? other.authToken_.Clone() : null; |
| | 4484 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4485 | | } |
| | 4486 | |
|
| | 4487 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4488 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4489 | | public MutualFriendsPayload Clone() { |
| | 4490 | | return new MutualFriendsPayload(this); |
| | 4491 | | } |
| | 4492 | |
|
| | 4493 | | /// <summary>Field number for the "user" field.</summary> |
| | 4494 | | public const int UserFieldNumber = 1; |
| | 4495 | | private global::Decentraland.Social.Friendships.User user_; |
| | 4496 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4497 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4498 | | public global::Decentraland.Social.Friendships.User User { |
| | 4499 | | get { return user_; } |
| | 4500 | | set { |
| | 4501 | | user_ = value; |
| | 4502 | | } |
| | 4503 | | } |
| | 4504 | |
|
| | 4505 | | /// <summary>Field number for the "auth_token" field.</summary> |
| | 4506 | | public const int AuthTokenFieldNumber = 2; |
| | 4507 | | private global::Decentraland.Social.Friendships.Payload authToken_; |
| | 4508 | | /// <summary> |
| | 4509 | | /// For internal use only, subject to change. |
| | 4510 | | /// </summary> |
| | 4511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4513 | | public global::Decentraland.Social.Friendships.Payload AuthToken { |
| | 4514 | | get { return authToken_; } |
| | 4515 | | set { |
| | 4516 | | authToken_ = value; |
| | 4517 | | } |
| | 4518 | | } |
| | 4519 | |
|
| | 4520 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4521 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4522 | | public override bool Equals(object other) { |
| | 4523 | | return Equals(other as MutualFriendsPayload); |
| | 4524 | | } |
| | 4525 | |
|
| | 4526 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4527 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4528 | | public bool Equals(MutualFriendsPayload other) { |
| | 4529 | | if (ReferenceEquals(other, null)) { |
| | 4530 | | return false; |
| | 4531 | | } |
| | 4532 | | if (ReferenceEquals(other, this)) { |
| | 4533 | | return true; |
| | 4534 | | } |
| | 4535 | | if (!object.Equals(User, other.User)) return false; |
| | 4536 | | if (!object.Equals(AuthToken, other.AuthToken)) return false; |
| | 4537 | | return Equals(_unknownFields, other._unknownFields); |
| | 4538 | | } |
| | 4539 | |
|
| | 4540 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4541 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4542 | | public override int GetHashCode() { |
| | 4543 | | int hash = 1; |
| | 4544 | | if (user_ != null) hash ^= User.GetHashCode(); |
| | 4545 | | if (authToken_ != null) hash ^= AuthToken.GetHashCode(); |
| | 4546 | | if (_unknownFields != null) { |
| | 4547 | | hash ^= _unknownFields.GetHashCode(); |
| | 4548 | | } |
| | 4549 | | return hash; |
| | 4550 | | } |
| | 4551 | |
|
| | 4552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4554 | | public override string ToString() { |
| | 4555 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4556 | | } |
| | 4557 | |
|
| | 4558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4560 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4561 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4562 | | output.WriteRawMessage(this); |
| | 4563 | | #else |
| | 4564 | | if (user_ != null) { |
| | 4565 | | output.WriteRawTag(10); |
| | 4566 | | output.WriteMessage(User); |
| | 4567 | | } |
| | 4568 | | if (authToken_ != null) { |
| | 4569 | | output.WriteRawTag(18); |
| | 4570 | | output.WriteMessage(AuthToken); |
| | 4571 | | } |
| | 4572 | | if (_unknownFields != null) { |
| | 4573 | | _unknownFields.WriteTo(output); |
| | 4574 | | } |
| | 4575 | | #endif |
| | 4576 | | } |
| | 4577 | |
|
| | 4578 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4581 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4582 | | if (user_ != null) { |
| | 4583 | | output.WriteRawTag(10); |
| | 4584 | | output.WriteMessage(User); |
| | 4585 | | } |
| | 4586 | | if (authToken_ != null) { |
| | 4587 | | output.WriteRawTag(18); |
| | 4588 | | output.WriteMessage(AuthToken); |
| | 4589 | | } |
| | 4590 | | if (_unknownFields != null) { |
| | 4591 | | _unknownFields.WriteTo(ref output); |
| | 4592 | | } |
| | 4593 | | } |
| | 4594 | | #endif |
| | 4595 | |
|
| | 4596 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4597 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4598 | | public int CalculateSize() { |
| | 4599 | | int size = 0; |
| | 4600 | | if (user_ != null) { |
| | 4601 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); |
| | 4602 | | } |
| | 4603 | | if (authToken_ != null) { |
| | 4604 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AuthToken); |
| | 4605 | | } |
| | 4606 | | if (_unknownFields != null) { |
| | 4607 | | size += _unknownFields.CalculateSize(); |
| | 4608 | | } |
| | 4609 | | return size; |
| | 4610 | | } |
| | 4611 | |
|
| | 4612 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4613 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4614 | | public void MergeFrom(MutualFriendsPayload other) { |
| | 4615 | | if (other == null) { |
| | 4616 | | return; |
| | 4617 | | } |
| | 4618 | | if (other.user_ != null) { |
| | 4619 | | if (user_ == null) { |
| | 4620 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 4621 | | } |
| | 4622 | | User.MergeFrom(other.User); |
| | 4623 | | } |
| | 4624 | | if (other.authToken_ != null) { |
| | 4625 | | if (authToken_ == null) { |
| | 4626 | | AuthToken = new global::Decentraland.Social.Friendships.Payload(); |
| | 4627 | | } |
| | 4628 | | AuthToken.MergeFrom(other.AuthToken); |
| | 4629 | | } |
| | 4630 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4631 | | } |
| | 4632 | |
|
| | 4633 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4634 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4635 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4636 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4637 | | input.ReadRawMessage(this); |
| | 4638 | | #else |
| | 4639 | | uint tag; |
| | 4640 | | while ((tag = input.ReadTag()) != 0) { |
| | 4641 | | switch(tag) { |
| | 4642 | | default: |
| | 4643 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4644 | | break; |
| | 4645 | | case 10: { |
| | 4646 | | if (user_ == null) { |
| | 4647 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 4648 | | } |
| | 4649 | | input.ReadMessage(User); |
| | 4650 | | break; |
| | 4651 | | } |
| | 4652 | | case 18: { |
| | 4653 | | if (authToken_ == null) { |
| | 4654 | | AuthToken = new global::Decentraland.Social.Friendships.Payload(); |
| | 4655 | | } |
| | 4656 | | input.ReadMessage(AuthToken); |
| | 4657 | | break; |
| | 4658 | | } |
| | 4659 | | } |
| | 4660 | | } |
| | 4661 | | #endif |
| | 4662 | | } |
| | 4663 | |
|
| | 4664 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4665 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4666 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4667 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4668 | | uint tag; |
| | 4669 | | while ((tag = input.ReadTag()) != 0) { |
| | 4670 | | switch(tag) { |
| | 4671 | | default: |
| | 4672 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4673 | | break; |
| | 4674 | | case 10: { |
| | 4675 | | if (user_ == null) { |
| | 4676 | | User = new global::Decentraland.Social.Friendships.User(); |
| | 4677 | | } |
| | 4678 | | input.ReadMessage(User); |
| | 4679 | | break; |
| | 4680 | | } |
| | 4681 | | case 18: { |
| | 4682 | | if (authToken_ == null) { |
| | 4683 | | AuthToken = new global::Decentraland.Social.Friendships.Payload(); |
| | 4684 | | } |
| | 4685 | | input.ReadMessage(AuthToken); |
| | 4686 | | break; |
| | 4687 | | } |
| | 4688 | | } |
| | 4689 | | } |
| | 4690 | | } |
| | 4691 | | #endif |
| | 4692 | |
|
| | 4693 | | } |
| | 4694 | |
|
| | 4695 | | public sealed partial class Payload : pb::IMessage<Payload> |
| | 4696 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4697 | | , pb::IBufferMessage |
| | 4698 | | #endif |
| | 4699 | | { |
| | 4700 | | private static readonly pb::MessageParser<Payload> _parser = new pb::MessageParser<Payload>(() => new Payload()); |
| | 4701 | | private pb::UnknownFieldSet _unknownFields; |
| | 4702 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4703 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4704 | | public static pb::MessageParser<Payload> Parser { get { return _parser; } } |
| | 4705 | |
|
| | 4706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4708 | | public static pbr::MessageDescriptor Descriptor { |
| | 4709 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[19]; } |
| | 4710 | | } |
| | 4711 | |
|
| | 4712 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4713 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4714 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4715 | | get { return Descriptor; } |
| | 4716 | | } |
| | 4717 | |
|
| | 4718 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4719 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4720 | | public Payload() { |
| | 4721 | | OnConstruction(); |
| | 4722 | | } |
| | 4723 | |
|
| | 4724 | | partial void OnConstruction(); |
| | 4725 | |
|
| | 4726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4728 | | public Payload(Payload other) : this() { |
| | 4729 | | synapseToken_ = other.synapseToken_; |
| | 4730 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4731 | | } |
| | 4732 | |
|
| | 4733 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4734 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4735 | | public Payload Clone() { |
| | 4736 | | return new Payload(this); |
| | 4737 | | } |
| | 4738 | |
|
| | 4739 | | /// <summary>Field number for the "synapse_token" field.</summary> |
| | 4740 | | public const int SynapseTokenFieldNumber = 1; |
| | 4741 | | private string synapseToken_; |
| | 4742 | | /// <summary> |
| | 4743 | | /// For internal use only, subject to change. |
| | 4744 | | /// </summary> |
| | 4745 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4746 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4747 | | public string SynapseToken { |
| | 4748 | | get { return synapseToken_ ?? ""; } |
| | 4749 | | set { |
| | 4750 | | synapseToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4751 | | } |
| | 4752 | | } |
| | 4753 | | /// <summary>Gets whether the "synapse_token" field is set</summary> |
| | 4754 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4755 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4756 | | public bool HasSynapseToken { |
| | 4757 | | get { return synapseToken_ != null; } |
| | 4758 | | } |
| | 4759 | | /// <summary>Clears the value of the "synapse_token" field</summary> |
| | 4760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4762 | | public void ClearSynapseToken() { |
| | 4763 | | synapseToken_ = null; |
| | 4764 | | } |
| | 4765 | |
|
| | 4766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4768 | | public override bool Equals(object other) { |
| | 4769 | | return Equals(other as Payload); |
| | 4770 | | } |
| | 4771 | |
|
| | 4772 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4773 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4774 | | public bool Equals(Payload other) { |
| | 4775 | | if (ReferenceEquals(other, null)) { |
| | 4776 | | return false; |
| | 4777 | | } |
| | 4778 | | if (ReferenceEquals(other, this)) { |
| | 4779 | | return true; |
| | 4780 | | } |
| | 4781 | | if (SynapseToken != other.SynapseToken) return false; |
| | 4782 | | return Equals(_unknownFields, other._unknownFields); |
| | 4783 | | } |
| | 4784 | |
|
| | 4785 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4786 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4787 | | public override int GetHashCode() { |
| | 4788 | | int hash = 1; |
| | 4789 | | if (HasSynapseToken) hash ^= SynapseToken.GetHashCode(); |
| | 4790 | | if (_unknownFields != null) { |
| | 4791 | | hash ^= _unknownFields.GetHashCode(); |
| | 4792 | | } |
| | 4793 | | return hash; |
| | 4794 | | } |
| | 4795 | |
|
| | 4796 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4797 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4798 | | public override string ToString() { |
| | 4799 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4800 | | } |
| | 4801 | |
|
| | 4802 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4803 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4804 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4805 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4806 | | output.WriteRawMessage(this); |
| | 4807 | | #else |
| | 4808 | | if (HasSynapseToken) { |
| | 4809 | | output.WriteRawTag(10); |
| | 4810 | | output.WriteString(SynapseToken); |
| | 4811 | | } |
| | 4812 | | if (_unknownFields != null) { |
| | 4813 | | _unknownFields.WriteTo(output); |
| | 4814 | | } |
| | 4815 | | #endif |
| | 4816 | | } |
| | 4817 | |
|
| | 4818 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4819 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4820 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4821 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4822 | | if (HasSynapseToken) { |
| | 4823 | | output.WriteRawTag(10); |
| | 4824 | | output.WriteString(SynapseToken); |
| | 4825 | | } |
| | 4826 | | if (_unknownFields != null) { |
| | 4827 | | _unknownFields.WriteTo(ref output); |
| | 4828 | | } |
| | 4829 | | } |
| | 4830 | | #endif |
| | 4831 | |
|
| | 4832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4834 | | public int CalculateSize() { |
| | 4835 | | int size = 0; |
| | 4836 | | if (HasSynapseToken) { |
| | 4837 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(SynapseToken); |
| | 4838 | | } |
| | 4839 | | if (_unknownFields != null) { |
| | 4840 | | size += _unknownFields.CalculateSize(); |
| | 4841 | | } |
| | 4842 | | return size; |
| | 4843 | | } |
| | 4844 | |
|
| | 4845 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4846 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4847 | | public void MergeFrom(Payload other) { |
| | 4848 | | if (other == null) { |
| | 4849 | | return; |
| | 4850 | | } |
| | 4851 | | if (other.HasSynapseToken) { |
| | 4852 | | SynapseToken = other.SynapseToken; |
| | 4853 | | } |
| | 4854 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4855 | | } |
| | 4856 | |
|
| | 4857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4859 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4860 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4861 | | input.ReadRawMessage(this); |
| | 4862 | | #else |
| | 4863 | | uint tag; |
| | 4864 | | while ((tag = input.ReadTag()) != 0) { |
| | 4865 | | switch(tag) { |
| | 4866 | | default: |
| | 4867 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4868 | | break; |
| | 4869 | | case 10: { |
| | 4870 | | SynapseToken = input.ReadString(); |
| | 4871 | | break; |
| | 4872 | | } |
| | 4873 | | } |
| | 4874 | | } |
| | 4875 | | #endif |
| | 4876 | | } |
| | 4877 | |
|
| | 4878 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4879 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4880 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4881 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4882 | | uint tag; |
| | 4883 | | while ((tag = input.ReadTag()) != 0) { |
| | 4884 | | switch(tag) { |
| | 4885 | | default: |
| | 4886 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4887 | | break; |
| | 4888 | | case 10: { |
| | 4889 | | SynapseToken = input.ReadString(); |
| | 4890 | | break; |
| | 4891 | | } |
| | 4892 | | } |
| | 4893 | | } |
| | 4894 | | } |
| | 4895 | | #endif |
| | 4896 | |
|
| | 4897 | | } |
| | 4898 | |
|
| | 4899 | | public sealed partial class BadRequestError : pb::IMessage<BadRequestError> |
| | 4900 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4901 | | , pb::IBufferMessage |
| | 4902 | | #endif |
| | 4903 | | { |
| | 4904 | | private static readonly pb::MessageParser<BadRequestError> _parser = new pb::MessageParser<BadRequestError>(() => ne |
| | 4905 | | private pb::UnknownFieldSet _unknownFields; |
| | 4906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4908 | | public static pb::MessageParser<BadRequestError> Parser { get { return _parser; } } |
| | 4909 | |
|
| | 4910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4912 | | public static pbr::MessageDescriptor Descriptor { |
| | 4913 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[20]; } |
| | 4914 | | } |
| | 4915 | |
|
| | 4916 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4917 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4918 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4919 | | get { return Descriptor; } |
| | 4920 | | } |
| | 4921 | |
|
| | 4922 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4923 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4924 | | public BadRequestError() { |
| | 4925 | | OnConstruction(); |
| | 4926 | | } |
| | 4927 | |
|
| | 4928 | | partial void OnConstruction(); |
| | 4929 | |
|
| | 4930 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4931 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4932 | | public BadRequestError(BadRequestError other) : this() { |
| | 4933 | | message_ = other.message_; |
| | 4934 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4935 | | } |
| | 4936 | |
|
| | 4937 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4938 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4939 | | public BadRequestError Clone() { |
| | 4940 | | return new BadRequestError(this); |
| | 4941 | | } |
| | 4942 | |
|
| | 4943 | | /// <summary>Field number for the "message" field.</summary> |
| | 4944 | | public const int MessageFieldNumber = 1; |
| | 4945 | | private string message_ = ""; |
| | 4946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4948 | | public string Message { |
| | 4949 | | get { return message_; } |
| | 4950 | | set { |
| | 4951 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4952 | | } |
| | 4953 | | } |
| | 4954 | |
|
| | 4955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4957 | | public override bool Equals(object other) { |
| | 4958 | | return Equals(other as BadRequestError); |
| | 4959 | | } |
| | 4960 | |
|
| | 4961 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4962 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4963 | | public bool Equals(BadRequestError other) { |
| | 4964 | | if (ReferenceEquals(other, null)) { |
| | 4965 | | return false; |
| | 4966 | | } |
| | 4967 | | if (ReferenceEquals(other, this)) { |
| | 4968 | | return true; |
| | 4969 | | } |
| | 4970 | | if (Message != other.Message) return false; |
| | 4971 | | return Equals(_unknownFields, other._unknownFields); |
| | 4972 | | } |
| | 4973 | |
|
| | 4974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4976 | | public override int GetHashCode() { |
| | 4977 | | int hash = 1; |
| | 4978 | | if (Message.Length != 0) hash ^= Message.GetHashCode(); |
| | 4979 | | if (_unknownFields != null) { |
| | 4980 | | hash ^= _unknownFields.GetHashCode(); |
| | 4981 | | } |
| | 4982 | | return hash; |
| | 4983 | | } |
| | 4984 | |
|
| | 4985 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4986 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4987 | | public override string ToString() { |
| | 4988 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4989 | | } |
| | 4990 | |
|
| | 4991 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4992 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4993 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4994 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4995 | | output.WriteRawMessage(this); |
| | 4996 | | #else |
| | 4997 | | if (Message.Length != 0) { |
| | 4998 | | output.WriteRawTag(10); |
| | 4999 | | output.WriteString(Message); |
| | 5000 | | } |
| | 5001 | | if (_unknownFields != null) { |
| | 5002 | | _unknownFields.WriteTo(output); |
| | 5003 | | } |
| | 5004 | | #endif |
| | 5005 | | } |
| | 5006 | |
|
| | 5007 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5008 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5009 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5010 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5011 | | if (Message.Length != 0) { |
| | 5012 | | output.WriteRawTag(10); |
| | 5013 | | output.WriteString(Message); |
| | 5014 | | } |
| | 5015 | | if (_unknownFields != null) { |
| | 5016 | | _unknownFields.WriteTo(ref output); |
| | 5017 | | } |
| | 5018 | | } |
| | 5019 | | #endif |
| | 5020 | |
|
| | 5021 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5022 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5023 | | public int CalculateSize() { |
| | 5024 | | int size = 0; |
| | 5025 | | if (Message.Length != 0) { |
| | 5026 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 5027 | | } |
| | 5028 | | if (_unknownFields != null) { |
| | 5029 | | size += _unknownFields.CalculateSize(); |
| | 5030 | | } |
| | 5031 | | return size; |
| | 5032 | | } |
| | 5033 | |
|
| | 5034 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5035 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5036 | | public void MergeFrom(BadRequestError other) { |
| | 5037 | | if (other == null) { |
| | 5038 | | return; |
| | 5039 | | } |
| | 5040 | | if (other.Message.Length != 0) { |
| | 5041 | | Message = other.Message; |
| | 5042 | | } |
| | 5043 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5044 | | } |
| | 5045 | |
|
| | 5046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5048 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5049 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5050 | | input.ReadRawMessage(this); |
| | 5051 | | #else |
| | 5052 | | uint tag; |
| | 5053 | | while ((tag = input.ReadTag()) != 0) { |
| | 5054 | | switch(tag) { |
| | 5055 | | default: |
| | 5056 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5057 | | break; |
| | 5058 | | case 10: { |
| | 5059 | | Message = input.ReadString(); |
| | 5060 | | break; |
| | 5061 | | } |
| | 5062 | | } |
| | 5063 | | } |
| | 5064 | | #endif |
| | 5065 | | } |
| | 5066 | |
|
| | 5067 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5068 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5069 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5070 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5071 | | uint tag; |
| | 5072 | | while ((tag = input.ReadTag()) != 0) { |
| | 5073 | | switch(tag) { |
| | 5074 | | default: |
| | 5075 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5076 | | break; |
| | 5077 | | case 10: { |
| | 5078 | | Message = input.ReadString(); |
| | 5079 | | break; |
| | 5080 | | } |
| | 5081 | | } |
| | 5082 | | } |
| | 5083 | | } |
| | 5084 | | #endif |
| | 5085 | |
|
| | 5086 | | } |
| | 5087 | |
|
| | 5088 | | public sealed partial class UnauthorizedError : pb::IMessage<UnauthorizedError> |
| | 5089 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5090 | | , pb::IBufferMessage |
| | 5091 | | #endif |
| | 5092 | | { |
| | 5093 | | private static readonly pb::MessageParser<UnauthorizedError> _parser = new pb::MessageParser<UnauthorizedError>(() = |
| | 5094 | | private pb::UnknownFieldSet _unknownFields; |
| | 5095 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5096 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5097 | | public static pb::MessageParser<UnauthorizedError> Parser { get { return _parser; } } |
| | 5098 | |
|
| | 5099 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5101 | | public static pbr::MessageDescriptor Descriptor { |
| | 5102 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[21]; } |
| | 5103 | | } |
| | 5104 | |
|
| | 5105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5107 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5108 | | get { return Descriptor; } |
| | 5109 | | } |
| | 5110 | |
|
| | 5111 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5112 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5113 | | public UnauthorizedError() { |
| | 5114 | | OnConstruction(); |
| | 5115 | | } |
| | 5116 | |
|
| | 5117 | | partial void OnConstruction(); |
| | 5118 | |
|
| | 5119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5121 | | public UnauthorizedError(UnauthorizedError other) : this() { |
| | 5122 | | message_ = other.message_; |
| | 5123 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5124 | | } |
| | 5125 | |
|
| | 5126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5128 | | public UnauthorizedError Clone() { |
| | 5129 | | return new UnauthorizedError(this); |
| | 5130 | | } |
| | 5131 | |
|
| | 5132 | | /// <summary>Field number for the "message" field.</summary> |
| | 5133 | | public const int MessageFieldNumber = 1; |
| | 5134 | | private string message_ = ""; |
| | 5135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5137 | | public string Message { |
| | 5138 | | get { return message_; } |
| | 5139 | | set { |
| | 5140 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5141 | | } |
| | 5142 | | } |
| | 5143 | |
|
| | 5144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5146 | | public override bool Equals(object other) { |
| | 5147 | | return Equals(other as UnauthorizedError); |
| | 5148 | | } |
| | 5149 | |
|
| | 5150 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5151 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5152 | | public bool Equals(UnauthorizedError other) { |
| | 5153 | | if (ReferenceEquals(other, null)) { |
| | 5154 | | return false; |
| | 5155 | | } |
| | 5156 | | if (ReferenceEquals(other, this)) { |
| | 5157 | | return true; |
| | 5158 | | } |
| | 5159 | | if (Message != other.Message) return false; |
| | 5160 | | return Equals(_unknownFields, other._unknownFields); |
| | 5161 | | } |
| | 5162 | |
|
| | 5163 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5164 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5165 | | public override int GetHashCode() { |
| | 5166 | | int hash = 1; |
| | 5167 | | if (Message.Length != 0) hash ^= Message.GetHashCode(); |
| | 5168 | | if (_unknownFields != null) { |
| | 5169 | | hash ^= _unknownFields.GetHashCode(); |
| | 5170 | | } |
| | 5171 | | return hash; |
| | 5172 | | } |
| | 5173 | |
|
| | 5174 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5175 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5176 | | public override string ToString() { |
| | 5177 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5178 | | } |
| | 5179 | |
|
| | 5180 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5181 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5182 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5183 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5184 | | output.WriteRawMessage(this); |
| | 5185 | | #else |
| | 5186 | | if (Message.Length != 0) { |
| | 5187 | | output.WriteRawTag(10); |
| | 5188 | | output.WriteString(Message); |
| | 5189 | | } |
| | 5190 | | if (_unknownFields != null) { |
| | 5191 | | _unknownFields.WriteTo(output); |
| | 5192 | | } |
| | 5193 | | #endif |
| | 5194 | | } |
| | 5195 | |
|
| | 5196 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5199 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5200 | | if (Message.Length != 0) { |
| | 5201 | | output.WriteRawTag(10); |
| | 5202 | | output.WriteString(Message); |
| | 5203 | | } |
| | 5204 | | if (_unknownFields != null) { |
| | 5205 | | _unknownFields.WriteTo(ref output); |
| | 5206 | | } |
| | 5207 | | } |
| | 5208 | | #endif |
| | 5209 | |
|
| | 5210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5212 | | public int CalculateSize() { |
| | 5213 | | int size = 0; |
| | 5214 | | if (Message.Length != 0) { |
| | 5215 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 5216 | | } |
| | 5217 | | if (_unknownFields != null) { |
| | 5218 | | size += _unknownFields.CalculateSize(); |
| | 5219 | | } |
| | 5220 | | return size; |
| | 5221 | | } |
| | 5222 | |
|
| | 5223 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5224 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5225 | | public void MergeFrom(UnauthorizedError other) { |
| | 5226 | | if (other == null) { |
| | 5227 | | return; |
| | 5228 | | } |
| | 5229 | | if (other.Message.Length != 0) { |
| | 5230 | | Message = other.Message; |
| | 5231 | | } |
| | 5232 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5233 | | } |
| | 5234 | |
|
| | 5235 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5236 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5237 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5238 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5239 | | input.ReadRawMessage(this); |
| | 5240 | | #else |
| | 5241 | | uint tag; |
| | 5242 | | while ((tag = input.ReadTag()) != 0) { |
| | 5243 | | switch(tag) { |
| | 5244 | | default: |
| | 5245 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5246 | | break; |
| | 5247 | | case 10: { |
| | 5248 | | Message = input.ReadString(); |
| | 5249 | | break; |
| | 5250 | | } |
| | 5251 | | } |
| | 5252 | | } |
| | 5253 | | #endif |
| | 5254 | | } |
| | 5255 | |
|
| | 5256 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5257 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5258 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5259 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5260 | | uint tag; |
| | 5261 | | while ((tag = input.ReadTag()) != 0) { |
| | 5262 | | switch(tag) { |
| | 5263 | | default: |
| | 5264 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5265 | | break; |
| | 5266 | | case 10: { |
| | 5267 | | Message = input.ReadString(); |
| | 5268 | | break; |
| | 5269 | | } |
| | 5270 | | } |
| | 5271 | | } |
| | 5272 | | } |
| | 5273 | | #endif |
| | 5274 | |
|
| | 5275 | | } |
| | 5276 | |
|
| | 5277 | | public sealed partial class ForbiddenError : pb::IMessage<ForbiddenError> |
| | 5278 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5279 | | , pb::IBufferMessage |
| | 5280 | | #endif |
| | 5281 | | { |
| | 5282 | | private static readonly pb::MessageParser<ForbiddenError> _parser = new pb::MessageParser<ForbiddenError>(() => new |
| | 5283 | | private pb::UnknownFieldSet _unknownFields; |
| | 5284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5286 | | public static pb::MessageParser<ForbiddenError> Parser { get { return _parser; } } |
| | 5287 | |
|
| | 5288 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5289 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5290 | | public static pbr::MessageDescriptor Descriptor { |
| | 5291 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[22]; } |
| | 5292 | | } |
| | 5293 | |
|
| | 5294 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5295 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5296 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5297 | | get { return Descriptor; } |
| | 5298 | | } |
| | 5299 | |
|
| | 5300 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5301 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5302 | | public ForbiddenError() { |
| | 5303 | | OnConstruction(); |
| | 5304 | | } |
| | 5305 | |
|
| | 5306 | | partial void OnConstruction(); |
| | 5307 | |
|
| | 5308 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5309 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5310 | | public ForbiddenError(ForbiddenError other) : this() { |
| | 5311 | | message_ = other.message_; |
| | 5312 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5313 | | } |
| | 5314 | |
|
| | 5315 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5316 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5317 | | public ForbiddenError Clone() { |
| | 5318 | | return new ForbiddenError(this); |
| | 5319 | | } |
| | 5320 | |
|
| | 5321 | | /// <summary>Field number for the "message" field.</summary> |
| | 5322 | | public const int MessageFieldNumber = 1; |
| | 5323 | | private string message_ = ""; |
| | 5324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5326 | | public string Message { |
| | 5327 | | get { return message_; } |
| | 5328 | | set { |
| | 5329 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5330 | | } |
| | 5331 | | } |
| | 5332 | |
|
| | 5333 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5334 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5335 | | public override bool Equals(object other) { |
| | 5336 | | return Equals(other as ForbiddenError); |
| | 5337 | | } |
| | 5338 | |
|
| | 5339 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5340 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5341 | | public bool Equals(ForbiddenError other) { |
| | 5342 | | if (ReferenceEquals(other, null)) { |
| | 5343 | | return false; |
| | 5344 | | } |
| | 5345 | | if (ReferenceEquals(other, this)) { |
| | 5346 | | return true; |
| | 5347 | | } |
| | 5348 | | if (Message != other.Message) return false; |
| | 5349 | | return Equals(_unknownFields, other._unknownFields); |
| | 5350 | | } |
| | 5351 | |
|
| | 5352 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5353 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5354 | | public override int GetHashCode() { |
| | 5355 | | int hash = 1; |
| | 5356 | | if (Message.Length != 0) hash ^= Message.GetHashCode(); |
| | 5357 | | if (_unknownFields != null) { |
| | 5358 | | hash ^= _unknownFields.GetHashCode(); |
| | 5359 | | } |
| | 5360 | | return hash; |
| | 5361 | | } |
| | 5362 | |
|
| | 5363 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5364 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5365 | | public override string ToString() { |
| | 5366 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5367 | | } |
| | 5368 | |
|
| | 5369 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5370 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5371 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5372 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5373 | | output.WriteRawMessage(this); |
| | 5374 | | #else |
| | 5375 | | if (Message.Length != 0) { |
| | 5376 | | output.WriteRawTag(10); |
| | 5377 | | output.WriteString(Message); |
| | 5378 | | } |
| | 5379 | | if (_unknownFields != null) { |
| | 5380 | | _unknownFields.WriteTo(output); |
| | 5381 | | } |
| | 5382 | | #endif |
| | 5383 | | } |
| | 5384 | |
|
| | 5385 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5388 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5389 | | if (Message.Length != 0) { |
| | 5390 | | output.WriteRawTag(10); |
| | 5391 | | output.WriteString(Message); |
| | 5392 | | } |
| | 5393 | | if (_unknownFields != null) { |
| | 5394 | | _unknownFields.WriteTo(ref output); |
| | 5395 | | } |
| | 5396 | | } |
| | 5397 | | #endif |
| | 5398 | |
|
| | 5399 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5400 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5401 | | public int CalculateSize() { |
| | 5402 | | int size = 0; |
| | 5403 | | if (Message.Length != 0) { |
| | 5404 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 5405 | | } |
| | 5406 | | if (_unknownFields != null) { |
| | 5407 | | size += _unknownFields.CalculateSize(); |
| | 5408 | | } |
| | 5409 | | return size; |
| | 5410 | | } |
| | 5411 | |
|
| | 5412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5414 | | public void MergeFrom(ForbiddenError other) { |
| | 5415 | | if (other == null) { |
| | 5416 | | return; |
| | 5417 | | } |
| | 5418 | | if (other.Message.Length != 0) { |
| | 5419 | | Message = other.Message; |
| | 5420 | | } |
| | 5421 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5422 | | } |
| | 5423 | |
|
| | 5424 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5425 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5426 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5427 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5428 | | input.ReadRawMessage(this); |
| | 5429 | | #else |
| | 5430 | | uint tag; |
| | 5431 | | while ((tag = input.ReadTag()) != 0) { |
| | 5432 | | switch(tag) { |
| | 5433 | | default: |
| | 5434 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5435 | | break; |
| | 5436 | | case 10: { |
| | 5437 | | Message = input.ReadString(); |
| | 5438 | | break; |
| | 5439 | | } |
| | 5440 | | } |
| | 5441 | | } |
| | 5442 | | #endif |
| | 5443 | | } |
| | 5444 | |
|
| | 5445 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5446 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5447 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5448 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5449 | | uint tag; |
| | 5450 | | while ((tag = input.ReadTag()) != 0) { |
| | 5451 | | switch(tag) { |
| | 5452 | | default: |
| | 5453 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5454 | | break; |
| | 5455 | | case 10: { |
| | 5456 | | Message = input.ReadString(); |
| | 5457 | | break; |
| | 5458 | | } |
| | 5459 | | } |
| | 5460 | | } |
| | 5461 | | } |
| | 5462 | | #endif |
| | 5463 | |
|
| | 5464 | | } |
| | 5465 | |
|
| | 5466 | | public sealed partial class TooManyRequestsError : pb::IMessage<TooManyRequestsError> |
| | 5467 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5468 | | , pb::IBufferMessage |
| | 5469 | | #endif |
| | 5470 | | { |
| | 5471 | | private static readonly pb::MessageParser<TooManyRequestsError> _parser = new pb::MessageParser<TooManyRequestsError |
| | 5472 | | private pb::UnknownFieldSet _unknownFields; |
| | 5473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5475 | | public static pb::MessageParser<TooManyRequestsError> Parser { get { return _parser; } } |
| | 5476 | |
|
| | 5477 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5478 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5479 | | public static pbr::MessageDescriptor Descriptor { |
| | 5480 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[23]; } |
| | 5481 | | } |
| | 5482 | |
|
| | 5483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5485 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5486 | | get { return Descriptor; } |
| | 5487 | | } |
| | 5488 | |
|
| | 5489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5491 | | public TooManyRequestsError() { |
| | 5492 | | OnConstruction(); |
| | 5493 | | } |
| | 5494 | |
|
| | 5495 | | partial void OnConstruction(); |
| | 5496 | |
|
| | 5497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5499 | | public TooManyRequestsError(TooManyRequestsError other) : this() { |
| | 5500 | | message_ = other.message_; |
| | 5501 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5502 | | } |
| | 5503 | |
|
| | 5504 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5505 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5506 | | public TooManyRequestsError Clone() { |
| | 5507 | | return new TooManyRequestsError(this); |
| | 5508 | | } |
| | 5509 | |
|
| | 5510 | | /// <summary>Field number for the "message" field.</summary> |
| | 5511 | | public const int MessageFieldNumber = 1; |
| | 5512 | | private string message_ = ""; |
| | 5513 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5514 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5515 | | public string Message { |
| | 5516 | | get { return message_; } |
| | 5517 | | set { |
| | 5518 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5519 | | } |
| | 5520 | | } |
| | 5521 | |
|
| | 5522 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5523 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5524 | | public override bool Equals(object other) { |
| | 5525 | | return Equals(other as TooManyRequestsError); |
| | 5526 | | } |
| | 5527 | |
|
| | 5528 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5529 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5530 | | public bool Equals(TooManyRequestsError other) { |
| | 5531 | | if (ReferenceEquals(other, null)) { |
| | 5532 | | return false; |
| | 5533 | | } |
| | 5534 | | if (ReferenceEquals(other, this)) { |
| | 5535 | | return true; |
| | 5536 | | } |
| | 5537 | | if (Message != other.Message) return false; |
| | 5538 | | return Equals(_unknownFields, other._unknownFields); |
| | 5539 | | } |
| | 5540 | |
|
| | 5541 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5542 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5543 | | public override int GetHashCode() { |
| | 5544 | | int hash = 1; |
| | 5545 | | if (Message.Length != 0) hash ^= Message.GetHashCode(); |
| | 5546 | | if (_unknownFields != null) { |
| | 5547 | | hash ^= _unknownFields.GetHashCode(); |
| | 5548 | | } |
| | 5549 | | return hash; |
| | 5550 | | } |
| | 5551 | |
|
| | 5552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5554 | | public override string ToString() { |
| | 5555 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5556 | | } |
| | 5557 | |
|
| | 5558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5560 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5561 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5562 | | output.WriteRawMessage(this); |
| | 5563 | | #else |
| | 5564 | | if (Message.Length != 0) { |
| | 5565 | | output.WriteRawTag(10); |
| | 5566 | | output.WriteString(Message); |
| | 5567 | | } |
| | 5568 | | if (_unknownFields != null) { |
| | 5569 | | _unknownFields.WriteTo(output); |
| | 5570 | | } |
| | 5571 | | #endif |
| | 5572 | | } |
| | 5573 | |
|
| | 5574 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5575 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5576 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5577 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5578 | | if (Message.Length != 0) { |
| | 5579 | | output.WriteRawTag(10); |
| | 5580 | | output.WriteString(Message); |
| | 5581 | | } |
| | 5582 | | if (_unknownFields != null) { |
| | 5583 | | _unknownFields.WriteTo(ref output); |
| | 5584 | | } |
| | 5585 | | } |
| | 5586 | | #endif |
| | 5587 | |
|
| | 5588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5590 | | public int CalculateSize() { |
| | 5591 | | int size = 0; |
| | 5592 | | if (Message.Length != 0) { |
| | 5593 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 5594 | | } |
| | 5595 | | if (_unknownFields != null) { |
| | 5596 | | size += _unknownFields.CalculateSize(); |
| | 5597 | | } |
| | 5598 | | return size; |
| | 5599 | | } |
| | 5600 | |
|
| | 5601 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5602 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5603 | | public void MergeFrom(TooManyRequestsError other) { |
| | 5604 | | if (other == null) { |
| | 5605 | | return; |
| | 5606 | | } |
| | 5607 | | if (other.Message.Length != 0) { |
| | 5608 | | Message = other.Message; |
| | 5609 | | } |
| | 5610 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5611 | | } |
| | 5612 | |
|
| | 5613 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5614 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5615 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5616 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5617 | | input.ReadRawMessage(this); |
| | 5618 | | #else |
| | 5619 | | uint tag; |
| | 5620 | | while ((tag = input.ReadTag()) != 0) { |
| | 5621 | | switch(tag) { |
| | 5622 | | default: |
| | 5623 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5624 | | break; |
| | 5625 | | case 10: { |
| | 5626 | | Message = input.ReadString(); |
| | 5627 | | break; |
| | 5628 | | } |
| | 5629 | | } |
| | 5630 | | } |
| | 5631 | | #endif |
| | 5632 | | } |
| | 5633 | |
|
| | 5634 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5637 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5638 | | uint tag; |
| | 5639 | | while ((tag = input.ReadTag()) != 0) { |
| | 5640 | | switch(tag) { |
| | 5641 | | default: |
| | 5642 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5643 | | break; |
| | 5644 | | case 10: { |
| | 5645 | | Message = input.ReadString(); |
| | 5646 | | break; |
| | 5647 | | } |
| | 5648 | | } |
| | 5649 | | } |
| | 5650 | | } |
| | 5651 | | #endif |
| | 5652 | |
|
| | 5653 | | } |
| | 5654 | |
|
| | 5655 | | public sealed partial class InternalServerError : pb::IMessage<InternalServerError> |
| | 5656 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5657 | | , pb::IBufferMessage |
| | 5658 | | #endif |
| | 5659 | | { |
| | 5660 | | private static readonly pb::MessageParser<InternalServerError> _parser = new pb::MessageParser<InternalServerError>( |
| | 5661 | | private pb::UnknownFieldSet _unknownFields; |
| | 5662 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5663 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5664 | | public static pb::MessageParser<InternalServerError> Parser { get { return _parser; } } |
| | 5665 | |
|
| | 5666 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5667 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5668 | | public static pbr::MessageDescriptor Descriptor { |
| | 5669 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[24]; } |
| | 5670 | | } |
| | 5671 | |
|
| | 5672 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5673 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5674 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5675 | | get { return Descriptor; } |
| | 5676 | | } |
| | 5677 | |
|
| | 5678 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5679 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5680 | | public InternalServerError() { |
| | 5681 | | OnConstruction(); |
| | 5682 | | } |
| | 5683 | |
|
| | 5684 | | partial void OnConstruction(); |
| | 5685 | |
|
| | 5686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5688 | | public InternalServerError(InternalServerError other) : this() { |
| | 5689 | | message_ = other.message_; |
| | 5690 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5691 | | } |
| | 5692 | |
|
| | 5693 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5694 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5695 | | public InternalServerError Clone() { |
| | 5696 | | return new InternalServerError(this); |
| | 5697 | | } |
| | 5698 | |
|
| | 5699 | | /// <summary>Field number for the "message" field.</summary> |
| | 5700 | | public const int MessageFieldNumber = 1; |
| | 5701 | | private string message_ = ""; |
| | 5702 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5703 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5704 | | public string Message { |
| | 5705 | | get { return message_; } |
| | 5706 | | set { |
| | 5707 | | message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5708 | | } |
| | 5709 | | } |
| | 5710 | |
|
| | 5711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5713 | | public override bool Equals(object other) { |
| | 5714 | | return Equals(other as InternalServerError); |
| | 5715 | | } |
| | 5716 | |
|
| | 5717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5719 | | public bool Equals(InternalServerError other) { |
| | 5720 | | if (ReferenceEquals(other, null)) { |
| | 5721 | | return false; |
| | 5722 | | } |
| | 5723 | | if (ReferenceEquals(other, this)) { |
| | 5724 | | return true; |
| | 5725 | | } |
| | 5726 | | if (Message != other.Message) return false; |
| | 5727 | | return Equals(_unknownFields, other._unknownFields); |
| | 5728 | | } |
| | 5729 | |
|
| | 5730 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5731 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5732 | | public override int GetHashCode() { |
| | 5733 | | int hash = 1; |
| | 5734 | | if (Message.Length != 0) hash ^= Message.GetHashCode(); |
| | 5735 | | if (_unknownFields != null) { |
| | 5736 | | hash ^= _unknownFields.GetHashCode(); |
| | 5737 | | } |
| | 5738 | | return hash; |
| | 5739 | | } |
| | 5740 | |
|
| | 5741 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5742 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5743 | | public override string ToString() { |
| | 5744 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5745 | | } |
| | 5746 | |
|
| | 5747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5749 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5750 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5751 | | output.WriteRawMessage(this); |
| | 5752 | | #else |
| | 5753 | | if (Message.Length != 0) { |
| | 5754 | | output.WriteRawTag(10); |
| | 5755 | | output.WriteString(Message); |
| | 5756 | | } |
| | 5757 | | if (_unknownFields != null) { |
| | 5758 | | _unknownFields.WriteTo(output); |
| | 5759 | | } |
| | 5760 | | #endif |
| | 5761 | | } |
| | 5762 | |
|
| | 5763 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5764 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5765 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5766 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5767 | | if (Message.Length != 0) { |
| | 5768 | | output.WriteRawTag(10); |
| | 5769 | | output.WriteString(Message); |
| | 5770 | | } |
| | 5771 | | if (_unknownFields != null) { |
| | 5772 | | _unknownFields.WriteTo(ref output); |
| | 5773 | | } |
| | 5774 | | } |
| | 5775 | | #endif |
| | 5776 | |
|
| | 5777 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5778 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5779 | | public int CalculateSize() { |
| | 5780 | | int size = 0; |
| | 5781 | | if (Message.Length != 0) { |
| | 5782 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
| | 5783 | | } |
| | 5784 | | if (_unknownFields != null) { |
| | 5785 | | size += _unknownFields.CalculateSize(); |
| | 5786 | | } |
| | 5787 | | return size; |
| | 5788 | | } |
| | 5789 | |
|
| | 5790 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5791 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5792 | | public void MergeFrom(InternalServerError other) { |
| | 5793 | | if (other == null) { |
| | 5794 | | return; |
| | 5795 | | } |
| | 5796 | | if (other.Message.Length != 0) { |
| | 5797 | | Message = other.Message; |
| | 5798 | | } |
| | 5799 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5800 | | } |
| | 5801 | |
|
| | 5802 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5803 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5804 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5805 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5806 | | input.ReadRawMessage(this); |
| | 5807 | | #else |
| | 5808 | | uint tag; |
| | 5809 | | while ((tag = input.ReadTag()) != 0) { |
| | 5810 | | switch(tag) { |
| | 5811 | | default: |
| | 5812 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5813 | | break; |
| | 5814 | | case 10: { |
| | 5815 | | Message = input.ReadString(); |
| | 5816 | | break; |
| | 5817 | | } |
| | 5818 | | } |
| | 5819 | | } |
| | 5820 | | #endif |
| | 5821 | | } |
| | 5822 | |
|
| | 5823 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5824 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5825 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5826 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5827 | | uint tag; |
| | 5828 | | while ((tag = input.ReadTag()) != 0) { |
| | 5829 | | switch(tag) { |
| | 5830 | | default: |
| | 5831 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5832 | | break; |
| | 5833 | | case 10: { |
| | 5834 | | Message = input.ReadString(); |
| | 5835 | | break; |
| | 5836 | | } |
| | 5837 | | } |
| | 5838 | | } |
| | 5839 | | } |
| | 5840 | | #endif |
| | 5841 | |
|
| | 5842 | | } |
| | 5843 | |
|
| | 5844 | | public sealed partial class UsersResponse : pb::IMessage<UsersResponse> |
| | 5845 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5846 | | , pb::IBufferMessage |
| | 5847 | | #endif |
| | 5848 | | { |
| | 5849 | | private static readonly pb::MessageParser<UsersResponse> _parser = new pb::MessageParser<UsersResponse>(() => new Us |
| | 5850 | | private pb::UnknownFieldSet _unknownFields; |
| | 5851 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5852 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5853 | | public static pb::MessageParser<UsersResponse> Parser { get { return _parser; } } |
| | 5854 | |
|
| | 5855 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5856 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5857 | | public static pbr::MessageDescriptor Descriptor { |
| | 5858 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[25]; } |
| | 5859 | | } |
| | 5860 | |
|
| | 5861 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5862 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5863 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5864 | | get { return Descriptor; } |
| | 5865 | | } |
| | 5866 | |
|
| | 5867 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5868 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5869 | | public UsersResponse() { |
| | 5870 | | OnConstruction(); |
| | 5871 | | } |
| | 5872 | |
|
| | 5873 | | partial void OnConstruction(); |
| | 5874 | |
|
| | 5875 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5876 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5877 | | public UsersResponse(UsersResponse other) : this() { |
| | 5878 | | switch (other.ResponseCase) { |
| | 5879 | | case ResponseOneofCase.Users: |
| | 5880 | | Users = other.Users.Clone(); |
| | 5881 | | break; |
| | 5882 | | case ResponseOneofCase.InternalServerError: |
| | 5883 | | InternalServerError = other.InternalServerError.Clone(); |
| | 5884 | | break; |
| | 5885 | | case ResponseOneofCase.UnauthorizedError: |
| | 5886 | | UnauthorizedError = other.UnauthorizedError.Clone(); |
| | 5887 | | break; |
| | 5888 | | case ResponseOneofCase.ForbiddenError: |
| | 5889 | | ForbiddenError = other.ForbiddenError.Clone(); |
| | 5890 | | break; |
| | 5891 | | case ResponseOneofCase.TooManyRequestsError: |
| | 5892 | | TooManyRequestsError = other.TooManyRequestsError.Clone(); |
| | 5893 | | break; |
| | 5894 | | case ResponseOneofCase.BadRequestError: |
| | 5895 | | BadRequestError = other.BadRequestError.Clone(); |
| | 5896 | | break; |
| | 5897 | | } |
| | 5898 | |
|
| | 5899 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5900 | | } |
| | 5901 | |
|
| | 5902 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5903 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5904 | | public UsersResponse Clone() { |
| | 5905 | | return new UsersResponse(this); |
| | 5906 | | } |
| | 5907 | |
|
| | 5908 | | /// <summary>Field number for the "users" field.</summary> |
| | 5909 | | public const int UsersFieldNumber = 1; |
| | 5910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5912 | | public global::Decentraland.Social.Friendships.Users Users { |
| | 5913 | | get { return responseCase_ == ResponseOneofCase.Users ? (global::Decentraland.Social.Friendships.Users) response_ |
| | 5914 | | set { |
| | 5915 | | response_ = value; |
| | 5916 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Users; |
| | 5917 | | } |
| | 5918 | | } |
| | 5919 | |
|
| | 5920 | | /// <summary>Field number for the "internal_server_error" field.</summary> |
| | 5921 | | public const int InternalServerErrorFieldNumber = 2; |
| | 5922 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5923 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5924 | | public global::Decentraland.Social.Friendships.InternalServerError InternalServerError { |
| | 5925 | | get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Social.Friendships.Int |
| | 5926 | | set { |
| | 5927 | | response_ = value; |
| | 5928 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError; |
| | 5929 | | } |
| | 5930 | | } |
| | 5931 | |
|
| | 5932 | | /// <summary>Field number for the "unauthorized_error" field.</summary> |
| | 5933 | | public const int UnauthorizedErrorFieldNumber = 3; |
| | 5934 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5935 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5936 | | public global::Decentraland.Social.Friendships.UnauthorizedError UnauthorizedError { |
| | 5937 | | get { return responseCase_ == ResponseOneofCase.UnauthorizedError ? (global::Decentraland.Social.Friendships.Unaut |
| | 5938 | | set { |
| | 5939 | | response_ = value; |
| | 5940 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.UnauthorizedError; |
| | 5941 | | } |
| | 5942 | | } |
| | 5943 | |
|
| | 5944 | | /// <summary>Field number for the "forbidden_error" field.</summary> |
| | 5945 | | public const int ForbiddenErrorFieldNumber = 4; |
| | 5946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5948 | | public global::Decentraland.Social.Friendships.ForbiddenError ForbiddenError { |
| | 5949 | | get { return responseCase_ == ResponseOneofCase.ForbiddenError ? (global::Decentraland.Social.Friendships.Forbidde |
| | 5950 | | set { |
| | 5951 | | response_ = value; |
| | 5952 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.ForbiddenError; |
| | 5953 | | } |
| | 5954 | | } |
| | 5955 | |
|
| | 5956 | | /// <summary>Field number for the "too_many_requests_error" field.</summary> |
| | 5957 | | public const int TooManyRequestsErrorFieldNumber = 5; |
| | 5958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5960 | | public global::Decentraland.Social.Friendships.TooManyRequestsError TooManyRequestsError { |
| | 5961 | | get { return responseCase_ == ResponseOneofCase.TooManyRequestsError ? (global::Decentraland.Social.Friendships.To |
| | 5962 | | set { |
| | 5963 | | response_ = value; |
| | 5964 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.TooManyRequestsError; |
| | 5965 | | } |
| | 5966 | | } |
| | 5967 | |
|
| | 5968 | | /// <summary>Field number for the "bad_request_error" field.</summary> |
| | 5969 | | public const int BadRequestErrorFieldNumber = 6; |
| | 5970 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5971 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5972 | | public global::Decentraland.Social.Friendships.BadRequestError BadRequestError { |
| | 5973 | | get { return responseCase_ == ResponseOneofCase.BadRequestError ? (global::Decentraland.Social.Friendships.BadRequ |
| | 5974 | | set { |
| | 5975 | | response_ = value; |
| | 5976 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.BadRequestError; |
| | 5977 | | } |
| | 5978 | | } |
| | 5979 | |
|
| | 5980 | | private object response_; |
| | 5981 | | /// <summary>Enum of possible cases for the "response" oneof.</summary> |
| | 5982 | | public enum ResponseOneofCase { |
| | 5983 | | None = 0, |
| | 5984 | | Users = 1, |
| | 5985 | | InternalServerError = 2, |
| | 5986 | | UnauthorizedError = 3, |
| | 5987 | | ForbiddenError = 4, |
| | 5988 | | TooManyRequestsError = 5, |
| | 5989 | | BadRequestError = 6, |
| | 5990 | | } |
| | 5991 | | private ResponseOneofCase responseCase_ = ResponseOneofCase.None; |
| | 5992 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5993 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5994 | | public ResponseOneofCase ResponseCase { |
| | 5995 | | get { return responseCase_; } |
| | 5996 | | } |
| | 5997 | |
|
| | 5998 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5999 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6000 | | public void ClearResponse() { |
| | 6001 | | responseCase_ = ResponseOneofCase.None; |
| | 6002 | | response_ = null; |
| | 6003 | | } |
| | 6004 | |
|
| | 6005 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6006 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6007 | | public override bool Equals(object other) { |
| | 6008 | | return Equals(other as UsersResponse); |
| | 6009 | | } |
| | 6010 | |
|
| | 6011 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6012 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6013 | | public bool Equals(UsersResponse other) { |
| | 6014 | | if (ReferenceEquals(other, null)) { |
| | 6015 | | return false; |
| | 6016 | | } |
| | 6017 | | if (ReferenceEquals(other, this)) { |
| | 6018 | | return true; |
| | 6019 | | } |
| | 6020 | | if (!object.Equals(Users, other.Users)) return false; |
| | 6021 | | if (!object.Equals(InternalServerError, other.InternalServerError)) return false; |
| | 6022 | | if (!object.Equals(UnauthorizedError, other.UnauthorizedError)) return false; |
| | 6023 | | if (!object.Equals(ForbiddenError, other.ForbiddenError)) return false; |
| | 6024 | | if (!object.Equals(TooManyRequestsError, other.TooManyRequestsError)) return false; |
| | 6025 | | if (!object.Equals(BadRequestError, other.BadRequestError)) return false; |
| | 6026 | | if (ResponseCase != other.ResponseCase) return false; |
| | 6027 | | return Equals(_unknownFields, other._unknownFields); |
| | 6028 | | } |
| | 6029 | |
|
| | 6030 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6031 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6032 | | public override int GetHashCode() { |
| | 6033 | | int hash = 1; |
| | 6034 | | if (responseCase_ == ResponseOneofCase.Users) hash ^= Users.GetHashCode(); |
| | 6035 | | if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode(); |
| | 6036 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) hash ^= UnauthorizedError.GetHashCode(); |
| | 6037 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) hash ^= ForbiddenError.GetHashCode(); |
| | 6038 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) hash ^= TooManyRequestsError.GetHashCode(); |
| | 6039 | | if (responseCase_ == ResponseOneofCase.BadRequestError) hash ^= BadRequestError.GetHashCode(); |
| | 6040 | | hash ^= (int) responseCase_; |
| | 6041 | | if (_unknownFields != null) { |
| | 6042 | | hash ^= _unknownFields.GetHashCode(); |
| | 6043 | | } |
| | 6044 | | return hash; |
| | 6045 | | } |
| | 6046 | |
|
| | 6047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6049 | | public override string ToString() { |
| | 6050 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6051 | | } |
| | 6052 | |
|
| | 6053 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6054 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6055 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6056 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6057 | | output.WriteRawMessage(this); |
| | 6058 | | #else |
| | 6059 | | if (responseCase_ == ResponseOneofCase.Users) { |
| | 6060 | | output.WriteRawTag(10); |
| | 6061 | | output.WriteMessage(Users); |
| | 6062 | | } |
| | 6063 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6064 | | output.WriteRawTag(18); |
| | 6065 | | output.WriteMessage(InternalServerError); |
| | 6066 | | } |
| | 6067 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6068 | | output.WriteRawTag(26); |
| | 6069 | | output.WriteMessage(UnauthorizedError); |
| | 6070 | | } |
| | 6071 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6072 | | output.WriteRawTag(34); |
| | 6073 | | output.WriteMessage(ForbiddenError); |
| | 6074 | | } |
| | 6075 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6076 | | output.WriteRawTag(42); |
| | 6077 | | output.WriteMessage(TooManyRequestsError); |
| | 6078 | | } |
| | 6079 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 6080 | | output.WriteRawTag(50); |
| | 6081 | | output.WriteMessage(BadRequestError); |
| | 6082 | | } |
| | 6083 | | if (_unknownFields != null) { |
| | 6084 | | _unknownFields.WriteTo(output); |
| | 6085 | | } |
| | 6086 | | #endif |
| | 6087 | | } |
| | 6088 | |
|
| | 6089 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6090 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6091 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6092 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6093 | | if (responseCase_ == ResponseOneofCase.Users) { |
| | 6094 | | output.WriteRawTag(10); |
| | 6095 | | output.WriteMessage(Users); |
| | 6096 | | } |
| | 6097 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6098 | | output.WriteRawTag(18); |
| | 6099 | | output.WriteMessage(InternalServerError); |
| | 6100 | | } |
| | 6101 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6102 | | output.WriteRawTag(26); |
| | 6103 | | output.WriteMessage(UnauthorizedError); |
| | 6104 | | } |
| | 6105 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6106 | | output.WriteRawTag(34); |
| | 6107 | | output.WriteMessage(ForbiddenError); |
| | 6108 | | } |
| | 6109 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6110 | | output.WriteRawTag(42); |
| | 6111 | | output.WriteMessage(TooManyRequestsError); |
| | 6112 | | } |
| | 6113 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 6114 | | output.WriteRawTag(50); |
| | 6115 | | output.WriteMessage(BadRequestError); |
| | 6116 | | } |
| | 6117 | | if (_unknownFields != null) { |
| | 6118 | | _unknownFields.WriteTo(ref output); |
| | 6119 | | } |
| | 6120 | | } |
| | 6121 | | #endif |
| | 6122 | |
|
| | 6123 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6124 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6125 | | public int CalculateSize() { |
| | 6126 | | int size = 0; |
| | 6127 | | if (responseCase_ == ResponseOneofCase.Users) { |
| | 6128 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Users); |
| | 6129 | | } |
| | 6130 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6131 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError); |
| | 6132 | | } |
| | 6133 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6134 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnauthorizedError); |
| | 6135 | | } |
| | 6136 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6137 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ForbiddenError); |
| | 6138 | | } |
| | 6139 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6140 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(TooManyRequestsError); |
| | 6141 | | } |
| | 6142 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 6143 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BadRequestError); |
| | 6144 | | } |
| | 6145 | | if (_unknownFields != null) { |
| | 6146 | | size += _unknownFields.CalculateSize(); |
| | 6147 | | } |
| | 6148 | | return size; |
| | 6149 | | } |
| | 6150 | |
|
| | 6151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6153 | | public void MergeFrom(UsersResponse other) { |
| | 6154 | | if (other == null) { |
| | 6155 | | return; |
| | 6156 | | } |
| | 6157 | | switch (other.ResponseCase) { |
| | 6158 | | case ResponseOneofCase.Users: |
| | 6159 | | if (Users == null) { |
| | 6160 | | Users = new global::Decentraland.Social.Friendships.Users(); |
| | 6161 | | } |
| | 6162 | | Users.MergeFrom(other.Users); |
| | 6163 | | break; |
| | 6164 | | case ResponseOneofCase.InternalServerError: |
| | 6165 | | if (InternalServerError == null) { |
| | 6166 | | InternalServerError = new global::Decentraland.Social.Friendships.InternalServerError(); |
| | 6167 | | } |
| | 6168 | | InternalServerError.MergeFrom(other.InternalServerError); |
| | 6169 | | break; |
| | 6170 | | case ResponseOneofCase.UnauthorizedError: |
| | 6171 | | if (UnauthorizedError == null) { |
| | 6172 | | UnauthorizedError = new global::Decentraland.Social.Friendships.UnauthorizedError(); |
| | 6173 | | } |
| | 6174 | | UnauthorizedError.MergeFrom(other.UnauthorizedError); |
| | 6175 | | break; |
| | 6176 | | case ResponseOneofCase.ForbiddenError: |
| | 6177 | | if (ForbiddenError == null) { |
| | 6178 | | ForbiddenError = new global::Decentraland.Social.Friendships.ForbiddenError(); |
| | 6179 | | } |
| | 6180 | | ForbiddenError.MergeFrom(other.ForbiddenError); |
| | 6181 | | break; |
| | 6182 | | case ResponseOneofCase.TooManyRequestsError: |
| | 6183 | | if (TooManyRequestsError == null) { |
| | 6184 | | TooManyRequestsError = new global::Decentraland.Social.Friendships.TooManyRequestsError(); |
| | 6185 | | } |
| | 6186 | | TooManyRequestsError.MergeFrom(other.TooManyRequestsError); |
| | 6187 | | break; |
| | 6188 | | case ResponseOneofCase.BadRequestError: |
| | 6189 | | if (BadRequestError == null) { |
| | 6190 | | BadRequestError = new global::Decentraland.Social.Friendships.BadRequestError(); |
| | 6191 | | } |
| | 6192 | | BadRequestError.MergeFrom(other.BadRequestError); |
| | 6193 | | break; |
| | 6194 | | } |
| | 6195 | |
|
| | 6196 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6197 | | } |
| | 6198 | |
|
| | 6199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6201 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6202 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6203 | | input.ReadRawMessage(this); |
| | 6204 | | #else |
| | 6205 | | uint tag; |
| | 6206 | | while ((tag = input.ReadTag()) != 0) { |
| | 6207 | | switch(tag) { |
| | 6208 | | default: |
| | 6209 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6210 | | break; |
| | 6211 | | case 10: { |
| | 6212 | | global::Decentraland.Social.Friendships.Users subBuilder = new global::Decentraland.Social.Friendships.Users |
| | 6213 | | if (responseCase_ == ResponseOneofCase.Users) { |
| | 6214 | | subBuilder.MergeFrom(Users); |
| | 6215 | | } |
| | 6216 | | input.ReadMessage(subBuilder); |
| | 6217 | | Users = subBuilder; |
| | 6218 | | break; |
| | 6219 | | } |
| | 6220 | | case 18: { |
| | 6221 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 6222 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6223 | | subBuilder.MergeFrom(InternalServerError); |
| | 6224 | | } |
| | 6225 | | input.ReadMessage(subBuilder); |
| | 6226 | | InternalServerError = subBuilder; |
| | 6227 | | break; |
| | 6228 | | } |
| | 6229 | | case 26: { |
| | 6230 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 6231 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6232 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 6233 | | } |
| | 6234 | | input.ReadMessage(subBuilder); |
| | 6235 | | UnauthorizedError = subBuilder; |
| | 6236 | | break; |
| | 6237 | | } |
| | 6238 | | case 34: { |
| | 6239 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 6240 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6241 | | subBuilder.MergeFrom(ForbiddenError); |
| | 6242 | | } |
| | 6243 | | input.ReadMessage(subBuilder); |
| | 6244 | | ForbiddenError = subBuilder; |
| | 6245 | | break; |
| | 6246 | | } |
| | 6247 | | case 42: { |
| | 6248 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 6249 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6250 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 6251 | | } |
| | 6252 | | input.ReadMessage(subBuilder); |
| | 6253 | | TooManyRequestsError = subBuilder; |
| | 6254 | | break; |
| | 6255 | | } |
| | 6256 | | case 50: { |
| | 6257 | | global::Decentraland.Social.Friendships.BadRequestError subBuilder = new global::Decentraland.Social.Friends |
| | 6258 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 6259 | | subBuilder.MergeFrom(BadRequestError); |
| | 6260 | | } |
| | 6261 | | input.ReadMessage(subBuilder); |
| | 6262 | | BadRequestError = subBuilder; |
| | 6263 | | break; |
| | 6264 | | } |
| | 6265 | | } |
| | 6266 | | } |
| | 6267 | | #endif |
| | 6268 | | } |
| | 6269 | |
|
| | 6270 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6271 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6272 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6273 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6274 | | uint tag; |
| | 6275 | | while ((tag = input.ReadTag()) != 0) { |
| | 6276 | | switch(tag) { |
| | 6277 | | default: |
| | 6278 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6279 | | break; |
| | 6280 | | case 10: { |
| | 6281 | | global::Decentraland.Social.Friendships.Users subBuilder = new global::Decentraland.Social.Friendships.Users |
| | 6282 | | if (responseCase_ == ResponseOneofCase.Users) { |
| | 6283 | | subBuilder.MergeFrom(Users); |
| | 6284 | | } |
| | 6285 | | input.ReadMessage(subBuilder); |
| | 6286 | | Users = subBuilder; |
| | 6287 | | break; |
| | 6288 | | } |
| | 6289 | | case 18: { |
| | 6290 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 6291 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6292 | | subBuilder.MergeFrom(InternalServerError); |
| | 6293 | | } |
| | 6294 | | input.ReadMessage(subBuilder); |
| | 6295 | | InternalServerError = subBuilder; |
| | 6296 | | break; |
| | 6297 | | } |
| | 6298 | | case 26: { |
| | 6299 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 6300 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6301 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 6302 | | } |
| | 6303 | | input.ReadMessage(subBuilder); |
| | 6304 | | UnauthorizedError = subBuilder; |
| | 6305 | | break; |
| | 6306 | | } |
| | 6307 | | case 34: { |
| | 6308 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 6309 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6310 | | subBuilder.MergeFrom(ForbiddenError); |
| | 6311 | | } |
| | 6312 | | input.ReadMessage(subBuilder); |
| | 6313 | | ForbiddenError = subBuilder; |
| | 6314 | | break; |
| | 6315 | | } |
| | 6316 | | case 42: { |
| | 6317 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 6318 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6319 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 6320 | | } |
| | 6321 | | input.ReadMessage(subBuilder); |
| | 6322 | | TooManyRequestsError = subBuilder; |
| | 6323 | | break; |
| | 6324 | | } |
| | 6325 | | case 50: { |
| | 6326 | | global::Decentraland.Social.Friendships.BadRequestError subBuilder = new global::Decentraland.Social.Friends |
| | 6327 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 6328 | | subBuilder.MergeFrom(BadRequestError); |
| | 6329 | | } |
| | 6330 | | input.ReadMessage(subBuilder); |
| | 6331 | | BadRequestError = subBuilder; |
| | 6332 | | break; |
| | 6333 | | } |
| | 6334 | | } |
| | 6335 | | } |
| | 6336 | | } |
| | 6337 | | #endif |
| | 6338 | |
|
| | 6339 | | } |
| | 6340 | |
|
| | 6341 | | public sealed partial class RequestEventsResponse : pb::IMessage<RequestEventsResponse> |
| | 6342 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6343 | | , pb::IBufferMessage |
| | 6344 | | #endif |
| | 6345 | | { |
| | 6346 | | private static readonly pb::MessageParser<RequestEventsResponse> _parser = new pb::MessageParser<RequestEventsRespon |
| | 6347 | | private pb::UnknownFieldSet _unknownFields; |
| | 6348 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6349 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6350 | | public static pb::MessageParser<RequestEventsResponse> Parser { get { return _parser; } } |
| | 6351 | |
|
| | 6352 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6353 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6354 | | public static pbr::MessageDescriptor Descriptor { |
| | 6355 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[26]; } |
| | 6356 | | } |
| | 6357 | |
|
| | 6358 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6359 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6360 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6361 | | get { return Descriptor; } |
| | 6362 | | } |
| | 6363 | |
|
| | 6364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6366 | | public RequestEventsResponse() { |
| | 6367 | | OnConstruction(); |
| | 6368 | | } |
| | 6369 | |
|
| | 6370 | | partial void OnConstruction(); |
| | 6371 | |
|
| | 6372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6373 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6374 | | public RequestEventsResponse(RequestEventsResponse other) : this() { |
| | 6375 | | switch (other.ResponseCase) { |
| | 6376 | | case ResponseOneofCase.Events: |
| | 6377 | | Events = other.Events.Clone(); |
| | 6378 | | break; |
| | 6379 | | case ResponseOneofCase.InternalServerError: |
| | 6380 | | InternalServerError = other.InternalServerError.Clone(); |
| | 6381 | | break; |
| | 6382 | | case ResponseOneofCase.UnauthorizedError: |
| | 6383 | | UnauthorizedError = other.UnauthorizedError.Clone(); |
| | 6384 | | break; |
| | 6385 | | case ResponseOneofCase.ForbiddenError: |
| | 6386 | | ForbiddenError = other.ForbiddenError.Clone(); |
| | 6387 | | break; |
| | 6388 | | case ResponseOneofCase.TooManyRequestsError: |
| | 6389 | | TooManyRequestsError = other.TooManyRequestsError.Clone(); |
| | 6390 | | break; |
| | 6391 | | } |
| | 6392 | |
|
| | 6393 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6394 | | } |
| | 6395 | |
|
| | 6396 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6397 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6398 | | public RequestEventsResponse Clone() { |
| | 6399 | | return new RequestEventsResponse(this); |
| | 6400 | | } |
| | 6401 | |
|
| | 6402 | | /// <summary>Field number for the "events" field.</summary> |
| | 6403 | | public const int EventsFieldNumber = 1; |
| | 6404 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6405 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6406 | | public global::Decentraland.Social.Friendships.RequestEvents Events { |
| | 6407 | | get { return responseCase_ == ResponseOneofCase.Events ? (global::Decentraland.Social.Friendships.RequestEvents) r |
| | 6408 | | set { |
| | 6409 | | response_ = value; |
| | 6410 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Events; |
| | 6411 | | } |
| | 6412 | | } |
| | 6413 | |
|
| | 6414 | | /// <summary>Field number for the "internal_server_error" field.</summary> |
| | 6415 | | public const int InternalServerErrorFieldNumber = 2; |
| | 6416 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6417 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6418 | | public global::Decentraland.Social.Friendships.InternalServerError InternalServerError { |
| | 6419 | | get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Social.Friendships.Int |
| | 6420 | | set { |
| | 6421 | | response_ = value; |
| | 6422 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError; |
| | 6423 | | } |
| | 6424 | | } |
| | 6425 | |
|
| | 6426 | | /// <summary>Field number for the "unauthorized_error" field.</summary> |
| | 6427 | | public const int UnauthorizedErrorFieldNumber = 3; |
| | 6428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6430 | | public global::Decentraland.Social.Friendships.UnauthorizedError UnauthorizedError { |
| | 6431 | | get { return responseCase_ == ResponseOneofCase.UnauthorizedError ? (global::Decentraland.Social.Friendships.Unaut |
| | 6432 | | set { |
| | 6433 | | response_ = value; |
| | 6434 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.UnauthorizedError; |
| | 6435 | | } |
| | 6436 | | } |
| | 6437 | |
|
| | 6438 | | /// <summary>Field number for the "forbidden_error" field.</summary> |
| | 6439 | | public const int ForbiddenErrorFieldNumber = 4; |
| | 6440 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6441 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6442 | | public global::Decentraland.Social.Friendships.ForbiddenError ForbiddenError { |
| | 6443 | | get { return responseCase_ == ResponseOneofCase.ForbiddenError ? (global::Decentraland.Social.Friendships.Forbidde |
| | 6444 | | set { |
| | 6445 | | response_ = value; |
| | 6446 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.ForbiddenError; |
| | 6447 | | } |
| | 6448 | | } |
| | 6449 | |
|
| | 6450 | | /// <summary>Field number for the "too_many_requests_error" field.</summary> |
| | 6451 | | public const int TooManyRequestsErrorFieldNumber = 5; |
| | 6452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6454 | | public global::Decentraland.Social.Friendships.TooManyRequestsError TooManyRequestsError { |
| | 6455 | | get { return responseCase_ == ResponseOneofCase.TooManyRequestsError ? (global::Decentraland.Social.Friendships.To |
| | 6456 | | set { |
| | 6457 | | response_ = value; |
| | 6458 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.TooManyRequestsError; |
| | 6459 | | } |
| | 6460 | | } |
| | 6461 | |
|
| | 6462 | | private object response_; |
| | 6463 | | /// <summary>Enum of possible cases for the "response" oneof.</summary> |
| | 6464 | | public enum ResponseOneofCase { |
| | 6465 | | None = 0, |
| | 6466 | | Events = 1, |
| | 6467 | | InternalServerError = 2, |
| | 6468 | | UnauthorizedError = 3, |
| | 6469 | | ForbiddenError = 4, |
| | 6470 | | TooManyRequestsError = 5, |
| | 6471 | | } |
| | 6472 | | private ResponseOneofCase responseCase_ = ResponseOneofCase.None; |
| | 6473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6475 | | public ResponseOneofCase ResponseCase { |
| | 6476 | | get { return responseCase_; } |
| | 6477 | | } |
| | 6478 | |
|
| | 6479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6481 | | public void ClearResponse() { |
| | 6482 | | responseCase_ = ResponseOneofCase.None; |
| | 6483 | | response_ = null; |
| | 6484 | | } |
| | 6485 | |
|
| | 6486 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6487 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6488 | | public override bool Equals(object other) { |
| | 6489 | | return Equals(other as RequestEventsResponse); |
| | 6490 | | } |
| | 6491 | |
|
| | 6492 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6493 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6494 | | public bool Equals(RequestEventsResponse other) { |
| | 6495 | | if (ReferenceEquals(other, null)) { |
| | 6496 | | return false; |
| | 6497 | | } |
| | 6498 | | if (ReferenceEquals(other, this)) { |
| | 6499 | | return true; |
| | 6500 | | } |
| | 6501 | | if (!object.Equals(Events, other.Events)) return false; |
| | 6502 | | if (!object.Equals(InternalServerError, other.InternalServerError)) return false; |
| | 6503 | | if (!object.Equals(UnauthorizedError, other.UnauthorizedError)) return false; |
| | 6504 | | if (!object.Equals(ForbiddenError, other.ForbiddenError)) return false; |
| | 6505 | | if (!object.Equals(TooManyRequestsError, other.TooManyRequestsError)) return false; |
| | 6506 | | if (ResponseCase != other.ResponseCase) return false; |
| | 6507 | | return Equals(_unknownFields, other._unknownFields); |
| | 6508 | | } |
| | 6509 | |
|
| | 6510 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6511 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6512 | | public override int GetHashCode() { |
| | 6513 | | int hash = 1; |
| | 6514 | | if (responseCase_ == ResponseOneofCase.Events) hash ^= Events.GetHashCode(); |
| | 6515 | | if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode(); |
| | 6516 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) hash ^= UnauthorizedError.GetHashCode(); |
| | 6517 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) hash ^= ForbiddenError.GetHashCode(); |
| | 6518 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) hash ^= TooManyRequestsError.GetHashCode(); |
| | 6519 | | hash ^= (int) responseCase_; |
| | 6520 | | if (_unknownFields != null) { |
| | 6521 | | hash ^= _unknownFields.GetHashCode(); |
| | 6522 | | } |
| | 6523 | | return hash; |
| | 6524 | | } |
| | 6525 | |
|
| | 6526 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6527 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6528 | | public override string ToString() { |
| | 6529 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6530 | | } |
| | 6531 | |
|
| | 6532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6534 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6535 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6536 | | output.WriteRawMessage(this); |
| | 6537 | | #else |
| | 6538 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 6539 | | output.WriteRawTag(10); |
| | 6540 | | output.WriteMessage(Events); |
| | 6541 | | } |
| | 6542 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6543 | | output.WriteRawTag(18); |
| | 6544 | | output.WriteMessage(InternalServerError); |
| | 6545 | | } |
| | 6546 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6547 | | output.WriteRawTag(26); |
| | 6548 | | output.WriteMessage(UnauthorizedError); |
| | 6549 | | } |
| | 6550 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6551 | | output.WriteRawTag(34); |
| | 6552 | | output.WriteMessage(ForbiddenError); |
| | 6553 | | } |
| | 6554 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6555 | | output.WriteRawTag(42); |
| | 6556 | | output.WriteMessage(TooManyRequestsError); |
| | 6557 | | } |
| | 6558 | | if (_unknownFields != null) { |
| | 6559 | | _unknownFields.WriteTo(output); |
| | 6560 | | } |
| | 6561 | | #endif |
| | 6562 | | } |
| | 6563 | |
|
| | 6564 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6565 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6566 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6567 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6568 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 6569 | | output.WriteRawTag(10); |
| | 6570 | | output.WriteMessage(Events); |
| | 6571 | | } |
| | 6572 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6573 | | output.WriteRawTag(18); |
| | 6574 | | output.WriteMessage(InternalServerError); |
| | 6575 | | } |
| | 6576 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6577 | | output.WriteRawTag(26); |
| | 6578 | | output.WriteMessage(UnauthorizedError); |
| | 6579 | | } |
| | 6580 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6581 | | output.WriteRawTag(34); |
| | 6582 | | output.WriteMessage(ForbiddenError); |
| | 6583 | | } |
| | 6584 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6585 | | output.WriteRawTag(42); |
| | 6586 | | output.WriteMessage(TooManyRequestsError); |
| | 6587 | | } |
| | 6588 | | if (_unknownFields != null) { |
| | 6589 | | _unknownFields.WriteTo(ref output); |
| | 6590 | | } |
| | 6591 | | } |
| | 6592 | | #endif |
| | 6593 | |
|
| | 6594 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6595 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6596 | | public int CalculateSize() { |
| | 6597 | | int size = 0; |
| | 6598 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 6599 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); |
| | 6600 | | } |
| | 6601 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6602 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError); |
| | 6603 | | } |
| | 6604 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6605 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnauthorizedError); |
| | 6606 | | } |
| | 6607 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6608 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ForbiddenError); |
| | 6609 | | } |
| | 6610 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6611 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(TooManyRequestsError); |
| | 6612 | | } |
| | 6613 | | if (_unknownFields != null) { |
| | 6614 | | size += _unknownFields.CalculateSize(); |
| | 6615 | | } |
| | 6616 | | return size; |
| | 6617 | | } |
| | 6618 | |
|
| | 6619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6621 | | public void MergeFrom(RequestEventsResponse other) { |
| | 6622 | | if (other == null) { |
| | 6623 | | return; |
| | 6624 | | } |
| | 6625 | | switch (other.ResponseCase) { |
| | 6626 | | case ResponseOneofCase.Events: |
| | 6627 | | if (Events == null) { |
| | 6628 | | Events = new global::Decentraland.Social.Friendships.RequestEvents(); |
| | 6629 | | } |
| | 6630 | | Events.MergeFrom(other.Events); |
| | 6631 | | break; |
| | 6632 | | case ResponseOneofCase.InternalServerError: |
| | 6633 | | if (InternalServerError == null) { |
| | 6634 | | InternalServerError = new global::Decentraland.Social.Friendships.InternalServerError(); |
| | 6635 | | } |
| | 6636 | | InternalServerError.MergeFrom(other.InternalServerError); |
| | 6637 | | break; |
| | 6638 | | case ResponseOneofCase.UnauthorizedError: |
| | 6639 | | if (UnauthorizedError == null) { |
| | 6640 | | UnauthorizedError = new global::Decentraland.Social.Friendships.UnauthorizedError(); |
| | 6641 | | } |
| | 6642 | | UnauthorizedError.MergeFrom(other.UnauthorizedError); |
| | 6643 | | break; |
| | 6644 | | case ResponseOneofCase.ForbiddenError: |
| | 6645 | | if (ForbiddenError == null) { |
| | 6646 | | ForbiddenError = new global::Decentraland.Social.Friendships.ForbiddenError(); |
| | 6647 | | } |
| | 6648 | | ForbiddenError.MergeFrom(other.ForbiddenError); |
| | 6649 | | break; |
| | 6650 | | case ResponseOneofCase.TooManyRequestsError: |
| | 6651 | | if (TooManyRequestsError == null) { |
| | 6652 | | TooManyRequestsError = new global::Decentraland.Social.Friendships.TooManyRequestsError(); |
| | 6653 | | } |
| | 6654 | | TooManyRequestsError.MergeFrom(other.TooManyRequestsError); |
| | 6655 | | break; |
| | 6656 | | } |
| | 6657 | |
|
| | 6658 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6659 | | } |
| | 6660 | |
|
| | 6661 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6662 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6663 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6664 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6665 | | input.ReadRawMessage(this); |
| | 6666 | | #else |
| | 6667 | | uint tag; |
| | 6668 | | while ((tag = input.ReadTag()) != 0) { |
| | 6669 | | switch(tag) { |
| | 6670 | | default: |
| | 6671 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6672 | | break; |
| | 6673 | | case 10: { |
| | 6674 | | global::Decentraland.Social.Friendships.RequestEvents subBuilder = new global::Decentraland.Social.Friendshi |
| | 6675 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 6676 | | subBuilder.MergeFrom(Events); |
| | 6677 | | } |
| | 6678 | | input.ReadMessage(subBuilder); |
| | 6679 | | Events = subBuilder; |
| | 6680 | | break; |
| | 6681 | | } |
| | 6682 | | case 18: { |
| | 6683 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 6684 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6685 | | subBuilder.MergeFrom(InternalServerError); |
| | 6686 | | } |
| | 6687 | | input.ReadMessage(subBuilder); |
| | 6688 | | InternalServerError = subBuilder; |
| | 6689 | | break; |
| | 6690 | | } |
| | 6691 | | case 26: { |
| | 6692 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 6693 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6694 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 6695 | | } |
| | 6696 | | input.ReadMessage(subBuilder); |
| | 6697 | | UnauthorizedError = subBuilder; |
| | 6698 | | break; |
| | 6699 | | } |
| | 6700 | | case 34: { |
| | 6701 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 6702 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6703 | | subBuilder.MergeFrom(ForbiddenError); |
| | 6704 | | } |
| | 6705 | | input.ReadMessage(subBuilder); |
| | 6706 | | ForbiddenError = subBuilder; |
| | 6707 | | break; |
| | 6708 | | } |
| | 6709 | | case 42: { |
| | 6710 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 6711 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6712 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 6713 | | } |
| | 6714 | | input.ReadMessage(subBuilder); |
| | 6715 | | TooManyRequestsError = subBuilder; |
| | 6716 | | break; |
| | 6717 | | } |
| | 6718 | | } |
| | 6719 | | } |
| | 6720 | | #endif |
| | 6721 | | } |
| | 6722 | |
|
| | 6723 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6724 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6725 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6726 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6727 | | uint tag; |
| | 6728 | | while ((tag = input.ReadTag()) != 0) { |
| | 6729 | | switch(tag) { |
| | 6730 | | default: |
| | 6731 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6732 | | break; |
| | 6733 | | case 10: { |
| | 6734 | | global::Decentraland.Social.Friendships.RequestEvents subBuilder = new global::Decentraland.Social.Friendshi |
| | 6735 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 6736 | | subBuilder.MergeFrom(Events); |
| | 6737 | | } |
| | 6738 | | input.ReadMessage(subBuilder); |
| | 6739 | | Events = subBuilder; |
| | 6740 | | break; |
| | 6741 | | } |
| | 6742 | | case 18: { |
| | 6743 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 6744 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 6745 | | subBuilder.MergeFrom(InternalServerError); |
| | 6746 | | } |
| | 6747 | | input.ReadMessage(subBuilder); |
| | 6748 | | InternalServerError = subBuilder; |
| | 6749 | | break; |
| | 6750 | | } |
| | 6751 | | case 26: { |
| | 6752 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 6753 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 6754 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 6755 | | } |
| | 6756 | | input.ReadMessage(subBuilder); |
| | 6757 | | UnauthorizedError = subBuilder; |
| | 6758 | | break; |
| | 6759 | | } |
| | 6760 | | case 34: { |
| | 6761 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 6762 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 6763 | | subBuilder.MergeFrom(ForbiddenError); |
| | 6764 | | } |
| | 6765 | | input.ReadMessage(subBuilder); |
| | 6766 | | ForbiddenError = subBuilder; |
| | 6767 | | break; |
| | 6768 | | } |
| | 6769 | | case 42: { |
| | 6770 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 6771 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 6772 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 6773 | | } |
| | 6774 | | input.ReadMessage(subBuilder); |
| | 6775 | | TooManyRequestsError = subBuilder; |
| | 6776 | | break; |
| | 6777 | | } |
| | 6778 | | } |
| | 6779 | | } |
| | 6780 | | } |
| | 6781 | | #endif |
| | 6782 | |
|
| | 6783 | | } |
| | 6784 | |
|
| | 6785 | | public sealed partial class UpdateFriendshipResponse : pb::IMessage<UpdateFriendshipResponse> |
| | 6786 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6787 | | , pb::IBufferMessage |
| | 6788 | | #endif |
| | 6789 | | { |
| | 6790 | | private static readonly pb::MessageParser<UpdateFriendshipResponse> _parser = new pb::MessageParser<UpdateFriendship |
| | 6791 | | private pb::UnknownFieldSet _unknownFields; |
| | 6792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6794 | | public static pb::MessageParser<UpdateFriendshipResponse> Parser { get { return _parser; } } |
| | 6795 | |
|
| | 6796 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6797 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6798 | | public static pbr::MessageDescriptor Descriptor { |
| | 6799 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[27]; } |
| | 6800 | | } |
| | 6801 | |
|
| | 6802 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6803 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6804 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6805 | | get { return Descriptor; } |
| | 6806 | | } |
| | 6807 | |
|
| | 6808 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6809 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6810 | | public UpdateFriendshipResponse() { |
| | 6811 | | OnConstruction(); |
| | 6812 | | } |
| | 6813 | |
|
| | 6814 | | partial void OnConstruction(); |
| | 6815 | |
|
| | 6816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6818 | | public UpdateFriendshipResponse(UpdateFriendshipResponse other) : this() { |
| | 6819 | | switch (other.ResponseCase) { |
| | 6820 | | case ResponseOneofCase.Event: |
| | 6821 | | Event = other.Event.Clone(); |
| | 6822 | | break; |
| | 6823 | | case ResponseOneofCase.InternalServerError: |
| | 6824 | | InternalServerError = other.InternalServerError.Clone(); |
| | 6825 | | break; |
| | 6826 | | case ResponseOneofCase.UnauthorizedError: |
| | 6827 | | UnauthorizedError = other.UnauthorizedError.Clone(); |
| | 6828 | | break; |
| | 6829 | | case ResponseOneofCase.ForbiddenError: |
| | 6830 | | ForbiddenError = other.ForbiddenError.Clone(); |
| | 6831 | | break; |
| | 6832 | | case ResponseOneofCase.TooManyRequestsError: |
| | 6833 | | TooManyRequestsError = other.TooManyRequestsError.Clone(); |
| | 6834 | | break; |
| | 6835 | | case ResponseOneofCase.BadRequestError: |
| | 6836 | | BadRequestError = other.BadRequestError.Clone(); |
| | 6837 | | break; |
| | 6838 | | } |
| | 6839 | |
|
| | 6840 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6841 | | } |
| | 6842 | |
|
| | 6843 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6844 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6845 | | public UpdateFriendshipResponse Clone() { |
| | 6846 | | return new UpdateFriendshipResponse(this); |
| | 6847 | | } |
| | 6848 | |
|
| | 6849 | | /// <summary>Field number for the "event" field.</summary> |
| | 6850 | | public const int EventFieldNumber = 1; |
| | 6851 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6852 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6853 | | public global::Decentraland.Social.Friendships.FriendshipEventResponse Event { |
| | 6854 | | get { return responseCase_ == ResponseOneofCase.Event ? (global::Decentraland.Social.Friendships.FriendshipEventRe |
| | 6855 | | set { |
| | 6856 | | response_ = value; |
| | 6857 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Event; |
| | 6858 | | } |
| | 6859 | | } |
| | 6860 | |
|
| | 6861 | | /// <summary>Field number for the "internal_server_error" field.</summary> |
| | 6862 | | public const int InternalServerErrorFieldNumber = 2; |
| | 6863 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6864 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6865 | | public global::Decentraland.Social.Friendships.InternalServerError InternalServerError { |
| | 6866 | | get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Social.Friendships.Int |
| | 6867 | | set { |
| | 6868 | | response_ = value; |
| | 6869 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError; |
| | 6870 | | } |
| | 6871 | | } |
| | 6872 | |
|
| | 6873 | | /// <summary>Field number for the "unauthorized_error" field.</summary> |
| | 6874 | | public const int UnauthorizedErrorFieldNumber = 3; |
| | 6875 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6876 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6877 | | public global::Decentraland.Social.Friendships.UnauthorizedError UnauthorizedError { |
| | 6878 | | get { return responseCase_ == ResponseOneofCase.UnauthorizedError ? (global::Decentraland.Social.Friendships.Unaut |
| | 6879 | | set { |
| | 6880 | | response_ = value; |
| | 6881 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.UnauthorizedError; |
| | 6882 | | } |
| | 6883 | | } |
| | 6884 | |
|
| | 6885 | | /// <summary>Field number for the "forbidden_error" field.</summary> |
| | 6886 | | public const int ForbiddenErrorFieldNumber = 4; |
| | 6887 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6888 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6889 | | public global::Decentraland.Social.Friendships.ForbiddenError ForbiddenError { |
| | 6890 | | get { return responseCase_ == ResponseOneofCase.ForbiddenError ? (global::Decentraland.Social.Friendships.Forbidde |
| | 6891 | | set { |
| | 6892 | | response_ = value; |
| | 6893 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.ForbiddenError; |
| | 6894 | | } |
| | 6895 | | } |
| | 6896 | |
|
| | 6897 | | /// <summary>Field number for the "too_many_requests_error" field.</summary> |
| | 6898 | | public const int TooManyRequestsErrorFieldNumber = 5; |
| | 6899 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6900 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6901 | | public global::Decentraland.Social.Friendships.TooManyRequestsError TooManyRequestsError { |
| | 6902 | | get { return responseCase_ == ResponseOneofCase.TooManyRequestsError ? (global::Decentraland.Social.Friendships.To |
| | 6903 | | set { |
| | 6904 | | response_ = value; |
| | 6905 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.TooManyRequestsError; |
| | 6906 | | } |
| | 6907 | | } |
| | 6908 | |
|
| | 6909 | | /// <summary>Field number for the "bad_request_error" field.</summary> |
| | 6910 | | public const int BadRequestErrorFieldNumber = 6; |
| | 6911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6913 | | public global::Decentraland.Social.Friendships.BadRequestError BadRequestError { |
| | 6914 | | get { return responseCase_ == ResponseOneofCase.BadRequestError ? (global::Decentraland.Social.Friendships.BadRequ |
| | 6915 | | set { |
| | 6916 | | response_ = value; |
| | 6917 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.BadRequestError; |
| | 6918 | | } |
| | 6919 | | } |
| | 6920 | |
|
| | 6921 | | private object response_; |
| | 6922 | | /// <summary>Enum of possible cases for the "response" oneof.</summary> |
| | 6923 | | public enum ResponseOneofCase { |
| | 6924 | | None = 0, |
| | 6925 | | Event = 1, |
| | 6926 | | InternalServerError = 2, |
| | 6927 | | UnauthorizedError = 3, |
| | 6928 | | ForbiddenError = 4, |
| | 6929 | | TooManyRequestsError = 5, |
| | 6930 | | BadRequestError = 6, |
| | 6931 | | } |
| | 6932 | | private ResponseOneofCase responseCase_ = ResponseOneofCase.None; |
| | 6933 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6934 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6935 | | public ResponseOneofCase ResponseCase { |
| | 6936 | | get { return responseCase_; } |
| | 6937 | | } |
| | 6938 | |
|
| | 6939 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6940 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6941 | | public void ClearResponse() { |
| | 6942 | | responseCase_ = ResponseOneofCase.None; |
| | 6943 | | response_ = null; |
| | 6944 | | } |
| | 6945 | |
|
| | 6946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6948 | | public override bool Equals(object other) { |
| | 6949 | | return Equals(other as UpdateFriendshipResponse); |
| | 6950 | | } |
| | 6951 | |
|
| | 6952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6954 | | public bool Equals(UpdateFriendshipResponse other) { |
| | 6955 | | if (ReferenceEquals(other, null)) { |
| | 6956 | | return false; |
| | 6957 | | } |
| | 6958 | | if (ReferenceEquals(other, this)) { |
| | 6959 | | return true; |
| | 6960 | | } |
| | 6961 | | if (!object.Equals(Event, other.Event)) return false; |
| | 6962 | | if (!object.Equals(InternalServerError, other.InternalServerError)) return false; |
| | 6963 | | if (!object.Equals(UnauthorizedError, other.UnauthorizedError)) return false; |
| | 6964 | | if (!object.Equals(ForbiddenError, other.ForbiddenError)) return false; |
| | 6965 | | if (!object.Equals(TooManyRequestsError, other.TooManyRequestsError)) return false; |
| | 6966 | | if (!object.Equals(BadRequestError, other.BadRequestError)) return false; |
| | 6967 | | if (ResponseCase != other.ResponseCase) return false; |
| | 6968 | | return Equals(_unknownFields, other._unknownFields); |
| | 6969 | | } |
| | 6970 | |
|
| | 6971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6973 | | public override int GetHashCode() { |
| | 6974 | | int hash = 1; |
| | 6975 | | if (responseCase_ == ResponseOneofCase.Event) hash ^= Event.GetHashCode(); |
| | 6976 | | if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode(); |
| | 6977 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) hash ^= UnauthorizedError.GetHashCode(); |
| | 6978 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) hash ^= ForbiddenError.GetHashCode(); |
| | 6979 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) hash ^= TooManyRequestsError.GetHashCode(); |
| | 6980 | | if (responseCase_ == ResponseOneofCase.BadRequestError) hash ^= BadRequestError.GetHashCode(); |
| | 6981 | | hash ^= (int) responseCase_; |
| | 6982 | | if (_unknownFields != null) { |
| | 6983 | | hash ^= _unknownFields.GetHashCode(); |
| | 6984 | | } |
| | 6985 | | return hash; |
| | 6986 | | } |
| | 6987 | |
|
| | 6988 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6989 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6990 | | public override string ToString() { |
| | 6991 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6992 | | } |
| | 6993 | |
|
| | 6994 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6995 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6996 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6997 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6998 | | output.WriteRawMessage(this); |
| | 6999 | | #else |
| | 7000 | | if (responseCase_ == ResponseOneofCase.Event) { |
| | 7001 | | output.WriteRawTag(10); |
| | 7002 | | output.WriteMessage(Event); |
| | 7003 | | } |
| | 7004 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7005 | | output.WriteRawTag(18); |
| | 7006 | | output.WriteMessage(InternalServerError); |
| | 7007 | | } |
| | 7008 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7009 | | output.WriteRawTag(26); |
| | 7010 | | output.WriteMessage(UnauthorizedError); |
| | 7011 | | } |
| | 7012 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7013 | | output.WriteRawTag(34); |
| | 7014 | | output.WriteMessage(ForbiddenError); |
| | 7015 | | } |
| | 7016 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7017 | | output.WriteRawTag(42); |
| | 7018 | | output.WriteMessage(TooManyRequestsError); |
| | 7019 | | } |
| | 7020 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 7021 | | output.WriteRawTag(50); |
| | 7022 | | output.WriteMessage(BadRequestError); |
| | 7023 | | } |
| | 7024 | | if (_unknownFields != null) { |
| | 7025 | | _unknownFields.WriteTo(output); |
| | 7026 | | } |
| | 7027 | | #endif |
| | 7028 | | } |
| | 7029 | |
|
| | 7030 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7031 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7032 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7033 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7034 | | if (responseCase_ == ResponseOneofCase.Event) { |
| | 7035 | | output.WriteRawTag(10); |
| | 7036 | | output.WriteMessage(Event); |
| | 7037 | | } |
| | 7038 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7039 | | output.WriteRawTag(18); |
| | 7040 | | output.WriteMessage(InternalServerError); |
| | 7041 | | } |
| | 7042 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7043 | | output.WriteRawTag(26); |
| | 7044 | | output.WriteMessage(UnauthorizedError); |
| | 7045 | | } |
| | 7046 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7047 | | output.WriteRawTag(34); |
| | 7048 | | output.WriteMessage(ForbiddenError); |
| | 7049 | | } |
| | 7050 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7051 | | output.WriteRawTag(42); |
| | 7052 | | output.WriteMessage(TooManyRequestsError); |
| | 7053 | | } |
| | 7054 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 7055 | | output.WriteRawTag(50); |
| | 7056 | | output.WriteMessage(BadRequestError); |
| | 7057 | | } |
| | 7058 | | if (_unknownFields != null) { |
| | 7059 | | _unknownFields.WriteTo(ref output); |
| | 7060 | | } |
| | 7061 | | } |
| | 7062 | | #endif |
| | 7063 | |
|
| | 7064 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7065 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7066 | | public int CalculateSize() { |
| | 7067 | | int size = 0; |
| | 7068 | | if (responseCase_ == ResponseOneofCase.Event) { |
| | 7069 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Event); |
| | 7070 | | } |
| | 7071 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7072 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError); |
| | 7073 | | } |
| | 7074 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7075 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnauthorizedError); |
| | 7076 | | } |
| | 7077 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7078 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ForbiddenError); |
| | 7079 | | } |
| | 7080 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7081 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(TooManyRequestsError); |
| | 7082 | | } |
| | 7083 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 7084 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BadRequestError); |
| | 7085 | | } |
| | 7086 | | if (_unknownFields != null) { |
| | 7087 | | size += _unknownFields.CalculateSize(); |
| | 7088 | | } |
| | 7089 | | return size; |
| | 7090 | | } |
| | 7091 | |
|
| | 7092 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7093 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7094 | | public void MergeFrom(UpdateFriendshipResponse other) { |
| | 7095 | | if (other == null) { |
| | 7096 | | return; |
| | 7097 | | } |
| | 7098 | | switch (other.ResponseCase) { |
| | 7099 | | case ResponseOneofCase.Event: |
| | 7100 | | if (Event == null) { |
| | 7101 | | Event = new global::Decentraland.Social.Friendships.FriendshipEventResponse(); |
| | 7102 | | } |
| | 7103 | | Event.MergeFrom(other.Event); |
| | 7104 | | break; |
| | 7105 | | case ResponseOneofCase.InternalServerError: |
| | 7106 | | if (InternalServerError == null) { |
| | 7107 | | InternalServerError = new global::Decentraland.Social.Friendships.InternalServerError(); |
| | 7108 | | } |
| | 7109 | | InternalServerError.MergeFrom(other.InternalServerError); |
| | 7110 | | break; |
| | 7111 | | case ResponseOneofCase.UnauthorizedError: |
| | 7112 | | if (UnauthorizedError == null) { |
| | 7113 | | UnauthorizedError = new global::Decentraland.Social.Friendships.UnauthorizedError(); |
| | 7114 | | } |
| | 7115 | | UnauthorizedError.MergeFrom(other.UnauthorizedError); |
| | 7116 | | break; |
| | 7117 | | case ResponseOneofCase.ForbiddenError: |
| | 7118 | | if (ForbiddenError == null) { |
| | 7119 | | ForbiddenError = new global::Decentraland.Social.Friendships.ForbiddenError(); |
| | 7120 | | } |
| | 7121 | | ForbiddenError.MergeFrom(other.ForbiddenError); |
| | 7122 | | break; |
| | 7123 | | case ResponseOneofCase.TooManyRequestsError: |
| | 7124 | | if (TooManyRequestsError == null) { |
| | 7125 | | TooManyRequestsError = new global::Decentraland.Social.Friendships.TooManyRequestsError(); |
| | 7126 | | } |
| | 7127 | | TooManyRequestsError.MergeFrom(other.TooManyRequestsError); |
| | 7128 | | break; |
| | 7129 | | case ResponseOneofCase.BadRequestError: |
| | 7130 | | if (BadRequestError == null) { |
| | 7131 | | BadRequestError = new global::Decentraland.Social.Friendships.BadRequestError(); |
| | 7132 | | } |
| | 7133 | | BadRequestError.MergeFrom(other.BadRequestError); |
| | 7134 | | break; |
| | 7135 | | } |
| | 7136 | |
|
| | 7137 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7138 | | } |
| | 7139 | |
|
| | 7140 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7141 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7142 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7143 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7144 | | input.ReadRawMessage(this); |
| | 7145 | | #else |
| | 7146 | | uint tag; |
| | 7147 | | while ((tag = input.ReadTag()) != 0) { |
| | 7148 | | switch(tag) { |
| | 7149 | | default: |
| | 7150 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7151 | | break; |
| | 7152 | | case 10: { |
| | 7153 | | global::Decentraland.Social.Friendships.FriendshipEventResponse subBuilder = new global::Decentraland.Social |
| | 7154 | | if (responseCase_ == ResponseOneofCase.Event) { |
| | 7155 | | subBuilder.MergeFrom(Event); |
| | 7156 | | } |
| | 7157 | | input.ReadMessage(subBuilder); |
| | 7158 | | Event = subBuilder; |
| | 7159 | | break; |
| | 7160 | | } |
| | 7161 | | case 18: { |
| | 7162 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 7163 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7164 | | subBuilder.MergeFrom(InternalServerError); |
| | 7165 | | } |
| | 7166 | | input.ReadMessage(subBuilder); |
| | 7167 | | InternalServerError = subBuilder; |
| | 7168 | | break; |
| | 7169 | | } |
| | 7170 | | case 26: { |
| | 7171 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 7172 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7173 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 7174 | | } |
| | 7175 | | input.ReadMessage(subBuilder); |
| | 7176 | | UnauthorizedError = subBuilder; |
| | 7177 | | break; |
| | 7178 | | } |
| | 7179 | | case 34: { |
| | 7180 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 7181 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7182 | | subBuilder.MergeFrom(ForbiddenError); |
| | 7183 | | } |
| | 7184 | | input.ReadMessage(subBuilder); |
| | 7185 | | ForbiddenError = subBuilder; |
| | 7186 | | break; |
| | 7187 | | } |
| | 7188 | | case 42: { |
| | 7189 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 7190 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7191 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 7192 | | } |
| | 7193 | | input.ReadMessage(subBuilder); |
| | 7194 | | TooManyRequestsError = subBuilder; |
| | 7195 | | break; |
| | 7196 | | } |
| | 7197 | | case 50: { |
| | 7198 | | global::Decentraland.Social.Friendships.BadRequestError subBuilder = new global::Decentraland.Social.Friends |
| | 7199 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 7200 | | subBuilder.MergeFrom(BadRequestError); |
| | 7201 | | } |
| | 7202 | | input.ReadMessage(subBuilder); |
| | 7203 | | BadRequestError = subBuilder; |
| | 7204 | | break; |
| | 7205 | | } |
| | 7206 | | } |
| | 7207 | | } |
| | 7208 | | #endif |
| | 7209 | | } |
| | 7210 | |
|
| | 7211 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7214 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7215 | | uint tag; |
| | 7216 | | while ((tag = input.ReadTag()) != 0) { |
| | 7217 | | switch(tag) { |
| | 7218 | | default: |
| | 7219 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7220 | | break; |
| | 7221 | | case 10: { |
| | 7222 | | global::Decentraland.Social.Friendships.FriendshipEventResponse subBuilder = new global::Decentraland.Social |
| | 7223 | | if (responseCase_ == ResponseOneofCase.Event) { |
| | 7224 | | subBuilder.MergeFrom(Event); |
| | 7225 | | } |
| | 7226 | | input.ReadMessage(subBuilder); |
| | 7227 | | Event = subBuilder; |
| | 7228 | | break; |
| | 7229 | | } |
| | 7230 | | case 18: { |
| | 7231 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 7232 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7233 | | subBuilder.MergeFrom(InternalServerError); |
| | 7234 | | } |
| | 7235 | | input.ReadMessage(subBuilder); |
| | 7236 | | InternalServerError = subBuilder; |
| | 7237 | | break; |
| | 7238 | | } |
| | 7239 | | case 26: { |
| | 7240 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 7241 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7242 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 7243 | | } |
| | 7244 | | input.ReadMessage(subBuilder); |
| | 7245 | | UnauthorizedError = subBuilder; |
| | 7246 | | break; |
| | 7247 | | } |
| | 7248 | | case 34: { |
| | 7249 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 7250 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7251 | | subBuilder.MergeFrom(ForbiddenError); |
| | 7252 | | } |
| | 7253 | | input.ReadMessage(subBuilder); |
| | 7254 | | ForbiddenError = subBuilder; |
| | 7255 | | break; |
| | 7256 | | } |
| | 7257 | | case 42: { |
| | 7258 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 7259 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7260 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 7261 | | } |
| | 7262 | | input.ReadMessage(subBuilder); |
| | 7263 | | TooManyRequestsError = subBuilder; |
| | 7264 | | break; |
| | 7265 | | } |
| | 7266 | | case 50: { |
| | 7267 | | global::Decentraland.Social.Friendships.BadRequestError subBuilder = new global::Decentraland.Social.Friends |
| | 7268 | | if (responseCase_ == ResponseOneofCase.BadRequestError) { |
| | 7269 | | subBuilder.MergeFrom(BadRequestError); |
| | 7270 | | } |
| | 7271 | | input.ReadMessage(subBuilder); |
| | 7272 | | BadRequestError = subBuilder; |
| | 7273 | | break; |
| | 7274 | | } |
| | 7275 | | } |
| | 7276 | | } |
| | 7277 | | } |
| | 7278 | | #endif |
| | 7279 | |
|
| | 7280 | | } |
| | 7281 | |
|
| | 7282 | | public sealed partial class SubscribeFriendshipEventsUpdatesResponse : pb::IMessage<SubscribeFriendshipEventsUpdatesRe |
| | 7283 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7284 | | , pb::IBufferMessage |
| | 7285 | | #endif |
| | 7286 | | { |
| 1 | 7287 | | private static readonly pb::MessageParser<SubscribeFriendshipEventsUpdatesResponse> _parser = new pb::MessageParser< |
| | 7288 | | private pb::UnknownFieldSet _unknownFields; |
| | 7289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 7291 | | public static pb::MessageParser<SubscribeFriendshipEventsUpdatesResponse> Parser { get { return _parser; } } |
| | 7292 | |
|
| | 7293 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7294 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7295 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 7296 | | get { return global::Decentraland.Social.Friendships.FriendshipsReflection.Descriptor.MessageTypes[28]; } |
| | 7297 | | } |
| | 7298 | |
|
| | 7299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7301 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 7302 | | get { return Descriptor; } |
| | 7303 | | } |
| | 7304 | |
|
| | 7305 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7306 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 6 | 7307 | | public SubscribeFriendshipEventsUpdatesResponse() { |
| | 7308 | | OnConstruction(); |
| 6 | 7309 | | } |
| | 7310 | |
|
| | 7311 | | partial void OnConstruction(); |
| | 7312 | |
|
| | 7313 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7314 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 7315 | | public SubscribeFriendshipEventsUpdatesResponse(SubscribeFriendshipEventsUpdatesResponse other) : this() { |
| 0 | 7316 | | switch (other.ResponseCase) { |
| | 7317 | | case ResponseOneofCase.Events: |
| 0 | 7318 | | Events = other.Events.Clone(); |
| 0 | 7319 | | break; |
| | 7320 | | case ResponseOneofCase.InternalServerError: |
| 0 | 7321 | | InternalServerError = other.InternalServerError.Clone(); |
| 0 | 7322 | | break; |
| | 7323 | | case ResponseOneofCase.UnauthorizedError: |
| 0 | 7324 | | UnauthorizedError = other.UnauthorizedError.Clone(); |
| 0 | 7325 | | break; |
| | 7326 | | case ResponseOneofCase.ForbiddenError: |
| 0 | 7327 | | ForbiddenError = other.ForbiddenError.Clone(); |
| 0 | 7328 | | break; |
| | 7329 | | case ResponseOneofCase.TooManyRequestsError: |
| 0 | 7330 | | TooManyRequestsError = other.TooManyRequestsError.Clone(); |
| | 7331 | | break; |
| | 7332 | | } |
| | 7333 | |
|
| 0 | 7334 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 7335 | | } |
| | 7336 | |
|
| | 7337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7339 | | public SubscribeFriendshipEventsUpdatesResponse Clone() { |
| 0 | 7340 | | return new SubscribeFriendshipEventsUpdatesResponse(this); |
| | 7341 | | } |
| | 7342 | |
|
| | 7343 | | /// <summary>Field number for the "events" field.</summary> |
| | 7344 | | public const int EventsFieldNumber = 1; |
| | 7345 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7346 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7347 | | public global::Decentraland.Social.Friendships.FriendshipEventResponses Events { |
| 2 | 7348 | | get { return responseCase_ == ResponseOneofCase.Events ? (global::Decentraland.Social.Friendships.FriendshipEventR |
| | 7349 | | set { |
| 2 | 7350 | | response_ = value; |
| 2 | 7351 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.Events; |
| 2 | 7352 | | } |
| | 7353 | | } |
| | 7354 | |
|
| | 7355 | | /// <summary>Field number for the "internal_server_error" field.</summary> |
| | 7356 | | public const int InternalServerErrorFieldNumber = 2; |
| | 7357 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7358 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7359 | | public global::Decentraland.Social.Friendships.InternalServerError InternalServerError { |
| 1 | 7360 | | get { return responseCase_ == ResponseOneofCase.InternalServerError ? (global::Decentraland.Social.Friendships.Int |
| | 7361 | | set { |
| 1 | 7362 | | response_ = value; |
| 1 | 7363 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.InternalServerError; |
| 1 | 7364 | | } |
| | 7365 | | } |
| | 7366 | |
|
| | 7367 | | /// <summary>Field number for the "unauthorized_error" field.</summary> |
| | 7368 | | public const int UnauthorizedErrorFieldNumber = 3; |
| | 7369 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7370 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7371 | | public global::Decentraland.Social.Friendships.UnauthorizedError UnauthorizedError { |
| 1 | 7372 | | get { return responseCase_ == ResponseOneofCase.UnauthorizedError ? (global::Decentraland.Social.Friendships.Unaut |
| | 7373 | | set { |
| 1 | 7374 | | response_ = value; |
| 1 | 7375 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.UnauthorizedError; |
| 1 | 7376 | | } |
| | 7377 | | } |
| | 7378 | |
|
| | 7379 | | /// <summary>Field number for the "forbidden_error" field.</summary> |
| | 7380 | | public const int ForbiddenErrorFieldNumber = 4; |
| | 7381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7383 | | public global::Decentraland.Social.Friendships.ForbiddenError ForbiddenError { |
| 1 | 7384 | | get { return responseCase_ == ResponseOneofCase.ForbiddenError ? (global::Decentraland.Social.Friendships.Forbidde |
| | 7385 | | set { |
| 1 | 7386 | | response_ = value; |
| 1 | 7387 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.ForbiddenError; |
| 1 | 7388 | | } |
| | 7389 | | } |
| | 7390 | |
|
| | 7391 | | /// <summary>Field number for the "too_many_requests_error" field.</summary> |
| | 7392 | | public const int TooManyRequestsErrorFieldNumber = 5; |
| | 7393 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7394 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7395 | | public global::Decentraland.Social.Friendships.TooManyRequestsError TooManyRequestsError { |
| 1 | 7396 | | get { return responseCase_ == ResponseOneofCase.TooManyRequestsError ? (global::Decentraland.Social.Friendships.To |
| | 7397 | | set { |
| 1 | 7398 | | response_ = value; |
| 1 | 7399 | | responseCase_ = value == null ? ResponseOneofCase.None : ResponseOneofCase.TooManyRequestsError; |
| 1 | 7400 | | } |
| | 7401 | | } |
| | 7402 | |
|
| | 7403 | | private object response_; |
| | 7404 | | /// <summary>Enum of possible cases for the "response" oneof.</summary> |
| | 7405 | | public enum ResponseOneofCase { |
| | 7406 | | None = 0, |
| | 7407 | | Events = 1, |
| | 7408 | | InternalServerError = 2, |
| | 7409 | | UnauthorizedError = 3, |
| | 7410 | | ForbiddenError = 4, |
| | 7411 | | TooManyRequestsError = 5, |
| | 7412 | | } |
| | 7413 | | private ResponseOneofCase responseCase_ = ResponseOneofCase.None; |
| | 7414 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7415 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7416 | | public ResponseOneofCase ResponseCase { |
| 10 | 7417 | | get { return responseCase_; } |
| | 7418 | | } |
| | 7419 | |
|
| | 7420 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7421 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7422 | | public void ClearResponse() { |
| 0 | 7423 | | responseCase_ = ResponseOneofCase.None; |
| 0 | 7424 | | response_ = null; |
| 0 | 7425 | | } |
| | 7426 | |
|
| | 7427 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7428 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7429 | | public override bool Equals(object other) { |
| 0 | 7430 | | return Equals(other as SubscribeFriendshipEventsUpdatesResponse); |
| | 7431 | | } |
| | 7432 | |
|
| | 7433 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7434 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7435 | | public bool Equals(SubscribeFriendshipEventsUpdatesResponse other) { |
| 0 | 7436 | | if (ReferenceEquals(other, null)) { |
| 0 | 7437 | | return false; |
| | 7438 | | } |
| 0 | 7439 | | if (ReferenceEquals(other, this)) { |
| 0 | 7440 | | return true; |
| | 7441 | | } |
| 0 | 7442 | | if (!object.Equals(Events, other.Events)) return false; |
| 0 | 7443 | | if (!object.Equals(InternalServerError, other.InternalServerError)) return false; |
| 0 | 7444 | | if (!object.Equals(UnauthorizedError, other.UnauthorizedError)) return false; |
| 0 | 7445 | | if (!object.Equals(ForbiddenError, other.ForbiddenError)) return false; |
| 0 | 7446 | | if (!object.Equals(TooManyRequestsError, other.TooManyRequestsError)) return false; |
| 0 | 7447 | | if (ResponseCase != other.ResponseCase) return false; |
| 0 | 7448 | | return Equals(_unknownFields, other._unknownFields); |
| | 7449 | | } |
| | 7450 | |
|
| | 7451 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7452 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7453 | | public override int GetHashCode() { |
| 0 | 7454 | | int hash = 1; |
| 0 | 7455 | | if (responseCase_ == ResponseOneofCase.Events) hash ^= Events.GetHashCode(); |
| 0 | 7456 | | if (responseCase_ == ResponseOneofCase.InternalServerError) hash ^= InternalServerError.GetHashCode(); |
| 0 | 7457 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) hash ^= UnauthorizedError.GetHashCode(); |
| 0 | 7458 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) hash ^= ForbiddenError.GetHashCode(); |
| 0 | 7459 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) hash ^= TooManyRequestsError.GetHashCode(); |
| 0 | 7460 | | hash ^= (int) responseCase_; |
| 0 | 7461 | | if (_unknownFields != null) { |
| 0 | 7462 | | hash ^= _unknownFields.GetHashCode(); |
| | 7463 | | } |
| 0 | 7464 | | return hash; |
| | 7465 | | } |
| | 7466 | |
|
| | 7467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7469 | | public override string ToString() { |
| 0 | 7470 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 7471 | | } |
| | 7472 | |
|
| | 7473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7475 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 7476 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7477 | | output.WriteRawMessage(this); |
| | 7478 | | #else |
| 0 | 7479 | | if (responseCase_ == ResponseOneofCase.Events) { |
| 0 | 7480 | | output.WriteRawTag(10); |
| 0 | 7481 | | output.WriteMessage(Events); |
| | 7482 | | } |
| 0 | 7483 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| 0 | 7484 | | output.WriteRawTag(18); |
| 0 | 7485 | | output.WriteMessage(InternalServerError); |
| | 7486 | | } |
| 0 | 7487 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| 0 | 7488 | | output.WriteRawTag(26); |
| 0 | 7489 | | output.WriteMessage(UnauthorizedError); |
| | 7490 | | } |
| 0 | 7491 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| 0 | 7492 | | output.WriteRawTag(34); |
| 0 | 7493 | | output.WriteMessage(ForbiddenError); |
| | 7494 | | } |
| 0 | 7495 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| 0 | 7496 | | output.WriteRawTag(42); |
| 0 | 7497 | | output.WriteMessage(TooManyRequestsError); |
| | 7498 | | } |
| 0 | 7499 | | if (_unknownFields != null) { |
| 0 | 7500 | | _unknownFields.WriteTo(output); |
| | 7501 | | } |
| | 7502 | | #endif |
| 0 | 7503 | | } |
| | 7504 | |
|
| | 7505 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7506 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7507 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7508 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7509 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 7510 | | output.WriteRawTag(10); |
| | 7511 | | output.WriteMessage(Events); |
| | 7512 | | } |
| | 7513 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7514 | | output.WriteRawTag(18); |
| | 7515 | | output.WriteMessage(InternalServerError); |
| | 7516 | | } |
| | 7517 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7518 | | output.WriteRawTag(26); |
| | 7519 | | output.WriteMessage(UnauthorizedError); |
| | 7520 | | } |
| | 7521 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7522 | | output.WriteRawTag(34); |
| | 7523 | | output.WriteMessage(ForbiddenError); |
| | 7524 | | } |
| | 7525 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7526 | | output.WriteRawTag(42); |
| | 7527 | | output.WriteMessage(TooManyRequestsError); |
| | 7528 | | } |
| | 7529 | | if (_unknownFields != null) { |
| | 7530 | | _unknownFields.WriteTo(ref output); |
| | 7531 | | } |
| | 7532 | | } |
| | 7533 | | #endif |
| | 7534 | |
|
| | 7535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7537 | | public int CalculateSize() { |
| 0 | 7538 | | int size = 0; |
| 0 | 7539 | | if (responseCase_ == ResponseOneofCase.Events) { |
| 0 | 7540 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Events); |
| | 7541 | | } |
| 0 | 7542 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| 0 | 7543 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(InternalServerError); |
| | 7544 | | } |
| 0 | 7545 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| 0 | 7546 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnauthorizedError); |
| | 7547 | | } |
| 0 | 7548 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| 0 | 7549 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ForbiddenError); |
| | 7550 | | } |
| 0 | 7551 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| 0 | 7552 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(TooManyRequestsError); |
| | 7553 | | } |
| 0 | 7554 | | if (_unknownFields != null) { |
| 0 | 7555 | | size += _unknownFields.CalculateSize(); |
| | 7556 | | } |
| 0 | 7557 | | return size; |
| | 7558 | | } |
| | 7559 | |
|
| | 7560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7562 | | public void MergeFrom(SubscribeFriendshipEventsUpdatesResponse other) { |
| 0 | 7563 | | if (other == null) { |
| 0 | 7564 | | return; |
| | 7565 | | } |
| 0 | 7566 | | switch (other.ResponseCase) { |
| | 7567 | | case ResponseOneofCase.Events: |
| 0 | 7568 | | if (Events == null) { |
| 0 | 7569 | | Events = new global::Decentraland.Social.Friendships.FriendshipEventResponses(); |
| | 7570 | | } |
| 0 | 7571 | | Events.MergeFrom(other.Events); |
| 0 | 7572 | | break; |
| | 7573 | | case ResponseOneofCase.InternalServerError: |
| 0 | 7574 | | if (InternalServerError == null) { |
| 0 | 7575 | | InternalServerError = new global::Decentraland.Social.Friendships.InternalServerError(); |
| | 7576 | | } |
| 0 | 7577 | | InternalServerError.MergeFrom(other.InternalServerError); |
| 0 | 7578 | | break; |
| | 7579 | | case ResponseOneofCase.UnauthorizedError: |
| 0 | 7580 | | if (UnauthorizedError == null) { |
| 0 | 7581 | | UnauthorizedError = new global::Decentraland.Social.Friendships.UnauthorizedError(); |
| | 7582 | | } |
| 0 | 7583 | | UnauthorizedError.MergeFrom(other.UnauthorizedError); |
| 0 | 7584 | | break; |
| | 7585 | | case ResponseOneofCase.ForbiddenError: |
| 0 | 7586 | | if (ForbiddenError == null) { |
| 0 | 7587 | | ForbiddenError = new global::Decentraland.Social.Friendships.ForbiddenError(); |
| | 7588 | | } |
| 0 | 7589 | | ForbiddenError.MergeFrom(other.ForbiddenError); |
| 0 | 7590 | | break; |
| | 7591 | | case ResponseOneofCase.TooManyRequestsError: |
| 0 | 7592 | | if (TooManyRequestsError == null) { |
| 0 | 7593 | | TooManyRequestsError = new global::Decentraland.Social.Friendships.TooManyRequestsError(); |
| | 7594 | | } |
| 0 | 7595 | | TooManyRequestsError.MergeFrom(other.TooManyRequestsError); |
| | 7596 | | break; |
| | 7597 | | } |
| | 7598 | |
|
| 0 | 7599 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 7600 | | } |
| | 7601 | |
|
| | 7602 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7603 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7604 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7605 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7606 | | input.ReadRawMessage(this); |
| | 7607 | | #else |
| | 7608 | | uint tag; |
| 0 | 7609 | | while ((tag = input.ReadTag()) != 0) { |
| | 7610 | | switch(tag) { |
| | 7611 | | default: |
| 0 | 7612 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 7613 | | break; |
| | 7614 | | case 10: { |
| 0 | 7615 | | global::Decentraland.Social.Friendships.FriendshipEventResponses subBuilder = new global::Decentraland.Socia |
| 0 | 7616 | | if (responseCase_ == ResponseOneofCase.Events) { |
| 0 | 7617 | | subBuilder.MergeFrom(Events); |
| | 7618 | | } |
| 0 | 7619 | | input.ReadMessage(subBuilder); |
| 0 | 7620 | | Events = subBuilder; |
| 0 | 7621 | | break; |
| | 7622 | | } |
| | 7623 | | case 18: { |
| 0 | 7624 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| 0 | 7625 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| 0 | 7626 | | subBuilder.MergeFrom(InternalServerError); |
| | 7627 | | } |
| 0 | 7628 | | input.ReadMessage(subBuilder); |
| 0 | 7629 | | InternalServerError = subBuilder; |
| 0 | 7630 | | break; |
| | 7631 | | } |
| | 7632 | | case 26: { |
| 0 | 7633 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| 0 | 7634 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| 0 | 7635 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 7636 | | } |
| 0 | 7637 | | input.ReadMessage(subBuilder); |
| 0 | 7638 | | UnauthorizedError = subBuilder; |
| 0 | 7639 | | break; |
| | 7640 | | } |
| | 7641 | | case 34: { |
| 0 | 7642 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| 0 | 7643 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| 0 | 7644 | | subBuilder.MergeFrom(ForbiddenError); |
| | 7645 | | } |
| 0 | 7646 | | input.ReadMessage(subBuilder); |
| 0 | 7647 | | ForbiddenError = subBuilder; |
| 0 | 7648 | | break; |
| | 7649 | | } |
| | 7650 | | case 42: { |
| 0 | 7651 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| 0 | 7652 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| 0 | 7653 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 7654 | | } |
| 0 | 7655 | | input.ReadMessage(subBuilder); |
| 0 | 7656 | | TooManyRequestsError = subBuilder; |
| | 7657 | | break; |
| | 7658 | | } |
| | 7659 | | } |
| | 7660 | | } |
| | 7661 | | #endif |
| 0 | 7662 | | } |
| | 7663 | |
|
| | 7664 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7665 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7666 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7667 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7668 | | uint tag; |
| | 7669 | | while ((tag = input.ReadTag()) != 0) { |
| | 7670 | | switch(tag) { |
| | 7671 | | default: |
| | 7672 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7673 | | break; |
| | 7674 | | case 10: { |
| | 7675 | | global::Decentraland.Social.Friendships.FriendshipEventResponses subBuilder = new global::Decentraland.Socia |
| | 7676 | | if (responseCase_ == ResponseOneofCase.Events) { |
| | 7677 | | subBuilder.MergeFrom(Events); |
| | 7678 | | } |
| | 7679 | | input.ReadMessage(subBuilder); |
| | 7680 | | Events = subBuilder; |
| | 7681 | | break; |
| | 7682 | | } |
| | 7683 | | case 18: { |
| | 7684 | | global::Decentraland.Social.Friendships.InternalServerError subBuilder = new global::Decentraland.Social.Fri |
| | 7685 | | if (responseCase_ == ResponseOneofCase.InternalServerError) { |
| | 7686 | | subBuilder.MergeFrom(InternalServerError); |
| | 7687 | | } |
| | 7688 | | input.ReadMessage(subBuilder); |
| | 7689 | | InternalServerError = subBuilder; |
| | 7690 | | break; |
| | 7691 | | } |
| | 7692 | | case 26: { |
| | 7693 | | global::Decentraland.Social.Friendships.UnauthorizedError subBuilder = new global::Decentraland.Social.Frien |
| | 7694 | | if (responseCase_ == ResponseOneofCase.UnauthorizedError) { |
| | 7695 | | subBuilder.MergeFrom(UnauthorizedError); |
| | 7696 | | } |
| | 7697 | | input.ReadMessage(subBuilder); |
| | 7698 | | UnauthorizedError = subBuilder; |
| | 7699 | | break; |
| | 7700 | | } |
| | 7701 | | case 34: { |
| | 7702 | | global::Decentraland.Social.Friendships.ForbiddenError subBuilder = new global::Decentraland.Social.Friendsh |
| | 7703 | | if (responseCase_ == ResponseOneofCase.ForbiddenError) { |
| | 7704 | | subBuilder.MergeFrom(ForbiddenError); |
| | 7705 | | } |
| | 7706 | | input.ReadMessage(subBuilder); |
| | 7707 | | ForbiddenError = subBuilder; |
| | 7708 | | break; |
| | 7709 | | } |
| | 7710 | | case 42: { |
| | 7711 | | global::Decentraland.Social.Friendships.TooManyRequestsError subBuilder = new global::Decentraland.Social.Fr |
| | 7712 | | if (responseCase_ == ResponseOneofCase.TooManyRequestsError) { |
| | 7713 | | subBuilder.MergeFrom(TooManyRequestsError); |
| | 7714 | | } |
| | 7715 | | input.ReadMessage(subBuilder); |
| | 7716 | | TooManyRequestsError = subBuilder; |
| | 7717 | | break; |
| | 7718 | | } |
| | 7719 | | } |
| | 7720 | | } |
| | 7721 | | } |
| | 7722 | | #endif |
| | 7723 | |
|
| | 7724 | | } |
| | 7725 | |
|
| | 7726 | | #endregion |
| | 7727 | |
|
| | 7728 | | } |
| | 7729 | |
|
| | 7730 | | #endregion Designer generated code |