➜ ~ : ✗ protoc -h

Usage: protoc [OPTION] PROTO_FILES

Parse PROTO_FILES and generate output based on the options given:

-IPATH, --proto_path=PATH Specify 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.

--version Show version info and exit.

-h, --help Show this text and exit.

--encode=MESSAGE_TYPE Read a text-format message of the given type

from standard input and write it in binary

to standard output. The message type must

be defined in PROTO_FILES or their imports.

--decode=MESSAGE_TYPE Read a binary message of the given type from

standard input and write it in text format

to standard output. The message type must

be defined in PROTO_FILES or their imports.

--decode_raw Read an arbitrary protocol message from

standard input and write the raw tag/value

pairs in text format to standard output. No

PROTO_FILES should be given when using this

flag.

-oFILE, Writes a FileDescriptorSet (a protocol buffer,

--descriptor_set_out=FILE defined in descriptor.proto) containing all of

the input files to FILE.

--include_imports When using --descriptor_set_out, also include

all dependencies of the input files in the

set, so that the set is self-contained.

--include_source_info When using --descriptor_set_out, do not strip

SourceCodeInfo from the FileDescriptorProto.

This results in vastly larger descriptors that

include information about the original

location of each decl in the source file as

well as surrounding comments.

--error_format=FORMAT Set the format in which to print errors.

FORMAT may be 'gcc' (the default) or 'msvs'

(Microsoft Visual Studio format).

--plugin=EXECUTABLE Specifies a plugin executable to use.

Normally, protoc searches the PATH for

plugins, but you may specify additional

executables not in the path using this flag.

Additionally, EXECUTABLE may be of the form

NAME=PATH, in which case the given plugin name

is mapped to the given executable even if

the executable's own name differs.

--cpp_out=OUT_DIR Generate C++ header and source.

--java_out=OUT_DIR Generate Java source file.

--python_out=OUT_DIR Generate Python source file.

protoc 命令 java_protoc 指令介绍相关推荐

  1. 可编程仪器标准命令SCPI指令介绍

    SCPI指令是可编程仪器标准命令(Standard Commands for Programmable Instruments)的简称,它实际定义了一套用于控制可编程测量仪器的标准语法和命令. SCP ...

  2. Vue.js-Day01-AM【第一次学习-安装、基础使用(引入方式)、数据展示、指令介绍(v-html、v-text、v-bind、v-if、v-for】

    Vue.js实训[基础理论(5天)+项目实战(5天)]博客汇总表[详细笔记] 目   录 1.讲在前面 课程内容 实训课内容 2.Vue.js介绍 2.1.安装 开发环境 版本介绍 2.2.基础使用 ...

  3. AT命令的简单介绍和使用

    一.AT命令的简单介绍 AT即Attention,AT指令集是从终端设备(Terminal Equipment, TE)或数据中断设备(Data Terminal Equipment, DTE)向终端 ...

  4. 第四篇:ROS常用命令行指令【重点】

    系列文章目录 提示:这里可以添加系列文章的所有文章的目录,目录需要自己手动添加 TODO:写完再整理 文章目录 系列文章目录 前言 一.常用的ROS命令行指令 1.系统类指令 2.启动类指令 3.节点 ...

  5. Linux环境搭建和基础指令介绍

    目录: 一:环境搭建 二:基础指令介绍 三:Linux权限 一:环境搭建 搭建linux环境主要用到俩个工具,一个是Linux镜像,一个是远程终端软件. Linux镜像选择: 1.实惠选择:安装一个虚 ...

  6. 我的世界服务器传送时间修改,我的世界改变时间天气和传送的指令介绍

    来源:游戏园日期:2019-05-28 04:03:48 我的世界改变时间天气和传送的指令介绍.那在我的世界里面怎样改变天气和传送呢?并且改变时间的指令又是什么?那想知道的玩家不妨进来看看哦~ 游戏园 ...

  7. Sqoop 安装配置、指令介绍【导入、导出】

    文章目录 Sqoop 原理 1.导入原理 2.导出原理 Sqoop 安装配置 1.Sqoop 安装 2.Sqoop配置 3.执行效果测试 Sqoop指令介绍 Sqoop 数据导入(import) My ...

  8. at指令 meid_AT指令介绍及用法,AT 指令集合

    AT指令介绍及用法,AT 指令集合 AT指令在当代手机通讯中起着重要的作用,能够通过AT指令控制手机的许多行为,包括拨叫号码.按键控制.传真.GPRS等.西门子M55手机为我提供了很多的AT指令,网络 ...

  9. vue使用,及指令介绍,计算属性/过滤器

    目录 Vue是什么 vue的单页面原理 Vue的使用 指令介绍: v-if和 v-show的区别 v-on 事件绑定: v-bind 绑定属性 处理数组绑定 v-model双向数据绑定 created ...

  10. 我的世界手机版制作服务器指令大全,我的世界手机版服务器命令方块指令大全 | 手游网游页游攻略大全...

    发布时间:2016-05-23 服务器开服指令大全(英文版) 我的世界手机版服务器开服指令大全,电脑开服务器指令汇总分享.相信有些玩家玩我的世界手机版多人联机的时候,使用的服务器有很多都是用电脑来开设 ...

最新文章

  1. python多版本共存使用pip
  2. BundleTrack:无需实例或类级别3D模型的6D姿态跟踪算法(IROS2021)
  3. Android--PullToRefreshListView 的简单使用
  4. java 获取麦克_Java Sound API-捕获麦克风
  5. 计数在html怎么添加,在Go中显示html模板的计数
  6. 如何利用光衰减器测试光纤收发器的灵敏度?
  7. 阿里巴巴Java开发手册的正确学习姿势是怎样的? | 文末送书
  8. 贪心法——区间选点问题
  9. 分布式系统关联查询_一文详解分布式系统 | 留言送书
  10. Web十大安全隐患之XSS跨站脚本
  11. BZOJ 1051 || POJ 2186 受欢迎的牛 Tarjan
  12. paip.数组以及集合的操作uapi java php python总结..
  13. java中的displaytag类_java-如何在displaytag中以xlsx扩展名导出Excel文...
  14. EditText实现输入自定义表情
  15. java实现ABAC
  16. JAVA音程_大三度和小三度
  17. linux里面sftp命令,Linux中sftp命令起什么作用呢?
  18. dmesg 命令详解
  19. 从知识营销的爆发,触达知乎的高价值人群
  20. python趣味入门——写几个常玩的游戏

热门文章

  1. Springboot入门级教程详解
  2. 如何使用qq截图工具,却能保证系统不会随意放大
  3. 算法分析 | 分支限界算法设计之布线问题 C语言版
  4. Gitlab文件管理之把文档传到指定文件夹
  5. 汽车故障检测仪计算机教程,道通MS诊断仪在线编程刷隐藏908SPRO汽车故障检测电脑...
  6. 2020 wps 免登录_电脑WPS2020永久会员版下载
  7. DotNetBar SuperGridControl控件
  8. VM12 虚拟机使用桥接模式却连不上网的解决办法
  9. selenium之滑块操作
  10. 质性数据分析软件NVivo教程:自动编码情绪如何运作?