Seemingly randomly when I build beam (I'm building 2.37 right now), the
AutoValue builder for GenerateSequence seems to ignore the @Nullable
attribute on many of the fields, resulting in an AutoValue builder that
enforces all fields are set.

This breaks building eg GenerateSequence.from(...).to(...).

The code that gets generated looks like:
    @Override
    GenerateSequence build() {
      if (this.from == null
          || this.to == null
          || this.timestampFn == null
          || this.elementsPerPeriod == null
          || this.period == null
          || this.maxReadTime == null) {
        StringBuilder missing = new StringBuilder();

This happens most of the time, even persisting through ./gradlew clean.

Has anyone run into this before?

Reply via email to