package com.google.android.gms.internal.p002firebaseauthapi; import com.google.android.gms.internal.p002firebaseauthapi.zzabl; import com.google.android.gms.internal.p002firebaseauthapi.zzabm; import java.io.IOException; import java.io.OutputStream; /* loaded from: classes2.dex */ public abstract class zzabm, BuilderType extends zzabl> implements zzaek { protected int zza = 0; @Override // com.google.android.gms.internal.p002firebaseauthapi.zzaek public final zzacc zzo() { try { int zzs = zzs(); zzacc zzaccVar = zzacc.zzb; byte[] bArr = new byte[zzs]; zzacn zzG = zzacn.zzG(bArr); zzI(zzG); zzG.zzI(); return new zzabz(bArr); } catch (IOException e) { throw new RuntimeException("Serializing " + getClass().getName() + " to a ByteString threw an IOException (should never happen).", e); } } public final void zzp(OutputStream outputStream) throws IOException { zzacn zzH = zzacn.zzH(outputStream, zzacn.zzB(zzs())); zzI(zzH); zzH.zzN(); } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzaek public final byte[] zzq() { try { byte[] bArr = new byte[zzs()]; zzacn zzG = zzacn.zzG(bArr); zzI(zzG); zzG.zzI(); return bArr; } catch (IOException e) { throw new RuntimeException("Serializing " + getClass().getName() + " to a byte array threw an IOException (should never happen).", e); } } /* JADX INFO: Access modifiers changed from: package-private */ public int zzn(zzaew zzaewVar) { throw null; } }