alexandroid/decompiled/jadx/sources/com/google/android/gms/auth/AccountChangeEvent.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

119 lines
4.2 KiB
Java

package com.google.android.gms.auth;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.biometric.ErrorUtils$$ExternalSyntheticOutline0;
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;
import org.apache.commons.text.StringSubstitutor;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@SafeParcelable.Class(creator = "AccountChangeEventCreator")
/* loaded from: classes7.dex */
public class AccountChangeEvent extends AbstractSafeParcelable {
@NonNull
public static final Parcelable.Creator<AccountChangeEvent> CREATOR = new zza();
@SafeParcelable.VersionField(id = 1)
final int zza;
@SafeParcelable.Field(id = 2)
final long zzb;
@SafeParcelable.Field(id = 3)
final String zzc;
@SafeParcelable.Field(id = 4)
final int zzd;
@SafeParcelable.Field(id = 5)
final int zze;
@SafeParcelable.Field(id = 6)
final String zzf;
public AccountChangeEvent(long j, @NonNull String str, int i, int i2, @NonNull String str2) {
this.zza = 1;
this.zzb = j;
this.zzc = (String) Preconditions.checkNotNull(str);
this.zzd = i;
this.zze = i2;
this.zzf = str2;
}
public boolean equals(@Nullable Object obj) {
if (!(obj instanceof AccountChangeEvent)) {
return false;
}
if (obj == this) {
return true;
}
AccountChangeEvent accountChangeEvent = (AccountChangeEvent) obj;
return this.zza == accountChangeEvent.zza && this.zzb == accountChangeEvent.zzb && Objects.equal(this.zzc, accountChangeEvent.zzc) && this.zzd == accountChangeEvent.zzd && this.zze == accountChangeEvent.zze && Objects.equal(this.zzf, accountChangeEvent.zzf);
}
@NonNull
public String getAccountName() {
return this.zzc;
}
@NonNull
public String getChangeData() {
return this.zzf;
}
public int getChangeType() {
return this.zzd;
}
public int getEventIndex() {
return this.zze;
}
public int hashCode() {
return Objects.hashCode(Integer.valueOf(this.zza), Long.valueOf(this.zzb), this.zzc, Integer.valueOf(this.zzd), Integer.valueOf(this.zze), this.zzf);
}
@NonNull
public String toString() {
int i = this.zzd;
String str = i != 1 ? i != 2 ? i != 3 ? i != 4 ? "UNKNOWN" : "RENAMED_TO" : "RENAMED_FROM" : "REMOVED" : "ADDED";
String str2 = this.zzc;
String str3 = this.zzf;
int i2 = this.zze;
StringBuilder m = ErrorUtils$$ExternalSyntheticOutline0.m("AccountChangeEvent {accountName = ", str2, ", changeType = ", str, ", changeData = ");
m.append(str3);
m.append(", eventIndex = ");
m.append(i2);
m.append(StringSubstitutor.DEFAULT_VAR_END);
return m.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(@NonNull Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 1, this.zza);
SafeParcelWriter.writeLong(parcel, 2, this.zzb);
SafeParcelWriter.writeString(parcel, 3, this.zzc, false);
SafeParcelWriter.writeInt(parcel, 4, this.zzd);
SafeParcelWriter.writeInt(parcel, 5, this.zze);
SafeParcelWriter.writeString(parcel, 6, this.zzf, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@SafeParcelable.Constructor
public AccountChangeEvent(@SafeParcelable.Param(id = 1) int i, @SafeParcelable.Param(id = 2) long j, @SafeParcelable.Param(id = 3) String str, @SafeParcelable.Param(id = 4) int i2, @SafeParcelable.Param(id = 5) int i3, @SafeParcelable.Param(id = 6) String str2) {
this.zza = i;
this.zzb = j;
this.zzc = (String) Preconditions.checkNotNull(str);
this.zzd = i2;
this.zze = i3;
this.zzf = str2;
}
}