package o; import o.KUw; import o.MTP; /* loaded from: classes2.dex */ public final class PeW extends KUw implements InterfaceC1142WnC { public static final int BEFORE_FIELD_NUMBER = 2; private static final PeW DEFAULT_INSTANCE; private static volatile XgX PARSER = null; public static final int VALUES_FIELD_NUMBER = 1; public boolean before_; public MTP.RVV values_ = emptyProtobufList(); private PeW() { } public static HBt e() { return DEFAULT_INSTANCE.createBuilder(); } /* loaded from: classes2.dex */ public static final class HBt extends KUw.LWm implements InterfaceC1142WnC { /* synthetic */ HBt(byte b) { this(); } private HBt() { super(PeW.DEFAULT_INSTANCE); } public final HBt e(Iterable iterable) { copyOnWrite(); PeW.d((PeW) this.instance, iterable); return this; } public final HBt b(boolean z) { copyOnWrite(); ((PeW) this.instance).before_ = z; return this; } } /* renamed from: o.PeW$5, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass5 { static final int[] d; static { int[] iArr = new int[KUw.ojQ.values().length]; d = iArr; try { iArr[KUw.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { d[KUw.ojQ.NEW_BUILDER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { d[KUw.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { d[KUw.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { d[KUw.ojQ.GET_PARSER.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { d[KUw.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { d[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 (AnonymousClass5.d[ojq.ordinal()]) { case 1: return new PeW(); case 2: return new HBt((byte) 0); case 3: return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u0007", new Object[]{"values_", sbb.class, "before_"}); case 4: return DEFAULT_INSTANCE; case 5: XgX xgX2 = PARSER; if (xgX2 != null) { return xgX2; } synchronized (PeW.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 { PeW peW = new PeW(); DEFAULT_INSTANCE = peW; KUw.registerDefaultInstance(PeW.class, peW); } static /* synthetic */ void d(PeW peW, Iterable iterable) { MTP.RVV rvv = peW.values_; if (!rvv.e()) { peW.values_ = KUw.mutableCopy(rvv); } AbstractC5573bvc.addAll(iterable, peW.values_); } public static PeW c() { return DEFAULT_INSTANCE; } }