Class GrpcCodeGenConfig

    • Field Summary

      Fields 
      Modifier and Type Field Description
      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.
      String scanForProto
      gRPC code generation can scan dependencies of the application for proto files to generate Java stubs from.
    • 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
        By default, com.google.protobuf:protobuf-java.
    • Constructor Detail

      • GrpcCodeGenConfig

        public GrpcCodeGenConfig()