# Uses of Class
com.google.adk.memory.MemoryEntry.Builder

Packages that use MemoryEntry.Builder
Package
Description
com.google.adk.memory

- ## Uses of MemoryEntry.Builder in com.google.adk.memory

  Methods in com.google.adk.memory that return MemoryEntry.Builder
  Modifier and Type
  Method
  Description
  `abstract MemoryEntry.Builder`
  MemoryEntry.Builder.`author(@Nullable String author)`
  Sets the author of the memory.
  `static MemoryEntry.Builder`
  MemoryEntry.`builder()`
  Returns a new builder for creating a `MemoryEntry`.
  `abstract MemoryEntry.Builder`
  MemoryEntry.Builder.`content(com.google.genai.types.Content content)`
  Sets the main content of the memory.
  `abstract MemoryEntry.Builder`
  MemoryEntry.Builder.`timestamp(@Nullable String timestamp)`
  Sets the timestamp when the original content of this memory happened.
  `MemoryEntry.Builder`
  MemoryEntry.Builder.`timestamp(Instant instant)`
  A convenience method to set the timestamp from an `Instant` object, formatted as an ISO 8601 string.
  `abstract MemoryEntry.Builder`
  MemoryEntry.`toBuilder()`
  Creates a new builder with a copy of this entry's values.