package o;

import android.text.TextUtils;
import com.google.android.gms.common.internal.Preconditions;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Xq0 {
    public Long A;
    public long B;
    public String C;
    public int D;
    public int E;
    public long F;
    public String G;
    public byte[] H;
    public int I;
    public long J;
    public long K;
    public long L;
    public long M;
    public long N;
    public long O;
    public String P;
    public boolean Q;
    public long R;
    public long S;
    public final Kr0 a;
    public final String b;
    public String c;
    public String d;
    public String e;
    public String f;
    public long g;
    public long h;
    public long i;
    public String j;
    public long k;
    public String l;
    public long m;
    public long n;

    /* renamed from: o, reason: collision with root package name */
    public boolean f415o;
    public boolean p;
    public Boolean q;
    public long r;
    public ArrayList s;
    public String t;
    public boolean u;
    public long v;
    public long w;
    public int x;
    public boolean y;
    public Long z;

    public Xq0(Kr0 kr0, String str) {
        Preconditions.checkNotNull(kr0);
        Preconditions.checkNotEmpty(str);
        this.a = kr0;
        this.b = str;
        Fr0 fr0 = kr0.g;
        Kr0.l(fr0);
        fr0.r();
    }

    public final void A(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.w != j;
        this.w = j;
    }

    public final void B(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.B != j;
        this.B = j;
    }

    public final String C() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.C;
    }

    public final String D() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.b;
    }

    public final String E() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.c;
    }

    public final void F(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= !Objects.equals(this.c, str);
        this.c = str;
    }

    public final String G() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.d;
    }

    public final void H(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        if (true == TextUtils.isEmpty(str)) {
            str = null;
        }
        this.Q |= true ^ Objects.equals(this.d, str);
        this.d = str;
    }

    public final void I(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= !Objects.equals(this.e, str);
        this.e = str;
    }

    public final String J() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.f;
    }

    public final void K(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= !Objects.equals(this.f, str);
        this.f = str;
    }

    public final void L(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.h != j;
        this.h = j;
    }

    public final void M(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.i != j;
        this.i = j;
    }

    public final String N() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.j;
    }

    public final void O(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= !Objects.equals(this.j, str);
        this.j = str;
    }

    public final long P() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.k;
    }

    public final void Q(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.k != j;
        this.k = j;
    }

    public final void R(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= !Objects.equals(this.l, str);
        this.l = str;
    }

    public final void S(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.m != j;
        this.m = j;
    }

    public final void a(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.n != j;
        this.n = j;
    }

    public final long b() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.r;
    }

    public final void c(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.r != j;
        this.r = j;
    }

    public final void d(boolean z) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.f415o != z;
        this.f415o = z;
    }

    public final void e(long j) {
        Preconditions.checkArgument(j >= 0);
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.g != j;
        this.g = j;
    }

    public final void f(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.R != j;
        this.R = j;
    }

    public final void g(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.S != j;
        this.S = j;
    }

    public final void h(long j) {
        Kr0 kr0 = this.a;
        Fr0 fr0 = kr0.g;
        Nq0 nq0 = kr0.f;
        Kr0.l(fr0);
        fr0.r();
        long j2 = this.g + j;
        String str = this.b;
        if (j2 > 2147483647L) {
            Kr0.l(nq0);
            nq0.i.c(Nq0.A(str), "Bundle index overflow. appId");
            j2 = (-1) + j;
        }
        long j3 = this.F + 1;
        if (j3 > 2147483647L) {
            Kr0.l(nq0);
            nq0.i.c(Nq0.A(str), "Delivery index overflow. appId");
            j3 = 0;
        }
        this.Q = true;
        this.g = j2;
        this.F = j3;
    }

    public final void i(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.J != j;
        this.J = j;
    }

    public final void j(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.K != j;
        this.K = j;
    }

    public final void k(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.L != j;
        this.L = j;
    }

    public final void l(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.M != j;
        this.M = j;
    }

    public final void m(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.O != j;
        this.O = j;
    }

    public final void n(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.N != j;
        this.N = j;
    }

    public final boolean o() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.Q;
    }

    public final void p(int i) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.D != i;
        this.D = i;
    }

    public final void q(int i) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.E != i;
        this.E = i;
    }

    public final void r(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.F != j;
        this.F = j;
    }

    public final String s() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.G;
    }

    public final int t() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.I;
    }

    public final String u() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        String str = this.P;
        v(null);
        return str;
    }

    public final void v(String str) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= !Objects.equals(this.P, str);
        this.P = str;
    }

    public final Boolean w() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.q;
    }

    public final void x(List list) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        if (Objects.equals(this.s, list)) {
            return;
        }
        this.Q = true;
        this.s = list != null ? new ArrayList(list) : null;
    }

    public final boolean y() {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        return this.u;
    }

    public final void z(long j) {
        Fr0 fr0 = this.a.g;
        Kr0.l(fr0);
        fr0.r();
        this.Q |= this.v != j;
        this.v = j;
    }
}
