107 lines
3.7 KiB
Java
107 lines
3.7 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.PhotoMetadata;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
final class zzc extends FetchPhotoRequest {
|
||
|
private final Integer zza;
|
||
|
private final Integer zzb;
|
||
|
private final PhotoMetadata zzc;
|
||
|
private final CancellationToken zzd;
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (obj == this) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof FetchPhotoRequest)) {
|
||
|
return false;
|
||
|
}
|
||
|
FetchPhotoRequest fetchPhotoRequest = (FetchPhotoRequest) obj;
|
||
|
Integer num = this.zza;
|
||
|
if (num == null) {
|
||
|
if (fetchPhotoRequest.getMaxWidth() != null) {
|
||
|
return false;
|
||
|
}
|
||
|
} else if (!num.equals(fetchPhotoRequest.getMaxWidth())) {
|
||
|
return false;
|
||
|
}
|
||
|
Integer num2 = this.zzb;
|
||
|
if (num2 == null) {
|
||
|
if (fetchPhotoRequest.getMaxHeight() != null) {
|
||
|
return false;
|
||
|
}
|
||
|
} else if (!num2.equals(fetchPhotoRequest.getMaxHeight())) {
|
||
|
return false;
|
||
|
}
|
||
|
if (!this.zzc.equals(fetchPhotoRequest.getPhotoMetadata())) {
|
||
|
return false;
|
||
|
}
|
||
|
CancellationToken cancellationToken = this.zzd;
|
||
|
if (cancellationToken == null) {
|
||
|
if (fetchPhotoRequest.getCancellationToken() != null) {
|
||
|
return false;
|
||
|
}
|
||
|
} else if (!cancellationToken.equals(fetchPhotoRequest.getCancellationToken())) {
|
||
|
return false;
|
||
|
}
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
Integer num = this.zza;
|
||
|
int hashCode = num == null ? 0 : num.hashCode();
|
||
|
Integer num2 = this.zzb;
|
||
|
int hashCode2 = num2 == null ? 0 : num2.hashCode();
|
||
|
int hashCode3 = this.zzc.hashCode();
|
||
|
CancellationToken cancellationToken = this.zzd;
|
||
|
return ((((((hashCode ^ 1000003) * 1000003) ^ hashCode2) * 1000003) ^ hashCode3) * 1000003) ^ (cancellationToken != null ? cancellationToken.hashCode() : 0);
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
Integer num = this.zza;
|
||
|
Integer num2 = this.zzb;
|
||
|
String obj = this.zzc.toString();
|
||
|
String valueOf = String.valueOf(this.zzd);
|
||
|
StringBuilder sb = new StringBuilder("FetchPhotoRequest{maxWidth=");
|
||
|
sb.append(num);
|
||
|
sb.append(", maxHeight=");
|
||
|
sb.append(num2);
|
||
|
sb.append(", photoMetadata=");
|
||
|
sb.append(obj);
|
||
|
sb.append(", cancellationToken=");
|
||
|
sb.append(valueOf);
|
||
|
sb.append(UrlTreeKt.componentParamSuffix);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.net.FetchPhotoRequest
|
||
|
public final PhotoMetadata getPhotoMetadata() {
|
||
|
return this.zzc;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.net.FetchPhotoRequest
|
||
|
public final Integer getMaxWidth() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.net.FetchPhotoRequest
|
||
|
public final Integer getMaxHeight() {
|
||
|
return this.zzb;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.net.FetchPhotoRequest, com.google.android.libraries.places.internal.zzft
|
||
|
public final CancellationToken getCancellationToken() {
|
||
|
return this.zzd;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public /* synthetic */ zzc(Integer num, Integer num2, PhotoMetadata photoMetadata, CancellationToken cancellationToken, zzb zzbVar) {
|
||
|
this.zza = num;
|
||
|
this.zzb = num2;
|
||
|
this.zzc = photoMetadata;
|
||
|
this.zzd = cancellationToken;
|
||
|
}
|
||
|
}
|