184 lines
5.1 KiB
Java
184 lines
5.1 KiB
Java
package com.google.android.gms.internal.measurement;
|
|
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzfu extends zzyc<zzfu> {
|
|
private static volatile zzfu[] h;
|
|
public String c = null;
|
|
public String d = null;
|
|
public Long e = null;
|
|
private Float f = null;
|
|
public Double g = null;
|
|
|
|
public zzfu() {
|
|
this.b = null;
|
|
this.a = -1;
|
|
}
|
|
|
|
public static zzfu[] e() {
|
|
if (h == null) {
|
|
synchronized (zzyg.b) {
|
|
if (h == null) {
|
|
h = new zzfu[0];
|
|
}
|
|
}
|
|
}
|
|
return h;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.measurement.zzyc, com.google.android.gms.internal.measurement.zzyi
|
|
public final void a(zzya zzyaVar) throws IOException {
|
|
String str = this.c;
|
|
if (str != null) {
|
|
zzyaVar.a(1, str);
|
|
}
|
|
String str2 = this.d;
|
|
if (str2 != null) {
|
|
zzyaVar.a(2, str2);
|
|
}
|
|
Long l = this.e;
|
|
if (l != null) {
|
|
zzyaVar.b(3, l.longValue());
|
|
}
|
|
Float f = this.f;
|
|
if (f != null) {
|
|
zzyaVar.a(4, f.floatValue());
|
|
}
|
|
Double d = this.g;
|
|
if (d != null) {
|
|
zzyaVar.a(5, d.doubleValue());
|
|
}
|
|
super.a(zzyaVar);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof zzfu)) {
|
|
return false;
|
|
}
|
|
zzfu zzfuVar = (zzfu) obj;
|
|
String str = this.c;
|
|
if (str == null) {
|
|
if (zzfuVar.c != null) {
|
|
return false;
|
|
}
|
|
} else if (!str.equals(zzfuVar.c)) {
|
|
return false;
|
|
}
|
|
String str2 = this.d;
|
|
if (str2 == null) {
|
|
if (zzfuVar.d != null) {
|
|
return false;
|
|
}
|
|
} else if (!str2.equals(zzfuVar.d)) {
|
|
return false;
|
|
}
|
|
Long l = this.e;
|
|
if (l == null) {
|
|
if (zzfuVar.e != null) {
|
|
return false;
|
|
}
|
|
} else if (!l.equals(zzfuVar.e)) {
|
|
return false;
|
|
}
|
|
Float f = this.f;
|
|
if (f == null) {
|
|
if (zzfuVar.f != null) {
|
|
return false;
|
|
}
|
|
} else if (!f.equals(zzfuVar.f)) {
|
|
return false;
|
|
}
|
|
Double d = this.g;
|
|
if (d == null) {
|
|
if (zzfuVar.g != null) {
|
|
return false;
|
|
}
|
|
} else if (!d.equals(zzfuVar.g)) {
|
|
return false;
|
|
}
|
|
zzye zzyeVar = this.b;
|
|
if (zzyeVar != null && !zzyeVar.a()) {
|
|
return this.b.equals(zzfuVar.b);
|
|
}
|
|
zzye zzyeVar2 = zzfuVar.b;
|
|
return zzyeVar2 == null || zzyeVar2.a();
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int hashCode = (zzfu.class.getName().hashCode() + 527) * 31;
|
|
String str = this.c;
|
|
int i = 0;
|
|
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
|
|
String str2 = this.d;
|
|
int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
|
|
Long l = this.e;
|
|
int hashCode4 = (hashCode3 + (l == null ? 0 : l.hashCode())) * 31;
|
|
Float f = this.f;
|
|
int hashCode5 = (hashCode4 + (f == null ? 0 : f.hashCode())) * 31;
|
|
Double d = this.g;
|
|
int hashCode6 = (hashCode5 + (d == null ? 0 : d.hashCode())) * 31;
|
|
zzye zzyeVar = this.b;
|
|
if (zzyeVar != null && !zzyeVar.a()) {
|
|
i = this.b.hashCode();
|
|
}
|
|
return hashCode6 + i;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.measurement.zzyc, com.google.android.gms.internal.measurement.zzyi
|
|
protected final int a() {
|
|
int a = super.a();
|
|
String str = this.c;
|
|
if (str != null) {
|
|
a += zzya.b(1, str);
|
|
}
|
|
String str2 = this.d;
|
|
if (str2 != null) {
|
|
a += zzya.b(2, str2);
|
|
}
|
|
Long l = this.e;
|
|
if (l != null) {
|
|
a += zzya.c(3, l.longValue());
|
|
}
|
|
Float f = this.f;
|
|
if (f != null) {
|
|
f.floatValue();
|
|
a += zzya.b(4) + 4;
|
|
}
|
|
Double d = this.g;
|
|
if (d == null) {
|
|
return a;
|
|
}
|
|
d.doubleValue();
|
|
return a + zzya.b(5) + 8;
|
|
}
|
|
|
|
@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) {
|
|
this.c = zzxzVar.b();
|
|
} else if (c == 18) {
|
|
this.d = zzxzVar.b();
|
|
} else if (c == 24) {
|
|
this.e = Long.valueOf(zzxzVar.f());
|
|
} else if (c == 37) {
|
|
this.f = Float.valueOf(Float.intBitsToFloat(zzxzVar.g()));
|
|
} else if (c != 41) {
|
|
if (!super.a(zzxzVar, c)) {
|
|
return this;
|
|
}
|
|
} else {
|
|
this.g = Double.valueOf(Double.longBitsToDouble(zzxzVar.h()));
|
|
}
|
|
}
|
|
}
|
|
}
|