package com.google.android.gms.internal.measurement; import com.google.android.gms.internal.measurement.zzsx; import com.google.android.gms.internal.measurement.zzsy; import java.io.IOException; /* loaded from: classes.dex */ public abstract class zzsx, BuilderType extends zzsy> implements zzvv { private static boolean zzbtj = false; protected int zzbti = 0; void a(int i) { throw new UnsupportedOperationException(); } @Override // com.google.android.gms.internal.measurement.zzvv public final zzte g() { try { zztm zzao = zzte.zzao(h()); a(zzao.b()); return zzao.a(); } catch (IOException e) { String name = getClass().getName(); StringBuilder sb = new StringBuilder(String.valueOf(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); } } int j() { throw new UnsupportedOperationException(); } }