# Class EventCompaction.Builder

java.lang.Object
com.google.adk.events.EventCompaction.Builder

Enclosing class:
  `EventCompaction`

public abstract static class EventCompaction.Builder extends Object
Builder for `EventCompaction`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract EventCompaction`
  `build()`
  `abstract EventCompaction.Builder`
  `compactedContent(com.google.genai.types.Content compactedContent)`
  `abstract EventCompaction.Builder`
  `endTimestamp(long endTimestamp)`
  `abstract EventCompaction.Builder`
  `startTimestamp(long startTimestamp)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### startTimestamp

    public abstract EventCompaction.Builder startTimestamp(long startTimestamp)

  - ### endTimestamp

    public abstract EventCompaction.Builder endTimestamp(long endTimestamp)

  - ### compactedContent

    public abstract EventCompaction.Builder compactedContent(com.google.genai.types.Content compactedContent)

  - ### build

    public abstract EventCompaction build()