what-the-bank/sources/com/google/android/gms/auth/AccountChangeEvent.java

108 lines
3.8 KiB
Java

package com.google.android.gms.auth;
import android.os.Parcel;
import android.os.Parcelable;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
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.huawei.hms.framework.network.grs.GrsBaseInfo;
/* loaded from: classes.dex */
public class AccountChangeEvent extends AbstractSafeParcelable {
public static final Parcelable.Creator<AccountChangeEvent> CREATOR = new zza();
private final int zze;
private final long zzf;
private final String zzg;
private final int zzh;
private final int zzi;
private final String zzj;
/* JADX INFO: Access modifiers changed from: package-private */
public AccountChangeEvent(int i, long j, String str, int i2, int i3, String str2) {
this.zze = i;
this.zzf = j;
this.zzg = (String) Preconditions.checkNotNull(str);
this.zzh = i2;
this.zzi = i3;
this.zzj = str2;
}
public AccountChangeEvent(long j, String str, int i, int i2, String str2) {
this.zze = 1;
this.zzf = j;
this.zzg = (String) Preconditions.checkNotNull(str);
this.zzh = i;
this.zzi = i2;
this.zzj = str2;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
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 String toString() {
int i = this.zzh;
String str = i != 1 ? i != 2 ? i != 3 ? i != 4 ? GrsBaseInfo.CountryCodeSource.UNKNOWN : "RENAMED_TO" : "RENAMED_FROM" : "REMOVED" : "ADDED";
String str2 = this.zzg;
String str3 = this.zzj;
int i2 = 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(i2);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
public int hashCode() {
int i = this.zze;
long j = this.zzf;
String str = this.zzg;
int i2 = this.zzh;
int i3 = this.zzi;
return Objects.hashCode(Integer.valueOf(i), Long.valueOf(j), str, Integer.valueOf(i2), Integer.valueOf(i3), this.zzj);
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof AccountChangeEvent)) {
return false;
}
AccountChangeEvent accountChangeEvent = (AccountChangeEvent) obj;
return 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);
}
public int getEventIndex() {
return this.zzi;
}
public int getChangeType() {
return this.zzh;
}
public String getChangeData() {
return this.zzj;
}
public String getAccountName() {
return this.zzg;
}
}