35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
package com.google.android.libraries.places.internal;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zzafx implements zzage {
|
|
private final zzage[] zza;
|
|
|
|
@Override // com.google.android.libraries.places.internal.zzage
|
|
public final zzagd zzb(Class cls) {
|
|
zzage[] zzageVarArr = this.zza;
|
|
for (int i = 0; i < 2; i++) {
|
|
zzage zzageVar = zzageVarArr[i];
|
|
if (zzageVar.zzc(cls)) {
|
|
return zzageVar.zzb(cls);
|
|
}
|
|
}
|
|
throw new UnsupportedOperationException("No factory is available for message type: ".concat(String.valueOf(cls.getName())));
|
|
}
|
|
|
|
@Override // com.google.android.libraries.places.internal.zzage
|
|
public final boolean zzc(Class cls) {
|
|
zzage[] zzageVarArr = this.zza;
|
|
for (int i = 0; i < 2; i++) {
|
|
if (zzageVarArr[i].zzc(cls)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzafx(zzage... zzageVarArr) {
|
|
this.zza = zzageVarArr;
|
|
}
|
|
}
|