what-the-bank/sources/com/google/android/libraries/places/api/model/zzp.java

80 lines
2.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.api.model;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* loaded from: classes2.dex */
abstract class zzp extends PhotoMetadata {
private final String zza;
private final int zzb;
private final int zzc;
private final String zzd;
/* JADX INFO: Access modifiers changed from: package-private */
public zzp(String str, int i, int i2, String str2) {
if (str == null) {
throw new NullPointerException("Null attributions");
}
this.zza = str;
this.zzb = i;
this.zzc = i2;
if (str2 == null) {
throw new NullPointerException("Null photoReference");
}
this.zzd = str2;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof PhotoMetadata)) {
return false;
}
PhotoMetadata photoMetadata = (PhotoMetadata) obj;
return this.zza.equals(photoMetadata.getAttributions()) && this.zzb == photoMetadata.getHeight() && this.zzc == photoMetadata.getWidth() && this.zzd.equals(photoMetadata.zza());
}
public final int hashCode() {
int hashCode = this.zza.hashCode();
int i = this.zzb;
return ((((((hashCode ^ 1000003) * 1000003) ^ i) * 1000003) ^ this.zzc) * 1000003) ^ this.zzd.hashCode();
}
public final String toString() {
String str = this.zza;
int i = this.zzb;
int i2 = this.zzc;
String str2 = this.zzd;
StringBuilder sb = new StringBuilder("PhotoMetadata{attributions=");
sb.append(str);
sb.append(", height=");
sb.append(i);
sb.append(", width=");
sb.append(i2);
sb.append(", photoReference=");
sb.append(str2);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
@Override // com.google.android.libraries.places.api.model.PhotoMetadata
public final String zza() {
return this.zzd;
}
@Override // com.google.android.libraries.places.api.model.PhotoMetadata
public int getWidth() {
return this.zzc;
}
@Override // com.google.android.libraries.places.api.model.PhotoMetadata
public int getHeight() {
return this.zzb;
}
@Override // com.google.android.libraries.places.api.model.PhotoMetadata
public String getAttributions() {
return this.zza;
}
}