package com.google.android.gms.internal.vision; import com.google.android.gms.internal.vision.zzfy; /* loaded from: classes2.dex */ public final class zzbo extends zzfy implements zzhh { private static volatile zzhq zzbf; private static final zzbo zzhs; private int zzbg; private int zzhm; private int zzhn; private int zzho; private int zzhp; private boolean zzhq; private long zzhr; private zzbo() { } /* loaded from: classes2.dex */ public static final class zza extends zzfy.zza implements zzhh { private zza() { super(zzbo.zzhs); } public final zza zzi(int i) { zzfc(); ((zzbo) this.zzwn).setWidth(i); return this; } public final zza zzj(int i) { zzfc(); ((zzbo) this.zzwn).setHeight(i); return this; } public final zza zzb(zzbl zzblVar) { zzfc(); ((zzbo) this.zzwn).zza(zzblVar); return this; } public final zza zzb(zzbq zzbqVar) { zzfc(); ((zzbo) this.zzwn).zza(zzbqVar); return this; } public final zza zzc(long j) { zzfc(); ((zzbo) this.zzwn).zzb(j); return this; } /* synthetic */ zza(zzbp zzbpVar) { this(); } } /* JADX INFO: Access modifiers changed from: private */ public final void zza(zzbl zzblVar) { zzblVar.getClass(); this.zzbg |= 4; this.zzho = zzblVar.zzr(); } /* JADX INFO: Access modifiers changed from: private */ public final void zza(zzbq zzbqVar) { zzbqVar.getClass(); this.zzbg |= 8; this.zzhp = zzbqVar.zzr(); } public static zza zzai() { return (zza) ((zzfy.zza) zzhs.zza(zzfy.zzg.zzxb, (Object) null, (Object) null)); } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.google.android.gms.internal.vision.zzfy public final Object zza(int i, Object obj, Object obj2) { zzbp zzbpVar = null; switch (zzbp.zzbc[i - 1]) { case 1: return new zzbo(); case 2: return new zza(zzbpVar); case 3: return zza(zzhs, "\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0004\u0000\u0002\u0004\u0001\u0003\f\u0002\u0004\f\u0003\u0005\u0007\u0004\u0006\u0002\u0005", new Object[]{"zzbg", "zzhm", "zzhn", "zzho", zzbl.zzah(), "zzhp", zzbq.zzah(), "zzhq", "zzhr"}); case 4: return zzhs; case 5: zzhq zzhqVar = zzbf; if (zzhqVar == null) { synchronized (zzbo.class) { zzhqVar = zzbf; if (zzhqVar == null) { zzhqVar = new zzfy.zzb<>(zzhs); zzbf = zzhqVar; } } } return zzhqVar; case 6: return (byte) 1; case 7: return null; default: throw new UnsupportedOperationException(); } } static { zzbo zzboVar = new zzbo(); zzhs = zzboVar; zzfy.zza((Class) zzbo.class, zzboVar); } /* JADX INFO: Access modifiers changed from: private */ public final void zzb(long j) { this.zzbg |= 32; this.zzhr = j; } /* JADX INFO: Access modifiers changed from: private */ public final void setWidth(int i) { this.zzbg |= 1; this.zzhm = i; } /* JADX INFO: Access modifiers changed from: private */ public final void setHeight(int i) { this.zzbg |= 2; this.zzhn = i; } }