other versions
- jessie 2.6.1-1
- stretch 3.0.0-9
- testing 3.6.1.1-1
- stretch-backports 3.6.1-4~bpo9+1
- unstable 3.6.1.3-1
PROTOC(1) | protocol buffer compiler | PROTOC(1) |
NAME¶
protoc - compile protocol buffer description filesSYNOPSIS¶
protoc [--cpp_out=OUT_DIR]
[--java_out= OUT_DIR]
[--python_out=OUT_DIR] [
-IPATH |
--proto-path=PATH] PROTO_FILE
protoc {-h | --help}
protoc --version
DESCRIPTION¶
protoc is a compiler for protocol buffers definitions files. It can can generate C++, Java and Python source code for the classes defined in PROTO_FILE.OPTIONS¶
-IPATH, --proto_path=PATHSpecify the directory in which to search for imports. May
be specified multiple times; directories will be searched in order. If not
given, the current working directory is used.
--cpp_out=OUT_DIR
Enable generation of C++ bindings and store them in
OUT_DIR.
--java_out=OUT_DIR
Enable generation of Java bindings and store them in
OUT_DIR.
--python_out=OUT_DIR
Enable generation of Python bindings and store them in
OUT_DIR.
-h, --help
Show summary of options.
--version
Show version of program.
Note that at least one of the --cpp_out, --java_out and
--python_out options must be given (otherwise the program has nothing
to do). It's also possible to specify more than one.
BUGS¶
The program currently exits with code 255 for all errors, which makes it hard to differentiante from scripts the actual error. The upstreams BTS can be found at http://code.google.com/p/protobuf/issues/list.SEE ALSO¶
More documentation about protocol buffers syntax and APIs is available online at http://code.google.com/apis/protocolbuffers/docs/overview.html.AUTHOR¶
Iustin Pop <iusty@k1024.org>Wrote this manpage for the Debian system.
COPYRIGHT¶
Copyright © 2007 Iustin Pop2008-10-04 | protobuf 2.0.2 |