Generate Stub files in Quarkus/Java from proto files #370
-
Hi I need a little help with the proto files to generate the stubs in Java. We are using Quarkus. If I use a hello world example proto files my Maven build generates the grpc stubs without issues. If I process one or more of the tekton-results proto files, the stub generation fails. Can you describe how I can generate the Grpc Stubs for Java? Which files to use? Kind regards Manu |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Ok I found out, needed to also copy the files: from here: https://github.com/googleapis/googleapis/tree/master/google/api to the local proto directory in the corresponding subdirectories: proto/google/api After then I could generate the GPRC Stubs with Quarkus/Java. |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion as "answered" ✔️ |
Beta Was this translation helpful? Give feedback.
Ok I found out, needed to also copy the files:
google/api/field_behavior.proto
google/api/resource.proto
from here: https://github.com/googleapis/googleapis/tree/master/google/api
to the local proto directory in the corresponding subdirectories: proto/google/api
After then I could generate the GPRC Stubs with Quarkus/Java.