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

468 lines
15 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.clearcut;
import com.google.android.gms.internal.clearcut.zzge;
import java.io.IOException;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class zzha extends zzfu<zzha> implements Cloneable {
public long zzbjf = 0;
public long zzbjg = 0;
private long zzbjh = 0;
private String tag = "";
public int zzbji = 0;
private String zzbjj = "";
private int zzbjk = 0;
private boolean zzbjl = false;
private zzhb[] zzbjm = zzhb.zzge();
private byte[] zzbjn = zzgb.zzse;
private zzge.zzd zzbjo = null;
public byte[] zzbjp = zzgb.zzse;
private String zzbjq = "";
private String zzbjr = "";
private zzgy zzbjs = null;
private String zzbjt = "";
public long zzbju = 180000;
private zzgz zzbjv = null;
public byte[] zzbjw = zzgb.zzse;
private String zzbjx = "";
private int zzbjy = 0;
private int[] zzbjz = zzgb.zzrx;
private long zzbka = 0;
private zzge.zzs zzbkb = null;
public boolean zzbkc = false;
@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 (zzha) clone();
}
@Override // com.google.android.gms.internal.clearcut.zzfu
/* renamed from: zzeo */
public final /* synthetic */ zzha clone() throws CloneNotSupportedException {
return (zzha) 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[] iArr;
int zzen = super.zzen();
long j = this.zzbjf;
if (j != 0) {
zzen += zzfs.zzd(1, j);
}
String str = this.tag;
if (str != null && !str.equals("")) {
zzen += zzfs.zzb(2, this.tag);
}
zzhb[] zzhbVarArr = this.zzbjm;
int i = 0;
if (zzhbVarArr != null && zzhbVarArr.length > 0) {
int i2 = 0;
while (true) {
zzhb[] zzhbVarArr2 = this.zzbjm;
if (i2 >= zzhbVarArr2.length) {
break;
}
zzhb zzhbVar = zzhbVarArr2[i2];
if (zzhbVar != null) {
zzen += zzfs.zzb(3, zzhbVar);
}
i2++;
}
}
if (!Arrays.equals(this.zzbjn, zzgb.zzse)) {
zzen += zzfs.zzb(4, this.zzbjn);
}
if (!Arrays.equals(this.zzbjp, zzgb.zzse)) {
zzen += zzfs.zzb(6, this.zzbjp);
}
zzgy zzgyVar = this.zzbjs;
if (zzgyVar != null) {
zzen += zzfs.zzb(7, zzgyVar);
}
String str2 = this.zzbjq;
if (str2 != null && !str2.equals("")) {
zzen += zzfs.zzb(8, this.zzbjq);
}
zzge.zzd zzdVar = this.zzbjo;
if (zzdVar != null) {
zzen += zzbn.zzc(9, zzdVar);
}
int i3 = this.zzbji;
if (i3 != 0) {
zzen += zzfs.zzr(11) + zzfs.zzs(i3);
}
String str3 = this.zzbjr;
if (str3 != null && !str3.equals("")) {
zzen += zzfs.zzb(13, this.zzbjr);
}
String str4 = this.zzbjt;
if (str4 != null && !str4.equals("")) {
zzen += zzfs.zzb(14, this.zzbjt);
}
long j2 = this.zzbju;
if (j2 != 180000) {
zzen += zzfs.zzr(15) + zzfs.zzo(zzfs.zzj(j2));
}
zzgz zzgzVar = this.zzbjv;
if (zzgzVar != null) {
zzen += zzfs.zzb(16, zzgzVar);
}
long j3 = this.zzbjg;
if (j3 != 0) {
zzen += zzfs.zzd(17, j3);
}
if (!Arrays.equals(this.zzbjw, zzgb.zzse)) {
zzen += zzfs.zzb(18, this.zzbjw);
}
int[] iArr2 = this.zzbjz;
if (iArr2 != null && iArr2.length > 0) {
int i4 = 0;
while (true) {
iArr = this.zzbjz;
if (i >= iArr.length) {
break;
}
i4 += zzfs.zzs(iArr[i]);
i++;
}
zzen = zzen + i4 + (iArr.length * 2);
}
zzge.zzs zzsVar = this.zzbkb;
if (zzsVar != null) {
zzen += zzbn.zzc(23, zzsVar);
}
String str5 = this.zzbjx;
if (str5 != null && !str5.equals("")) {
zzen += zzfs.zzb(24, this.zzbjx);
}
if (this.zzbkc) {
zzen += zzfs.zzr(25) + 1;
}
String str6 = this.zzbjj;
return (str6 == null || str6.equals("")) ? zzen : zzen + zzfs.zzb(26, this.zzbjj);
}
@Override // com.google.android.gms.internal.clearcut.zzfu, com.google.android.gms.internal.clearcut.zzfz
public final void zza(zzfs zzfsVar) throws IOException {
long j = this.zzbjf;
if (j != 0) {
zzfsVar.zzi(1, j);
}
String str = this.tag;
if (str != null && !str.equals("")) {
zzfsVar.zza(2, this.tag);
}
zzhb[] zzhbVarArr = this.zzbjm;
int i = 0;
if (zzhbVarArr != null && zzhbVarArr.length > 0) {
int i2 = 0;
while (true) {
zzhb[] zzhbVarArr2 = this.zzbjm;
if (i2 >= zzhbVarArr2.length) {
break;
}
zzhb zzhbVar = zzhbVarArr2[i2];
if (zzhbVar != null) {
zzfsVar.zza(3, zzhbVar);
}
i2++;
}
}
if (!Arrays.equals(this.zzbjn, zzgb.zzse)) {
zzfsVar.zza(4, this.zzbjn);
}
if (!Arrays.equals(this.zzbjp, zzgb.zzse)) {
zzfsVar.zza(6, this.zzbjp);
}
zzgy zzgyVar = this.zzbjs;
if (zzgyVar != null) {
zzfsVar.zza(7, zzgyVar);
}
String str2 = this.zzbjq;
if (str2 != null && !str2.equals("")) {
zzfsVar.zza(8, this.zzbjq);
}
zzge.zzd zzdVar = this.zzbjo;
if (zzdVar != null) {
zzfsVar.zze(9, zzdVar);
}
int i3 = this.zzbji;
if (i3 != 0) {
zzfsVar.zzc(11, i3);
}
String str3 = this.zzbjr;
if (str3 != null && !str3.equals("")) {
zzfsVar.zza(13, this.zzbjr);
}
String str4 = this.zzbjt;
if (str4 != null && !str4.equals("")) {
zzfsVar.zza(14, this.zzbjt);
}
long j2 = this.zzbju;
if (j2 != 180000) {
zzfsVar.zzb(15, 0);
zzfsVar.zzn(zzfs.zzj(j2));
}
zzgz zzgzVar = this.zzbjv;
if (zzgzVar != null) {
zzfsVar.zza(16, zzgzVar);
}
long j3 = this.zzbjg;
if (j3 != 0) {
zzfsVar.zzi(17, j3);
}
if (!Arrays.equals(this.zzbjw, zzgb.zzse)) {
zzfsVar.zza(18, this.zzbjw);
}
int[] iArr = this.zzbjz;
if (iArr != null && iArr.length > 0) {
while (true) {
int[] iArr2 = this.zzbjz;
if (i >= iArr2.length) {
break;
}
zzfsVar.zzc(20, iArr2[i]);
i++;
}
}
zzge.zzs zzsVar = this.zzbkb;
if (zzsVar != null) {
zzfsVar.zze(23, zzsVar);
}
String str5 = this.zzbjx;
if (str5 != null && !str5.equals("")) {
zzfsVar.zza(24, this.zzbjx);
}
boolean z = this.zzbkc;
if (z) {
zzfsVar.zzb(25, z);
}
String str6 = this.zzbjj;
if (str6 != null && !str6.equals("")) {
zzfsVar.zza(26, this.zzbjj);
}
super.zza(zzfsVar);
}
public final int hashCode() {
int hashCode;
int i;
int i2;
int hashCode2 = getClass().getName().hashCode();
long j = this.zzbjf;
int i3 = (int) (j ^ (j >>> 32));
long j2 = this.zzbjg;
int i4 = (int) (j2 ^ (j2 >>> 32));
String str = this.tag;
int hashCode3 = str == null ? 0 : str.hashCode();
int i5 = this.zzbji;
String str2 = this.zzbjj;
int hashCode4 = str2 == null ? 0 : str2.hashCode();
int hashCode5 = zzfy.hashCode(this.zzbjm);
int hashCode6 = Arrays.hashCode(this.zzbjn);
zzge.zzd zzdVar = this.zzbjo;
int hashCode7 = zzdVar == null ? 0 : zzdVar.hashCode();
int hashCode8 = Arrays.hashCode(this.zzbjp);
String str3 = this.zzbjq;
int hashCode9 = str3 == null ? 0 : str3.hashCode();
String str4 = this.zzbjr;
int hashCode10 = str4 == null ? 0 : str4.hashCode();
zzgy zzgyVar = this.zzbjs;
int hashCode11 = zzgyVar == null ? 0 : zzgyVar.hashCode();
String str5 = this.zzbjt;
if (str5 == null) {
i = hashCode10;
i2 = hashCode11;
hashCode = 0;
} else {
hashCode = str5.hashCode();
i = hashCode10;
i2 = hashCode11;
}
long j3 = this.zzbju;
int i6 = (int) (j3 ^ (j3 >>> 32));
zzgz zzgzVar = this.zzbjv;
int hashCode12 = zzgzVar == null ? 0 : zzgzVar.hashCode();
int hashCode13 = Arrays.hashCode(this.zzbjw);
String str6 = this.zzbjx;
int hashCode14 = str6 == null ? 0 : str6.hashCode();
int hashCode15 = zzfy.hashCode(this.zzbjz);
zzge.zzs zzsVar = this.zzbkb;
int hashCode16 = zzsVar == null ? 0 : zzsVar.hashCode();
int i7 = hashCode12;
return ((((((((((((((((((((((((((((((((((((((((((((hashCode2 + 527) * 31) + i3) * 31) + i4) * 961) + hashCode3) * 31) + i5) * 31) + hashCode4) * 961) + 1237) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + hashCode8) * 31) + hashCode9) * 31) + i) * 31) + i2) * 31) + hashCode) * 31) + i6) * 31) + i7) * 31) + hashCode13) * 31) + hashCode14) * 961) + hashCode15) * 961) + hashCode16) * 31) + (this.zzbkc ? 1231 : 1237)) * 31) + ((this.zzrj == null || this.zzrj.isEmpty()) ? 0 : this.zzrj.hashCode());
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof zzha)) {
return false;
}
zzha zzhaVar = (zzha) obj;
if (this.zzbjf != zzhaVar.zzbjf || this.zzbjg != zzhaVar.zzbjg) {
return false;
}
String str = this.tag;
if (str == null) {
if (zzhaVar.tag != null) {
return false;
}
} else if (!str.equals(zzhaVar.tag)) {
return false;
}
if (this.zzbji != zzhaVar.zzbji) {
return false;
}
String str2 = this.zzbjj;
if (str2 == null) {
if (zzhaVar.zzbjj != null) {
return false;
}
} else if (!str2.equals(zzhaVar.zzbjj)) {
return false;
}
if (!zzfy.equals(this.zzbjm, zzhaVar.zzbjm) || !Arrays.equals(this.zzbjn, zzhaVar.zzbjn)) {
return false;
}
zzge.zzd zzdVar = this.zzbjo;
if (zzdVar == null) {
if (zzhaVar.zzbjo != null) {
return false;
}
} else if (!zzdVar.equals(zzhaVar.zzbjo)) {
return false;
}
if (!Arrays.equals(this.zzbjp, zzhaVar.zzbjp)) {
return false;
}
String str3 = this.zzbjq;
if (str3 == null) {
if (zzhaVar.zzbjq != null) {
return false;
}
} else if (!str3.equals(zzhaVar.zzbjq)) {
return false;
}
String str4 = this.zzbjr;
if (str4 == null) {
if (zzhaVar.zzbjr != null) {
return false;
}
} else if (!str4.equals(zzhaVar.zzbjr)) {
return false;
}
zzgy zzgyVar = this.zzbjs;
if (zzgyVar == null) {
if (zzhaVar.zzbjs != null) {
return false;
}
} else if (!zzgyVar.equals(zzhaVar.zzbjs)) {
return false;
}
String str5 = this.zzbjt;
if (str5 == null) {
if (zzhaVar.zzbjt != null) {
return false;
}
} else if (!str5.equals(zzhaVar.zzbjt)) {
return false;
}
if (this.zzbju != zzhaVar.zzbju) {
return false;
}
zzgz zzgzVar = this.zzbjv;
if (zzgzVar == null) {
if (zzhaVar.zzbjv != null) {
return false;
}
} else if (!zzgzVar.equals(zzhaVar.zzbjv)) {
return false;
}
if (!Arrays.equals(this.zzbjw, zzhaVar.zzbjw)) {
return false;
}
String str6 = this.zzbjx;
if (str6 == null) {
if (zzhaVar.zzbjx != null) {
return false;
}
} else if (!str6.equals(zzhaVar.zzbjx)) {
return false;
}
if (!zzfy.equals(this.zzbjz, zzhaVar.zzbjz)) {
return false;
}
zzge.zzs zzsVar = this.zzbkb;
if (zzsVar == null) {
if (zzhaVar.zzbkb != null) {
return false;
}
} else if (!zzsVar.equals(zzhaVar.zzbkb)) {
return false;
}
if (this.zzbkc != zzhaVar.zzbkc) {
return false;
}
return (this.zzrj == null || this.zzrj.isEmpty()) ? zzhaVar.zzrj == null || zzhaVar.zzrj.isEmpty() : this.zzrj.equals(zzhaVar.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: zzgd, reason: merged with bridge method [inline-methods] */
public final zzha clone() {
try {
zzha zzhaVar = (zzha) super.clone();
zzhb[] zzhbVarArr = this.zzbjm;
if (zzhbVarArr != null && zzhbVarArr.length > 0) {
zzhaVar.zzbjm = new zzhb[zzhbVarArr.length];
int i = 0;
while (true) {
zzhb[] zzhbVarArr2 = this.zzbjm;
if (i >= zzhbVarArr2.length) {
break;
}
zzhb zzhbVar = zzhbVarArr2[i];
if (zzhbVar != null) {
zzhaVar.zzbjm[i] = (zzhb) zzhbVar.clone();
}
i++;
}
}
zzge.zzd zzdVar = this.zzbjo;
if (zzdVar != null) {
zzhaVar.zzbjo = zzdVar;
}
zzgy zzgyVar = this.zzbjs;
if (zzgyVar != null) {
zzhaVar.zzbjs = (zzgy) zzgyVar.clone();
}
zzgz zzgzVar = this.zzbjv;
if (zzgzVar != null) {
zzhaVar.zzbjv = (zzgz) zzgzVar.clone();
}
int[] iArr = this.zzbjz;
if (iArr != null && iArr.length > 0) {
zzhaVar.zzbjz = (int[]) iArr.clone();
}
zzge.zzs zzsVar = this.zzbkb;
if (zzsVar != null) {
zzhaVar.zzbkb = zzsVar;
}
return zzhaVar;
} catch (CloneNotSupportedException e) {
throw new AssertionError(e);
}
}
public zzha() {
this.zzrj = null;
this.zzrs = -1;
}
}