diff --git a/source/users/advance_usage.rst b/source/users/advance_usage.rst index 572b9f4..5eca067 100644 --- a/source/users/advance_usage.rst +++ b/source/users/advance_usage.rst @@ -272,17 +272,19 @@ Protobuf插件 - EnumValue插件 Protobuf插件 - Oneof插件(2.8.0版本及以上) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -+--------------------------------------------------+--------+--------------------------------------------------------------------+ -| 插件名称 | 类型 | 插件功能 | -+==================================================+========+====================================================================+ -| org.xresloader.oneof_description | string | oneof描述信息,可能会写入输出的header中和代码中 | -+--------------------------------------------------+--------+--------------------------------------------------------------------+ -| org.xresloader.oneof_separator | string | | -+--------------------------------------------------+--------+--------------------------------------------------------------------+ -| org.xresloader.oneof_not_null | string | 如果配置了字段映射,忽略此项为空的行(版本>=v2.14.0-rc2) | -+--------------------------------------------------+--------+--------------------------------------------------------------------+ -| org.xresloader.oneof_allow_missing_in_plain_mode | bool | Plain模式下设置此字段可选,如果未设置则使用默认值 (版本>=2.16.0) | -+--------------------------------------------------+--------+--------------------------------------------------------------------+ ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ +| 插件名称 | 类型 | 插件功能 | ++==================================================+========+====================================================================================+ +| org.xresloader.oneof_description | string | oneof描述信息,可能会写入输出的header中和代码中 | ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ +| org.xresloader.oneof_separator | string | | ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ +| org.xresloader.oneof_not_null | string | 如果配置了字段映射,忽略此项为空的行(版本>=v2.14.0-rc2) | ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ +| org.xresloader.oneof_allow_missing_in_plain_mode | bool | Plain模式下设置此字段可选,如果未设置则使用默认值 (版本>=2.16.0) | ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ +| org.xresloader.oneof_tag | string | 设置字段Tag,配合 ``--ignore-field-tags`` 选项可用于跳过某些数据。(版本>=2.16.0) | ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ 仅导出部分字段