-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

protoc


> Parse Google Protobuf `.proto` files and generate output in the specified language.

More information.


Generate Python code from a `.proto` file:

protoc --python_out={path/to/output_directory} {input_file.proto}

Generate Java code from a `.proto` file that imports other `.proto` files:

protoc --java_out={path/to/output_directory} --proto_path={path/to/import_search_path} {input_file.proto}

Generate code for multiple languages:

protoc --csharp_out={path/to/c#_output_directory} --js_out={path/to/js_output_directory} {input_file.proto}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 00:27:03 2024