// Generated by delombok at Sun Nov 06 21:21:45 CET 2022

public class BuilderWithFieldAccessors {
  private final int pUpper;
  private int _foo;
  private String mBar;

  @java.lang.SuppressWarnings("all")
  BuilderWithFieldAccessors(final int upper, final int foo, final String bar) {
    this.pUpper = upper;
    this._foo = foo;
    this.mBar = bar;
  }


  @java.lang.SuppressWarnings("all")
  public static class BuilderWithFieldAccessorsBuilder {
    @java.lang.SuppressWarnings("all")
    private int upper;
    @java.lang.SuppressWarnings("all")
    private int foo;
    @java.lang.SuppressWarnings("all")
    private String bar;

    @java.lang.SuppressWarnings("all")
    BuilderWithFieldAccessorsBuilder() {
    }

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderWithFieldAccessors.BuilderWithFieldAccessorsBuilder upper(final int upper) {
      this.upper = upper;
      return this;
    }

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderWithFieldAccessors.BuilderWithFieldAccessorsBuilder foo(final int foo) {
      this.foo = foo;
      return this;
    }

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderWithFieldAccessors.BuilderWithFieldAccessorsBuilder bar(final String bar) {
      this.bar = bar;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public BuilderWithFieldAccessors build() {
      return new BuilderWithFieldAccessors(this.upper, this.foo, this.bar);
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
      return "BuilderWithFieldAccessors.BuilderWithFieldAccessorsBuilder(upper=" + this.upper + ", foo=" + this.foo + ", bar=" + this.bar + ")";
    }
  }

  @java.lang.SuppressWarnings("all")
  public static BuilderWithFieldAccessors.BuilderWithFieldAccessorsBuilder builder() {
    return new BuilderWithFieldAccessors.BuilderWithFieldAccessorsBuilder();
  }
}
