what-the-bank/sources/com/google/android/libraries/places/internal/zzgx.java

56 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.internal;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.gms.tasks.CancellationTokenSource;
/* loaded from: classes2.dex */
final class zzgx extends zzhc {
private final CancellationTokenSource zza;
private final String zzb;
/* JADX INFO: Access modifiers changed from: package-private */
public zzgx(CancellationTokenSource cancellationTokenSource, String str) {
this.zza = cancellationTokenSource;
if (str == null) {
throw new NullPointerException("Null placeId");
}
this.zzb = str;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof zzhc)) {
return false;
}
zzhc zzhcVar = (zzhc) obj;
return this.zza.equals(zzhcVar.zza()) && this.zzb.equals(zzhcVar.zzb());
}
public final int hashCode() {
return ((this.zza.hashCode() ^ 1000003) * 1000003) ^ this.zzb.hashCode();
}
public final String toString() {
String obj = this.zza.toString();
String str = this.zzb;
StringBuilder sb = new StringBuilder("PlaceRequest{source=");
sb.append(obj);
sb.append(", placeId=");
sb.append(str);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
@Override // com.google.android.libraries.places.internal.zzhc
public final String zzb() {
return this.zzb;
}
@Override // com.google.android.libraries.places.internal.zzhe
public final CancellationTokenSource zza() {
return this.zza;
}
}