103 lines
4.1 KiB
Java
103 lines
4.1 KiB
Java
|
package com.google.android.libraries.places.api.model;
|
||
|
|
||
|
import android.net.Uri;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.maps.model.LatLng;
|
||
|
import com.google.android.gms.maps.model.LatLngBounds;
|
||
|
import com.google.android.libraries.places.api.model.Place;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
final class zzar extends zzr {
|
||
|
public static final Parcelable.Creator<zzar> CREATOR = new zzaq();
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzar(String str, AddressComponents addressComponents, List list, Place.BusinessStatus businessStatus, Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue, Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue2, Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue3, Integer num, String str2, String str3, LatLng latLng, String str4, OpeningHours openingHours, String str5, List list2, PlusCode plusCode, Integer num2, Double d, Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue4, List list3, Integer num3, Integer num4, LatLngBounds latLngBounds, Uri uri) {
|
||
|
super(str, addressComponents, list, businessStatus, booleanPlaceAttributeValue, booleanPlaceAttributeValue2, booleanPlaceAttributeValue3, num, str2, str3, latLng, str4, openingHours, str5, list2, plusCode, num2, d, booleanPlaceAttributeValue4, list3, num3, num4, latLngBounds, uri);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
if (getAddress() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeString(getAddress());
|
||
|
}
|
||
|
parcel.writeParcelable(getAddressComponents(), i);
|
||
|
parcel.writeList(getAttributions());
|
||
|
parcel.writeParcelable(getBusinessStatus(), i);
|
||
|
parcel.writeParcelable(getCurbsidePickup(), i);
|
||
|
parcel.writeParcelable(getDelivery(), i);
|
||
|
parcel.writeParcelable(getDineIn(), i);
|
||
|
if (getIconBackgroundColor() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeInt(getIconBackgroundColor().intValue());
|
||
|
}
|
||
|
if (getIconUrl() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeString(getIconUrl());
|
||
|
}
|
||
|
if (getId() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeString(getId());
|
||
|
}
|
||
|
parcel.writeParcelable(getLatLng(), i);
|
||
|
if (getName() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeString(getName());
|
||
|
}
|
||
|
parcel.writeParcelable(getOpeningHours(), i);
|
||
|
if (getPhoneNumber() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeString(getPhoneNumber());
|
||
|
}
|
||
|
parcel.writeList(getPhotoMetadatas());
|
||
|
parcel.writeParcelable(getPlusCode(), i);
|
||
|
if (getPriceLevel() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeInt(getPriceLevel().intValue());
|
||
|
}
|
||
|
if (getRating() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeDouble(getRating().doubleValue());
|
||
|
}
|
||
|
parcel.writeParcelable(getTakeout(), i);
|
||
|
parcel.writeList(getTypes());
|
||
|
if (getUserRatingsTotal() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeInt(getUserRatingsTotal().intValue());
|
||
|
}
|
||
|
if (getUtcOffsetMinutes() == null) {
|
||
|
parcel.writeInt(1);
|
||
|
} else {
|
||
|
parcel.writeInt(0);
|
||
|
parcel.writeInt(getUtcOffsetMinutes().intValue());
|
||
|
}
|
||
|
parcel.writeParcelable(getViewport(), i);
|
||
|
parcel.writeParcelable(getWebsiteUri(), i);
|
||
|
}
|
||
|
}
|