package com.google.android.gms.internal.drive; import com.google.android.gms.internal.drive.zzit; import com.google.android.gms.internal.drive.zziu; import java.io.IOException; /* loaded from: classes3.dex */ public abstract class zzit, BuilderType extends zziu> implements zzlq { private static boolean zznf = false; protected int zzne = 0; @Override // com.google.android.gms.internal.drive.zzlq public final zzjc zzbl() { try { zzjk zzu = zzjc.zzu(zzcx()); zzb(zzu.zzby()); return zzu.zzbx(); } catch (IOException e) { String name = getClass().getName(); StringBuilder sb = new StringBuilder(name.length() + 62 + "ByteString".length()); sb.append("Serializing "); sb.append(name); sb.append(" to a "); sb.append("ByteString"); sb.append(" threw an IOException (should never happen)."); throw new RuntimeException(sb.toString(), e); } } public final byte[] toByteArray() { try { byte[] bArr = new byte[zzcx()]; zzjr zzb = zzjr.zzb(bArr); zzb(zzb); zzb.zzcb(); return bArr; } catch (IOException e) { String name = getClass().getName(); StringBuilder sb = new StringBuilder(name.length() + 62 + "byte array".length()); sb.append("Serializing "); sb.append(name); sb.append(" to a "); sb.append("byte array"); sb.append(" threw an IOException (should never happen)."); throw new RuntimeException(sb.toString(), e); } } public int zzbm() { throw new UnsupportedOperationException(); } public void zzo(int i) { throw new UnsupportedOperationException(); } }