package com.google.android.gms.internal.location; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.Objects; import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter; import java.util.Collections; import java.util.List; /* loaded from: classes2.dex */ public final class zzh extends AbstractSafeParcelable { final com.google.android.gms.location.zzw zzc; final List zzd; final String zze; static final List zza = Collections.emptyList(); static final com.google.android.gms.location.zzw zzb = new com.google.android.gms.location.zzw(); public static final Parcelable.Creator CREATOR = new zzi(); /* JADX INFO: Access modifiers changed from: package-private */ public zzh(com.google.android.gms.location.zzw zzwVar, List list, String str) { this.zzc = zzwVar; this.zzd = list; this.zze = str; } public final boolean equals(Object obj) { if (!(obj instanceof zzh)) { return false; } zzh zzhVar = (zzh) obj; return Objects.equal(this.zzc, zzhVar.zzc) && Objects.equal(this.zzd, zzhVar.zzd) && Objects.equal(this.zze, zzhVar.zze); } public final int hashCode() { return this.zzc.hashCode(); } public final String toString() { String valueOf = String.valueOf(this.zzc); String valueOf2 = String.valueOf(this.zzd); String str = this.zze; StringBuilder sb = new StringBuilder(String.valueOf(valueOf).length() + 77 + String.valueOf(valueOf2).length() + String.valueOf(str).length()); sb.append("DeviceOrientationRequestInternal{deviceOrientationRequest="); sb.append(valueOf); sb.append(", clients="); sb.append(valueOf2); sb.append(", tag='"); sb.append(str); sb.append("'}"); return sb.toString(); } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel); SafeParcelWriter.writeParcelable(parcel, 1, this.zzc, i, false); SafeParcelWriter.writeTypedList(parcel, 2, this.zzd, false); SafeParcelWriter.writeString(parcel, 3, this.zze, false); SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader); } }