package com.google.android.gms.measurement.internal;

import android.os.Parcel;
import android.os.Parcelable;

/* JADX INFO: loaded from: classes2.dex */
public final class y extends f8.a {
    public static final Parcelable.Creator<y> CREATOR = new n7.c4(28);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f21981a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final x f21982b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f21983c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final long f21984d;

    public y(y yVar, long j10) {
        com.google.android.gms.common.internal.w.checkNotNull(yVar);
        this.f21981a = yVar.f21981a;
        this.f21982b = yVar.f21982b;
        this.f21983c = yVar.f21983c;
        this.f21984d = j10;
    }

    public final String toString() {
        String strValueOf = String.valueOf(this.f21982b);
        StringBuilder sb = new StringBuilder("origin=");
        sb.append(this.f21983c);
        sb.append(",name=");
        return defpackage.e.p(sb, this.f21981a, ",params=", strValueOf);
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i10) {
        int I = com.bumptech.glide.g.I(20293, parcel);
        com.bumptech.glide.g.r(parcel, 2, this.f21981a);
        com.bumptech.glide.g.q(parcel, 3, this.f21982b, i10);
        com.bumptech.glide.g.r(parcel, 4, this.f21983c);
        com.bumptech.glide.g.C(parcel, 5, 8);
        parcel.writeLong(this.f21984d);
        com.bumptech.glide.g.N(I, parcel);
    }

    public y(String str, x xVar, String str2, long j10) {
        this.f21981a = str;
        this.f21982b = xVar;
        this.f21983c = str2;
        this.f21984d = j10;
    }
}
