//
//  Generated code. Do not modify.
//  source: base.proto
//
// @dart = 3.3

// 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:protobuf/protobuf.dart' as $pb;

export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;

class AdminAddress extends $pb.GeneratedMessage {
  factory AdminAddress({
    $core.String? city,
    $core.String? countryCode,
    AdminGeographicalCoordinates? geographicalCoordinates,
    $core.String? name,
    $core.String? pOBoxNumber,
    $core.String? postalCode,
    $core.String? provinceCode,
    $core.String? state,
    $core.String? streetAddressOne,
    $core.String? streetAddressTwo,
    $core.String? streetAddressThree,
    $core.String? plusCode,
  }) {
    final $result = create();
    if (city != null) {
      $result.city = city;
    }
    if (countryCode != null) {
      $result.countryCode = countryCode;
    }
    if (geographicalCoordinates != null) {
      $result.geographicalCoordinates = geographicalCoordinates;
    }
    if (name != null) {
      $result.name = name;
    }
    if (pOBoxNumber != null) {
      $result.pOBoxNumber = pOBoxNumber;
    }
    if (postalCode != null) {
      $result.postalCode = postalCode;
    }
    if (provinceCode != null) {
      $result.provinceCode = provinceCode;
    }
    if (state != null) {
      $result.state = state;
    }
    if (streetAddressOne != null) {
      $result.streetAddressOne = streetAddressOne;
    }
    if (streetAddressTwo != null) {
      $result.streetAddressTwo = streetAddressTwo;
    }
    if (streetAddressThree != null) {
      $result.streetAddressThree = streetAddressThree;
    }
    if (plusCode != null) {
      $result.plusCode = plusCode;
    }
    return $result;
  }
  AdminAddress._() : super();
  factory AdminAddress.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory AdminAddress.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AdminAddress', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'City', protoName: 'City')
    ..aOS(2, _omitFieldNames ? '' : 'CountryCode', protoName: 'CountryCode')
    ..aOM<AdminGeographicalCoordinates>(3, _omitFieldNames ? '' : 'GeographicalCoordinates', protoName: 'GeographicalCoordinates', subBuilder: AdminGeographicalCoordinates.create)
    ..aOS(4, _omitFieldNames ? '' : 'Name', protoName: 'Name')
    ..aOS(5, _omitFieldNames ? '' : 'POBoxNumber', protoName: 'POBoxNumber')
    ..aOS(6, _omitFieldNames ? '' : 'PostalCode', protoName: 'PostalCode')
    ..aOS(7, _omitFieldNames ? '' : 'ProvinceCode', protoName: 'ProvinceCode')
    ..aOS(8, _omitFieldNames ? '' : 'State', protoName: 'State')
    ..aOS(9, _omitFieldNames ? '' : 'StreetAddressOne', protoName: 'StreetAddressOne')
    ..aOS(10, _omitFieldNames ? '' : 'StreetAddressTwo', protoName: 'StreetAddressTwo')
    ..aOS(11, _omitFieldNames ? '' : 'StreetAddressThree', protoName: 'StreetAddressThree')
    ..aOS(12, _omitFieldNames ? '' : 'PlusCode', protoName: 'PlusCode')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get city => $_getSZ(0);
  @$pb.TagNumber(1)
  set city($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasCity() => $_has(0);
  @$pb.TagNumber(1)
  void clearCity() => $_clearField(1);

  /// Country Code in <a href='https://en.wikipedia.org/wiki/ISO_3166-1'>ISO_3166-1</a> format
  @$pb.TagNumber(2)
  $core.String get countryCode => $_getSZ(1);
  @$pb.TagNumber(2)
  set countryCode($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasCountryCode() => $_has(1);
  @$pb.TagNumber(2)
  void clearCountryCode() => $_clearField(2);

  @$pb.TagNumber(3)
  AdminGeographicalCoordinates get geographicalCoordinates => $_getN(2);
  @$pb.TagNumber(3)
  set geographicalCoordinates(AdminGeographicalCoordinates v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasGeographicalCoordinates() => $_has(2);
  @$pb.TagNumber(3)
  void clearGeographicalCoordinates() => $_clearField(3);
  @$pb.TagNumber(3)
  AdminGeographicalCoordinates ensureGeographicalCoordinates() => $_ensure(2);

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

  @$pb.TagNumber(5)
  $core.String get pOBoxNumber => $_getSZ(4);
  @$pb.TagNumber(5)
  set pOBoxNumber($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasPOBoxNumber() => $_has(4);
  @$pb.TagNumber(5)
  void clearPOBoxNumber() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.String get postalCode => $_getSZ(5);
  @$pb.TagNumber(6)
  set postalCode($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasPostalCode() => $_has(5);
  @$pb.TagNumber(6)
  void clearPostalCode() => $_clearField(6);

  @$pb.TagNumber(7)
  $core.String get provinceCode => $_getSZ(6);
  @$pb.TagNumber(7)
  set provinceCode($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasProvinceCode() => $_has(6);
  @$pb.TagNumber(7)
  void clearProvinceCode() => $_clearField(7);

  @$pb.TagNumber(8)
  $core.String get state => $_getSZ(7);
  @$pb.TagNumber(8)
  set state($core.String v) { $_setString(7, v); }
  @$pb.TagNumber(8)
  $core.bool hasState() => $_has(7);
  @$pb.TagNumber(8)
  void clearState() => $_clearField(8);

  @$pb.TagNumber(9)
  $core.String get streetAddressOne => $_getSZ(8);
  @$pb.TagNumber(9)
  set streetAddressOne($core.String v) { $_setString(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasStreetAddressOne() => $_has(8);
  @$pb.TagNumber(9)
  void clearStreetAddressOne() => $_clearField(9);

  @$pb.TagNumber(10)
  $core.String get streetAddressTwo => $_getSZ(9);
  @$pb.TagNumber(10)
  set streetAddressTwo($core.String v) { $_setString(9, v); }
  @$pb.TagNumber(10)
  $core.bool hasStreetAddressTwo() => $_has(9);
  @$pb.TagNumber(10)
  void clearStreetAddressTwo() => $_clearField(10);

  @$pb.TagNumber(11)
  $core.String get streetAddressThree => $_getSZ(10);
  @$pb.TagNumber(11)
  set streetAddressThree($core.String v) { $_setString(10, v); }
  @$pb.TagNumber(11)
  $core.bool hasStreetAddressThree() => $_has(10);
  @$pb.TagNumber(11)
  void clearStreetAddressThree() => $_clearField(11);

  @$pb.TagNumber(12)
  $core.String get plusCode => $_getSZ(11);
  @$pb.TagNumber(12)
  set plusCode($core.String v) { $_setString(11, v); }
  @$pb.TagNumber(12)
  $core.bool hasPlusCode() => $_has(11);
  @$pb.TagNumber(12)
  void clearPlusCode() => $_clearField(12);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AdminGeographicalCoordinates', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Latitude', protoName: 'Latitude')
    ..aOS(2, _omitFieldNames ? '' : 'Longitude', protoName: 'Longitude')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get latitude => $_getSZ(0);
  @$pb.TagNumber(1)
  set latitude($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasLatitude() => $_has(0);
  @$pb.TagNumber(1)
  void clearLatitude() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get longitude => $_getSZ(1);
  @$pb.TagNumber(2)
  set longitude($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasLongitude() => $_has(1);
  @$pb.TagNumber(2)
  void clearLongitude() => $_clearField(2);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Paging', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..a<$core.int>(1, _omitFieldNames ? '' : 'Limit', $pb.PbFieldType.O3, protoName: 'Limit')
    ..a<$core.int>(2, _omitFieldNames ? '' : 'Offset', $pb.PbFieldType.O3, protoName: 'Offset')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.int get limit => $_getIZ(0);
  @$pb.TagNumber(1)
  set limit($core.int v) { $_setSignedInt32(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasLimit() => $_has(0);
  @$pb.TagNumber(1)
  void clearLimit() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.int get offset => $_getIZ(1);
  @$pb.TagNumber(2)
  set offset($core.int v) { $_setSignedInt32(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasOffset() => $_has(1);
  @$pb.TagNumber(2)
  void clearOffset() => $_clearField(2);
}


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