package com.google.android.play.core.integrity;

/* JADX INFO: loaded from: classes3.dex */
final class b extends bq {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private String f13634a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private y f13635b;

    @Override // com.google.android.play.core.integrity.bq
    public final bq a(y yVar) {
        this.f13635b = yVar;
        return this;
    }

    @Override // com.google.android.play.core.integrity.bq
    public final bq b(String str) {
        if (str == null) {
            throw new NullPointerException("Null token");
        }
        this.f13634a = str;
        return this;
    }

    @Override // com.google.android.play.core.integrity.bq
    public final br c() {
        y yVar;
        String str = this.f13634a;
        if (str != null && (yVar = this.f13635b) != null) {
            return new br(str, yVar);
        }
        StringBuilder sb = new StringBuilder();
        if (this.f13634a == null) {
            sb.append(" token");
        }
        if (this.f13635b == null) {
            sb.append(" integrityDialogWrapper");
        }
        throw new IllegalStateException("Missing required properties:".concat(sb.toString()));
    }
}
