//
//  Generated code. Do not modify.
//  source: base.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.pbenum.dart';
import 'google/protobuf/any.pb.dart' as $1;
import 'google/protobuf/timestamp.pb.dart' as $0;

export 'base.pbenum.dart';

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NetImage', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'url')
    ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'md5', $pb.PbFieldType.OY)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get md5 => $_getN(1);
  @$pb.TagNumber(2)
  set md5($core.List<$core.int> v) { $_setBytes(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasMd5() => $_has(1);
  @$pb.TagNumber(2)
  void clearMd5() => clearField(2);
}

class User extends $pb.GeneratedMessage {
  factory User() => create();
  User._() : super();
  factory User.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory User.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'User', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: 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')
  User clone() => User()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  User copyWith(void Function(User) updates) => super.copyWith((message) => updates(message as User)) as User;

  $pb.BuilderInfo get info_ => _i;

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

class GameGpsInfo extends $pb.GeneratedMessage {
  factory GameGpsInfo({
    $0.Timestamp? gpsTime,
    $core.double? longitude,
    $core.double? latitude,
    $core.double? directionRadian,
    $core.double? altitude,
  }) {
    final $result = create();
    if (gpsTime != null) {
      $result.gpsTime = gpsTime;
    }
    if (longitude != null) {
      $result.longitude = longitude;
    }
    if (latitude != null) {
      $result.latitude = latitude;
    }
    if (directionRadian != null) {
      $result.directionRadian = directionRadian;
    }
    if (altitude != null) {
      $result.altitude = altitude;
    }
    return $result;
  }
  GameGpsInfo._() : super();
  factory GameGpsInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GameGpsInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GameGpsInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOM<$0.Timestamp>(1, _omitFieldNames ? '' : 'gpsTime', protoName: 'gpsTime', subBuilder: $0.Timestamp.create)
    ..a<$core.double>(2, _omitFieldNames ? '' : 'longitude', $pb.PbFieldType.OD)
    ..a<$core.double>(3, _omitFieldNames ? '' : 'latitude', $pb.PbFieldType.OD)
    ..a<$core.double>(4, _omitFieldNames ? '' : 'directionRadian', $pb.PbFieldType.OD, protoName: 'directionRadian')
    ..a<$core.double>(5, _omitFieldNames ? '' : 'altitude', $pb.PbFieldType.OD)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $0.Timestamp get gpsTime => $_getN(0);
  @$pb.TagNumber(1)
  set gpsTime($0.Timestamp v) { setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasGpsTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearGpsTime() => clearField(1);
  @$pb.TagNumber(1)
  $0.Timestamp ensureGpsTime() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.double get longitude => $_getN(1);
  @$pb.TagNumber(2)
  set longitude($core.double v) { $_setDouble(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasLongitude() => $_has(1);
  @$pb.TagNumber(2)
  void clearLongitude() => clearField(2);

  @$pb.TagNumber(3)
  $core.double get latitude => $_getN(2);
  @$pb.TagNumber(3)
  set latitude($core.double v) { $_setDouble(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasLatitude() => $_has(2);
  @$pb.TagNumber(3)
  void clearLatitude() => clearField(3);

  @$pb.TagNumber(4)
  $core.double get directionRadian => $_getN(3);
  @$pb.TagNumber(4)
  set directionRadian($core.double v) { $_setDouble(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasDirectionRadian() => $_has(3);
  @$pb.TagNumber(4)
  void clearDirectionRadian() => clearField(4);

  @$pb.TagNumber(5)
  $core.double get altitude => $_getN(4);
  @$pb.TagNumber(5)
  set altitude($core.double v) { $_setDouble(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasAltitude() => $_has(4);
  @$pb.TagNumber(5)
  void clearAltitude() => clearField(5);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get timeStampMs => $_getI64(0);
  @$pb.TagNumber(1)
  set timeStampMs($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasTimeStampMs() => $_has(0);
  @$pb.TagNumber(1)
  void clearTimeStampMs() => clearField(1);

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SignInReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'token')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GameArriveControlPoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..aOS(2, _omitFieldNames ? '' : 'sn')
    ..a<$core.int>(3, _omitFieldNames ? '' : 'orderNo', $pb.PbFieldType.O3, protoName: 'orderNo')
    ..a<$core.int>(4, _omitFieldNames ? '' : 'totalNo', $pb.PbFieldType.O3, protoName: 'totalNo')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get id => $_getI64(0);
  @$pb.TagNumber(1)
  set id($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

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

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

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

class MapRoute extends $pb.GeneratedMessage {
  factory MapRoute({
    $fixnum.Int64? id,
    $core.String? name,
    NetImage? image,
    $core.bool? isNfc,
    $core.int? distanceMeter,
    $core.int? altitudeDiffMeter,
    $core.int? useCount,
  }) {
    final $result = create();
    if (id != null) {
      $result.id = id;
    }
    if (name != null) {
      $result.name = name;
    }
    if (image != null) {
      $result.image = image;
    }
    if (isNfc != null) {
      $result.isNfc = isNfc;
    }
    if (distanceMeter != null) {
      $result.distanceMeter = distanceMeter;
    }
    if (altitudeDiffMeter != null) {
      $result.altitudeDiffMeter = altitudeDiffMeter;
    }
    if (useCount != null) {
      $result.useCount = useCount;
    }
    return $result;
  }
  MapRoute._() : super();
  factory MapRoute.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MapRoute.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MapRoute', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..aOS(2, _omitFieldNames ? '' : 'name')
    ..aOM<NetImage>(3, _omitFieldNames ? '' : 'image', subBuilder: NetImage.create)
    ..aOB(4, _omitFieldNames ? '' : 'isNfc', protoName: 'isNfc')
    ..a<$core.int>(5, _omitFieldNames ? '' : 'distanceMeter', $pb.PbFieldType.O3, protoName: 'distanceMeter')
    ..a<$core.int>(6, _omitFieldNames ? '' : 'altitudeDiffMeter', $pb.PbFieldType.O3, protoName: 'altitudeDiffMeter')
    ..a<$core.int>(7, _omitFieldNames ? '' : 'useCount', $pb.PbFieldType.O3, protoName: 'useCount')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get id => $_getI64(0);
  @$pb.TagNumber(1)
  set id($fixnum.Int64 v) { $_setInt64(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)
  NetImage get image => $_getN(2);
  @$pb.TagNumber(3)
  set image(NetImage v) { setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasImage() => $_has(2);
  @$pb.TagNumber(3)
  void clearImage() => clearField(3);
  @$pb.TagNumber(3)
  NetImage ensureImage() => $_ensure(2);

  @$pb.TagNumber(4)
  $core.bool get isNfc => $_getBF(3);
  @$pb.TagNumber(4)
  set isNfc($core.bool v) { $_setBool(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasIsNfc() => $_has(3);
  @$pb.TagNumber(4)
  void clearIsNfc() => clearField(4);

  /// 路线总距离
  @$pb.TagNumber(5)
  $core.int get distanceMeter => $_getIZ(4);
  @$pb.TagNumber(5)
  set distanceMeter($core.int v) { $_setSignedInt32(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasDistanceMeter() => $_has(4);
  @$pb.TagNumber(5)
  void clearDistanceMeter() => clearField(5);

  /// 高度落差
  @$pb.TagNumber(6)
  $core.int get altitudeDiffMeter => $_getIZ(5);
  @$pb.TagNumber(6)
  set altitudeDiffMeter($core.int v) { $_setSignedInt32(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasAltitudeDiffMeter() => $_has(5);
  @$pb.TagNumber(6)
  void clearAltitudeDiffMeter() => clearField(6);

  /// 使用过的次数
  @$pb.TagNumber(7)
  $core.int get useCount => $_getIZ(6);
  @$pb.TagNumber(7)
  set useCount($core.int v) { $_setSignedInt32(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasUseCount() => $_has(6);
  @$pb.TagNumber(7)
  void clearUseCount() => clearField(7);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IdArrRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..p<$core.int>(2, _omitFieldNames ? '' : 'IdArr', $pb.PbFieldType.K3, protoName: 'IdArr')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get idArr => $_getList(0);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BaseMapInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'shopId', $pb.PbFieldType.O3, protoName: 'shopId')
    ..aOS(2, _omitFieldNames ? '' : 'mapName', protoName: 'mapName')
    ..aOM<NetImage>(3, _omitFieldNames ? '' : 'zipImage', protoName: 'zipImage', subBuilder: NetImage.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')
  BaseMapInfo clone() => BaseMapInfo()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  BaseMapInfo copyWith(void Function(BaseMapInfo) updates) => super.copyWith((message) => updates(message as BaseMapInfo)) as BaseMapInfo;

  $pb.BuilderInfo get info_ => _i;

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

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

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

  @$pb.TagNumber(3)
  NetImage get zipImage => $_getN(2);
  @$pb.TagNumber(3)
  set zipImage(NetImage v) { setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasZipImage() => $_has(2);
  @$pb.TagNumber(3)
  void clearZipImage() => clearField(3);
  @$pb.TagNumber(3)
  NetImage ensureZipImage() => $_ensure(2);
}

/// example： code = 370000 name = 山东省；code = 370100 name = 济南市；code = 370102 name = 历下区
class Region extends $pb.GeneratedMessage {
  factory Region({
    $core.String? code,
    $core.String? name,
  }) {
    final $result = create();
    if (code != null) {
      $result.code = code;
    }
    if (name != null) {
      $result.name = name;
    }
    return $result;
  }
  Region._() : super();
  factory Region.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory Region.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Region', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'code')
    ..aOS(2, _omitFieldNames ? '' : 'name')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get code => $_getSZ(0);
  @$pb.TagNumber(1)
  set code($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasCode() => $_has(0);
  @$pb.TagNumber(1)
  void clearCode() => 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);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.int get shopId => $_getIZ(0);
  @$pb.TagNumber(1)
  set shopId($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasShopId() => $_has(0);
  @$pb.TagNumber(1)
  void clearShopId() => 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);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSmsSendLeftTimeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'phone')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSmsSendLeftTimeReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'second', $pb.PbFieldType.O3)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

class DefaultReply extends $pb.GeneratedMessage {
  factory DefaultReply() => create();
  DefaultReply._() : super();
  factory DefaultReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory DefaultReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DefaultReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: 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')
  DefaultReply clone() => DefaultReply()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  DefaultReply copyWith(void Function(DefaultReply) updates) => super.copyWith((message) => updates(message as DefaultReply)) as DefaultReply;

  $pb.BuilderInfo get info_ => _i;

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IdRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get id => $_getI64(0);
  @$pb.TagNumber(1)
  set id($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);
}

class DefaultRequest extends $pb.GeneratedMessage {
  factory DefaultRequest() => create();
  DefaultRequest._() : super();
  factory DefaultRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory DefaultRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DefaultRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: 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')
  DefaultRequest clone() => DefaultRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  DefaultRequest copyWith(void Function(DefaultRequest) updates) => super.copyWith((message) => updates(message as DefaultRequest)) as DefaultRequest;

  $pb.BuilderInfo get info_ => _i;

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Position', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..a<$core.double>(1, _omitFieldNames ? '' : 'longitude', $pb.PbFieldType.OD)
    ..a<$core.double>(2, _omitFieldNames ? '' : 'latitude', $pb.PbFieldType.OD)
    ..a<$core.double>(3, _omitFieldNames ? '' : 'altitude', $pb.PbFieldType.OD)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.double get longitude => $_getN(0);
  @$pb.TagNumber(1)
  set longitude($core.double v) { $_setDouble(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasLongitude() => $_has(0);
  @$pb.TagNumber(1)
  void clearLongitude() => clearField(1);

  @$pb.TagNumber(2)
  $core.double get latitude => $_getN(1);
  @$pb.TagNumber(2)
  set latitude($core.double v) { $_setDouble(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasLatitude() => $_has(1);
  @$pb.TagNumber(2)
  void clearLatitude() => clearField(2);

  @$pb.TagNumber(3)
  $core.double get altitude => $_getN(2);
  @$pb.TagNumber(3)
  set altitude($core.double v) { $_setDouble(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasAltitude() => $_has(2);
  @$pb.TagNumber(3)
  void clearAltitude() => clearField(3);
}

/// message ControlPointInfo{
///   NetImage image = 1; //检查点内容图片(文创)
///   string content = 2; //检查点内容文字
///
/// }
class ControlPointInfo extends $pb.GeneratedMessage {
  factory ControlPointInfo({
    $1.Any? displayInfo,
  }) {
    final $result = create();
    if (displayInfo != null) {
      $result.displayInfo = displayInfo;
    }
    return $result;
  }
  ControlPointInfo._() : super();
  factory ControlPointInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ControlPointInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ControlPointInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOM<$1.Any>(1, _omitFieldNames ? '' : 'displayInfo', protoName: 'displayInfo', subBuilder: $1.Any.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')
  ControlPointInfo clone() => ControlPointInfo()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ControlPointInfo copyWith(void Function(ControlPointInfo) updates) => super.copyWith((message) => updates(message as ControlPointInfo)) as ControlPointInfo;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $1.Any get displayInfo => $_getN(0);
  @$pb.TagNumber(1)
  set displayInfo($1.Any v) { setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasDisplayInfo() => $_has(0);
  @$pb.TagNumber(1)
  void clearDisplayInfo() => clearField(1);
  @$pb.TagNumber(1)
  $1.Any ensureDisplayInfo() => $_ensure(0);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ControlPointDisplayInfoSingleChoice', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'question')
    ..aOM<NetImage>(2, _omitFieldNames ? '' : 'image', subBuilder: NetImage.create)
    ..pPS(3, _omitFieldNames ? '' : 'answer')
    ..a<$core.int>(4, _omitFieldNames ? '' : 'rightAnswerIndex', $pb.PbFieldType.O3, protoName: 'rightAnswerIndex')
    ..a<$core.int>(5, _omitFieldNames ? '' : 'qbId', $pb.PbFieldType.O3, protoName: 'qbId')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  NetImage get image => $_getN(1);
  @$pb.TagNumber(2)
  set image(NetImage v) { setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasImage() => $_has(1);
  @$pb.TagNumber(2)
  void clearImage() => clearField(2);
  @$pb.TagNumber(2)
  NetImage ensureImage() => $_ensure(1);

  @$pb.TagNumber(3)
  $core.List<$core.String> get answer => $_getList(2);

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

  @$pb.TagNumber(5)
  $core.int get qbId => $_getIZ(4);
  @$pb.TagNumber(5)
  set qbId($core.int v) { $_setSignedInt32(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasQbId() => $_has(4);
  @$pb.TagNumber(5)
  void clearQbId() => clearField(5);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryPart', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ext')
    ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
    ..a<$core.int>(3, _omitFieldNames ? '' : 'allCount', $pb.PbFieldType.O3, protoName: 'allCount')
    ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  /// 扩展名
  @$pb.TagNumber(1)
  $core.String get ext => $_getSZ(0);
  @$pb.TagNumber(1)
  set ext($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasExt() => $_has(0);
  @$pb.TagNumber(1)
  void clearExt() => clearField(1);

  @$pb.TagNumber(2)
  $core.List<$core.int> get data => $_getN(1);
  @$pb.TagNumber(2)
  set data($core.List<$core.int> v) { $_setBytes(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasData() => $_has(1);
  @$pb.TagNumber(2)
  void clearData() => clearField(2);

  /// 总字节数
  @$pb.TagNumber(3)
  $core.int get allCount => $_getIZ(2);
  @$pb.TagNumber(3)
  set allCount($core.int v) { $_setSignedInt32(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasAllCount() => $_has(2);
  @$pb.TagNumber(3)
  void clearAllCount() => clearField(3);

  /// 加密key
  @$pb.TagNumber(4)
  $core.List<$core.int> get nonce => $_getN(3);
  @$pb.TagNumber(4)
  set nonce($core.List<$core.int> v) { $_setBytes(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasNonce() => $_has(3);
  @$pb.TagNumber(4)
  void clearNonce() => clearField(4);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryPartV2', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.List<$core.int> get data => $_getN(0);
  @$pb.TagNumber(1)
  set data($core.List<$core.int> v) { $_setBytes(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasData() => $_has(0);
  @$pb.TagNumber(1)
  void clearData() => clearField(1);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Image', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ext')
    ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $core.List<$core.int> get data => $_getN(1);
  @$pb.TagNumber(2)
  set data($core.List<$core.int> v) { $_setBytes(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasData() => $_has(1);
  @$pb.TagNumber(2)
  void clearData() => clearField(2);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StatusEditRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..e<StatusType>(2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: StatusType.UnKnowStatus, valueOf: StatusType.valueOf, enumValues: StatusType.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')
  StatusEditRequest clone() => StatusEditRequest()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  StatusEditRequest copyWith(void Function(StatusEditRequest) updates) => super.copyWith((message) => updates(message as StatusEditRequest)) as StatusEditRequest;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get id => $_getI64(0);
  @$pb.TagNumber(1)
  set id($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

  @$pb.TagNumber(2)
  StatusType get status => $_getN(1);
  @$pb.TagNumber(2)
  set status(StatusType v) { setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasStatus() => $_has(1);
  @$pb.TagNumber(2)
  void clearStatus() => clearField(2);
}

/// 路线详情信息
class CourseInfo extends $pb.GeneratedMessage {
  factory CourseInfo({
    $core.int? id,
    $core.String? name,
    $core.int? totalControlNum,
    $core.int? maxRange,
    $core.Iterable<ControlPoint>? controlPointSortedList,
  }) {
    final $result = create();
    if (id != null) {
      $result.id = id;
    }
    if (name != null) {
      $result.name = name;
    }
    if (totalControlNum != null) {
      $result.totalControlNum = totalControlNum;
    }
    if (maxRange != null) {
      $result.maxRange = maxRange;
    }
    if (controlPointSortedList != null) {
      $result.controlPointSortedList.addAll(controlPointSortedList);
    }
    return $result;
  }
  CourseInfo._() : super();
  factory CourseInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CourseInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CourseInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
    ..aOS(2, _omitFieldNames ? '' : 'name')
    ..a<$core.int>(3, _omitFieldNames ? '' : 'totalControlNum', $pb.PbFieldType.O3, protoName: 'totalControlNum')
    ..a<$core.int>(4, _omitFieldNames ? '' : 'maxRange', $pb.PbFieldType.O3, protoName: 'maxRange')
    ..pc<ControlPoint>(5, _omitFieldNames ? '' : 'controlPointSortedList', $pb.PbFieldType.PM, subBuilder: ControlPoint.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')
  CourseInfo clone() => CourseInfo()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  CourseInfo copyWith(void Function(CourseInfo) updates) => super.copyWith((message) => updates(message as CourseInfo)) as CourseInfo;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static CourseInfo create() => CourseInfo._();
  CourseInfo createEmptyInstance() => create();
  static $pb.PbList<CourseInfo> createRepeated() => $pb.PbList<CourseInfo>();
  @$core.pragma('dart2js:noInline')
  static CourseInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CourseInfo>(create);
  static CourseInfo? _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 totalControlNum => $_getIZ(2);
  @$pb.TagNumber(3)
  set totalControlNum($core.int v) { $_setSignedInt32(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasTotalControlNum() => $_has(2);
  @$pb.TagNumber(3)
  void clearTotalControlNum() => clearField(3);

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

  @$pb.TagNumber(5)
  $core.List<ControlPoint> get controlPointSortedList => $_getList(4);
}

class ControlPoint extends $pb.GeneratedMessage {
  factory ControlPoint({
    $fixnum.Int64? id,
    ControlPointInfo? info,
    $core.Iterable<$core.String>? nfcIdList,
    $fixnum.Int64? onMapX,
    $fixnum.Int64? onMapY,
    $core.String? sn,
    Position? ciPosition,
    Position? mapPosition,
    $core.int? category,
  }) {
    final $result = create();
    if (id != null) {
      $result.id = id;
    }
    if (info != null) {
      $result.info = info;
    }
    if (nfcIdList != null) {
      $result.nfcIdList.addAll(nfcIdList);
    }
    if (onMapX != null) {
      $result.onMapX = onMapX;
    }
    if (onMapY != null) {
      $result.onMapY = onMapY;
    }
    if (sn != null) {
      $result.sn = sn;
    }
    if (ciPosition != null) {
      $result.ciPosition = ciPosition;
    }
    if (mapPosition != null) {
      $result.mapPosition = mapPosition;
    }
    if (category != null) {
      $result.category = category;
    }
    return $result;
  }
  ControlPoint._() : super();
  factory ControlPoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ControlPoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ControlPoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..aOM<ControlPointInfo>(2, _omitFieldNames ? '' : 'info', subBuilder: ControlPointInfo.create)
    ..pPS(3, _omitFieldNames ? '' : 'nfcIdList')
    ..aInt64(4, _omitFieldNames ? '' : 'onMapX')
    ..aInt64(5, _omitFieldNames ? '' : 'onMapY')
    ..aOS(6, _omitFieldNames ? '' : 'sn')
    ..aOM<Position>(7, _omitFieldNames ? '' : 'ciPosition', protoName: 'ciPosition', subBuilder: Position.create)
    ..aOM<Position>(8, _omitFieldNames ? '' : 'mapPosition', protoName: 'mapPosition', subBuilder: Position.create)
    ..a<$core.int>(9, _omitFieldNames ? '' : 'category', $pb.PbFieldType.O3)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get id => $_getI64(0);
  @$pb.TagNumber(1)
  set id($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

  @$pb.TagNumber(2)
  ControlPointInfo get info => $_getN(1);
  @$pb.TagNumber(2)
  set info(ControlPointInfo v) { setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasInfo() => $_has(1);
  @$pb.TagNumber(2)
  void clearInfo() => clearField(2);
  @$pb.TagNumber(2)
  ControlPointInfo ensureInfo() => $_ensure(1);

  @$pb.TagNumber(3)
  $core.List<$core.String> get nfcIdList => $_getList(2);

  @$pb.TagNumber(4)
  $fixnum.Int64 get onMapX => $_getI64(3);
  @$pb.TagNumber(4)
  set onMapX($fixnum.Int64 v) { $_setInt64(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasOnMapX() => $_has(3);
  @$pb.TagNumber(4)
  void clearOnMapX() => clearField(4);

  @$pb.TagNumber(5)
  $fixnum.Int64 get onMapY => $_getI64(4);
  @$pb.TagNumber(5)
  set onMapY($fixnum.Int64 v) { $_setInt64(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasOnMapY() => $_has(4);
  @$pb.TagNumber(5)
  void clearOnMapY() => clearField(5);

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

  @$pb.TagNumber(7)
  Position get ciPosition => $_getN(6);
  @$pb.TagNumber(7)
  set ciPosition(Position v) { setField(7, v); }
  @$pb.TagNumber(7)
  $core.bool hasCiPosition() => $_has(6);
  @$pb.TagNumber(7)
  void clearCiPosition() => clearField(7);
  @$pb.TagNumber(7)
  Position ensureCiPosition() => $_ensure(6);

  @$pb.TagNumber(8)
  Position get mapPosition => $_getN(7);
  @$pb.TagNumber(8)
  set mapPosition(Position v) { setField(8, v); }
  @$pb.TagNumber(8)
  $core.bool hasMapPosition() => $_has(7);
  @$pb.TagNumber(8)
  void clearMapPosition() => clearField(8);
  @$pb.TagNumber(8)
  Position ensureMapPosition() => $_ensure(7);

  @$pb.TagNumber(9)
  $core.int get category => $_getIZ(8);
  @$pb.TagNumber(9)
  set category($core.int v) { $_setSignedInt32(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasCategory() => $_has(8);
  @$pb.TagNumber(9)
  void clearCategory() => clearField(9);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ControlPointSimple', package: const $pb.PackageName(_omitMessageNames ? '' : 'base.v1'), createEmptyInstance: create)
    ..aInt64(1, _omitFieldNames ? '' : 'id')
    ..pPS(2, _omitFieldNames ? '' : 'nfcIdList')
    ..aOS(3, _omitFieldNames ? '' : 'sn')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $fixnum.Int64 get id => $_getI64(0);
  @$pb.TagNumber(1)
  set id($fixnum.Int64 v) { $_setInt64(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasId() => $_has(0);
  @$pb.TagNumber(1)
  void clearId() => clearField(1);

  @$pb.TagNumber(2)
  $core.List<$core.String> get nfcIdList => $_getList(1);

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


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