package e4;

import com.google.protobuf.AbstractC1298c;
import com.google.protobuf.AbstractC1300d;
import java.util.List;

/* JADX INFO: renamed from: e4.d, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C1975d extends com.google.protobuf.L implements InterfaceC1977e {
    private static final C1975d DEFAULT_INSTANCE;
    private static volatile com.google.protobuf.B0 PARSER = null;
    public static final int VALUES_FIELD_NUMBER = 1;
    private com.google.protobuf.Y values_ = com.google.protobuf.L.emptyProtobufList();

    static {
        C1975d c1975d = new C1975d();
        DEFAULT_INSTANCE = c1975d;
        com.google.protobuf.L.registerDefaultInstance(C1975d.class, c1975d);
    }

    public static void f(C1975d c1975d, H0 h0) {
        c1975d.getClass();
        h0.getClass();
        com.google.protobuf.Y y6 = c1975d.values_;
        if (!((AbstractC1300d) y6).f14257a) {
            c1975d.values_ = com.google.protobuf.L.mutableCopy(y6);
        }
        c1975d.values_.add(h0);
    }

    public static void g(C1975d c1975d, List list) {
        com.google.protobuf.Y y6 = c1975d.values_;
        if (!((AbstractC1300d) y6).f14257a) {
            c1975d.values_ = com.google.protobuf.L.mutableCopy(y6);
        }
        AbstractC1298c.addAll((Iterable) list, (List) c1975d.values_);
    }

    public static void h(C1975d c1975d, int i6) {
        com.google.protobuf.Y y6 = c1975d.values_;
        if (!((AbstractC1300d) y6).f14257a) {
            c1975d.values_ = com.google.protobuf.L.mutableCopy(y6);
        }
        c1975d.values_.remove(i6);
    }

    public static C1975d i() {
        return DEFAULT_INSTANCE;
    }

    public static C1973c l() {
        return (C1973c) DEFAULT_INSTANCE.createBuilder();
    }

    @Override // e4.InterfaceC1977e
    public final List a() {
        return this.values_;
    }

    @Override // com.google.protobuf.L
    public final Object dynamicMethod(com.google.protobuf.K k6, Object obj, Object obj2) {
        com.google.protobuf.B0 h5;
        switch (k6.ordinal()) {
            case 0:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return com.google.protobuf.L.newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b", new Object[]{"values_", H0.class});
            case 3:
                return new C1975d();
            case 4:
                return new C1973c(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.protobuf.B0 b02 = PARSER;
                if (b02 != null) {
                    return b02;
                }
                synchronized (C1975d.class) {
                    try {
                        h5 = PARSER;
                        if (h5 == null) {
                            h5 = new com.google.protobuf.H(DEFAULT_INSTANCE);
                            PARSER = h5;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return h5;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final H0 j(int i6) {
        return (H0) this.values_.get(i6);
    }

    public final int k() {
        return this.values_.size();
    }
}
