Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

210 строки
7.5 KiB

  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: JT808AtomicCounterService.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace JT808.GrpcDashbord.AtomicCounterGrpcService {
  12. /// <summary>Holder for reflection information generated from JT808AtomicCounterService.proto</summary>
  13. public static partial class JT808AtomicCounterServiceReflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for JT808AtomicCounterService.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static JT808AtomicCounterServiceReflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "Ch9KVDgwOEF0b21pY0NvdW50ZXJTZXJ2aWNlLnByb3RvEitKVDgwOC5HcnBj",
  24. "RGFzaGJvcmQuQXRvbWljQ291bnRlckdycGNTZXJ2aWNlGhJFbXB0eVJlcXVl",
  25. "c3QucHJvdG8iQwoSQXRvbWljQ291bnRlclJlcGx5EhcKD01zZ1N1Y2Nlc3ND",
  26. "b3VudBgBIAEoBRIUCgxNc2dGYWlsQ291bnQYAiABKAUysAIKFEF0b21pY0Nv",
  27. "dW50ZXJTZXJ2aWNlEooBChNHZXRUY3BBdG9taWNDb3VudGVyEjAuSlQ4MDgu",
  28. "R3JwY0Rhc2hib3JkLlNlcnZpY2VHcnBjQmFzZS5FbXB0eVJlcXVlc3QaPy5K",
  29. "VDgwOC5HcnBjRGFzaGJvcmQuQXRvbWljQ291bnRlckdycGNTZXJ2aWNlLkF0",
  30. "b21pY0NvdW50ZXJSZXBseSIAEooBChNHZXRVZHBBdG9taWNDb3VudGVyEjAu",
  31. "SlQ4MDguR3JwY0Rhc2hib3JkLlNlcnZpY2VHcnBjQmFzZS5FbXB0eVJlcXVl",
  32. "c3QaPy5KVDgwOC5HcnBjRGFzaGJvcmQuQXRvbWljQ291bnRlckdycGNTZXJ2",
  33. "aWNlLkF0b21pY0NvdW50ZXJSZXBseSIAYgZwcm90bzM="));
  34. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  35. new pbr::FileDescriptor[] { global::JT808.GrpcDashbord.ServiceGrpcBase.EmptyRequestReflection.Descriptor, },
  36. new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
  37. new pbr::GeneratedClrTypeInfo(typeof(global::JT808.GrpcDashbord.AtomicCounterGrpcService.AtomicCounterReply), global::JT808.GrpcDashbord.AtomicCounterGrpcService.AtomicCounterReply.Parser, new[]{ "MsgSuccessCount", "MsgFailCount" }, null, null, null)
  38. }));
  39. }
  40. #endregion
  41. }
  42. #region Messages
  43. public sealed partial class AtomicCounterReply : pb::IMessage<AtomicCounterReply> {
  44. private static readonly pb::MessageParser<AtomicCounterReply> _parser = new pb::MessageParser<AtomicCounterReply>(() => new AtomicCounterReply());
  45. private pb::UnknownFieldSet _unknownFields;
  46. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  47. public static pb::MessageParser<AtomicCounterReply> Parser { get { return _parser; } }
  48. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  49. public static pbr::MessageDescriptor Descriptor {
  50. get { return global::JT808.GrpcDashbord.AtomicCounterGrpcService.JT808AtomicCounterServiceReflection.Descriptor.MessageTypes[0]; }
  51. }
  52. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  53. pbr::MessageDescriptor pb::IMessage.Descriptor {
  54. get { return Descriptor; }
  55. }
  56. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  57. public AtomicCounterReply() {
  58. OnConstruction();
  59. }
  60. partial void OnConstruction();
  61. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  62. public AtomicCounterReply(AtomicCounterReply other) : this() {
  63. msgSuccessCount_ = other.msgSuccessCount_;
  64. msgFailCount_ = other.msgFailCount_;
  65. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  66. }
  67. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  68. public AtomicCounterReply Clone() {
  69. return new AtomicCounterReply(this);
  70. }
  71. /// <summary>Field number for the "MsgSuccessCount" field.</summary>
  72. public const int MsgSuccessCountFieldNumber = 1;
  73. private int msgSuccessCount_;
  74. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  75. public int MsgSuccessCount {
  76. get { return msgSuccessCount_; }
  77. set {
  78. msgSuccessCount_ = value;
  79. }
  80. }
  81. /// <summary>Field number for the "MsgFailCount" field.</summary>
  82. public const int MsgFailCountFieldNumber = 2;
  83. private int msgFailCount_;
  84. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  85. public int MsgFailCount {
  86. get { return msgFailCount_; }
  87. set {
  88. msgFailCount_ = value;
  89. }
  90. }
  91. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  92. public override bool Equals(object other) {
  93. return Equals(other as AtomicCounterReply);
  94. }
  95. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  96. public bool Equals(AtomicCounterReply other) {
  97. if (ReferenceEquals(other, null)) {
  98. return false;
  99. }
  100. if (ReferenceEquals(other, this)) {
  101. return true;
  102. }
  103. if (MsgSuccessCount != other.MsgSuccessCount) return false;
  104. if (MsgFailCount != other.MsgFailCount) return false;
  105. return Equals(_unknownFields, other._unknownFields);
  106. }
  107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  108. public override int GetHashCode() {
  109. int hash = 1;
  110. if (MsgSuccessCount != 0) hash ^= MsgSuccessCount.GetHashCode();
  111. if (MsgFailCount != 0) hash ^= MsgFailCount.GetHashCode();
  112. if (_unknownFields != null) {
  113. hash ^= _unknownFields.GetHashCode();
  114. }
  115. return hash;
  116. }
  117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  118. public override string ToString() {
  119. return pb::JsonFormatter.ToDiagnosticString(this);
  120. }
  121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  122. public void WriteTo(pb::CodedOutputStream output) {
  123. if (MsgSuccessCount != 0) {
  124. output.WriteRawTag(8);
  125. output.WriteInt32(MsgSuccessCount);
  126. }
  127. if (MsgFailCount != 0) {
  128. output.WriteRawTag(16);
  129. output.WriteInt32(MsgFailCount);
  130. }
  131. if (_unknownFields != null) {
  132. _unknownFields.WriteTo(output);
  133. }
  134. }
  135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  136. public int CalculateSize() {
  137. int size = 0;
  138. if (MsgSuccessCount != 0) {
  139. size += 1 + pb::CodedOutputStream.ComputeInt32Size(MsgSuccessCount);
  140. }
  141. if (MsgFailCount != 0) {
  142. size += 1 + pb::CodedOutputStream.ComputeInt32Size(MsgFailCount);
  143. }
  144. if (_unknownFields != null) {
  145. size += _unknownFields.CalculateSize();
  146. }
  147. return size;
  148. }
  149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  150. public void MergeFrom(AtomicCounterReply other) {
  151. if (other == null) {
  152. return;
  153. }
  154. if (other.MsgSuccessCount != 0) {
  155. MsgSuccessCount = other.MsgSuccessCount;
  156. }
  157. if (other.MsgFailCount != 0) {
  158. MsgFailCount = other.MsgFailCount;
  159. }
  160. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  161. }
  162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  163. public void MergeFrom(pb::CodedInputStream input) {
  164. uint tag;
  165. while ((tag = input.ReadTag()) != 0) {
  166. switch(tag) {
  167. default:
  168. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  169. break;
  170. case 8: {
  171. MsgSuccessCount = input.ReadInt32();
  172. break;
  173. }
  174. case 16: {
  175. MsgFailCount = input.ReadInt32();
  176. break;
  177. }
  178. }
  179. }
  180. }
  181. }
  182. #endregion
  183. }
  184. #endregion Designer generated code