- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
69 lines
1.9 KiB
Java
69 lines
1.9 KiB
Java
package com.fyber.inneractive.sdk.protobuf;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class g0 {
|
|
public static final a b = new a();
|
|
public final n0 a;
|
|
|
|
public class a implements n0 {
|
|
@Override // com.fyber.inneractive.sdk.protobuf.n0
|
|
public final m0 a(Class<?> cls) {
|
|
throw new IllegalStateException("This should never be called.");
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.n0
|
|
public final boolean b(Class<?> cls) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public static class b implements n0 {
|
|
public final n0[] a;
|
|
|
|
public b(n0... n0VarArr) {
|
|
this.a = n0VarArr;
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.n0
|
|
public final m0 a(Class<?> cls) {
|
|
for (n0 n0Var : this.a) {
|
|
if (n0Var.b(cls)) {
|
|
return n0Var.a(cls);
|
|
}
|
|
}
|
|
throw new UnsupportedOperationException("No factory is available for message type: ".concat(cls.getName()));
|
|
}
|
|
|
|
@Override // com.fyber.inneractive.sdk.protobuf.n0
|
|
public final boolean b(Class<?> cls) {
|
|
for (n0 n0Var : this.a) {
|
|
if (n0Var.b(cls)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public g0() {
|
|
this(a());
|
|
}
|
|
|
|
public static b a() {
|
|
n0 n0Var;
|
|
n0[] n0VarArr = new n0[2];
|
|
n0VarArr[0] = w.a;
|
|
try {
|
|
n0Var = (n0) Class.forName("com.google.protobuf.DescriptorMessageInfoFactory").getDeclaredMethod("getInstance", new Class[0]).invoke(null, new Object[0]);
|
|
} catch (Exception unused) {
|
|
n0Var = b;
|
|
}
|
|
n0VarArr[1] = n0Var;
|
|
return new b(n0VarArr);
|
|
}
|
|
|
|
public g0(b bVar) {
|
|
this.a = (n0) y.a(bVar, "messageInfoFactory");
|
|
}
|
|
}
|