package o; import o.CoM; import o.KUw; import o.MTP; /* loaded from: classes2.dex */ public final class ksi extends KUw implements Mhm { private static final ksi DEFAULT_INSTANCE; public static final int DOCUMENTS_FIELD_NUMBER = 3; public static final int ONCE_FIELD_NUMBER = 6; private static volatile XgX PARSER = null; public static final int QUERY_FIELD_NUMBER = 2; public static final int READ_TIME_FIELD_NUMBER = 11; public static final int RESUME_TOKEN_FIELD_NUMBER = 4; public static final int TARGET_ID_FIELD_NUMBER = 5; private boolean once_; private Object resumeType_; private int targetId_; private Object targetType_; private int targetTypeCase_ = 0; private int resumeTypeCase_ = 0; private ksi() { } /* loaded from: classes2.dex */ public static final class RVV extends KUw implements InterfaceC17544xeb { private static final RVV DEFAULT_INSTANCE; public static final int DOCUMENTS_FIELD_NUMBER = 2; private static volatile XgX PARSER; public MTP.RVV documents_ = KUw.emptyProtobufList(); private RVV() { } public static Sts b() { return DEFAULT_INSTANCE.createBuilder(); } /* loaded from: classes2.dex */ public static final class Sts extends KUw.LWm implements InterfaceC17544xeb { /* synthetic */ Sts(byte b) { this(); } private Sts() { super(RVV.DEFAULT_INSTANCE); } public final Sts d(String str) { copyOnWrite(); RVV.b((RVV) this.instance, str); return this; } } @Override // o.KUw public final Object dynamicMethod(KUw.ojQ ojq, Object obj, Object obj2) { XgX xgX; switch (AnonymousClass5.a[ojq.ordinal()]) { case 1: return new RVV(); case 2: return new Sts((byte) 0); case 3: return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0001\u0000\u0000\u0002\u0002\u0001\u0000\u0001\u0000\u0002Ț", new Object[]{"documents_"}); case 4: return DEFAULT_INSTANCE; case 5: XgX xgX2 = PARSER; if (xgX2 != null) { return xgX2; } synchronized (RVV.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 { RVV rvv = new RVV(); DEFAULT_INSTANCE = rvv; KUw.registerDefaultInstance(RVV.class, rvv); } static /* synthetic */ void b(RVV rvv, String str) { MTP.RVV rvv2 = rvv.documents_; if (!rvv2.e()) { rvv.documents_ = KUw.mutableCopy(rvv2); } rvv.documents_.add(str); } public static RVV d() { return DEFAULT_INSTANCE; } } /* renamed from: o.ksi$5, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass5 { 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) { } } } /* loaded from: classes2.dex */ public static final class Sts extends KUw implements Rfk { private static final Sts DEFAULT_INSTANCE; public static final int PARENT_FIELD_NUMBER = 1; private static volatile XgX PARSER = null; public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; public Object queryType_; public int queryTypeCase_ = 0; public String parent_ = ""; private Sts() { } public static RVV e() { return DEFAULT_INSTANCE.createBuilder(); } /* loaded from: classes2.dex */ public static final class RVV extends KUw.LWm implements Rfk { /* synthetic */ RVV(byte b) { this(); } private RVV() { super(Sts.DEFAULT_INSTANCE); } public final RVV c(String str) { copyOnWrite(); ((Sts) this.instance).parent_ = str; return this; } public final RVV c(CoM.IeS ieS) { copyOnWrite(); Sts.c((Sts) this.instance, ieS.build()); return this; } } @Override // o.KUw public final Object dynamicMethod(KUw.ojQ ojq, Object obj, Object obj2) { XgX xgX; switch (AnonymousClass5.a[ojq.ordinal()]) { case 1: return new Sts(); case 2: return new RVV((byte) 0); case 3: return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001Ȉ\u0002<\u0000", new Object[]{"queryType_", "queryTypeCase_", "parent_", CoM.class}); case 4: return DEFAULT_INSTANCE; case 5: XgX xgX2 = PARSER; if (xgX2 != null) { return xgX2; } synchronized (Sts.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 { Sts sts = new Sts(); DEFAULT_INSTANCE = sts; KUw.registerDefaultInstance(Sts.class, sts); } static /* synthetic */ void c(Sts sts, CoM coM) { sts.queryType_ = coM; sts.queryTypeCase_ = 2; } public static Sts c() { return DEFAULT_INSTANCE; } } public static HBt b() { return DEFAULT_INSTANCE.createBuilder(); } /* loaded from: classes2.dex */ public static final class HBt extends KUw.LWm implements Mhm { /* synthetic */ HBt(byte b) { this(); } private HBt() { super(ksi.DEFAULT_INSTANCE); } public final HBt b(Sts sts) { copyOnWrite(); ksi.a((ksi) this.instance, sts); return this; } public final HBt a(RVV rvv) { copyOnWrite(); ksi.a((ksi) this.instance, rvv); return this; } public final HBt d(QwV qwV) { copyOnWrite(); ksi.b((ksi) this.instance, qwV); return this; } public final HBt c(AQX aqx) { copyOnWrite(); ksi.c((ksi) this.instance, aqx); return this; } public final HBt b(int i) { copyOnWrite(); ((ksi) this.instance).targetId_ = i; return this; } } @Override // o.KUw public final Object dynamicMethod(KUw.ojQ ojq, Object obj, Object obj2) { XgX xgX; switch (AnonymousClass5.a[ojq.ordinal()]) { case 1: return new ksi(); case 2: return new HBt((byte) 0); case 3: return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0006\u0002\u0000\u0002\u000b\u0006\u0000\u0000\u0000\u0002<\u0000\u0003<\u0000\u0004=\u0001\u0005\u0004\u0006\u0007\u000b<\u0001", new Object[]{"targetType_", "targetTypeCase_", "resumeType_", "resumeTypeCase_", Sts.class, RVV.class, "targetId_", "once_", AQX.class}); case 4: return DEFAULT_INSTANCE; case 5: XgX xgX2 = PARSER; if (xgX2 != null) { return xgX2; } synchronized (ksi.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 { ksi ksiVar = new ksi(); DEFAULT_INSTANCE = ksiVar; KUw.registerDefaultInstance(ksi.class, ksiVar); } static /* synthetic */ void a(ksi ksiVar, Sts sts) { ksiVar.targetType_ = sts; ksiVar.targetTypeCase_ = 2; } static /* synthetic */ void a(ksi ksiVar, RVV rvv) { ksiVar.targetType_ = rvv; ksiVar.targetTypeCase_ = 3; } static /* synthetic */ void b(ksi ksiVar, QwV qwV) { ksiVar.resumeTypeCase_ = 4; ksiVar.resumeType_ = qwV; } static /* synthetic */ void c(ksi ksiVar, AQX aqx) { ksiVar.resumeType_ = aqx; ksiVar.resumeTypeCase_ = 11; } }