ProtocPlugin

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

How to configure

open class ProtocPlugin(source)

Access to a specific protoc plugin.

Types

Link copied to clipboard
sealed class Artifact

Artifact for a protoc plugin.

Link copied to clipboard
object Companion
Link copied to clipboard

Strategy for a protoc plugin.

Properties

Link copied to clipboard

Protoc plugin artifact.

Link copied to clipboard
val excludeTypes: ListProperty<String>

Exclude the specified types when generating with this plugin.

Link copied to clipboard
val includeImports: Property<Boolean>

Whether to include imports except for Well-Known Types.

Link copied to clipboard
val includeWkt: Property<Boolean>

Whether to include Well-Known Types.

Link copied to clipboard
val isJava: Property<Boolean>

Whether the plugin generates Java code.

Link copied to clipboard
val isKotlin: Property<Boolean>

Whether the plugin generates Kotlin code.

Link copied to clipboard

Plugin's name.

Link copied to clipboard
val options: MapProperty<String, Any>

Protoc plugins options.

Link copied to clipboard

Strategy for this protoc plugin.

Link copied to clipboard
val types: ListProperty<String>

Include only the specified types when generating with this plugin.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun local(action: Action<ProtocPlugin.Artifact.Local>)

Local protoc plugin artifact.

Link copied to clipboard

Remote protoc plugin artifact.