79 lines
3.0 KiB
Java
79 lines
3.0 KiB
Java
|
package com.google.android.gms.auth;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import android.text.TextUtils;
|
||
|
import com.google.android.gms.common.internal.Objects;
|
||
|
import com.google.android.gms.common.internal.Preconditions;
|
||
|
import com.google.android.gms.common.internal.ReflectedParcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class TokenData extends AbstractSafeParcelable implements ReflectedParcelable {
|
||
|
public static final Parcelable.Creator<TokenData> CREATOR = new zzk();
|
||
|
private final List<String> zzaa;
|
||
|
private final String zzab;
|
||
|
private final int zzv;
|
||
|
private final String zzw;
|
||
|
private final Long zzx;
|
||
|
private final boolean zzy;
|
||
|
private final boolean zzz;
|
||
|
|
||
|
public static TokenData zza(Bundle bundle, String str) {
|
||
|
bundle.setClassLoader(TokenData.class.getClassLoader());
|
||
|
Bundle bundle2 = bundle.getBundle(str);
|
||
|
if (bundle2 == null) {
|
||
|
return null;
|
||
|
}
|
||
|
bundle2.setClassLoader(TokenData.class.getClassLoader());
|
||
|
return (TokenData) bundle2.getParcelable("TokenData");
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public TokenData(int i, String str, Long l, boolean z, boolean z2, List<String> list, String str2) {
|
||
|
this.zzv = i;
|
||
|
this.zzw = Preconditions.checkNotEmpty(str);
|
||
|
this.zzx = l;
|
||
|
this.zzy = z;
|
||
|
this.zzz = z2;
|
||
|
this.zzaa = list;
|
||
|
this.zzab = str2;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (!(obj instanceof TokenData)) {
|
||
|
return false;
|
||
|
}
|
||
|
TokenData tokenData = (TokenData) obj;
|
||
|
return TextUtils.equals(this.zzw, tokenData.zzw) && Objects.equal(this.zzx, tokenData.zzx) && this.zzy == tokenData.zzy && this.zzz == tokenData.zzz && Objects.equal(this.zzaa, tokenData.zzaa) && Objects.equal(this.zzab, tokenData.zzab);
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
String str = this.zzw;
|
||
|
Long l = this.zzx;
|
||
|
boolean z = this.zzy;
|
||
|
boolean z2 = this.zzz;
|
||
|
return Objects.hashCode(str, l, Boolean.valueOf(z), Boolean.valueOf(z2), this.zzaa, this.zzab);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public void writeToParcel(Parcel parcel, int i) {
|
||
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||
|
SafeParcelWriter.writeInt(parcel, 1, this.zzv);
|
||
|
SafeParcelWriter.writeString(parcel, 2, this.zzw, false);
|
||
|
SafeParcelWriter.writeLongObject(parcel, 3, this.zzx, false);
|
||
|
SafeParcelWriter.writeBoolean(parcel, 4, this.zzy);
|
||
|
SafeParcelWriter.writeBoolean(parcel, 5, this.zzz);
|
||
|
SafeParcelWriter.writeStringList(parcel, 6, this.zzaa, false);
|
||
|
SafeParcelWriter.writeString(parcel, 7, this.zzab, false);
|
||
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||
|
}
|
||
|
|
||
|
public final String zzb() {
|
||
|
return this.zzw;
|
||
|
}
|
||
|
}
|