package gi;

/* loaded from: classes.dex */
public final class c {

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

    private c(String str) {
        if (str == null) {
            throw new NullPointerException("name is null");
        }
        this.f20028a = str;
    }

    public static c b(String str) {
        return new c(str);
    }

    public String a() {
        return this.f20028a;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof c) {
            return this.f20028a.equals(((c) obj).f20028a);
        }
        return false;
    }

    public int hashCode() {
        return this.f20028a.hashCode() ^ 1000003;
    }

    public String toString() {
        return "Encoding{name=\"" + this.f20028a + "\"}";
    }
}
