package com.google.android.gms.internal.play_billing; import com.google.android.gms.internal.play_billing.zzax; import com.google.android.gms.internal.play_billing.zzay; import java.io.IOException; /* loaded from: classes.dex */ public abstract class zzay, BuilderType extends zzax> implements zzec { protected int zza = 0; int zza(zzeo zzeoVar) { throw null; } @Override // com.google.android.gms.internal.play_billing.zzec public final zzbq zzb() { try { int zzf = zzf(); zzbq zzbqVar = zzbq.zzb; byte[] bArr = new byte[zzf]; zzby zzy = zzby.zzy(bArr, 0, zzf); zze(zzy); zzy.zzz(); return new zzbn(bArr); } catch (IOException e10) { throw new RuntimeException("Serializing " + getClass().getName() + " to a ByteString threw an IOException (should never happen).", e10); } } public final byte[] zzc() { try { int zzf = zzf(); byte[] bArr = new byte[zzf]; zzby zzy = zzby.zzy(bArr, 0, zzf); zze(zzy); zzy.zzz(); return bArr; } catch (IOException e10) { throw new RuntimeException("Serializing " + getClass().getName() + " to a byte array threw an IOException (should never happen).", e10); } } }