@dcl/protocol 1.0.0-9466805132.commit-365e0bb → 1.0.0-9682449435.commit-1b32d83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out-js/decentraland/common/texture.gen.js +5 -5
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +3 -3
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +3 -3
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +3 -3
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +243 -5
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.js +3 -3
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +35 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +172 -3
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +3 -3
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +5 -5
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +3 -3
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +5 -5
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.js +3 -3
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +3 -3
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +3 -3
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.js +3 -3
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/tween.gen.js +3 -3
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +3 -3
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/tween_state.gen.js +3 -3
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.js +3 -3
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +6 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +46 -4
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +208 -22
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +14 -14
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.js +11 -11
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +292 -1
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +218 -2
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +58 -1
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +212 -1
- package/package.json +2 -2
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +21 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +22 -3
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +4 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +21 -0
- package/proto/google/LICENSE +27 -27
- package/proto/google/README.md +1 -1
- package/proto/google/api/annotations.json +82 -82
- package/proto/google/api/annotations.proto +10 -10
- package/proto/google/api/http.json +85 -85
- package/proto/google/api/http.proto +30 -30
- package/proto/google/protobuf/api.json +117 -117
- package/proto/google/protobuf/api.proto +33 -33
- package/proto/google/protobuf/descriptor.json +738 -738
- package/proto/google/protobuf/descriptor.proto +286 -286
- package/proto/google/protobuf/source_context.json +19 -19
- package/proto/google/protobuf/source_context.proto +7 -7
- package/proto/google/protobuf/type.json +201 -201
- package/proto/google/protobuf/type.proto +89 -89
|
@@ -1,202 +1,202 @@
|
|
|
1
|
-
{
|
|
2
|
-
"nested": {
|
|
3
|
-
"google": {
|
|
4
|
-
"nested": {
|
|
5
|
-
"protobuf": {
|
|
6
|
-
"nested": {
|
|
7
|
-
"Type": {
|
|
8
|
-
"fields": {
|
|
9
|
-
"name": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"id": 1
|
|
12
|
-
},
|
|
13
|
-
"fields": {
|
|
14
|
-
"rule": "repeated",
|
|
15
|
-
"type": "Field",
|
|
16
|
-
"id": 2
|
|
17
|
-
},
|
|
18
|
-
"oneofs": {
|
|
19
|
-
"rule": "repeated",
|
|
20
|
-
"type": "string",
|
|
21
|
-
"id": 3
|
|
22
|
-
},
|
|
23
|
-
"options": {
|
|
24
|
-
"rule": "repeated",
|
|
25
|
-
"type": "Option",
|
|
26
|
-
"id": 4
|
|
27
|
-
},
|
|
28
|
-
"sourceContext": {
|
|
29
|
-
"type": "SourceContext",
|
|
30
|
-
"id": 5
|
|
31
|
-
},
|
|
32
|
-
"syntax": {
|
|
33
|
-
"type": "Syntax",
|
|
34
|
-
"id": 6
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"Field": {
|
|
39
|
-
"fields": {
|
|
40
|
-
"kind": {
|
|
41
|
-
"type": "Kind",
|
|
42
|
-
"id": 1
|
|
43
|
-
},
|
|
44
|
-
"cardinality": {
|
|
45
|
-
"type": "Cardinality",
|
|
46
|
-
"id": 2
|
|
47
|
-
},
|
|
48
|
-
"number": {
|
|
49
|
-
"type": "int32",
|
|
50
|
-
"id": 3
|
|
51
|
-
},
|
|
52
|
-
"name": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"id": 4
|
|
55
|
-
},
|
|
56
|
-
"typeUrl": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"id": 6
|
|
59
|
-
},
|
|
60
|
-
"oneofIndex": {
|
|
61
|
-
"type": "int32",
|
|
62
|
-
"id": 7
|
|
63
|
-
},
|
|
64
|
-
"packed": {
|
|
65
|
-
"type": "bool",
|
|
66
|
-
"id": 8
|
|
67
|
-
},
|
|
68
|
-
"options": {
|
|
69
|
-
"rule": "repeated",
|
|
70
|
-
"type": "Option",
|
|
71
|
-
"id": 9
|
|
72
|
-
},
|
|
73
|
-
"jsonName": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"id": 10
|
|
76
|
-
},
|
|
77
|
-
"defaultValue": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"id": 11
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"nested": {
|
|
83
|
-
"Kind": {
|
|
84
|
-
"values": {
|
|
85
|
-
"TYPE_UNKNOWN": 0,
|
|
86
|
-
"TYPE_DOUBLE": 1,
|
|
87
|
-
"TYPE_FLOAT": 2,
|
|
88
|
-
"TYPE_INT64": 3,
|
|
89
|
-
"TYPE_UINT64": 4,
|
|
90
|
-
"TYPE_INT32": 5,
|
|
91
|
-
"TYPE_FIXED64": 6,
|
|
92
|
-
"TYPE_FIXED32": 7,
|
|
93
|
-
"TYPE_BOOL": 8,
|
|
94
|
-
"TYPE_STRING": 9,
|
|
95
|
-
"TYPE_GROUP": 10,
|
|
96
|
-
"TYPE_MESSAGE": 11,
|
|
97
|
-
"TYPE_BYTES": 12,
|
|
98
|
-
"TYPE_UINT32": 13,
|
|
99
|
-
"TYPE_ENUM": 14,
|
|
100
|
-
"TYPE_SFIXED32": 15,
|
|
101
|
-
"TYPE_SFIXED64": 16,
|
|
102
|
-
"TYPE_SINT32": 17,
|
|
103
|
-
"TYPE_SINT64": 18
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"Cardinality": {
|
|
107
|
-
"values": {
|
|
108
|
-
"CARDINALITY_UNKNOWN": 0,
|
|
109
|
-
"CARDINALITY_OPTIONAL": 1,
|
|
110
|
-
"CARDINALITY_REQUIRED": 2,
|
|
111
|
-
"CARDINALITY_REPEATED": 3
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"Enum": {
|
|
117
|
-
"fields": {
|
|
118
|
-
"name": {
|
|
119
|
-
"type": "string",
|
|
120
|
-
"id": 1
|
|
121
|
-
},
|
|
122
|
-
"enumvalue": {
|
|
123
|
-
"rule": "repeated",
|
|
124
|
-
"type": "EnumValue",
|
|
125
|
-
"id": 2
|
|
126
|
-
},
|
|
127
|
-
"options": {
|
|
128
|
-
"rule": "repeated",
|
|
129
|
-
"type": "Option",
|
|
130
|
-
"id": 3
|
|
131
|
-
},
|
|
132
|
-
"sourceContext": {
|
|
133
|
-
"type": "SourceContext",
|
|
134
|
-
"id": 4
|
|
135
|
-
},
|
|
136
|
-
"syntax": {
|
|
137
|
-
"type": "Syntax",
|
|
138
|
-
"id": 5
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"EnumValue": {
|
|
143
|
-
"fields": {
|
|
144
|
-
"name": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"id": 1
|
|
147
|
-
},
|
|
148
|
-
"number": {
|
|
149
|
-
"type": "int32",
|
|
150
|
-
"id": 2
|
|
151
|
-
},
|
|
152
|
-
"options": {
|
|
153
|
-
"rule": "repeated",
|
|
154
|
-
"type": "Option",
|
|
155
|
-
"id": 3
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"Option": {
|
|
160
|
-
"fields": {
|
|
161
|
-
"name": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"id": 1
|
|
164
|
-
},
|
|
165
|
-
"value": {
|
|
166
|
-
"type": "Any",
|
|
167
|
-
"id": 2
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"Syntax": {
|
|
172
|
-
"values": {
|
|
173
|
-
"SYNTAX_PROTO2": 0,
|
|
174
|
-
"SYNTAX_PROTO3": 1
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
"Any": {
|
|
178
|
-
"fields": {
|
|
179
|
-
"type_url": {
|
|
180
|
-
"type": "string",
|
|
181
|
-
"id": 1
|
|
182
|
-
},
|
|
183
|
-
"value": {
|
|
184
|
-
"type": "bytes",
|
|
185
|
-
"id": 2
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"SourceContext": {
|
|
190
|
-
"fields": {
|
|
191
|
-
"fileName": {
|
|
192
|
-
"type": "string",
|
|
193
|
-
"id": 1
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"nested": {
|
|
3
|
+
"google": {
|
|
4
|
+
"nested": {
|
|
5
|
+
"protobuf": {
|
|
6
|
+
"nested": {
|
|
7
|
+
"Type": {
|
|
8
|
+
"fields": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"id": 1
|
|
12
|
+
},
|
|
13
|
+
"fields": {
|
|
14
|
+
"rule": "repeated",
|
|
15
|
+
"type": "Field",
|
|
16
|
+
"id": 2
|
|
17
|
+
},
|
|
18
|
+
"oneofs": {
|
|
19
|
+
"rule": "repeated",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"id": 3
|
|
22
|
+
},
|
|
23
|
+
"options": {
|
|
24
|
+
"rule": "repeated",
|
|
25
|
+
"type": "Option",
|
|
26
|
+
"id": 4
|
|
27
|
+
},
|
|
28
|
+
"sourceContext": {
|
|
29
|
+
"type": "SourceContext",
|
|
30
|
+
"id": 5
|
|
31
|
+
},
|
|
32
|
+
"syntax": {
|
|
33
|
+
"type": "Syntax",
|
|
34
|
+
"id": 6
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"Field": {
|
|
39
|
+
"fields": {
|
|
40
|
+
"kind": {
|
|
41
|
+
"type": "Kind",
|
|
42
|
+
"id": 1
|
|
43
|
+
},
|
|
44
|
+
"cardinality": {
|
|
45
|
+
"type": "Cardinality",
|
|
46
|
+
"id": 2
|
|
47
|
+
},
|
|
48
|
+
"number": {
|
|
49
|
+
"type": "int32",
|
|
50
|
+
"id": 3
|
|
51
|
+
},
|
|
52
|
+
"name": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"id": 4
|
|
55
|
+
},
|
|
56
|
+
"typeUrl": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"id": 6
|
|
59
|
+
},
|
|
60
|
+
"oneofIndex": {
|
|
61
|
+
"type": "int32",
|
|
62
|
+
"id": 7
|
|
63
|
+
},
|
|
64
|
+
"packed": {
|
|
65
|
+
"type": "bool",
|
|
66
|
+
"id": 8
|
|
67
|
+
},
|
|
68
|
+
"options": {
|
|
69
|
+
"rule": "repeated",
|
|
70
|
+
"type": "Option",
|
|
71
|
+
"id": 9
|
|
72
|
+
},
|
|
73
|
+
"jsonName": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"id": 10
|
|
76
|
+
},
|
|
77
|
+
"defaultValue": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"id": 11
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"nested": {
|
|
83
|
+
"Kind": {
|
|
84
|
+
"values": {
|
|
85
|
+
"TYPE_UNKNOWN": 0,
|
|
86
|
+
"TYPE_DOUBLE": 1,
|
|
87
|
+
"TYPE_FLOAT": 2,
|
|
88
|
+
"TYPE_INT64": 3,
|
|
89
|
+
"TYPE_UINT64": 4,
|
|
90
|
+
"TYPE_INT32": 5,
|
|
91
|
+
"TYPE_FIXED64": 6,
|
|
92
|
+
"TYPE_FIXED32": 7,
|
|
93
|
+
"TYPE_BOOL": 8,
|
|
94
|
+
"TYPE_STRING": 9,
|
|
95
|
+
"TYPE_GROUP": 10,
|
|
96
|
+
"TYPE_MESSAGE": 11,
|
|
97
|
+
"TYPE_BYTES": 12,
|
|
98
|
+
"TYPE_UINT32": 13,
|
|
99
|
+
"TYPE_ENUM": 14,
|
|
100
|
+
"TYPE_SFIXED32": 15,
|
|
101
|
+
"TYPE_SFIXED64": 16,
|
|
102
|
+
"TYPE_SINT32": 17,
|
|
103
|
+
"TYPE_SINT64": 18
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"Cardinality": {
|
|
107
|
+
"values": {
|
|
108
|
+
"CARDINALITY_UNKNOWN": 0,
|
|
109
|
+
"CARDINALITY_OPTIONAL": 1,
|
|
110
|
+
"CARDINALITY_REQUIRED": 2,
|
|
111
|
+
"CARDINALITY_REPEATED": 3
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"Enum": {
|
|
117
|
+
"fields": {
|
|
118
|
+
"name": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"id": 1
|
|
121
|
+
},
|
|
122
|
+
"enumvalue": {
|
|
123
|
+
"rule": "repeated",
|
|
124
|
+
"type": "EnumValue",
|
|
125
|
+
"id": 2
|
|
126
|
+
},
|
|
127
|
+
"options": {
|
|
128
|
+
"rule": "repeated",
|
|
129
|
+
"type": "Option",
|
|
130
|
+
"id": 3
|
|
131
|
+
},
|
|
132
|
+
"sourceContext": {
|
|
133
|
+
"type": "SourceContext",
|
|
134
|
+
"id": 4
|
|
135
|
+
},
|
|
136
|
+
"syntax": {
|
|
137
|
+
"type": "Syntax",
|
|
138
|
+
"id": 5
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"EnumValue": {
|
|
143
|
+
"fields": {
|
|
144
|
+
"name": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"id": 1
|
|
147
|
+
},
|
|
148
|
+
"number": {
|
|
149
|
+
"type": "int32",
|
|
150
|
+
"id": 2
|
|
151
|
+
},
|
|
152
|
+
"options": {
|
|
153
|
+
"rule": "repeated",
|
|
154
|
+
"type": "Option",
|
|
155
|
+
"id": 3
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"Option": {
|
|
160
|
+
"fields": {
|
|
161
|
+
"name": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"id": 1
|
|
164
|
+
},
|
|
165
|
+
"value": {
|
|
166
|
+
"type": "Any",
|
|
167
|
+
"id": 2
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"Syntax": {
|
|
172
|
+
"values": {
|
|
173
|
+
"SYNTAX_PROTO2": 0,
|
|
174
|
+
"SYNTAX_PROTO3": 1
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"Any": {
|
|
178
|
+
"fields": {
|
|
179
|
+
"type_url": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"id": 1
|
|
182
|
+
},
|
|
183
|
+
"value": {
|
|
184
|
+
"type": "bytes",
|
|
185
|
+
"id": 2
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"SourceContext": {
|
|
190
|
+
"fields": {
|
|
191
|
+
"fileName": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"id": 1
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
202
|
}
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package google.protobuf;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/any.proto";
|
|
6
|
-
import "google/protobuf/source_context.proto";
|
|
7
|
-
|
|
8
|
-
message Type {
|
|
9
|
-
|
|
10
|
-
string name = 1;
|
|
11
|
-
repeated Field fields = 2;
|
|
12
|
-
repeated string oneofs = 3;
|
|
13
|
-
repeated Option options = 4;
|
|
14
|
-
SourceContext source_context = 5;
|
|
15
|
-
Syntax syntax = 6;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message Field {
|
|
19
|
-
|
|
20
|
-
Kind kind = 1;
|
|
21
|
-
Cardinality cardinality = 2;
|
|
22
|
-
int32 number = 3;
|
|
23
|
-
string name = 4;
|
|
24
|
-
string type_url = 6;
|
|
25
|
-
int32 oneof_index = 7;
|
|
26
|
-
bool packed = 8;
|
|
27
|
-
repeated Option options = 9;
|
|
28
|
-
string json_name = 10;
|
|
29
|
-
string default_value = 11;
|
|
30
|
-
|
|
31
|
-
enum Kind {
|
|
32
|
-
|
|
33
|
-
TYPE_UNKNOWN = 0;
|
|
34
|
-
TYPE_DOUBLE = 1;
|
|
35
|
-
TYPE_FLOAT = 2;
|
|
36
|
-
TYPE_INT64 = 3;
|
|
37
|
-
TYPE_UINT64 = 4;
|
|
38
|
-
TYPE_INT32 = 5;
|
|
39
|
-
TYPE_FIXED64 = 6;
|
|
40
|
-
TYPE_FIXED32 = 7;
|
|
41
|
-
TYPE_BOOL = 8;
|
|
42
|
-
TYPE_STRING = 9;
|
|
43
|
-
TYPE_GROUP = 10;
|
|
44
|
-
TYPE_MESSAGE = 11;
|
|
45
|
-
TYPE_BYTES = 12;
|
|
46
|
-
TYPE_UINT32 = 13;
|
|
47
|
-
TYPE_ENUM = 14;
|
|
48
|
-
TYPE_SFIXED32 = 15;
|
|
49
|
-
TYPE_SFIXED64 = 16;
|
|
50
|
-
TYPE_SINT32 = 17;
|
|
51
|
-
TYPE_SINT64 = 18;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
enum Cardinality {
|
|
55
|
-
|
|
56
|
-
CARDINALITY_UNKNOWN = 0;
|
|
57
|
-
CARDINALITY_OPTIONAL = 1;
|
|
58
|
-
CARDINALITY_REQUIRED = 2;
|
|
59
|
-
CARDINALITY_REPEATED = 3;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
message Enum {
|
|
64
|
-
|
|
65
|
-
string name = 1;
|
|
66
|
-
repeated EnumValue enumvalue = 2;
|
|
67
|
-
repeated Option options = 3;
|
|
68
|
-
SourceContext source_context = 4;
|
|
69
|
-
Syntax syntax = 5;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message EnumValue {
|
|
73
|
-
|
|
74
|
-
string name = 1;
|
|
75
|
-
int32 number = 2;
|
|
76
|
-
repeated Option options = 3;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message Option {
|
|
80
|
-
|
|
81
|
-
string name = 1;
|
|
82
|
-
Any value = 2;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
enum Syntax {
|
|
86
|
-
|
|
87
|
-
SYNTAX_PROTO2 = 0;
|
|
88
|
-
SYNTAX_PROTO3 = 1;
|
|
89
|
-
}
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/any.proto";
|
|
6
|
+
import "google/protobuf/source_context.proto";
|
|
7
|
+
|
|
8
|
+
message Type {
|
|
9
|
+
|
|
10
|
+
string name = 1;
|
|
11
|
+
repeated Field fields = 2;
|
|
12
|
+
repeated string oneofs = 3;
|
|
13
|
+
repeated Option options = 4;
|
|
14
|
+
SourceContext source_context = 5;
|
|
15
|
+
Syntax syntax = 6;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message Field {
|
|
19
|
+
|
|
20
|
+
Kind kind = 1;
|
|
21
|
+
Cardinality cardinality = 2;
|
|
22
|
+
int32 number = 3;
|
|
23
|
+
string name = 4;
|
|
24
|
+
string type_url = 6;
|
|
25
|
+
int32 oneof_index = 7;
|
|
26
|
+
bool packed = 8;
|
|
27
|
+
repeated Option options = 9;
|
|
28
|
+
string json_name = 10;
|
|
29
|
+
string default_value = 11;
|
|
30
|
+
|
|
31
|
+
enum Kind {
|
|
32
|
+
|
|
33
|
+
TYPE_UNKNOWN = 0;
|
|
34
|
+
TYPE_DOUBLE = 1;
|
|
35
|
+
TYPE_FLOAT = 2;
|
|
36
|
+
TYPE_INT64 = 3;
|
|
37
|
+
TYPE_UINT64 = 4;
|
|
38
|
+
TYPE_INT32 = 5;
|
|
39
|
+
TYPE_FIXED64 = 6;
|
|
40
|
+
TYPE_FIXED32 = 7;
|
|
41
|
+
TYPE_BOOL = 8;
|
|
42
|
+
TYPE_STRING = 9;
|
|
43
|
+
TYPE_GROUP = 10;
|
|
44
|
+
TYPE_MESSAGE = 11;
|
|
45
|
+
TYPE_BYTES = 12;
|
|
46
|
+
TYPE_UINT32 = 13;
|
|
47
|
+
TYPE_ENUM = 14;
|
|
48
|
+
TYPE_SFIXED32 = 15;
|
|
49
|
+
TYPE_SFIXED64 = 16;
|
|
50
|
+
TYPE_SINT32 = 17;
|
|
51
|
+
TYPE_SINT64 = 18;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
enum Cardinality {
|
|
55
|
+
|
|
56
|
+
CARDINALITY_UNKNOWN = 0;
|
|
57
|
+
CARDINALITY_OPTIONAL = 1;
|
|
58
|
+
CARDINALITY_REQUIRED = 2;
|
|
59
|
+
CARDINALITY_REPEATED = 3;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message Enum {
|
|
64
|
+
|
|
65
|
+
string name = 1;
|
|
66
|
+
repeated EnumValue enumvalue = 2;
|
|
67
|
+
repeated Option options = 3;
|
|
68
|
+
SourceContext source_context = 4;
|
|
69
|
+
Syntax syntax = 5;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message EnumValue {
|
|
73
|
+
|
|
74
|
+
string name = 1;
|
|
75
|
+
int32 number = 2;
|
|
76
|
+
repeated Option options = 3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message Option {
|
|
80
|
+
|
|
81
|
+
string name = 1;
|
|
82
|
+
Any value = 2;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
enum Syntax {
|
|
86
|
+
|
|
87
|
+
SYNTAX_PROTO2 = 0;
|
|
88
|
+
SYNTAX_PROTO3 = 1;
|
|
89
|
+
}
|