Annotation Interface Protobuf
A mapped annotation for protobuf
- 从以下版本开始:
- 1.0.0
- 作者:
- xiemalin
-
可选元素概要
可选元素
-
元素详细资料
-
required
boolean requiredSpecifying Field Rules to
requiredoroptionaldefault is false.optional- 返回:
- Specifying Field Rules
- 默认值:
- false
-
order
int orderSet field order. It starts at 1;- 返回:
- field order.
- 默认值:
- 0
-
fieldType
FieldType fieldType- 返回:
- field type
- 默认值:
- DEFAULT
-
description
String description- 返回:
- description to the field
- 默认值:
- ""
-