| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/renderer/renderer_services/friend_request_renderer.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.Renderer.RendererServices { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/renderer/renderer_services/friend_request_r |
| | 15 | | public static partial class FriendRequestRendererReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/renderer/renderer_services/friend_request_renderer.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static FriendRequestRendererReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CkVkZWNlbnRyYWxhbmQvcmVuZGVyZXIvcmVuZGVyZXJfc2VydmljZXMvZnJp", |
| | 28 | | "ZW5kX3JlcXVlc3RfcmVuZGVyZXIucHJvdG8SJ2RlY2VudHJhbGFuZC5yZW5k", |
| | 29 | | "ZXJlci5yZW5kZXJlcl9zZXJ2aWNlcxo4ZGVjZW50cmFsYW5kL3JlbmRlcmVy", |
| | 30 | | "L2NvbW1vbi9mcmllbmRfcmVxdWVzdF9jb21tb24ucHJvdG8iLgobQXBwcm92", |
| | 31 | | "ZUZyaWVuZFJlcXVlc3RQYXlsb2FkEg8KB3VzZXJfaWQYASABKAkiGwoZQXBw", |
| | 32 | | "cm92ZUZyaWVuZFJlcXVlc3RSZXBseSItChpSZWplY3RGcmllbmRSZXF1ZXN0", |
| | 33 | | "UGF5bG9hZBIPCgd1c2VyX2lkGAEgASgJIhoKGFJlamVjdEZyaWVuZFJlcXVl", |
| | 34 | | "c3RSZXBseSItChpDYW5jZWxGcmllbmRSZXF1ZXN0UGF5bG9hZBIPCgd1c2Vy", |
| | 35 | | "X2lkGAEgASgJIhoKGENhbmNlbEZyaWVuZFJlcXVlc3RSZXBseSJmChtSZWNl", |
| | 36 | | "aXZlRnJpZW5kUmVxdWVzdFBheWxvYWQSRwoOZnJpZW5kX3JlcXVlc3QYASAB", |
| | 37 | | "KAsyLy5kZWNlbnRyYWxhbmQucmVuZGVyZXIuY29tbW9uLkZyaWVuZFJlcXVl", |
| | 38 | | "c3RJbmZvIhsKGVJlY2VpdmVGcmllbmRSZXF1ZXN0UmVwbHkyrAUKHEZyaWVu", |
| | 39 | | "ZFJlcXVlc3RSZW5kZXJlclNlcnZpY2USogEKFEFwcHJvdmVGcmllbmRSZXF1", |
| | 40 | | "ZXN0EkQuZGVjZW50cmFsYW5kLnJlbmRlcmVyLnJlbmRlcmVyX3NlcnZpY2Vz", |
| | 41 | | "LkFwcHJvdmVGcmllbmRSZXF1ZXN0UGF5bG9hZBpCLmRlY2VudHJhbGFuZC5y", |
| | 42 | | "ZW5kZXJlci5yZW5kZXJlcl9zZXJ2aWNlcy5BcHByb3ZlRnJpZW5kUmVxdWVz", |
| | 43 | | "dFJlcGx5IgASnwEKE1JlamVjdEZyaWVuZFJlcXVlc3QSQy5kZWNlbnRyYWxh", |
| | 44 | | "bmQucmVuZGVyZXIucmVuZGVyZXJfc2VydmljZXMuUmVqZWN0RnJpZW5kUmVx", |
| | 45 | | "dWVzdFBheWxvYWQaQS5kZWNlbnRyYWxhbmQucmVuZGVyZXIucmVuZGVyZXJf", |
| | 46 | | "c2VydmljZXMuUmVqZWN0RnJpZW5kUmVxdWVzdFJlcGx5IgASnwEKE0NhbmNl", |
| | 47 | | "bEZyaWVuZFJlcXVlc3QSQy5kZWNlbnRyYWxhbmQucmVuZGVyZXIucmVuZGVy", |
| | 48 | | "ZXJfc2VydmljZXMuQ2FuY2VsRnJpZW5kUmVxdWVzdFBheWxvYWQaQS5kZWNl", |
| | 49 | | "bnRyYWxhbmQucmVuZGVyZXIucmVuZGVyZXJfc2VydmljZXMuQ2FuY2VsRnJp", |
| | 50 | | "ZW5kUmVxdWVzdFJlcGx5IgASogEKFFJlY2VpdmVGcmllbmRSZXF1ZXN0EkQu", |
| | 51 | | "ZGVjZW50cmFsYW5kLnJlbmRlcmVyLnJlbmRlcmVyX3NlcnZpY2VzLlJlY2Vp", |
| | 52 | | "dmVGcmllbmRSZXF1ZXN0UGF5bG9hZBpCLmRlY2VudHJhbGFuZC5yZW5kZXJl", |
| | 53 | | "ci5yZW5kZXJlcl9zZXJ2aWNlcy5SZWNlaXZlRnJpZW5kUmVxdWVzdFJlcGx5", |
| | 54 | | "IgBiBnByb3RvMw==")); |
| | 55 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 56 | | new pbr::FileDescriptor[] { global::Decentraland.Renderer.Common.FriendRequestCommonReflection.Descriptor, }, |
| | 57 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 58 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.ApproveFriendRequestPayl |
| | 59 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.ApproveFriendRequestRepl |
| | 60 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.RejectFriendRequestPaylo |
| | 61 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.RejectFriendRequestReply |
| | 62 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.CancelFriendRequestPaylo |
| | 63 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.CancelFriendRequestReply |
| | 64 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.ReceiveFriendRequestPayl |
| | 65 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.ReceiveFriendRequestRepl |
| | 66 | | })); |
| | 67 | | } |
| | 68 | | #endregion |
| | 69 | |
|
| | 70 | | } |
| | 71 | | #region Messages |
| | 72 | | public sealed partial class ApproveFriendRequestPayload : pb::IMessage<ApproveFriendRequestPayload> |
| | 73 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 74 | | , pb::IBufferMessage |
| | 75 | | #endif |
| | 76 | | { |
| | 77 | | private static readonly pb::MessageParser<ApproveFriendRequestPayload> _parser = new pb::MessageParser<ApproveFriend |
| | 78 | | private pb::UnknownFieldSet _unknownFields; |
| | 79 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 80 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 81 | | public static pb::MessageParser<ApproveFriendRequestPayload> Parser { get { return _parser; } } |
| | 82 | |
|
| | 83 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 84 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 85 | | public static pbr::MessageDescriptor Descriptor { |
| | 86 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 87 | | } |
| | 88 | |
|
| | 89 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 90 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 91 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 92 | | get { return Descriptor; } |
| | 93 | | } |
| | 94 | |
|
| | 95 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 96 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 97 | | public ApproveFriendRequestPayload() { |
| | 98 | | OnConstruction(); |
| | 99 | | } |
| | 100 | |
|
| | 101 | | partial void OnConstruction(); |
| | 102 | |
|
| | 103 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 104 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 105 | | public ApproveFriendRequestPayload(ApproveFriendRequestPayload other) : this() { |
| | 106 | | userId_ = other.userId_; |
| | 107 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 108 | | } |
| | 109 | |
|
| | 110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 112 | | public ApproveFriendRequestPayload Clone() { |
| | 113 | | return new ApproveFriendRequestPayload(this); |
| | 114 | | } |
| | 115 | |
|
| | 116 | | /// <summary>Field number for the "user_id" field.</summary> |
| | 117 | | public const int UserIdFieldNumber = 1; |
| | 118 | | private string userId_ = ""; |
| | 119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 121 | | public string UserId { |
| | 122 | | get { return userId_; } |
| | 123 | | set { |
| | 124 | | userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 125 | | } |
| | 126 | | } |
| | 127 | |
|
| | 128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 130 | | public override bool Equals(object other) { |
| | 131 | | return Equals(other as ApproveFriendRequestPayload); |
| | 132 | | } |
| | 133 | |
|
| | 134 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 135 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 136 | | public bool Equals(ApproveFriendRequestPayload other) { |
| | 137 | | if (ReferenceEquals(other, null)) { |
| | 138 | | return false; |
| | 139 | | } |
| | 140 | | if (ReferenceEquals(other, this)) { |
| | 141 | | return true; |
| | 142 | | } |
| | 143 | | if (UserId != other.UserId) return false; |
| | 144 | | return Equals(_unknownFields, other._unknownFields); |
| | 145 | | } |
| | 146 | |
|
| | 147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 149 | | public override int GetHashCode() { |
| | 150 | | int hash = 1; |
| | 151 | | if (UserId.Length != 0) hash ^= UserId.GetHashCode(); |
| | 152 | | if (_unknownFields != null) { |
| | 153 | | hash ^= _unknownFields.GetHashCode(); |
| | 154 | | } |
| | 155 | | return hash; |
| | 156 | | } |
| | 157 | |
|
| | 158 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 159 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 160 | | public override string ToString() { |
| | 161 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 162 | | } |
| | 163 | |
|
| | 164 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 165 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 166 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 167 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 168 | | output.WriteRawMessage(this); |
| | 169 | | #else |
| | 170 | | if (UserId.Length != 0) { |
| | 171 | | output.WriteRawTag(10); |
| | 172 | | output.WriteString(UserId); |
| | 173 | | } |
| | 174 | | if (_unknownFields != null) { |
| | 175 | | _unknownFields.WriteTo(output); |
| | 176 | | } |
| | 177 | | #endif |
| | 178 | | } |
| | 179 | |
|
| | 180 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 183 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 184 | | if (UserId.Length != 0) { |
| | 185 | | output.WriteRawTag(10); |
| | 186 | | output.WriteString(UserId); |
| | 187 | | } |
| | 188 | | if (_unknownFields != null) { |
| | 189 | | _unknownFields.WriteTo(ref output); |
| | 190 | | } |
| | 191 | | } |
| | 192 | | #endif |
| | 193 | |
|
| | 194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 196 | | public int CalculateSize() { |
| | 197 | | int size = 0; |
| | 198 | | if (UserId.Length != 0) { |
| | 199 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); |
| | 200 | | } |
| | 201 | | if (_unknownFields != null) { |
| | 202 | | size += _unknownFields.CalculateSize(); |
| | 203 | | } |
| | 204 | | return size; |
| | 205 | | } |
| | 206 | |
|
| | 207 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 208 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 209 | | public void MergeFrom(ApproveFriendRequestPayload other) { |
| | 210 | | if (other == null) { |
| | 211 | | return; |
| | 212 | | } |
| | 213 | | if (other.UserId.Length != 0) { |
| | 214 | | UserId = other.UserId; |
| | 215 | | } |
| | 216 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 217 | | } |
| | 218 | |
|
| | 219 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 220 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 221 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 222 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 223 | | input.ReadRawMessage(this); |
| | 224 | | #else |
| | 225 | | uint tag; |
| | 226 | | while ((tag = input.ReadTag()) != 0) { |
| | 227 | | switch(tag) { |
| | 228 | | default: |
| | 229 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 230 | | break; |
| | 231 | | case 10: { |
| | 232 | | UserId = input.ReadString(); |
| | 233 | | break; |
| | 234 | | } |
| | 235 | | } |
| | 236 | | } |
| | 237 | | #endif |
| | 238 | | } |
| | 239 | |
|
| | 240 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 243 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 244 | | uint tag; |
| | 245 | | while ((tag = input.ReadTag()) != 0) { |
| | 246 | | switch(tag) { |
| | 247 | | default: |
| | 248 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 249 | | break; |
| | 250 | | case 10: { |
| | 251 | | UserId = input.ReadString(); |
| | 252 | | break; |
| | 253 | | } |
| | 254 | | } |
| | 255 | | } |
| | 256 | | } |
| | 257 | | #endif |
| | 258 | |
|
| | 259 | | } |
| | 260 | |
|
| | 261 | | public sealed partial class ApproveFriendRequestReply : pb::IMessage<ApproveFriendRequestReply> |
| | 262 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 263 | | , pb::IBufferMessage |
| | 264 | | #endif |
| | 265 | | { |
| | 266 | | private static readonly pb::MessageParser<ApproveFriendRequestReply> _parser = new pb::MessageParser<ApproveFriendRe |
| | 267 | | private pb::UnknownFieldSet _unknownFields; |
| | 268 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 269 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 270 | | public static pb::MessageParser<ApproveFriendRequestReply> Parser { get { return _parser; } } |
| | 271 | |
|
| | 272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 274 | | public static pbr::MessageDescriptor Descriptor { |
| | 275 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 276 | | } |
| | 277 | |
|
| | 278 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 279 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 280 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 281 | | get { return Descriptor; } |
| | 282 | | } |
| | 283 | |
|
| | 284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 286 | | public ApproveFriendRequestReply() { |
| | 287 | | OnConstruction(); |
| | 288 | | } |
| | 289 | |
|
| | 290 | | partial void OnConstruction(); |
| | 291 | |
|
| | 292 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 293 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 294 | | public ApproveFriendRequestReply(ApproveFriendRequestReply other) : this() { |
| | 295 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 296 | | } |
| | 297 | |
|
| | 298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 300 | | public ApproveFriendRequestReply Clone() { |
| | 301 | | return new ApproveFriendRequestReply(this); |
| | 302 | | } |
| | 303 | |
|
| | 304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 306 | | public override bool Equals(object other) { |
| | 307 | | return Equals(other as ApproveFriendRequestReply); |
| | 308 | | } |
| | 309 | |
|
| | 310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 312 | | public bool Equals(ApproveFriendRequestReply other) { |
| | 313 | | if (ReferenceEquals(other, null)) { |
| | 314 | | return false; |
| | 315 | | } |
| | 316 | | if (ReferenceEquals(other, this)) { |
| | 317 | | return true; |
| | 318 | | } |
| | 319 | | return Equals(_unknownFields, other._unknownFields); |
| | 320 | | } |
| | 321 | |
|
| | 322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 324 | | public override int GetHashCode() { |
| | 325 | | int hash = 1; |
| | 326 | | if (_unknownFields != null) { |
| | 327 | | hash ^= _unknownFields.GetHashCode(); |
| | 328 | | } |
| | 329 | | return hash; |
| | 330 | | } |
| | 331 | |
|
| | 332 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 333 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 334 | | public override string ToString() { |
| | 335 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 336 | | } |
| | 337 | |
|
| | 338 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 339 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 340 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 341 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 342 | | output.WriteRawMessage(this); |
| | 343 | | #else |
| | 344 | | if (_unknownFields != null) { |
| | 345 | | _unknownFields.WriteTo(output); |
| | 346 | | } |
| | 347 | | #endif |
| | 348 | | } |
| | 349 | |
|
| | 350 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 351 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 352 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 353 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 354 | | if (_unknownFields != null) { |
| | 355 | | _unknownFields.WriteTo(ref output); |
| | 356 | | } |
| | 357 | | } |
| | 358 | | #endif |
| | 359 | |
|
| | 360 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 361 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 362 | | public int CalculateSize() { |
| | 363 | | int size = 0; |
| | 364 | | if (_unknownFields != null) { |
| | 365 | | size += _unknownFields.CalculateSize(); |
| | 366 | | } |
| | 367 | | return size; |
| | 368 | | } |
| | 369 | |
|
| | 370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 372 | | public void MergeFrom(ApproveFriendRequestReply other) { |
| | 373 | | if (other == null) { |
| | 374 | | return; |
| | 375 | | } |
| | 376 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 377 | | } |
| | 378 | |
|
| | 379 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 380 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 381 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 382 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 383 | | input.ReadRawMessage(this); |
| | 384 | | #else |
| | 385 | | uint tag; |
| | 386 | | while ((tag = input.ReadTag()) != 0) { |
| | 387 | | switch(tag) { |
| | 388 | | default: |
| | 389 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 390 | | break; |
| | 391 | | } |
| | 392 | | } |
| | 393 | | #endif |
| | 394 | | } |
| | 395 | |
|
| | 396 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 399 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 400 | | uint tag; |
| | 401 | | while ((tag = input.ReadTag()) != 0) { |
| | 402 | | switch(tag) { |
| | 403 | | default: |
| | 404 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 405 | | break; |
| | 406 | | } |
| | 407 | | } |
| | 408 | | } |
| | 409 | | #endif |
| | 410 | |
|
| | 411 | | } |
| | 412 | |
|
| | 413 | | public sealed partial class RejectFriendRequestPayload : pb::IMessage<RejectFriendRequestPayload> |
| | 414 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 415 | | , pb::IBufferMessage |
| | 416 | | #endif |
| | 417 | | { |
| | 418 | | private static readonly pb::MessageParser<RejectFriendRequestPayload> _parser = new pb::MessageParser<RejectFriendRe |
| | 419 | | private pb::UnknownFieldSet _unknownFields; |
| | 420 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 421 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 422 | | public static pb::MessageParser<RejectFriendRequestPayload> Parser { get { return _parser; } } |
| | 423 | |
|
| | 424 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 425 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 426 | | public static pbr::MessageDescriptor Descriptor { |
| | 427 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 428 | | } |
| | 429 | |
|
| | 430 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 431 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 432 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 433 | | get { return Descriptor; } |
| | 434 | | } |
| | 435 | |
|
| | 436 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 437 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 438 | | public RejectFriendRequestPayload() { |
| | 439 | | OnConstruction(); |
| | 440 | | } |
| | 441 | |
|
| | 442 | | partial void OnConstruction(); |
| | 443 | |
|
| | 444 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 445 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 446 | | public RejectFriendRequestPayload(RejectFriendRequestPayload other) : this() { |
| | 447 | | userId_ = other.userId_; |
| | 448 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 449 | | } |
| | 450 | |
|
| | 451 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 452 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 453 | | public RejectFriendRequestPayload Clone() { |
| | 454 | | return new RejectFriendRequestPayload(this); |
| | 455 | | } |
| | 456 | |
|
| | 457 | | /// <summary>Field number for the "user_id" field.</summary> |
| | 458 | | public const int UserIdFieldNumber = 1; |
| | 459 | | private string userId_ = ""; |
| | 460 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 461 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 462 | | public string UserId { |
| | 463 | | get { return userId_; } |
| | 464 | | set { |
| | 465 | | userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 466 | | } |
| | 467 | | } |
| | 468 | |
|
| | 469 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 470 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 471 | | public override bool Equals(object other) { |
| | 472 | | return Equals(other as RejectFriendRequestPayload); |
| | 473 | | } |
| | 474 | |
|
| | 475 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 476 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 477 | | public bool Equals(RejectFriendRequestPayload other) { |
| | 478 | | if (ReferenceEquals(other, null)) { |
| | 479 | | return false; |
| | 480 | | } |
| | 481 | | if (ReferenceEquals(other, this)) { |
| | 482 | | return true; |
| | 483 | | } |
| | 484 | | if (UserId != other.UserId) return false; |
| | 485 | | return Equals(_unknownFields, other._unknownFields); |
| | 486 | | } |
| | 487 | |
|
| | 488 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 489 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 490 | | public override int GetHashCode() { |
| | 491 | | int hash = 1; |
| | 492 | | if (UserId.Length != 0) hash ^= UserId.GetHashCode(); |
| | 493 | | if (_unknownFields != null) { |
| | 494 | | hash ^= _unknownFields.GetHashCode(); |
| | 495 | | } |
| | 496 | | return hash; |
| | 497 | | } |
| | 498 | |
|
| | 499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 501 | | public override string ToString() { |
| | 502 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 503 | | } |
| | 504 | |
|
| | 505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 507 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 508 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 509 | | output.WriteRawMessage(this); |
| | 510 | | #else |
| | 511 | | if (UserId.Length != 0) { |
| | 512 | | output.WriteRawTag(10); |
| | 513 | | output.WriteString(UserId); |
| | 514 | | } |
| | 515 | | if (_unknownFields != null) { |
| | 516 | | _unknownFields.WriteTo(output); |
| | 517 | | } |
| | 518 | | #endif |
| | 519 | | } |
| | 520 | |
|
| | 521 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 522 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 523 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 524 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 525 | | if (UserId.Length != 0) { |
| | 526 | | output.WriteRawTag(10); |
| | 527 | | output.WriteString(UserId); |
| | 528 | | } |
| | 529 | | if (_unknownFields != null) { |
| | 530 | | _unknownFields.WriteTo(ref output); |
| | 531 | | } |
| | 532 | | } |
| | 533 | | #endif |
| | 534 | |
|
| | 535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 537 | | public int CalculateSize() { |
| | 538 | | int size = 0; |
| | 539 | | if (UserId.Length != 0) { |
| | 540 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); |
| | 541 | | } |
| | 542 | | if (_unknownFields != null) { |
| | 543 | | size += _unknownFields.CalculateSize(); |
| | 544 | | } |
| | 545 | | return size; |
| | 546 | | } |
| | 547 | |
|
| | 548 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 549 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 550 | | public void MergeFrom(RejectFriendRequestPayload other) { |
| | 551 | | if (other == null) { |
| | 552 | | return; |
| | 553 | | } |
| | 554 | | if (other.UserId.Length != 0) { |
| | 555 | | UserId = other.UserId; |
| | 556 | | } |
| | 557 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 558 | | } |
| | 559 | |
|
| | 560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 562 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 563 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 564 | | input.ReadRawMessage(this); |
| | 565 | | #else |
| | 566 | | uint tag; |
| | 567 | | while ((tag = input.ReadTag()) != 0) { |
| | 568 | | switch(tag) { |
| | 569 | | default: |
| | 570 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 571 | | break; |
| | 572 | | case 10: { |
| | 573 | | UserId = input.ReadString(); |
| | 574 | | break; |
| | 575 | | } |
| | 576 | | } |
| | 577 | | } |
| | 578 | | #endif |
| | 579 | | } |
| | 580 | |
|
| | 581 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 582 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 583 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 584 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 585 | | uint tag; |
| | 586 | | while ((tag = input.ReadTag()) != 0) { |
| | 587 | | switch(tag) { |
| | 588 | | default: |
| | 589 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 590 | | break; |
| | 591 | | case 10: { |
| | 592 | | UserId = input.ReadString(); |
| | 593 | | break; |
| | 594 | | } |
| | 595 | | } |
| | 596 | | } |
| | 597 | | } |
| | 598 | | #endif |
| | 599 | |
|
| | 600 | | } |
| | 601 | |
|
| | 602 | | public sealed partial class RejectFriendRequestReply : pb::IMessage<RejectFriendRequestReply> |
| | 603 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 604 | | , pb::IBufferMessage |
| | 605 | | #endif |
| | 606 | | { |
| | 607 | | private static readonly pb::MessageParser<RejectFriendRequestReply> _parser = new pb::MessageParser<RejectFriendRequ |
| | 608 | | private pb::UnknownFieldSet _unknownFields; |
| | 609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 611 | | public static pb::MessageParser<RejectFriendRequestReply> Parser { get { return _parser; } } |
| | 612 | |
|
| | 613 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 614 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 615 | | public static pbr::MessageDescriptor Descriptor { |
| | 616 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 617 | | } |
| | 618 | |
|
| | 619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 621 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 622 | | get { return Descriptor; } |
| | 623 | | } |
| | 624 | |
|
| | 625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 627 | | public RejectFriendRequestReply() { |
| | 628 | | OnConstruction(); |
| | 629 | | } |
| | 630 | |
|
| | 631 | | partial void OnConstruction(); |
| | 632 | |
|
| | 633 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 634 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 635 | | public RejectFriendRequestReply(RejectFriendRequestReply other) : this() { |
| | 636 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 637 | | } |
| | 638 | |
|
| | 639 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 640 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 641 | | public RejectFriendRequestReply Clone() { |
| | 642 | | return new RejectFriendRequestReply(this); |
| | 643 | | } |
| | 644 | |
|
| | 645 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 646 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 647 | | public override bool Equals(object other) { |
| | 648 | | return Equals(other as RejectFriendRequestReply); |
| | 649 | | } |
| | 650 | |
|
| | 651 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 652 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 653 | | public bool Equals(RejectFriendRequestReply other) { |
| | 654 | | if (ReferenceEquals(other, null)) { |
| | 655 | | return false; |
| | 656 | | } |
| | 657 | | if (ReferenceEquals(other, this)) { |
| | 658 | | return true; |
| | 659 | | } |
| | 660 | | return Equals(_unknownFields, other._unknownFields); |
| | 661 | | } |
| | 662 | |
|
| | 663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 665 | | public override int GetHashCode() { |
| | 666 | | int hash = 1; |
| | 667 | | if (_unknownFields != null) { |
| | 668 | | hash ^= _unknownFields.GetHashCode(); |
| | 669 | | } |
| | 670 | | return hash; |
| | 671 | | } |
| | 672 | |
|
| | 673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 675 | | public override string ToString() { |
| | 676 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 677 | | } |
| | 678 | |
|
| | 679 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 680 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 681 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 682 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 683 | | output.WriteRawMessage(this); |
| | 684 | | #else |
| | 685 | | if (_unknownFields != null) { |
| | 686 | | _unknownFields.WriteTo(output); |
| | 687 | | } |
| | 688 | | #endif |
| | 689 | | } |
| | 690 | |
|
| | 691 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 694 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 695 | | if (_unknownFields != null) { |
| | 696 | | _unknownFields.WriteTo(ref output); |
| | 697 | | } |
| | 698 | | } |
| | 699 | | #endif |
| | 700 | |
|
| | 701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 703 | | public int CalculateSize() { |
| | 704 | | int size = 0; |
| | 705 | | if (_unknownFields != null) { |
| | 706 | | size += _unknownFields.CalculateSize(); |
| | 707 | | } |
| | 708 | | return size; |
| | 709 | | } |
| | 710 | |
|
| | 711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 713 | | public void MergeFrom(RejectFriendRequestReply other) { |
| | 714 | | if (other == null) { |
| | 715 | | return; |
| | 716 | | } |
| | 717 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 718 | | } |
| | 719 | |
|
| | 720 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 721 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 722 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 723 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 724 | | input.ReadRawMessage(this); |
| | 725 | | #else |
| | 726 | | uint tag; |
| | 727 | | while ((tag = input.ReadTag()) != 0) { |
| | 728 | | switch(tag) { |
| | 729 | | default: |
| | 730 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 731 | | break; |
| | 732 | | } |
| | 733 | | } |
| | 734 | | #endif |
| | 735 | | } |
| | 736 | |
|
| | 737 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 738 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 739 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 740 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 741 | | uint tag; |
| | 742 | | while ((tag = input.ReadTag()) != 0) { |
| | 743 | | switch(tag) { |
| | 744 | | default: |
| | 745 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 746 | | break; |
| | 747 | | } |
| | 748 | | } |
| | 749 | | } |
| | 750 | | #endif |
| | 751 | |
|
| | 752 | | } |
| | 753 | |
|
| | 754 | | public sealed partial class CancelFriendRequestPayload : pb::IMessage<CancelFriendRequestPayload> |
| | 755 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 756 | | , pb::IBufferMessage |
| | 757 | | #endif |
| | 758 | | { |
| 0 | 759 | | private static readonly pb::MessageParser<CancelFriendRequestPayload> _parser = new pb::MessageParser<CancelFriendRe |
| | 760 | | private pb::UnknownFieldSet _unknownFields; |
| | 761 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 762 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 763 | | public static pb::MessageParser<CancelFriendRequestPayload> Parser { get { return _parser; } } |
| | 764 | |
|
| | 765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 767 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 768 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 769 | | } |
| | 770 | |
|
| | 771 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 772 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 773 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 774 | | get { return Descriptor; } |
| | 775 | | } |
| | 776 | |
|
| | 777 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 778 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 779 | | public CancelFriendRequestPayload() { |
| | 780 | | OnConstruction(); |
| 0 | 781 | | } |
| | 782 | |
|
| | 783 | | partial void OnConstruction(); |
| | 784 | |
|
| | 785 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 786 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 787 | | public CancelFriendRequestPayload(CancelFriendRequestPayload other) : this() { |
| 0 | 788 | | userId_ = other.userId_; |
| 0 | 789 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 790 | | } |
| | 791 | |
|
| | 792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 794 | | public CancelFriendRequestPayload Clone() { |
| 0 | 795 | | return new CancelFriendRequestPayload(this); |
| | 796 | | } |
| | 797 | |
|
| | 798 | | /// <summary>Field number for the "user_id" field.</summary> |
| | 799 | | public const int UserIdFieldNumber = 1; |
| 0 | 800 | | private string userId_ = ""; |
| | 801 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 802 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 803 | | public string UserId { |
| 0 | 804 | | get { return userId_; } |
| | 805 | | set { |
| 0 | 806 | | userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 807 | | } |
| | 808 | | } |
| | 809 | |
|
| | 810 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 811 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 812 | | public override bool Equals(object other) { |
| 0 | 813 | | return Equals(other as CancelFriendRequestPayload); |
| | 814 | | } |
| | 815 | |
|
| | 816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 818 | | public bool Equals(CancelFriendRequestPayload other) { |
| 0 | 819 | | if (ReferenceEquals(other, null)) { |
| 0 | 820 | | return false; |
| | 821 | | } |
| 0 | 822 | | if (ReferenceEquals(other, this)) { |
| 0 | 823 | | return true; |
| | 824 | | } |
| 0 | 825 | | if (UserId != other.UserId) return false; |
| 0 | 826 | | return Equals(_unknownFields, other._unknownFields); |
| | 827 | | } |
| | 828 | |
|
| | 829 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 830 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 831 | | public override int GetHashCode() { |
| 0 | 832 | | int hash = 1; |
| 0 | 833 | | if (UserId.Length != 0) hash ^= UserId.GetHashCode(); |
| 0 | 834 | | if (_unknownFields != null) { |
| 0 | 835 | | hash ^= _unknownFields.GetHashCode(); |
| | 836 | | } |
| 0 | 837 | | return hash; |
| | 838 | | } |
| | 839 | |
|
| | 840 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 841 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 842 | | public override string ToString() { |
| 0 | 843 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 844 | | } |
| | 845 | |
|
| | 846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 848 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 849 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 850 | | output.WriteRawMessage(this); |
| | 851 | | #else |
| 0 | 852 | | if (UserId.Length != 0) { |
| 0 | 853 | | output.WriteRawTag(10); |
| 0 | 854 | | output.WriteString(UserId); |
| | 855 | | } |
| 0 | 856 | | if (_unknownFields != null) { |
| 0 | 857 | | _unknownFields.WriteTo(output); |
| | 858 | | } |
| | 859 | | #endif |
| 0 | 860 | | } |
| | 861 | |
|
| | 862 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 863 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 864 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 865 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 866 | | if (UserId.Length != 0) { |
| | 867 | | output.WriteRawTag(10); |
| | 868 | | output.WriteString(UserId); |
| | 869 | | } |
| | 870 | | if (_unknownFields != null) { |
| | 871 | | _unknownFields.WriteTo(ref output); |
| | 872 | | } |
| | 873 | | } |
| | 874 | | #endif |
| | 875 | |
|
| | 876 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 877 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 878 | | public int CalculateSize() { |
| 0 | 879 | | int size = 0; |
| 0 | 880 | | if (UserId.Length != 0) { |
| 0 | 881 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); |
| | 882 | | } |
| 0 | 883 | | if (_unknownFields != null) { |
| 0 | 884 | | size += _unknownFields.CalculateSize(); |
| | 885 | | } |
| 0 | 886 | | return size; |
| | 887 | | } |
| | 888 | |
|
| | 889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 891 | | public void MergeFrom(CancelFriendRequestPayload other) { |
| 0 | 892 | | if (other == null) { |
| 0 | 893 | | return; |
| | 894 | | } |
| 0 | 895 | | if (other.UserId.Length != 0) { |
| 0 | 896 | | UserId = other.UserId; |
| | 897 | | } |
| 0 | 898 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 899 | | } |
| | 900 | |
|
| | 901 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 902 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 903 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 904 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 905 | | input.ReadRawMessage(this); |
| | 906 | | #else |
| | 907 | | uint tag; |
| 0 | 908 | | while ((tag = input.ReadTag()) != 0) { |
| | 909 | | switch(tag) { |
| | 910 | | default: |
| 0 | 911 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 912 | | break; |
| | 913 | | case 10: { |
| 0 | 914 | | UserId = input.ReadString(); |
| | 915 | | break; |
| | 916 | | } |
| | 917 | | } |
| | 918 | | } |
| | 919 | | #endif |
| 0 | 920 | | } |
| | 921 | |
|
| | 922 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 925 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 926 | | uint tag; |
| | 927 | | while ((tag = input.ReadTag()) != 0) { |
| | 928 | | switch(tag) { |
| | 929 | | default: |
| | 930 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 931 | | break; |
| | 932 | | case 10: { |
| | 933 | | UserId = input.ReadString(); |
| | 934 | | break; |
| | 935 | | } |
| | 936 | | } |
| | 937 | | } |
| | 938 | | } |
| | 939 | | #endif |
| | 940 | |
|
| | 941 | | } |
| | 942 | |
|
| | 943 | | public sealed partial class CancelFriendRequestReply : pb::IMessage<CancelFriendRequestReply> |
| | 944 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 945 | | , pb::IBufferMessage |
| | 946 | | #endif |
| | 947 | | { |
| | 948 | | private static readonly pb::MessageParser<CancelFriendRequestReply> _parser = new pb::MessageParser<CancelFriendRequ |
| | 949 | | private pb::UnknownFieldSet _unknownFields; |
| | 950 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 951 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 952 | | public static pb::MessageParser<CancelFriendRequestReply> Parser { get { return _parser; } } |
| | 953 | |
|
| | 954 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 955 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 956 | | public static pbr::MessageDescriptor Descriptor { |
| | 957 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 958 | | } |
| | 959 | |
|
| | 960 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 961 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 962 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 963 | | get { return Descriptor; } |
| | 964 | | } |
| | 965 | |
|
| | 966 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 967 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 968 | | public CancelFriendRequestReply() { |
| | 969 | | OnConstruction(); |
| | 970 | | } |
| | 971 | |
|
| | 972 | | partial void OnConstruction(); |
| | 973 | |
|
| | 974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 976 | | public CancelFriendRequestReply(CancelFriendRequestReply other) : this() { |
| | 977 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 978 | | } |
| | 979 | |
|
| | 980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 982 | | public CancelFriendRequestReply Clone() { |
| | 983 | | return new CancelFriendRequestReply(this); |
| | 984 | | } |
| | 985 | |
|
| | 986 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 987 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 988 | | public override bool Equals(object other) { |
| | 989 | | return Equals(other as CancelFriendRequestReply); |
| | 990 | | } |
| | 991 | |
|
| | 992 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 993 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 994 | | public bool Equals(CancelFriendRequestReply other) { |
| | 995 | | if (ReferenceEquals(other, null)) { |
| | 996 | | return false; |
| | 997 | | } |
| | 998 | | if (ReferenceEquals(other, this)) { |
| | 999 | | return true; |
| | 1000 | | } |
| | 1001 | | return Equals(_unknownFields, other._unknownFields); |
| | 1002 | | } |
| | 1003 | |
|
| | 1004 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1005 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1006 | | public override int GetHashCode() { |
| | 1007 | | int hash = 1; |
| | 1008 | | if (_unknownFields != null) { |
| | 1009 | | hash ^= _unknownFields.GetHashCode(); |
| | 1010 | | } |
| | 1011 | | return hash; |
| | 1012 | | } |
| | 1013 | |
|
| | 1014 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1015 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1016 | | public override string ToString() { |
| | 1017 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1018 | | } |
| | 1019 | |
|
| | 1020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1022 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1023 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1024 | | output.WriteRawMessage(this); |
| | 1025 | | #else |
| | 1026 | | if (_unknownFields != null) { |
| | 1027 | | _unknownFields.WriteTo(output); |
| | 1028 | | } |
| | 1029 | | #endif |
| | 1030 | | } |
| | 1031 | |
|
| | 1032 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1035 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1036 | | if (_unknownFields != null) { |
| | 1037 | | _unknownFields.WriteTo(ref output); |
| | 1038 | | } |
| | 1039 | | } |
| | 1040 | | #endif |
| | 1041 | |
|
| | 1042 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1043 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1044 | | public int CalculateSize() { |
| | 1045 | | int size = 0; |
| | 1046 | | if (_unknownFields != null) { |
| | 1047 | | size += _unknownFields.CalculateSize(); |
| | 1048 | | } |
| | 1049 | | return size; |
| | 1050 | | } |
| | 1051 | |
|
| | 1052 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1053 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1054 | | public void MergeFrom(CancelFriendRequestReply other) { |
| | 1055 | | if (other == null) { |
| | 1056 | | return; |
| | 1057 | | } |
| | 1058 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1059 | | } |
| | 1060 | |
|
| | 1061 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1062 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1063 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1064 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1065 | | input.ReadRawMessage(this); |
| | 1066 | | #else |
| | 1067 | | uint tag; |
| | 1068 | | while ((tag = input.ReadTag()) != 0) { |
| | 1069 | | switch(tag) { |
| | 1070 | | default: |
| | 1071 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1072 | | break; |
| | 1073 | | } |
| | 1074 | | } |
| | 1075 | | #endif |
| | 1076 | | } |
| | 1077 | |
|
| | 1078 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1079 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1080 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1081 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1082 | | uint tag; |
| | 1083 | | while ((tag = input.ReadTag()) != 0) { |
| | 1084 | | switch(tag) { |
| | 1085 | | default: |
| | 1086 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1087 | | break; |
| | 1088 | | } |
| | 1089 | | } |
| | 1090 | | } |
| | 1091 | | #endif |
| | 1092 | |
|
| | 1093 | | } |
| | 1094 | |
|
| | 1095 | | public sealed partial class ReceiveFriendRequestPayload : pb::IMessage<ReceiveFriendRequestPayload> |
| | 1096 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1097 | | , pb::IBufferMessage |
| | 1098 | | #endif |
| | 1099 | | { |
| | 1100 | | private static readonly pb::MessageParser<ReceiveFriendRequestPayload> _parser = new pb::MessageParser<ReceiveFriend |
| | 1101 | | private pb::UnknownFieldSet _unknownFields; |
| | 1102 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1103 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1104 | | public static pb::MessageParser<ReceiveFriendRequestPayload> Parser { get { return _parser; } } |
| | 1105 | |
|
| | 1106 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1107 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1108 | | public static pbr::MessageDescriptor Descriptor { |
| | 1109 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 1110 | | } |
| | 1111 | |
|
| | 1112 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1113 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1114 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1115 | | get { return Descriptor; } |
| | 1116 | | } |
| | 1117 | |
|
| | 1118 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1119 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1120 | | public ReceiveFriendRequestPayload() { |
| | 1121 | | OnConstruction(); |
| | 1122 | | } |
| | 1123 | |
|
| | 1124 | | partial void OnConstruction(); |
| | 1125 | |
|
| | 1126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1128 | | public ReceiveFriendRequestPayload(ReceiveFriendRequestPayload other) : this() { |
| | 1129 | | friendRequest_ = other.friendRequest_ != null ? other.friendRequest_.Clone() : null; |
| | 1130 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1131 | | } |
| | 1132 | |
|
| | 1133 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1134 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1135 | | public ReceiveFriendRequestPayload Clone() { |
| | 1136 | | return new ReceiveFriendRequestPayload(this); |
| | 1137 | | } |
| | 1138 | |
|
| | 1139 | | /// <summary>Field number for the "friend_request" field.</summary> |
| | 1140 | | public const int FriendRequestFieldNumber = 1; |
| | 1141 | | private global::Decentraland.Renderer.Common.FriendRequestInfo friendRequest_; |
| | 1142 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1143 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1144 | | public global::Decentraland.Renderer.Common.FriendRequestInfo FriendRequest { |
| | 1145 | | get { return friendRequest_; } |
| | 1146 | | set { |
| | 1147 | | friendRequest_ = value; |
| | 1148 | | } |
| | 1149 | | } |
| | 1150 | |
|
| | 1151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1153 | | public override bool Equals(object other) { |
| | 1154 | | return Equals(other as ReceiveFriendRequestPayload); |
| | 1155 | | } |
| | 1156 | |
|
| | 1157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1159 | | public bool Equals(ReceiveFriendRequestPayload other) { |
| | 1160 | | if (ReferenceEquals(other, null)) { |
| | 1161 | | return false; |
| | 1162 | | } |
| | 1163 | | if (ReferenceEquals(other, this)) { |
| | 1164 | | return true; |
| | 1165 | | } |
| | 1166 | | if (!object.Equals(FriendRequest, other.FriendRequest)) return false; |
| | 1167 | | return Equals(_unknownFields, other._unknownFields); |
| | 1168 | | } |
| | 1169 | |
|
| | 1170 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1171 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1172 | | public override int GetHashCode() { |
| | 1173 | | int hash = 1; |
| | 1174 | | if (friendRequest_ != null) hash ^= FriendRequest.GetHashCode(); |
| | 1175 | | if (_unknownFields != null) { |
| | 1176 | | hash ^= _unknownFields.GetHashCode(); |
| | 1177 | | } |
| | 1178 | | return hash; |
| | 1179 | | } |
| | 1180 | |
|
| | 1181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1183 | | public override string ToString() { |
| | 1184 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1185 | | } |
| | 1186 | |
|
| | 1187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1189 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1190 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1191 | | output.WriteRawMessage(this); |
| | 1192 | | #else |
| | 1193 | | if (friendRequest_ != null) { |
| | 1194 | | output.WriteRawTag(10); |
| | 1195 | | output.WriteMessage(FriendRequest); |
| | 1196 | | } |
| | 1197 | | if (_unknownFields != null) { |
| | 1198 | | _unknownFields.WriteTo(output); |
| | 1199 | | } |
| | 1200 | | #endif |
| | 1201 | | } |
| | 1202 | |
|
| | 1203 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1206 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1207 | | if (friendRequest_ != null) { |
| | 1208 | | output.WriteRawTag(10); |
| | 1209 | | output.WriteMessage(FriendRequest); |
| | 1210 | | } |
| | 1211 | | if (_unknownFields != null) { |
| | 1212 | | _unknownFields.WriteTo(ref output); |
| | 1213 | | } |
| | 1214 | | } |
| | 1215 | | #endif |
| | 1216 | |
|
| | 1217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1219 | | public int CalculateSize() { |
| | 1220 | | int size = 0; |
| | 1221 | | if (friendRequest_ != null) { |
| | 1222 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(FriendRequest); |
| | 1223 | | } |
| | 1224 | | if (_unknownFields != null) { |
| | 1225 | | size += _unknownFields.CalculateSize(); |
| | 1226 | | } |
| | 1227 | | return size; |
| | 1228 | | } |
| | 1229 | |
|
| | 1230 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1231 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1232 | | public void MergeFrom(ReceiveFriendRequestPayload other) { |
| | 1233 | | if (other == null) { |
| | 1234 | | return; |
| | 1235 | | } |
| | 1236 | | if (other.friendRequest_ != null) { |
| | 1237 | | if (friendRequest_ == null) { |
| | 1238 | | FriendRequest = new global::Decentraland.Renderer.Common.FriendRequestInfo(); |
| | 1239 | | } |
| | 1240 | | FriendRequest.MergeFrom(other.FriendRequest); |
| | 1241 | | } |
| | 1242 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1243 | | } |
| | 1244 | |
|
| | 1245 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1246 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1247 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1248 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1249 | | input.ReadRawMessage(this); |
| | 1250 | | #else |
| | 1251 | | uint tag; |
| | 1252 | | while ((tag = input.ReadTag()) != 0) { |
| | 1253 | | switch(tag) { |
| | 1254 | | default: |
| | 1255 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1256 | | break; |
| | 1257 | | case 10: { |
| | 1258 | | if (friendRequest_ == null) { |
| | 1259 | | FriendRequest = new global::Decentraland.Renderer.Common.FriendRequestInfo(); |
| | 1260 | | } |
| | 1261 | | input.ReadMessage(FriendRequest); |
| | 1262 | | break; |
| | 1263 | | } |
| | 1264 | | } |
| | 1265 | | } |
| | 1266 | | #endif |
| | 1267 | | } |
| | 1268 | |
|
| | 1269 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1270 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1271 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1272 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1273 | | uint tag; |
| | 1274 | | while ((tag = input.ReadTag()) != 0) { |
| | 1275 | | switch(tag) { |
| | 1276 | | default: |
| | 1277 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1278 | | break; |
| | 1279 | | case 10: { |
| | 1280 | | if (friendRequest_ == null) { |
| | 1281 | | FriendRequest = new global::Decentraland.Renderer.Common.FriendRequestInfo(); |
| | 1282 | | } |
| | 1283 | | input.ReadMessage(FriendRequest); |
| | 1284 | | break; |
| | 1285 | | } |
| | 1286 | | } |
| | 1287 | | } |
| | 1288 | | } |
| | 1289 | | #endif |
| | 1290 | |
|
| | 1291 | | } |
| | 1292 | |
|
| | 1293 | | public sealed partial class ReceiveFriendRequestReply : pb::IMessage<ReceiveFriendRequestReply> |
| | 1294 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1295 | | , pb::IBufferMessage |
| | 1296 | | #endif |
| | 1297 | | { |
| | 1298 | | private static readonly pb::MessageParser<ReceiveFriendRequestReply> _parser = new pb::MessageParser<ReceiveFriendRe |
| | 1299 | | private pb::UnknownFieldSet _unknownFields; |
| | 1300 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1301 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1302 | | public static pb::MessageParser<ReceiveFriendRequestReply> Parser { get { return _parser; } } |
| | 1303 | |
|
| | 1304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1306 | | public static pbr::MessageDescriptor Descriptor { |
| | 1307 | | get { return global::Decentraland.Renderer.RendererServices.FriendRequestRendererReflection.Descriptor.MessageType |
| | 1308 | | } |
| | 1309 | |
|
| | 1310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1312 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1313 | | get { return Descriptor; } |
| | 1314 | | } |
| | 1315 | |
|
| | 1316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1318 | | public ReceiveFriendRequestReply() { |
| | 1319 | | OnConstruction(); |
| | 1320 | | } |
| | 1321 | |
|
| | 1322 | | partial void OnConstruction(); |
| | 1323 | |
|
| | 1324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1326 | | public ReceiveFriendRequestReply(ReceiveFriendRequestReply other) : this() { |
| | 1327 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1328 | | } |
| | 1329 | |
|
| | 1330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1332 | | public ReceiveFriendRequestReply Clone() { |
| | 1333 | | return new ReceiveFriendRequestReply(this); |
| | 1334 | | } |
| | 1335 | |
|
| | 1336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1338 | | public override bool Equals(object other) { |
| | 1339 | | return Equals(other as ReceiveFriendRequestReply); |
| | 1340 | | } |
| | 1341 | |
|
| | 1342 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1343 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1344 | | public bool Equals(ReceiveFriendRequestReply other) { |
| | 1345 | | if (ReferenceEquals(other, null)) { |
| | 1346 | | return false; |
| | 1347 | | } |
| | 1348 | | if (ReferenceEquals(other, this)) { |
| | 1349 | | return true; |
| | 1350 | | } |
| | 1351 | | return Equals(_unknownFields, other._unknownFields); |
| | 1352 | | } |
| | 1353 | |
|
| | 1354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1356 | | public override int GetHashCode() { |
| | 1357 | | int hash = 1; |
| | 1358 | | if (_unknownFields != null) { |
| | 1359 | | hash ^= _unknownFields.GetHashCode(); |
| | 1360 | | } |
| | 1361 | | return hash; |
| | 1362 | | } |
| | 1363 | |
|
| | 1364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1366 | | public override string ToString() { |
| | 1367 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1368 | | } |
| | 1369 | |
|
| | 1370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1372 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1373 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1374 | | output.WriteRawMessage(this); |
| | 1375 | | #else |
| | 1376 | | if (_unknownFields != null) { |
| | 1377 | | _unknownFields.WriteTo(output); |
| | 1378 | | } |
| | 1379 | | #endif |
| | 1380 | | } |
| | 1381 | |
|
| | 1382 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1385 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1386 | | if (_unknownFields != null) { |
| | 1387 | | _unknownFields.WriteTo(ref output); |
| | 1388 | | } |
| | 1389 | | } |
| | 1390 | | #endif |
| | 1391 | |
|
| | 1392 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1393 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1394 | | public int CalculateSize() { |
| | 1395 | | int size = 0; |
| | 1396 | | if (_unknownFields != null) { |
| | 1397 | | size += _unknownFields.CalculateSize(); |
| | 1398 | | } |
| | 1399 | | return size; |
| | 1400 | | } |
| | 1401 | |
|
| | 1402 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1403 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1404 | | public void MergeFrom(ReceiveFriendRequestReply other) { |
| | 1405 | | if (other == null) { |
| | 1406 | | return; |
| | 1407 | | } |
| | 1408 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1409 | | } |
| | 1410 | |
|
| | 1411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1413 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1414 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1415 | | input.ReadRawMessage(this); |
| | 1416 | | #else |
| | 1417 | | uint tag; |
| | 1418 | | while ((tag = input.ReadTag()) != 0) { |
| | 1419 | | switch(tag) { |
| | 1420 | | default: |
| | 1421 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1422 | | break; |
| | 1423 | | } |
| | 1424 | | } |
| | 1425 | | #endif |
| | 1426 | | } |
| | 1427 | |
|
| | 1428 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1429 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1430 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1431 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1432 | | uint tag; |
| | 1433 | | while ((tag = input.ReadTag()) != 0) { |
| | 1434 | | switch(tag) { |
| | 1435 | | default: |
| | 1436 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1437 | | break; |
| | 1438 | | } |
| | 1439 | | } |
| | 1440 | | } |
| | 1441 | | #endif |
| | 1442 | |
|
| | 1443 | | } |
| | 1444 | |
|
| | 1445 | | #endregion |
| | 1446 | |
|
| | 1447 | | } |
| | 1448 | |
|
| | 1449 | | #endregion Designer generated code |