package aa;

import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public final class i extends c {

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public String f416e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public byte f417f;

    @Override // aa.c
    public final j a() {
        if (this.f417f == 3) {
            return new j(this.f412a, this.f413b, this.f414c, this.f415d, this.f416e);
        }
        StringBuilder sb = new StringBuilder();
        if ((this.f417f & 1) == 0) {
            sb.append(" width");
        }
        if ((this.f417f & 2) == 0) {
            sb.append(" height");
        }
        throw new IllegalStateException("Missing required properties:".concat(sb.toString()));
    }

    @Override // aa.c
    public final c setAltText(@Nullable String str) {
        this.f414c = str;
        return this;
    }

    @Override // aa.c
    public final c setCreativeType(@Nullable String str) {
        this.f415d = str;
        return this;
    }

    @Override // aa.c
    public final c setStaticResourceUri(@Nullable String str) {
        this.f416e = str;
        return this;
    }
}
