what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzud.java

35 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
import com.google.android.gms.internal.firebase_ml.zzue;
/* loaded from: classes2.dex */
final class zzud implements zzvn {
private static final zzud zzbog = new zzud();
private zzud() {
}
@Override // com.google.android.gms.internal.firebase_ml.zzvn
public final boolean zzg(Class<?> cls) {
return zzue.class.isAssignableFrom(cls);
}
@Override // com.google.android.gms.internal.firebase_ml.zzvn
public final zzvm zzh(Class<?> cls) {
if (!zzue.class.isAssignableFrom(cls)) {
String valueOf = String.valueOf(cls.getName());
throw new IllegalArgumentException(valueOf.length() != 0 ? "Unsupported message type: ".concat(valueOf) : new String("Unsupported message type: "));
}
try {
return (zzvm) zzue.zzi(cls.asSubclass(zzue.class)).zza(zzue.zzf.zzboq, (Object) null, (Object) null);
} catch (Exception e) {
String valueOf2 = String.valueOf(cls.getName());
throw new RuntimeException(valueOf2.length() != 0 ? "Unable to get message info for ".concat(valueOf2) : new String("Unable to get message info for "), e);
}
}
public static zzud zzqw() {
return zzbog;
}
}