package z2;

import java.util.Arrays;
import w2.C1699b;

/* JADX INFO: loaded from: classes.dex */
public final class k {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final byte[] f19270b;

    public k(C1699b c1699b, byte[] bArr) {
        if (c1699b == null) {
            throw new NullPointerException("encoding is null");
        }
        if (bArr == null) {
            throw new NullPointerException("bytes is null");
        }
        this.f19269a = c1699b;
        this.f19270b = bArr;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof k)) {
            return false;
        }
        k kVar = (k) obj;
        if (this.f19269a.equals(kVar.f19269a)) {
            return Arrays.equals(this.f19270b, kVar.f19270b);
        }
        return false;
    }

    public final int hashCode() {
        return ((this.f19269a.hashCode() ^ 1000003) * 1000003) ^ Arrays.hashCode(this.f19270b);
    }

    public final String toString() {
        return "EncodedPayload{encoding=" + this.f19269a + ", bytes=[...]}";
    }
}
