165 lines
4.7 KiB
Java
165 lines
4.7 KiB
Java
package com.google.android.gms.internal.measurement;
|
|
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzfk extends zzyc<zzfk> {
|
|
private static volatile zzfk[] g;
|
|
public zzfn c = null;
|
|
public zzfl d = null;
|
|
public Boolean e = null;
|
|
public String f = null;
|
|
|
|
public zzfk() {
|
|
this.b = null;
|
|
this.a = -1;
|
|
}
|
|
|
|
public static zzfk[] e() {
|
|
if (g == null) {
|
|
synchronized (zzyg.b) {
|
|
if (g == null) {
|
|
g = new zzfk[0];
|
|
}
|
|
}
|
|
}
|
|
return g;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.measurement.zzyc, com.google.android.gms.internal.measurement.zzyi
|
|
public final void a(zzya zzyaVar) throws IOException {
|
|
zzfn zzfnVar = this.c;
|
|
if (zzfnVar != null) {
|
|
zzyaVar.a(1, zzfnVar);
|
|
}
|
|
zzfl zzflVar = this.d;
|
|
if (zzflVar != null) {
|
|
zzyaVar.a(2, zzflVar);
|
|
}
|
|
Boolean bool = this.e;
|
|
if (bool != null) {
|
|
zzyaVar.a(3, bool.booleanValue());
|
|
}
|
|
String str = this.f;
|
|
if (str != null) {
|
|
zzyaVar.a(4, str);
|
|
}
|
|
super.a(zzyaVar);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof zzfk)) {
|
|
return false;
|
|
}
|
|
zzfk zzfkVar = (zzfk) obj;
|
|
zzfn zzfnVar = this.c;
|
|
if (zzfnVar == null) {
|
|
if (zzfkVar.c != null) {
|
|
return false;
|
|
}
|
|
} else if (!zzfnVar.equals(zzfkVar.c)) {
|
|
return false;
|
|
}
|
|
zzfl zzflVar = this.d;
|
|
if (zzflVar == null) {
|
|
if (zzfkVar.d != null) {
|
|
return false;
|
|
}
|
|
} else if (!zzflVar.equals(zzfkVar.d)) {
|
|
return false;
|
|
}
|
|
Boolean bool = this.e;
|
|
if (bool == null) {
|
|
if (zzfkVar.e != null) {
|
|
return false;
|
|
}
|
|
} else if (!bool.equals(zzfkVar.e)) {
|
|
return false;
|
|
}
|
|
String str = this.f;
|
|
if (str == null) {
|
|
if (zzfkVar.f != null) {
|
|
return false;
|
|
}
|
|
} else if (!str.equals(zzfkVar.f)) {
|
|
return false;
|
|
}
|
|
zzye zzyeVar = this.b;
|
|
if (zzyeVar != null && !zzyeVar.a()) {
|
|
return this.b.equals(zzfkVar.b);
|
|
}
|
|
zzye zzyeVar2 = zzfkVar.b;
|
|
return zzyeVar2 == null || zzyeVar2.a();
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int hashCode = zzfk.class.getName().hashCode() + 527;
|
|
zzfn zzfnVar = this.c;
|
|
int i = 0;
|
|
int hashCode2 = (hashCode * 31) + (zzfnVar == null ? 0 : zzfnVar.hashCode());
|
|
zzfl zzflVar = this.d;
|
|
int hashCode3 = ((hashCode2 * 31) + (zzflVar == null ? 0 : zzflVar.hashCode())) * 31;
|
|
Boolean bool = this.e;
|
|
int hashCode4 = (hashCode3 + (bool == null ? 0 : bool.hashCode())) * 31;
|
|
String str = this.f;
|
|
int hashCode5 = (hashCode4 + (str == null ? 0 : str.hashCode())) * 31;
|
|
zzye zzyeVar = this.b;
|
|
if (zzyeVar != null && !zzyeVar.a()) {
|
|
i = this.b.hashCode();
|
|
}
|
|
return hashCode5 + i;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.measurement.zzyc, com.google.android.gms.internal.measurement.zzyi
|
|
protected final int a() {
|
|
int a = super.a();
|
|
zzfn zzfnVar = this.c;
|
|
if (zzfnVar != null) {
|
|
a += zzya.b(1, zzfnVar);
|
|
}
|
|
zzfl zzflVar = this.d;
|
|
if (zzflVar != null) {
|
|
a += zzya.b(2, zzflVar);
|
|
}
|
|
Boolean bool = this.e;
|
|
if (bool != null) {
|
|
bool.booleanValue();
|
|
a += zzya.b(3) + 1;
|
|
}
|
|
String str = this.f;
|
|
return str != null ? a + zzya.b(4, str) : a;
|
|
}
|
|
|
|
@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 == 10) {
|
|
if (this.c == null) {
|
|
this.c = new zzfn();
|
|
}
|
|
zzxzVar.a(this.c);
|
|
} else if (c == 18) {
|
|
if (this.d == null) {
|
|
this.d = new zzfl();
|
|
}
|
|
zzxzVar.a(this.d);
|
|
} else if (c == 24) {
|
|
this.e = Boolean.valueOf(zzxzVar.d());
|
|
} else if (c != 34) {
|
|
if (!super.a(zzxzVar, c)) {
|
|
return this;
|
|
}
|
|
} else {
|
|
this.f = zzxzVar.b();
|
|
}
|
|
}
|
|
}
|
|
}
|