// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'remove_favorite_place.data.gql.dart';

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

Serializer<GRemoveFavoritePlaceData> _$gRemoveFavoritePlaceDataSerializer =
    _$GRemoveFavoritePlaceDataSerializer();
Serializer<GRemoveFavoritePlaceData_removeFavoritePlace>
_$gRemoveFavoritePlaceDataRemoveFavoritePlaceSerializer =
    _$GRemoveFavoritePlaceData_removeFavoritePlaceSerializer();
Serializer<GRemoveFavoritePlaceData_removeFavoritePlace_experiences>
_$gRemoveFavoritePlaceDataRemoveFavoritePlaceExperiencesSerializer =
    _$GRemoveFavoritePlaceData_removeFavoritePlace_experiencesSerializer();

class _$GRemoveFavoritePlaceDataSerializer
    implements StructuredSerializer<GRemoveFavoritePlaceData> {
  @override
  final Iterable<Type> types = const [
    GRemoveFavoritePlaceData,
    _$GRemoveFavoritePlaceData,
  ];
  @override
  final String wireName = 'GRemoveFavoritePlaceData';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GRemoveFavoritePlaceData object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'removeFavoritePlace',
      serializers.serialize(
        object.removeFavoritePlace,
        specifiedType: const FullType(
          GRemoveFavoritePlaceData_removeFavoritePlace,
        ),
      ),
    ];

    return result;
  }

  @override
  GRemoveFavoritePlaceData deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GRemoveFavoritePlaceDataBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'removeFavoritePlace':
          result.removeFavoritePlace.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GRemoveFavoritePlaceData_removeFavoritePlace,
                  ),
                )!
                as GRemoveFavoritePlaceData_removeFavoritePlace,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GRemoveFavoritePlaceData_removeFavoritePlaceSerializer
    implements
        StructuredSerializer<GRemoveFavoritePlaceData_removeFavoritePlace> {
  @override
  final Iterable<Type> types = const [
    GRemoveFavoritePlaceData_removeFavoritePlace,
    _$GRemoveFavoritePlaceData_removeFavoritePlace,
  ];
  @override
  final String wireName = 'GRemoveFavoritePlaceData_removeFavoritePlace';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GRemoveFavoritePlaceData_removeFavoritePlace object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'id',
      serializers.serialize(object.id, specifiedType: const FullType(String)),
      'googlePlaceId',
      serializers.serialize(
        object.googlePlaceId,
        specifiedType: const FullType(String),
      ),
      'name',
      serializers.serialize(object.name, specifiedType: const FullType(String)),
      'latitude',
      serializers.serialize(
        object.latitude,
        specifiedType: const FullType(double),
      ),
      'longitude',
      serializers.serialize(
        object.longitude,
        specifiedType: const FullType(double),
      ),
      'googleTypes',
      serializers.serialize(
        object.googleTypes,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'photoUrls',
      serializers.serialize(
        object.photoUrls,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'traits',
      serializers.serialize(
        object.traits,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'isFavorite',
      serializers.serialize(
        object.isFavorite,
        specifiedType: const FullType(bool),
      ),
      'experiences',
      serializers.serialize(
        object.experiences,
        specifiedType: const FullType(BuiltList, const [
          const FullType(
            GRemoveFavoritePlaceData_removeFavoritePlace_experiences,
          ),
        ]),
      ),
    ];
    Object? value;
    value = object.googlePrimaryType;
    if (value != null) {
      result
        ..add('googlePrimaryType')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.googleBusinessStatus;
    if (value != null) {
      result
        ..add('googleBusinessStatus')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.googleRating;
    if (value != null) {
      result
        ..add('googleRating')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(double)),
        );
    }
    value = object.googleUserRatingCount;
    if (value != null) {
      result
        ..add('googleUserRatingCount')
        ..add(serializers.serialize(value, specifiedType: const FullType(int)));
    }
    value = object.googleRegularOpeningHours;
    if (value != null) {
      result
        ..add('googleRegularOpeningHours')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(_i2.JsonObject),
          ),
        );
    }
    value = object.googleCurrentOpeningHours;
    if (value != null) {
      result
        ..add('googleCurrentOpeningHours')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(_i2.JsonObject),
          ),
        );
    }
    return result;
  }

  @override
  GRemoveFavoritePlaceData_removeFavoritePlace deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GRemoveFavoritePlaceData_removeFavoritePlaceBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'id':
          result.id =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'googlePlaceId':
          result.googlePlaceId =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'name':
          result.name =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'latitude':
          result.latitude =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(double),
                  )!
                  as double;
          break;
        case 'longitude':
          result.longitude =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(double),
                  )!
                  as double;
          break;
        case 'googlePrimaryType':
          result.googlePrimaryType =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'googleTypes':
          result.googleTypes.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'googleBusinessStatus':
          result.googleBusinessStatus =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'googleRating':
          result.googleRating =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(double),
                  )
                  as double?;
          break;
        case 'googleUserRatingCount':
          result.googleUserRatingCount =
              serializers.deserialize(value, specifiedType: const FullType(int))
                  as int?;
          break;
        case 'googleRegularOpeningHours':
          result.googleRegularOpeningHours =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i2.JsonObject),
                  )
                  as _i2.JsonObject?;
          break;
        case 'googleCurrentOpeningHours':
          result.googleCurrentOpeningHours =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i2.JsonObject),
                  )
                  as _i2.JsonObject?;
          break;
        case 'photoUrls':
          result.photoUrls.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'traits':
          result.traits.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'isFavorite':
          result.isFavorite =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(bool),
                  )!
                  as bool;
          break;
        case 'experiences':
          result.experiences.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(
                      GRemoveFavoritePlaceData_removeFavoritePlace_experiences,
                    ),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GRemoveFavoritePlaceData_removeFavoritePlace_experiencesSerializer
    implements
        StructuredSerializer<
          GRemoveFavoritePlaceData_removeFavoritePlace_experiences
        > {
  @override
  final Iterable<Type> types = const [
    GRemoveFavoritePlaceData_removeFavoritePlace_experiences,
    _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences,
  ];
  @override
  final String wireName =
      'GRemoveFavoritePlaceData_removeFavoritePlace_experiences';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GRemoveFavoritePlaceData_removeFavoritePlace_experiences object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'id',
      serializers.serialize(object.id, specifiedType: const FullType(String)),
      'status',
      serializers.serialize(
        object.status,
        specifiedType: const FullType(_i3.GVoiceExperienceStatus),
      ),
      'createdAt',
      serializers.serialize(
        object.createdAt,
        specifiedType: const FullType(String),
      ),
    ];

    return result;
  }

  @override
  GRemoveFavoritePlaceData_removeFavoritePlace_experiences deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result =
        GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'id':
          result.id =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'status':
          result.status =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i3.GVoiceExperienceStatus),
                  )!
                  as _i3.GVoiceExperienceStatus;
          break;
        case 'createdAt':
          result.createdAt =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
      }
    }

    return result.build();
  }
}

