package com.google.android.libraries.places.api.model; import com.airbnb.deeplinkdispatch.UrlTreeKt; /* loaded from: classes2.dex */ abstract class zzu extends PlusCode { private final String zza; private final String zzb; public final boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof PlusCode)) { return false; } PlusCode plusCode = (PlusCode) obj; String str = this.zza; if (str == null) { if (plusCode.getCompoundCode() != null) { return false; } } else if (!str.equals(plusCode.getCompoundCode())) { return false; } String str2 = this.zzb; if (str2 == null) { if (plusCode.getGlobalCode() != null) { return false; } } else if (!str2.equals(plusCode.getGlobalCode())) { return false; } return true; } public final int hashCode() { String str = this.zza; int hashCode = str == null ? 0 : str.hashCode(); String str2 = this.zzb; return ((hashCode ^ 1000003) * 1000003) ^ (str2 != null ? str2.hashCode() : 0); } public final String toString() { String str = this.zza; String str2 = this.zzb; StringBuilder sb = new StringBuilder("PlusCode{compoundCode="); sb.append(str); sb.append(", globalCode="); sb.append(str2); sb.append(UrlTreeKt.componentParamSuffix); return sb.toString(); } @Override // com.google.android.libraries.places.api.model.PlusCode public final String getGlobalCode() { return this.zzb; } @Override // com.google.android.libraries.places.api.model.PlusCode public final String getCompoundCode() { return this.zza; } /* JADX INFO: Access modifiers changed from: package-private */ public zzu(String str, String str2) { this.zza = str; this.zzb = str2; } }