BufGenerateExtension

Available in a dev version: 0․11․0-grpc-190

How to configure

Options for the buf generate command.

See also

Types

Link copied to clipboard

Possible values for --error-format option.

Properties

Link copied to clipboard
val camelCaseNames: Property<Boolean>

Whether to generate Kotlin names in camel case.

Link copied to clipboard

Extension for configuring comments in the generated code.

Link copied to clipboard

--error-format option.

Link copied to clipboard
val includeImports: Property<Boolean>

--include-imports option.

Link copied to clipboard
val includeWkt: Property<Boolean>

--include-wkt option.

Link copied to clipboard
val indentSize: Property<Int>

Option to configure the indent sized for the generated code.

Link copied to clipboard

Option to additionally generate nullable getters for optional message fields.

Functions

Link copied to clipboard
fun comments(configure: Action<BufCommentsExtension>)

Extension for configuring comments in the generated code.