class _$GRemoveFavoritePlaceData extends GRemoveFavoritePlaceData {
  @override
  final String G__typename;
  @override
  final GRemoveFavoritePlaceData_removeFavoritePlace removeFavoritePlace;

  factory _$GRemoveFavoritePlaceData([
    void Function(GRemoveFavoritePlaceDataBuilder)? updates,
  ]) => (GRemoveFavoritePlaceDataBuilder()..update(updates))._build();

  _$GRemoveFavoritePlaceData._({
    required this.G__typename,
    required this.removeFavoritePlace,
  }) : super._();
  @override
  GRemoveFavoritePlaceData rebuild(
    void Function(GRemoveFavoritePlaceDataBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GRemoveFavoritePlaceDataBuilder toBuilder() =>
      GRemoveFavoritePlaceDataBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GRemoveFavoritePlaceData &&
        G__typename == other.G__typename &&
        removeFavoritePlace == other.removeFavoritePlace;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, removeFavoritePlace.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'GRemoveFavoritePlaceData')
          ..add('G__typename', G__typename)
          ..add('removeFavoritePlace', removeFavoritePlace))
        .toString();
  }
}

class GRemoveFavoritePlaceDataBuilder
    implements
        Builder<GRemoveFavoritePlaceData, GRemoveFavoritePlaceDataBuilder> {
  _$GRemoveFavoritePlaceData? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  GRemoveFavoritePlaceData_removeFavoritePlaceBuilder? _removeFavoritePlace;
  GRemoveFavoritePlaceData_removeFavoritePlaceBuilder get removeFavoritePlace =>
      _$this._removeFavoritePlace ??=
          GRemoveFavoritePlaceData_removeFavoritePlaceBuilder();
  set removeFavoritePlace(
    GRemoveFavoritePlaceData_removeFavoritePlaceBuilder? removeFavoritePlace,
  ) => _$this._removeFavoritePlace = removeFavoritePlace;

  GRemoveFavoritePlaceDataBuilder() {
    GRemoveFavoritePlaceData._initializeBuilder(this);
  }

  GRemoveFavoritePlaceDataBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _removeFavoritePlace = $v.removeFavoritePlace.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GRemoveFavoritePlaceData other) {
    _$v = other as _$GRemoveFavoritePlaceData;
  }

  @override
  void update(void Function(GRemoveFavoritePlaceDataBuilder)? updates) {
    if (updates != null) updates(this);
  }

  @override
  GRemoveFavoritePlaceData build() => _build();

  _$GRemoveFavoritePlaceData _build() {
    _$GRemoveFavoritePlaceData _$result;
    try {
      _$result =
          _$v ??
          _$GRemoveFavoritePlaceData._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GRemoveFavoritePlaceData',
              'G__typename',
            ),
            removeFavoritePlace: removeFavoritePlace.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'removeFavoritePlace';
        removeFavoritePlace.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GRemoveFavoritePlaceData',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GRemoveFavoritePlaceData_removeFavoritePlace
    extends GRemoveFavoritePlaceData_removeFavoritePlace {
  @override
  final String G__typename;
  @override
  final String id;
  @override
  final String googlePlaceId;
  @override
  final String name;
  @override
  final double latitude;
  @override
  final double longitude;
  @override
  final String? googlePrimaryType;
  @override
  final BuiltList<String> googleTypes;
  @override
  final String? googleBusinessStatus;
  @override
  final double? googleRating;
  @override
  final int? googleUserRatingCount;
  @override
  final _i2.JsonObject? googleRegularOpeningHours;
  @override
  final _i2.JsonObject? googleCurrentOpeningHours;
  @override
  final BuiltList<String> photoUrls;
  @override
  final BuiltList<String> traits;
  @override
  final bool isFavorite;
  @override
  final BuiltList<GRemoveFavoritePlaceData_removeFavoritePlace_experiences>
  experiences;

  factory _$GRemoveFavoritePlaceData_removeFavoritePlace([
    void Function(GRemoveFavoritePlaceData_removeFavoritePlaceBuilder)? updates,
  ]) => (GRemoveFavoritePlaceData_removeFavoritePlaceBuilder()..update(updates))
      ._build();

  _$GRemoveFavoritePlaceData_removeFavoritePlace._({
    required this.G__typename,
    required this.id,
    required this.googlePlaceId,
    required this.name,
    required this.latitude,
    required this.longitude,
    this.googlePrimaryType,
    required this.googleTypes,
    this.googleBusinessStatus,
    this.googleRating,
    this.googleUserRatingCount,
    this.googleRegularOpeningHours,
    this.googleCurrentOpeningHours,
    required this.photoUrls,
    required this.traits,
    required this.isFavorite,
    required this.experiences,
  }) : super._();
  @override
  GRemoveFavoritePlaceData_removeFavoritePlace rebuild(
    void Function(GRemoveFavoritePlaceData_removeFavoritePlaceBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GRemoveFavoritePlaceData_removeFavoritePlaceBuilder toBuilder() =>
      GRemoveFavoritePlaceData_removeFavoritePlaceBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GRemoveFavoritePlaceData_removeFavoritePlace &&
        G__typename == other.G__typename &&
        id == other.id &&
        googlePlaceId == other.googlePlaceId &&
        name == other.name &&
        latitude == other.latitude &&
        longitude == other.longitude &&
        googlePrimaryType == other.googlePrimaryType &&
        googleTypes == other.googleTypes &&
        googleBusinessStatus == other.googleBusinessStatus &&
        googleRating == other.googleRating &&
        googleUserRatingCount == other.googleUserRatingCount &&
        googleRegularOpeningHours == other.googleRegularOpeningHours &&
        googleCurrentOpeningHours == other.googleCurrentOpeningHours &&
        photoUrls == other.photoUrls &&
        traits == other.traits &&
        isFavorite == other.isFavorite &&
        experiences == other.experiences;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, googlePlaceId.hashCode);
    _$hash = $jc(_$hash, name.hashCode);
    _$hash = $jc(_$hash, latitude.hashCode);
    _$hash = $jc(_$hash, longitude.hashCode);
    _$hash = $jc(_$hash, googlePrimaryType.hashCode);
    _$hash = $jc(_$hash, googleTypes.hashCode);
    _$hash = $jc(_$hash, googleBusinessStatus.hashCode);
    _$hash = $jc(_$hash, googleRating.hashCode);
    _$hash = $jc(_$hash, googleUserRatingCount.hashCode);
    _$hash = $jc(_$hash, googleRegularOpeningHours.hashCode);
    _$hash = $jc(_$hash, googleCurrentOpeningHours.hashCode);
    _$hash = $jc(_$hash, photoUrls.hashCode);
    _$hash = $jc(_$hash, traits.hashCode);
    _$hash = $jc(_$hash, isFavorite.hashCode);
    _$hash = $jc(_$hash, experiences.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GRemoveFavoritePlaceData_removeFavoritePlace',
          )
          ..add('G__typename', G__typename)
          ..add('id', id)
          ..add('googlePlaceId', googlePlaceId)
          ..add('name', name)
          ..add('latitude', latitude)
          ..add('longitude', longitude)
          ..add('googlePrimaryType', googlePrimaryType)
          ..add('googleTypes', googleTypes)
          ..add('googleBusinessStatus', googleBusinessStatus)
          ..add('googleRating', googleRating)
          ..add('googleUserRatingCount', googleUserRatingCount)
          ..add('googleRegularOpeningHours', googleRegularOpeningHours)
          ..add('googleCurrentOpeningHours', googleCurrentOpeningHours)
          ..add('photoUrls', photoUrls)
          ..add('traits', traits)
          ..add('isFavorite', isFavorite)
          ..add('experiences', experiences))
        .toString();
  }
}

