//
//  Generated code. Do not modify.
//  source: track_offical.proto
//
// @dart = 2.12

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;

import 'base.pb.dart' as $0;
import 'base.pbenum.dart' as $0;
import 'google/protobuf/timestamp.pb.dart' as $2;

class ToCooperationQueryReply extends $pb.GeneratedMessage {
  factory ToCooperationQueryReply({
    $core.String? name,
    $core.int? leftMatchNum,
  }) {
    final $result = create();
    if (name != null) {
      $result.name = name;
    }
    if (leftMatchNum != null) {
      $result.leftMatchNum = leftMatchNum;
    }
    return $result;
  }
  ToCooperationQueryReply._() : super();
  factory ToCooperationQueryReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToCooperationQueryReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToCooperationQueryReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'name')
    ..a<$core.int>(2, _omitFieldNames ? '' : 'leftMatchNum', $pb.PbFieldType.O3, protoName: 'leftMatchNum')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToCooperationQueryReply clone() => ToCooperationQueryReply()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToCooperationQueryReply copyWith(void Function(ToCooperationQueryReply) updates) => super.copyWith((message) => updates(message as ToCooperationQueryReply)) as ToCooperationQueryReply;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToCooperationQueryReply create() => ToCooperationQueryReply._();
  ToCooperationQueryReply createEmptyInstance() => create();
  static $pb.PbList<ToCooperationQueryReply> createRepeated() => $pb.PbList<ToCooperationQueryReply>();
  @$core.pragma('dart2js:noInline')
  static ToCooperationQueryReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToCooperationQueryReply>(create);
  static ToCooperationQueryReply? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get name => $_getSZ(0);
  @$pb.TagNumber(1)
  set name($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasName() => $_has(0);
  @$pb.TagNumber(1)
  void clearName() => clearField(1);

  @$pb.TagNumber(2)
  $core.int get leftMatchNum => $_getIZ(1);
  @$pb.TagNumber(2)
  set leftMatchNum($core.int v) { $_setSignedInt32(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasLeftMatchNum() => $_has(1);
  @$pb.TagNumber(2)
  void clearLeftMatchNum() => clearField(2);
}

class ToCourseChackMatchRequest extends $pb.GeneratedMessage {
  factory ToCourseChackMatchRequest({
    $core.int? id,
    $core.int? cId,
  }) {
    final $result = create();
    if (id != null) {
      $result.id = id;
    }
    if (cId != null) {
      $result.cId = cId;
    }
    return $result;
  }
  ToCourseChackMatchRequest._() : super();
  factory ToCourseChackMatchRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToCourseChackMatchRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToCourseChackMatchRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
    ..a<$core.int>(3, _omitFieldNames ? '' : 'cId', $pb.PbFieldType.O3, protoName: 'cId')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToCourseChackMatchRequest clone() => ToCourseChackMatchRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToCourseChackMatchRequest copyWith(void Function(ToCourseChackMatchRequest) updates) => super.copyWith((message) => updates(message as ToCourseChackMatchRequest)) as ToCourseChackMatchRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToCourseChackMatchRequest create() => ToCourseChackMatchRequest._();
  ToCourseChackMatchRequest createEmptyInstance() => create();
  static $pb.PbList<ToCourseChackMatchRequest> createRepeated() => $pb.PbList<ToCourseChackMatchRequest>();
  @$core.pragma('dart2js:noInline')
  static ToCourseChackMatchRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToCourseChackMatchRequest>(create);
  static ToCourseChackMatchRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get id => $_getIZ(0);
  @$pb.TagNumber(1)
  set id($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

  @$pb.TagNumber(3)
  $core.int get cId => $_getIZ(1);
  @$pb.TagNumber(3)
  set cId($core.int v) { $_setSignedInt32(1, v); }
  @$pb.TagNumber(3)
  $core.bool hasCId() => $_has(1);
  @$pb.TagNumber(3)
  void clearCId() => clearField(3);
}

class ToActivityListReply extends $pb.GeneratedMessage {
  factory ToActivityListReply({
    $core.Iterable<$0.ToActionBasicInfo>? list,
  }) {
    final $result = create();
    if (list != null) {
      $result.list.addAll(list);
    }
    return $result;
  }
  ToActivityListReply._() : super();
  factory ToActivityListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToActivityListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToActivityListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..pc<$0.ToActionBasicInfo>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: $0.ToActionBasicInfo.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToActivityListReply clone() => ToActivityListReply()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToActivityListReply copyWith(void Function(ToActivityListReply) updates) => super.copyWith((message) => updates(message as ToActivityListReply)) as ToActivityListReply;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToActivityListReply create() => ToActivityListReply._();
  ToActivityListReply createEmptyInstance() => create();
  static $pb.PbList<ToActivityListReply> createRepeated() => $pb.PbList<ToActivityListReply>();
  @$core.pragma('dart2js:noInline')
  static ToActivityListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToActivityListReply>(create);
  static ToActivityListReply? _defaultInstance;

  @$pb.TagNumber(1)
  $core.List<$0.ToActionBasicInfo> get list => $_getList(0);
}

class ToMatchRegusterEditRequest extends $pb.GeneratedMessage {
  factory ToMatchRegusterEditRequest({
    $core.int? id,
    $core.String? regName,
    $2.Timestamp? startAt,
    $2.Timestamp? stopAt,
    $core.bool? isQueryPwd,
    $core.String? queryPasswd,
  }) {
    final $result = create();
    if (id != null) {
      $result.id = id;
    }
    if (regName != null) {
      $result.regName = regName;
    }
    if (startAt != null) {
      $result.startAt = startAt;
    }
    if (stopAt != null) {
      $result.stopAt = stopAt;
    }
    if (isQueryPwd != null) {
      $result.isQueryPwd = isQueryPwd;
    }
    if (queryPasswd != null) {
      $result.queryPasswd = queryPasswd;
    }
    return $result;
  }
  ToMatchRegusterEditRequest._() : super();
  factory ToMatchRegusterEditRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToMatchRegusterEditRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterEditRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
    ..aOS(2, _omitFieldNames ? '' : 'regName', protoName: 'regName')
    ..aOM<$2.Timestamp>(3, _omitFieldNames ? '' : 'startAt', subBuilder: $2.Timestamp.create)
    ..aOM<$2.Timestamp>(4, _omitFieldNames ? '' : 'stopAt', subBuilder: $2.Timestamp.create)
    ..aOB(5, _omitFieldNames ? '' : 'isQueryPwd', protoName: 'isQueryPwd')
    ..aOS(6, _omitFieldNames ? '' : 'queryPasswd', protoName: 'queryPasswd')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToMatchRegusterEditRequest clone() => ToMatchRegusterEditRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToMatchRegusterEditRequest copyWith(void Function(ToMatchRegusterEditRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterEditRequest)) as ToMatchRegusterEditRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterEditRequest create() => ToMatchRegusterEditRequest._();
  ToMatchRegusterEditRequest createEmptyInstance() => create();
  static $pb.PbList<ToMatchRegusterEditRequest> createRepeated() => $pb.PbList<ToMatchRegusterEditRequest>();
  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterEditRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterEditRequest>(create);
  static ToMatchRegusterEditRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get id => $_getIZ(0);
  @$pb.TagNumber(1)
  set id($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

  @$pb.TagNumber(2)
  $core.String get regName => $_getSZ(1);
  @$pb.TagNumber(2)
  set regName($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasRegName() => $_has(1);
  @$pb.TagNumber(2)
  void clearRegName() => clearField(2);

  @$pb.TagNumber(3)
  $2.Timestamp get startAt => $_getN(2);
  @$pb.TagNumber(3)
  set startAt($2.Timestamp v) { setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasStartAt() => $_has(2);
  @$pb.TagNumber(3)
  void clearStartAt() => clearField(3);
  @$pb.TagNumber(3)
  $2.Timestamp ensureStartAt() => $_ensure(2);

  @$pb.TagNumber(4)
  $2.Timestamp get stopAt => $_getN(3);
  @$pb.TagNumber(4)
  set stopAt($2.Timestamp v) { setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasStopAt() => $_has(3);
  @$pb.TagNumber(4)
  void clearStopAt() => clearField(4);
  @$pb.TagNumber(4)
  $2.Timestamp ensureStopAt() => $_ensure(3);

  /// int32 actId = 5; //选择活动id
  @$pb.TagNumber(5)
  $core.bool get isQueryPwd => $_getBF(4);
  @$pb.TagNumber(5)
  set isQueryPwd($core.bool v) { $_setBool(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasIsQueryPwd() => $_has(4);
  @$pb.TagNumber(5)
  void clearIsQueryPwd() => clearField(5);

  @$pb.TagNumber(6)
  $core.String get queryPasswd => $_getSZ(5);
  @$pb.TagNumber(6)
  set queryPasswd($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasQueryPasswd() => $_has(5);
  @$pb.TagNumber(6)
  void clearQueryPasswd() => clearField(6);
}

class ToCourseListReply extends $pb.GeneratedMessage {
  factory ToCourseListReply({
    $core.Iterable<$0.CourseBase>? list,
  }) {
    final $result = create();
    if (list != null) {
      $result.list.addAll(list);
    }
    return $result;
  }
  ToCourseListReply._() : super();
  factory ToCourseListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToCourseListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToCourseListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..pc<$0.CourseBase>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: $0.CourseBase.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToCourseListReply clone() => ToCourseListReply()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToCourseListReply copyWith(void Function(ToCourseListReply) updates) => super.copyWith((message) => updates(message as ToCourseListReply)) as ToCourseListReply;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToCourseListReply create() => ToCourseListReply._();
  ToCourseListReply createEmptyInstance() => create();
  static $pb.PbList<ToCourseListReply> createRepeated() => $pb.PbList<ToCourseListReply>();
  @$core.pragma('dart2js:noInline')
  static ToCourseListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToCourseListReply>(create);
  static ToCourseListReply? _defaultInstance;

  @$pb.TagNumber(1)
  $core.List<$0.CourseBase> get list => $_getList(0);
}

class ToMatchRegusterListRequest extends $pb.GeneratedMessage {
  factory ToMatchRegusterListRequest({
    $core.int? mapId,
    $fixnum.Int64? startSecond,
  }) {
    final $result = create();
    if (mapId != null) {
      $result.mapId = mapId;
    }
    if (startSecond != null) {
      $result.startSecond = startSecond;
    }
    return $result;
  }
  ToMatchRegusterListRequest._() : super();
  factory ToMatchRegusterListRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToMatchRegusterListRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterListRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'mapId', $pb.PbFieldType.O3, protoName: 'mapId')
    ..aInt64(2, _omitFieldNames ? '' : 'startSecond', protoName: 'startSecond')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToMatchRegusterListRequest clone() => ToMatchRegusterListRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToMatchRegusterListRequest copyWith(void Function(ToMatchRegusterListRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterListRequest)) as ToMatchRegusterListRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterListRequest create() => ToMatchRegusterListRequest._();
  ToMatchRegusterListRequest createEmptyInstance() => create();
  static $pb.PbList<ToMatchRegusterListRequest> createRepeated() => $pb.PbList<ToMatchRegusterListRequest>();
  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterListRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterListRequest>(create);
  static ToMatchRegusterListRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get mapId => $_getIZ(0);
  @$pb.TagNumber(1)
  set mapId($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasMapId() => $_has(0);
  @$pb.TagNumber(1)
  void clearMapId() => clearField(1);

  @$pb.TagNumber(2)
  $fixnum.Int64 get startSecond => $_getI64(1);
  @$pb.TagNumber(2)
  set startSecond($fixnum.Int64 v) { $_setInt64(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasStartSecond() => $_has(1);
  @$pb.TagNumber(2)
  void clearStartSecond() => clearField(2);
}

class ToMatchRegusterListReply extends $pb.GeneratedMessage {
  factory ToMatchRegusterListReply({
    $core.Iterable<MatchRegusterInfo>? list,
  }) {
    final $result = create();
    if (list != null) {
      $result.list.addAll(list);
    }
    return $result;
  }
  ToMatchRegusterListReply._() : super();
  factory ToMatchRegusterListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToMatchRegusterListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..pc<MatchRegusterInfo>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: MatchRegusterInfo.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToMatchRegusterListReply clone() => ToMatchRegusterListReply()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToMatchRegusterListReply copyWith(void Function(ToMatchRegusterListReply) updates) => super.copyWith((message) => updates(message as ToMatchRegusterListReply)) as ToMatchRegusterListReply;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterListReply create() => ToMatchRegusterListReply._();
  ToMatchRegusterListReply createEmptyInstance() => create();
  static $pb.PbList<ToMatchRegusterListReply> createRepeated() => $pb.PbList<ToMatchRegusterListReply>();
  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterListReply>(create);
  static ToMatchRegusterListReply? _defaultInstance;

  @$pb.TagNumber(1)
  $core.List<MatchRegusterInfo> get list => $_getList(0);
}

class MatchRegusterInfo extends $pb.GeneratedMessage {
  factory MatchRegusterInfo({
    $core.int? id,
    $core.String? name,
    $core.int? totalUserNum,
    $core.String? qrCode,
    $core.bool? isAllowEdit,
    $core.bool? isAllowDel,
    $core.Iterable<ToChackInsInfo>? userList,
    $core.int? state,
    $core.String? matchBt,
    $core.String? matchEt,
  }) {
    final $result = create();
    if (id != null) {
      $result.id = id;
    }
    if (name != null) {
      $result.name = name;
    }
    if (totalUserNum != null) {
      $result.totalUserNum = totalUserNum;
    }
    if (qrCode != null) {
      $result.qrCode = qrCode;
    }
    if (isAllowEdit != null) {
      $result.isAllowEdit = isAllowEdit;
    }
    if (isAllowDel != null) {
      $result.isAllowDel = isAllowDel;
    }
    if (userList != null) {
      $result.userList.addAll(userList);
    }
    if (state != null) {
      $result.state = state;
    }
    if (matchBt != null) {
      $result.matchBt = matchBt;
    }
    if (matchEt != null) {
      $result.matchEt = matchEt;
    }
    return $result;
  }
  MatchRegusterInfo._() : super();
  factory MatchRegusterInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MatchRegusterInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MatchRegusterInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
    ..aOS(2, _omitFieldNames ? '' : 'name')
    ..a<$core.int>(3, _omitFieldNames ? '' : 'totalUserNum', $pb.PbFieldType.O3, protoName: 'totalUserNum')
    ..aOS(4, _omitFieldNames ? '' : 'qrCode', protoName: 'qrCode')
    ..aOB(5, _omitFieldNames ? '' : 'isAllowEdit', protoName: 'isAllowEdit')
    ..aOB(6, _omitFieldNames ? '' : 'isAllowDel', protoName: 'isAllowDel')
    ..pc<ToChackInsInfo>(7, _omitFieldNames ? '' : 'userList', $pb.PbFieldType.PM, protoName: 'userList', subBuilder: ToChackInsInfo.create)
    ..a<$core.int>(8, _omitFieldNames ? '' : 'state', $pb.PbFieldType.O3)
    ..aOS(9, _omitFieldNames ? '' : 'MatchBt', protoName: 'MatchBt')
    ..aOS(10, _omitFieldNames ? '' : 'MatchEt', protoName: 'MatchEt')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  MatchRegusterInfo clone() => MatchRegusterInfo()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  MatchRegusterInfo copyWith(void Function(MatchRegusterInfo) updates) => super.copyWith((message) => updates(message as MatchRegusterInfo)) as MatchRegusterInfo;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static MatchRegusterInfo create() => MatchRegusterInfo._();
  MatchRegusterInfo createEmptyInstance() => create();
  static $pb.PbList<MatchRegusterInfo> createRepeated() => $pb.PbList<MatchRegusterInfo>();
  @$core.pragma('dart2js:noInline')
  static MatchRegusterInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MatchRegusterInfo>(create);
  static MatchRegusterInfo? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get id => $_getIZ(0);
  @$pb.TagNumber(1)
  set id($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

  @$pb.TagNumber(2)
  $core.String get name => $_getSZ(1);
  @$pb.TagNumber(2)
  set name($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasName() => $_has(1);
  @$pb.TagNumber(2)
  void clearName() => clearField(2);

  @$pb.TagNumber(3)
  $core.int get totalUserNum => $_getIZ(2);
  @$pb.TagNumber(3)
  set totalUserNum($core.int v) { $_setSignedInt32(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasTotalUserNum() => $_has(2);
  @$pb.TagNumber(3)
  void clearTotalUserNum() => clearField(3);

  @$pb.TagNumber(4)
  $core.String get qrCode => $_getSZ(3);
  @$pb.TagNumber(4)
  set qrCode($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasQrCode() => $_has(3);
  @$pb.TagNumber(4)
  void clearQrCode() => clearField(4);

  @$pb.TagNumber(5)
  $core.bool get isAllowEdit => $_getBF(4);
  @$pb.TagNumber(5)
  set isAllowEdit($core.bool v) { $_setBool(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasIsAllowEdit() => $_has(4);
  @$pb.TagNumber(5)
  void clearIsAllowEdit() => clearField(5);

  @$pb.TagNumber(6)
  $core.bool get isAllowDel => $_getBF(5);
  @$pb.TagNumber(6)
  set isAllowDel($core.bool v) { $_setBool(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasIsAllowDel() => $_has(5);
  @$pb.TagNumber(6)
  void clearIsAllowDel() => clearField(6);

  @$pb.TagNumber(7)
  $core.List<ToChackInsInfo> get userList => $_getList(6);

  @$pb.TagNumber(8)
  $core.int get state => $_getIZ(7);
  @$pb.TagNumber(8)
  set state($core.int v) { $_setSignedInt32(7, v); }
  @$pb.TagNumber(8)
  $core.bool hasState() => $_has(7);
  @$pb.TagNumber(8)
  void clearState() => clearField(8);

  @$pb.TagNumber(9)
  $core.String get matchBt => $_getSZ(8);
  @$pb.TagNumber(9)
  set matchBt($core.String v) { $_setString(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasMatchBt() => $_has(8);
  @$pb.TagNumber(9)
  void clearMatchBt() => clearField(9);

  @$pb.TagNumber(10)
  $core.String get matchEt => $_getSZ(9);
  @$pb.TagNumber(10)
  set matchEt($core.String v) { $_setString(9, v); }
  @$pb.TagNumber(10)
  $core.bool hasMatchEt() => $_has(9);
  @$pb.TagNumber(10)
  void clearMatchEt() => clearField(10);
}

///
/// 场控段赛事控制逻辑：
/// 1.如果cId等于0，isStart等于false，表示未分发线路，路线显示分发按钮，状态显示未分发；
/// 2.如果cId大于0，isStart等于false，表示已分发线路但管理员未开始，状态栏是开始按钮；
/// 3.如果cId大于0，isStart等于true，mState等于0（玩家端未开始）或1（玩家端已开始但没打开始点），表示已分发线路且管理员已开始但用户没有打开始点，状态显示已开始；
/// 4.如果cId大于0，isStart等于true,mState等于2，表示已分发线路且管理员已开始且用户已打开始点，状态显示已开始,操作显示结束按钮；
/// 5.如果cId大于0，isStart等于true,mState大于等于3，表示已分发线路且管理员已开始且用户已结束比赛，状态显示已结束,操作显示重赛按钮
/// 6：点击重赛后，跟1情况一样
/// 7：是否显示删除按钮由punchCpNum字段控制，punchCpNum等于0显示删除按钮，大于0显示其他按钮；
class ToChackInsInfo extends $pb.GeneratedMessage {
  factory ToChackInsInfo({
    $core.int? mciId,
    $core.int? oId,
    $core.String? nickname,
    $core.String? phone,
    $core.String? chackInsTime,
    $core.bool? isAllowDel,
    $core.String? cName,
    $core.int? cId,
    $core.String? hrSn,
    $0.CState? cState,
  }) {
    final $result = create();
    if (mciId != null) {
      $result.mciId = mciId;
    }
    if (oId != null) {
      $result.oId = oId;
    }
    if (nickname != null) {
      $result.nickname = nickname;
    }
    if (phone != null) {
      $result.phone = phone;
    }
    if (chackInsTime != null) {
      $result.chackInsTime = chackInsTime;
    }
    if (isAllowDel != null) {
      $result.isAllowDel = isAllowDel;
    }
    if (cName != null) {
      $result.cName = cName;
    }
    if (cId != null) {
      $result.cId = cId;
    }
    if (hrSn != null) {
      $result.hrSn = hrSn;
    }
    if (cState != null) {
      $result.cState = cState;
    }
    return $result;
  }
  ToChackInsInfo._() : super();
  factory ToChackInsInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToChackInsInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToChackInsInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'mciId', $pb.PbFieldType.O3, protoName: 'mciId')
    ..a<$core.int>(2, _omitFieldNames ? '' : 'oId', $pb.PbFieldType.O3, protoName: 'oId')
    ..aOS(3, _omitFieldNames ? '' : 'nickname')
    ..aOS(4, _omitFieldNames ? '' : 'phone')
    ..aOS(5, _omitFieldNames ? '' : 'chackInsTime', protoName: 'chackInsTime')
    ..aOB(6, _omitFieldNames ? '' : 'isAllowDel', protoName: 'isAllowDel')
    ..aOS(7, _omitFieldNames ? '' : 'cName', protoName: 'cName')
    ..a<$core.int>(8, _omitFieldNames ? '' : 'cId', $pb.PbFieldType.O3, protoName: 'cId')
    ..aOS(9, _omitFieldNames ? '' : 'hrSn', protoName: 'hrSn')
    ..e<$0.CState>(10, _omitFieldNames ? '' : 'cState', $pb.PbFieldType.OE, protoName: 'cState', defaultOrMaker: $0.CState.ToUnSend, valueOf: $0.CState.valueOf, enumValues: $0.CState.values)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToChackInsInfo clone() => ToChackInsInfo()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToChackInsInfo copyWith(void Function(ToChackInsInfo) updates) => super.copyWith((message) => updates(message as ToChackInsInfo)) as ToChackInsInfo;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToChackInsInfo create() => ToChackInsInfo._();
  ToChackInsInfo createEmptyInstance() => create();
  static $pb.PbList<ToChackInsInfo> createRepeated() => $pb.PbList<ToChackInsInfo>();
  @$core.pragma('dart2js:noInline')
  static ToChackInsInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToChackInsInfo>(create);
  static ToChackInsInfo? _defaultInstance;

  @$pb.TagNumber(1)
  $core.int get mciId => $_getIZ(0);
  @$pb.TagNumber(1)
  set mciId($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasMciId() => $_has(0);
  @$pb.TagNumber(1)
  void clearMciId() => clearField(1);

  @$pb.TagNumber(2)
  $core.int get oId => $_getIZ(1);
  @$pb.TagNumber(2)
  set oId($core.int v) { $_setSignedInt32(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasOId() => $_has(1);
  @$pb.TagNumber(2)
  void clearOId() => clearField(2);

  @$pb.TagNumber(3)
  $core.String get nickname => $_getSZ(2);
  @$pb.TagNumber(3)
  set nickname($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasNickname() => $_has(2);
  @$pb.TagNumber(3)
  void clearNickname() => clearField(3);

  @$pb.TagNumber(4)
  $core.String get phone => $_getSZ(3);
  @$pb.TagNumber(4)
  set phone($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasPhone() => $_has(3);
  @$pb.TagNumber(4)
  void clearPhone() => clearField(4);

  @$pb.TagNumber(5)
  $core.String get chackInsTime => $_getSZ(4);
  @$pb.TagNumber(5)
  set chackInsTime($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasChackInsTime() => $_has(4);
  @$pb.TagNumber(5)
  void clearChackInsTime() => clearField(5);

  @$pb.TagNumber(6)
  $core.bool get isAllowDel => $_getBF(5);
  @$pb.TagNumber(6)
  set isAllowDel($core.bool v) { $_setBool(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasIsAllowDel() => $_has(5);
  @$pb.TagNumber(6)
  void clearIsAllowDel() => clearField(6);

  @$pb.TagNumber(7)
  $core.String get cName => $_getSZ(6);
  @$pb.TagNumber(7)
  set cName($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasCName() => $_has(6);
  @$pb.TagNumber(7)
  void clearCName() => clearField(7);

  @$pb.TagNumber(8)
  $core.int get cId => $_getIZ(7);
  @$pb.TagNumber(8)
  set cId($core.int v) { $_setSignedInt32(7, v); }
  @$pb.TagNumber(8)
  $core.bool hasCId() => $_has(7);
  @$pb.TagNumber(8)
  void clearCId() => clearField(8);

  /// int32 mState =8;//用户状态(不是场控端发送状态)：0:等待出发 1: 参加比赛，没打第一点    2：比赛进行中      3：完成比赛      4：超时完成比赛  5：未完成-已过强制关门时间，系统强制退赛  6：用户主动退赛
  /// bool  isStart  =9;//是否出发
  /// int32  punchCpNum =10;//打开始点次数
  @$pb.TagNumber(9)
  $core.String get hrSn => $_getSZ(8);
  @$pb.TagNumber(9)
  set hrSn($core.String v) { $_setString(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasHrSn() => $_has(8);
  @$pb.TagNumber(9)
  void clearHrSn() => clearField(9);

  @$pb.TagNumber(10)
  $0.CState get cState => $_getN(9);
  @$pb.TagNumber(10)
  set cState($0.CState v) { setField(10, v); }
  @$pb.TagNumber(10)
  $core.bool hasCState() => $_has(9);
  @$pb.TagNumber(10)
  void clearCState() => clearField(10);
}

class ToMatchRegusterAddRequest extends $pb.GeneratedMessage {
  factory ToMatchRegusterAddRequest({
    $core.String? regName,
    $2.Timestamp? startAt,
    $2.Timestamp? stopAt,
    $core.int? actId,
    $core.bool? isQueryPwd,
    $core.String? queryPasswd,
  }) {
    final $result = create();
    if (regName != null) {
      $result.regName = regName;
    }
    if (startAt != null) {
      $result.startAt = startAt;
    }
    if (stopAt != null) {
      $result.stopAt = stopAt;
    }
    if (actId != null) {
      $result.actId = actId;
    }
    if (isQueryPwd != null) {
      $result.isQueryPwd = isQueryPwd;
    }
    if (queryPasswd != null) {
      $result.queryPasswd = queryPasswd;
    }
    return $result;
  }
  ToMatchRegusterAddRequest._() : super();
  factory ToMatchRegusterAddRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ToMatchRegusterAddRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterAddRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'regName', protoName: 'regName')
    ..aOM<$2.Timestamp>(2, _omitFieldNames ? '' : 'startAt', subBuilder: $2.Timestamp.create)
    ..aOM<$2.Timestamp>(3, _omitFieldNames ? '' : 'stopAt', subBuilder: $2.Timestamp.create)
    ..a<$core.int>(4, _omitFieldNames ? '' : 'actId', $pb.PbFieldType.O3, protoName: 'actId')
    ..aOB(5, _omitFieldNames ? '' : 'isQueryPwd', protoName: 'isQueryPwd')
    ..aOS(6, _omitFieldNames ? '' : 'queryPasswd', protoName: 'queryPasswd')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ToMatchRegusterAddRequest clone() => ToMatchRegusterAddRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ToMatchRegusterAddRequest copyWith(void Function(ToMatchRegusterAddRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterAddRequest)) as ToMatchRegusterAddRequest;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterAddRequest create() => ToMatchRegusterAddRequest._();
  ToMatchRegusterAddRequest createEmptyInstance() => create();
  static $pb.PbList<ToMatchRegusterAddRequest> createRepeated() => $pb.PbList<ToMatchRegusterAddRequest>();
  @$core.pragma('dart2js:noInline')
  static ToMatchRegusterAddRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterAddRequest>(create);
  static ToMatchRegusterAddRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get regName => $_getSZ(0);
  @$pb.TagNumber(1)
  set regName($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasRegName() => $_has(0);
  @$pb.TagNumber(1)
  void clearRegName() => clearField(1);

  @$pb.TagNumber(2)
  $2.Timestamp get startAt => $_getN(1);
  @$pb.TagNumber(2)
  set startAt($2.Timestamp v) { setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasStartAt() => $_has(1);
  @$pb.TagNumber(2)
  void clearStartAt() => clearField(2);
  @$pb.TagNumber(2)
  $2.Timestamp ensureStartAt() => $_ensure(1);

  @$pb.TagNumber(3)
  $2.Timestamp get stopAt => $_getN(2);
  @$pb.TagNumber(3)
  set stopAt($2.Timestamp v) { setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasStopAt() => $_has(2);
  @$pb.TagNumber(3)
  void clearStopAt() => clearField(3);
  @$pb.TagNumber(3)
  $2.Timestamp ensureStopAt() => $_ensure(2);

  @$pb.TagNumber(4)
  $core.int get actId => $_getIZ(3);
  @$pb.TagNumber(4)
  set actId($core.int v) { $_setSignedInt32(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasActId() => $_has(3);
  @$pb.TagNumber(4)
  void clearActId() => clearField(4);

  @$pb.TagNumber(5)
  $core.bool get isQueryPwd => $_getBF(4);
  @$pb.TagNumber(5)
  set isQueryPwd($core.bool v) { $_setBool(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasIsQueryPwd() => $_has(4);
  @$pb.TagNumber(5)
  void clearIsQueryPwd() => clearField(5);

  @$pb.TagNumber(6)
  $core.String get queryPasswd => $_getSZ(5);
  @$pb.TagNumber(6)
  set queryPasswd($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasQueryPasswd() => $_has(5);
  @$pb.TagNumber(6)
  void clearQueryPasswd() => clearField(6);
}


const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
