Package io.quarkus.grpc.runtime.config
Class GrpcCodeGenConfig
- java.lang.Object
-
- io.quarkus.grpc.runtime.config.GrpcCodeGenConfig
-
@ConfigRoot(name="generate-code.grpc", phase=BUILD_TIME) public class GrpcCodeGenConfig extends Object
not really used, here only to describe config options for code generation
-
-
Field Summary
Fields Modifier and Type Field Description StringscanForImportsSpecify the dependencies that are allowed to have proto files that can be imported by this application's protos Applicable values: none - default - don't scan dependencies a comma separated list of groupId:artifactId coordinates to scan all - scan all dependencies By default, com.google.protobuf:protobuf-java.StringscanForProtogRPC code generation can scan dependencies of the application for proto files to generate Java stubs from.
-
Constructor Summary
Constructors Constructor Description GrpcCodeGenConfig()
-
-
-
Field Detail
-
scanForProto
@ConfigItem(defaultValue="none") public String scanForProto
gRPC code generation can scan dependencies of the application for proto files to generate Java stubs from. This property sets the scope of the dependencies to scan. Applicable values:- none - default - don't scan dependencies
- a comma separated list of groupId:artifactId coordinates to scan
- all - scan all dependencies
-
scanForImports
@ConfigItem(defaultValue="com.google.protobuf:protobuf-java") public String scanForImports
Specify the dependencies that are allowed to have proto files that can be imported by this application's protos Applicable values:- none - default - don't scan dependencies
- a comma separated list of groupId:artifactId coordinates to scan
- all - scan all dependencies
-
-