TerminalMessage.cs 49 KB

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