class GRemoveFavoritePlaceData_removeFavoritePlaceBuilder
    implements
        Builder<
          GRemoveFavoritePlaceData_removeFavoritePlace,
          GRemoveFavoritePlaceData_removeFavoritePlaceBuilder
        > {
  _$GRemoveFavoritePlaceData_removeFavoritePlace? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  String? _googlePlaceId;
  String? get googlePlaceId => _$this._googlePlaceId;
  set googlePlaceId(String? googlePlaceId) =>
      _$this._googlePlaceId = googlePlaceId;

  String? _name;
  String? get name => _$this._name;
  set name(String? name) => _$this._name = name;

  double? _latitude;
  double? get latitude => _$this._latitude;
  set latitude(double? latitude) => _$this._latitude = latitude;

  double? _longitude;
  double? get longitude => _$this._longitude;
  set longitude(double? longitude) => _$this._longitude = longitude;

  String? _googlePrimaryType;
  String? get googlePrimaryType => _$this._googlePrimaryType;
  set googlePrimaryType(String? googlePrimaryType) =>
      _$this._googlePrimaryType = googlePrimaryType;

  ListBuilder<String>? _googleTypes;
  ListBuilder<String> get googleTypes =>
      _$this._googleTypes ??= ListBuilder<String>();
  set googleTypes(ListBuilder<String>? googleTypes) =>
      _$this._googleTypes = googleTypes;

  String? _googleBusinessStatus;
  String? get googleBusinessStatus => _$this._googleBusinessStatus;
  set googleBusinessStatus(String? googleBusinessStatus) =>
      _$this._googleBusinessStatus = googleBusinessStatus;

  double? _googleRating;
  double? get googleRating => _$this._googleRating;
  set googleRating(double? googleRating) => _$this._googleRating = googleRating;

  int? _googleUserRatingCount;
  int? get googleUserRatingCount => _$this._googleUserRatingCount;
  set googleUserRatingCount(int? googleUserRatingCount) =>
      _$this._googleUserRatingCount = googleUserRatingCount;

  _i2.JsonObject? _googleRegularOpeningHours;
  _i2.JsonObject? get googleRegularOpeningHours =>
      _$this._googleRegularOpeningHours;
  set googleRegularOpeningHours(_i2.JsonObject? googleRegularOpeningHours) =>
      _$this._googleRegularOpeningHours = googleRegularOpeningHours;

  _i2.JsonObject? _googleCurrentOpeningHours;
  _i2.JsonObject? get googleCurrentOpeningHours =>
      _$this._googleCurrentOpeningHours;
  set googleCurrentOpeningHours(_i2.JsonObject? googleCurrentOpeningHours) =>
      _$this._googleCurrentOpeningHours = googleCurrentOpeningHours;

  ListBuilder<String>? _photoUrls;
  ListBuilder<String> get photoUrls =>
      _$this._photoUrls ??= ListBuilder<String>();
  set photoUrls(ListBuilder<String>? photoUrls) =>
      _$this._photoUrls = photoUrls;

  ListBuilder<String>? _traits;
  ListBuilder<String> get traits => _$this._traits ??= ListBuilder<String>();
  set traits(ListBuilder<String>? traits) => _$this._traits = traits;

  bool? _isFavorite;
  bool? get isFavorite => _$this._isFavorite;
  set isFavorite(bool? isFavorite) => _$this._isFavorite = isFavorite;

  ListBuilder<GRemoveFavoritePlaceData_removeFavoritePlace_experiences>?
  _experiences;
  ListBuilder<GRemoveFavoritePlaceData_removeFavoritePlace_experiences>
  get experiences => _$this._experiences ??=
      ListBuilder<GRemoveFavoritePlaceData_removeFavoritePlace_experiences>();
  set experiences(
    ListBuilder<GRemoveFavoritePlaceData_removeFavoritePlace_experiences>?
    experiences,
  ) => _$this._experiences = experiences;

  GRemoveFavoritePlaceData_removeFavoritePlaceBuilder() {
    GRemoveFavoritePlaceData_removeFavoritePlace._initializeBuilder(this);
  }

  GRemoveFavoritePlaceData_removeFavoritePlaceBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _id = $v.id;
      _googlePlaceId = $v.googlePlaceId;
      _name = $v.name;
      _latitude = $v.latitude;
      _longitude = $v.longitude;
      _googlePrimaryType = $v.googlePrimaryType;
      _googleTypes = $v.googleTypes.toBuilder();
      _googleBusinessStatus = $v.googleBusinessStatus;
      _googleRating = $v.googleRating;
      _googleUserRatingCount = $v.googleUserRatingCount;
      _googleRegularOpeningHours = $v.googleRegularOpeningHours;
      _googleCurrentOpeningHours = $v.googleCurrentOpeningHours;
      _photoUrls = $v.photoUrls.toBuilder();
      _traits = $v.traits.toBuilder();
      _isFavorite = $v.isFavorite;
      _experiences = $v.experiences.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GRemoveFavoritePlaceData_removeFavoritePlace other) {
    _$v = other as _$GRemoveFavoritePlaceData_removeFavoritePlace;
  }

  @override
  void update(
    void Function(GRemoveFavoritePlaceData_removeFavoritePlaceBuilder)? updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GRemoveFavoritePlaceData_removeFavoritePlace build() => _build();

  _$GRemoveFavoritePlaceData_removeFavoritePlace _build() {
    _$GRemoveFavoritePlaceData_removeFavoritePlace _$result;
    try {
      _$result =
          _$v ??
          _$GRemoveFavoritePlaceData_removeFavoritePlace._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'G__typename',
            ),
            id: BuiltValueNullFieldError.checkNotNull(
              id,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'id',
            ),
            googlePlaceId: BuiltValueNullFieldError.checkNotNull(
              googlePlaceId,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'googlePlaceId',
            ),
            name: BuiltValueNullFieldError.checkNotNull(
              name,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'name',
            ),
            latitude: BuiltValueNullFieldError.checkNotNull(
              latitude,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'latitude',
            ),
            longitude: BuiltValueNullFieldError.checkNotNull(
              longitude,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'longitude',
            ),
            googlePrimaryType: googlePrimaryType,
            googleTypes: googleTypes.build(),
            googleBusinessStatus: googleBusinessStatus,
            googleRating: googleRating,
            googleUserRatingCount: googleUserRatingCount,
            googleRegularOpeningHours: googleRegularOpeningHours,
            googleCurrentOpeningHours: googleCurrentOpeningHours,
            photoUrls: photoUrls.build(),
            traits: traits.build(),
            isFavorite: BuiltValueNullFieldError.checkNotNull(
              isFavorite,
              r'GRemoveFavoritePlaceData_removeFavoritePlace',
              'isFavorite',
            ),
            experiences: experiences.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'googleTypes';
        googleTypes.build();

        _$failedField = 'photoUrls';
        photoUrls.build();
        _$failedField = 'traits';
        traits.build();

        _$failedField = 'experiences';
        experiences.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GRemoveFavoritePlaceData_removeFavoritePlace',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences
    extends GRemoveFavoritePlaceData_removeFavoritePlace_experiences {
  @override
  final String G__typename;
  @override
  final String id;
  @override
  final _i3.GVoiceExperienceStatus status;
  @override
  final String createdAt;

  factory _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences([
    void Function(
      GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder,
    )?
    updates,
  ]) =>
      (GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder()
            ..update(updates))
          ._build();

  _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences._({
    required this.G__typename,
    required this.id,
    required this.status,
    required this.createdAt,
  }) : super._();
  @override
  GRemoveFavoritePlaceData_removeFavoritePlace_experiences rebuild(
    void Function(
      GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder,
    )
    updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder toBuilder() =>
      GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder()
        ..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GRemoveFavoritePlaceData_removeFavoritePlace_experiences &&
        G__typename == other.G__typename &&
        id == other.id &&
        status == other.status &&
        createdAt == other.createdAt;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, status.hashCode);
    _$hash = $jc(_$hash, createdAt.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GRemoveFavoritePlaceData_removeFavoritePlace_experiences',
          )
          ..add('G__typename', G__typename)
          ..add('id', id)
          ..add('status', status)
          ..add('createdAt', createdAt))
        .toString();
  }
}

class GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder
    implements
        Builder<
          GRemoveFavoritePlaceData_removeFavoritePlace_experiences,
          GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder
        > {
  _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  _i3.GVoiceExperienceStatus? _status;
  _i3.GVoiceExperienceStatus? get status => _$this._status;
  set status(_i3.GVoiceExperienceStatus? status) => _$this._status = status;

  String? _createdAt;
  String? get createdAt => _$this._createdAt;
  set createdAt(String? createdAt) => _$this._createdAt = createdAt;

  GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder() {
    GRemoveFavoritePlaceData_removeFavoritePlace_experiences._initializeBuilder(
      this,
    );
  }

  GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _id = $v.id;
      _status = $v.status;
      _createdAt = $v.createdAt;
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GRemoveFavoritePlaceData_removeFavoritePlace_experiences other) {
    _$v = other as _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences;
  }

  @override
  void update(
    void Function(
      GRemoveFavoritePlaceData_removeFavoritePlace_experiencesBuilder,
    )?
    updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GRemoveFavoritePlaceData_removeFavoritePlace_experiences build() => _build();

  _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences _build() {
    final _$result =
        _$v ??
        _$GRemoveFavoritePlaceData_removeFavoritePlace_experiences._(
          G__typename: BuiltValueNullFieldError.checkNotNull(
            G__typename,
            r'GRemoveFavoritePlaceData_removeFavoritePlace_experiences',
            'G__typename',
          ),
          id: BuiltValueNullFieldError.checkNotNull(
            id,
            r'GRemoveFavoritePlaceData_removeFavoritePlace_experiences',
            'id',
          ),
          status: BuiltValueNullFieldError.checkNotNull(
            status,
            r'GRemoveFavoritePlaceData_removeFavoritePlace_experiences',
            'status',
          ),
          createdAt: BuiltValueNullFieldError.checkNotNull(
            createdAt,
            r'GRemoveFavoritePlaceData_removeFavoritePlace_experiences',
            'createdAt',
          ),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
