what-the-bank/sources/com/google/android/gms/measurement/internal/zzkw.java

76 lines
3.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.measurement.internal;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
/* loaded from: classes.dex */
public final class zzkw implements Parcelable.Creator<zzkv> {
/* JADX INFO: Access modifiers changed from: package-private */
public static void zza(zzkv zzkvVar, Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeInt(parcel, 1, zzkvVar.zza);
SafeParcelWriter.writeString(parcel, 2, zzkvVar.zzb, false);
SafeParcelWriter.writeLong(parcel, 3, zzkvVar.zzc);
SafeParcelWriter.writeLongObject(parcel, 4, zzkvVar.zzd, false);
SafeParcelWriter.writeFloatObject(parcel, 5, null, false);
SafeParcelWriter.writeString(parcel, 6, zzkvVar.zze, false);
SafeParcelWriter.writeString(parcel, 7, zzkvVar.zzf, false);
SafeParcelWriter.writeDoubleObject(parcel, 8, zzkvVar.zzg, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzkv createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
int i = 0;
String str = null;
Long l = null;
Float f = null;
String str2 = null;
String str3 = null;
Double d = null;
long j = 0;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
switch (SafeParcelReader.getFieldId(readHeader)) {
case 1:
i = SafeParcelReader.readInt(parcel, readHeader);
break;
case 2:
str = SafeParcelReader.createString(parcel, readHeader);
break;
case 3:
j = SafeParcelReader.readLong(parcel, readHeader);
break;
case 4:
l = SafeParcelReader.readLongObject(parcel, readHeader);
break;
case 5:
f = SafeParcelReader.readFloatObject(parcel, readHeader);
break;
case 6:
str2 = SafeParcelReader.createString(parcel, readHeader);
break;
case 7:
str3 = SafeParcelReader.createString(parcel, readHeader);
break;
case 8:
d = SafeParcelReader.readDoubleObject(parcel, readHeader);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new zzkv(i, str, j, l, f, str2, str3, d);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ zzkv[] newArray(int i) {
return new zzkv[i];
}
}