what-the-bank/sources/com/google/android/libraries/places/api/model/zzq.java

354 lines
12 KiB
Java

package com.google.android.libraries.places.api.model;
import android.net.Uri;
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;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzq extends Place.Builder {
private String zza;
private AddressComponents zzb;
private List zzc;
private Place.BusinessStatus zzd;
private Place.BooleanPlaceAttributeValue zze;
private Place.BooleanPlaceAttributeValue zzf;
private Place.BooleanPlaceAttributeValue zzg;
private Integer zzh;
private String zzi;
private String zzj;
private LatLng zzk;
private String zzl;
private OpeningHours zzm;
private String zzn;
private List zzo;
private PlusCode zzp;
private Integer zzq;
private Double zzr;
private Place.BooleanPlaceAttributeValue zzs;
private List zzt;
private Integer zzu;
private Integer zzv;
private LatLngBounds zzw;
private Uri zzx;
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.BooleanPlaceAttributeValue getCurbsidePickup() {
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue = this.zze;
if (booleanPlaceAttributeValue != null) {
return booleanPlaceAttributeValue;
}
throw new IllegalStateException("Property \"curbsidePickup\" has not been set");
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.BooleanPlaceAttributeValue getDelivery() {
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue = this.zzf;
if (booleanPlaceAttributeValue != null) {
return booleanPlaceAttributeValue;
}
throw new IllegalStateException("Property \"delivery\" has not been set");
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.BooleanPlaceAttributeValue getDineIn() {
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue = this.zzg;
if (booleanPlaceAttributeValue != null) {
return booleanPlaceAttributeValue;
}
throw new IllegalStateException("Property \"dineIn\" has not been set");
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.BooleanPlaceAttributeValue getTakeout() {
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue = this.zzs;
if (booleanPlaceAttributeValue != null) {
return booleanPlaceAttributeValue;
}
throw new IllegalStateException("Property \"takeout\" has not been set");
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setCurbsidePickup(Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue) {
if (booleanPlaceAttributeValue == null) {
throw new NullPointerException("Null curbsidePickup");
}
this.zze = booleanPlaceAttributeValue;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setDelivery(Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue) {
if (booleanPlaceAttributeValue == null) {
throw new NullPointerException("Null delivery");
}
this.zzf = booleanPlaceAttributeValue;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setDineIn(Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue) {
if (booleanPlaceAttributeValue == null) {
throw new NullPointerException("Null dineIn");
}
this.zzg = booleanPlaceAttributeValue;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setTakeout(Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue) {
if (booleanPlaceAttributeValue == null) {
throw new NullPointerException("Null takeout");
}
this.zzs = booleanPlaceAttributeValue;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
final Place zza() {
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue;
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue2;
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue3;
Place.BooleanPlaceAttributeValue booleanPlaceAttributeValue4 = this.zze;
if (booleanPlaceAttributeValue4 == null || (booleanPlaceAttributeValue = this.zzf) == null || (booleanPlaceAttributeValue2 = this.zzg) == null || (booleanPlaceAttributeValue3 = this.zzs) == null) {
StringBuilder sb = new StringBuilder();
if (this.zze == null) {
sb.append(" curbsidePickup");
}
if (this.zzf == null) {
sb.append(" delivery");
}
if (this.zzg == null) {
sb.append(" dineIn");
}
if (this.zzs == null) {
sb.append(" takeout");
}
throw new IllegalStateException("Missing required properties:".concat(sb.toString()));
}
return new zzar(this.zza, this.zzb, this.zzc, this.zzd, booleanPlaceAttributeValue4, booleanPlaceAttributeValue, booleanPlaceAttributeValue2, this.zzh, this.zzi, this.zzj, this.zzk, this.zzl, this.zzm, this.zzn, this.zzo, this.zzp, this.zzq, this.zzr, booleanPlaceAttributeValue3, this.zzt, this.zzu, this.zzv, this.zzw, this.zzx);
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setWebsiteUri(Uri uri) {
this.zzx = uri;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setViewport(LatLngBounds latLngBounds) {
this.zzw = latLngBounds;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setUtcOffsetMinutes(Integer num) {
this.zzv = num;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setUserRatingsTotal(Integer num) {
this.zzu = num;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setTypes(List<Place.Type> list) {
this.zzt = list;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setRating(Double d) {
this.zzr = d;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setPriceLevel(Integer num) {
this.zzq = num;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setPlusCode(PlusCode plusCode) {
this.zzp = plusCode;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setPhotoMetadatas(List<PhotoMetadata> list) {
this.zzo = list;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setPhoneNumber(String str) {
this.zzn = str;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setOpeningHours(OpeningHours openingHours) {
this.zzm = openingHours;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setName(String str) {
this.zzl = str;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setLatLng(LatLng latLng) {
this.zzk = latLng;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setId(String str) {
this.zzj = str;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setIconUrl(String str) {
this.zzi = str;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setIconBackgroundColor(Integer num) {
this.zzh = num;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setBusinessStatus(Place.BusinessStatus businessStatus) {
this.zzd = businessStatus;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setAttributions(List<String> list) {
this.zzc = list;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setAddressComponents(AddressComponents addressComponents) {
this.zzb = addressComponents;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.Builder setAddress(String str) {
this.zza = str;
return this;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Uri getWebsiteUri() {
return this.zzx;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final LatLngBounds getViewport() {
return this.zzw;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Integer getUtcOffsetMinutes() {
return this.zzv;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Integer getUserRatingsTotal() {
return this.zzu;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final List<Place.Type> getTypes() {
return this.zzt;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Double getRating() {
return this.zzr;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Integer getPriceLevel() {
return this.zzq;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final PlusCode getPlusCode() {
return this.zzp;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final List<PhotoMetadata> getPhotoMetadatas() {
return this.zzo;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final String getPhoneNumber() {
return this.zzn;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final OpeningHours getOpeningHours() {
return this.zzm;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final String getName() {
return this.zzl;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final LatLng getLatLng() {
return this.zzk;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final String getId() {
return this.zzj;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final String getIconUrl() {
return this.zzi;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Integer getIconBackgroundColor() {
return this.zzh;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final Place.BusinessStatus getBusinessStatus() {
return this.zzd;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final List<String> getAttributions() {
return this.zzc;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final AddressComponents getAddressComponents() {
return this.zzb;
}
@Override // com.google.android.libraries.places.api.model.Place.Builder
public final String getAddress() {
return this.zza;
}
}