@aptre/protobuf-es-lite 0.2.7 → 0.2.9
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/.ignore +1 -0
- package/README.md +23 -24
- package/bin/protoc-gen-es-lite +2 -2
- package/dist/binary-encoding.d.ts +420 -0
- package/dist/binary-encoding.js +437 -0
- package/dist/binary.d.ts +35 -2
- package/dist/binary.js +64 -65
- package/dist/codegen-info.d.ts +43 -0
- package/dist/codegen-info.js +72 -0
- package/dist/create-descriptor-set.d.ts +36 -0
- package/dist/create-descriptor-set.js +936 -0
- package/dist/descriptor-set.d.ts +672 -0
- package/dist/{editions.js → descriptor-set.js} +0 -11
- package/dist/enum.d.ts +35 -1
- package/dist/feature-set.d.ts +19 -0
- package/dist/feature-set.js +103 -0
- package/dist/field-wrapper.d.ts +7 -3
- package/dist/field-wrapper.js +30 -1
- package/dist/field.d.ts +8 -19
- package/dist/field.js +15 -117
- package/dist/google/index.d.ts +9 -0
- package/dist/google/index.js +41 -0
- package/dist/google/protobuf/any.pb.d.ts +139 -0
- package/dist/google/protobuf/any.pb.js +42 -0
- package/dist/google/protobuf/api.pb.d.ts +252 -0
- package/dist/google/protobuf/api.pb.js +70 -0
- package/dist/google/protobuf/compiler/plugin.pb.d.ts +240 -0
- package/dist/google/protobuf/compiler/plugin.pb.js +203 -0
- package/dist/google/protobuf/descriptor.pb.d.ts +2132 -0
- package/dist/google/protobuf/descriptor.pb.js +1080 -0
- package/dist/google/protobuf/duration.pb.d.ts +92 -0
- package/dist/google/protobuf/duration.pb.js +42 -0
- package/dist/google/protobuf/empty.pb.d.ts +18 -0
- package/dist/google/protobuf/empty.pb.js +39 -0
- package/dist/google/protobuf/source_context.pb.d.ts +21 -0
- package/dist/google/protobuf/source_context.pb.js +41 -0
- package/dist/google/protobuf/struct.pb.d.ts +121 -0
- package/dist/google/protobuf/struct.pb.js +83 -0
- package/dist/google/protobuf/timestamp.pb.d.ts +121 -0
- package/dist/google/protobuf/timestamp.pb.js +42 -0
- package/dist/google/protobuf/type.pb.d.ts +464 -0
- package/dist/google/protobuf/type.pb.js +338 -0
- package/dist/google/protobuf/wrappers.pb.d.ts +183 -0
- package/dist/google/protobuf/wrappers.pb.js +107 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.js +41 -8
- package/dist/is-message.d.ts +10 -2
- package/dist/is-message.js +74 -3
- package/dist/json.d.ts +68 -1
- package/dist/json.js +57 -81
- package/dist/message.d.ts +30 -61
- package/dist/message.js +61 -20
- package/dist/names.d.ts +43 -0
- package/dist/names.js +276 -0
- package/dist/partial.js +14 -15
- package/dist/proto-base64.d.ts +18 -0
- package/dist/proto-base64.js +128 -0
- package/dist/proto-double.d.ts +5 -0
- package/dist/proto-double.js +29 -0
- package/dist/proto-int64.d.ts +95 -0
- package/dist/proto-int64.js +116 -0
- package/dist/protoc-gen-es-lite/protoc-gen-es-lite-plugin.d.ts +1 -0
- package/dist/{protoc-gen-es-lite-plugin.js → protoc-gen-es-lite/protoc-gen-es-lite-plugin.js} +2 -2
- package/dist/{typescript.d.ts → protoc-gen-es-lite/typescript.d.ts} +3 -2
- package/dist/{typescript.js → protoc-gen-es-lite/typescript.js} +46 -34
- package/dist/protoplugin/create-es-plugin.d.ts +83 -0
- package/dist/protoplugin/create-es-plugin.js +119 -0
- package/dist/protoplugin/ecmascript/file-preamble.d.ts +2 -0
- package/dist/protoplugin/ecmascript/file-preamble.js +74 -0
- package/dist/protoplugin/ecmascript/generated-file.d.ts +116 -0
- package/dist/protoplugin/ecmascript/generated-file.js +407 -0
- package/dist/protoplugin/ecmascript/import-path.d.ts +65 -0
- package/dist/protoplugin/ecmascript/import-path.js +156 -0
- package/dist/protoplugin/ecmascript/import-symbol.d.ts +39 -0
- package/dist/protoplugin/ecmascript/import-symbol.js +37 -0
- package/dist/protoplugin/ecmascript/index.d.ts +7 -0
- package/dist/protoplugin/ecmascript/index.js +20 -0
- package/dist/protoplugin/ecmascript/jsdoc.d.ts +14 -0
- package/dist/protoplugin/ecmascript/jsdoc.js +93 -0
- package/dist/protoplugin/ecmascript/opaque-printables.d.ts +27 -0
- package/dist/protoplugin/ecmascript/opaque-printables.js +15 -0
- package/dist/protoplugin/ecmascript/parameter.d.ts +13 -0
- package/dist/protoplugin/ecmascript/parameter.js +161 -0
- package/dist/protoplugin/ecmascript/reify-wkt.d.ts +100 -0
- package/dist/protoplugin/ecmascript/reify-wkt.js +170 -0
- package/dist/protoplugin/ecmascript/runtime-imports.d.ts +6 -0
- package/dist/protoplugin/ecmascript/runtime-imports.js +28 -0
- package/dist/protoplugin/ecmascript/schema.d.ts +43 -0
- package/dist/protoplugin/ecmascript/schema.js +73 -0
- package/dist/protoplugin/ecmascript/target.d.ts +4 -0
- package/dist/protoplugin/ecmascript/target.js +15 -0
- package/dist/protoplugin/ecmascript/transpile.d.ts +2 -0
- package/dist/protoplugin/ecmascript/transpile.js +149 -0
- package/dist/protoplugin/error.d.ts +6 -0
- package/dist/protoplugin/error.js +43 -0
- package/dist/protoplugin/index.d.ts +8 -0
- package/dist/protoplugin/index.js +20 -0
- package/dist/protoplugin/plugin.d.ts +18 -0
- package/dist/protoplugin/plugin.js +15 -0
- package/dist/protoplugin/run-node.d.ts +12 -0
- package/dist/protoplugin/run-node.js +83 -0
- package/dist/scalar.d.ts +53 -1
- package/dist/scalar.js +87 -22
- package/dist/service-type.d.ts +95 -0
- package/dist/service-type.js +53 -0
- package/dist/text-format.d.ts +4 -0
- package/dist/text-format.js +189 -0
- package/dist/type-registry.d.ts +43 -0
- package/dist/type-registry.js +15 -0
- package/dist/unknown.d.ts +1 -1
- package/dist/util.d.ts +2 -2
- package/dist/util.js +46 -44
- package/dist/varint.d.ts +70 -0
- package/dist/varint.js +324 -0
- package/example/example.pb.ts +87 -0
- package/example/example.proto +1 -0
- package/example/tsconfig.json +8 -2
- package/package.json +19 -12
- package/tsconfig.json +4 -4
- package/dist/editions.d.ts +0 -6
- package/dist/protoc-gen-es-lite-plugin.d.ts +0 -1
|
@@ -0,0 +1,2132 @@
|
|
|
1
|
+
import type { MessageType } from "../../";
|
|
2
|
+
import { Message } from "../../";
|
|
3
|
+
export declare const protobufPackage = "google.protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* The full set of known editions.
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* @generated from enum google.protobuf.Edition
|
|
9
|
+
*/
|
|
10
|
+
export declare enum Edition {
|
|
11
|
+
/**
|
|
12
|
+
* A placeholder for an unknown edition value.
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @generated from enum value: EDITION_UNKNOWN = 0;
|
|
16
|
+
*/
|
|
17
|
+
EDITION_UNKNOWN = 0,
|
|
18
|
+
/**
|
|
19
|
+
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
20
|
+
* distinct editions. These can't be used to specify the edition of proto
|
|
21
|
+
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
22
|
+
* backwards compatibility.
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum value: EDITION_PROTO2 = 998;
|
|
26
|
+
*/
|
|
27
|
+
EDITION_PROTO2 = 998,
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: EDITION_PROTO3 = 999;
|
|
30
|
+
*/
|
|
31
|
+
EDITION_PROTO3 = 999,
|
|
32
|
+
/**
|
|
33
|
+
* Editions that have been released. The specific values are arbitrary and
|
|
34
|
+
* should not be depended on, but they will always be time-ordered for easy
|
|
35
|
+
* comparison.
|
|
36
|
+
*
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum value: EDITION_2023 = 1000;
|
|
39
|
+
*/
|
|
40
|
+
EDITION_2023 = 1000,
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: EDITION_2024 = 1001;
|
|
43
|
+
*/
|
|
44
|
+
EDITION_2024 = 1001,
|
|
45
|
+
/**
|
|
46
|
+
* Placeholder editions for testing feature resolution. These should not be
|
|
47
|
+
* used or relyed on outside of tests.
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* @generated from enum value: EDITION_1_TEST_ONLY = 1;
|
|
51
|
+
*/
|
|
52
|
+
EDITION_1_TEST_ONLY = 1,
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: EDITION_2_TEST_ONLY = 2;
|
|
55
|
+
*/
|
|
56
|
+
EDITION_2_TEST_ONLY = 2,
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum value: EDITION_99997_TEST_ONLY = 99997;
|
|
59
|
+
*/
|
|
60
|
+
EDITION_99997_TEST_ONLY = 99997,
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: EDITION_99998_TEST_ONLY = 99998;
|
|
63
|
+
*/
|
|
64
|
+
EDITION_99998_TEST_ONLY = 99998,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: EDITION_99999_TEST_ONLY = 99999;
|
|
67
|
+
*/
|
|
68
|
+
EDITION_99999_TEST_ONLY = 99999,
|
|
69
|
+
/**
|
|
70
|
+
* Placeholder for specifying unbounded edition support. This should only
|
|
71
|
+
* ever be used by plugins that can expect to never require any changes to
|
|
72
|
+
* support a new edition.
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: EDITION_MAX = 2147483647;
|
|
76
|
+
*/
|
|
77
|
+
EDITION_MAX = 2147483647
|
|
78
|
+
}
|
|
79
|
+
export declare const Edition_Enum: import("../../enum").EnumType;
|
|
80
|
+
/**
|
|
81
|
+
* The verification state of the extension range.
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
|
|
85
|
+
*/
|
|
86
|
+
export declare enum ExtensionRangeOptions_VerificationState {
|
|
87
|
+
/**
|
|
88
|
+
* All the extensions of the range must be declared.
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @generated from enum value: DECLARATION = 0;
|
|
92
|
+
*/
|
|
93
|
+
DECLARATION = 0,
|
|
94
|
+
/**
|
|
95
|
+
* @generated from enum value: UNVERIFIED = 1;
|
|
96
|
+
*/
|
|
97
|
+
UNVERIFIED = 1
|
|
98
|
+
}
|
|
99
|
+
export declare const ExtensionRangeOptions_VerificationState_Enum: import("../../enum").EnumType;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
102
|
+
*/
|
|
103
|
+
export declare enum FieldDescriptorProto_Type {
|
|
104
|
+
/**
|
|
105
|
+
* 0 is reserved for errors.
|
|
106
|
+
* Order is weird for historical reasons.
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @generated from enum value: TYPE_DOUBLE = 1;
|
|
110
|
+
*/
|
|
111
|
+
DOUBLE = 1,
|
|
112
|
+
/**
|
|
113
|
+
* @generated from enum value: TYPE_FLOAT = 2;
|
|
114
|
+
*/
|
|
115
|
+
FLOAT = 2,
|
|
116
|
+
/**
|
|
117
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
118
|
+
* negative values are likely.
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @generated from enum value: TYPE_INT64 = 3;
|
|
122
|
+
*/
|
|
123
|
+
INT64 = 3,
|
|
124
|
+
/**
|
|
125
|
+
* @generated from enum value: TYPE_UINT64 = 4;
|
|
126
|
+
*/
|
|
127
|
+
UINT64 = 4,
|
|
128
|
+
/**
|
|
129
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
130
|
+
* negative values are likely.
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @generated from enum value: TYPE_INT32 = 5;
|
|
134
|
+
*/
|
|
135
|
+
INT32 = 5,
|
|
136
|
+
/**
|
|
137
|
+
* @generated from enum value: TYPE_FIXED64 = 6;
|
|
138
|
+
*/
|
|
139
|
+
FIXED64 = 6,
|
|
140
|
+
/**
|
|
141
|
+
* @generated from enum value: TYPE_FIXED32 = 7;
|
|
142
|
+
*/
|
|
143
|
+
FIXED32 = 7,
|
|
144
|
+
/**
|
|
145
|
+
* @generated from enum value: TYPE_BOOL = 8;
|
|
146
|
+
*/
|
|
147
|
+
BOOL = 8,
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum value: TYPE_STRING = 9;
|
|
150
|
+
*/
|
|
151
|
+
STRING = 9,
|
|
152
|
+
/**
|
|
153
|
+
* Tag-delimited aggregate.
|
|
154
|
+
* Group type is deprecated and not supported after google.protobuf. However, Proto3
|
|
155
|
+
* implementations should still be able to parse the group wire format and
|
|
156
|
+
* treat group fields as unknown fields. In Editions, the group wire format
|
|
157
|
+
* can be enabled via the `message_encoding` feature.
|
|
158
|
+
*
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: TYPE_GROUP = 10;
|
|
161
|
+
*/
|
|
162
|
+
GROUP = 10,
|
|
163
|
+
/**
|
|
164
|
+
* Length-delimited aggregate.
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: TYPE_MESSAGE = 11;
|
|
167
|
+
*/
|
|
168
|
+
MESSAGE = 11,
|
|
169
|
+
/**
|
|
170
|
+
* New in version 2.
|
|
171
|
+
*
|
|
172
|
+
*
|
|
173
|
+
* @generated from enum value: TYPE_BYTES = 12;
|
|
174
|
+
*/
|
|
175
|
+
BYTES = 12,
|
|
176
|
+
/**
|
|
177
|
+
* @generated from enum value: TYPE_UINT32 = 13;
|
|
178
|
+
*/
|
|
179
|
+
UINT32 = 13,
|
|
180
|
+
/**
|
|
181
|
+
* @generated from enum value: TYPE_ENUM = 14;
|
|
182
|
+
*/
|
|
183
|
+
ENUM = 14,
|
|
184
|
+
/**
|
|
185
|
+
* @generated from enum value: TYPE_SFIXED32 = 15;
|
|
186
|
+
*/
|
|
187
|
+
SFIXED32 = 15,
|
|
188
|
+
/**
|
|
189
|
+
* @generated from enum value: TYPE_SFIXED64 = 16;
|
|
190
|
+
*/
|
|
191
|
+
SFIXED64 = 16,
|
|
192
|
+
/**
|
|
193
|
+
* Uses ZigZag encoding.
|
|
194
|
+
*
|
|
195
|
+
* @generated from enum value: TYPE_SINT32 = 17;
|
|
196
|
+
*/
|
|
197
|
+
SINT32 = 17,
|
|
198
|
+
/**
|
|
199
|
+
* Uses ZigZag encoding.
|
|
200
|
+
*
|
|
201
|
+
* @generated from enum value: TYPE_SINT64 = 18;
|
|
202
|
+
*/
|
|
203
|
+
SINT64 = 18
|
|
204
|
+
}
|
|
205
|
+
export declare const FieldDescriptorProto_Type_Enum: import("../../enum").EnumType;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from enum google.protobuf.FieldDescriptorProto.Label
|
|
208
|
+
*/
|
|
209
|
+
export declare enum FieldDescriptorProto_Label {
|
|
210
|
+
/**
|
|
211
|
+
* 0 is reserved for errors
|
|
212
|
+
*
|
|
213
|
+
*
|
|
214
|
+
* @generated from enum value: LABEL_OPTIONAL = 1;
|
|
215
|
+
*/
|
|
216
|
+
OPTIONAL = 1,
|
|
217
|
+
/**
|
|
218
|
+
* @generated from enum value: LABEL_REPEATED = 3;
|
|
219
|
+
*/
|
|
220
|
+
REPEATED = 3,
|
|
221
|
+
/**
|
|
222
|
+
* The required label is only allowed in google.protobuf. In proto3 and Editions
|
|
223
|
+
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
|
224
|
+
* can be used to get this behavior.
|
|
225
|
+
*
|
|
226
|
+
*
|
|
227
|
+
* @generated from enum value: LABEL_REQUIRED = 2;
|
|
228
|
+
*/
|
|
229
|
+
REQUIRED = 2
|
|
230
|
+
}
|
|
231
|
+
export declare const FieldDescriptorProto_Label_Enum: import("../../enum").EnumType;
|
|
232
|
+
/**
|
|
233
|
+
* Generated classes can be optimized for speed or code size.
|
|
234
|
+
*
|
|
235
|
+
*
|
|
236
|
+
* @generated from enum google.protobuf.FileOptions.OptimizeMode
|
|
237
|
+
*/
|
|
238
|
+
export declare enum FileOptions_OptimizeMode {
|
|
239
|
+
/**
|
|
240
|
+
* Generate complete code for parsing, serialization,
|
|
241
|
+
*
|
|
242
|
+
* @generated from enum value: SPEED = 1;
|
|
243
|
+
*/
|
|
244
|
+
SPEED = 1,
|
|
245
|
+
/**
|
|
246
|
+
* etc.
|
|
247
|
+
*
|
|
248
|
+
* Use ReflectionOps to implement these methods.
|
|
249
|
+
*
|
|
250
|
+
* @generated from enum value: CODE_SIZE = 2;
|
|
251
|
+
*/
|
|
252
|
+
CODE_SIZE = 2,
|
|
253
|
+
/**
|
|
254
|
+
* Generate code using MessageLite and the lite runtime.
|
|
255
|
+
*
|
|
256
|
+
* @generated from enum value: LITE_RUNTIME = 3;
|
|
257
|
+
*/
|
|
258
|
+
LITE_RUNTIME = 3
|
|
259
|
+
}
|
|
260
|
+
export declare const FileOptions_OptimizeMode_Enum: import("../../enum").EnumType;
|
|
261
|
+
/**
|
|
262
|
+
* @generated from enum google.protobuf.FieldOptions.CType
|
|
263
|
+
*/
|
|
264
|
+
export declare enum FieldOptions_CType {
|
|
265
|
+
/**
|
|
266
|
+
* Default mode.
|
|
267
|
+
*
|
|
268
|
+
*
|
|
269
|
+
* @generated from enum value: STRING = 0;
|
|
270
|
+
*/
|
|
271
|
+
STRING = 0,
|
|
272
|
+
/**
|
|
273
|
+
* The option [ctype=CORD] may be applied to a non-repeated field of type
|
|
274
|
+
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
|
275
|
+
* instead of a string. For very large strings, this may reduce memory
|
|
276
|
+
* fragmentation. It may also allow better performance when parsing from a
|
|
277
|
+
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
|
278
|
+
* alias the original buffer.
|
|
279
|
+
*
|
|
280
|
+
*
|
|
281
|
+
* @generated from enum value: CORD = 1;
|
|
282
|
+
*/
|
|
283
|
+
CORD = 1,
|
|
284
|
+
/**
|
|
285
|
+
* @generated from enum value: STRING_PIECE = 2;
|
|
286
|
+
*/
|
|
287
|
+
STRING_PIECE = 2
|
|
288
|
+
}
|
|
289
|
+
export declare const FieldOptions_CType_Enum: import("../../enum").EnumType;
|
|
290
|
+
/**
|
|
291
|
+
* @generated from enum google.protobuf.FieldOptions.JSType
|
|
292
|
+
*/
|
|
293
|
+
export declare enum FieldOptions_JSType {
|
|
294
|
+
/**
|
|
295
|
+
* Use the default type.
|
|
296
|
+
*
|
|
297
|
+
*
|
|
298
|
+
* @generated from enum value: JS_NORMAL = 0;
|
|
299
|
+
*/
|
|
300
|
+
JS_NORMAL = 0,
|
|
301
|
+
/**
|
|
302
|
+
* Use JavaScript strings.
|
|
303
|
+
*
|
|
304
|
+
*
|
|
305
|
+
* @generated from enum value: JS_STRING = 1;
|
|
306
|
+
*/
|
|
307
|
+
JS_STRING = 1,
|
|
308
|
+
/**
|
|
309
|
+
* Use JavaScript numbers.
|
|
310
|
+
*
|
|
311
|
+
*
|
|
312
|
+
* @generated from enum value: JS_NUMBER = 2;
|
|
313
|
+
*/
|
|
314
|
+
JS_NUMBER = 2
|
|
315
|
+
}
|
|
316
|
+
export declare const FieldOptions_JSType_Enum: import("../../enum").EnumType;
|
|
317
|
+
/**
|
|
318
|
+
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
319
|
+
* Note: as of January 2023, support for this is in progress and does not yet
|
|
320
|
+
* have an effect (b/264593489).
|
|
321
|
+
*
|
|
322
|
+
*
|
|
323
|
+
* @generated from enum google.protobuf.FieldOptions.OptionRetention
|
|
324
|
+
*/
|
|
325
|
+
export declare enum FieldOptions_OptionRetention {
|
|
326
|
+
/**
|
|
327
|
+
* @generated from enum value: RETENTION_UNKNOWN = 0;
|
|
328
|
+
*/
|
|
329
|
+
RETENTION_UNKNOWN = 0,
|
|
330
|
+
/**
|
|
331
|
+
* @generated from enum value: RETENTION_RUNTIME = 1;
|
|
332
|
+
*/
|
|
333
|
+
RETENTION_RUNTIME = 1,
|
|
334
|
+
/**
|
|
335
|
+
* @generated from enum value: RETENTION_SOURCE = 2;
|
|
336
|
+
*/
|
|
337
|
+
RETENTION_SOURCE = 2
|
|
338
|
+
}
|
|
339
|
+
export declare const FieldOptions_OptionRetention_Enum: import("../../enum").EnumType;
|
|
340
|
+
/**
|
|
341
|
+
* This indicates the types of entities that the field may apply to when used
|
|
342
|
+
* as an option. If it is unset, then the field may be freely used as an
|
|
343
|
+
* option on any kind of entity. Note: as of January 2023, support for this is
|
|
344
|
+
* in progress and does not yet have an effect (b/264593489).
|
|
345
|
+
*
|
|
346
|
+
*
|
|
347
|
+
* @generated from enum google.protobuf.FieldOptions.OptionTargetType
|
|
348
|
+
*/
|
|
349
|
+
export declare enum FieldOptions_OptionTargetType {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from enum value: TARGET_TYPE_UNKNOWN = 0;
|
|
352
|
+
*/
|
|
353
|
+
TARGET_TYPE_UNKNOWN = 0,
|
|
354
|
+
/**
|
|
355
|
+
* @generated from enum value: TARGET_TYPE_FILE = 1;
|
|
356
|
+
*/
|
|
357
|
+
TARGET_TYPE_FILE = 1,
|
|
358
|
+
/**
|
|
359
|
+
* @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
|
|
360
|
+
*/
|
|
361
|
+
TARGET_TYPE_EXTENSION_RANGE = 2,
|
|
362
|
+
/**
|
|
363
|
+
* @generated from enum value: TARGET_TYPE_MESSAGE = 3;
|
|
364
|
+
*/
|
|
365
|
+
TARGET_TYPE_MESSAGE = 3,
|
|
366
|
+
/**
|
|
367
|
+
* @generated from enum value: TARGET_TYPE_FIELD = 4;
|
|
368
|
+
*/
|
|
369
|
+
TARGET_TYPE_FIELD = 4,
|
|
370
|
+
/**
|
|
371
|
+
* @generated from enum value: TARGET_TYPE_ONEOF = 5;
|
|
372
|
+
*/
|
|
373
|
+
TARGET_TYPE_ONEOF = 5,
|
|
374
|
+
/**
|
|
375
|
+
* @generated from enum value: TARGET_TYPE_ENUM = 6;
|
|
376
|
+
*/
|
|
377
|
+
TARGET_TYPE_ENUM = 6,
|
|
378
|
+
/**
|
|
379
|
+
* @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7;
|
|
380
|
+
*/
|
|
381
|
+
TARGET_TYPE_ENUM_ENTRY = 7,
|
|
382
|
+
/**
|
|
383
|
+
* @generated from enum value: TARGET_TYPE_SERVICE = 8;
|
|
384
|
+
*/
|
|
385
|
+
TARGET_TYPE_SERVICE = 8,
|
|
386
|
+
/**
|
|
387
|
+
* @generated from enum value: TARGET_TYPE_METHOD = 9;
|
|
388
|
+
*/
|
|
389
|
+
TARGET_TYPE_METHOD = 9
|
|
390
|
+
}
|
|
391
|
+
export declare const FieldOptions_OptionTargetType_Enum: import("../../enum").EnumType;
|
|
392
|
+
/**
|
|
393
|
+
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
394
|
+
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
395
|
+
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
396
|
+
*
|
|
397
|
+
*
|
|
398
|
+
* @generated from enum google.protobuf.MethodOptions.IdempotencyLevel
|
|
399
|
+
*/
|
|
400
|
+
export declare enum MethodOptions_IdempotencyLevel {
|
|
401
|
+
/**
|
|
402
|
+
* @generated from enum value: IDEMPOTENCY_UNKNOWN = 0;
|
|
403
|
+
*/
|
|
404
|
+
IDEMPOTENCY_UNKNOWN = 0,
|
|
405
|
+
/**
|
|
406
|
+
* implies idempotent
|
|
407
|
+
*
|
|
408
|
+
* @generated from enum value: NO_SIDE_EFFECTS = 1;
|
|
409
|
+
*/
|
|
410
|
+
NO_SIDE_EFFECTS = 1,
|
|
411
|
+
/**
|
|
412
|
+
* idempotent, but may have side effects
|
|
413
|
+
*
|
|
414
|
+
* @generated from enum value: IDEMPOTENT = 2;
|
|
415
|
+
*/
|
|
416
|
+
IDEMPOTENT = 2
|
|
417
|
+
}
|
|
418
|
+
export declare const MethodOptions_IdempotencyLevel_Enum: import("../../enum").EnumType;
|
|
419
|
+
/**
|
|
420
|
+
* @generated from enum google.protobuf.FeatureSet.FieldPresence
|
|
421
|
+
*/
|
|
422
|
+
export declare enum FeatureSet_FieldPresence {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0;
|
|
425
|
+
*/
|
|
426
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
|
427
|
+
/**
|
|
428
|
+
* @generated from enum value: EXPLICIT = 1;
|
|
429
|
+
*/
|
|
430
|
+
EXPLICIT = 1,
|
|
431
|
+
/**
|
|
432
|
+
* @generated from enum value: IMPLICIT = 2;
|
|
433
|
+
*/
|
|
434
|
+
IMPLICIT = 2,
|
|
435
|
+
/**
|
|
436
|
+
* @generated from enum value: LEGACY_REQUIRED = 3;
|
|
437
|
+
*/
|
|
438
|
+
LEGACY_REQUIRED = 3
|
|
439
|
+
}
|
|
440
|
+
export declare const FeatureSet_FieldPresence_Enum: import("../../enum").EnumType;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from enum google.protobuf.FeatureSet.EnumType
|
|
443
|
+
*/
|
|
444
|
+
export declare enum FeatureSet_EnumType {
|
|
445
|
+
/**
|
|
446
|
+
* @generated from enum value: ENUM_TYPE_UNKNOWN = 0;
|
|
447
|
+
*/
|
|
448
|
+
ENUM_TYPE_UNKNOWN = 0,
|
|
449
|
+
/**
|
|
450
|
+
* @generated from enum value: OPEN = 1;
|
|
451
|
+
*/
|
|
452
|
+
OPEN = 1,
|
|
453
|
+
/**
|
|
454
|
+
* @generated from enum value: CLOSED = 2;
|
|
455
|
+
*/
|
|
456
|
+
CLOSED = 2
|
|
457
|
+
}
|
|
458
|
+
export declare const FeatureSet_EnumType_Enum: import("../../enum").EnumType;
|
|
459
|
+
/**
|
|
460
|
+
* @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding
|
|
461
|
+
*/
|
|
462
|
+
export declare enum FeatureSet_RepeatedFieldEncoding {
|
|
463
|
+
/**
|
|
464
|
+
* @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0;
|
|
465
|
+
*/
|
|
466
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
467
|
+
/**
|
|
468
|
+
* @generated from enum value: PACKED = 1;
|
|
469
|
+
*/
|
|
470
|
+
PACKED = 1,
|
|
471
|
+
/**
|
|
472
|
+
* @generated from enum value: EXPANDED = 2;
|
|
473
|
+
*/
|
|
474
|
+
EXPANDED = 2
|
|
475
|
+
}
|
|
476
|
+
export declare const FeatureSet_RepeatedFieldEncoding_Enum: import("../../enum").EnumType;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from enum google.protobuf.FeatureSet.Utf8Validation
|
|
479
|
+
*/
|
|
480
|
+
export declare enum FeatureSet_Utf8Validation {
|
|
481
|
+
/**
|
|
482
|
+
* @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0;
|
|
483
|
+
*/
|
|
484
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
|
485
|
+
/**
|
|
486
|
+
* @generated from enum value: VERIFY = 2;
|
|
487
|
+
*/
|
|
488
|
+
VERIFY = 2,
|
|
489
|
+
/**
|
|
490
|
+
* @generated from enum value: NONE = 3;
|
|
491
|
+
*/
|
|
492
|
+
NONE = 3
|
|
493
|
+
}
|
|
494
|
+
export declare const FeatureSet_Utf8Validation_Enum: import("../../enum").EnumType;
|
|
495
|
+
/**
|
|
496
|
+
* @generated from enum google.protobuf.FeatureSet.MessageEncoding
|
|
497
|
+
*/
|
|
498
|
+
export declare enum FeatureSet_MessageEncoding {
|
|
499
|
+
/**
|
|
500
|
+
* @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0;
|
|
501
|
+
*/
|
|
502
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
503
|
+
/**
|
|
504
|
+
* @generated from enum value: LENGTH_PREFIXED = 1;
|
|
505
|
+
*/
|
|
506
|
+
LENGTH_PREFIXED = 1,
|
|
507
|
+
/**
|
|
508
|
+
* @generated from enum value: DELIMITED = 2;
|
|
509
|
+
*/
|
|
510
|
+
DELIMITED = 2
|
|
511
|
+
}
|
|
512
|
+
export declare const FeatureSet_MessageEncoding_Enum: import("../../enum").EnumType;
|
|
513
|
+
/**
|
|
514
|
+
* @generated from enum google.protobuf.FeatureSet.JsonFormat
|
|
515
|
+
*/
|
|
516
|
+
export declare enum FeatureSet_JsonFormat {
|
|
517
|
+
/**
|
|
518
|
+
* @generated from enum value: JSON_FORMAT_UNKNOWN = 0;
|
|
519
|
+
*/
|
|
520
|
+
JSON_FORMAT_UNKNOWN = 0,
|
|
521
|
+
/**
|
|
522
|
+
* @generated from enum value: ALLOW = 1;
|
|
523
|
+
*/
|
|
524
|
+
ALLOW = 1,
|
|
525
|
+
/**
|
|
526
|
+
* @generated from enum value: LEGACY_BEST_EFFORT = 2;
|
|
527
|
+
*/
|
|
528
|
+
LEGACY_BEST_EFFORT = 2
|
|
529
|
+
}
|
|
530
|
+
export declare const FeatureSet_JsonFormat_Enum: import("../../enum").EnumType;
|
|
531
|
+
/**
|
|
532
|
+
* Represents the identified object's effect on the element in the original
|
|
533
|
+
* .proto file.
|
|
534
|
+
*
|
|
535
|
+
*
|
|
536
|
+
* @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
|
|
537
|
+
*/
|
|
538
|
+
export declare enum GeneratedCodeInfo_Annotation_Semantic {
|
|
539
|
+
/**
|
|
540
|
+
* There is no effect or the effect is indescribable.
|
|
541
|
+
*
|
|
542
|
+
*
|
|
543
|
+
* @generated from enum value: NONE = 0;
|
|
544
|
+
*/
|
|
545
|
+
NONE = 0,
|
|
546
|
+
/**
|
|
547
|
+
* The element is set or otherwise mutated.
|
|
548
|
+
*
|
|
549
|
+
*
|
|
550
|
+
* @generated from enum value: SET = 1;
|
|
551
|
+
*/
|
|
552
|
+
SET = 1,
|
|
553
|
+
/**
|
|
554
|
+
* An alias to the element is returned.
|
|
555
|
+
*
|
|
556
|
+
*
|
|
557
|
+
* @generated from enum value: ALIAS = 2;
|
|
558
|
+
*/
|
|
559
|
+
ALIAS = 2
|
|
560
|
+
}
|
|
561
|
+
export declare const GeneratedCodeInfo_Annotation_Semantic_Enum: import("../../enum").EnumType;
|
|
562
|
+
/**
|
|
563
|
+
* @generated from message google.protobuf.FieldOptions.EditionDefault
|
|
564
|
+
*/
|
|
565
|
+
export type FieldOptions_EditionDefault = Message<{
|
|
566
|
+
/**
|
|
567
|
+
* @generated from field: google.protobuf.Edition edition = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
568
|
+
*/
|
|
569
|
+
edition?: Edition;
|
|
570
|
+
/**
|
|
571
|
+
* Textproto value.
|
|
572
|
+
*
|
|
573
|
+
* @generated from field: string value = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
574
|
+
*/
|
|
575
|
+
value?: string;
|
|
576
|
+
}>;
|
|
577
|
+
export declare const FieldOptions_EditionDefault: MessageType<FieldOptions_EditionDefault>;
|
|
578
|
+
/**
|
|
579
|
+
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
580
|
+
* not well scoped. This means that each of the feature enums below can clash
|
|
581
|
+
* with each other. The short names we've chosen maximize call-site
|
|
582
|
+
* readability, but leave us very open to this scenario. A future feature will
|
|
583
|
+
* be designed and implemented to handle this, hopefully before we ever hit a
|
|
584
|
+
* conflict here.
|
|
585
|
+
*
|
|
586
|
+
*
|
|
587
|
+
* @generated from message google.protobuf.FeatureSet
|
|
588
|
+
*/
|
|
589
|
+
export type FeatureSet = Message<{
|
|
590
|
+
/**
|
|
591
|
+
* @generated from field: google.protobuf.FeatureSet.FieldPresence field_presence = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
592
|
+
*/
|
|
593
|
+
fieldPresence?: FeatureSet_FieldPresence;
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: google.protobuf.FeatureSet.EnumType enum_type = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
596
|
+
*/
|
|
597
|
+
enumType?: FeatureSet_EnumType;
|
|
598
|
+
/**
|
|
599
|
+
* @generated from field: google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
600
|
+
*/
|
|
601
|
+
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding;
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
604
|
+
*/
|
|
605
|
+
utf8Validation?: FeatureSet_Utf8Validation;
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
608
|
+
*/
|
|
609
|
+
messageEncoding?: FeatureSet_MessageEncoding;
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: google.protobuf.FeatureSet.JsonFormat json_format = 6 [packed = false, default = , jstype = JS_NORMAL];
|
|
612
|
+
*/
|
|
613
|
+
jsonFormat?: FeatureSet_JsonFormat;
|
|
614
|
+
}>;
|
|
615
|
+
export declare const FeatureSet: MessageType<FeatureSet>;
|
|
616
|
+
/**
|
|
617
|
+
* The name of the uninterpreted option. Each string represents a segment in
|
|
618
|
+
* a dot-separated name. is_extension is true iff a segment represents an
|
|
619
|
+
* extension (denoted with parentheses in options specs in .proto files).
|
|
620
|
+
* E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
|
621
|
+
* "foo.(bar.baz).moo".
|
|
622
|
+
*
|
|
623
|
+
*
|
|
624
|
+
* @generated from message google.protobuf.UninterpretedOption.NamePart
|
|
625
|
+
*/
|
|
626
|
+
export type UninterpretedOption_NamePart = Message<{
|
|
627
|
+
/**
|
|
628
|
+
* @generated from field: required string name_part = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
629
|
+
*/
|
|
630
|
+
namePart?: string;
|
|
631
|
+
/**
|
|
632
|
+
* @generated from field: required bool is_extension = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
633
|
+
*/
|
|
634
|
+
isExtension?: boolean;
|
|
635
|
+
}>;
|
|
636
|
+
export declare const UninterpretedOption_NamePart: MessageType<UninterpretedOption_NamePart>;
|
|
637
|
+
/**
|
|
638
|
+
* A message representing a option the parser does not recognize. This only
|
|
639
|
+
* appears in options protos created by the compiler::Parser class.
|
|
640
|
+
* DescriptorPool resolves these when building Descriptor objects. Therefore,
|
|
641
|
+
* options protos in descriptor objects (e.g. returned by Descriptor::options(),
|
|
642
|
+
* or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
|
643
|
+
* in them.
|
|
644
|
+
*
|
|
645
|
+
*
|
|
646
|
+
* @generated from message google.protobuf.UninterpretedOption
|
|
647
|
+
*/
|
|
648
|
+
export type UninterpretedOption = Message<{
|
|
649
|
+
/**
|
|
650
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
651
|
+
*/
|
|
652
|
+
name?: UninterpretedOption_NamePart[];
|
|
653
|
+
/**
|
|
654
|
+
* The value of the uninterpreted option, in whatever type the tokenizer
|
|
655
|
+
* identified it as during parsing. Exactly one of these should be set.
|
|
656
|
+
*
|
|
657
|
+
*
|
|
658
|
+
* @generated from field: string identifier_value = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
659
|
+
*/
|
|
660
|
+
identifierValue?: string;
|
|
661
|
+
/**
|
|
662
|
+
* @generated from field: uint64 positive_int_value = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
663
|
+
*/
|
|
664
|
+
positiveIntValue?: bigint;
|
|
665
|
+
/**
|
|
666
|
+
* @generated from field: int64 negative_int_value = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
667
|
+
*/
|
|
668
|
+
negativeIntValue?: bigint;
|
|
669
|
+
/**
|
|
670
|
+
* @generated from field: double double_value = 6 [packed = false, default = , jstype = JS_NORMAL];
|
|
671
|
+
*/
|
|
672
|
+
doubleValue?: number;
|
|
673
|
+
/**
|
|
674
|
+
* @generated from field: bytes string_value = 7 [packed = false, default = "", jstype = JS_NORMAL];
|
|
675
|
+
*/
|
|
676
|
+
stringValue?: Uint8Array;
|
|
677
|
+
/**
|
|
678
|
+
* @generated from field: string aggregate_value = 8 [packed = false, default = "", jstype = JS_NORMAL];
|
|
679
|
+
*/
|
|
680
|
+
aggregateValue?: string;
|
|
681
|
+
}>;
|
|
682
|
+
export declare const UninterpretedOption: MessageType<UninterpretedOption>;
|
|
683
|
+
/**
|
|
684
|
+
* @generated from message google.protobuf.FieldOptions
|
|
685
|
+
*/
|
|
686
|
+
export type FieldOptions = Message<{
|
|
687
|
+
/**
|
|
688
|
+
* The ctype option instructs the C++ code generator to use a different
|
|
689
|
+
* representation of the field than it normally would. See the specific
|
|
690
|
+
* options below. This option is only implemented to support use of
|
|
691
|
+
* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
|
|
692
|
+
* type "bytes" in the open source release -- sorry, we'll try to include
|
|
693
|
+
* other types in a future version!
|
|
694
|
+
*
|
|
695
|
+
*
|
|
696
|
+
* @generated from field: google.protobuf.FieldOptions.CType ctype = 1 [packed = false, default = STRING, jstype = JS_NORMAL];
|
|
697
|
+
*/
|
|
698
|
+
ctype?: FieldOptions_CType;
|
|
699
|
+
/**
|
|
700
|
+
* The packed option can be enabled for repeated primitive fields to enable
|
|
701
|
+
* a more efficient representation on the wire. Rather than repeatedly
|
|
702
|
+
* writing the tag and type for each element, the entire array is encoded as
|
|
703
|
+
* a single length-delimited blob. In proto3, only explicit setting it to
|
|
704
|
+
* false will avoid using packed encoding. This option is prohibited in
|
|
705
|
+
* Editions, but the `repeated_field_encoding` feature can be used to control
|
|
706
|
+
* the behavior.
|
|
707
|
+
*
|
|
708
|
+
*
|
|
709
|
+
* @generated from field: bool packed = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
710
|
+
*/
|
|
711
|
+
packed?: boolean;
|
|
712
|
+
/**
|
|
713
|
+
* The jstype option determines the JavaScript type used for values of the
|
|
714
|
+
* field. The option is permitted only for 64 bit integral and fixed types
|
|
715
|
+
* (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
|
716
|
+
* is represented as JavaScript string, which avoids loss of precision that
|
|
717
|
+
* can happen when a large value is converted to a floating point JavaScript.
|
|
718
|
+
* Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
|
719
|
+
* use the JavaScript "number" type. The behavior of the default option
|
|
720
|
+
* JS_NORMAL is implementation dependent.
|
|
721
|
+
*
|
|
722
|
+
* This option is an enum to permit additional types to be added, e.g.
|
|
723
|
+
* goog.math.Integer.
|
|
724
|
+
*
|
|
725
|
+
*
|
|
726
|
+
* @generated from field: google.protobuf.FieldOptions.JSType jstype = 6 [packed = false, default = JS_NORMAL, jstype = JS_NORMAL];
|
|
727
|
+
*/
|
|
728
|
+
jstype?: FieldOptions_JSType;
|
|
729
|
+
/**
|
|
730
|
+
* Should this field be parsed lazily? Lazy applies only to message-type
|
|
731
|
+
* fields. It means that when the outer message is initially parsed, the
|
|
732
|
+
* inner message's contents will not be parsed but instead stored in encoded
|
|
733
|
+
* form. The inner message will actually be parsed when it is first accessed.
|
|
734
|
+
*
|
|
735
|
+
* This is only a hint. Implementations are free to choose whether to use
|
|
736
|
+
* eager or lazy parsing regardless of the value of this option. However,
|
|
737
|
+
* setting this option true suggests that the protocol author believes that
|
|
738
|
+
* using lazy parsing on this field is worth the additional bookkeeping
|
|
739
|
+
* overhead typically needed to implement it.
|
|
740
|
+
*
|
|
741
|
+
* This option does not affect the public interface of any generated code;
|
|
742
|
+
* all method signatures remain the same. Furthermore, thread-safety of the
|
|
743
|
+
* interface is not affected by this option; const methods remain safe to
|
|
744
|
+
* call from multiple threads concurrently, while non-const methods continue
|
|
745
|
+
* to require exclusive access.
|
|
746
|
+
*
|
|
747
|
+
* Note that lazy message fields are still eagerly verified to check
|
|
748
|
+
* ill-formed wireformat or missing required fields. Calling IsInitialized()
|
|
749
|
+
* on the outer message would fail if the inner message has missing required
|
|
750
|
+
* fields. Failed verification would result in parsing failure (except when
|
|
751
|
+
* uninitialized messages are acceptable).
|
|
752
|
+
*
|
|
753
|
+
*
|
|
754
|
+
* @generated from field: bool lazy = 5 [packed = false, default = false, jstype = JS_NORMAL];
|
|
755
|
+
*/
|
|
756
|
+
lazy?: boolean;
|
|
757
|
+
/**
|
|
758
|
+
* unverified_lazy does no correctness checks on the byte stream. This should
|
|
759
|
+
* only be used where lazy with verification is prohibitive for performance
|
|
760
|
+
* reasons.
|
|
761
|
+
*
|
|
762
|
+
*
|
|
763
|
+
* @generated from field: bool unverified_lazy = 15 [packed = false, default = false, jstype = JS_NORMAL];
|
|
764
|
+
*/
|
|
765
|
+
unverifiedLazy?: boolean;
|
|
766
|
+
/**
|
|
767
|
+
* Is this field deprecated?
|
|
768
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
769
|
+
* for accessors, or it will be completely ignored; in the very least, this
|
|
770
|
+
* is a formalization for deprecating fields.
|
|
771
|
+
*
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: bool deprecated = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
774
|
+
*/
|
|
775
|
+
deprecated?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* For Google-internal migration only. Do not use.
|
|
778
|
+
*
|
|
779
|
+
*
|
|
780
|
+
* @generated from field: bool weak = 10 [packed = false, default = false, jstype = JS_NORMAL];
|
|
781
|
+
*/
|
|
782
|
+
weak?: boolean;
|
|
783
|
+
/**
|
|
784
|
+
* Indicate that the field value should not be printed out when using debug
|
|
785
|
+
* formats, e.g. when the field contains sensitive credentials.
|
|
786
|
+
*
|
|
787
|
+
*
|
|
788
|
+
* @generated from field: bool debug_redact = 16 [packed = false, default = false, jstype = JS_NORMAL];
|
|
789
|
+
*/
|
|
790
|
+
debugRedact?: boolean;
|
|
791
|
+
/**
|
|
792
|
+
* @generated from field: google.protobuf.FieldOptions.OptionRetention retention = 17 [packed = false, default = , jstype = JS_NORMAL];
|
|
793
|
+
*/
|
|
794
|
+
retention?: FieldOptions_OptionRetention;
|
|
795
|
+
/**
|
|
796
|
+
* @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19 [packed = false, default = , jstype = JS_NORMAL];
|
|
797
|
+
*/
|
|
798
|
+
targets?: FieldOptions_OptionTargetType[];
|
|
799
|
+
/**
|
|
800
|
+
* @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20 [packed = false, default = , jstype = JS_NORMAL];
|
|
801
|
+
*/
|
|
802
|
+
editionDefaults?: FieldOptions_EditionDefault[];
|
|
803
|
+
/**
|
|
804
|
+
* Any features defined in the specific edition.
|
|
805
|
+
*
|
|
806
|
+
*
|
|
807
|
+
* @generated from field: google.protobuf.FeatureSet features = 21 [packed = false, default = , jstype = JS_NORMAL];
|
|
808
|
+
*/
|
|
809
|
+
features?: FeatureSet;
|
|
810
|
+
/**
|
|
811
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
812
|
+
*
|
|
813
|
+
*
|
|
814
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
815
|
+
*/
|
|
816
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
817
|
+
}>;
|
|
818
|
+
export declare const FieldOptions: MessageType<FieldOptions>;
|
|
819
|
+
/**
|
|
820
|
+
* Describes a field within a message.
|
|
821
|
+
*
|
|
822
|
+
*
|
|
823
|
+
* @generated from message google.protobuf.FieldDescriptorProto
|
|
824
|
+
*/
|
|
825
|
+
export type FieldDescriptorProto = Message<{
|
|
826
|
+
/**
|
|
827
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
828
|
+
*/
|
|
829
|
+
name?: string;
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: int32 number = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
832
|
+
*/
|
|
833
|
+
number?: number;
|
|
834
|
+
/**
|
|
835
|
+
* @generated from field: google.protobuf.FieldDescriptorProto.Label label = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
836
|
+
*/
|
|
837
|
+
label?: FieldDescriptorProto_Label;
|
|
838
|
+
/**
|
|
839
|
+
* If type_name is set, this need not be set. If both this and type_name
|
|
840
|
+
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
841
|
+
*
|
|
842
|
+
*
|
|
843
|
+
* @generated from field: google.protobuf.FieldDescriptorProto.Type type = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
844
|
+
*/
|
|
845
|
+
type?: FieldDescriptorProto_Type;
|
|
846
|
+
/**
|
|
847
|
+
* For message and enum types, this is the name of the type. If the name
|
|
848
|
+
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
849
|
+
* rules are used to find the type (i.e. first the nested types within this
|
|
850
|
+
* message are searched, then within the parent, on up to the root
|
|
851
|
+
* namespace).
|
|
852
|
+
*
|
|
853
|
+
*
|
|
854
|
+
* @generated from field: string type_name = 6 [packed = false, default = "", jstype = JS_NORMAL];
|
|
855
|
+
*/
|
|
856
|
+
typeName?: string;
|
|
857
|
+
/**
|
|
858
|
+
* For extensions, this is the name of the type being extended. It is
|
|
859
|
+
* resolved in the same manner as type_name.
|
|
860
|
+
*
|
|
861
|
+
*
|
|
862
|
+
* @generated from field: string extendee = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
863
|
+
*/
|
|
864
|
+
extendee?: string;
|
|
865
|
+
/**
|
|
866
|
+
* For numeric types, contains the original text representation of the value.
|
|
867
|
+
* For booleans, "true" or "false".
|
|
868
|
+
* For strings, contains the default text contents (not escaped in any way).
|
|
869
|
+
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
870
|
+
*
|
|
871
|
+
*
|
|
872
|
+
* @generated from field: string default_value = 7 [packed = false, default = "", jstype = JS_NORMAL];
|
|
873
|
+
*/
|
|
874
|
+
defaultValue?: string;
|
|
875
|
+
/**
|
|
876
|
+
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
877
|
+
* list. This field is a member of that oneof.
|
|
878
|
+
*
|
|
879
|
+
*
|
|
880
|
+
* @generated from field: int32 oneof_index = 9 [packed = false, default = , jstype = JS_NORMAL];
|
|
881
|
+
*/
|
|
882
|
+
oneofIndex?: number;
|
|
883
|
+
/**
|
|
884
|
+
* JSON name of this field. The value is set by protocol compiler. If the
|
|
885
|
+
* user has set a "json_name" option on this field, that option's value
|
|
886
|
+
* will be used. Otherwise, it's deduced from the field's name by converting
|
|
887
|
+
* it to camelCase.
|
|
888
|
+
*
|
|
889
|
+
*
|
|
890
|
+
* @generated from field: string json_name = 10 [packed = false, default = "", jstype = JS_NORMAL];
|
|
891
|
+
*/
|
|
892
|
+
jsonName?: string;
|
|
893
|
+
/**
|
|
894
|
+
* @generated from field: google.protobuf.FieldOptions options = 8 [packed = false, default = , jstype = JS_NORMAL];
|
|
895
|
+
*/
|
|
896
|
+
options?: FieldOptions;
|
|
897
|
+
/**
|
|
898
|
+
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
899
|
+
* tracks presence regardless of field type.
|
|
900
|
+
*
|
|
901
|
+
* When proto3_optional is true, this field must belong to a oneof to signal
|
|
902
|
+
* to old proto3 clients that presence is tracked for this field. This oneof
|
|
903
|
+
* is known as a "synthetic" oneof, and this field must be its sole member
|
|
904
|
+
* (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
|
|
905
|
+
* exist in the descriptor only, and do not generate any API. Synthetic oneofs
|
|
906
|
+
* must be ordered after all "real" oneofs.
|
|
907
|
+
*
|
|
908
|
+
* For message fields, proto3_optional doesn't create any semantic change,
|
|
909
|
+
* since non-repeated message fields always track presence. However it still
|
|
910
|
+
* indicates the semantic detail of whether the user wrote "optional" or not.
|
|
911
|
+
* This can be useful for round-tripping the .proto file. For consistency we
|
|
912
|
+
* give message fields a synthetic oneof also, even though it is not required
|
|
913
|
+
* to track presence. This is especially important because the parser can't
|
|
914
|
+
* tell if a field is a message or an enum, so it must always create a
|
|
915
|
+
* synthetic oneof.
|
|
916
|
+
*
|
|
917
|
+
* Proto2 optional fields do not set this flag, because they already indicate
|
|
918
|
+
* optional with `LABEL_OPTIONAL`.
|
|
919
|
+
*
|
|
920
|
+
*
|
|
921
|
+
* @generated from field: bool proto3_optional = 17 [packed = false, default = , jstype = JS_NORMAL];
|
|
922
|
+
*/
|
|
923
|
+
proto3Optional?: boolean;
|
|
924
|
+
}>;
|
|
925
|
+
export declare const FieldDescriptorProto: MessageType<FieldDescriptorProto>;
|
|
926
|
+
/**
|
|
927
|
+
* @generated from message google.protobuf.EnumValueOptions
|
|
928
|
+
*/
|
|
929
|
+
export type EnumValueOptions = Message<{
|
|
930
|
+
/**
|
|
931
|
+
* Is this enum value deprecated?
|
|
932
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
933
|
+
* for the enum value, or it will be completely ignored; in the very least,
|
|
934
|
+
* this is a formalization for deprecating enum values.
|
|
935
|
+
*
|
|
936
|
+
*
|
|
937
|
+
* @generated from field: bool deprecated = 1 [packed = false, default = false, jstype = JS_NORMAL];
|
|
938
|
+
*/
|
|
939
|
+
deprecated?: boolean;
|
|
940
|
+
/**
|
|
941
|
+
* Any features defined in the specific edition.
|
|
942
|
+
*
|
|
943
|
+
*
|
|
944
|
+
* @generated from field: google.protobuf.FeatureSet features = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
945
|
+
*/
|
|
946
|
+
features?: FeatureSet;
|
|
947
|
+
/**
|
|
948
|
+
* Indicate that fields annotated with this enum value should not be printed
|
|
949
|
+
* out when using debug formats, e.g. when the field contains sensitive
|
|
950
|
+
* credentials.
|
|
951
|
+
*
|
|
952
|
+
*
|
|
953
|
+
* @generated from field: bool debug_redact = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
954
|
+
*/
|
|
955
|
+
debugRedact?: boolean;
|
|
956
|
+
/**
|
|
957
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
958
|
+
*
|
|
959
|
+
*
|
|
960
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
961
|
+
*/
|
|
962
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
963
|
+
}>;
|
|
964
|
+
export declare const EnumValueOptions: MessageType<EnumValueOptions>;
|
|
965
|
+
/**
|
|
966
|
+
* Describes a value within an enum.
|
|
967
|
+
*
|
|
968
|
+
*
|
|
969
|
+
* @generated from message google.protobuf.EnumValueDescriptorProto
|
|
970
|
+
*/
|
|
971
|
+
export type EnumValueDescriptorProto = Message<{
|
|
972
|
+
/**
|
|
973
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
974
|
+
*/
|
|
975
|
+
name?: string;
|
|
976
|
+
/**
|
|
977
|
+
* @generated from field: int32 number = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
978
|
+
*/
|
|
979
|
+
number?: number;
|
|
980
|
+
/**
|
|
981
|
+
* @generated from field: google.protobuf.EnumValueOptions options = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
982
|
+
*/
|
|
983
|
+
options?: EnumValueOptions;
|
|
984
|
+
}>;
|
|
985
|
+
export declare const EnumValueDescriptorProto: MessageType<EnumValueDescriptorProto>;
|
|
986
|
+
/**
|
|
987
|
+
* @generated from message google.protobuf.EnumOptions
|
|
988
|
+
*/
|
|
989
|
+
export type EnumOptions = Message<{
|
|
990
|
+
/**
|
|
991
|
+
* Set this option to true to allow mapping different tag names to the same
|
|
992
|
+
* value.
|
|
993
|
+
*
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: bool allow_alias = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
996
|
+
*/
|
|
997
|
+
allowAlias?: boolean;
|
|
998
|
+
/**
|
|
999
|
+
* Is this enum deprecated?
|
|
1000
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1001
|
+
* for the enum, or it will be completely ignored; in the very least, this
|
|
1002
|
+
* is a formalization for deprecating enums.
|
|
1003
|
+
*
|
|
1004
|
+
*
|
|
1005
|
+
* @generated from field: bool deprecated = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1006
|
+
*/
|
|
1007
|
+
deprecated?: boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1010
|
+
* and strips underscored from the fields before comparison in proto3 only.
|
|
1011
|
+
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1012
|
+
* well.
|
|
1013
|
+
* TODO Remove this legacy behavior once downstream teams have
|
|
1014
|
+
* had time to migrate.
|
|
1015
|
+
*
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: bool deprecated_legacy_json_field_conflicts = 6 [packed = false, default = , jstype = JS_NORMAL, deprecated = true];
|
|
1018
|
+
* @deprecated
|
|
1019
|
+
*/
|
|
1020
|
+
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* Any features defined in the specific edition.
|
|
1023
|
+
*
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: google.protobuf.FeatureSet features = 7 [packed = false, default = , jstype = JS_NORMAL];
|
|
1026
|
+
*/
|
|
1027
|
+
features?: FeatureSet;
|
|
1028
|
+
/**
|
|
1029
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1030
|
+
*
|
|
1031
|
+
*
|
|
1032
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1033
|
+
*/
|
|
1034
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1035
|
+
}>;
|
|
1036
|
+
export declare const EnumOptions: MessageType<EnumOptions>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Range of reserved numeric values. Reserved values may not be used by
|
|
1039
|
+
* entries in the same enum. Reserved ranges may not overlap.
|
|
1040
|
+
*
|
|
1041
|
+
* Note that this is distinct from DescriptorProto.ReservedRange in that it
|
|
1042
|
+
* is inclusive such that it can appropriately represent the entire int32
|
|
1043
|
+
* domain.
|
|
1044
|
+
*
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange
|
|
1047
|
+
*/
|
|
1048
|
+
export type EnumDescriptorProto_EnumReservedRange = Message<{
|
|
1049
|
+
/**
|
|
1050
|
+
* Inclusive.
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: int32 start = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1053
|
+
*/
|
|
1054
|
+
start?: number;
|
|
1055
|
+
/**
|
|
1056
|
+
* Inclusive.
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from field: int32 end = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1059
|
+
*/
|
|
1060
|
+
end?: number;
|
|
1061
|
+
}>;
|
|
1062
|
+
export declare const EnumDescriptorProto_EnumReservedRange: MessageType<EnumDescriptorProto_EnumReservedRange>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Describes an enum type.
|
|
1065
|
+
*
|
|
1066
|
+
*
|
|
1067
|
+
* @generated from message google.protobuf.EnumDescriptorProto
|
|
1068
|
+
*/
|
|
1069
|
+
export type EnumDescriptorProto = Message<{
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1072
|
+
*/
|
|
1073
|
+
name?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1076
|
+
*/
|
|
1077
|
+
value?: EnumValueDescriptorProto[];
|
|
1078
|
+
/**
|
|
1079
|
+
* @generated from field: google.protobuf.EnumOptions options = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
1080
|
+
*/
|
|
1081
|
+
options?: EnumOptions;
|
|
1082
|
+
/**
|
|
1083
|
+
* Range of reserved numeric values. Reserved numeric values may not be used
|
|
1084
|
+
* by enum values in the same enum declaration. Reserved ranges may not
|
|
1085
|
+
* overlap.
|
|
1086
|
+
*
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1089
|
+
*/
|
|
1090
|
+
reservedRange?: EnumDescriptorProto_EnumReservedRange[];
|
|
1091
|
+
/**
|
|
1092
|
+
* Reserved enum value names, which may not be reused. A given name may only
|
|
1093
|
+
* be reserved once.
|
|
1094
|
+
*
|
|
1095
|
+
*
|
|
1096
|
+
* @generated from field: repeated string reserved_name = 5 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1097
|
+
*/
|
|
1098
|
+
reservedName?: string[];
|
|
1099
|
+
}>;
|
|
1100
|
+
export declare const EnumDescriptorProto: MessageType<EnumDescriptorProto>;
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from message google.protobuf.ExtensionRangeOptions.Declaration
|
|
1103
|
+
*/
|
|
1104
|
+
export type ExtensionRangeOptions_Declaration = Message<{
|
|
1105
|
+
/**
|
|
1106
|
+
* The extension number declared within the extension range.
|
|
1107
|
+
*
|
|
1108
|
+
*
|
|
1109
|
+
* @generated from field: int32 number = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1110
|
+
*/
|
|
1111
|
+
number?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* The fully-qualified name of the extension field. There must be a leading
|
|
1114
|
+
* dot in front of the full name.
|
|
1115
|
+
*
|
|
1116
|
+
*
|
|
1117
|
+
* @generated from field: string full_name = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1118
|
+
*/
|
|
1119
|
+
fullName?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* The fully-qualified type name of the extension field. Unlike
|
|
1122
|
+
* Metadata.type, Declaration.type must have a leading dot for messages
|
|
1123
|
+
* and enums.
|
|
1124
|
+
*
|
|
1125
|
+
*
|
|
1126
|
+
* @generated from field: string type = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1127
|
+
*/
|
|
1128
|
+
type?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* If true, indicates that the number is reserved in the extension range,
|
|
1131
|
+
* and any extension field with the number will fail to compile. Set this
|
|
1132
|
+
* when a declared extension field is deleted.
|
|
1133
|
+
*
|
|
1134
|
+
*
|
|
1135
|
+
* @generated from field: bool reserved = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
1136
|
+
*/
|
|
1137
|
+
reserved?: boolean;
|
|
1138
|
+
/**
|
|
1139
|
+
* If true, indicates that the extension must be defined as repeated.
|
|
1140
|
+
* Otherwise the extension must be defined as optional.
|
|
1141
|
+
*
|
|
1142
|
+
*
|
|
1143
|
+
* @generated from field: bool repeated = 6 [packed = false, default = , jstype = JS_NORMAL];
|
|
1144
|
+
*/
|
|
1145
|
+
repeated?: boolean;
|
|
1146
|
+
}>;
|
|
1147
|
+
export declare const ExtensionRangeOptions_Declaration: MessageType<ExtensionRangeOptions_Declaration>;
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
1150
|
+
*/
|
|
1151
|
+
export type ExtensionRangeOptions = Message<{
|
|
1152
|
+
/**
|
|
1153
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1154
|
+
*
|
|
1155
|
+
*
|
|
1156
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1157
|
+
*/
|
|
1158
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1159
|
+
/**
|
|
1160
|
+
* For external users: DO NOT USE. We are in the process of open sourcing
|
|
1161
|
+
* extension declaration and executing internal cleanups before it can be
|
|
1162
|
+
* used externally.
|
|
1163
|
+
*
|
|
1164
|
+
*
|
|
1165
|
+
* @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1166
|
+
*/
|
|
1167
|
+
declaration?: ExtensionRangeOptions_Declaration[];
|
|
1168
|
+
/**
|
|
1169
|
+
* Any features defined in the specific edition.
|
|
1170
|
+
*
|
|
1171
|
+
*
|
|
1172
|
+
* @generated from field: google.protobuf.FeatureSet features = 50 [packed = false, default = , jstype = JS_NORMAL];
|
|
1173
|
+
*/
|
|
1174
|
+
features?: FeatureSet;
|
|
1175
|
+
/**
|
|
1176
|
+
* The verification state of the range.
|
|
1177
|
+
* TODO: flip the default to DECLARATION once all empty ranges
|
|
1178
|
+
* are marked as UNVERIFIED.
|
|
1179
|
+
*
|
|
1180
|
+
*
|
|
1181
|
+
* @generated from field: google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [packed = false, default = UNVERIFIED, jstype = JS_NORMAL];
|
|
1182
|
+
*/
|
|
1183
|
+
verification?: ExtensionRangeOptions_VerificationState;
|
|
1184
|
+
}>;
|
|
1185
|
+
export declare const ExtensionRangeOptions: MessageType<ExtensionRangeOptions>;
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
1188
|
+
*/
|
|
1189
|
+
export type DescriptorProto_ExtensionRange = Message<{
|
|
1190
|
+
/**
|
|
1191
|
+
* Inclusive.
|
|
1192
|
+
*
|
|
1193
|
+
* @generated from field: int32 start = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1194
|
+
*/
|
|
1195
|
+
start?: number;
|
|
1196
|
+
/**
|
|
1197
|
+
* Exclusive.
|
|
1198
|
+
*
|
|
1199
|
+
* @generated from field: int32 end = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1200
|
+
*/
|
|
1201
|
+
end?: number;
|
|
1202
|
+
/**
|
|
1203
|
+
* @generated from field: google.protobuf.ExtensionRangeOptions options = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
1204
|
+
*/
|
|
1205
|
+
options?: ExtensionRangeOptions;
|
|
1206
|
+
}>;
|
|
1207
|
+
export declare const DescriptorProto_ExtensionRange: MessageType<DescriptorProto_ExtensionRange>;
|
|
1208
|
+
/**
|
|
1209
|
+
* @generated from message google.protobuf.OneofOptions
|
|
1210
|
+
*/
|
|
1211
|
+
export type OneofOptions = Message<{
|
|
1212
|
+
/**
|
|
1213
|
+
* Any features defined in the specific edition.
|
|
1214
|
+
*
|
|
1215
|
+
*
|
|
1216
|
+
* @generated from field: google.protobuf.FeatureSet features = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1217
|
+
*/
|
|
1218
|
+
features?: FeatureSet;
|
|
1219
|
+
/**
|
|
1220
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1221
|
+
*
|
|
1222
|
+
*
|
|
1223
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1224
|
+
*/
|
|
1225
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1226
|
+
}>;
|
|
1227
|
+
export declare const OneofOptions: MessageType<OneofOptions>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Describes a oneof.
|
|
1230
|
+
*
|
|
1231
|
+
*
|
|
1232
|
+
* @generated from message google.protobuf.OneofDescriptorProto
|
|
1233
|
+
*/
|
|
1234
|
+
export type OneofDescriptorProto = Message<{
|
|
1235
|
+
/**
|
|
1236
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1237
|
+
*/
|
|
1238
|
+
name?: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* @generated from field: google.protobuf.OneofOptions options = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1241
|
+
*/
|
|
1242
|
+
options?: OneofOptions;
|
|
1243
|
+
}>;
|
|
1244
|
+
export declare const OneofDescriptorProto: MessageType<OneofDescriptorProto>;
|
|
1245
|
+
/**
|
|
1246
|
+
* @generated from message google.protobuf.MessageOptions
|
|
1247
|
+
*/
|
|
1248
|
+
export type MessageOptions = Message<{
|
|
1249
|
+
/**
|
|
1250
|
+
* Set true to use the old proto1 MessageSet wire format for extensions.
|
|
1251
|
+
* This is provided for backwards-compatibility with the MessageSet wire
|
|
1252
|
+
* format. You should not use this for any other reason: It's less
|
|
1253
|
+
* efficient, has fewer features, and is more complicated.
|
|
1254
|
+
*
|
|
1255
|
+
* The message must be defined exactly as follows:
|
|
1256
|
+
* message Foo {
|
|
1257
|
+
* option message_set_wire_format = true;
|
|
1258
|
+
* extensions 4 to max;
|
|
1259
|
+
* }
|
|
1260
|
+
* Note that the message cannot have any defined fields; MessageSets only
|
|
1261
|
+
* have extensions.
|
|
1262
|
+
*
|
|
1263
|
+
* All extensions of your type must be singular messages; e.g. they cannot
|
|
1264
|
+
* be int32s, enums, or repeated messages.
|
|
1265
|
+
*
|
|
1266
|
+
* Because this is an option, the above two restrictions are not enforced by
|
|
1267
|
+
* the protocol compiler.
|
|
1268
|
+
*
|
|
1269
|
+
*
|
|
1270
|
+
* @generated from field: bool message_set_wire_format = 1 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1271
|
+
*/
|
|
1272
|
+
messageSetWireFormat?: boolean;
|
|
1273
|
+
/**
|
|
1274
|
+
* Disables the generation of the standard "descriptor()" accessor, which can
|
|
1275
|
+
* conflict with a field of the same name. This is meant to make migration
|
|
1276
|
+
* from proto1 easier; new code should avoid fields named "descriptor".
|
|
1277
|
+
*
|
|
1278
|
+
*
|
|
1279
|
+
* @generated from field: bool no_standard_descriptor_accessor = 2 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1280
|
+
*/
|
|
1281
|
+
noStandardDescriptorAccessor?: boolean;
|
|
1282
|
+
/**
|
|
1283
|
+
* Is this message deprecated?
|
|
1284
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1285
|
+
* for the message, or it will be completely ignored; in the very least,
|
|
1286
|
+
* this is a formalization for deprecating messages.
|
|
1287
|
+
*
|
|
1288
|
+
*
|
|
1289
|
+
* @generated from field: bool deprecated = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1290
|
+
*/
|
|
1291
|
+
deprecated?: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* Whether the message is an automatically generated map entry type for the
|
|
1294
|
+
* maps field.
|
|
1295
|
+
*
|
|
1296
|
+
* For maps fields:
|
|
1297
|
+
* map<KeyType, ValueType> map_field = 1;
|
|
1298
|
+
* The parsed descriptor looks like:
|
|
1299
|
+
* message MapFieldEntry {
|
|
1300
|
+
* option map_entry = true;
|
|
1301
|
+
* optional KeyType key = 1;
|
|
1302
|
+
* optional ValueType value = 2;
|
|
1303
|
+
* }
|
|
1304
|
+
* repeated MapFieldEntry map_field = 1;
|
|
1305
|
+
*
|
|
1306
|
+
* Implementations may choose not to generate the map_entry=true message, but
|
|
1307
|
+
* use a native map in the target language to hold the keys and values.
|
|
1308
|
+
* The reflection APIs in such implementations still need to work as
|
|
1309
|
+
* if the field is a repeated message field.
|
|
1310
|
+
*
|
|
1311
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
|
1312
|
+
* instead. The option should only be implicitly set by the proto compiler
|
|
1313
|
+
* parser.
|
|
1314
|
+
*
|
|
1315
|
+
*
|
|
1316
|
+
* @generated from field: bool map_entry = 7 [packed = false, default = , jstype = JS_NORMAL];
|
|
1317
|
+
*/
|
|
1318
|
+
mapEntry?: boolean;
|
|
1319
|
+
/**
|
|
1320
|
+
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1321
|
+
* and strips underscored from the fields before comparison in proto3 only.
|
|
1322
|
+
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1323
|
+
* well.
|
|
1324
|
+
*
|
|
1325
|
+
* This should only be used as a temporary measure against broken builds due
|
|
1326
|
+
* to the change in behavior for JSON field name conflicts.
|
|
1327
|
+
*
|
|
1328
|
+
* TODO This is legacy behavior we plan to remove once downstream
|
|
1329
|
+
* teams have had time to migrate.
|
|
1330
|
+
*
|
|
1331
|
+
*
|
|
1332
|
+
* @generated from field: bool deprecated_legacy_json_field_conflicts = 11 [packed = false, default = , jstype = JS_NORMAL, deprecated = true];
|
|
1333
|
+
* @deprecated
|
|
1334
|
+
*/
|
|
1335
|
+
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1336
|
+
/**
|
|
1337
|
+
* Any features defined in the specific edition.
|
|
1338
|
+
*
|
|
1339
|
+
*
|
|
1340
|
+
* @generated from field: google.protobuf.FeatureSet features = 12 [packed = false, default = , jstype = JS_NORMAL];
|
|
1341
|
+
*/
|
|
1342
|
+
features?: FeatureSet;
|
|
1343
|
+
/**
|
|
1344
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1345
|
+
*
|
|
1346
|
+
*
|
|
1347
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1348
|
+
*/
|
|
1349
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1350
|
+
}>;
|
|
1351
|
+
export declare const MessageOptions: MessageType<MessageOptions>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
1354
|
+
* fields or extension ranges in the same message. Reserved ranges may
|
|
1355
|
+
* not overlap.
|
|
1356
|
+
*
|
|
1357
|
+
*
|
|
1358
|
+
* @generated from message google.protobuf.DescriptorProto.ReservedRange
|
|
1359
|
+
*/
|
|
1360
|
+
export type DescriptorProto_ReservedRange = Message<{
|
|
1361
|
+
/**
|
|
1362
|
+
* Inclusive.
|
|
1363
|
+
*
|
|
1364
|
+
* @generated from field: int32 start = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1365
|
+
*/
|
|
1366
|
+
start?: number;
|
|
1367
|
+
/**
|
|
1368
|
+
* Exclusive.
|
|
1369
|
+
*
|
|
1370
|
+
* @generated from field: int32 end = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1371
|
+
*/
|
|
1372
|
+
end?: number;
|
|
1373
|
+
}>;
|
|
1374
|
+
export declare const DescriptorProto_ReservedRange: MessageType<DescriptorProto_ReservedRange>;
|
|
1375
|
+
/**
|
|
1376
|
+
* Describes a message type.
|
|
1377
|
+
*
|
|
1378
|
+
*
|
|
1379
|
+
* @generated from message google.protobuf.DescriptorProto
|
|
1380
|
+
*/
|
|
1381
|
+
export type DescriptorProto = Message<{
|
|
1382
|
+
/**
|
|
1383
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1384
|
+
*/
|
|
1385
|
+
name?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1388
|
+
*/
|
|
1389
|
+
field?: FieldDescriptorProto[];
|
|
1390
|
+
/**
|
|
1391
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6 [packed = false, default = , jstype = JS_NORMAL];
|
|
1392
|
+
*/
|
|
1393
|
+
extension?: FieldDescriptorProto[];
|
|
1394
|
+
/**
|
|
1395
|
+
* @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
1396
|
+
*/
|
|
1397
|
+
nestedType?: DescriptorProto[];
|
|
1398
|
+
/**
|
|
1399
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1400
|
+
*/
|
|
1401
|
+
enumType?: EnumDescriptorProto[];
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
1404
|
+
*/
|
|
1405
|
+
extensionRange?: DescriptorProto_ExtensionRange[];
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8 [packed = false, default = , jstype = JS_NORMAL];
|
|
1408
|
+
*/
|
|
1409
|
+
oneofDecl?: OneofDescriptorProto[];
|
|
1410
|
+
/**
|
|
1411
|
+
* @generated from field: google.protobuf.MessageOptions options = 7 [packed = false, default = , jstype = JS_NORMAL];
|
|
1412
|
+
*/
|
|
1413
|
+
options?: MessageOptions;
|
|
1414
|
+
/**
|
|
1415
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [packed = false, default = , jstype = JS_NORMAL];
|
|
1416
|
+
*/
|
|
1417
|
+
reservedRange?: DescriptorProto_ReservedRange[];
|
|
1418
|
+
/**
|
|
1419
|
+
* Reserved field names, which may not be used by fields in the same message.
|
|
1420
|
+
* A given name may only be reserved once.
|
|
1421
|
+
*
|
|
1422
|
+
*
|
|
1423
|
+
* @generated from field: repeated string reserved_name = 10 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1424
|
+
*/
|
|
1425
|
+
reservedName?: string[];
|
|
1426
|
+
}>;
|
|
1427
|
+
export declare const DescriptorProto: MessageType<DescriptorProto>;
|
|
1428
|
+
/**
|
|
1429
|
+
* @generated from message google.protobuf.MethodOptions
|
|
1430
|
+
*/
|
|
1431
|
+
export type MethodOptions = Message<{
|
|
1432
|
+
/**
|
|
1433
|
+
* Is this method deprecated?
|
|
1434
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1435
|
+
* for the method, or it will be completely ignored; in the very least,
|
|
1436
|
+
* this is a formalization for deprecating methods.
|
|
1437
|
+
*
|
|
1438
|
+
*
|
|
1439
|
+
* @generated from field: bool deprecated = 33 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1440
|
+
*/
|
|
1441
|
+
deprecated?: boolean;
|
|
1442
|
+
/**
|
|
1443
|
+
* @generated from field: google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [packed = false, default = IDEMPOTENCY_UNKNOWN, jstype = JS_NORMAL];
|
|
1444
|
+
*/
|
|
1445
|
+
idempotencyLevel?: MethodOptions_IdempotencyLevel;
|
|
1446
|
+
/**
|
|
1447
|
+
* Any features defined in the specific edition.
|
|
1448
|
+
*
|
|
1449
|
+
*
|
|
1450
|
+
* @generated from field: google.protobuf.FeatureSet features = 35 [packed = false, default = , jstype = JS_NORMAL];
|
|
1451
|
+
*/
|
|
1452
|
+
features?: FeatureSet;
|
|
1453
|
+
/**
|
|
1454
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1455
|
+
*
|
|
1456
|
+
*
|
|
1457
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1458
|
+
*/
|
|
1459
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1460
|
+
}>;
|
|
1461
|
+
export declare const MethodOptions: MessageType<MethodOptions>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Describes a method of a service.
|
|
1464
|
+
*
|
|
1465
|
+
*
|
|
1466
|
+
* @generated from message google.protobuf.MethodDescriptorProto
|
|
1467
|
+
*/
|
|
1468
|
+
export type MethodDescriptorProto = Message<{
|
|
1469
|
+
/**
|
|
1470
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1471
|
+
*/
|
|
1472
|
+
name?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* Input and output type names. These are resolved in the same way as
|
|
1475
|
+
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
1476
|
+
*
|
|
1477
|
+
*
|
|
1478
|
+
* @generated from field: string input_type = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1479
|
+
*/
|
|
1480
|
+
inputType?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* @generated from field: string output_type = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1483
|
+
*/
|
|
1484
|
+
outputType?: string;
|
|
1485
|
+
/**
|
|
1486
|
+
* @generated from field: google.protobuf.MethodOptions options = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1487
|
+
*/
|
|
1488
|
+
options?: MethodOptions;
|
|
1489
|
+
/**
|
|
1490
|
+
* Identifies if client streams multiple client messages
|
|
1491
|
+
*
|
|
1492
|
+
*
|
|
1493
|
+
* @generated from field: bool client_streaming = 5 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1494
|
+
*/
|
|
1495
|
+
clientStreaming?: boolean;
|
|
1496
|
+
/**
|
|
1497
|
+
* Identifies if server streams multiple server messages
|
|
1498
|
+
*
|
|
1499
|
+
*
|
|
1500
|
+
* @generated from field: bool server_streaming = 6 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1501
|
+
*/
|
|
1502
|
+
serverStreaming?: boolean;
|
|
1503
|
+
}>;
|
|
1504
|
+
export declare const MethodDescriptorProto: MessageType<MethodDescriptorProto>;
|
|
1505
|
+
/**
|
|
1506
|
+
* @generated from message google.protobuf.ServiceOptions
|
|
1507
|
+
*/
|
|
1508
|
+
export type ServiceOptions = Message<{
|
|
1509
|
+
/**
|
|
1510
|
+
* Any features defined in the specific edition.
|
|
1511
|
+
*
|
|
1512
|
+
*
|
|
1513
|
+
* @generated from field: google.protobuf.FeatureSet features = 34 [packed = false, default = , jstype = JS_NORMAL];
|
|
1514
|
+
*/
|
|
1515
|
+
features?: FeatureSet;
|
|
1516
|
+
/**
|
|
1517
|
+
* Is this service deprecated?
|
|
1518
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1519
|
+
* for the service, or it will be completely ignored; in the very least,
|
|
1520
|
+
* this is a formalization for deprecating services.
|
|
1521
|
+
*
|
|
1522
|
+
*
|
|
1523
|
+
* @generated from field: bool deprecated = 33 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1524
|
+
*/
|
|
1525
|
+
deprecated?: boolean;
|
|
1526
|
+
/**
|
|
1527
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1528
|
+
*
|
|
1529
|
+
*
|
|
1530
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1531
|
+
*/
|
|
1532
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1533
|
+
}>;
|
|
1534
|
+
export declare const ServiceOptions: MessageType<ServiceOptions>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Describes a service.
|
|
1537
|
+
*
|
|
1538
|
+
*
|
|
1539
|
+
* @generated from message google.protobuf.ServiceDescriptorProto
|
|
1540
|
+
*/
|
|
1541
|
+
export type ServiceDescriptorProto = Message<{
|
|
1542
|
+
/**
|
|
1543
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1544
|
+
*/
|
|
1545
|
+
name?: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1548
|
+
*/
|
|
1549
|
+
method?: MethodDescriptorProto[];
|
|
1550
|
+
/**
|
|
1551
|
+
* @generated from field: google.protobuf.ServiceOptions options = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
1552
|
+
*/
|
|
1553
|
+
options?: ServiceOptions;
|
|
1554
|
+
}>;
|
|
1555
|
+
export declare const ServiceDescriptorProto: MessageType<ServiceDescriptorProto>;
|
|
1556
|
+
/**
|
|
1557
|
+
* @generated from message google.protobuf.FileOptions
|
|
1558
|
+
*/
|
|
1559
|
+
export type FileOptions = Message<{
|
|
1560
|
+
/**
|
|
1561
|
+
* Sets the Java package where classes generated from this .proto will be
|
|
1562
|
+
* placed. By default, the proto package is used, but this is often
|
|
1563
|
+
* inappropriate because proto packages do not normally start with backwards
|
|
1564
|
+
* domain names.
|
|
1565
|
+
*
|
|
1566
|
+
*
|
|
1567
|
+
* @generated from field: string java_package = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1568
|
+
*/
|
|
1569
|
+
javaPackage?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* Controls the name of the wrapper Java class generated for the .proto file.
|
|
1572
|
+
* That class will always contain the .proto file's getDescriptor() method as
|
|
1573
|
+
* well as any top-level extensions defined in the .proto file.
|
|
1574
|
+
* If java_multiple_files is disabled, then all the other classes from the
|
|
1575
|
+
* .proto file will be nested inside the single wrapper outer class.
|
|
1576
|
+
*
|
|
1577
|
+
*
|
|
1578
|
+
* @generated from field: string java_outer_classname = 8 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1579
|
+
*/
|
|
1580
|
+
javaOuterClassname?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* If enabled, then the Java code generator will generate a separate .java
|
|
1583
|
+
* file for each top-level message, enum, and service defined in the .proto
|
|
1584
|
+
* file. Thus, these types will *not* be nested inside the wrapper class
|
|
1585
|
+
* named by java_outer_classname. However, the wrapper class will still be
|
|
1586
|
+
* generated to contain the file's getDescriptor() method as well as any
|
|
1587
|
+
* top-level extensions defined in the file.
|
|
1588
|
+
*
|
|
1589
|
+
*
|
|
1590
|
+
* @generated from field: bool java_multiple_files = 10 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1591
|
+
*/
|
|
1592
|
+
javaMultipleFiles?: boolean;
|
|
1593
|
+
/**
|
|
1594
|
+
* This option does nothing.
|
|
1595
|
+
*
|
|
1596
|
+
*
|
|
1597
|
+
* @generated from field: bool java_generate_equals_and_hash = 20 [packed = false, default = , jstype = JS_NORMAL, deprecated = true];
|
|
1598
|
+
* @deprecated
|
|
1599
|
+
*/
|
|
1600
|
+
javaGenerateEqualsAndHash?: boolean;
|
|
1601
|
+
/**
|
|
1602
|
+
* If set true, then the Java2 code generator will generate code that
|
|
1603
|
+
* throws an exception whenever an attempt is made to assign a non-UTF-8
|
|
1604
|
+
* byte sequence to a string field.
|
|
1605
|
+
* Message reflection will do the same.
|
|
1606
|
+
* However, an extension field still accepts non-UTF-8 byte sequences.
|
|
1607
|
+
* This option has no effect on when used with the lite runtime.
|
|
1608
|
+
*
|
|
1609
|
+
*
|
|
1610
|
+
* @generated from field: bool java_string_check_utf8 = 27 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1611
|
+
*/
|
|
1612
|
+
javaStringCheckUtf8?: boolean;
|
|
1613
|
+
/**
|
|
1614
|
+
* @generated from field: google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [packed = false, default = SPEED, jstype = JS_NORMAL];
|
|
1615
|
+
*/
|
|
1616
|
+
optimizeFor?: FileOptions_OptimizeMode;
|
|
1617
|
+
/**
|
|
1618
|
+
* Sets the Go package where structs generated from this .proto will be
|
|
1619
|
+
* placed. If omitted, the Go package will be derived from the following:
|
|
1620
|
+
* - The basename of the package import path, if provided.
|
|
1621
|
+
* - Otherwise, the package statement in the .proto file, if present.
|
|
1622
|
+
* - Otherwise, the basename of the .proto file, without extension.
|
|
1623
|
+
*
|
|
1624
|
+
*
|
|
1625
|
+
* @generated from field: string go_package = 11 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1626
|
+
*/
|
|
1627
|
+
goPackage?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* Should generic services be generated in each language? "Generic" services
|
|
1630
|
+
* are not specific to any particular RPC system. They are generated by the
|
|
1631
|
+
* main code generators in each language (without additional plugins).
|
|
1632
|
+
* Generic services were the only kind of service generation supported by
|
|
1633
|
+
* early versions of google.protobuf.
|
|
1634
|
+
*
|
|
1635
|
+
* Generic services are now considered deprecated in favor of using plugins
|
|
1636
|
+
* that generate code specific to your particular RPC system. Therefore,
|
|
1637
|
+
* these default to false. Old code which depends on generic services should
|
|
1638
|
+
* explicitly set them to true.
|
|
1639
|
+
*
|
|
1640
|
+
*
|
|
1641
|
+
* @generated from field: bool cc_generic_services = 16 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1642
|
+
*/
|
|
1643
|
+
ccGenericServices?: boolean;
|
|
1644
|
+
/**
|
|
1645
|
+
* @generated from field: bool java_generic_services = 17 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1646
|
+
*/
|
|
1647
|
+
javaGenericServices?: boolean;
|
|
1648
|
+
/**
|
|
1649
|
+
* @generated from field: bool py_generic_services = 18 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1650
|
+
*/
|
|
1651
|
+
pyGenericServices?: boolean;
|
|
1652
|
+
/**
|
|
1653
|
+
* Is this file deprecated?
|
|
1654
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1655
|
+
* for everything in the file, or it will be completely ignored; in the very
|
|
1656
|
+
* least, this is a formalization for deprecating files.
|
|
1657
|
+
*
|
|
1658
|
+
*
|
|
1659
|
+
* @generated from field: bool deprecated = 23 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1660
|
+
*/
|
|
1661
|
+
deprecated?: boolean;
|
|
1662
|
+
/**
|
|
1663
|
+
* Enables the use of arenas for the proto messages in this file. This applies
|
|
1664
|
+
* only to generated classes for C++.
|
|
1665
|
+
*
|
|
1666
|
+
*
|
|
1667
|
+
* @generated from field: bool cc_enable_arenas = 31 [packed = false, default = true, jstype = JS_NORMAL];
|
|
1668
|
+
*/
|
|
1669
|
+
ccEnableArenas?: boolean;
|
|
1670
|
+
/**
|
|
1671
|
+
* Sets the objective c class prefix which is prepended to all objective c
|
|
1672
|
+
* generated classes from this .proto. There is no default.
|
|
1673
|
+
*
|
|
1674
|
+
*
|
|
1675
|
+
* @generated from field: string objc_class_prefix = 36 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1676
|
+
*/
|
|
1677
|
+
objcClassPrefix?: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* Namespace for generated classes; defaults to the package.
|
|
1680
|
+
*
|
|
1681
|
+
*
|
|
1682
|
+
* @generated from field: string csharp_namespace = 37 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1683
|
+
*/
|
|
1684
|
+
csharpNamespace?: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* By default Swift generators will take the proto package and CamelCase it
|
|
1687
|
+
* replacing '.' with underscore and use that to prefix the types/symbols
|
|
1688
|
+
* defined. When this options is provided, they will use this value instead
|
|
1689
|
+
* to prefix the types/symbols defined.
|
|
1690
|
+
*
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: string swift_prefix = 39 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1693
|
+
*/
|
|
1694
|
+
swiftPrefix?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Sets the php class prefix which is prepended to all php generated classes
|
|
1697
|
+
* from this .proto. Default is empty.
|
|
1698
|
+
*
|
|
1699
|
+
*
|
|
1700
|
+
* @generated from field: string php_class_prefix = 40 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1701
|
+
*/
|
|
1702
|
+
phpClassPrefix?: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* Use this option to change the namespace of php generated classes. Default
|
|
1705
|
+
* is empty. When this option is empty, the package name will be used for
|
|
1706
|
+
* determining the namespace.
|
|
1707
|
+
*
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from field: string php_namespace = 41 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1710
|
+
*/
|
|
1711
|
+
phpNamespace?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Use this option to change the namespace of php generated metadata classes.
|
|
1714
|
+
* Default is empty. When this option is empty, the proto file name will be
|
|
1715
|
+
* used for determining the namespace.
|
|
1716
|
+
*
|
|
1717
|
+
*
|
|
1718
|
+
* @generated from field: string php_metadata_namespace = 44 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1719
|
+
*/
|
|
1720
|
+
phpMetadataNamespace?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Use this option to change the package of ruby generated classes. Default
|
|
1723
|
+
* is empty. When this option is not set, the package name will be used for
|
|
1724
|
+
* determining the ruby package.
|
|
1725
|
+
*
|
|
1726
|
+
*
|
|
1727
|
+
* @generated from field: string ruby_package = 45 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1728
|
+
*/
|
|
1729
|
+
rubyPackage?: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Any features defined in the specific edition.
|
|
1732
|
+
*
|
|
1733
|
+
*
|
|
1734
|
+
* @generated from field: google.protobuf.FeatureSet features = 50 [packed = false, default = , jstype = JS_NORMAL];
|
|
1735
|
+
*/
|
|
1736
|
+
features?: FeatureSet;
|
|
1737
|
+
/**
|
|
1738
|
+
* The parser stores options it doesn't recognize here.
|
|
1739
|
+
* See the documentation for the "Options" section above.
|
|
1740
|
+
*
|
|
1741
|
+
*
|
|
1742
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1743
|
+
*/
|
|
1744
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
1745
|
+
}>;
|
|
1746
|
+
export declare const FileOptions: MessageType<FileOptions>;
|
|
1747
|
+
/**
|
|
1748
|
+
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
1749
|
+
*/
|
|
1750
|
+
export type SourceCodeInfo_Location = Message<{
|
|
1751
|
+
/**
|
|
1752
|
+
* Identifies which part of the FileDescriptorProto was defined at this
|
|
1753
|
+
* location.
|
|
1754
|
+
*
|
|
1755
|
+
* Each element is a field number or an index. They form a path from
|
|
1756
|
+
* the root FileDescriptorProto to the place where the definition appears.
|
|
1757
|
+
* For example, this path:
|
|
1758
|
+
* [ 4, 3, 2, 7, 1 ]
|
|
1759
|
+
* refers to:
|
|
1760
|
+
* file.message_type(3) // 4, 3
|
|
1761
|
+
* .field(7) // 2, 7
|
|
1762
|
+
* .name() // 1
|
|
1763
|
+
* This is because FileDescriptorProto.message_type has field number 4:
|
|
1764
|
+
* repeated DescriptorProto message_type = 4;
|
|
1765
|
+
* and DescriptorProto.field has field number 2:
|
|
1766
|
+
* repeated FieldDescriptorProto field = 2;
|
|
1767
|
+
* and FieldDescriptorProto.name has field number 1:
|
|
1768
|
+
* optional string name = 1;
|
|
1769
|
+
*
|
|
1770
|
+
* Thus, the above path gives the location of a field name. If we removed
|
|
1771
|
+
* the last element:
|
|
1772
|
+
* [ 4, 3, 2, 7 ]
|
|
1773
|
+
* this path refers to the whole field declaration (from the beginning
|
|
1774
|
+
* of the label to the terminating semicolon).
|
|
1775
|
+
*
|
|
1776
|
+
*
|
|
1777
|
+
* @generated from field: repeated int32 path = 1 [packed = true, default = , jstype = JS_NORMAL];
|
|
1778
|
+
*/
|
|
1779
|
+
path?: number[];
|
|
1780
|
+
/**
|
|
1781
|
+
* Always has exactly three or four elements: start line, start column,
|
|
1782
|
+
* end line (optional, otherwise assumed same as start line), end column.
|
|
1783
|
+
* These are packed into a single field for efficiency. Note that line
|
|
1784
|
+
* and column numbers are zero-based -- typically you will want to add
|
|
1785
|
+
* 1 to each before displaying to a user.
|
|
1786
|
+
*
|
|
1787
|
+
*
|
|
1788
|
+
* @generated from field: repeated int32 span = 2 [packed = true, default = , jstype = JS_NORMAL];
|
|
1789
|
+
*/
|
|
1790
|
+
span?: number[];
|
|
1791
|
+
/**
|
|
1792
|
+
* If this SourceCodeInfo represents a complete declaration, these are any
|
|
1793
|
+
* comments appearing before and after the declaration which appear to be
|
|
1794
|
+
* attached to the declaration.
|
|
1795
|
+
*
|
|
1796
|
+
* A series of line comments appearing on consecutive lines, with no other
|
|
1797
|
+
* tokens appearing on those lines, will be treated as a single comment.
|
|
1798
|
+
*
|
|
1799
|
+
* leading_detached_comments will keep paragraphs of comments that appear
|
|
1800
|
+
* before (but not connected to) the current element. Each paragraph,
|
|
1801
|
+
* separated by empty lines, will be one comment element in the repeated
|
|
1802
|
+
* field.
|
|
1803
|
+
*
|
|
1804
|
+
* Only the comment content is provided; comment markers (e.g. //) are
|
|
1805
|
+
* stripped out. For block comments, leading whitespace and an asterisk
|
|
1806
|
+
* will be stripped from the beginning of each line other than the first.
|
|
1807
|
+
* Newlines are included in the output.
|
|
1808
|
+
*
|
|
1809
|
+
* Examples:
|
|
1810
|
+
*
|
|
1811
|
+
* optional int32 foo = 1; // Comment attached to foo.
|
|
1812
|
+
* // Comment attached to bar.
|
|
1813
|
+
* optional int32 bar = 2;
|
|
1814
|
+
*
|
|
1815
|
+
* optional string baz = 3;
|
|
1816
|
+
* // Comment attached to baz.
|
|
1817
|
+
* // Another line attached to baz.
|
|
1818
|
+
*
|
|
1819
|
+
* // Comment attached to moo.
|
|
1820
|
+
* //
|
|
1821
|
+
* // Another line attached to moo.
|
|
1822
|
+
* optional double moo = 4;
|
|
1823
|
+
*
|
|
1824
|
+
* // Detached comment for corge. This is not leading or trailing comments
|
|
1825
|
+
* // to moo or corge because there are blank lines separating it from
|
|
1826
|
+
* // both.
|
|
1827
|
+
*
|
|
1828
|
+
* // Detached comment for corge paragraph 2.
|
|
1829
|
+
*
|
|
1830
|
+
* optional string corge = 5;
|
|
1831
|
+
* /* Block comment attached
|
|
1832
|
+
* * to corge. Leading asterisks
|
|
1833
|
+
* * will be removed. *\/
|
|
1834
|
+
* /* Block comment attached to
|
|
1835
|
+
* * grault. *\/
|
|
1836
|
+
* optional int32 grault = 6;
|
|
1837
|
+
*
|
|
1838
|
+
* // ignored detached comments.
|
|
1839
|
+
*
|
|
1840
|
+
*
|
|
1841
|
+
* @generated from field: string leading_comments = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1842
|
+
*/
|
|
1843
|
+
leadingComments?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* @generated from field: string trailing_comments = 4 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1846
|
+
*/
|
|
1847
|
+
trailingComments?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from field: repeated string leading_detached_comments = 6 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1850
|
+
*/
|
|
1851
|
+
leadingDetachedComments?: string[];
|
|
1852
|
+
}>;
|
|
1853
|
+
export declare const SourceCodeInfo_Location: MessageType<SourceCodeInfo_Location>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Encapsulates information about the original source file from which a
|
|
1856
|
+
* FileDescriptorProto was generated.
|
|
1857
|
+
*
|
|
1858
|
+
*
|
|
1859
|
+
* @generated from message google.protobuf.SourceCodeInfo
|
|
1860
|
+
*/
|
|
1861
|
+
export type SourceCodeInfo = Message<{
|
|
1862
|
+
/**
|
|
1863
|
+
* A Location identifies a piece of source code in a .proto file which
|
|
1864
|
+
* corresponds to a particular definition. This information is intended
|
|
1865
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
1866
|
+
* tools.
|
|
1867
|
+
*
|
|
1868
|
+
* For example, say we have a file like:
|
|
1869
|
+
* message Foo {
|
|
1870
|
+
* optional string foo = 1;
|
|
1871
|
+
* }
|
|
1872
|
+
* Let's look at just the field definition:
|
|
1873
|
+
* optional string foo = 1;
|
|
1874
|
+
* ^ ^^ ^^ ^ ^^^
|
|
1875
|
+
* a bc de f ghi
|
|
1876
|
+
* We have the following locations:
|
|
1877
|
+
* span path represents
|
|
1878
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
1879
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
1880
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
1881
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
1882
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
1883
|
+
*
|
|
1884
|
+
* Notes:
|
|
1885
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
|
1886
|
+
* particular index within it). This is used whenever a set of elements are
|
|
1887
|
+
* logically enclosed in a single code segment. For example, an entire
|
|
1888
|
+
* extend block (possibly containing multiple extension definitions) will
|
|
1889
|
+
* have an outer location whose path refers to the "extensions" repeated
|
|
1890
|
+
* field without an index.
|
|
1891
|
+
* - Multiple locations may have the same path. This happens when a single
|
|
1892
|
+
* logical declaration is spread out across multiple places. The most
|
|
1893
|
+
* obvious example is the "extend" block again -- there may be multiple
|
|
1894
|
+
* extend blocks in the same scope, each of which will have the same path.
|
|
1895
|
+
* - A location's span is not always a subset of its parent's span. For
|
|
1896
|
+
* example, the "extendee" of an extension declaration appears at the
|
|
1897
|
+
* beginning of the "extend" block and is shared by all extensions within
|
|
1898
|
+
* the block.
|
|
1899
|
+
* - Just because a location's span is a subset of some other location's span
|
|
1900
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
|
1901
|
+
* both a type and a field in a single declaration. Thus, the locations
|
|
1902
|
+
* corresponding to the type and field and their components will overlap.
|
|
1903
|
+
* - Code which tries to interpret locations should probably be designed to
|
|
1904
|
+
* ignore those that it doesn't understand, as more types of locations could
|
|
1905
|
+
* be recorded in the future.
|
|
1906
|
+
*
|
|
1907
|
+
*
|
|
1908
|
+
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1909
|
+
*/
|
|
1910
|
+
location?: SourceCodeInfo_Location[];
|
|
1911
|
+
}>;
|
|
1912
|
+
export declare const SourceCodeInfo: MessageType<SourceCodeInfo>;
|
|
1913
|
+
/**
|
|
1914
|
+
* Describes a complete .proto file.
|
|
1915
|
+
*
|
|
1916
|
+
*
|
|
1917
|
+
* @generated from message google.protobuf.FileDescriptorProto
|
|
1918
|
+
*/
|
|
1919
|
+
export type FileDescriptorProto = Message<{
|
|
1920
|
+
/**
|
|
1921
|
+
* file name, relative to root of source tree
|
|
1922
|
+
*
|
|
1923
|
+
* @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1924
|
+
*/
|
|
1925
|
+
name?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* e.g. "foo", "foo.bar", etc.
|
|
1928
|
+
*
|
|
1929
|
+
* @generated from field: string package = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1930
|
+
*/
|
|
1931
|
+
package?: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* Names of files imported by this file.
|
|
1934
|
+
*
|
|
1935
|
+
*
|
|
1936
|
+
* @generated from field: repeated string dependency = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1937
|
+
*/
|
|
1938
|
+
dependency?: string[];
|
|
1939
|
+
/**
|
|
1940
|
+
* Indexes of the public imported files in the dependency list above.
|
|
1941
|
+
*
|
|
1942
|
+
*
|
|
1943
|
+
* @generated from field: repeated int32 public_dependency = 10 [packed = false, default = , jstype = JS_NORMAL];
|
|
1944
|
+
*/
|
|
1945
|
+
publicDependency?: number[];
|
|
1946
|
+
/**
|
|
1947
|
+
* Indexes of the weak imported files in the dependency list.
|
|
1948
|
+
* For Google-internal migration only. Do not use.
|
|
1949
|
+
*
|
|
1950
|
+
*
|
|
1951
|
+
* @generated from field: repeated int32 weak_dependency = 11 [packed = false, default = , jstype = JS_NORMAL];
|
|
1952
|
+
*/
|
|
1953
|
+
weakDependency?: number[];
|
|
1954
|
+
/**
|
|
1955
|
+
* All top-level definitions in this file.
|
|
1956
|
+
*
|
|
1957
|
+
*
|
|
1958
|
+
* @generated from field: repeated google.protobuf.DescriptorProto message_type = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1959
|
+
*/
|
|
1960
|
+
messageType?: DescriptorProto[];
|
|
1961
|
+
/**
|
|
1962
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
1963
|
+
*/
|
|
1964
|
+
enumType?: EnumDescriptorProto[];
|
|
1965
|
+
/**
|
|
1966
|
+
* @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6 [packed = false, default = , jstype = JS_NORMAL];
|
|
1967
|
+
*/
|
|
1968
|
+
service?: ServiceDescriptorProto[];
|
|
1969
|
+
/**
|
|
1970
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7 [packed = false, default = , jstype = JS_NORMAL];
|
|
1971
|
+
*/
|
|
1972
|
+
extension?: FieldDescriptorProto[];
|
|
1973
|
+
/**
|
|
1974
|
+
* @generated from field: google.protobuf.FileOptions options = 8 [packed = false, default = , jstype = JS_NORMAL];
|
|
1975
|
+
*/
|
|
1976
|
+
options?: FileOptions;
|
|
1977
|
+
/**
|
|
1978
|
+
* This field contains optional information about the original source code.
|
|
1979
|
+
* You may safely remove this entire field without harming runtime
|
|
1980
|
+
* functionality of the descriptors -- the information is needed only by
|
|
1981
|
+
* development tools.
|
|
1982
|
+
*
|
|
1983
|
+
*
|
|
1984
|
+
* @generated from field: google.protobuf.SourceCodeInfo source_code_info = 9 [packed = false, default = , jstype = JS_NORMAL];
|
|
1985
|
+
*/
|
|
1986
|
+
sourceCodeInfo?: SourceCodeInfo;
|
|
1987
|
+
/**
|
|
1988
|
+
* The syntax of the proto file.
|
|
1989
|
+
* The supported values are "proto2", "proto3", and "editions".
|
|
1990
|
+
*
|
|
1991
|
+
* If `edition` is present, this value must be "editions".
|
|
1992
|
+
*
|
|
1993
|
+
*
|
|
1994
|
+
* @generated from field: string syntax = 12 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1995
|
+
*/
|
|
1996
|
+
syntax?: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* The edition of the proto file.
|
|
1999
|
+
*
|
|
2000
|
+
*
|
|
2001
|
+
* @generated from field: google.protobuf.Edition edition = 14 [packed = false, default = , jstype = JS_NORMAL];
|
|
2002
|
+
*/
|
|
2003
|
+
edition?: Edition;
|
|
2004
|
+
}>;
|
|
2005
|
+
export declare const FileDescriptorProto: MessageType<FileDescriptorProto>;
|
|
2006
|
+
/**
|
|
2007
|
+
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
2008
|
+
* files it parses.
|
|
2009
|
+
*
|
|
2010
|
+
*
|
|
2011
|
+
* @generated from message google.protobuf.FileDescriptorSet
|
|
2012
|
+
*/
|
|
2013
|
+
export type FileDescriptorSet = Message<{
|
|
2014
|
+
/**
|
|
2015
|
+
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
2016
|
+
*/
|
|
2017
|
+
file?: FileDescriptorProto[];
|
|
2018
|
+
}>;
|
|
2019
|
+
export declare const FileDescriptorSet: MessageType<FileDescriptorSet>;
|
|
2020
|
+
/**
|
|
2021
|
+
* A map from every known edition with a unique set of defaults to its
|
|
2022
|
+
* defaults. Not all editions may be contained here. For a given edition,
|
|
2023
|
+
* the defaults at the closest matching edition ordered at or before it should
|
|
2024
|
+
* be used. This field must be in strict ascending order by edition.
|
|
2025
|
+
*
|
|
2026
|
+
*
|
|
2027
|
+
* @generated from message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
2028
|
+
*/
|
|
2029
|
+
export type FeatureSetDefaults_FeatureSetEditionDefault = Message<{
|
|
2030
|
+
/**
|
|
2031
|
+
* @generated from field: google.protobuf.Edition edition = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
2032
|
+
*/
|
|
2033
|
+
edition?: Edition;
|
|
2034
|
+
/**
|
|
2035
|
+
* @generated from field: google.protobuf.FeatureSet features = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
2036
|
+
*/
|
|
2037
|
+
features?: FeatureSet;
|
|
2038
|
+
}>;
|
|
2039
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefault: MessageType<FeatureSetDefaults_FeatureSetEditionDefault>;
|
|
2040
|
+
/**
|
|
2041
|
+
* A compiled specification for the defaults of a set of features. These
|
|
2042
|
+
* messages are generated from FeatureSet extensions and can be used to seed
|
|
2043
|
+
* feature resolution. The resolution with this object becomes a simple search
|
|
2044
|
+
* for the closest matching edition, followed by proto merges.
|
|
2045
|
+
*
|
|
2046
|
+
*
|
|
2047
|
+
* @generated from message google.protobuf.FeatureSetDefaults
|
|
2048
|
+
*/
|
|
2049
|
+
export type FeatureSetDefaults = Message<{
|
|
2050
|
+
/**
|
|
2051
|
+
* @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
2052
|
+
*/
|
|
2053
|
+
defaults?: FeatureSetDefaults_FeatureSetEditionDefault[];
|
|
2054
|
+
/**
|
|
2055
|
+
* The minimum supported edition (inclusive) when this was constructed.
|
|
2056
|
+
* Editions before this will not have defaults.
|
|
2057
|
+
*
|
|
2058
|
+
*
|
|
2059
|
+
* @generated from field: google.protobuf.Edition minimum_edition = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
2060
|
+
*/
|
|
2061
|
+
minimumEdition?: Edition;
|
|
2062
|
+
/**
|
|
2063
|
+
* The maximum known edition (inclusive) when this was constructed. Editions
|
|
2064
|
+
* after this will not have reliable defaults.
|
|
2065
|
+
*
|
|
2066
|
+
*
|
|
2067
|
+
* @generated from field: google.protobuf.Edition maximum_edition = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
2068
|
+
*/
|
|
2069
|
+
maximumEdition?: Edition;
|
|
2070
|
+
}>;
|
|
2071
|
+
export declare const FeatureSetDefaults: MessageType<FeatureSetDefaults>;
|
|
2072
|
+
/**
|
|
2073
|
+
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
2074
|
+
*/
|
|
2075
|
+
export type GeneratedCodeInfo_Annotation = Message<{
|
|
2076
|
+
/**
|
|
2077
|
+
* Identifies the element in the original source .proto file. This field
|
|
2078
|
+
* is formatted the same as SourceCodeInfo.Location.path.
|
|
2079
|
+
*
|
|
2080
|
+
*
|
|
2081
|
+
* @generated from field: repeated int32 path = 1 [packed = true, default = , jstype = JS_NORMAL];
|
|
2082
|
+
*/
|
|
2083
|
+
path?: number[];
|
|
2084
|
+
/**
|
|
2085
|
+
* Identifies the filesystem path to the original source .proto.
|
|
2086
|
+
*
|
|
2087
|
+
*
|
|
2088
|
+
* @generated from field: string source_file = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
2089
|
+
*/
|
|
2090
|
+
sourceFile?: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* Identifies the starting offset in bytes in the generated code
|
|
2093
|
+
* that relates to the identified object.
|
|
2094
|
+
*
|
|
2095
|
+
*
|
|
2096
|
+
* @generated from field: int32 begin = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
2097
|
+
*/
|
|
2098
|
+
begin?: number;
|
|
2099
|
+
/**
|
|
2100
|
+
* Identifies the ending offset in bytes in the generated code that
|
|
2101
|
+
* relates to the identified object. The end offset should be one past
|
|
2102
|
+
* the last relevant byte (so the length of the text = end - begin).
|
|
2103
|
+
*
|
|
2104
|
+
*
|
|
2105
|
+
* @generated from field: int32 end = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
2106
|
+
*/
|
|
2107
|
+
end?: number;
|
|
2108
|
+
/**
|
|
2109
|
+
* @generated from field: google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
2110
|
+
*/
|
|
2111
|
+
semantic?: GeneratedCodeInfo_Annotation_Semantic;
|
|
2112
|
+
}>;
|
|
2113
|
+
export declare const GeneratedCodeInfo_Annotation: MessageType<GeneratedCodeInfo_Annotation>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Describes the relationship between generated code and its original source
|
|
2116
|
+
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
2117
|
+
* source file, but may contain references to different source .proto files.
|
|
2118
|
+
*
|
|
2119
|
+
*
|
|
2120
|
+
* @generated from message google.protobuf.GeneratedCodeInfo
|
|
2121
|
+
*/
|
|
2122
|
+
export type GeneratedCodeInfo = Message<{
|
|
2123
|
+
/**
|
|
2124
|
+
* An Annotation connects some span of text in generated code to an element
|
|
2125
|
+
* of its generating .proto file.
|
|
2126
|
+
*
|
|
2127
|
+
*
|
|
2128
|
+
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
2129
|
+
*/
|
|
2130
|
+
annotation?: GeneratedCodeInfo_Annotation[];
|
|
2131
|
+
}>;
|
|
2132
|
+
export declare const GeneratedCodeInfo: MessageType<GeneratedCodeInfo>;
|