# Class EventCompaction

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

public abstract class EventCompaction extends Object
The compaction of the events.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `EventCompaction.Builder`
  Builder for `EventCompaction`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventCompaction()`

- ## Method Summary

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### EventCompaction

    public EventCompaction()

- ## Method Details

  - ### startTimestamp

    public abstract long startTimestamp()

  - ### endTimestamp

    public abstract long endTimestamp()

  - ### compactedContent

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

  - ### builder

    public static EventCompaction.Builder builder()