package com.google.android.gms.internal.measurement; import java.io.IOException; /* loaded from: classes.dex */ public final class zzfl extends zzyc { public Integer c = null; public Boolean d = null; public String e = null; public String f = null; public String g = null; public zzfl() { this.b = null; this.a = -1; } private final zzfl b(zzxz zzxzVar) throws IOException { while (true) { int c = zzxzVar.c(); if (c == 0) { return this; } if (c == 8) { int a = zzxzVar.a(); try { int e = zzxzVar.e(); if (e < 0 || e > 4) { StringBuilder sb = new StringBuilder(46); sb.append(e); sb.append(" is not a valid enum ComparisonType"); throw new IllegalArgumentException(sb.toString()); } this.c = Integer.valueOf(e); } catch (IllegalArgumentException unused) { zzxzVar.e(a); a(zzxzVar, c); } } else if (c == 16) { this.d = Boolean.valueOf(zzxzVar.d()); } else if (c == 26) { this.e = zzxzVar.b(); } else if (c == 34) { this.f = zzxzVar.b(); } else if (c == 42) { this.g = zzxzVar.b(); } else if (!super.a(zzxzVar, c)) { return this; } } } @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()); } Boolean bool = this.d; if (bool != null) { zzyaVar.a(2, bool.booleanValue()); } String str = this.e; if (str != null) { zzyaVar.a(3, str); } String str2 = this.f; if (str2 != null) { zzyaVar.a(4, str2); } String str3 = this.g; if (str3 != null) { zzyaVar.a(5, str3); } super.a(zzyaVar); } public final boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof zzfl)) { return false; } zzfl zzflVar = (zzfl) obj; Integer num = this.c; if (num == null) { if (zzflVar.c != null) { return false; } } else if (!num.equals(zzflVar.c)) { return false; } Boolean bool = this.d; if (bool == null) { if (zzflVar.d != null) { return false; } } else if (!bool.equals(zzflVar.d)) { return false; } String str = this.e; if (str == null) { if (zzflVar.e != null) { return false; } } else if (!str.equals(zzflVar.e)) { return false; } String str2 = this.f; if (str2 == null) { if (zzflVar.f != null) { return false; } } else if (!str2.equals(zzflVar.f)) { return false; } String str3 = this.g; if (str3 == null) { if (zzflVar.g != null) { return false; } } else if (!str3.equals(zzflVar.g)) { return false; } zzye zzyeVar = this.b; if (zzyeVar != null && !zzyeVar.a()) { return this.b.equals(zzflVar.b); } zzye zzyeVar2 = zzflVar.b; return zzyeVar2 == null || zzyeVar2.a(); } public final int hashCode() { int hashCode = (zzfl.class.getName().hashCode() + 527) * 31; Integer num = this.c; int i = 0; int intValue = (hashCode + (num == null ? 0 : num.intValue())) * 31; Boolean bool = this.d; int hashCode2 = (intValue + (bool == null ? 0 : bool.hashCode())) * 31; String str = this.e; int hashCode3 = (hashCode2 + (str == null ? 0 : str.hashCode())) * 31; String str2 = this.f; int hashCode4 = (hashCode3 + (str2 == null ? 0 : str2.hashCode())) * 31; String str3 = this.g; int hashCode5 = (hashCode4 + (str3 == null ? 0 : str3.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(); Integer num = this.c; if (num != null) { a += zzya.c(1, num.intValue()); } Boolean bool = this.d; if (bool != null) { bool.booleanValue(); a += zzya.b(2) + 1; } String str = this.e; if (str != null) { a += zzya.b(3, str); } String str2 = this.f; if (str2 != null) { a += zzya.b(4, str2); } String str3 = this.g; return str3 != null ? a + zzya.b(5, str3) : a; } @Override // com.google.android.gms.internal.measurement.zzyi public final /* synthetic */ zzyi a(zzxz zzxzVar) throws IOException { b(zzxzVar); return this; } }