package e4;

import com.google.protobuf.C1304f;
import com.google.protobuf.InterfaceC1334u0;

/* JADX INFO: loaded from: classes3.dex */
public final class G extends com.google.protobuf.L implements InterfaceC1334u0 {
    private static final G DEFAULT_INSTANCE;
    public static final int DOCUMENT_CHANGE_FIELD_NUMBER = 3;
    public static final int DOCUMENT_DELETE_FIELD_NUMBER = 4;
    public static final int DOCUMENT_REMOVE_FIELD_NUMBER = 6;
    public static final int FILTER_FIELD_NUMBER = 5;
    private static volatile com.google.protobuf.B0 PARSER = null;
    public static final int TARGET_CHANGE_FIELD_NUMBER = 2;
    private int responseTypeCase_ = 0;
    private Object responseType_;

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

    public static G f() {
        return DEFAULT_INSTANCE;
    }

    @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\u0005\u0001\u0000\u0002\u0006\u0005\u0000\u0000\u0000\u0002<\u0000\u0003<\u0000\u0004<\u0000\u0005<\u0000\u0006<\u0000", new Object[]{"responseType_", "responseTypeCase_", C0.class, C2003s.class, C2004t.class, B.class, C2007w.class});
            case 3:
                return new G();
            case 4:
                return new C1304f(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.protobuf.B0 b02 = PARSER;
                if (b02 != null) {
                    return b02;
                }
                synchronized (G.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 C2003s g() {
        return this.responseTypeCase_ == 3 ? (C2003s) this.responseType_ : C2003s.f();
    }

    public final C2004t h() {
        return this.responseTypeCase_ == 4 ? (C2004t) this.responseType_ : C2004t.f();
    }

    public final C2007w i() {
        return this.responseTypeCase_ == 6 ? (C2007w) this.responseType_ : C2007w.f();
    }

    public final B j() {
        return this.responseTypeCase_ == 5 ? (B) this.responseType_ : B.g();
    }

    public final int k() {
        int i6 = this.responseTypeCase_;
        if (i6 == 0) {
            return 6;
        }
        if (i6 == 2) {
            return 1;
        }
        int i7 = 3;
        if (i6 == 3) {
            return 2;
        }
        if (i6 != 4) {
            i7 = 5;
            if (i6 != 5) {
                return i6 != 6 ? 0 : 4;
            }
        }
        return i7;
    }

    public final C0 l() {
        return this.responseTypeCase_ == 2 ? (C0) this.responseType_ : C0.g();
    }
}
