package com.google.android.gms.internal.clearcut; import com.google.android.gms.internal.clearcut.zzas; import com.google.android.gms.internal.clearcut.zzat; import java.io.IOException; /* loaded from: classes2.dex */ public abstract class zzas, BuilderType extends zzat> implements zzdo { private static boolean zzey = false; protected int zzex = 0; /* JADX INFO: Access modifiers changed from: package-private */ public int zzs() { throw new UnsupportedOperationException(); } @Override // com.google.android.gms.internal.clearcut.zzdo public final zzbb zzr() { try { zzbg zzk = zzbb.zzk(zzas()); zzb(zzk.zzae()); return zzk.zzad(); } catch (IOException e) { String name = getClass().getName(); StringBuilder sb = new StringBuilder(String.valueOf(name).length() + 72); sb.append("Serializing "); sb.append(name); sb.append(" to a ByteString threw an IOException (should never happen)."); throw new RuntimeException(sb.toString(), e); } } /* JADX INFO: Access modifiers changed from: package-private */ public void zzf(int i) { throw new UnsupportedOperationException(); } }