package o; import com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException; import o.AbstractC16345ndh; /* loaded from: classes2.dex */ public final class kUb extends AbstractC16345ndh implements InterfaceC11565ehj { private static final kUb DEFAULT_INSTANCE; public static final int KEY_SIZE_FIELD_NUMBER = 2; public static final int PARAMS_FIELD_NUMBER = 1; private static volatile Zyo PARSER = null; public static final int VERSION_FIELD_NUMBER = 3; public int keySize_; public C15809ilo params_; private int version_; private kUb() { } public static kUb d(jra jraVar, C1458aEp c1458aEp) throws InvalidProtocolBufferException { return (kUb) AbstractC16345ndh.d(DEFAULT_INSTANCE, jraVar, c1458aEp); } public static IeS c() { return DEFAULT_INSTANCE.f(); } /* loaded from: classes2.dex */ public static final class IeS extends AbstractC16345ndh.LWm implements InterfaceC11565ehj { /* synthetic */ IeS(byte b) { this(); } private IeS() { super(kUb.DEFAULT_INSTANCE); } public final IeS b(C15809ilo c15809ilo) { j(); ((kUb) this.a).params_ = c15809ilo; return this; } public final IeS e(int i) { j(); ((kUb) this.a).keySize_ = i; return this; } } /* renamed from: o.kUb$4, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass4 { 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 (AnonymousClass4.b[ojq.ordinal()]) { case 1: return new kUb(); case 2: return new IeS((byte) 0); case 3: return new BsA(DEFAULT_INSTANCE, "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\t\u0002\u000b\u0003\u000b", new Object[]{"params_", "keySize_", "version_"}); case 4: return DEFAULT_INSTANCE; case 5: Zyo zyo2 = PARSER; if (zyo2 != null) { return zyo2; } synchronized (kUb.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 { kUb kub = new kUb(); DEFAULT_INSTANCE = kub; AbstractC16345ndh.b(kUb.class, kub); } public static kUb e() { return DEFAULT_INSTANCE; } }