Package-level declarations

Types

Link copied to clipboard
data class CustomTarget(val includes: List<String> = listOf("*"), val excludes: List<String> = listOf(), val exclusive: Boolean = true, val outDirectory: String, val options: Map<String, String> = mapOf(), val schemaHandlerFactory: SchemaHandler.Factory) : Target
Link copied to clipboard
data class JavaTarget(val includes: List<String> = listOf("*"), val excludes: List<String> = listOf(), val exclusive: Boolean = true, val outDirectory: String, val android: Boolean = false, val androidAnnotations: Boolean = false, val compact: Boolean = false, val emitDeclaredOptions: Boolean = true, val emitAppliedOptions: Boolean = true, val buildersOnly: Boolean = false) : Target

Generate .java sources.

Link copied to clipboard
data class KotlinTarget(val includes: List<String> = listOf("*"), val excludes: List<String> = listOf(), val exclusive: Boolean = true, val outDirectory: String, val android: Boolean = false, val javaInterop: Boolean = false, val emitDeclaredOptions: Boolean = true, val emitAppliedOptions: Boolean = true, val rpcCallStyle: RpcCallStyle = RpcCallStyle.SUSPENDING, val rpcRole: RpcRole = RpcRole.CLIENT, val singleMethodServices: Boolean = false, val boxOneOfsMinSize: Int, val grpcServerCompatible: Boolean = false, val nameSuffix: String? = null, val buildersOnly: Boolean = false, val escapeKotlinKeywords: Boolean = false) : Target

Generate .kt sources.

Link copied to clipboard
data class ProtoTarget(val outDirectory: String) : Target
Link copied to clipboard
data class SwiftTarget(val includes: List<String> = listOf("*"), val excludes: List<String> = listOf(), val exclusive: Boolean = true, val outDirectory: String) : Target

Functions

Link copied to clipboard
fun newSchemaHandler(schemaHandlerFactoryClass: String): SchemaHandler.Factory

Create and return an instance of SchemaHandler.Factory.