what-the-bank/sources/com/google/android/gms/internal/clearcut/zzdf.java

33 lines
1.0 KiB
Java

package com.google.android.gms.internal.clearcut;
/* loaded from: classes2.dex */
final class zzdf implements zzdn {
private zzdn[] zzma;
@Override // com.google.android.gms.internal.clearcut.zzdn
public final zzdm zzb(Class<?> cls) {
for (zzdn zzdnVar : this.zzma) {
if (zzdnVar.zza(cls)) {
return zzdnVar.zzb(cls);
}
}
String valueOf = String.valueOf(cls.getName());
throw new UnsupportedOperationException(valueOf.length() != 0 ? "No factory is available for message type: ".concat(valueOf) : new String("No factory is available for message type: "));
}
@Override // com.google.android.gms.internal.clearcut.zzdn
public final boolean zza(Class<?> cls) {
for (zzdn zzdnVar : this.zzma) {
if (zzdnVar.zza(cls)) {
return true;
}
}
return false;
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzdf(zzdn... zzdnVarArr) {
this.zzma = zzdnVarArr;
}
}