track_offical.pb.dart 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. //
  2. // Generated code. Do not modify.
  3. // source: track_offical.proto
  4. //
  5. // @dart = 2.12
  6. // ignore_for_file: annotate_overrides, camel_case_types, comment_references
  7. // ignore_for_file: constant_identifier_names, library_prefixes
  8. // ignore_for_file: non_constant_identifier_names, prefer_final_fields
  9. // ignore_for_file: unnecessary_import, unnecessary_this, unused_import
  10. import 'dart:core' as $core;
  11. import 'package:fixnum/fixnum.dart' as $fixnum;
  12. import 'package:protobuf/protobuf.dart' as $pb;
  13. import 'base.pb.dart' as $0;
  14. import 'base.pbenum.dart' as $0;
  15. import 'google/protobuf/timestamp.pb.dart' as $2;
  16. class ToCourseChackMatchRequest extends $pb.GeneratedMessage {
  17. factory ToCourseChackMatchRequest({
  18. $core.int? id,
  19. $core.int? cId,
  20. }) {
  21. final $result = create();
  22. if (id != null) {
  23. $result.id = id;
  24. }
  25. if (cId != null) {
  26. $result.cId = cId;
  27. }
  28. return $result;
  29. }
  30. ToCourseChackMatchRequest._() : super();
  31. factory ToCourseChackMatchRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  32. factory ToCourseChackMatchRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  33. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToCourseChackMatchRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  34. ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
  35. ..a<$core.int>(3, _omitFieldNames ? '' : 'cId', $pb.PbFieldType.O3, protoName: 'cId')
  36. ..hasRequiredFields = false
  37. ;
  38. @$core.Deprecated(
  39. 'Using this can add significant overhead to your binary. '
  40. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  41. 'Will be removed in next major version')
  42. ToCourseChackMatchRequest clone() => ToCourseChackMatchRequest()..mergeFromMessage(this);
  43. @$core.Deprecated(
  44. 'Using this can add significant overhead to your binary. '
  45. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  46. 'Will be removed in next major version')
  47. ToCourseChackMatchRequest copyWith(void Function(ToCourseChackMatchRequest) updates) => super.copyWith((message) => updates(message as ToCourseChackMatchRequest)) as ToCourseChackMatchRequest;
  48. $pb.BuilderInfo get info_ => _i;
  49. @$core.pragma('dart2js:noInline')
  50. static ToCourseChackMatchRequest create() => ToCourseChackMatchRequest._();
  51. ToCourseChackMatchRequest createEmptyInstance() => create();
  52. static $pb.PbList<ToCourseChackMatchRequest> createRepeated() => $pb.PbList<ToCourseChackMatchRequest>();
  53. @$core.pragma('dart2js:noInline')
  54. static ToCourseChackMatchRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToCourseChackMatchRequest>(create);
  55. static ToCourseChackMatchRequest? _defaultInstance;
  56. @$pb.TagNumber(1)
  57. $core.int get id => $_getIZ(0);
  58. @$pb.TagNumber(1)
  59. set id($core.int v) { $_setSignedInt32(0, v); }
  60. @$pb.TagNumber(1)
  61. $core.bool hasId() => $_has(0);
  62. @$pb.TagNumber(1)
  63. void clearId() => clearField(1);
  64. @$pb.TagNumber(3)
  65. $core.int get cId => $_getIZ(1);
  66. @$pb.TagNumber(3)
  67. set cId($core.int v) { $_setSignedInt32(1, v); }
  68. @$pb.TagNumber(3)
  69. $core.bool hasCId() => $_has(1);
  70. @$pb.TagNumber(3)
  71. void clearCId() => clearField(3);
  72. }
  73. class ToActivityListReply extends $pb.GeneratedMessage {
  74. factory ToActivityListReply({
  75. $core.Iterable<$0.ToActionBasicInfo>? list,
  76. }) {
  77. final $result = create();
  78. if (list != null) {
  79. $result.list.addAll(list);
  80. }
  81. return $result;
  82. }
  83. ToActivityListReply._() : super();
  84. factory ToActivityListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  85. factory ToActivityListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  86. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToActivityListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  87. ..pc<$0.ToActionBasicInfo>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: $0.ToActionBasicInfo.create)
  88. ..hasRequiredFields = false
  89. ;
  90. @$core.Deprecated(
  91. 'Using this can add significant overhead to your binary. '
  92. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  93. 'Will be removed in next major version')
  94. ToActivityListReply clone() => ToActivityListReply()..mergeFromMessage(this);
  95. @$core.Deprecated(
  96. 'Using this can add significant overhead to your binary. '
  97. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  98. 'Will be removed in next major version')
  99. ToActivityListReply copyWith(void Function(ToActivityListReply) updates) => super.copyWith((message) => updates(message as ToActivityListReply)) as ToActivityListReply;
  100. $pb.BuilderInfo get info_ => _i;
  101. @$core.pragma('dart2js:noInline')
  102. static ToActivityListReply create() => ToActivityListReply._();
  103. ToActivityListReply createEmptyInstance() => create();
  104. static $pb.PbList<ToActivityListReply> createRepeated() => $pb.PbList<ToActivityListReply>();
  105. @$core.pragma('dart2js:noInline')
  106. static ToActivityListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToActivityListReply>(create);
  107. static ToActivityListReply? _defaultInstance;
  108. @$pb.TagNumber(1)
  109. $core.List<$0.ToActionBasicInfo> get list => $_getList(0);
  110. }
  111. class ToMatchRegusterEditRequest extends $pb.GeneratedMessage {
  112. factory ToMatchRegusterEditRequest({
  113. $core.int? id,
  114. $core.String? regName,
  115. $2.Timestamp? startAt,
  116. $2.Timestamp? stopAt,
  117. $core.bool? isQueryPwd,
  118. $core.String? queryPasswd,
  119. }) {
  120. final $result = create();
  121. if (id != null) {
  122. $result.id = id;
  123. }
  124. if (regName != null) {
  125. $result.regName = regName;
  126. }
  127. if (startAt != null) {
  128. $result.startAt = startAt;
  129. }
  130. if (stopAt != null) {
  131. $result.stopAt = stopAt;
  132. }
  133. if (isQueryPwd != null) {
  134. $result.isQueryPwd = isQueryPwd;
  135. }
  136. if (queryPasswd != null) {
  137. $result.queryPasswd = queryPasswd;
  138. }
  139. return $result;
  140. }
  141. ToMatchRegusterEditRequest._() : super();
  142. factory ToMatchRegusterEditRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  143. factory ToMatchRegusterEditRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  144. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterEditRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  145. ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
  146. ..aOS(2, _omitFieldNames ? '' : 'regName', protoName: 'regName')
  147. ..aOM<$2.Timestamp>(3, _omitFieldNames ? '' : 'startAt', subBuilder: $2.Timestamp.create)
  148. ..aOM<$2.Timestamp>(4, _omitFieldNames ? '' : 'stopAt', subBuilder: $2.Timestamp.create)
  149. ..aOB(5, _omitFieldNames ? '' : 'isQueryPwd', protoName: 'isQueryPwd')
  150. ..aOS(6, _omitFieldNames ? '' : 'queryPasswd', protoName: 'queryPasswd')
  151. ..hasRequiredFields = false
  152. ;
  153. @$core.Deprecated(
  154. 'Using this can add significant overhead to your binary. '
  155. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  156. 'Will be removed in next major version')
  157. ToMatchRegusterEditRequest clone() => ToMatchRegusterEditRequest()..mergeFromMessage(this);
  158. @$core.Deprecated(
  159. 'Using this can add significant overhead to your binary. '
  160. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  161. 'Will be removed in next major version')
  162. ToMatchRegusterEditRequest copyWith(void Function(ToMatchRegusterEditRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterEditRequest)) as ToMatchRegusterEditRequest;
  163. $pb.BuilderInfo get info_ => _i;
  164. @$core.pragma('dart2js:noInline')
  165. static ToMatchRegusterEditRequest create() => ToMatchRegusterEditRequest._();
  166. ToMatchRegusterEditRequest createEmptyInstance() => create();
  167. static $pb.PbList<ToMatchRegusterEditRequest> createRepeated() => $pb.PbList<ToMatchRegusterEditRequest>();
  168. @$core.pragma('dart2js:noInline')
  169. static ToMatchRegusterEditRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterEditRequest>(create);
  170. static ToMatchRegusterEditRequest? _defaultInstance;
  171. @$pb.TagNumber(1)
  172. $core.int get id => $_getIZ(0);
  173. @$pb.TagNumber(1)
  174. set id($core.int v) { $_setSignedInt32(0, v); }
  175. @$pb.TagNumber(1)
  176. $core.bool hasId() => $_has(0);
  177. @$pb.TagNumber(1)
  178. void clearId() => clearField(1);
  179. @$pb.TagNumber(2)
  180. $core.String get regName => $_getSZ(1);
  181. @$pb.TagNumber(2)
  182. set regName($core.String v) { $_setString(1, v); }
  183. @$pb.TagNumber(2)
  184. $core.bool hasRegName() => $_has(1);
  185. @$pb.TagNumber(2)
  186. void clearRegName() => clearField(2);
  187. @$pb.TagNumber(3)
  188. $2.Timestamp get startAt => $_getN(2);
  189. @$pb.TagNumber(3)
  190. set startAt($2.Timestamp v) { setField(3, v); }
  191. @$pb.TagNumber(3)
  192. $core.bool hasStartAt() => $_has(2);
  193. @$pb.TagNumber(3)
  194. void clearStartAt() => clearField(3);
  195. @$pb.TagNumber(3)
  196. $2.Timestamp ensureStartAt() => $_ensure(2);
  197. @$pb.TagNumber(4)
  198. $2.Timestamp get stopAt => $_getN(3);
  199. @$pb.TagNumber(4)
  200. set stopAt($2.Timestamp v) { setField(4, v); }
  201. @$pb.TagNumber(4)
  202. $core.bool hasStopAt() => $_has(3);
  203. @$pb.TagNumber(4)
  204. void clearStopAt() => clearField(4);
  205. @$pb.TagNumber(4)
  206. $2.Timestamp ensureStopAt() => $_ensure(3);
  207. /// int32 actId = 5; //选择活动id
  208. @$pb.TagNumber(5)
  209. $core.bool get isQueryPwd => $_getBF(4);
  210. @$pb.TagNumber(5)
  211. set isQueryPwd($core.bool v) { $_setBool(4, v); }
  212. @$pb.TagNumber(5)
  213. $core.bool hasIsQueryPwd() => $_has(4);
  214. @$pb.TagNumber(5)
  215. void clearIsQueryPwd() => clearField(5);
  216. @$pb.TagNumber(6)
  217. $core.String get queryPasswd => $_getSZ(5);
  218. @$pb.TagNumber(6)
  219. set queryPasswd($core.String v) { $_setString(5, v); }
  220. @$pb.TagNumber(6)
  221. $core.bool hasQueryPasswd() => $_has(5);
  222. @$pb.TagNumber(6)
  223. void clearQueryPasswd() => clearField(6);
  224. }
  225. class ToCourseListReply extends $pb.GeneratedMessage {
  226. factory ToCourseListReply({
  227. $core.Iterable<$0.CourseBase>? list,
  228. }) {
  229. final $result = create();
  230. if (list != null) {
  231. $result.list.addAll(list);
  232. }
  233. return $result;
  234. }
  235. ToCourseListReply._() : super();
  236. factory ToCourseListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  237. factory ToCourseListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  238. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToCourseListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  239. ..pc<$0.CourseBase>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: $0.CourseBase.create)
  240. ..hasRequiredFields = false
  241. ;
  242. @$core.Deprecated(
  243. 'Using this can add significant overhead to your binary. '
  244. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  245. 'Will be removed in next major version')
  246. ToCourseListReply clone() => ToCourseListReply()..mergeFromMessage(this);
  247. @$core.Deprecated(
  248. 'Using this can add significant overhead to your binary. '
  249. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  250. 'Will be removed in next major version')
  251. ToCourseListReply copyWith(void Function(ToCourseListReply) updates) => super.copyWith((message) => updates(message as ToCourseListReply)) as ToCourseListReply;
  252. $pb.BuilderInfo get info_ => _i;
  253. @$core.pragma('dart2js:noInline')
  254. static ToCourseListReply create() => ToCourseListReply._();
  255. ToCourseListReply createEmptyInstance() => create();
  256. static $pb.PbList<ToCourseListReply> createRepeated() => $pb.PbList<ToCourseListReply>();
  257. @$core.pragma('dart2js:noInline')
  258. static ToCourseListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToCourseListReply>(create);
  259. static ToCourseListReply? _defaultInstance;
  260. @$pb.TagNumber(1)
  261. $core.List<$0.CourseBase> get list => $_getList(0);
  262. }
  263. class ToMatchRegusterListRequest extends $pb.GeneratedMessage {
  264. factory ToMatchRegusterListRequest({
  265. $core.int? mapId,
  266. $fixnum.Int64? startSecond,
  267. }) {
  268. final $result = create();
  269. if (mapId != null) {
  270. $result.mapId = mapId;
  271. }
  272. if (startSecond != null) {
  273. $result.startSecond = startSecond;
  274. }
  275. return $result;
  276. }
  277. ToMatchRegusterListRequest._() : super();
  278. factory ToMatchRegusterListRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  279. factory ToMatchRegusterListRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  280. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterListRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  281. ..a<$core.int>(1, _omitFieldNames ? '' : 'mapId', $pb.PbFieldType.O3, protoName: 'mapId')
  282. ..aInt64(2, _omitFieldNames ? '' : 'startSecond', protoName: 'startSecond')
  283. ..hasRequiredFields = false
  284. ;
  285. @$core.Deprecated(
  286. 'Using this can add significant overhead to your binary. '
  287. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  288. 'Will be removed in next major version')
  289. ToMatchRegusterListRequest clone() => ToMatchRegusterListRequest()..mergeFromMessage(this);
  290. @$core.Deprecated(
  291. 'Using this can add significant overhead to your binary. '
  292. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  293. 'Will be removed in next major version')
  294. ToMatchRegusterListRequest copyWith(void Function(ToMatchRegusterListRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterListRequest)) as ToMatchRegusterListRequest;
  295. $pb.BuilderInfo get info_ => _i;
  296. @$core.pragma('dart2js:noInline')
  297. static ToMatchRegusterListRequest create() => ToMatchRegusterListRequest._();
  298. ToMatchRegusterListRequest createEmptyInstance() => create();
  299. static $pb.PbList<ToMatchRegusterListRequest> createRepeated() => $pb.PbList<ToMatchRegusterListRequest>();
  300. @$core.pragma('dart2js:noInline')
  301. static ToMatchRegusterListRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterListRequest>(create);
  302. static ToMatchRegusterListRequest? _defaultInstance;
  303. @$pb.TagNumber(1)
  304. $core.int get mapId => $_getIZ(0);
  305. @$pb.TagNumber(1)
  306. set mapId($core.int v) { $_setSignedInt32(0, v); }
  307. @$pb.TagNumber(1)
  308. $core.bool hasMapId() => $_has(0);
  309. @$pb.TagNumber(1)
  310. void clearMapId() => clearField(1);
  311. @$pb.TagNumber(2)
  312. $fixnum.Int64 get startSecond => $_getI64(1);
  313. @$pb.TagNumber(2)
  314. set startSecond($fixnum.Int64 v) { $_setInt64(1, v); }
  315. @$pb.TagNumber(2)
  316. $core.bool hasStartSecond() => $_has(1);
  317. @$pb.TagNumber(2)
  318. void clearStartSecond() => clearField(2);
  319. }
  320. class ToMatchRegusterListReply extends $pb.GeneratedMessage {
  321. factory ToMatchRegusterListReply({
  322. $core.Iterable<MatchRegusterInfo>? list,
  323. }) {
  324. final $result = create();
  325. if (list != null) {
  326. $result.list.addAll(list);
  327. }
  328. return $result;
  329. }
  330. ToMatchRegusterListReply._() : super();
  331. factory ToMatchRegusterListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  332. factory ToMatchRegusterListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  333. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  334. ..pc<MatchRegusterInfo>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: MatchRegusterInfo.create)
  335. ..hasRequiredFields = false
  336. ;
  337. @$core.Deprecated(
  338. 'Using this can add significant overhead to your binary. '
  339. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  340. 'Will be removed in next major version')
  341. ToMatchRegusterListReply clone() => ToMatchRegusterListReply()..mergeFromMessage(this);
  342. @$core.Deprecated(
  343. 'Using this can add significant overhead to your binary. '
  344. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  345. 'Will be removed in next major version')
  346. ToMatchRegusterListReply copyWith(void Function(ToMatchRegusterListReply) updates) => super.copyWith((message) => updates(message as ToMatchRegusterListReply)) as ToMatchRegusterListReply;
  347. $pb.BuilderInfo get info_ => _i;
  348. @$core.pragma('dart2js:noInline')
  349. static ToMatchRegusterListReply create() => ToMatchRegusterListReply._();
  350. ToMatchRegusterListReply createEmptyInstance() => create();
  351. static $pb.PbList<ToMatchRegusterListReply> createRepeated() => $pb.PbList<ToMatchRegusterListReply>();
  352. @$core.pragma('dart2js:noInline')
  353. static ToMatchRegusterListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterListReply>(create);
  354. static ToMatchRegusterListReply? _defaultInstance;
  355. @$pb.TagNumber(1)
  356. $core.List<MatchRegusterInfo> get list => $_getList(0);
  357. }
  358. class MatchRegusterInfo extends $pb.GeneratedMessage {
  359. factory MatchRegusterInfo({
  360. $core.int? id,
  361. $core.String? name,
  362. $core.int? totalUserNum,
  363. $core.String? qrCode,
  364. $core.bool? isAllowEdit,
  365. $core.bool? isAllowDel,
  366. $core.Iterable<ToChackInsInfo>? userList,
  367. }) {
  368. final $result = create();
  369. if (id != null) {
  370. $result.id = id;
  371. }
  372. if (name != null) {
  373. $result.name = name;
  374. }
  375. if (totalUserNum != null) {
  376. $result.totalUserNum = totalUserNum;
  377. }
  378. if (qrCode != null) {
  379. $result.qrCode = qrCode;
  380. }
  381. if (isAllowEdit != null) {
  382. $result.isAllowEdit = isAllowEdit;
  383. }
  384. if (isAllowDel != null) {
  385. $result.isAllowDel = isAllowDel;
  386. }
  387. if (userList != null) {
  388. $result.userList.addAll(userList);
  389. }
  390. return $result;
  391. }
  392. MatchRegusterInfo._() : super();
  393. factory MatchRegusterInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  394. factory MatchRegusterInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  395. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MatchRegusterInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  396. ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
  397. ..aOS(2, _omitFieldNames ? '' : 'name')
  398. ..a<$core.int>(3, _omitFieldNames ? '' : 'totalUserNum', $pb.PbFieldType.O3, protoName: 'totalUserNum')
  399. ..aOS(4, _omitFieldNames ? '' : 'qrCode', protoName: 'qrCode')
  400. ..aOB(5, _omitFieldNames ? '' : 'isAllowEdit', protoName: 'isAllowEdit')
  401. ..aOB(6, _omitFieldNames ? '' : 'isAllowDel', protoName: 'isAllowDel')
  402. ..pc<ToChackInsInfo>(7, _omitFieldNames ? '' : 'userList', $pb.PbFieldType.PM, protoName: 'userList', subBuilder: ToChackInsInfo.create)
  403. ..hasRequiredFields = false
  404. ;
  405. @$core.Deprecated(
  406. 'Using this can add significant overhead to your binary. '
  407. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  408. 'Will be removed in next major version')
  409. MatchRegusterInfo clone() => MatchRegusterInfo()..mergeFromMessage(this);
  410. @$core.Deprecated(
  411. 'Using this can add significant overhead to your binary. '
  412. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  413. 'Will be removed in next major version')
  414. MatchRegusterInfo copyWith(void Function(MatchRegusterInfo) updates) => super.copyWith((message) => updates(message as MatchRegusterInfo)) as MatchRegusterInfo;
  415. $pb.BuilderInfo get info_ => _i;
  416. @$core.pragma('dart2js:noInline')
  417. static MatchRegusterInfo create() => MatchRegusterInfo._();
  418. MatchRegusterInfo createEmptyInstance() => create();
  419. static $pb.PbList<MatchRegusterInfo> createRepeated() => $pb.PbList<MatchRegusterInfo>();
  420. @$core.pragma('dart2js:noInline')
  421. static MatchRegusterInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MatchRegusterInfo>(create);
  422. static MatchRegusterInfo? _defaultInstance;
  423. @$pb.TagNumber(1)
  424. $core.int get id => $_getIZ(0);
  425. @$pb.TagNumber(1)
  426. set id($core.int v) { $_setSignedInt32(0, v); }
  427. @$pb.TagNumber(1)
  428. $core.bool hasId() => $_has(0);
  429. @$pb.TagNumber(1)
  430. void clearId() => clearField(1);
  431. @$pb.TagNumber(2)
  432. $core.String get name => $_getSZ(1);
  433. @$pb.TagNumber(2)
  434. set name($core.String v) { $_setString(1, v); }
  435. @$pb.TagNumber(2)
  436. $core.bool hasName() => $_has(1);
  437. @$pb.TagNumber(2)
  438. void clearName() => clearField(2);
  439. @$pb.TagNumber(3)
  440. $core.int get totalUserNum => $_getIZ(2);
  441. @$pb.TagNumber(3)
  442. set totalUserNum($core.int v) { $_setSignedInt32(2, v); }
  443. @$pb.TagNumber(3)
  444. $core.bool hasTotalUserNum() => $_has(2);
  445. @$pb.TagNumber(3)
  446. void clearTotalUserNum() => clearField(3);
  447. @$pb.TagNumber(4)
  448. $core.String get qrCode => $_getSZ(3);
  449. @$pb.TagNumber(4)
  450. set qrCode($core.String v) { $_setString(3, v); }
  451. @$pb.TagNumber(4)
  452. $core.bool hasQrCode() => $_has(3);
  453. @$pb.TagNumber(4)
  454. void clearQrCode() => clearField(4);
  455. @$pb.TagNumber(5)
  456. $core.bool get isAllowEdit => $_getBF(4);
  457. @$pb.TagNumber(5)
  458. set isAllowEdit($core.bool v) { $_setBool(4, v); }
  459. @$pb.TagNumber(5)
  460. $core.bool hasIsAllowEdit() => $_has(4);
  461. @$pb.TagNumber(5)
  462. void clearIsAllowEdit() => clearField(5);
  463. @$pb.TagNumber(6)
  464. $core.bool get isAllowDel => $_getBF(5);
  465. @$pb.TagNumber(6)
  466. set isAllowDel($core.bool v) { $_setBool(5, v); }
  467. @$pb.TagNumber(6)
  468. $core.bool hasIsAllowDel() => $_has(5);
  469. @$pb.TagNumber(6)
  470. void clearIsAllowDel() => clearField(6);
  471. @$pb.TagNumber(7)
  472. $core.List<ToChackInsInfo> get userList => $_getList(6);
  473. }
  474. ///
  475. /// 场控段赛事控制逻辑:
  476. /// 1.如果cId等于0,isStart等于false,表示未分发线路,路线显示分发按钮,状态显示未分发;
  477. /// 2.如果cId大于0,isStart等于false,表示已分发线路但管理员未开始,状态栏是开始按钮;
  478. /// 3.如果cId大于0,isStart等于true,mState等于0(玩家端未开始)或1(玩家端已开始但没打开始点),表示已分发线路且管理员已开始但用户没有打开始点,状态显示已开始;
  479. /// 4.如果cId大于0,isStart等于true,mState等于2,表示已分发线路且管理员已开始且用户已打开始点,状态显示已开始,操作显示结束按钮;
  480. /// 5.如果cId大于0,isStart等于true,mState大于等于3,表示已分发线路且管理员已开始且用户已结束比赛,状态显示已结束,操作显示重赛按钮
  481. /// 6:点击重赛后,跟1情况一样
  482. /// 7:是否显示删除按钮由punchCpNum字段控制,punchCpNum等于0显示删除按钮,大于0显示其他按钮;
  483. class ToChackInsInfo extends $pb.GeneratedMessage {
  484. factory ToChackInsInfo({
  485. $core.int? mciId,
  486. $core.int? oId,
  487. $core.String? nickname,
  488. $core.String? phone,
  489. $core.String? chackInsTime,
  490. $core.bool? isAllowDel,
  491. $core.String? cName,
  492. $core.int? cId,
  493. $core.String? hrSn,
  494. $0.CState? cState,
  495. }) {
  496. final $result = create();
  497. if (mciId != null) {
  498. $result.mciId = mciId;
  499. }
  500. if (oId != null) {
  501. $result.oId = oId;
  502. }
  503. if (nickname != null) {
  504. $result.nickname = nickname;
  505. }
  506. if (phone != null) {
  507. $result.phone = phone;
  508. }
  509. if (chackInsTime != null) {
  510. $result.chackInsTime = chackInsTime;
  511. }
  512. if (isAllowDel != null) {
  513. $result.isAllowDel = isAllowDel;
  514. }
  515. if (cName != null) {
  516. $result.cName = cName;
  517. }
  518. if (cId != null) {
  519. $result.cId = cId;
  520. }
  521. if (hrSn != null) {
  522. $result.hrSn = hrSn;
  523. }
  524. if (cState != null) {
  525. $result.cState = cState;
  526. }
  527. return $result;
  528. }
  529. ToChackInsInfo._() : super();
  530. factory ToChackInsInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  531. factory ToChackInsInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  532. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToChackInsInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  533. ..a<$core.int>(1, _omitFieldNames ? '' : 'mciId', $pb.PbFieldType.O3, protoName: 'mciId')
  534. ..a<$core.int>(2, _omitFieldNames ? '' : 'oId', $pb.PbFieldType.O3, protoName: 'oId')
  535. ..aOS(3, _omitFieldNames ? '' : 'nickname')
  536. ..aOS(4, _omitFieldNames ? '' : 'phone')
  537. ..aOS(5, _omitFieldNames ? '' : 'chackInsTime', protoName: 'chackInsTime')
  538. ..aOB(6, _omitFieldNames ? '' : 'isAllowDel', protoName: 'isAllowDel')
  539. ..aOS(7, _omitFieldNames ? '' : 'cName', protoName: 'cName')
  540. ..a<$core.int>(8, _omitFieldNames ? '' : 'cId', $pb.PbFieldType.O3, protoName: 'cId')
  541. ..aOS(9, _omitFieldNames ? '' : 'hrSn', protoName: 'hrSn')
  542. ..e<$0.CState>(10, _omitFieldNames ? '' : 'cState', $pb.PbFieldType.OE, protoName: 'cState', defaultOrMaker: $0.CState.ToUnSend, valueOf: $0.CState.valueOf, enumValues: $0.CState.values)
  543. ..hasRequiredFields = false
  544. ;
  545. @$core.Deprecated(
  546. 'Using this can add significant overhead to your binary. '
  547. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  548. 'Will be removed in next major version')
  549. ToChackInsInfo clone() => ToChackInsInfo()..mergeFromMessage(this);
  550. @$core.Deprecated(
  551. 'Using this can add significant overhead to your binary. '
  552. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  553. 'Will be removed in next major version')
  554. ToChackInsInfo copyWith(void Function(ToChackInsInfo) updates) => super.copyWith((message) => updates(message as ToChackInsInfo)) as ToChackInsInfo;
  555. $pb.BuilderInfo get info_ => _i;
  556. @$core.pragma('dart2js:noInline')
  557. static ToChackInsInfo create() => ToChackInsInfo._();
  558. ToChackInsInfo createEmptyInstance() => create();
  559. static $pb.PbList<ToChackInsInfo> createRepeated() => $pb.PbList<ToChackInsInfo>();
  560. @$core.pragma('dart2js:noInline')
  561. static ToChackInsInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToChackInsInfo>(create);
  562. static ToChackInsInfo? _defaultInstance;
  563. @$pb.TagNumber(1)
  564. $core.int get mciId => $_getIZ(0);
  565. @$pb.TagNumber(1)
  566. set mciId($core.int v) { $_setSignedInt32(0, v); }
  567. @$pb.TagNumber(1)
  568. $core.bool hasMciId() => $_has(0);
  569. @$pb.TagNumber(1)
  570. void clearMciId() => clearField(1);
  571. @$pb.TagNumber(2)
  572. $core.int get oId => $_getIZ(1);
  573. @$pb.TagNumber(2)
  574. set oId($core.int v) { $_setSignedInt32(1, v); }
  575. @$pb.TagNumber(2)
  576. $core.bool hasOId() => $_has(1);
  577. @$pb.TagNumber(2)
  578. void clearOId() => clearField(2);
  579. @$pb.TagNumber(3)
  580. $core.String get nickname => $_getSZ(2);
  581. @$pb.TagNumber(3)
  582. set nickname($core.String v) { $_setString(2, v); }
  583. @$pb.TagNumber(3)
  584. $core.bool hasNickname() => $_has(2);
  585. @$pb.TagNumber(3)
  586. void clearNickname() => clearField(3);
  587. @$pb.TagNumber(4)
  588. $core.String get phone => $_getSZ(3);
  589. @$pb.TagNumber(4)
  590. set phone($core.String v) { $_setString(3, v); }
  591. @$pb.TagNumber(4)
  592. $core.bool hasPhone() => $_has(3);
  593. @$pb.TagNumber(4)
  594. void clearPhone() => clearField(4);
  595. @$pb.TagNumber(5)
  596. $core.String get chackInsTime => $_getSZ(4);
  597. @$pb.TagNumber(5)
  598. set chackInsTime($core.String v) { $_setString(4, v); }
  599. @$pb.TagNumber(5)
  600. $core.bool hasChackInsTime() => $_has(4);
  601. @$pb.TagNumber(5)
  602. void clearChackInsTime() => clearField(5);
  603. @$pb.TagNumber(6)
  604. $core.bool get isAllowDel => $_getBF(5);
  605. @$pb.TagNumber(6)
  606. set isAllowDel($core.bool v) { $_setBool(5, v); }
  607. @$pb.TagNumber(6)
  608. $core.bool hasIsAllowDel() => $_has(5);
  609. @$pb.TagNumber(6)
  610. void clearIsAllowDel() => clearField(6);
  611. @$pb.TagNumber(7)
  612. $core.String get cName => $_getSZ(6);
  613. @$pb.TagNumber(7)
  614. set cName($core.String v) { $_setString(6, v); }
  615. @$pb.TagNumber(7)
  616. $core.bool hasCName() => $_has(6);
  617. @$pb.TagNumber(7)
  618. void clearCName() => clearField(7);
  619. @$pb.TagNumber(8)
  620. $core.int get cId => $_getIZ(7);
  621. @$pb.TagNumber(8)
  622. set cId($core.int v) { $_setSignedInt32(7, v); }
  623. @$pb.TagNumber(8)
  624. $core.bool hasCId() => $_has(7);
  625. @$pb.TagNumber(8)
  626. void clearCId() => clearField(8);
  627. /// int32 mState =8;//用户状态(不是场控端发送状态):0:等待出发 1: 参加比赛,没打第一点 2:比赛进行中 3:完成比赛 4:超时完成比赛 5:未完成-已过强制关门时间,系统强制退赛 6:用户主动退赛
  628. /// bool isStart =9;//是否出发
  629. /// int32 punchCpNum =10;//打开始点次数
  630. @$pb.TagNumber(9)
  631. $core.String get hrSn => $_getSZ(8);
  632. @$pb.TagNumber(9)
  633. set hrSn($core.String v) { $_setString(8, v); }
  634. @$pb.TagNumber(9)
  635. $core.bool hasHrSn() => $_has(8);
  636. @$pb.TagNumber(9)
  637. void clearHrSn() => clearField(9);
  638. @$pb.TagNumber(10)
  639. $0.CState get cState => $_getN(9);
  640. @$pb.TagNumber(10)
  641. set cState($0.CState v) { setField(10, v); }
  642. @$pb.TagNumber(10)
  643. $core.bool hasCState() => $_has(9);
  644. @$pb.TagNumber(10)
  645. void clearCState() => clearField(10);
  646. }
  647. class ToMatchRegusterAddRequest extends $pb.GeneratedMessage {
  648. factory ToMatchRegusterAddRequest({
  649. $core.String? regName,
  650. $2.Timestamp? startAt,
  651. $2.Timestamp? stopAt,
  652. $core.int? actId,
  653. $core.bool? isQueryPwd,
  654. $core.String? queryPasswd,
  655. }) {
  656. final $result = create();
  657. if (regName != null) {
  658. $result.regName = regName;
  659. }
  660. if (startAt != null) {
  661. $result.startAt = startAt;
  662. }
  663. if (stopAt != null) {
  664. $result.stopAt = stopAt;
  665. }
  666. if (actId != null) {
  667. $result.actId = actId;
  668. }
  669. if (isQueryPwd != null) {
  670. $result.isQueryPwd = isQueryPwd;
  671. }
  672. if (queryPasswd != null) {
  673. $result.queryPasswd = queryPasswd;
  674. }
  675. return $result;
  676. }
  677. ToMatchRegusterAddRequest._() : super();
  678. factory ToMatchRegusterAddRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  679. factory ToMatchRegusterAddRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
  680. static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterAddRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
  681. ..aOS(1, _omitFieldNames ? '' : 'regName', protoName: 'regName')
  682. ..aOM<$2.Timestamp>(2, _omitFieldNames ? '' : 'startAt', subBuilder: $2.Timestamp.create)
  683. ..aOM<$2.Timestamp>(3, _omitFieldNames ? '' : 'stopAt', subBuilder: $2.Timestamp.create)
  684. ..a<$core.int>(4, _omitFieldNames ? '' : 'actId', $pb.PbFieldType.O3, protoName: 'actId')
  685. ..aOB(5, _omitFieldNames ? '' : 'isQueryPwd', protoName: 'isQueryPwd')
  686. ..aOS(6, _omitFieldNames ? '' : 'queryPasswd', protoName: 'queryPasswd')
  687. ..hasRequiredFields = false
  688. ;
  689. @$core.Deprecated(
  690. 'Using this can add significant overhead to your binary. '
  691. 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  692. 'Will be removed in next major version')
  693. ToMatchRegusterAddRequest clone() => ToMatchRegusterAddRequest()..mergeFromMessage(this);
  694. @$core.Deprecated(
  695. 'Using this can add significant overhead to your binary. '
  696. 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  697. 'Will be removed in next major version')
  698. ToMatchRegusterAddRequest copyWith(void Function(ToMatchRegusterAddRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterAddRequest)) as ToMatchRegusterAddRequest;
  699. $pb.BuilderInfo get info_ => _i;
  700. @$core.pragma('dart2js:noInline')
  701. static ToMatchRegusterAddRequest create() => ToMatchRegusterAddRequest._();
  702. ToMatchRegusterAddRequest createEmptyInstance() => create();
  703. static $pb.PbList<ToMatchRegusterAddRequest> createRepeated() => $pb.PbList<ToMatchRegusterAddRequest>();
  704. @$core.pragma('dart2js:noInline')
  705. static ToMatchRegusterAddRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterAddRequest>(create);
  706. static ToMatchRegusterAddRequest? _defaultInstance;
  707. @$pb.TagNumber(1)
  708. $core.String get regName => $_getSZ(0);
  709. @$pb.TagNumber(1)
  710. set regName($core.String v) { $_setString(0, v); }
  711. @$pb.TagNumber(1)
  712. $core.bool hasRegName() => $_has(0);
  713. @$pb.TagNumber(1)
  714. void clearRegName() => clearField(1);
  715. @$pb.TagNumber(2)
  716. $2.Timestamp get startAt => $_getN(1);
  717. @$pb.TagNumber(2)
  718. set startAt($2.Timestamp v) { setField(2, v); }
  719. @$pb.TagNumber(2)
  720. $core.bool hasStartAt() => $_has(1);
  721. @$pb.TagNumber(2)
  722. void clearStartAt() => clearField(2);
  723. @$pb.TagNumber(2)
  724. $2.Timestamp ensureStartAt() => $_ensure(1);
  725. @$pb.TagNumber(3)
  726. $2.Timestamp get stopAt => $_getN(2);
  727. @$pb.TagNumber(3)
  728. set stopAt($2.Timestamp v) { setField(3, v); }
  729. @$pb.TagNumber(3)
  730. $core.bool hasStopAt() => $_has(2);
  731. @$pb.TagNumber(3)
  732. void clearStopAt() => clearField(3);
  733. @$pb.TagNumber(3)
  734. $2.Timestamp ensureStopAt() => $_ensure(2);
  735. @$pb.TagNumber(4)
  736. $core.int get actId => $_getIZ(3);
  737. @$pb.TagNumber(4)
  738. set actId($core.int v) { $_setSignedInt32(3, v); }
  739. @$pb.TagNumber(4)
  740. $core.bool hasActId() => $_has(3);
  741. @$pb.TagNumber(4)
  742. void clearActId() => clearField(4);
  743. @$pb.TagNumber(5)
  744. $core.bool get isQueryPwd => $_getBF(4);
  745. @$pb.TagNumber(5)
  746. set isQueryPwd($core.bool v) { $_setBool(4, v); }
  747. @$pb.TagNumber(5)
  748. $core.bool hasIsQueryPwd() => $_has(4);
  749. @$pb.TagNumber(5)
  750. void clearIsQueryPwd() => clearField(5);
  751. @$pb.TagNumber(6)
  752. $core.String get queryPasswd => $_getSZ(5);
  753. @$pb.TagNumber(6)
  754. set queryPasswd($core.String v) { $_setString(5, v); }
  755. @$pb.TagNumber(6)
  756. $core.bool hasQueryPasswd() => $_has(5);
  757. @$pb.TagNumber(6)
  758. void clearQueryPasswd() => clearField(6);
  759. }
  760. const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
  761. const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');