Class TimelineSample.Builder (2.34.2)

public abstract static class TimelineSample.Builder

Inheritance

java.lang.Object > TimelineSample.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract TimelineSample build()
Returns
TypeDescription
TimelineSample

setActiveUnits(Long activeUnits)

public abstract TimelineSample.Builder setActiveUnits(Long activeUnits)
Parameter
NameDescription
activeUnitsLong
Returns
TypeDescription
TimelineSample.Builder

setCompletedUnits(Long completedUnits)

public abstract TimelineSample.Builder setCompletedUnits(Long completedUnits)
Parameter
NameDescription
completedUnitsLong
Returns
TypeDescription
TimelineSample.Builder

setElapsedMs(Long elapsedMs)

public abstract TimelineSample.Builder setElapsedMs(Long elapsedMs)
Parameter
NameDescription
elapsedMsLong
Returns
TypeDescription
TimelineSample.Builder

setPendingUnits(Long pendingUnits)

public abstract TimelineSample.Builder setPendingUnits(Long pendingUnits)
Parameter
NameDescription
pendingUnitsLong
Returns
TypeDescription
TimelineSample.Builder

setSlotMillis(Long slotMillis)

public abstract TimelineSample.Builder setSlotMillis(Long slotMillis)
Parameter
NameDescription
slotMillisLong
Returns
TypeDescription
TimelineSample.Builder