package e4;

import com.google.protobuf.C1323o0;
import com.google.protobuf.InterfaceC1334u0;
import java.util.Collections;
import java.util.Map;

/* JADX INFO: loaded from: classes3.dex */
public final class J extends com.google.protobuf.L implements InterfaceC1334u0 {
    private static final J DEFAULT_INSTANCE;
    public static final int FIELDS_FIELD_NUMBER = 1;
    private static volatile com.google.protobuf.B0 PARSER;
    private C1323o0 fields_ = C1323o0.f14322b;

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

    public static C1323o0 f(J j4) {
        C1323o0 c1323o0 = j4.fields_;
        if (!c1323o0.f14323a) {
            j4.fields_ = c1323o0.c();
        }
        return j4.fields_;
    }

    public static J g() {
        return DEFAULT_INSTANCE;
    }

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

    @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\u0001\u0000\u0000\u00012", new Object[]{"fields_", I.f16290a});
            case 3:
                return new J();
            case 4:
                return new H(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.protobuf.B0 b02 = PARSER;
                if (b02 != null) {
                    return b02;
                }
                synchronized (J.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 int h() {
        return this.fields_.size();
    }

    public final Map i() {
        return Collections.unmodifiableMap(this.fields_);
    }

    public final H0 j(String str) {
        str.getClass();
        C1323o0 c1323o0 = this.fields_;
        if (c1323o0.containsKey(str)) {
            return (H0) c1323o0.get(str);
        }
        return null;
    }

    public final H0 k(String str) {
        str.getClass();
        C1323o0 c1323o0 = this.fields_;
        if (c1323o0.containsKey(str)) {
            return (H0) c1323o0.get(str);
        }
        throw new IllegalArgumentException();
    }
}
