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 zzgw extends zzhb { private final CancellationTokenSource zza; private final String zzb; /* JADX INFO: Access modifiers changed from: package-private */ public zzgw(CancellationTokenSource cancellationTokenSource, String str) { this.zza = cancellationTokenSource; if (str == null) { throw new NullPointerException("Null query"); } this.zzb = str; } public final boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof zzhb)) { return false; } zzhb zzhbVar = (zzhb) obj; return this.zza.equals(zzhbVar.zza()) && this.zzb.equals(zzhbVar.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("AutocompleteRequest{source="); sb.append(obj); sb.append(", query="); sb.append(str); sb.append(UrlTreeKt.componentParamSuffix); return sb.toString(); } @Override // com.google.android.libraries.places.internal.zzhb public final String zzb() { return this.zzb; } @Override // com.google.android.libraries.places.internal.zzhe public final CancellationTokenSource zza() { return this.zza; } }