Class ProfilingItem.Builder

java.lang.Object
ai.docling.serve.api.convert.response.ProfilingItem.Builder
Enclosing class:
ProfilingItem

public static class ProfilingItem.Builder extends Object
Builder for creating ProfilingItem instances. Generated by Lombok's @Builder annotation.

Builder methods:

  • scope(ProfilingScope) - Set the profiling scope
  • count(Integer) - Set the measurement count
  • times(List<Double>) - Set the list of durations
  • time(Double) - Add a single duration (use with @Singular)
  • startTimestamps(List<Instant>) - Set the list of start timestamps
  • startTimestamp(Instant) - Add a single start timestamp (use with @Singular)