package com.google.android.gms.auth.api.proxy; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelReader; /* loaded from: classes.dex */ public final class zza implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ ProxyRequest[] newArray(int i) { return new ProxyRequest[i]; } @Override // android.os.Parcelable.Creator public final /* synthetic */ ProxyRequest createFromParcel(Parcel parcel) { int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel); int i = 0; int i2 = 0; String str = null; byte[] bArr = null; Bundle bundle = null; long j = 0; while (parcel.dataPosition() < validateObjectHeader) { int readHeader = SafeParcelReader.readHeader(parcel); int fieldId = SafeParcelReader.getFieldId(readHeader); if (fieldId == 1) { str = SafeParcelReader.createString(parcel, readHeader); } else if (fieldId == 2) { i2 = SafeParcelReader.readInt(parcel, readHeader); } else if (fieldId == 3) { j = SafeParcelReader.readLong(parcel, readHeader); } else if (fieldId == 4) { bArr = SafeParcelReader.createByteArray(parcel, readHeader); } else if (fieldId == 5) { bundle = SafeParcelReader.createBundle(parcel, readHeader); } else if (fieldId == 1000) { i = SafeParcelReader.readInt(parcel, readHeader); } else { SafeParcelReader.skipUnknownField(parcel, readHeader); } } SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader); return new ProxyRequest(i, str, i2, j, bArr, bundle); } }