what-the-bank/sources/o/ldG.java

154 lines
4.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Map;
import o.KUw;
import o.Nvr;
/* loaded from: classes2.dex */
public final class ldG extends KUw<ldG, RVV> implements InterfaceC17380wKL {
private static final ldG DEFAULT_INSTANCE;
public static final int FIELDS_FIELD_NUMBER = 1;
private static volatile XgX<ldG> PARSER;
public C16063kpL<String, sbb> fields_ = C16063kpL.a();
/* loaded from: classes2.dex */
static final class HBt {
static final xdS<String, sbb> d = new xdS<>(Nvr.HBt.STRING, "", Nvr.HBt.MESSAGE, sbb.a());
}
private ldG() {
}
public static RVV a() {
return DEFAULT_INSTANCE.createBuilder();
}
/* loaded from: classes2.dex */
public static final class RVV extends KUw.LWm<ldG, RVV> implements InterfaceC17380wKL {
/* synthetic */ RVV(byte b) {
this();
}
private RVV() {
super(ldG.DEFAULT_INSTANCE);
}
public final RVV e(String str) {
copyOnWrite();
ldG.e((ldG) this.instance).remove(str);
return this;
}
public final RVV b(String str, sbb sbbVar) {
copyOnWrite();
ldG.e((ldG) this.instance).put(str, sbbVar);
return this;
}
public final RVV a(Map<String, sbb> map) {
copyOnWrite();
ldG.e((ldG) this.instance).putAll(map);
return this;
}
}
/* renamed from: o.ldG$4, reason: invalid class name */
/* loaded from: classes2.dex */
static /* synthetic */ class AnonymousClass4 {
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 (AnonymousClass4.c[ojq.ordinal()]) {
case 1:
return new ldG();
case 2:
return new RVV((byte) 0);
case 3:
return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u00012", new Object[]{"fields_", HBt.d});
case 4:
return DEFAULT_INSTANCE;
case 5:
XgX<ldG> xgX2 = PARSER;
if (xgX2 != null) {
return xgX2;
}
synchronized (ldG.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 {
ldG ldg = new ldG();
DEFAULT_INSTANCE = ldg;
KUw.registerDefaultInstance(ldG.class, ldg);
}
static /* synthetic */ Map e(ldG ldg) {
if (!ldg.fields_.a) {
C16063kpL<String, sbb> c16063kpL = ldg.fields_;
ldg.fields_ = c16063kpL.isEmpty() ? new C16063kpL<>() : new C16063kpL<>(c16063kpL);
}
return ldg.fields_;
}
public final sbb b(String str) {
C16063kpL<String, sbb> c16063kpL = this.fields_;
if (!c16063kpL.containsKey(str)) {
throw new IllegalArgumentException();
}
return c16063kpL.get(str);
}
public static ldG d() {
return DEFAULT_INSTANCE;
}
}