1
1
"use strict" ;
2
2
/* eslint-disable */
3
3
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
4
- exports . GeneratedCodeInfo_Annotation = exports . GeneratedCodeInfo = exports . SourceCodeInfo_Location = exports . SourceCodeInfo = exports . UninterpretedOption_NamePart = exports . UninterpretedOption = exports . MethodOptions = exports . ServiceOptions = exports . EnumValueOptions = exports . EnumOptions = exports . OneofOptions = exports . FieldOptions = exports . MessageOptions = exports . FileOptions = exports . MethodDescriptorProto = exports . ServiceDescriptorProto = exports . EnumValueDescriptorProto = exports . EnumDescriptorProto_EnumReservedRange = exports . EnumDescriptorProto = exports . OneofDescriptorProto = exports . FieldDescriptorProto = exports . ExtensionRangeOptions = exports . DescriptorProto_ReservedRange = exports . DescriptorProto_ExtensionRange = exports . DescriptorProto = exports . FileDescriptorProto = exports . FileDescriptorSet = exports . methodOptions_IdempotencyLevelToJSON = exports . methodOptions_IdempotencyLevelFromJSON = exports . MethodOptions_IdempotencyLevel = exports . fieldOptions_JSTypeToJSON = exports . fieldOptions_JSTypeFromJSON = exports . FieldOptions_JSType = exports . fieldOptions_CTypeToJSON = exports . fieldOptions_CTypeFromJSON = exports . FieldOptions_CType = exports . fileOptions_OptimizeModeToJSON = exports . fileOptions_OptimizeModeFromJSON = exports . FileOptions_OptimizeMode = exports . fieldDescriptorProto_LabelToJSON = exports . fieldDescriptorProto_LabelFromJSON = exports . FieldDescriptorProto_Label = exports . fieldDescriptorProto_TypeToJSON = exports . fieldDescriptorProto_TypeFromJSON = exports . FieldDescriptorProto_Type = void 0 ;
4
+ exports . GeneratedCodeInfo_Annotation = exports . GeneratedCodeInfo = exports . SourceCodeInfo_Location = exports . SourceCodeInfo = exports . UninterpretedOption_NamePart = exports . UninterpretedOption = exports . MethodOptions = exports . ServiceOptions = exports . EnumValueOptions = exports . EnumOptions = exports . OneofOptions = exports . FieldOptions = exports . MessageOptions = exports . FileOptions = exports . MethodDescriptorProto = exports . ServiceDescriptorProto = exports . EnumValueDescriptorProto = exports . EnumDescriptorProto_EnumReservedRange = exports . EnumDescriptorProto = exports . OneofDescriptorProto = exports . FieldDescriptorProto = exports . ExtensionRangeOptions = exports . DescriptorProto_ReservedRange = exports . DescriptorProto_ExtensionRange = exports . DescriptorProto = exports . FileDescriptorProto = exports . FileDescriptorSet = exports . MethodOptions_IdempotencyLevel = exports . FieldOptions_JSType = exports . FieldOptions_CType = exports . FileOptions_OptimizeMode = exports . FieldDescriptorProto_Label = exports . FieldDescriptorProto_Type = void 0 ;
5
+ exports . fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON ;
6
+ exports . fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON ;
7
+ exports . fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON ;
8
+ exports . fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON ;
9
+ exports . fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON ;
10
+ exports . fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON ;
11
+ exports . fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON ;
12
+ exports . fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON ;
13
+ exports . fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON ;
14
+ exports . fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON ;
15
+ exports . methodOptions_IdempotencyLevelFromJSON = methodOptions_IdempotencyLevelFromJSON ;
16
+ exports . methodOptions_IdempotencyLevelToJSON = methodOptions_IdempotencyLevelToJSON ;
5
17
var FieldDescriptorProto_Type ;
6
18
( function ( FieldDescriptorProto_Type ) {
7
19
/**
@@ -44,7 +56,7 @@ var FieldDescriptorProto_Type;
44
56
FieldDescriptorProto_Type [ FieldDescriptorProto_Type [ "TYPE_SINT32" ] = 17 ] = "TYPE_SINT32" ;
45
57
/** TYPE_SINT64 - Uses ZigZag encoding. */
46
58
FieldDescriptorProto_Type [ FieldDescriptorProto_Type [ "TYPE_SINT64" ] = 18 ] = "TYPE_SINT64" ;
47
- } ) ( FieldDescriptorProto_Type = exports . FieldDescriptorProto_Type || ( exports . FieldDescriptorProto_Type = { } ) ) ;
59
+ } ) ( FieldDescriptorProto_Type || ( exports . FieldDescriptorProto_Type = FieldDescriptorProto_Type = { } ) ) ;
48
60
function fieldDescriptorProto_TypeFromJSON ( object ) {
49
61
switch ( object ) {
50
62
case 1 :
@@ -105,7 +117,6 @@ function fieldDescriptorProto_TypeFromJSON(object) {
105
117
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type" ) ;
106
118
}
107
119
}
108
- exports . fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON ;
109
120
function fieldDescriptorProto_TypeToJSON ( object ) {
110
121
switch ( object ) {
111
122
case FieldDescriptorProto_Type . TYPE_DOUBLE :
@@ -148,14 +159,13 @@ function fieldDescriptorProto_TypeToJSON(object) {
148
159
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldDescriptorProto_Type" ) ;
149
160
}
150
161
}
151
- exports . fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON ;
152
162
var FieldDescriptorProto_Label ;
153
163
( function ( FieldDescriptorProto_Label ) {
154
164
/** LABEL_OPTIONAL - 0 is reserved for errors */
155
165
FieldDescriptorProto_Label [ FieldDescriptorProto_Label [ "LABEL_OPTIONAL" ] = 1 ] = "LABEL_OPTIONAL" ;
156
166
FieldDescriptorProto_Label [ FieldDescriptorProto_Label [ "LABEL_REQUIRED" ] = 2 ] = "LABEL_REQUIRED" ;
157
167
FieldDescriptorProto_Label [ FieldDescriptorProto_Label [ "LABEL_REPEATED" ] = 3 ] = "LABEL_REPEATED" ;
158
- } ) ( FieldDescriptorProto_Label = exports . FieldDescriptorProto_Label || ( exports . FieldDescriptorProto_Label = { } ) ) ;
168
+ } ) ( FieldDescriptorProto_Label || ( exports . FieldDescriptorProto_Label = FieldDescriptorProto_Label = { } ) ) ;
159
169
function fieldDescriptorProto_LabelFromJSON ( object ) {
160
170
switch ( object ) {
161
171
case 1 :
@@ -171,7 +181,6 @@ function fieldDescriptorProto_LabelFromJSON(object) {
171
181
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label" ) ;
172
182
}
173
183
}
174
- exports . fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON ;
175
184
function fieldDescriptorProto_LabelToJSON ( object ) {
176
185
switch ( object ) {
177
186
case FieldDescriptorProto_Label . LABEL_OPTIONAL :
@@ -184,7 +193,6 @@ function fieldDescriptorProto_LabelToJSON(object) {
184
193
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldDescriptorProto_Label" ) ;
185
194
}
186
195
}
187
- exports . fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON ;
188
196
/** Generated classes can be optimized for speed or code size. */
189
197
var FileOptions_OptimizeMode ;
190
198
( function ( FileOptions_OptimizeMode ) {
@@ -194,7 +202,7 @@ var FileOptions_OptimizeMode;
194
202
FileOptions_OptimizeMode [ FileOptions_OptimizeMode [ "CODE_SIZE" ] = 2 ] = "CODE_SIZE" ;
195
203
/** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
196
204
FileOptions_OptimizeMode [ FileOptions_OptimizeMode [ "LITE_RUNTIME" ] = 3 ] = "LITE_RUNTIME" ;
197
- } ) ( FileOptions_OptimizeMode = exports . FileOptions_OptimizeMode || ( exports . FileOptions_OptimizeMode = { } ) ) ;
205
+ } ) ( FileOptions_OptimizeMode || ( exports . FileOptions_OptimizeMode = FileOptions_OptimizeMode = { } ) ) ;
198
206
function fileOptions_OptimizeModeFromJSON ( object ) {
199
207
switch ( object ) {
200
208
case 1 :
@@ -210,7 +218,6 @@ function fileOptions_OptimizeModeFromJSON(object) {
210
218
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FileOptions_OptimizeMode" ) ;
211
219
}
212
220
}
213
- exports . fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON ;
214
221
function fileOptions_OptimizeModeToJSON ( object ) {
215
222
switch ( object ) {
216
223
case FileOptions_OptimizeMode . SPEED :
@@ -223,14 +230,13 @@ function fileOptions_OptimizeModeToJSON(object) {
223
230
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FileOptions_OptimizeMode" ) ;
224
231
}
225
232
}
226
- exports . fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON ;
227
233
var FieldOptions_CType ;
228
234
( function ( FieldOptions_CType ) {
229
235
/** STRING - Default mode. */
230
236
FieldOptions_CType [ FieldOptions_CType [ "STRING" ] = 0 ] = "STRING" ;
231
237
FieldOptions_CType [ FieldOptions_CType [ "CORD" ] = 1 ] = "CORD" ;
232
238
FieldOptions_CType [ FieldOptions_CType [ "STRING_PIECE" ] = 2 ] = "STRING_PIECE" ;
233
- } ) ( FieldOptions_CType = exports . FieldOptions_CType || ( exports . FieldOptions_CType = { } ) ) ;
239
+ } ) ( FieldOptions_CType || ( exports . FieldOptions_CType = FieldOptions_CType = { } ) ) ;
234
240
function fieldOptions_CTypeFromJSON ( object ) {
235
241
switch ( object ) {
236
242
case 0 :
@@ -246,7 +252,6 @@ function fieldOptions_CTypeFromJSON(object) {
246
252
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldOptions_CType" ) ;
247
253
}
248
254
}
249
- exports . fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON ;
250
255
function fieldOptions_CTypeToJSON ( object ) {
251
256
switch ( object ) {
252
257
case FieldOptions_CType . STRING :
@@ -259,7 +264,6 @@ function fieldOptions_CTypeToJSON(object) {
259
264
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldOptions_CType" ) ;
260
265
}
261
266
}
262
- exports . fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON ;
263
267
var FieldOptions_JSType ;
264
268
( function ( FieldOptions_JSType ) {
265
269
/** JS_NORMAL - Use the default type. */
@@ -268,7 +272,7 @@ var FieldOptions_JSType;
268
272
FieldOptions_JSType [ FieldOptions_JSType [ "JS_STRING" ] = 1 ] = "JS_STRING" ;
269
273
/** JS_NUMBER - Use JavaScript numbers. */
270
274
FieldOptions_JSType [ FieldOptions_JSType [ "JS_NUMBER" ] = 2 ] = "JS_NUMBER" ;
271
- } ) ( FieldOptions_JSType = exports . FieldOptions_JSType || ( exports . FieldOptions_JSType = { } ) ) ;
275
+ } ) ( FieldOptions_JSType || ( exports . FieldOptions_JSType = FieldOptions_JSType = { } ) ) ;
272
276
function fieldOptions_JSTypeFromJSON ( object ) {
273
277
switch ( object ) {
274
278
case 0 :
@@ -284,7 +288,6 @@ function fieldOptions_JSTypeFromJSON(object) {
284
288
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldOptions_JSType" ) ;
285
289
}
286
290
}
287
- exports . fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON ;
288
291
function fieldOptions_JSTypeToJSON ( object ) {
289
292
switch ( object ) {
290
293
case FieldOptions_JSType . JS_NORMAL :
@@ -297,7 +300,6 @@ function fieldOptions_JSTypeToJSON(object) {
297
300
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum FieldOptions_JSType" ) ;
298
301
}
299
302
}
300
- exports . fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON ;
301
303
/**
302
304
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
303
305
* or neither? HTTP based RPC implementation may choose GET verb for safe
@@ -310,7 +312,7 @@ var MethodOptions_IdempotencyLevel;
310
312
MethodOptions_IdempotencyLevel [ MethodOptions_IdempotencyLevel [ "NO_SIDE_EFFECTS" ] = 1 ] = "NO_SIDE_EFFECTS" ;
311
313
/** IDEMPOTENT - idempotent, but may have side effects */
312
314
MethodOptions_IdempotencyLevel [ MethodOptions_IdempotencyLevel [ "IDEMPOTENT" ] = 2 ] = "IDEMPOTENT" ;
313
- } ) ( MethodOptions_IdempotencyLevel = exports . MethodOptions_IdempotencyLevel || ( exports . MethodOptions_IdempotencyLevel = { } ) ) ;
315
+ } ) ( MethodOptions_IdempotencyLevel || ( exports . MethodOptions_IdempotencyLevel = MethodOptions_IdempotencyLevel = { } ) ) ;
314
316
function methodOptions_IdempotencyLevelFromJSON ( object ) {
315
317
switch ( object ) {
316
318
case 0 :
@@ -326,7 +328,6 @@ function methodOptions_IdempotencyLevelFromJSON(object) {
326
328
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum MethodOptions_IdempotencyLevel" ) ;
327
329
}
328
330
}
329
- exports . methodOptions_IdempotencyLevelFromJSON = methodOptions_IdempotencyLevelFromJSON ;
330
331
function methodOptions_IdempotencyLevelToJSON ( object ) {
331
332
switch ( object ) {
332
333
case MethodOptions_IdempotencyLevel . IDEMPOTENCY_UNKNOWN :
@@ -339,7 +340,6 @@ function methodOptions_IdempotencyLevelToJSON(object) {
339
340
throw new tsProtoGlobalThis . Error ( "Unrecognized enum value " + object + " for enum MethodOptions_IdempotencyLevel" ) ;
340
341
}
341
342
}
342
- exports . methodOptions_IdempotencyLevelToJSON = methodOptions_IdempotencyLevelToJSON ;
343
343
function createBaseFileDescriptorSet ( ) {
344
344
return { file : [ ] } ;
345
345
}
0 commit comments