package o; import o.KUw; import o.MTP; /* loaded from: classes2.dex */ public final class NSZ extends KUw implements WTF { public static final int CODE_FIELD_NUMBER = 1; private static final NSZ DEFAULT_INSTANCE; public static final int DETAILS_FIELD_NUMBER = 3; public static final int MESSAGE_FIELD_NUMBER = 2; private static volatile XgX PARSER; public int code_; public String message_ = ""; private MTP.RVV details_ = emptyProtobufList(); private NSZ() { } /* loaded from: classes2.dex */ public static final class HBt extends KUw.LWm implements WTF { /* synthetic */ HBt(byte b) { this(); } private HBt() { super(NSZ.DEFAULT_INSTANCE); } } /* renamed from: o.NSZ$3, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass3 { static final int[] b; static { int[] iArr = new int[KUw.ojQ.values().length]; b = iArr; try { iArr[KUw.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { b[KUw.ojQ.NEW_BUILDER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { b[KUw.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { b[KUw.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { b[KUw.ojQ.GET_PARSER.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { b[KUw.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { b[KUw.ojQ.SET_MEMOIZED_IS_INITIALIZED.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } } } @Override // o.KUw public final Object dynamicMethod(KUw.ojQ ojq, Object obj, Object obj2) { XgX xgX; switch (AnonymousClass3.b[ojq.ordinal()]) { case 1: return new NSZ(); case 2: return new HBt((byte) 0); case 3: return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0001\u0000\u0001\u0004\u0002Ȉ\u0003\u001b", new Object[]{"code_", "message_", "details_", ljJ.class}); case 4: return DEFAULT_INSTANCE; case 5: XgX xgX2 = PARSER; if (xgX2 != null) { return xgX2; } synchronized (NSZ.class) { xgX = PARSER; if (xgX == null) { xgX = new KUw.HBt(DEFAULT_INSTANCE); PARSER = xgX; } } return xgX; case 6: return (byte) 1; case 7: return null; default: throw new UnsupportedOperationException(); } } static { NSZ nsz = new NSZ(); DEFAULT_INSTANCE = nsz; KUw.registerDefaultInstance(NSZ.class, nsz); } public static NSZ e() { return DEFAULT_INSTANCE; } }