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.BuilderMemoryEntry.builder()Returns a new builder for creating aMemoryEntry.abstract MemoryEntry.BuilderSets the author of the memory.abstract MemoryEntry.BuilderMemoryEntry.Builder.setContent(com.google.genai.types.Content content) Sets the main content of the memory.abstract MemoryEntry.BuilderMemoryEntry.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 anInstantobject, formatted as an ISO 8601 string.abstract MemoryEntry.BuilderMemoryEntry.toBuilder()Creates a new builder with a copy of this entry's values.