package c4;

import com.google.protobuf.AbstractC1300d;
import com.google.protobuf.B0;
import com.google.protobuf.H;
import com.google.protobuf.InterfaceC1334u0;
import com.google.protobuf.K;
import com.google.protobuf.L;
import com.google.protobuf.Y;

/* JADX INFO: renamed from: c4.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C1247g extends L implements InterfaceC1334u0 {
    private static final C1247g DEFAULT_INSTANCE;
    public static final int FIELDS_FIELD_NUMBER = 3;
    public static final int NAME_FIELD_NUMBER = 1;
    private static volatile B0 PARSER = null;
    public static final int QUERY_SCOPE_FIELD_NUMBER = 2;
    public static final int STATE_FIELD_NUMBER = 4;
    private int queryScope_;
    private int state_;
    private String name_ = "";
    private Y fields_ = L.emptyProtobufList();

    static {
        C1247g c1247g = new C1247g();
        DEFAULT_INSTANCE = c1247g;
        L.registerDefaultInstance(C1247g.class, c1247g);
    }

    public static void f(C1247g c1247g) {
        EnumC1246f enumC1246f = EnumC1246f.COLLECTION_GROUP;
        c1247g.getClass();
        c1247g.queryScope_ = enumC1246f.getNumber();
    }

    public static void g(C1247g c1247g, C1245e c1245e) {
        c1247g.getClass();
        c1245e.getClass();
        Y y6 = c1247g.fields_;
        if (!((AbstractC1300d) y6).f14257a) {
            c1247g.fields_ = L.mutableCopy(y6);
        }
        c1247g.fields_.add(c1245e);
    }

    public static C1241a i() {
        return (C1241a) DEFAULT_INSTANCE.createBuilder();
    }

    public static C1247g j(byte[] bArr) {
        return (C1247g) L.parseFrom(DEFAULT_INSTANCE, bArr);
    }

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

    public final Y h() {
        return this.fields_;
    }
}
