package com.google.android.gms.common.api;

import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.internal.ReflectedParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable$Class;
import com.google.android.gms.common.internal.w;
import n7.c4;

/* JADX INFO: loaded from: classes2.dex */
@SafeParcelable$Class(creator = "ScopeCreator")
public final class Scope extends f8.a implements ReflectedParcelable {

    @NonNull
    public static final Parcelable.Creator<Scope> CREATOR = new c4(18);

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

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

    public Scope(int i10, String str) {
        w.checkNotEmpty(str, "scopeUri must not be null or empty");
        this.f8187a = i10;
        this.f8188b = str;
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Scope)) {
            return false;
        }
        return this.f8188b.equals(((Scope) obj).f8188b);
    }

    public final int hashCode() {
        return this.f8188b.hashCode();
    }

    public final String toString() {
        return this.f8188b;
    }

    @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.C(parcel, 1, 4);
        parcel.writeInt(this.f8187a);
        com.bumptech.glide.g.r(parcel, 2, this.f8188b);
        com.bumptech.glide.g.N(I, parcel);
    }
}
