85 lines
3.5 KiB
Java
85 lines
3.5 KiB
Java
|
package com.google.android.gms.internal.clearcut;
|
||
|
|
||
|
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.internal.clearcut.zzge;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzr extends AbstractSafeParcelable {
|
||
|
public static final Parcelable.Creator<zzr> CREATOR = new zzs();
|
||
|
private final String packageName;
|
||
|
private final boolean zzay;
|
||
|
private final int zzaz;
|
||
|
private final int zzi;
|
||
|
public final String zzj;
|
||
|
public final int zzk;
|
||
|
private final String zzl;
|
||
|
private final String zzm;
|
||
|
private final boolean zzn;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||
|
SafeParcelWriter.writeString(parcel, 2, this.packageName, false);
|
||
|
SafeParcelWriter.writeInt(parcel, 3, this.zzi);
|
||
|
SafeParcelWriter.writeInt(parcel, 4, this.zzk);
|
||
|
SafeParcelWriter.writeString(parcel, 5, this.zzl, false);
|
||
|
SafeParcelWriter.writeString(parcel, 6, this.zzm, false);
|
||
|
SafeParcelWriter.writeBoolean(parcel, 7, this.zzay);
|
||
|
SafeParcelWriter.writeString(parcel, 8, this.zzj, false);
|
||
|
SafeParcelWriter.writeBoolean(parcel, 9, this.zzn);
|
||
|
SafeParcelWriter.writeInt(parcel, 10, this.zzaz);
|
||
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
return "PlayLoggerContext[package=" + this.packageName + ",packageVersionCode=" + this.zzi + ",logSource=" + this.zzk + ",logSourceName=" + this.zzj + ",uploadAccount=" + this.zzl + ",loggingId=" + this.zzm + ",logAndroidId=" + this.zzay + ",isAnonymous=" + this.zzn + ",qosTier=" + this.zzaz + "]";
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
String str = this.packageName;
|
||
|
int i = this.zzi;
|
||
|
int i2 = this.zzk;
|
||
|
return Objects.hashCode(str, Integer.valueOf(i), Integer.valueOf(i2), this.zzj, this.zzl, this.zzm, Boolean.valueOf(this.zzay), Boolean.valueOf(this.zzn), Integer.valueOf(this.zzaz));
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof zzr)) {
|
||
|
return false;
|
||
|
}
|
||
|
zzr zzrVar = (zzr) obj;
|
||
|
return Objects.equal(this.packageName, zzrVar.packageName) && this.zzi == zzrVar.zzi && this.zzk == zzrVar.zzk && Objects.equal(this.zzj, zzrVar.zzj) && Objects.equal(this.zzl, zzrVar.zzl) && Objects.equal(this.zzm, zzrVar.zzm) && this.zzay == zzrVar.zzay && this.zzn == zzrVar.zzn && this.zzaz == zzrVar.zzaz;
|
||
|
}
|
||
|
|
||
|
public zzr(String str, int i, int i2, String str2, String str3, boolean z, String str4, boolean z2, int i3) {
|
||
|
this.packageName = str;
|
||
|
this.zzi = i;
|
||
|
this.zzk = i2;
|
||
|
this.zzl = str2;
|
||
|
this.zzm = str3;
|
||
|
this.zzay = z;
|
||
|
this.zzj = str4;
|
||
|
this.zzn = z2;
|
||
|
this.zzaz = i3;
|
||
|
}
|
||
|
|
||
|
public zzr(String str, int i, int i2, String str2, String str3, String str4, boolean z, zzge.zzv.zzb zzbVar) {
|
||
|
this.packageName = (String) Preconditions.checkNotNull(str);
|
||
|
this.zzi = i;
|
||
|
this.zzk = i2;
|
||
|
this.zzj = str2;
|
||
|
this.zzl = str3;
|
||
|
this.zzm = str4;
|
||
|
this.zzay = !z;
|
||
|
this.zzn = z;
|
||
|
this.zzaz = zzbVar.zzc();
|
||
|
}
|
||
|
}
|