package e4;

import com.google.protobuf.AbstractC1300d;

/* JADX INFO: loaded from: classes3.dex */
public final class K0 extends com.google.protobuf.L implements L0 {
    public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4;
    private static final K0 DEFAULT_INSTANCE;
    public static final int DELETE_FIELD_NUMBER = 2;
    private static volatile com.google.protobuf.B0 PARSER = null;
    public static final int TRANSFORM_FIELD_NUMBER = 6;
    public static final int UPDATE_FIELD_NUMBER = 1;
    public static final int UPDATE_MASK_FIELD_NUMBER = 3;
    public static final int UPDATE_TRANSFORMS_FIELD_NUMBER = 7;
    public static final int VERIFY_FIELD_NUMBER = 5;
    private int bitField0_;
    private L currentDocument_;
    private Object operation_;
    private C2006v updateMask_;
    private int operationCase_ = 0;
    private com.google.protobuf.Y updateTransforms_ = com.google.protobuf.L.emptyProtobufList();

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

    public static void f(K0 k02, C2006v c2006v) {
        k02.getClass();
        c2006v.getClass();
        k02.updateMask_ = c2006v;
        k02.bitField0_ |= 1;
    }

    public static void g(K0 k02, C2010z c2010z) {
        k02.getClass();
        c2010z.getClass();
        com.google.protobuf.Y y6 = k02.updateTransforms_;
        if (!((AbstractC1300d) y6).f14257a) {
            k02.updateTransforms_ = com.google.protobuf.L.mutableCopy(y6);
        }
        k02.updateTransforms_.add(c2010z);
    }

    public static void h(K0 k02, r rVar) {
        k02.getClass();
        rVar.getClass();
        k02.operation_ = rVar;
        k02.operationCase_ = 1;
    }

    public static void i(K0 k02, L l) {
        k02.getClass();
        l.getClass();
        k02.currentDocument_ = l;
        k02.bitField0_ |= 2;
    }

    public static void j(K0 k02, String str) {
        k02.getClass();
        str.getClass();
        k02.operationCase_ = 2;
        k02.operation_ = str;
    }

    public static void k(K0 k02, String str) {
        k02.getClass();
        str.getClass();
        k02.operationCase_ = 5;
        k02.operation_ = str;
    }

    public static I0 x() {
        return (I0) DEFAULT_INSTANCE.createBuilder();
    }

    public static I0 y(K0 k02) {
        return (I0) DEFAULT_INSTANCE.createBuilder(k02);
    }

    public static K0 z(byte[] bArr) {
        return (K0) com.google.protobuf.L.parseFrom(DEFAULT_INSTANCE, bArr);
    }

    @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\u0007\u0001\u0001\u0001\u0007\u0007\u0000\u0001\u0000\u0001<\u0000\u0002Ȼ\u0000\u0003ဉ\u0000\u0004ဉ\u0001\u0005Ȼ\u0000\u0006<\u0000\u0007\u001b", new Object[]{"operation_", "operationCase_", "bitField0_", r.class, "updateMask_", "currentDocument_", C1968A.class, "updateTransforms_", C2010z.class});
            case 3:
                return new K0();
            case 4:
                return new I0(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.protobuf.B0 b02 = PARSER;
                if (b02 != null) {
                    return b02;
                }
                synchronized (K0.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 L l() {
        L l = this.currentDocument_;
        return l == null ? L.i() : l;
    }

    public final String m() {
        return this.operationCase_ == 2 ? (String) this.operation_ : "";
    }

    public final J0 n() {
        int i6 = this.operationCase_;
        if (i6 == 0) {
            return J0.f16295e;
        }
        if (i6 == 1) {
            return J0.f16291a;
        }
        if (i6 == 2) {
            return J0.f16292b;
        }
        if (i6 == 5) {
            return J0.f16293c;
        }
        if (i6 != 6) {
            return null;
        }
        return J0.f16294d;
    }

    public final C1968A o() {
        return this.operationCase_ == 6 ? (C1968A) this.operation_ : C1968A.f();
    }

    public final r p() {
        return this.operationCase_ == 1 ? (r) this.operation_ : r.i();
    }

    public final C2006v q() {
        C2006v c2006v = this.updateMask_;
        return c2006v == null ? C2006v.g() : c2006v;
    }

    public final com.google.protobuf.Y r() {
        return this.updateTransforms_;
    }

    public final String s() {
        return this.operationCase_ == 5 ? (String) this.operation_ : "";
    }

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

    public final boolean u() {
        return this.operationCase_ == 6;
    }

    public final boolean v() {
        return this.operationCase_ == 1;
    }

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