package com.google.android.play.core.assetpacks;

/* loaded from: classes3.dex */
final class i0 extends b {

    /* renamed from: b, reason: collision with root package name */
    private final int f13939b;

    /* renamed from: c, reason: collision with root package name */
    private final String f13940c;

    /* renamed from: d, reason: collision with root package name */
    private final String f13941d;

    /* JADX INFO: Access modifiers changed from: package-private */
    public i0(int i10, String str, String str2) {
        this.f13939b = i10;
        this.f13940c = str;
        this.f13941d = str2;
    }

    @Override // com.google.android.play.core.assetpacks.b
    public final String a() {
        return this.f13941d;
    }

    @Override // com.google.android.play.core.assetpacks.b
    public final int b() {
        return this.f13939b;
    }

    @Override // com.google.android.play.core.assetpacks.b
    public final String c() {
        return this.f13940c;
    }

    public final boolean equals(Object obj) {
        String str;
        String str2;
        if (obj == this) {
            return true;
        }
        if (obj instanceof b) {
            b bVar = (b) obj;
            if (this.f13939b == bVar.b() && ((str = this.f13940c) != null ? str.equals(bVar.c()) : bVar.c() == null) && ((str2 = this.f13941d) != null ? str2.equals(bVar.a()) : bVar.a() == null)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        String str = this.f13940c;
        int hashCode = str == null ? 0 : str.hashCode();
        int i10 = this.f13939b;
        String str2 = this.f13941d;
        return ((hashCode ^ ((i10 ^ 1000003) * 1000003)) * 1000003) ^ (str2 != null ? str2.hashCode() : 0);
    }

    public final String toString() {
        return "AssetPackLocation{packStorageMethod=" + this.f13939b + ", path=" + this.f13940c + ", assetsPath=" + this.f13941d + "}";
    }
}
