154 lines
4.6 KiB
Java
154 lines
4.6 KiB
Java
|
package o;
|
||
|
|
||
|
import o.KUw;
|
||
|
import o.MTP;
|
||
|
import o.Nvr;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class mnR extends KUw<mnR, HBt> implements VjB {
|
||
|
public static final int DATABASE_FIELD_NUMBER = 1;
|
||
|
private static final mnR DEFAULT_INSTANCE;
|
||
|
public static final int LABELS_FIELD_NUMBER = 5;
|
||
|
private static volatile XgX<mnR> PARSER = null;
|
||
|
public static final int STREAM_ID_FIELD_NUMBER = 2;
|
||
|
public static final int STREAM_TOKEN_FIELD_NUMBER = 4;
|
||
|
public static final int WRITES_FIELD_NUMBER = 3;
|
||
|
private C16063kpL<String, String> labels_ = C16063kpL.a();
|
||
|
private String database_ = "";
|
||
|
private String streamId_ = "";
|
||
|
private MTP.RVV<JsL> writes_ = emptyProtobufList();
|
||
|
private QwV streamToken_ = QwV.a;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
static final class IeS {
|
||
|
static final xdS<String, String> d = new xdS<>(Nvr.HBt.STRING, "", Nvr.HBt.STRING, "");
|
||
|
}
|
||
|
|
||
|
private mnR() {
|
||
|
}
|
||
|
|
||
|
public static HBt d() {
|
||
|
return DEFAULT_INSTANCE.createBuilder();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public static final class HBt extends KUw.LWm<mnR, HBt> implements VjB {
|
||
|
/* synthetic */ HBt(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
|
||
|
private HBt() {
|
||
|
super(mnR.DEFAULT_INSTANCE);
|
||
|
}
|
||
|
|
||
|
public final HBt a(String str) {
|
||
|
copyOnWrite();
|
||
|
((mnR) this.instance).database_ = str;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public final HBt d(JsL jsL) {
|
||
|
copyOnWrite();
|
||
|
mnR.d((mnR) this.instance, jsL);
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public final HBt b(QwV qwV) {
|
||
|
copyOnWrite();
|
||
|
((mnR) this.instance).streamToken_ = qwV;
|
||
|
return this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.mnR$3, reason: invalid class name */
|
||
|
/* loaded from: classes2.dex */
|
||
|
static /* synthetic */ class AnonymousClass3 {
|
||
|
static final int[] c;
|
||
|
|
||
|
static {
|
||
|
int[] iArr = new int[KUw.ojQ.values().length];
|
||
|
c = iArr;
|
||
|
try {
|
||
|
iArr[KUw.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1;
|
||
|
} catch (NoSuchFieldError unused) {
|
||
|
}
|
||
|
try {
|
||
|
c[KUw.ojQ.NEW_BUILDER.ordinal()] = 2;
|
||
|
} catch (NoSuchFieldError unused2) {
|
||
|
}
|
||
|
try {
|
||
|
c[KUw.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3;
|
||
|
} catch (NoSuchFieldError unused3) {
|
||
|
}
|
||
|
try {
|
||
|
c[KUw.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4;
|
||
|
} catch (NoSuchFieldError unused4) {
|
||
|
}
|
||
|
try {
|
||
|
c[KUw.ojQ.GET_PARSER.ordinal()] = 5;
|
||
|
} catch (NoSuchFieldError unused5) {
|
||
|
}
|
||
|
try {
|
||
|
c[KUw.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6;
|
||
|
} catch (NoSuchFieldError unused6) {
|
||
|
}
|
||
|
try {
|
||
|
c[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 (AnonymousClass3.c[ojq.ordinal()]) {
|
||
|
case 1:
|
||
|
return new mnR();
|
||
|
case 2:
|
||
|
return new HBt((byte) 0);
|
||
|
case 3:
|
||
|
return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0001\u0001\u0000\u0001Ȉ\u0002Ȉ\u0003\u001b\u0004\n\u00052", new Object[]{"database_", "streamId_", "writes_", JsL.class, "streamToken_", "labels_", IeS.d});
|
||
|
case 4:
|
||
|
return DEFAULT_INSTANCE;
|
||
|
case 5:
|
||
|
XgX<mnR> xgX2 = PARSER;
|
||
|
if (xgX2 != null) {
|
||
|
return xgX2;
|
||
|
}
|
||
|
synchronized (mnR.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 {
|
||
|
mnR mnr = new mnR();
|
||
|
DEFAULT_INSTANCE = mnr;
|
||
|
KUw.registerDefaultInstance(mnR.class, mnr);
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void d(mnR mnr, JsL jsL) {
|
||
|
MTP.RVV<JsL> rvv = mnr.writes_;
|
||
|
if (!rvv.e()) {
|
||
|
mnr.writes_ = KUw.mutableCopy(rvv);
|
||
|
}
|
||
|
mnr.writes_.add(jsL);
|
||
|
}
|
||
|
|
||
|
public static mnR e() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
}
|