类的用途(Uses of the Class)
com.google.adk.models.CacheMetadata
Packages that use CacheMetadata
-
**用途:** CacheMetadata 在……里面;处于……状态 com.google.adk.events
Methods in com.google.adk.events that return types with arguments of type CacheMetadataMethods in com.google.adk.events with parameters of type CacheMetadataModifier and TypeMethodDescriptionEvent.Builder.cacheMetadata(@Nullable CacheMetadata value) voidEvent.setCacheMetadata(@Nullable CacheMetadata cacheMetadata) -
**用途:** CacheMetadata 在……里面;处于……状态 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()从代理的最新响应中获取缓存状态,用于重用或刷新缓存。abstract Optional<CacheMetadata> LlmResponse.cacheMetadata()此响应的上下文缓存状态(Context cache state);仅在启用了上下文缓存(context caching)时才会被设置。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)