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

277 lines
8.7 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;
import java.util.Iterator;
/* loaded from: classes2.dex */
public final class zzqs {
/* loaded from: classes2.dex */
public static final class zza extends zzue<zza, C0014zza> implements zzvq {
private static final zzum<Integer, zzsk> zzbbb = new zzqu();
private static final zza zzbbc;
private static volatile zzvz<zza> zzbm;
private zzul zzbba = zzqz();
private zza() {
}
/* renamed from: com.google.android.gms.internal.firebase_ml.zzqs$zza$zza, reason: collision with other inner class name */
/* loaded from: classes2.dex */
public static final class C0014zza extends zzue.zza<zza, C0014zza> implements zzvq {
private C0014zza() {
super(zza.zzbbc);
}
public final C0014zza zzp(Iterable<? extends zzsk> iterable) {
zzrf();
((zza) this.zzbol).zzo(iterable);
return this;
}
/* synthetic */ C0014zza(zzqt zzqtVar) {
this();
}
}
/* JADX INFO: Access modifiers changed from: private */
public final void zzo(Iterable<? extends zzsk> iterable) {
if (!this.zzbba.zzps()) {
this.zzbba = zzue.zza(this.zzbba);
}
Iterator<? extends zzsk> it = iterable.iterator();
while (it.hasNext()) {
this.zzbba.zzdh(it.next().zzo());
}
}
public static C0014zza zzof() {
return zzbbc.zzqx();
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // com.google.android.gms.internal.firebase_ml.zzue
public final Object zza(int i, Object obj, Object obj2) {
zzqt zzqtVar = null;
switch (zzqt.zzbn[i - 1]) {
case 1:
return new zza();
case 2:
return new C0014zza(zzqtVar);
case 3:
return zza(zzbbc, "\u0001\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001e", new Object[]{"zzbba", zzsk.zzq()});
case 4:
return zzbbc;
case 5:
zzvz<zza> zzvzVar = zzbm;
if (zzvzVar == null) {
synchronized (zza.class) {
zzvzVar = zzbm;
if (zzvzVar == null) {
zzvzVar = new zzue.zzb<>(zzbbc);
zzbm = zzvzVar;
}
}
}
return zzvzVar;
case 6:
return (byte) 1;
case 7:
return null;
default:
throw new UnsupportedOperationException();
}
}
static {
zza zzaVar = new zza();
zzbbc = zzaVar;
zzue.zza((Class<zza>) zza.class, zzaVar);
}
}
/* loaded from: classes2.dex */
public static final class zzb extends zzue<zzb, zza> implements zzvq {
private static final zzb zzbbh;
private static volatile zzvz<zzb> zzbm;
private float zzajg;
private int zzbbd;
private int zzbbe;
private boolean zzbbf;
private boolean zzbbg;
private int zzbg;
private int zzgd;
private zzb() {
}
/* loaded from: classes2.dex */
public static final class zza extends zzue.zza<zzb, zza> implements zzvq {
private zza() {
super(zzb.zzbbh);
}
/* synthetic */ zza(zzqt zzqtVar) {
this();
}
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // com.google.android.gms.internal.firebase_ml.zzue
public final Object zza(int i, Object obj, Object obj2) {
zzqt zzqtVar = null;
switch (zzqt.zzbn[i - 1]) {
case 1:
return new zzb();
case 2:
return new zza(zzqtVar);
case 3:
return zza(zzbbh, "\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\f\u0000\u0002\f\u0001\u0003\f\u0002\u0004\u0007\u0003\u0005\u0007\u0004\u0006\u0001\u0005", new Object[]{"zzbg", "zzgd", zzd.zzq(), "zzbbd", zzc.zzq(), "zzbbe", EnumC0015zzb.zzq(), "zzbbf", "zzbbg", "zzajg"});
case 4:
return zzbbh;
case 5:
zzvz<zzb> zzvzVar = zzbm;
if (zzvzVar == null) {
synchronized (zzb.class) {
zzvzVar = zzbm;
if (zzvzVar == null) {
zzvzVar = new zzue.zzb<>(zzbbh);
zzbm = zzvzVar;
}
}
}
return zzvzVar;
case 6:
return (byte) 1;
case 7:
return null;
default:
throw new UnsupportedOperationException();
}
}
/* renamed from: com.google.android.gms.internal.firebase_ml.zzqs$zzb$zzb, reason: collision with other inner class name */
/* loaded from: classes2.dex */
public enum EnumC0015zzb implements zzuh {
CLASSIFICATION_UNKNOWN(0),
CLASSIFICATION_NONE(1),
CLASSIFICATION_ALL(2);
private static final zzui<EnumC0015zzb> zzbe = new zzqv();
private final int value;
public static zzuj zzq() {
return zzqw.zzbs;
}
EnumC0015zzb(int i) {
this.value = i;
}
@Override // com.google.android.gms.internal.firebase_ml.zzuh
public final int zzo() {
return this.value;
}
public static EnumC0015zzb zzbv(int i) {
if (i == 0) {
return CLASSIFICATION_UNKNOWN;
}
if (i == 1) {
return CLASSIFICATION_NONE;
}
if (i != 2) {
return null;
}
return CLASSIFICATION_ALL;
}
}
/* loaded from: classes2.dex */
public enum zzc implements zzuh {
LANDMARK_UNKNOWN(0),
LANDMARK_NONE(1),
LANDMARK_ALL(2),
LANDMARK_CONTOUR(3);
private static final zzui<zzc> zzbe = new zzqx();
private final int value;
public static zzuj zzq() {
return zzqy.zzbs;
}
zzc(int i) {
this.value = i;
}
@Override // com.google.android.gms.internal.firebase_ml.zzuh
public final int zzo() {
return this.value;
}
public static zzc zzbw(int i) {
if (i == 0) {
return LANDMARK_UNKNOWN;
}
if (i == 1) {
return LANDMARK_NONE;
}
if (i == 2) {
return LANDMARK_ALL;
}
if (i != 3) {
return null;
}
return LANDMARK_CONTOUR;
}
}
/* loaded from: classes2.dex */
public enum zzd implements zzuh {
MODE_UNKNOWN(0),
MODE_ACCURATE(1),
MODE_FAST(2),
MODE_SELFIE(3);
private static final zzui<zzd> zzbe = new zzqz();
private final int value;
public static zzuj zzq() {
return zzra.zzbs;
}
zzd(int i) {
this.value = i;
}
@Override // com.google.android.gms.internal.firebase_ml.zzuh
public final int zzo() {
return this.value;
}
public static zzd zzbx(int i) {
if (i == 0) {
return MODE_UNKNOWN;
}
if (i == 1) {
return MODE_ACCURATE;
}
if (i == 2) {
return MODE_FAST;
}
if (i != 3) {
return null;
}
return MODE_SELFIE;
}
}
static {
zzb zzbVar = new zzb();
zzbbh = zzbVar;
zzue.zza((Class<zzb>) zzb.class, zzbVar);
}
}
}