package com.google.android.gms.auth; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.Objects; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter; import com.google.android.gms.common.internal.safeparcel.SafeParcelable; @SafeParcelable.Class(creator = "AccountChangeEventCreator") /* loaded from: classes.dex */ public class AccountChangeEvent extends AbstractSafeParcelable { public static final Parcelable.Creator CREATOR = new zza(); @SafeParcelable.VersionField(id = 1) private final int zze; @SafeParcelable.Field(id = 2) private final long zzf; @SafeParcelable.Field(id = 3) private final String zzg; @SafeParcelable.Field(id = 4) private final int zzh; @SafeParcelable.Field(id = 5) private final int zzi; @SafeParcelable.Field(id = 6) private final String zzj; @SafeParcelable.Constructor AccountChangeEvent(@SafeParcelable.Param(id = 1) int i10, @SafeParcelable.Param(id = 2) long j10, @SafeParcelable.Param(id = 3) String str, @SafeParcelable.Param(id = 4) int i11, @SafeParcelable.Param(id = 5) int i12, @SafeParcelable.Param(id = 6) String str2) { this.zze = i10; this.zzf = j10; this.zzg = (String) Preconditions.checkNotNull(str); this.zzh = i11; this.zzi = i12; this.zzj = str2; } public boolean equals(Object obj) { if (obj == this) { return true; } if (obj instanceof AccountChangeEvent) { AccountChangeEvent accountChangeEvent = (AccountChangeEvent) obj; if (this.zze == accountChangeEvent.zze && this.zzf == accountChangeEvent.zzf && Objects.equal(this.zzg, accountChangeEvent.zzg) && this.zzh == accountChangeEvent.zzh && this.zzi == accountChangeEvent.zzi && Objects.equal(this.zzj, accountChangeEvent.zzj)) { return true; } } return false; } public String getAccountName() { return this.zzg; } public String getChangeData() { return this.zzj; } public int getChangeType() { return this.zzh; } public int getEventIndex() { return this.zzi; } public int hashCode() { return Objects.hashCode(Integer.valueOf(this.zze), Long.valueOf(this.zzf), this.zzg, Integer.valueOf(this.zzh), Integer.valueOf(this.zzi), this.zzj); } public String toString() { int i10 = this.zzh; String str = i10 != 1 ? i10 != 2 ? i10 != 3 ? i10 != 4 ? "UNKNOWN" : "RENAMED_TO" : "RENAMED_FROM" : "REMOVED" : "ADDED"; String str2 = this.zzg; String str3 = this.zzj; int i11 = this.zzi; StringBuilder sb = new StringBuilder(String.valueOf(str2).length() + 91 + str.length() + String.valueOf(str3).length()); sb.append("AccountChangeEvent {accountName = "); sb.append(str2); sb.append(", changeType = "); sb.append(str); sb.append(", changeData = "); sb.append(str3); sb.append(", eventIndex = "); sb.append(i11); sb.append("}"); return sb.toString(); } @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i10) { int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel); SafeParcelWriter.writeInt(parcel, 1, this.zze); SafeParcelWriter.writeLong(parcel, 2, this.zzf); SafeParcelWriter.writeString(parcel, 3, this.zzg, false); SafeParcelWriter.writeInt(parcel, 4, this.zzh); SafeParcelWriter.writeInt(parcel, 5, this.zzi); SafeParcelWriter.writeString(parcel, 6, this.zzj, false); SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader); } public AccountChangeEvent(long j10, String str, int i10, int i11, String str2) { this.zze = 1; this.zzf = j10; this.zzg = (String) Preconditions.checkNotNull(str); this.zzh = i10; this.zzi = i11; this.zzj = str2; } }