package o; import com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException; import o.AbstractC16345ndh; import o.oZe; /* loaded from: classes2.dex */ public final class Yzk extends AbstractC16345ndh implements JVT { private static final Yzk DEFAULT_INSTANCE; public static final int KEY_FIELD_NUMBER = 2; private static volatile Zyo PARSER = null; public static final int PRIMARY_KEY_ID_FIELD_NUMBER = 1; public oZe.tOB key_ = Fhc.b(); public int primaryKeyId_; private Yzk() { } /* loaded from: classes2.dex */ public static final class IeS extends AbstractC16345ndh implements InterfaceC0854QSz { private static final IeS DEFAULT_INSTANCE; public static final int KEY_DATA_FIELD_NUMBER = 1; public static final int KEY_ID_FIELD_NUMBER = 3; public static final int OUTPUT_PREFIX_TYPE_FIELD_NUMBER = 4; private static volatile Zyo PARSER = null; public static final int STATUS_FIELD_NUMBER = 2; public NZO keyData_; public int keyId_; public int outputPrefixType_; public int status_; private IeS() { } public static LWm e() { return DEFAULT_INSTANCE.f(); } /* loaded from: classes2.dex */ public static final class LWm extends AbstractC16345ndh.LWm implements InterfaceC0854QSz { /* synthetic */ LWm(byte b) { this(); } private LWm() { super(IeS.DEFAULT_INSTANCE); } public final LWm e(NZO nzo) { j(); ((IeS) this.a).keyData_ = nzo; return this; } public final LWm d(NzM nzM) { j(); IeS.b((IeS) this.a, nzM); return this; } public final LWm c(int i) { j(); ((IeS) this.a).keyId_ = i; return this; } public final LWm c(Umh umh) { j(); IeS.c((IeS) this.a, umh); return this; } } @Override // o.AbstractC16345ndh public final Object b(AbstractC16345ndh.ojQ ojq) { Zyo zyo; switch (AnonymousClass1.d[ojq.ordinal()]) { case 1: return new IeS(); case 2: return new LWm((byte) 0); case 3: return new BsA(DEFAULT_INSTANCE, "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\t\u0002\f\u0003\u000b\u0004\f", new Object[]{"keyData_", "status_", "keyId_", "outputPrefixType_"}); case 4: return DEFAULT_INSTANCE; case 5: Zyo zyo2 = PARSER; if (zyo2 != null) { return zyo2; } synchronized (IeS.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 { IeS ieS = new IeS(); DEFAULT_INSTANCE = ieS; AbstractC16345ndh.b(IeS.class, ieS); } static /* synthetic */ void c(IeS ieS, Umh umh) { if (umh == Umh.UNRECOGNIZED) { throw new IllegalArgumentException("Can't get the number of an unknown enum value."); } ieS.outputPrefixType_ = umh.value; } static /* synthetic */ void b(IeS ieS, NzM nzM) { if (nzM == NzM.UNRECOGNIZED) { throw new IllegalArgumentException("Can't get the number of an unknown enum value."); } ieS.status_ = nzM.value; } } /* renamed from: o.Yzk$1, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass1 { static final int[] d; static { int[] iArr = new int[AbstractC16345ndh.ojQ.values().length]; d = iArr; try { iArr[AbstractC16345ndh.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { d[AbstractC16345ndh.ojQ.NEW_BUILDER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { d[AbstractC16345ndh.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { d[AbstractC16345ndh.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { d[AbstractC16345ndh.ojQ.GET_PARSER.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { d[AbstractC16345ndh.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { d[AbstractC16345ndh.ojQ.SET_MEMOIZED_IS_INITIALIZED.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } } } public static Yzk c(byte[] bArr, C1458aEp c1458aEp) throws InvalidProtocolBufferException { return (Yzk) AbstractC16345ndh.d(DEFAULT_INSTANCE, bArr, c1458aEp); } public static Sts d() { return DEFAULT_INSTANCE.f(); } /* loaded from: classes2.dex */ public static final class Sts extends AbstractC16345ndh.LWm implements JVT { /* synthetic */ Sts(byte b) { this(); } private Sts() { super(Yzk.DEFAULT_INSTANCE); } public final Sts d(int i) { j(); ((Yzk) this.a).primaryKeyId_ = i; return this; } public final Sts c(IeS ieS) { j(); Yzk.a((Yzk) this.a, ieS); return this; } } @Override // o.AbstractC16345ndh public final Object b(AbstractC16345ndh.ojQ ojq) { Zyo zyo; switch (AnonymousClass1.d[ojq.ordinal()]) { case 1: return new Yzk(); case 2: return new Sts((byte) 0); case 3: return new BsA(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u000b\u0002\u001b", new Object[]{"primaryKeyId_", "key_", IeS.class}); case 4: return DEFAULT_INSTANCE; case 5: Zyo zyo2 = PARSER; if (zyo2 != null) { return zyo2; } synchronized (Yzk.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 { Yzk yzk = new Yzk(); DEFAULT_INSTANCE = yzk; AbstractC16345ndh.b(Yzk.class, yzk); } static /* synthetic */ void a(Yzk yzk, IeS ieS) { oZe.tOB tob = yzk.key_; if (!tob.a()) { int size = tob.size(); yzk.key_ = tob.c(size == 0 ? 10 : size << 1); } yzk.key_.add(ieS); } }