Generable

@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.SOURCE)
annotationGenerable


This annotation is used with the firebase-ai-ksp-processor plugin to generateJsonSchema 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 constructors

Generable(description: String)

Public properties

String

a description of the class to be forwarded to the model.

Public constructors

Generable

Generable(description: String = "")

Public properties

description

val descriptionString

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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-06 UTC.