what-the-bank/sources/com/google/android/libraries/places/api/net/zzo.java

68 lines
2.4 KiB
Java

package com.google.android.libraries.places.api.net;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.gms.tasks.CancellationToken;
import com.google.android.libraries.places.api.model.Place;
import java.util.List;
/* loaded from: classes2.dex */
final class zzo extends FindCurrentPlaceRequest {
private final List zza;
private final CancellationToken zzb;
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof FindCurrentPlaceRequest)) {
return false;
}
FindCurrentPlaceRequest findCurrentPlaceRequest = (FindCurrentPlaceRequest) obj;
if (!this.zza.equals(findCurrentPlaceRequest.getPlaceFields())) {
return false;
}
CancellationToken cancellationToken = this.zzb;
if (cancellationToken == null) {
if (findCurrentPlaceRequest.getCancellationToken() != null) {
return false;
}
} else if (!cancellationToken.equals(findCurrentPlaceRequest.getCancellationToken())) {
return false;
}
return true;
}
public final int hashCode() {
int hashCode = this.zza.hashCode();
CancellationToken cancellationToken = this.zzb;
return ((hashCode ^ 1000003) * 1000003) ^ (cancellationToken == null ? 0 : cancellationToken.hashCode());
}
public final String toString() {
String obj = this.zza.toString();
String valueOf = String.valueOf(this.zzb);
StringBuilder sb = new StringBuilder("FindCurrentPlaceRequest{placeFields=");
sb.append(obj);
sb.append(", cancellationToken=");
sb.append(valueOf);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
@Override // com.google.android.libraries.places.api.net.FindCurrentPlaceRequest
public final List<Place.Field> getPlaceFields() {
return this.zza;
}
@Override // com.google.android.libraries.places.api.net.FindCurrentPlaceRequest, com.google.android.libraries.places.internal.zzft
public final CancellationToken getCancellationToken() {
return this.zzb;
}
/* JADX INFO: Access modifiers changed from: package-private */
public /* synthetic */ zzo(List list, CancellationToken cancellationToken, zzn zznVar) {
this.zza = list;
this.zzb = cancellationToken;
}
}