IMPORTANT: In July 2025, we stopped releasing new versions of KTX modules, and we removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the previously released KTX modules, we recommend that you
migrate your app to use KTX APIs from the main modules instead. For details, see the
FAQ about this initiative.
Stay organized with collections
Save and categorize content based on your preferences.
Generable
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.SOURCE)
public annotation Generable
This annotation is used with the firebase-ai-ksp-processor plugin to generate JsonSchema that match an existing kotlin class structure. For more info see: https://github.com/firebase/firebase-android-sdk/blob/main/firebase-ai-ksp-processor/README.md
Summary
Public fields |
final @NonNull String |
a description of the class to be forwarded to the model.
|
Public fields
description
public final @NonNull String description
a description of the class to be forwarded to the model. This will override a kDoc description.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-06 UTC.
[null,null,["Last updated 2026-02-06 UTC."],[],[]]