Record Class LoadMemoryResponse
java.lang.Object
java.lang.Record
com.google.adk.tools.LoadMemoryResponse
The response from a load memory tool invocation.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadMemoryResponse(List<MemoryEntry> memories) Creates an instance of aLoadMemoryResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.memories()Returns the value of thememoriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadMemoryResponse
Creates an instance of aLoadMemoryResponserecord class.- Parameters:
memories- the value for thememoriesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
memories
Returns the value of thememoriesrecord component.- Returns:
- the value of the
memoriesrecord component
-