package com.google.android.gms.internal.ads;

import android.text.Layout;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public final class k9 {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f13170b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public int f13171c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public boolean f13172d;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public float f13178j;

    @Nullable
    private String zza;

    @Nullable
    private String zzl;

    @Nullable
    private Layout.Alignment zzo;

    @Nullable
    private Layout.Alignment zzp;

    @Nullable
    private f9 zzr;

    @Nullable
    private String zzt;

    @Nullable
    private String zzu;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public int f13173e = -1;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public int f13174f = -1;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public int f13175g = -1;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public int f13176h = -1;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public int f13177i = -1;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public int f13179k = -1;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public int f13180l = -1;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public int f13181m = -1;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public float f13182n = Float.MAX_VALUE;

    @Nullable
    public final Layout.Alignment zzA() {
        return this.zzp;
    }

    public final k9 zzB(@Nullable Layout.Alignment alignment) {
        this.zzp = alignment;
        return this;
    }

    @Nullable
    public final f9 zzE() {
        return this.zzr;
    }

    public final k9 zzF(@Nullable f9 f9Var) {
        this.zzr = f9Var;
        return this;
    }

    public final k9 zzK(@Nullable String str) {
        this.zzt = str;
        return this;
    }

    @Nullable
    public final String zzL() {
        return this.zzt;
    }

    public final k9 zzM(@Nullable String str) {
        this.zzu = str;
        return this;
    }

    @Nullable
    public final String zzN() {
        return this.zzu;
    }

    @Nullable
    public final String zzh() {
        return this.zza;
    }

    public final k9 zzi(@Nullable String str) {
        this.zza = str;
        return this;
    }

    public final k9 zzr(@Nullable k9 k9Var) {
        int i10;
        Layout.Alignment alignment;
        Layout.Alignment alignment2;
        String str;
        if (k9Var != null) {
            if (!this.f13170b && k9Var.f13170b) {
                this.f13169a = k9Var.f13169a;
                this.f13170b = true;
            }
            if (this.f13175g == -1) {
                this.f13175g = k9Var.f13175g;
            }
            if (this.f13176h == -1) {
                this.f13176h = k9Var.f13176h;
            }
            if (this.zza == null && (str = k9Var.zza) != null) {
                this.zza = str;
            }
            if (this.f13173e == -1) {
                this.f13173e = k9Var.f13173e;
            }
            if (this.f13174f == -1) {
                this.f13174f = k9Var.f13174f;
            }
            if (this.f13180l == -1) {
                this.f13180l = k9Var.f13180l;
            }
            if (this.zzo == null && (alignment2 = k9Var.zzo) != null) {
                this.zzo = alignment2;
            }
            if (this.zzp == null && (alignment = k9Var.zzp) != null) {
                this.zzp = alignment;
            }
            if (this.f13181m == -1) {
                this.f13181m = k9Var.f13181m;
            }
            if (this.f13177i == -1) {
                this.f13177i = k9Var.f13177i;
                this.f13178j = k9Var.f13178j;
            }
            if (this.zzr == null) {
                this.zzr = k9Var.zzr;
            }
            if (this.f13182n == Float.MAX_VALUE) {
                this.f13182n = k9Var.f13182n;
            }
            if (this.zzt == null) {
                this.zzt = k9Var.zzt;
            }
            if (this.zzu == null) {
                this.zzu = k9Var.zzu;
            }
            if (!this.f13172d && k9Var.f13172d) {
                this.f13171c = k9Var.f13171c;
                this.f13172d = true;
            }
            if (this.f13179k == -1 && (i10 = k9Var.f13179k) != -1) {
                this.f13179k = i10;
            }
        }
        return this;
    }

    public final k9 zzs(@Nullable String str) {
        this.zzl = str;
        return this;
    }

    @Nullable
    public final String zzt() {
        return this.zzl;
    }

    @Nullable
    public final Layout.Alignment zzy() {
        return this.zzo;
    }

    public final k9 zzz(@Nullable Layout.Alignment alignment) {
        this.zzo = alignment;
        return this;
    }
}
