what-the-bank/sources/com/google/android/gms/auth/api/accounttransfer/zzo.java

117 lines
4.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.auth.api.accounttransfer;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.server.response.FastJsonResponse;
import com.google.android.gms.internal.auth.zzaz;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import o.nyh;
/* loaded from: classes.dex */
public class zzo extends zzaz {
public static final Parcelable.Creator<zzo> CREATOR = new zzp();
private static final nyh<String, FastJsonResponse.Field<?, ?>> zzbe;
private List<String> zzbf;
private List<String> zzbg;
private List<String> zzbh;
private List<String> zzbi;
private List<String> zzbj;
private final int zzv;
public zzo() {
this.zzv = 1;
}
@Override // com.google.android.gms.common.server.response.FastJsonResponse
public boolean isFieldSet(FastJsonResponse.Field field) {
return true;
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzo(int i, List<String> list, List<String> list2, List<String> list3, List<String> list4, List<String> list5) {
this.zzv = i;
this.zzbf = list;
this.zzbg = list2;
this.zzbh = list3;
this.zzbi = list4;
this.zzbj = list5;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 1, this.zzv);
SafeParcelWriter.writeStringList(parcel, 2, this.zzbf, false);
SafeParcelWriter.writeStringList(parcel, 3, this.zzbg, false);
SafeParcelWriter.writeStringList(parcel, 4, this.zzbh, false);
SafeParcelWriter.writeStringList(parcel, 5, this.zzbi, false);
SafeParcelWriter.writeStringList(parcel, 6, this.zzbj, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Override // com.google.android.gms.common.server.response.FastJsonResponse
public Object getFieldValue(FastJsonResponse.Field field) {
switch (field.getSafeParcelableFieldId()) {
case 1:
return Integer.valueOf(this.zzv);
case 2:
return this.zzbf;
case 3:
return this.zzbg;
case 4:
return this.zzbh;
case 5:
return this.zzbi;
case 6:
return this.zzbj;
default:
int safeParcelableFieldId = field.getSafeParcelableFieldId();
StringBuilder sb = new StringBuilder(37);
sb.append("Unknown SafeParcelable id=");
sb.append(safeParcelableFieldId);
throw new IllegalStateException(sb.toString());
}
}
@Override // com.google.android.gms.common.server.response.FastJsonResponse
public void setStringsInternal(FastJsonResponse.Field<?, ?> field, String str, ArrayList<String> arrayList) {
int safeParcelableFieldId = field.getSafeParcelableFieldId();
if (safeParcelableFieldId == 2) {
this.zzbf = arrayList;
return;
}
if (safeParcelableFieldId == 3) {
this.zzbg = arrayList;
return;
}
if (safeParcelableFieldId == 4) {
this.zzbh = arrayList;
} else if (safeParcelableFieldId == 5) {
this.zzbi = arrayList;
} else {
if (safeParcelableFieldId != 6) {
throw new IllegalArgumentException(String.format("Field with id=%d is not known to be a string list.", Integer.valueOf(safeParcelableFieldId)));
}
this.zzbj = arrayList;
}
}
static {
nyh<String, FastJsonResponse.Field<?, ?>> nyhVar = new nyh<>();
zzbe = nyhVar;
nyhVar.put("registered", FastJsonResponse.Field.forStrings("registered", 2));
nyhVar.put("in_progress", FastJsonResponse.Field.forStrings("in_progress", 3));
nyhVar.put("success", FastJsonResponse.Field.forStrings("success", 4));
nyhVar.put("failed", FastJsonResponse.Field.forStrings("failed", 5));
nyhVar.put("escrowed", FastJsonResponse.Field.forStrings("escrowed", 6));
}
@Override // com.google.android.gms.common.server.response.FastJsonResponse
public Map<String, FastJsonResponse.Field<?, ?>> getFieldMappings() {
return zzbe;
}
}