track_offical.pb.dart 33 KB

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