Initial commit
This commit is contained in:
259
sources/com/google/android/gms/internal/measurement/zzfj.java
Normal file
259
sources/com/google/android/gms/internal/measurement/zzfj.java
Normal file
@@ -0,0 +1,259 @@
|
||||
package com.google.android.gms.internal.measurement;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class zzfj extends zzyc<zzfj> {
|
||||
private static volatile zzfj[] j;
|
||||
public Integer c = null;
|
||||
public String d = null;
|
||||
public zzfk[] e = zzfk.e();
|
||||
private Boolean f = null;
|
||||
public zzfl g = null;
|
||||
public Boolean h = null;
|
||||
public Boolean i = null;
|
||||
|
||||
public zzfj() {
|
||||
this.b = null;
|
||||
this.a = -1;
|
||||
}
|
||||
|
||||
public static zzfj[] e() {
|
||||
if (j == null) {
|
||||
synchronized (zzyg.b) {
|
||||
if (j == null) {
|
||||
j = new zzfj[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
return j;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzyc, com.google.android.gms.internal.measurement.zzyi
|
||||
public final void a(zzya zzyaVar) throws IOException {
|
||||
Integer num = this.c;
|
||||
if (num != null) {
|
||||
zzyaVar.b(1, num.intValue());
|
||||
}
|
||||
String str = this.d;
|
||||
if (str != null) {
|
||||
zzyaVar.a(2, str);
|
||||
}
|
||||
zzfk[] zzfkVarArr = this.e;
|
||||
if (zzfkVarArr != null && zzfkVarArr.length > 0) {
|
||||
int i = 0;
|
||||
while (true) {
|
||||
zzfk[] zzfkVarArr2 = this.e;
|
||||
if (i >= zzfkVarArr2.length) {
|
||||
break;
|
||||
}
|
||||
zzfk zzfkVar = zzfkVarArr2[i];
|
||||
if (zzfkVar != null) {
|
||||
zzyaVar.a(3, zzfkVar);
|
||||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
Boolean bool = this.f;
|
||||
if (bool != null) {
|
||||
zzyaVar.a(4, bool.booleanValue());
|
||||
}
|
||||
zzfl zzflVar = this.g;
|
||||
if (zzflVar != null) {
|
||||
zzyaVar.a(5, zzflVar);
|
||||
}
|
||||
Boolean bool2 = this.h;
|
||||
if (bool2 != null) {
|
||||
zzyaVar.a(6, bool2.booleanValue());
|
||||
}
|
||||
Boolean bool3 = this.i;
|
||||
if (bool3 != null) {
|
||||
zzyaVar.a(7, bool3.booleanValue());
|
||||
}
|
||||
super.a(zzyaVar);
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof zzfj)) {
|
||||
return false;
|
||||
}
|
||||
zzfj zzfjVar = (zzfj) obj;
|
||||
Integer num = this.c;
|
||||
if (num == null) {
|
||||
if (zzfjVar.c != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!num.equals(zzfjVar.c)) {
|
||||
return false;
|
||||
}
|
||||
String str = this.d;
|
||||
if (str == null) {
|
||||
if (zzfjVar.d != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!str.equals(zzfjVar.d)) {
|
||||
return false;
|
||||
}
|
||||
if (!zzyg.a(this.e, zzfjVar.e)) {
|
||||
return false;
|
||||
}
|
||||
Boolean bool = this.f;
|
||||
if (bool == null) {
|
||||
if (zzfjVar.f != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!bool.equals(zzfjVar.f)) {
|
||||
return false;
|
||||
}
|
||||
zzfl zzflVar = this.g;
|
||||
if (zzflVar == null) {
|
||||
if (zzfjVar.g != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!zzflVar.equals(zzfjVar.g)) {
|
||||
return false;
|
||||
}
|
||||
Boolean bool2 = this.h;
|
||||
if (bool2 == null) {
|
||||
if (zzfjVar.h != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!bool2.equals(zzfjVar.h)) {
|
||||
return false;
|
||||
}
|
||||
Boolean bool3 = this.i;
|
||||
if (bool3 == null) {
|
||||
if (zzfjVar.i != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!bool3.equals(zzfjVar.i)) {
|
||||
return false;
|
||||
}
|
||||
zzye zzyeVar = this.b;
|
||||
if (zzyeVar != null && !zzyeVar.a()) {
|
||||
return this.b.equals(zzfjVar.b);
|
||||
}
|
||||
zzye zzyeVar2 = zzfjVar.b;
|
||||
return zzyeVar2 == null || zzyeVar2.a();
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
int hashCode = (zzfj.class.getName().hashCode() + 527) * 31;
|
||||
Integer num = this.c;
|
||||
int i = 0;
|
||||
int hashCode2 = (hashCode + (num == null ? 0 : num.hashCode())) * 31;
|
||||
String str = this.d;
|
||||
int hashCode3 = (((hashCode2 + (str == null ? 0 : str.hashCode())) * 31) + zzyg.a(this.e)) * 31;
|
||||
Boolean bool = this.f;
|
||||
int hashCode4 = hashCode3 + (bool == null ? 0 : bool.hashCode());
|
||||
zzfl zzflVar = this.g;
|
||||
int hashCode5 = ((hashCode4 * 31) + (zzflVar == null ? 0 : zzflVar.hashCode())) * 31;
|
||||
Boolean bool2 = this.h;
|
||||
int hashCode6 = (hashCode5 + (bool2 == null ? 0 : bool2.hashCode())) * 31;
|
||||
Boolean bool3 = this.i;
|
||||
int hashCode7 = (hashCode6 + (bool3 == null ? 0 : bool3.hashCode())) * 31;
|
||||
zzye zzyeVar = this.b;
|
||||
if (zzyeVar != null && !zzyeVar.a()) {
|
||||
i = this.b.hashCode();
|
||||
}
|
||||
return hashCode7 + i;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzyc, com.google.android.gms.internal.measurement.zzyi
|
||||
protected final int a() {
|
||||
int a = super.a();
|
||||
Integer num = this.c;
|
||||
if (num != null) {
|
||||
a += zzya.c(1, num.intValue());
|
||||
}
|
||||
String str = this.d;
|
||||
if (str != null) {
|
||||
a += zzya.b(2, str);
|
||||
}
|
||||
zzfk[] zzfkVarArr = this.e;
|
||||
if (zzfkVarArr != null && zzfkVarArr.length > 0) {
|
||||
int i = 0;
|
||||
while (true) {
|
||||
zzfk[] zzfkVarArr2 = this.e;
|
||||
if (i >= zzfkVarArr2.length) {
|
||||
break;
|
||||
}
|
||||
zzfk zzfkVar = zzfkVarArr2[i];
|
||||
if (zzfkVar != null) {
|
||||
a += zzya.b(3, zzfkVar);
|
||||
}
|
||||
i++;
|
||||
}
|
||||
}
|
||||
Boolean bool = this.f;
|
||||
if (bool != null) {
|
||||
bool.booleanValue();
|
||||
a += zzya.b(4) + 1;
|
||||
}
|
||||
zzfl zzflVar = this.g;
|
||||
if (zzflVar != null) {
|
||||
a += zzya.b(5, zzflVar);
|
||||
}
|
||||
Boolean bool2 = this.h;
|
||||
if (bool2 != null) {
|
||||
bool2.booleanValue();
|
||||
a += zzya.b(6) + 1;
|
||||
}
|
||||
Boolean bool3 = this.i;
|
||||
if (bool3 == null) {
|
||||
return a;
|
||||
}
|
||||
bool3.booleanValue();
|
||||
return a + zzya.b(7) + 1;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzyi
|
||||
public final /* synthetic */ zzyi a(zzxz zzxzVar) throws IOException {
|
||||
while (true) {
|
||||
int c = zzxzVar.c();
|
||||
if (c == 0) {
|
||||
return this;
|
||||
}
|
||||
if (c == 8) {
|
||||
this.c = Integer.valueOf(zzxzVar.e());
|
||||
} else if (c == 18) {
|
||||
this.d = zzxzVar.b();
|
||||
} else if (c == 26) {
|
||||
int a = zzyl.a(zzxzVar, 26);
|
||||
zzfk[] zzfkVarArr = this.e;
|
||||
int length = zzfkVarArr == null ? 0 : zzfkVarArr.length;
|
||||
zzfk[] zzfkVarArr2 = new zzfk[a + length];
|
||||
if (length != 0) {
|
||||
System.arraycopy(this.e, 0, zzfkVarArr2, 0, length);
|
||||
}
|
||||
while (length < zzfkVarArr2.length - 1) {
|
||||
zzfkVarArr2[length] = new zzfk();
|
||||
zzxzVar.a(zzfkVarArr2[length]);
|
||||
zzxzVar.c();
|
||||
length++;
|
||||
}
|
||||
zzfkVarArr2[length] = new zzfk();
|
||||
zzxzVar.a(zzfkVarArr2[length]);
|
||||
this.e = zzfkVarArr2;
|
||||
} else if (c == 32) {
|
||||
this.f = Boolean.valueOf(zzxzVar.d());
|
||||
} else if (c == 42) {
|
||||
if (this.g == null) {
|
||||
this.g = new zzfl();
|
||||
}
|
||||
zzxzVar.a(this.g);
|
||||
} else if (c == 48) {
|
||||
this.h = Boolean.valueOf(zzxzVar.d());
|
||||
} else if (c != 56) {
|
||||
if (!super.a(zzxzVar, c)) {
|
||||
return this;
|
||||
}
|
||||
} else {
|
||||
this.i = Boolean.valueOf(zzxzVar.d());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user