package o; import com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException; import o.AbstractC16345ndh; /* loaded from: classes2.dex */ public final class nnS extends AbstractC16345ndh implements KnZ { private static final nnS DEFAULT_INSTANCE; public static final int PARAMS_FIELD_NUMBER = 2; private static volatile Zyo PARSER = null; public static final int VERSION_FIELD_NUMBER = 1; public C16344ndQ params_; public int version_; private nnS() { } public static nnS d(jra jraVar, C1458aEp c1458aEp) throws InvalidProtocolBufferException { return (nnS) AbstractC16345ndh.d(DEFAULT_INSTANCE, jraVar, c1458aEp); } public static HBt d() { return DEFAULT_INSTANCE.f(); } /* loaded from: classes2.dex */ public static final class HBt extends AbstractC16345ndh.LWm implements KnZ { /* synthetic */ HBt(byte b) { this(); } private HBt() { super(nnS.DEFAULT_INSTANCE); } public final HBt a() { j(); ((nnS) this.a).version_ = 0; return this; } public final HBt e(C16344ndQ c16344ndQ) { j(); ((nnS) this.a).params_ = c16344ndQ; return this; } } /* renamed from: o.nnS$2, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass2 { static final int[] b; static { int[] iArr = new int[AbstractC16345ndh.ojQ.values().length]; b = iArr; try { iArr[AbstractC16345ndh.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { b[AbstractC16345ndh.ojQ.NEW_BUILDER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { b[AbstractC16345ndh.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { b[AbstractC16345ndh.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { b[AbstractC16345ndh.ojQ.GET_PARSER.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { b[AbstractC16345ndh.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { b[AbstractC16345ndh.ojQ.SET_MEMOIZED_IS_INITIALIZED.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } } } @Override // o.AbstractC16345ndh public final Object b(AbstractC16345ndh.ojQ ojq) { Zyo zyo; switch (AnonymousClass2.b[ojq.ordinal()]) { case 1: return new nnS(); case 2: return new HBt((byte) 0); case 3: return new BsA(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u000b\u0002\t", new Object[]{"version_", "params_"}); case 4: return DEFAULT_INSTANCE; case 5: Zyo zyo2 = PARSER; if (zyo2 != null) { return zyo2; } synchronized (nnS.class) { zyo = PARSER; if (zyo == null) { zyo = new AbstractC16345ndh.IeS(DEFAULT_INSTANCE); PARSER = zyo; } } return zyo; case 6: return (byte) 1; case 7: return null; default: throw new UnsupportedOperationException(); } } static { nnS nns = new nnS(); DEFAULT_INSTANCE = nns; AbstractC16345ndh.b(nnS.class, nns); } }