what-the-bank/sources/com/google/android/gms/internal/clearcut/zzhb.java

115 lines
3.7 KiB
Java

package com.google.android.gms.internal.clearcut;
import java.io.IOException;
/* loaded from: classes2.dex */
public final class zzhb extends zzfu<zzhb> implements Cloneable {
private static volatile zzhb[] zzbkd;
private String zzbke = "";
private String value = "";
@Override // com.google.android.gms.internal.clearcut.zzfu, com.google.android.gms.internal.clearcut.zzfz
/* renamed from: zzep */
public final /* synthetic */ zzfz clone() throws CloneNotSupportedException {
return (zzhb) clone();
}
@Override // com.google.android.gms.internal.clearcut.zzfu
/* renamed from: zzeo */
public final /* synthetic */ zzhb clone() throws CloneNotSupportedException {
return (zzhb) clone();
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // com.google.android.gms.internal.clearcut.zzfu, com.google.android.gms.internal.clearcut.zzfz
public final int zzen() {
int zzen = super.zzen();
String str = this.zzbke;
if (str != null && !str.equals("")) {
zzen += zzfs.zzb(1, this.zzbke);
}
String str2 = this.value;
return (str2 == null || str2.equals("")) ? zzen : zzen + zzfs.zzb(2, this.value);
}
@Override // com.google.android.gms.internal.clearcut.zzfu, com.google.android.gms.internal.clearcut.zzfz
public final void zza(zzfs zzfsVar) throws IOException {
String str = this.zzbke;
if (str != null && !str.equals("")) {
zzfsVar.zza(1, this.zzbke);
}
String str2 = this.value;
if (str2 != null && !str2.equals("")) {
zzfsVar.zza(2, this.value);
}
super.zza(zzfsVar);
}
public final int hashCode() {
int hashCode = getClass().getName().hashCode();
String str = this.zzbke;
int i = 0;
int hashCode2 = str == null ? 0 : str.hashCode();
String str2 = this.value;
int hashCode3 = str2 == null ? 0 : str2.hashCode();
if (this.zzrj != null && !this.zzrj.isEmpty()) {
i = this.zzrj.hashCode();
}
return ((((((hashCode + 527) * 31) + hashCode2) * 31) + hashCode3) * 31) + i;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof zzhb)) {
return false;
}
zzhb zzhbVar = (zzhb) obj;
String str = this.zzbke;
if (str == null) {
if (zzhbVar.zzbke != null) {
return false;
}
} else if (!str.equals(zzhbVar.zzbke)) {
return false;
}
String str2 = this.value;
if (str2 == null) {
if (zzhbVar.value != null) {
return false;
}
} else if (!str2.equals(zzhbVar.value)) {
return false;
}
return (this.zzrj == null || this.zzrj.isEmpty()) ? zzhbVar.zzrj == null || zzhbVar.zzrj.isEmpty() : this.zzrj.equals(zzhbVar.zzrj);
}
/* JADX INFO: Access modifiers changed from: private */
@Override // com.google.android.gms.internal.clearcut.zzfu, com.google.android.gms.internal.clearcut.zzfz
/* renamed from: zzgf, reason: merged with bridge method [inline-methods] */
public final zzhb clone() {
try {
return (zzhb) super.clone();
} catch (CloneNotSupportedException e) {
throw new AssertionError(e);
}
}
public static zzhb[] zzge() {
if (zzbkd == null) {
synchronized (zzfy.zzrr) {
if (zzbkd == null) {
zzbkd = new zzhb[0];
}
}
}
return zzbkd;
}
public zzhb() {
this.zzrj = null;
this.zzrs = -1;
}
}