116 lines
3.2 KiB
Java
116 lines
3.2 KiB
Java
package com.google.android.gms.internal.measurement;
|
|
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzfs extends zzyc<zzfs> {
|
|
private static volatile zzfs[] e;
|
|
public Integer c = null;
|
|
public Long d = null;
|
|
|
|
public zzfs() {
|
|
this.b = null;
|
|
this.a = -1;
|
|
}
|
|
|
|
public static zzfs[] e() {
|
|
if (e == null) {
|
|
synchronized (zzyg.b) {
|
|
if (e == null) {
|
|
e = new zzfs[0];
|
|
}
|
|
}
|
|
}
|
|
return e;
|
|
}
|
|
|
|
@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());
|
|
}
|
|
Long l = this.d;
|
|
if (l != null) {
|
|
zzyaVar.b(2, l.longValue());
|
|
}
|
|
super.a(zzyaVar);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof zzfs)) {
|
|
return false;
|
|
}
|
|
zzfs zzfsVar = (zzfs) obj;
|
|
Integer num = this.c;
|
|
if (num == null) {
|
|
if (zzfsVar.c != null) {
|
|
return false;
|
|
}
|
|
} else if (!num.equals(zzfsVar.c)) {
|
|
return false;
|
|
}
|
|
Long l = this.d;
|
|
if (l == null) {
|
|
if (zzfsVar.d != null) {
|
|
return false;
|
|
}
|
|
} else if (!l.equals(zzfsVar.d)) {
|
|
return false;
|
|
}
|
|
zzye zzyeVar = this.b;
|
|
if (zzyeVar != null && !zzyeVar.a()) {
|
|
return this.b.equals(zzfsVar.b);
|
|
}
|
|
zzye zzyeVar2 = zzfsVar.b;
|
|
return zzyeVar2 == null || zzyeVar2.a();
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int hashCode = (zzfs.class.getName().hashCode() + 527) * 31;
|
|
Integer num = this.c;
|
|
int i = 0;
|
|
int hashCode2 = (hashCode + (num == null ? 0 : num.hashCode())) * 31;
|
|
Long l = this.d;
|
|
int hashCode3 = (hashCode2 + (l == null ? 0 : l.hashCode())) * 31;
|
|
zzye zzyeVar = this.b;
|
|
if (zzyeVar != null && !zzyeVar.a()) {
|
|
i = this.b.hashCode();
|
|
}
|
|
return hashCode3 + 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());
|
|
}
|
|
Long l = this.d;
|
|
return l != null ? a + zzya.c(2, l.longValue()) : 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 == 8) {
|
|
this.c = Integer.valueOf(zzxzVar.e());
|
|
} else if (c != 16) {
|
|
if (!super.a(zzxzVar, c)) {
|
|
return this;
|
|
}
|
|
} else {
|
|
this.d = Long.valueOf(zzxzVar.f());
|
|
}
|
|
}
|
|
}
|
|
}
|