56 lines
1.8 KiB
Java
56 lines
1.8 KiB
Java
|
package com.google.android.gms.common.internal;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class RootTelemetryConfiguration extends AbstractSafeParcelable {
|
||
|
public static final Parcelable.Creator<RootTelemetryConfiguration> CREATOR = new zzai();
|
||
|
private final int zza;
|
||
|
private final boolean zzb;
|
||
|
private final boolean zzc;
|
||
|
private final int zzd;
|
||
|
private final int zze;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||
|
SafeParcelWriter.writeInt(parcel, 1, getVersion());
|
||
|
SafeParcelWriter.writeBoolean(parcel, 2, getMethodInvocationTelemetryEnabled());
|
||
|
SafeParcelWriter.writeBoolean(parcel, 3, getMethodTimingTelemetryEnabled());
|
||
|
SafeParcelWriter.writeInt(parcel, 4, getBatchPeriodMillis());
|
||
|
SafeParcelWriter.writeInt(parcel, 5, getMaxMethodInvocationsInBatch());
|
||
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||
|
}
|
||
|
|
||
|
public int getVersion() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
|
||
|
public boolean getMethodTimingTelemetryEnabled() {
|
||
|
return this.zzc;
|
||
|
}
|
||
|
|
||
|
public boolean getMethodInvocationTelemetryEnabled() {
|
||
|
return this.zzb;
|
||
|
}
|
||
|
|
||
|
public int getMaxMethodInvocationsInBatch() {
|
||
|
return this.zze;
|
||
|
}
|
||
|
|
||
|
public int getBatchPeriodMillis() {
|
||
|
return this.zzd;
|
||
|
}
|
||
|
|
||
|
public RootTelemetryConfiguration(int i, boolean z, boolean z2, int i2, int i3) {
|
||
|
this.zza = i;
|
||
|
this.zzb = z;
|
||
|
this.zzc = z2;
|
||
|
this.zzd = i2;
|
||
|
this.zze = i3;
|
||
|
}
|
||
|
}
|