package o; import com.google.protobuf.InvalidProtocolBufferException; import o.KUw; import o.MTP; import o.veo; /* loaded from: classes2.dex */ public final class JsL extends KUw implements hfs { public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; private static final JsL DEFAULT_INSTANCE; public static final int DELETE_FIELD_NUMBER = 2; private static volatile XgX 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; public C10521eGo currentDocument_; public Object operation_; public Zhm updateMask_; public int operationCase_ = 0; public MTP.RVV updateTransforms_ = emptyProtobufList(); private JsL() { } /* loaded from: classes2.dex */ public enum HBt { UPDATE(1), DELETE(2), VERIFY(5), TRANSFORM(6), OPERATION_NOT_SET(0); private final int value; HBt(int i) { this.value = i; } public static HBt e(int i) { if (i == 0) { return OPERATION_NOT_SET; } if (i == 1) { return UPDATE; } if (i == 2) { return DELETE; } if (i == 5) { return VERIFY; } if (i != 6) { return null; } return TRANSFORM; } } public static JsL c(byte[] bArr) throws InvalidProtocolBufferException { return (JsL) KUw.parseFrom(DEFAULT_INSTANCE, bArr); } public static LWm c() { return DEFAULT_INSTANCE.createBuilder(); } public static LWm d(JsL jsL) { return DEFAULT_INSTANCE.createBuilder(jsL); } /* loaded from: classes2.dex */ public static final class LWm extends KUw.LWm implements hfs { /* synthetic */ LWm(byte b) { this(); } private LWm() { super(JsL.DEFAULT_INSTANCE); } public final LWm d(SPR spr) { copyOnWrite(); JsL.e((JsL) this.instance, spr); return this; } public final LWm d(String str) { copyOnWrite(); JsL.e((JsL) this.instance, str); return this; } public final LWm c(String str) { copyOnWrite(); JsL.b((JsL) this.instance, str); return this; } public final LWm e(Zhm zhm) { copyOnWrite(); ((JsL) this.instance).updateMask_ = zhm; return this; } public final LWm e(veo.Sts sts) { copyOnWrite(); JsL.b((JsL) this.instance, sts); return this; } public final LWm c(C10521eGo c10521eGo) { copyOnWrite(); ((JsL) this.instance).currentDocument_ = c10521eGo; return this; } } /* renamed from: o.JsL$2, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass2 { static final int[] a; static { int[] iArr = new int[KUw.ojQ.values().length]; a = iArr; try { iArr[KUw.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { a[KUw.ojQ.NEW_BUILDER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { a[KUw.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { a[KUw.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { a[KUw.ojQ.GET_PARSER.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { a[KUw.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { a[KUw.ojQ.SET_MEMOIZED_IS_INITIALIZED.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } } } @Override // o.KUw public final Object dynamicMethod(KUw.ojQ ojq, Object obj, Object obj2) { XgX xgX; switch (AnonymousClass2.a[ojq.ordinal()]) { case 1: return new JsL(); case 2: return new LWm((byte) 0); case 3: return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0007\u0001\u0000\u0001\u0007\u0007\u0000\u0001\u0000\u0001<\u0000\u0002Ȼ\u0000\u0003\t\u0004\t\u0005Ȼ\u0000\u0006<\u0000\u0007\u001b", new Object[]{"operation_", "operationCase_", SPR.class, "updateMask_", "currentDocument_", veo.class, "updateTransforms_", veo.Sts.class}); case 4: return DEFAULT_INSTANCE; case 5: XgX xgX2 = PARSER; if (xgX2 != null) { return xgX2; } synchronized (JsL.class) { xgX = PARSER; if (xgX == null) { xgX = new KUw.HBt(DEFAULT_INSTANCE); PARSER = xgX; } } return xgX; case 6: return (byte) 1; case 7: return null; default: throw new UnsupportedOperationException(); } } static { JsL jsL = new JsL(); DEFAULT_INSTANCE = jsL; KUw.registerDefaultInstance(JsL.class, jsL); } static /* synthetic */ void b(JsL jsL, veo.Sts sts) { MTP.RVV rvv = jsL.updateTransforms_; if (!rvv.e()) { jsL.updateTransforms_ = KUw.mutableCopy(rvv); } jsL.updateTransforms_.add(sts); } static /* synthetic */ void e(JsL jsL, SPR spr) { jsL.operation_ = spr; jsL.operationCase_ = 1; } static /* synthetic */ void e(JsL jsL, String str) { jsL.operationCase_ = 2; jsL.operation_ = str; } static /* synthetic */ void b(JsL jsL, String str) { jsL.operationCase_ = 5; jsL.operation_ = str; } }