From 2a810bdb17b087ba33b5454e64510aac65d7c668 Mon Sep 17 00:00:00 2001 From: owent Date: Mon, 9 Sep 2024 22:12:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/users/advance_usage.rst | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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) | ++--------------------------------------------------+--------+------------------------------------------------------------------------------------+ 仅导出部分字段