Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: POGOProtos/Networking/Requests/Messages/GetInboxMessage.proto
  3. #pragma warning disable 1591, 0612, 3021
  4. #region Designer generated code
  5.  
  6. using pb = global::Google.Protobuf;
  7. using pbc = global::Google.Protobuf.Collections;
  8. using pbr = global::Google.Protobuf.Reflection;
  9. using scg = global::System.Collections.Generic;
  10. namespace POGOProtos.Networking.Requests.Messages {
  11.  
  12. /// <summary>Holder for reflection information generated from POGOProtos/Networking/Requests/Messages/GetInboxMessage.proto</summary>
  13. public static partial class GetInboxMessageReflection {
  14.  
  15. #region Descriptor
  16. /// <summary>File descriptor for POGOProtos/Networking/Requests/Messages/GetInboxMessage.proto</summary>
  17. public static pbr::FileDescriptor Descriptor {
  18. get { return descriptor; }
  19. }
  20. private static pbr::FileDescriptor descriptor;
  21.  
  22. static GetInboxMessageReflection() {
  23. byte[] descriptorData = global::System.Convert.FromBase64String(
  24. string.Concat(
  25. "Cj1QT0dPUHJvdG9zL05ldHdvcmtpbmcvUmVxdWVzdHMvTWVzc2FnZXMvR2V0",
  26. "SW5ib3hNZXNzYWdlLnByb3RvEidQT0dPUHJvdG9zLk5ldHdvcmtpbmcuUmVx",
  27. "dWVzdHMuTWVzc2FnZXMiUAoPR2V0SW5ib3hNZXNzYWdlEhIKCmlzX2hpc3Rv",
  28. "cnkYASABKAgSEgoKaXNfcmV2ZXJzZRgCIAEoCBIVCg1ub3RfYmVmb3JlX21z",
  29. "GAMgASgDYgZwcm90bzM="));
  30. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  31. new pbr::FileDescriptor[] { },
  32. new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
  33. new pbr::GeneratedClrTypeInfo(typeof(global::POGOProtos.Networking.Requests.Messages.GetInboxMessage), global::POGOProtos.Networking.Requests.Messages.GetInboxMessage.Parser, new[]{ "IsHistory", "IsReverse", "NotBeforeMs" }, null, null, null)
  34. }));
  35. }
  36. #endregion
  37.  
  38. }
  39. #region Messages
  40. public sealed partial class GetInboxMessage : pb::IMessage<GetInboxMessage> {
  41. private static readonly pb::MessageParser<GetInboxMessage> _parser = new pb::MessageParser<GetInboxMessage>(() => new GetInboxMessage());
  42. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  43. public static pb::MessageParser<GetInboxMessage> Parser { get { return _parser; } }
  44.  
  45. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  46. public static pbr::MessageDescriptor Descriptor {
  47. get { return global::POGOProtos.Networking.Requests.Messages.GetInboxMessageReflection.Descriptor.MessageTypes[0]; }
  48. }
  49.  
  50. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  51. pbr::MessageDescriptor pb::IMessage.Descriptor {
  52. get { return Descriptor; }
  53. }
  54.  
  55. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  56. public GetInboxMessage() {
  57. OnConstruction();
  58. }
  59.  
  60. partial void OnConstruction();
  61.  
  62. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  63. public GetInboxMessage(GetInboxMessage other) : this() {
  64. isHistory_ = other.isHistory_;
  65. isReverse_ = other.isReverse_;
  66. notBeforeMs_ = other.notBeforeMs_;
  67. }
  68.  
  69. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  70. public GetInboxMessage Clone() {
  71. return new GetInboxMessage(this);
  72. }
  73.  
  74. /// <summary>Field number for the "is_history" field.</summary>
  75. public const int IsHistoryFieldNumber = 1;
  76. private bool isHistory_;
  77. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  78. public bool IsHistory {
  79. get { return isHistory_; }
  80. set {
  81. isHistory_ = value;
  82. }
  83. }
  84.  
  85. /// <summary>Field number for the "is_reverse" field.</summary>
  86. public const int IsReverseFieldNumber = 2;
  87. private bool isReverse_;
  88. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  89. public bool IsReverse {
  90. get { return isReverse_; }
  91. set {
  92. isReverse_ = value;
  93. }
  94. }
  95.  
  96. /// <summary>Field number for the "not_before_ms" field.</summary>
  97. public const int NotBeforeMsFieldNumber = 3;
  98. private long notBeforeMs_;
  99. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  100. public long NotBeforeMs {
  101. get { return notBeforeMs_; }
  102. set {
  103. notBeforeMs_ = value;
  104. }
  105. }
  106.  
  107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  108. public override bool Equals(object other) {
  109. return Equals(other as GetInboxMessage);
  110. }
  111.  
  112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  113. public bool Equals(GetInboxMessage other) {
  114. if (ReferenceEquals(other, null)) {
  115. return false;
  116. }
  117. if (ReferenceEquals(other, this)) {
  118. return true;
  119. }
  120. if (IsHistory != other.IsHistory) return false;
  121. if (IsReverse != other.IsReverse) return false;
  122. if (NotBeforeMs != other.NotBeforeMs) return false;
  123. return true;
  124. }
  125.  
  126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  127. public override int GetHashCode() {
  128. int hash = 1;
  129. if (IsHistory != false) hash ^= IsHistory.GetHashCode();
  130. if (IsReverse != false) hash ^= IsReverse.GetHashCode();
  131. if (NotBeforeMs != 0L) hash ^= NotBeforeMs.GetHashCode();
  132. return hash;
  133. }
  134.  
  135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  136. public override string ToString() {
  137. return pb::JsonFormatter.ToDiagnosticString(this);
  138. }
  139.  
  140. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  141. public void WriteTo(pb::CodedOutputStream output) {
  142. if (IsHistory != false) {
  143. output.WriteRawTag(8);
  144. output.WriteBool(IsHistory);
  145. }
  146. if (IsReverse != false) {
  147. output.WriteRawTag(16);
  148. output.WriteBool(IsReverse);
  149. }
  150. if (NotBeforeMs != 0L) {
  151. output.WriteRawTag(24);
  152. output.WriteInt64(NotBeforeMs);
  153. }
  154. }
  155.  
  156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  157. public int CalculateSize() {
  158. int size = 0;
  159. if (IsHistory != false) {
  160. size += 1 + 1;
  161. }
  162. if (IsReverse != false) {
  163. size += 1 + 1;
  164. }
  165. if (NotBeforeMs != 0L) {
  166. size += 1 + pb::CodedOutputStream.ComputeInt64Size(NotBeforeMs);
  167. }
  168. return size;
  169. }
  170.  
  171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  172. public void MergeFrom(GetInboxMessage other) {
  173. if (other == null) {
  174. return;
  175. }
  176. if (other.IsHistory != false) {
  177. IsHistory = other.IsHistory;
  178. }
  179. if (other.IsReverse != false) {
  180. IsReverse = other.IsReverse;
  181. }
  182. if (other.NotBeforeMs != 0L) {
  183. NotBeforeMs = other.NotBeforeMs;
  184. }
  185. }
  186.  
  187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  188. public void MergeFrom(pb::CodedInputStream input) {
  189. uint tag;
  190. while ((tag = input.ReadTag()) != 0) {
  191. switch(tag) {
  192. default:
  193. input.SkipLastField();
  194. break;
  195. case 8: {
  196. IsHistory = input.ReadBool();
  197. break;
  198. }
  199. case 16: {
  200. IsReverse = input.ReadBool();
  201. break;
  202. }
  203. case 24: {
  204. NotBeforeMs = input.ReadInt64();
  205. break;
  206. }
  207. }
  208. }
  209. }
  210.  
  211. }
  212.  
  213. #endregion
  214.  
  215. }
  216.  
  217. #endregion Designer generated code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement