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

195 lines
6.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.api.model;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.libraries.places.api.model.Place;
import java.util.List;
/* loaded from: classes2.dex */
abstract class zze extends AutocompletePrediction {
private final String zza;
private final Integer zzb;
private final List zzc;
private final String zzd;
private final String zze;
private final String zzf;
private final List zzg;
private final List zzh;
private final List zzi;
/* JADX INFO: Access modifiers changed from: package-private */
public zze(String str, Integer num, List list, String str2, String str3, String str4, List list2, List list3, List list4) {
if (str == null) {
throw new NullPointerException("Null placeId");
}
this.zza = str;
this.zzb = num;
if (list == null) {
throw new NullPointerException("Null placeTypes");
}
this.zzc = list;
if (str2 == null) {
throw new NullPointerException("Null fullText");
}
this.zzd = str2;
if (str3 == null) {
throw new NullPointerException("Null primaryText");
}
this.zze = str3;
if (str4 == null) {
throw new NullPointerException("Null secondaryText");
}
this.zzf = str4;
this.zzg = list2;
this.zzh = list3;
this.zzi = list4;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof AutocompletePrediction)) {
return false;
}
AutocompletePrediction autocompletePrediction = (AutocompletePrediction) obj;
if (!this.zza.equals(autocompletePrediction.getPlaceId())) {
return false;
}
Integer num = this.zzb;
if (num == null) {
if (autocompletePrediction.getDistanceMeters() != null) {
return false;
}
} else if (!num.equals(autocompletePrediction.getDistanceMeters())) {
return false;
}
if (!this.zzc.equals(autocompletePrediction.getPlaceTypes()) || !this.zzd.equals(autocompletePrediction.zza()) || !this.zze.equals(autocompletePrediction.zzb()) || !this.zzf.equals(autocompletePrediction.zzc())) {
return false;
}
List list = this.zzg;
if (list == null) {
if (autocompletePrediction.zzd() != null) {
return false;
}
} else if (!list.equals(autocompletePrediction.zzd())) {
return false;
}
List list2 = this.zzh;
if (list2 == null) {
if (autocompletePrediction.zze() != null) {
return false;
}
} else if (!list2.equals(autocompletePrediction.zze())) {
return false;
}
List list3 = this.zzi;
if (list3 == null) {
if (autocompletePrediction.zzf() != null) {
return false;
}
} else if (!list3.equals(autocompletePrediction.zzf())) {
return false;
}
return true;
}
public final int hashCode() {
int hashCode = this.zza.hashCode();
Integer num = this.zzb;
int hashCode2 = num == null ? 0 : num.hashCode();
int hashCode3 = this.zzc.hashCode();
int hashCode4 = this.zzd.hashCode();
int hashCode5 = this.zze.hashCode();
int hashCode6 = this.zzf.hashCode();
List list = this.zzg;
int hashCode7 = list == null ? 0 : list.hashCode();
List list2 = this.zzh;
int hashCode8 = list2 == null ? 0 : list2.hashCode();
List list3 = this.zzi;
return ((((((((((((((((hashCode ^ 1000003) * 1000003) ^ hashCode2) * 1000003) ^ hashCode3) * 1000003) ^ hashCode4) * 1000003) ^ hashCode5) * 1000003) ^ hashCode6) * 1000003) ^ hashCode7) * 1000003) ^ hashCode8) * 1000003) ^ (list3 != null ? list3.hashCode() : 0);
}
public final String toString() {
String str = this.zza;
Integer num = this.zzb;
String obj = this.zzc.toString();
String str2 = this.zzd;
String str3 = this.zze;
String str4 = this.zzf;
String valueOf = String.valueOf(this.zzg);
String valueOf2 = String.valueOf(this.zzh);
String valueOf3 = String.valueOf(this.zzi);
StringBuilder sb = new StringBuilder("AutocompletePrediction{placeId=");
sb.append(str);
sb.append(", distanceMeters=");
sb.append(num);
sb.append(", placeTypes=");
sb.append(obj);
sb.append(", fullText=");
sb.append(str2);
sb.append(", primaryText=");
sb.append(str3);
sb.append(", secondaryText=");
sb.append(str4);
sb.append(", fullTextMatchedSubstrings=");
sb.append(valueOf);
sb.append(", primaryTextMatchedSubstrings=");
sb.append(valueOf2);
sb.append(", secondaryTextMatchedSubstrings=");
sb.append(valueOf3);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final List zzf() {
return this.zzi;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final List zze() {
return this.zzh;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final List zzd() {
return this.zzg;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final String zzc() {
return this.zzf;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final String zzb() {
return this.zze;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final String zza() {
return this.zzd;
}
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final List<Place.Type> getPlaceTypes() {
return this.zzc;
}
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final String getPlaceId() {
return this.zza;
}
@Override // com.google.android.libraries.places.api.model.AutocompletePrediction
public final Integer getDistanceMeters() {
return this.zzb;
}
}