Uses of Class
com.google.adk.memory.MemoryEntry.Builder
Packages that use MemoryEntry.Builder
-
Uses of MemoryEntry.Builder in com.google.adk.memory
Methods in com.google.adk.memory that return MemoryEntry.BuilderModifier and TypeMethodDescriptionstatic MemoryEntry.Builder
MemoryEntry.builder()
Returns a new builder for creating aMemoryEntry
.abstract MemoryEntry.Builder
Sets the author of the memory.abstract MemoryEntry.Builder
MemoryEntry.Builder.setContent
(com.google.genai.types.Content content) Sets the main content of the memory.abstract MemoryEntry.Builder
MemoryEntry.Builder.setTimestamp
(String timestamp) Sets the timestamp when the original content of this memory happened.MemoryEntry.Builder.setTimestamp
(Instant instant) A convenience method to set the timestamp from anInstant
object, formatted as an ISO 8601 string.abstract MemoryEntry.Builder
MemoryEntry.toBuilder()
Creates a new builder with a copy of this entry's values.