Uses of Class
com.google.adk.models.CacheMetadata
Packages that use CacheMetadata
-
Uses of CacheMetadata in com.google.adk.events
Methods in com.google.adk.events that return types with arguments of type CacheMetadataModifier and TypeMethodDescriptionEvent.cacheMetadata()Context cache state of the LLM response this event carries.Methods in com.google.adk.events with parameters of type CacheMetadataModifier and TypeMethodDescriptionEvent.Builder.cacheMetadata(@Nullable CacheMetadata value) voidEvent.setCacheMetadata(@Nullable CacheMetadata cacheMetadata) -
Uses of CacheMetadata in com.google.adk.models
Methods in com.google.adk.models that return CacheMetadataMethods in com.google.adk.models that return types with arguments of type CacheMetadataModifier and TypeMethodDescriptionabstract Optional<CacheMetadata> LlmRequest.cacheMetadata()Cache state from the agent's latest response, used to reuse or refresh the cache.abstract Optional<CacheMetadata> LlmResponse.cacheMetadata()Context cache state for this response; set only when context caching is enabled.Methods in com.google.adk.models with parameters of type CacheMetadataModifier and TypeMethodDescriptionabstract LlmRequest.BuilderLlmRequest.Builder.cacheMetadata(@Nullable CacheMetadata cacheMetadata) abstract LlmResponse.BuilderLlmResponse.Builder.cacheMetadata(@Nullable CacheMetadata cacheMetadata)