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
    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 By default, com.google.protobuf:protobuf-java.
    gRPC code generation can scan dependencies of the application for proto files to generate Java stubs from.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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
      By default, com.google.protobuf:protobuf-java.
  • Constructor Details

    • GrpcCodeGenConfig

      public GrpcCodeGenConfig()