Initial commit
This commit is contained in:
115
sources/com/google/android/gms/internal/measurement/zzfq.java
Normal file
115
sources/com/google/android/gms/internal/measurement/zzfq.java
Normal file
@@ -0,0 +1,115 @@
|
||||
package com.google.android.gms.internal.measurement;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class zzfq extends zzyc<zzfq> {
|
||||
private static volatile zzfq[] e;
|
||||
public String c = null;
|
||||
public String d = null;
|
||||
|
||||
public zzfq() {
|
||||
this.b = null;
|
||||
this.a = -1;
|
||||
}
|
||||
|
||||
public static zzfq[] e() {
|
||||
if (e == null) {
|
||||
synchronized (zzyg.b) {
|
||||
if (e == null) {
|
||||
e = new zzfq[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 {
|
||||
String str = this.c;
|
||||
if (str != null) {
|
||||
zzyaVar.a(1, str);
|
||||
}
|
||||
String str2 = this.d;
|
||||
if (str2 != null) {
|
||||
zzyaVar.a(2, str2);
|
||||
}
|
||||
super.a(zzyaVar);
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof zzfq)) {
|
||||
return false;
|
||||
}
|
||||
zzfq zzfqVar = (zzfq) obj;
|
||||
String str = this.c;
|
||||
if (str == null) {
|
||||
if (zzfqVar.c != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!str.equals(zzfqVar.c)) {
|
||||
return false;
|
||||
}
|
||||
String str2 = this.d;
|
||||
if (str2 == null) {
|
||||
if (zzfqVar.d != null) {
|
||||
return false;
|
||||
}
|
||||
} else if (!str2.equals(zzfqVar.d)) {
|
||||
return false;
|
||||
}
|
||||
zzye zzyeVar = this.b;
|
||||
if (zzyeVar != null && !zzyeVar.a()) {
|
||||
return this.b.equals(zzfqVar.b);
|
||||
}
|
||||
zzye zzyeVar2 = zzfqVar.b;
|
||||
return zzyeVar2 == null || zzyeVar2.a();
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
int hashCode = (zzfq.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;
|
||||
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();
|
||||
String str = this.c;
|
||||
if (str != null) {
|
||||
a += zzya.b(1, str);
|
||||
}
|
||||
String str2 = this.d;
|
||||
return str2 != null ? a + zzya.b(2, str2) : 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) {
|
||||
this.c = zzxzVar.b();
|
||||
} else if (c != 18) {
|
||||
if (!super.a(zzxzVar, c)) {
|
||||
return this;
|
||||
}
|
||||
} else {
|
||||
this.d = zzxzVar.b();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user