This provides the support.
https://github.com/os72/protoc-jar

On Wednesday, March 1, 2023 at 7:56:33 PM UTC+5:30 ritesh singh wrote:

> Hello,
>
> *protoc --include_imports --descriptor_set_out=/dev/stdout 
> user_preferences.proto*
>
> Instead of running the *protoc  *command from my application, which will 
> basically shell out to user's machine and is dependent on user's machine 
> protoc compiler.
>
> I was wondering if there's an existing compiler api's which can be used 
> from java.
>
> I went through docs - and i guess importer can be used -  
> https://protobuf.dev/reference/cpp/api-docs/google.protobuf.compiler.importer/
> But, this is not exposed as java api.
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/a734796e-9945-42a5-9722-8e4ce87e91b0n%40googlegroups.com.

Reply via email to