package e4;

import com.google.protobuf.AbstractC1300d;
import com.google.protobuf.InterfaceC1334u0;

/* JADX INFO: loaded from: classes3.dex */
public final class u0 extends com.google.protobuf.L implements InterfaceC1334u0 {
    private static final u0 DEFAULT_INSTANCE;
    public static final int END_AT_FIELD_NUMBER = 8;
    public static final int FROM_FIELD_NUMBER = 2;
    public static final int LIMIT_FIELD_NUMBER = 5;
    public static final int OFFSET_FIELD_NUMBER = 6;
    public static final int ORDER_BY_FIELD_NUMBER = 4;
    private static volatile com.google.protobuf.B0 PARSER = null;
    public static final int SELECT_FIELD_NUMBER = 1;
    public static final int START_AT_FIELD_NUMBER = 7;
    public static final int WHERE_FIELD_NUMBER = 3;
    private int bitField0_;
    private C1997o endAt_;
    private com.google.protobuf.N limit_;
    private int offset_;
    private C2002q0 select_;
    private C1997o startAt_;
    private C1996n0 where_;
    private com.google.protobuf.Y from_ = com.google.protobuf.L.emptyProtobufList();
    private com.google.protobuf.Y orderBy_ = com.google.protobuf.L.emptyProtobufList();

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

    public static void f(u0 u0Var, C1972b0 c1972b0) {
        u0Var.getClass();
        c1972b0.getClass();
        com.google.protobuf.Y y6 = u0Var.from_;
        if (!((AbstractC1300d) y6).f14257a) {
            u0Var.from_ = com.google.protobuf.L.mutableCopy(y6);
        }
        u0Var.from_.add(c1972b0);
    }

    public static void g(u0 u0Var, C1996n0 c1996n0) {
        u0Var.getClass();
        c1996n0.getClass();
        u0Var.where_ = c1996n0;
        u0Var.bitField0_ |= 2;
    }

    public static void h(u0 u0Var, C2000p0 c2000p0) {
        u0Var.getClass();
        c2000p0.getClass();
        com.google.protobuf.Y y6 = u0Var.orderBy_;
        if (!((AbstractC1300d) y6).f14257a) {
            u0Var.orderBy_ = com.google.protobuf.L.mutableCopy(y6);
        }
        u0Var.orderBy_.add(c2000p0);
    }

    public static void i(u0 u0Var, C1997o c1997o) {
        u0Var.getClass();
        c1997o.getClass();
        u0Var.startAt_ = c1997o;
        u0Var.bitField0_ |= 4;
    }

    public static void j(u0 u0Var, C1997o c1997o) {
        u0Var.getClass();
        c1997o.getClass();
        u0Var.endAt_ = c1997o;
        u0Var.bitField0_ |= 8;
    }

    public static void k(u0 u0Var, com.google.protobuf.N n6) {
        u0Var.getClass();
        n6.getClass();
        u0Var.limit_ = n6;
        u0Var.bitField0_ |= 16;
    }

    public static u0 l() {
        return DEFAULT_INSTANCE;
    }

    public static Z y() {
        return (Z) 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\b\u0000\u0001\u0001\b\b\u0000\u0002\u0000\u0001ဉ\u0000\u0002\u001b\u0003ဉ\u0001\u0004\u001b\u0005ဉ\u0004\u0006\u0004\u0007ဉ\u0002\bဉ\u0003", new Object[]{"bitField0_", "select_", "from_", C1972b0.class, "where_", "orderBy_", C2000p0.class, "limit_", "offset_", "startAt_", "endAt_"});
            case 3:
                return new u0();
            case 4:
                return new Z(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.protobuf.B0 b02 = PARSER;
                if (b02 != null) {
                    return b02;
                }
                synchronized (u0.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 C1997o m() {
        C1997o c1997o = this.endAt_;
        return c1997o == null ? C1997o.i() : c1997o;
    }

    public final C1972b0 n() {
        return (C1972b0) this.from_.get(0);
    }

    public final int o() {
        return this.from_.size();
    }

    public final com.google.protobuf.N p() {
        com.google.protobuf.N n6 = this.limit_;
        return n6 == null ? com.google.protobuf.N.g() : n6;
    }

    public final C2000p0 q(int i6) {
        return (C2000p0) this.orderBy_.get(i6);
    }

    public final int r() {
        return this.orderBy_.size();
    }

    public final C1997o s() {
        C1997o c1997o = this.startAt_;
        return c1997o == null ? C1997o.i() : c1997o;
    }

    public final C1996n0 t() {
        C1996n0 c1996n0 = this.where_;
        return c1996n0 == null ? C1996n0.j() : c1996n0;
    }

    public final boolean u() {
        return (this.bitField0_ & 8) != 0;
    }

    public final boolean v() {
        return (this.bitField0_ & 16) != 0;
    }

    public final boolean w() {
        return (this.bitField0_ & 4) != 0;
    }

    public final boolean x() {
        return (this.bitField0_ & 2) != 0;
    }
}
