Apparently https://github.com/square/wire/ includes a runtime .proto parser
for Java. That might help? It isn't the official one, note.

On 6 Dec 2017 8:28 p.m., "Omar Al-Safi" <omars...@gmail.com> wrote:

> Hello folks,
>
> I stubbled upon a requirements that I receive a textual representation of
> a proto file from an external service and then I need to save it. I want
> first to check if the text is a valid protobuf schema representation, is
> there way a to validate the syntax of a proto file during the runtime? I
> know that I can use the protoc compiler to validate a file and produce the
> compiled schema but my intention here just only to* validate the syntax*
> of the textual representation of a text if is a valid proto schema syntax.
>
> --
> 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 protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to