- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
24 lines
757 B
Java
24 lines
757 B
Java
package com.google.protobuf;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class NewInstanceSchemas {
|
|
private static final NewInstanceSchema FULL_SCHEMA = loadSchemaForFullRuntime();
|
|
private static final NewInstanceSchema LITE_SCHEMA = new NewInstanceSchemaLite();
|
|
|
|
public static NewInstanceSchema full() {
|
|
return FULL_SCHEMA;
|
|
}
|
|
|
|
public static NewInstanceSchema lite() {
|
|
return LITE_SCHEMA;
|
|
}
|
|
|
|
private static NewInstanceSchema loadSchemaForFullRuntime() {
|
|
try {
|
|
return (NewInstanceSchema) Class.forName("com.google.protobuf.NewInstanceSchemaFull").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
|
|
} catch (Exception unused) {
|
|
return null;
|
|
}
|
|
}
|
|
}
|