@fivenet-app/gen 2025.5.2 → 2025.9.1

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.
Files changed (169) hide show
  1. package/buf/validate/validate.ts +11301 -0
  2. package/clients.ts +157 -154
  3. package/codegen/dbscanner/dbscanner.ts +91 -0
  4. package/codegen/perms/perms.ts +208 -0
  5. package/codegen/sanitizer/sanitizer.ts +80 -0
  6. package/google/protobuf/any.ts +4 -3
  7. package/google/protobuf/descriptor.ts +393 -239
  8. package/google/protobuf/duration.ts +4 -3
  9. package/google/protobuf/struct.ts +485 -0
  10. package/google/protobuf/timestamp.ts +4 -3
  11. package/package.json +3 -3
  12. package/perms.ts +85 -159
  13. package/resources/accounts/accounts.ts +26 -25
  14. package/resources/accounts/oauth2.ts +30 -29
  15. package/resources/audit/audit.ts +36 -35
  16. package/resources/calendar/access.ts +49 -48
  17. package/resources/calendar/calendar.ts +122 -126
  18. package/resources/centrum/access.ts +345 -0
  19. package/resources/centrum/attributes.ts +8 -11
  20. package/resources/centrum/dispatchers.ts +149 -0
  21. package/resources/centrum/dispatches.ts +252 -115
  22. package/resources/centrum/settings.ts +384 -34
  23. package/resources/centrum/units.ts +112 -92
  24. package/resources/centrum/units_access.ts +54 -55
  25. package/resources/clientconfig/clientconfig.ts +890 -0
  26. package/resources/collab/collab.ts +817 -0
  27. package/resources/common/content/content.ts +113 -30
  28. package/resources/common/cron/cron.ts +43 -31
  29. package/resources/common/database/database.ts +92 -35
  30. package/resources/common/error.ts +17 -16
  31. package/resources/common/grpcws/grpcws.ts +24 -23
  32. package/resources/common/i18n.ts +20 -24
  33. package/resources/common/id_mapping.ts +69 -0
  34. package/resources/common/tests/objects.ts +4 -3
  35. package/resources/common/uuid.ts +4 -3
  36. package/resources/discord/discord.ts +209 -0
  37. package/resources/documents/access.ts +52 -53
  38. package/resources/documents/activity.ts +235 -58
  39. package/resources/documents/category.ts +20 -27
  40. package/resources/documents/comment.ts +26 -25
  41. package/resources/documents/documents.ts +335 -262
  42. package/resources/documents/pins.ts +127 -0
  43. package/resources/documents/requests.ts +31 -30
  44. package/resources/documents/signoff.ts +55 -0
  45. package/resources/documents/state.ts +69 -0
  46. package/resources/documents/templates.ts +119 -136
  47. package/resources/documents/workflow.ts +35 -24
  48. package/resources/file/file.ts +152 -0
  49. package/{services/settings → resources/file}/filestore.ts +179 -165
  50. package/resources/file/meta.ts +148 -0
  51. package/resources/jobs/activity.ts +39 -42
  52. package/resources/jobs/colleagues.ts +67 -60
  53. package/resources/jobs/conduct.ts +29 -30
  54. package/resources/jobs/job_props.ts +46 -48
  55. package/resources/jobs/job_settings.ts +45 -52
  56. package/resources/jobs/jobs.ts +14 -13
  57. package/resources/jobs/labels.ts +21 -22
  58. package/resources/jobs/timeclock.ts +26 -25
  59. package/resources/laws/laws.ts +40 -49
  60. package/resources/livemap/coords.ts +81 -0
  61. package/resources/livemap/heatmap.ts +93 -0
  62. package/resources/livemap/{livemap.ts → marker_marker.ts} +43 -310
  63. package/resources/livemap/user_marker.ts +298 -0
  64. package/resources/mailer/access.ts +75 -74
  65. package/resources/mailer/email.ts +24 -27
  66. package/resources/mailer/events.ts +25 -24
  67. package/resources/mailer/message.ts +45 -50
  68. package/resources/mailer/settings.ts +12 -15
  69. package/resources/mailer/template.ts +25 -28
  70. package/resources/mailer/thread.ts +70 -71
  71. package/resources/notifications/client_view.ts +239 -0
  72. package/resources/notifications/events.ts +50 -101
  73. package/resources/notifications/notifications.ts +52 -57
  74. package/resources/permissions/attributes.ts +63 -206
  75. package/resources/permissions/events.ts +149 -0
  76. package/resources/permissions/permissions.ts +103 -34
  77. package/resources/qualifications/access.ts +27 -26
  78. package/resources/qualifications/exam.ts +188 -126
  79. package/resources/qualifications/qualifications.ts +370 -303
  80. package/resources/settings/banner.ts +14 -21
  81. package/resources/settings/config.ts +163 -79
  82. package/resources/settings/perms.ts +151 -0
  83. package/resources/settings/status.ts +533 -0
  84. package/resources/stats/stats.ts +3 -2
  85. package/resources/sync/activity.ts +24 -23
  86. package/resources/sync/data.ts +94 -26
  87. package/resources/timestamp/timestamp.ts +3 -2
  88. package/resources/{centrum/user_unit.ts → tracker/mapping.ts} +44 -44
  89. package/resources/userinfo/user_info.ts +464 -0
  90. package/resources/users/activity.ts +80 -85
  91. package/resources/users/labels.ts +18 -21
  92. package/resources/users/licenses.ts +9 -8
  93. package/resources/users/props.ts +61 -51
  94. package/resources/users/users.ts +100 -78
  95. package/resources/vehicles/activity.ts +231 -0
  96. package/resources/vehicles/props.ts +103 -0
  97. package/resources/vehicles/vehicles.ts +28 -15
  98. package/resources/wiki/access.ts +49 -48
  99. package/resources/wiki/activity.ts +133 -51
  100. package/resources/wiki/page.ts +134 -87
  101. package/services/auth/auth.client.ts +24 -27
  102. package/services/auth/auth.ts +222 -195
  103. package/services/calendar/calendar.client.ts +32 -91
  104. package/services/calendar/calendar.ts +110 -109
  105. package/services/centrum/centrum.client.ts +97 -137
  106. package/services/centrum/centrum.ts +701 -298
  107. package/services/citizens/citizens.client.ts +70 -39
  108. package/services/citizens/citizens.ts +183 -93
  109. package/services/completor/completor.client.ts +16 -35
  110. package/services/completor/completor.ts +65 -44
  111. package/services/documents/collab.client.ts +46 -0
  112. package/services/documents/collab.ts +13 -0
  113. package/services/documents/documents.client.ts +88 -217
  114. package/services/documents/documents.ts +490 -508
  115. package/services/filestore/filestore.client.ts +86 -0
  116. package/services/filestore/filestore.ts +262 -0
  117. package/services/jobs/conduct.client.ts +10 -25
  118. package/services/jobs/conduct.ts +36 -35
  119. package/services/jobs/jobs.client.ts +22 -61
  120. package/services/jobs/jobs.ts +108 -91
  121. package/services/jobs/timeclock.client.ts +8 -19
  122. package/services/jobs/timeclock.ts +47 -46
  123. package/services/livemap/livemap.client.ts +8 -19
  124. package/services/livemap/livemap.ts +290 -119
  125. package/services/mailer/mailer.client.ts +44 -127
  126. package/services/mailer/mailer.ts +213 -216
  127. package/services/notifications/notifications.client.ts +65 -0
  128. package/services/{notificator/notificator.ts → notifications/notifications.ts} +117 -74
  129. package/services/qualifications/qualifications.client.ts +46 -91
  130. package/services/qualifications/qualifications.ts +181 -175
  131. package/services/settings/accounts.client.ts +10 -25
  132. package/services/settings/accounts.ts +64 -41
  133. package/services/settings/config.client.ts +6 -13
  134. package/services/settings/config.ts +8 -7
  135. package/services/settings/cron.client.ts +4 -7
  136. package/services/settings/cron.ts +4 -3
  137. package/services/settings/laws.client.ts +10 -25
  138. package/services/settings/laws.ts +29 -28
  139. package/services/settings/settings.client.ts +57 -103
  140. package/services/settings/settings.ts +190 -607
  141. package/services/settings/system.client.ts +90 -0
  142. package/services/settings/system.ts +618 -0
  143. package/services/stats/stats.client.ts +4 -3
  144. package/services/stats/stats.ts +4 -3
  145. package/services/sync/sync.client.ts +16 -15
  146. package/services/sync/sync.ts +82 -52
  147. package/services/vehicles/vehicles.client.ts +17 -7
  148. package/services/vehicles/vehicles.ts +169 -24
  149. package/services/wiki/collab.client.ts +46 -0
  150. package/services/wiki/collab.ts +13 -0
  151. package/services/wiki/wiki.client.ts +28 -37
  152. package/services/wiki/wiki.ts +93 -63
  153. package/svcs.ts +79 -103
  154. package/resources/centrum/disponents.ts +0 -81
  155. package/resources/filestore/file.ts +0 -204
  156. package/resources/internet/access.ts +0 -358
  157. package/resources/internet/ads.ts +0 -257
  158. package/resources/internet/domain.ts +0 -328
  159. package/resources/internet/page.ts +0 -428
  160. package/resources/internet/search.ts +0 -128
  161. package/resources/livemap/tracker.ts +0 -81
  162. package/services/internet/ads.client.ts +0 -41
  163. package/services/internet/ads.ts +0 -145
  164. package/services/internet/domain.client.ts +0 -109
  165. package/services/internet/domain.ts +0 -658
  166. package/services/internet/internet.client.ts +0 -58
  167. package/services/internet/internet.ts +0 -268
  168. package/services/notificator/notificator.client.ts +0 -76
  169. package/services/settings/filestore.client.ts +0 -75
@@ -1,5 +1,6 @@
1
- // @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
1
+ // @generated by protobuf-ts 2.11.1 with parameter force_server_none,long_type_number,optimize_speed,ts_nocheck
2
2
  // @generated from protobuf file "google/protobuf/descriptor.proto" (package "google.protobuf", syntax proto2)
3
+ // tslint:disable
3
4
  // @ts-nocheck
4
5
  //
5
6
  // Protocol Buffers - Google's data interchange format
@@ -58,7 +59,7 @@ import { MessageType } from "@protobuf-ts/runtime";
58
59
  */
59
60
  export interface FileDescriptorSet {
60
61
  /**
61
- * @generated from protobuf field: repeated google.protobuf.FileDescriptorProto file = 1;
62
+ * @generated from protobuf field: repeated google.protobuf.FileDescriptorProto file = 1
62
63
  */
63
64
  file: FileDescriptorProto[];
64
65
  }
@@ -69,52 +70,59 @@ export interface FileDescriptorSet {
69
70
  */
70
71
  export interface FileDescriptorProto {
71
72
  /**
72
- * @generated from protobuf field: optional string name = 1;
73
+ * @generated from protobuf field: optional string name = 1
73
74
  */
74
75
  name?: string; // file name, relative to root of source tree
75
76
  /**
76
- * @generated from protobuf field: optional string package = 2;
77
+ * @generated from protobuf field: optional string package = 2
77
78
  */
78
79
  package?: string; // e.g. "foo", "foo.bar", etc.
79
80
  /**
80
81
  * Names of files imported by this file.
81
82
  *
82
- * @generated from protobuf field: repeated string dependency = 3;
83
+ * @generated from protobuf field: repeated string dependency = 3
83
84
  */
84
85
  dependency: string[];
85
86
  /**
86
87
  * Indexes of the public imported files in the dependency list above.
87
88
  *
88
- * @generated from protobuf field: repeated int32 public_dependency = 10;
89
+ * @generated from protobuf field: repeated int32 public_dependency = 10
89
90
  */
90
91
  publicDependency: number[];
91
92
  /**
92
93
  * Indexes of the weak imported files in the dependency list.
93
94
  * For Google-internal migration only. Do not use.
94
95
  *
95
- * @generated from protobuf field: repeated int32 weak_dependency = 11;
96
+ * @generated from protobuf field: repeated int32 weak_dependency = 11
96
97
  */
97
98
  weakDependency: number[];
99
+ /**
100
+ * Names of files imported by this file purely for the purpose of providing
101
+ * option extensions. These are excluded from the dependency list above.
102
+ *
103
+ * @generated from protobuf field: repeated string option_dependency = 15
104
+ */
105
+ optionDependency: string[];
98
106
  /**
99
107
  * All top-level definitions in this file.
100
108
  *
101
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto message_type = 4;
109
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto message_type = 4
102
110
  */
103
111
  messageType: DescriptorProto[];
104
112
  /**
105
- * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
113
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 5
106
114
  */
107
115
  enumType: EnumDescriptorProto[];
108
116
  /**
109
- * @generated from protobuf field: repeated google.protobuf.ServiceDescriptorProto service = 6;
117
+ * @generated from protobuf field: repeated google.protobuf.ServiceDescriptorProto service = 6
110
118
  */
111
119
  service: ServiceDescriptorProto[];
112
120
  /**
113
- * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 7;
121
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 7
114
122
  */
115
123
  extension: FieldDescriptorProto[];
116
124
  /**
117
- * @generated from protobuf field: optional google.protobuf.FileOptions options = 8;
125
+ * @generated from protobuf field: optional google.protobuf.FileOptions options = 8
118
126
  */
119
127
  options?: FileOptions;
120
128
  /**
@@ -123,7 +131,7 @@ export interface FileDescriptorProto {
123
131
  * functionality of the descriptors -- the information is needed only by
124
132
  * development tools.
125
133
  *
126
- * @generated from protobuf field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
134
+ * @generated from protobuf field: optional google.protobuf.SourceCodeInfo source_code_info = 9
127
135
  */
128
136
  sourceCodeInfo?: SourceCodeInfo;
129
137
  /**
@@ -135,7 +143,7 @@ export interface FileDescriptorProto {
135
143
  * cases like the proto compiler. Other uses are discouraged and
136
144
  * developers should rely on the protoreflect APIs for their client language.
137
145
  *
138
- * @generated from protobuf field: optional string syntax = 12;
146
+ * @generated from protobuf field: optional string syntax = 12
139
147
  */
140
148
  syntax?: string;
141
149
  /**
@@ -144,7 +152,7 @@ export interface FileDescriptorProto {
144
152
  * cases like the proto compiler. Other uses are discouraged and
145
153
  * developers should rely on the protoreflect APIs for their client language.
146
154
  *
147
- * @generated from protobuf field: optional google.protobuf.Edition edition = 14;
155
+ * @generated from protobuf field: optional google.protobuf.Edition edition = 14
148
156
  */
149
157
  edition?: Edition;
150
158
  }
@@ -155,63 +163,69 @@ export interface FileDescriptorProto {
155
163
  */
156
164
  export interface DescriptorProto {
157
165
  /**
158
- * @generated from protobuf field: optional string name = 1;
166
+ * @generated from protobuf field: optional string name = 1
159
167
  */
160
168
  name?: string;
161
169
  /**
162
- * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto field = 2;
170
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto field = 2
163
171
  */
164
172
  field: FieldDescriptorProto[];
165
173
  /**
166
- * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 6;
174
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 6
167
175
  */
168
176
  extension: FieldDescriptorProto[];
169
177
  /**
170
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto nested_type = 3;
178
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto nested_type = 3
171
179
  */
172
180
  nestedType: DescriptorProto[];
173
181
  /**
174
- * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
182
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 4
175
183
  */
176
184
  enumType: EnumDescriptorProto[];
177
185
  /**
178
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
186
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5
179
187
  */
180
188
  extensionRange: DescriptorProto_ExtensionRange[];
181
189
  /**
182
- * @generated from protobuf field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
190
+ * @generated from protobuf field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8
183
191
  */
184
192
  oneofDecl: OneofDescriptorProto[];
185
193
  /**
186
- * @generated from protobuf field: optional google.protobuf.MessageOptions options = 7;
194
+ * @generated from protobuf field: optional google.protobuf.MessageOptions options = 7
187
195
  */
188
196
  options?: MessageOptions;
189
197
  /**
190
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
198
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9
191
199
  */
192
200
  reservedRange: DescriptorProto_ReservedRange[];
193
201
  /**
194
202
  * Reserved field names, which may not be used by fields in the same message.
195
203
  * A given name may only be reserved once.
196
204
  *
197
- * @generated from protobuf field: repeated string reserved_name = 10;
205
+ * @generated from protobuf field: repeated string reserved_name = 10
198
206
  */
199
207
  reservedName: string[];
208
+ /**
209
+ * Support for `export` and `local` keywords on enums.
210
+ *
211
+ * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11
212
+ */
213
+ visibility?: SymbolVisibility;
200
214
  }
201
215
  /**
202
216
  * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
203
217
  */
204
218
  export interface DescriptorProto_ExtensionRange {
205
219
  /**
206
- * @generated from protobuf field: optional int32 start = 1;
220
+ * @generated from protobuf field: optional int32 start = 1
207
221
  */
208
222
  start?: number; // Inclusive.
209
223
  /**
210
- * @generated from protobuf field: optional int32 end = 2;
224
+ * @generated from protobuf field: optional int32 end = 2
211
225
  */
212
226
  end?: number; // Exclusive.
213
227
  /**
214
- * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions options = 3;
228
+ * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions options = 3
215
229
  */
216
230
  options?: ExtensionRangeOptions;
217
231
  }
@@ -224,11 +238,11 @@ export interface DescriptorProto_ExtensionRange {
224
238
  */
225
239
  export interface DescriptorProto_ReservedRange {
226
240
  /**
227
- * @generated from protobuf field: optional int32 start = 1;
241
+ * @generated from protobuf field: optional int32 start = 1
228
242
  */
229
243
  start?: number; // Inclusive.
230
244
  /**
231
- * @generated from protobuf field: optional int32 end = 2;
245
+ * @generated from protobuf field: optional int32 end = 2
232
246
  */
233
247
  end?: number; // Exclusive.
234
248
  }
@@ -239,7 +253,7 @@ export interface ExtensionRangeOptions {
239
253
  /**
240
254
  * The parser stores options it doesn't recognize here. See above.
241
255
  *
242
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
256
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
243
257
  */
244
258
  uninterpretedOption: UninterpretedOption[];
245
259
  /**
@@ -247,13 +261,13 @@ export interface ExtensionRangeOptions {
247
261
  * extension declaration and executing internal cleanups before it can be
248
262
  * used externally.
249
263
  *
250
- * @generated from protobuf field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2;
264
+ * @generated from protobuf field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2
251
265
  */
252
266
  declaration: ExtensionRangeOptions_Declaration[];
253
267
  /**
254
268
  * Any features defined in the specific edition.
255
269
  *
256
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50;
270
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
257
271
  */
258
272
  features?: FeatureSet;
259
273
  /**
@@ -261,7 +275,7 @@ export interface ExtensionRangeOptions {
261
275
  * TODO: flip the default to DECLARATION once all empty ranges
262
276
  * are marked as UNVERIFIED.
263
277
  *
264
- * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3;
278
+ * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]
265
279
  */
266
280
  verification?: ExtensionRangeOptions_VerificationState;
267
281
  }
@@ -272,14 +286,14 @@ export interface ExtensionRangeOptions_Declaration {
272
286
  /**
273
287
  * The extension number declared within the extension range.
274
288
  *
275
- * @generated from protobuf field: optional int32 number = 1;
289
+ * @generated from protobuf field: optional int32 number = 1
276
290
  */
277
291
  number?: number;
278
292
  /**
279
293
  * The fully-qualified name of the extension field. There must be a leading
280
294
  * dot in front of the full name.
281
295
  *
282
- * @generated from protobuf field: optional string full_name = 2;
296
+ * @generated from protobuf field: optional string full_name = 2
283
297
  */
284
298
  fullName?: string;
285
299
  /**
@@ -287,7 +301,7 @@ export interface ExtensionRangeOptions_Declaration {
287
301
  * Metadata.type, Declaration.type must have a leading dot for messages
288
302
  * and enums.
289
303
  *
290
- * @generated from protobuf field: optional string type = 3;
304
+ * @generated from protobuf field: optional string type = 3
291
305
  */
292
306
  type?: string;
293
307
  /**
@@ -295,14 +309,14 @@ export interface ExtensionRangeOptions_Declaration {
295
309
  * and any extension field with the number will fail to compile. Set this
296
310
  * when a declared extension field is deleted.
297
311
  *
298
- * @generated from protobuf field: optional bool reserved = 5;
312
+ * @generated from protobuf field: optional bool reserved = 5
299
313
  */
300
314
  reserved?: boolean;
301
315
  /**
302
316
  * If true, indicates that the extension must be defined as repeated.
303
317
  * Otherwise the extension must be defined as optional.
304
318
  *
305
- * @generated from protobuf field: optional bool repeated = 6;
319
+ * @generated from protobuf field: optional bool repeated = 6
306
320
  */
307
321
  repeated?: boolean;
308
322
  }
@@ -330,22 +344,22 @@ export enum ExtensionRangeOptions_VerificationState {
330
344
  */
331
345
  export interface FieldDescriptorProto {
332
346
  /**
333
- * @generated from protobuf field: optional string name = 1;
347
+ * @generated from protobuf field: optional string name = 1
334
348
  */
335
349
  name?: string;
336
350
  /**
337
- * @generated from protobuf field: optional int32 number = 3;
351
+ * @generated from protobuf field: optional int32 number = 3
338
352
  */
339
353
  number?: number;
340
354
  /**
341
- * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
355
+ * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Label label = 4
342
356
  */
343
357
  label?: FieldDescriptorProto_Label;
344
358
  /**
345
359
  * If type_name is set, this need not be set. If both this and type_name
346
360
  * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
347
361
  *
348
- * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
362
+ * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Type type = 5
349
363
  */
350
364
  type?: FieldDescriptorProto_Type;
351
365
  /**
@@ -355,14 +369,14 @@ export interface FieldDescriptorProto {
355
369
  * message are searched, then within the parent, on up to the root
356
370
  * namespace).
357
371
  *
358
- * @generated from protobuf field: optional string type_name = 6;
372
+ * @generated from protobuf field: optional string type_name = 6
359
373
  */
360
374
  typeName?: string;
361
375
  /**
362
376
  * For extensions, this is the name of the type being extended. It is
363
377
  * resolved in the same manner as type_name.
364
378
  *
365
- * @generated from protobuf field: optional string extendee = 2;
379
+ * @generated from protobuf field: optional string extendee = 2
366
380
  */
367
381
  extendee?: string;
368
382
  /**
@@ -371,14 +385,14 @@ export interface FieldDescriptorProto {
371
385
  * For strings, contains the default text contents (not escaped in any way).
372
386
  * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
373
387
  *
374
- * @generated from protobuf field: optional string default_value = 7;
388
+ * @generated from protobuf field: optional string default_value = 7
375
389
  */
376
390
  defaultValue?: string;
377
391
  /**
378
392
  * If set, gives the index of a oneof in the containing type's oneof_decl
379
393
  * list. This field is a member of that oneof.
380
394
  *
381
- * @generated from protobuf field: optional int32 oneof_index = 9;
395
+ * @generated from protobuf field: optional int32 oneof_index = 9
382
396
  */
383
397
  oneofIndex?: number;
384
398
  /**
@@ -387,11 +401,11 @@ export interface FieldDescriptorProto {
387
401
  * will be used. Otherwise, it's deduced from the field's name by converting
388
402
  * it to camelCase.
389
403
  *
390
- * @generated from protobuf field: optional string json_name = 10;
404
+ * @generated from protobuf field: optional string json_name = 10
391
405
  */
392
406
  jsonName?: string;
393
407
  /**
394
- * @generated from protobuf field: optional google.protobuf.FieldOptions options = 8;
408
+ * @generated from protobuf field: optional google.protobuf.FieldOptions options = 8
395
409
  */
396
410
  options?: FieldOptions;
397
411
  /**
@@ -417,7 +431,7 @@ export interface FieldDescriptorProto {
417
431
  * Proto2 optional fields do not set this flag, because they already indicate
418
432
  * optional with `LABEL_OPTIONAL`.
419
433
  *
420
- * @generated from protobuf field: optional bool proto3_optional = 17;
434
+ * @generated from protobuf field: optional bool proto3_optional = 17
421
435
  */
422
436
  proto3Optional?: boolean;
423
437
  }
@@ -559,11 +573,11 @@ export enum FieldDescriptorProto_Label {
559
573
  */
560
574
  export interface OneofDescriptorProto {
561
575
  /**
562
- * @generated from protobuf field: optional string name = 1;
576
+ * @generated from protobuf field: optional string name = 1
563
577
  */
564
578
  name?: string;
565
579
  /**
566
- * @generated from protobuf field: optional google.protobuf.OneofOptions options = 2;
580
+ * @generated from protobuf field: optional google.protobuf.OneofOptions options = 2
567
581
  */
568
582
  options?: OneofOptions;
569
583
  }
@@ -574,15 +588,15 @@ export interface OneofDescriptorProto {
574
588
  */
575
589
  export interface EnumDescriptorProto {
576
590
  /**
577
- * @generated from protobuf field: optional string name = 1;
591
+ * @generated from protobuf field: optional string name = 1
578
592
  */
579
593
  name?: string;
580
594
  /**
581
- * @generated from protobuf field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
595
+ * @generated from protobuf field: repeated google.protobuf.EnumValueDescriptorProto value = 2
582
596
  */
583
597
  value: EnumValueDescriptorProto[];
584
598
  /**
585
- * @generated from protobuf field: optional google.protobuf.EnumOptions options = 3;
599
+ * @generated from protobuf field: optional google.protobuf.EnumOptions options = 3
586
600
  */
587
601
  options?: EnumOptions;
588
602
  /**
@@ -590,16 +604,22 @@ export interface EnumDescriptorProto {
590
604
  * by enum values in the same enum declaration. Reserved ranges may not
591
605
  * overlap.
592
606
  *
593
- * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
607
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4
594
608
  */
595
609
  reservedRange: EnumDescriptorProto_EnumReservedRange[];
596
610
  /**
597
611
  * Reserved enum value names, which may not be reused. A given name may only
598
612
  * be reserved once.
599
613
  *
600
- * @generated from protobuf field: repeated string reserved_name = 5;
614
+ * @generated from protobuf field: repeated string reserved_name = 5
601
615
  */
602
616
  reservedName: string[];
617
+ /**
618
+ * Support for `export` and `local` keywords on enums.
619
+ *
620
+ * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6
621
+ */
622
+ visibility?: SymbolVisibility;
603
623
  }
604
624
  /**
605
625
  * Range of reserved numeric values. Reserved values may not be used by
@@ -613,11 +633,11 @@ export interface EnumDescriptorProto {
613
633
  */
614
634
  export interface EnumDescriptorProto_EnumReservedRange {
615
635
  /**
616
- * @generated from protobuf field: optional int32 start = 1;
636
+ * @generated from protobuf field: optional int32 start = 1
617
637
  */
618
638
  start?: number; // Inclusive.
619
639
  /**
620
- * @generated from protobuf field: optional int32 end = 2;
640
+ * @generated from protobuf field: optional int32 end = 2
621
641
  */
622
642
  end?: number; // Inclusive.
623
643
  }
@@ -628,15 +648,15 @@ export interface EnumDescriptorProto_EnumReservedRange {
628
648
  */
629
649
  export interface EnumValueDescriptorProto {
630
650
  /**
631
- * @generated from protobuf field: optional string name = 1;
651
+ * @generated from protobuf field: optional string name = 1
632
652
  */
633
653
  name?: string;
634
654
  /**
635
- * @generated from protobuf field: optional int32 number = 2;
655
+ * @generated from protobuf field: optional int32 number = 2
636
656
  */
637
657
  number?: number;
638
658
  /**
639
- * @generated from protobuf field: optional google.protobuf.EnumValueOptions options = 3;
659
+ * @generated from protobuf field: optional google.protobuf.EnumValueOptions options = 3
640
660
  */
641
661
  options?: EnumValueOptions;
642
662
  }
@@ -647,15 +667,15 @@ export interface EnumValueDescriptorProto {
647
667
  */
648
668
  export interface ServiceDescriptorProto {
649
669
  /**
650
- * @generated from protobuf field: optional string name = 1;
670
+ * @generated from protobuf field: optional string name = 1
651
671
  */
652
672
  name?: string;
653
673
  /**
654
- * @generated from protobuf field: repeated google.protobuf.MethodDescriptorProto method = 2;
674
+ * @generated from protobuf field: repeated google.protobuf.MethodDescriptorProto method = 2
655
675
  */
656
676
  method: MethodDescriptorProto[];
657
677
  /**
658
- * @generated from protobuf field: optional google.protobuf.ServiceOptions options = 3;
678
+ * @generated from protobuf field: optional google.protobuf.ServiceOptions options = 3
659
679
  */
660
680
  options?: ServiceOptions;
661
681
  }
@@ -666,34 +686,34 @@ export interface ServiceDescriptorProto {
666
686
  */
667
687
  export interface MethodDescriptorProto {
668
688
  /**
669
- * @generated from protobuf field: optional string name = 1;
689
+ * @generated from protobuf field: optional string name = 1
670
690
  */
671
691
  name?: string;
672
692
  /**
673
693
  * Input and output type names. These are resolved in the same way as
674
694
  * FieldDescriptorProto.type_name, but must refer to a message type.
675
695
  *
676
- * @generated from protobuf field: optional string input_type = 2;
696
+ * @generated from protobuf field: optional string input_type = 2
677
697
  */
678
698
  inputType?: string;
679
699
  /**
680
- * @generated from protobuf field: optional string output_type = 3;
700
+ * @generated from protobuf field: optional string output_type = 3
681
701
  */
682
702
  outputType?: string;
683
703
  /**
684
- * @generated from protobuf field: optional google.protobuf.MethodOptions options = 4;
704
+ * @generated from protobuf field: optional google.protobuf.MethodOptions options = 4
685
705
  */
686
706
  options?: MethodOptions;
687
707
  /**
688
708
  * Identifies if client streams multiple client messages
689
709
  *
690
- * @generated from protobuf field: optional bool client_streaming = 5;
710
+ * @generated from protobuf field: optional bool client_streaming = 5 [default = false]
691
711
  */
692
712
  clientStreaming?: boolean;
693
713
  /**
694
714
  * Identifies if server streams multiple server messages
695
715
  *
696
- * @generated from protobuf field: optional bool server_streaming = 6;
716
+ * @generated from protobuf field: optional bool server_streaming = 6 [default = false]
697
717
  */
698
718
  serverStreaming?: boolean;
699
719
  }
@@ -739,7 +759,7 @@ export interface FileOptions {
739
759
  * inappropriate because proto packages do not normally start with backwards
740
760
  * domain names.
741
761
  *
742
- * @generated from protobuf field: optional string java_package = 1;
762
+ * @generated from protobuf field: optional string java_package = 1
743
763
  */
744
764
  javaPackage?: string;
745
765
  /**
@@ -749,7 +769,7 @@ export interface FileOptions {
749
769
  * If java_multiple_files is disabled, then all the other classes from the
750
770
  * .proto file will be nested inside the single wrapper outer class.
751
771
  *
752
- * @generated from protobuf field: optional string java_outer_classname = 8;
772
+ * @generated from protobuf field: optional string java_outer_classname = 8
753
773
  */
754
774
  javaOuterClassname?: string;
755
775
  /**
@@ -760,14 +780,14 @@ export interface FileOptions {
760
780
  * generated to contain the file's getDescriptor() method as well as any
761
781
  * top-level extensions defined in the file.
762
782
  *
763
- * @generated from protobuf field: optional bool java_multiple_files = 10;
783
+ * @generated from protobuf field: optional bool java_multiple_files = 10 [default = false]
764
784
  */
765
785
  javaMultipleFiles?: boolean;
766
786
  /**
767
787
  * This option does nothing.
768
788
  *
769
789
  * @deprecated
770
- * @generated from protobuf field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
790
+ * @generated from protobuf field: optional bool java_generate_equals_and_hash = 20 [deprecated = true]
771
791
  */
772
792
  javaGenerateEqualsAndHash?: boolean;
773
793
  /**
@@ -782,11 +802,11 @@ export interface FileOptions {
782
802
  * false has no effect: it cannot be used to opt proto3 files out of UTF-8
783
803
  * checks.
784
804
  *
785
- * @generated from protobuf field: optional bool java_string_check_utf8 = 27;
805
+ * @generated from protobuf field: optional bool java_string_check_utf8 = 27 [default = false]
786
806
  */
787
807
  javaStringCheckUtf8?: boolean;
788
808
  /**
789
- * @generated from protobuf field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9;
809
+ * @generated from protobuf field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]
790
810
  */
791
811
  optimizeFor?: FileOptions_OptimizeMode;
792
812
  /**
@@ -796,7 +816,7 @@ export interface FileOptions {
796
816
  * - Otherwise, the package statement in the .proto file, if present.
797
817
  * - Otherwise, the basename of the .proto file, without extension.
798
818
  *
799
- * @generated from protobuf field: optional string go_package = 11;
819
+ * @generated from protobuf field: optional string go_package = 11
800
820
  */
801
821
  goPackage?: string;
802
822
  /**
@@ -811,15 +831,15 @@ export interface FileOptions {
811
831
  * these default to false. Old code which depends on generic services should
812
832
  * explicitly set them to true.
813
833
  *
814
- * @generated from protobuf field: optional bool cc_generic_services = 16;
834
+ * @generated from protobuf field: optional bool cc_generic_services = 16 [default = false]
815
835
  */
816
836
  ccGenericServices?: boolean;
817
837
  /**
818
- * @generated from protobuf field: optional bool java_generic_services = 17;
838
+ * @generated from protobuf field: optional bool java_generic_services = 17 [default = false]
819
839
  */
820
840
  javaGenericServices?: boolean;
821
841
  /**
822
- * @generated from protobuf field: optional bool py_generic_services = 18;
842
+ * @generated from protobuf field: optional bool py_generic_services = 18 [default = false]
823
843
  */
824
844
  pyGenericServices?: boolean;
825
845
  /**
@@ -828,27 +848,27 @@ export interface FileOptions {
828
848
  * for everything in the file, or it will be completely ignored; in the very
829
849
  * least, this is a formalization for deprecating files.
830
850
  *
831
- * @generated from protobuf field: optional bool deprecated = 23;
851
+ * @generated from protobuf field: optional bool deprecated = 23 [default = false]
832
852
  */
833
853
  deprecated?: boolean;
834
854
  /**
835
855
  * Enables the use of arenas for the proto messages in this file. This applies
836
856
  * only to generated classes for C++.
837
857
  *
838
- * @generated from protobuf field: optional bool cc_enable_arenas = 31;
858
+ * @generated from protobuf field: optional bool cc_enable_arenas = 31 [default = true]
839
859
  */
840
860
  ccEnableArenas?: boolean;
841
861
  /**
842
862
  * Sets the objective c class prefix which is prepended to all objective c
843
863
  * generated classes from this .proto. There is no default.
844
864
  *
845
- * @generated from protobuf field: optional string objc_class_prefix = 36;
865
+ * @generated from protobuf field: optional string objc_class_prefix = 36
846
866
  */
847
867
  objcClassPrefix?: string;
848
868
  /**
849
869
  * Namespace for generated classes; defaults to the package.
850
870
  *
851
- * @generated from protobuf field: optional string csharp_namespace = 37;
871
+ * @generated from protobuf field: optional string csharp_namespace = 37
852
872
  */
853
873
  csharpNamespace?: string;
854
874
  /**
@@ -857,14 +877,14 @@ export interface FileOptions {
857
877
  * defined. When this options is provided, they will use this value instead
858
878
  * to prefix the types/symbols defined.
859
879
  *
860
- * @generated from protobuf field: optional string swift_prefix = 39;
880
+ * @generated from protobuf field: optional string swift_prefix = 39
861
881
  */
862
882
  swiftPrefix?: string;
863
883
  /**
864
884
  * Sets the php class prefix which is prepended to all php generated classes
865
885
  * from this .proto. Default is empty.
866
886
  *
867
- * @generated from protobuf field: optional string php_class_prefix = 40;
887
+ * @generated from protobuf field: optional string php_class_prefix = 40
868
888
  */
869
889
  phpClassPrefix?: string;
870
890
  /**
@@ -872,7 +892,7 @@ export interface FileOptions {
872
892
  * is empty. When this option is empty, the package name will be used for
873
893
  * determining the namespace.
874
894
  *
875
- * @generated from protobuf field: optional string php_namespace = 41;
895
+ * @generated from protobuf field: optional string php_namespace = 41
876
896
  */
877
897
  phpNamespace?: string;
878
898
  /**
@@ -880,7 +900,7 @@ export interface FileOptions {
880
900
  * Default is empty. When this option is empty, the proto file name will be
881
901
  * used for determining the namespace.
882
902
  *
883
- * @generated from protobuf field: optional string php_metadata_namespace = 44;
903
+ * @generated from protobuf field: optional string php_metadata_namespace = 44
884
904
  */
885
905
  phpMetadataNamespace?: string;
886
906
  /**
@@ -888,7 +908,7 @@ export interface FileOptions {
888
908
  * is empty. When this option is not set, the package name will be used for
889
909
  * determining the ruby package.
890
910
  *
891
- * @generated from protobuf field: optional string ruby_package = 45;
911
+ * @generated from protobuf field: optional string ruby_package = 45
892
912
  */
893
913
  rubyPackage?: string;
894
914
  /**
@@ -897,14 +917,14 @@ export interface FileOptions {
897
917
  * cases like the proto compiler. Other uses are discouraged and
898
918
  * developers should rely on the protoreflect APIs for their client language.
899
919
  *
900
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50;
920
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
901
921
  */
902
922
  features?: FeatureSet;
903
923
  /**
904
924
  * The parser stores options it doesn't recognize here.
905
925
  * See the documentation for the "Options" section above.
906
926
  *
907
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
927
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
908
928
  */
909
929
  uninterpretedOption: UninterpretedOption[];
910
930
  }
@@ -963,7 +983,7 @@ export interface MessageOptions {
963
983
  * Because this is an option, the above two restrictions are not enforced by
964
984
  * the protocol compiler.
965
985
  *
966
- * @generated from protobuf field: optional bool message_set_wire_format = 1;
986
+ * @generated from protobuf field: optional bool message_set_wire_format = 1 [default = false]
967
987
  */
968
988
  messageSetWireFormat?: boolean;
969
989
  /**
@@ -971,7 +991,7 @@ export interface MessageOptions {
971
991
  * conflict with a field of the same name. This is meant to make migration
972
992
  * from proto1 easier; new code should avoid fields named "descriptor".
973
993
  *
974
- * @generated from protobuf field: optional bool no_standard_descriptor_accessor = 2;
994
+ * @generated from protobuf field: optional bool no_standard_descriptor_accessor = 2 [default = false]
975
995
  */
976
996
  noStandardDescriptorAccessor?: boolean;
977
997
  /**
@@ -980,7 +1000,7 @@ export interface MessageOptions {
980
1000
  * for the message, or it will be completely ignored; in the very least,
981
1001
  * this is a formalization for deprecating messages.
982
1002
  *
983
- * @generated from protobuf field: optional bool deprecated = 3;
1003
+ * @generated from protobuf field: optional bool deprecated = 3 [default = false]
984
1004
  */
985
1005
  deprecated?: boolean;
986
1006
  /**
@@ -1006,7 +1026,7 @@ export interface MessageOptions {
1006
1026
  * instead. The option should only be implicitly set by the proto compiler
1007
1027
  * parser.
1008
1028
  *
1009
- * @generated from protobuf field: optional bool map_entry = 7;
1029
+ * @generated from protobuf field: optional bool map_entry = 7
1010
1030
  */
1011
1031
  mapEntry?: boolean;
1012
1032
  /**
@@ -1022,7 +1042,7 @@ export interface MessageOptions {
1022
1042
  * teams have had time to migrate.
1023
1043
  *
1024
1044
  * @deprecated
1025
- * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
1045
+ * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]
1026
1046
  */
1027
1047
  deprecatedLegacyJsonFieldConflicts?: boolean;
1028
1048
  /**
@@ -1031,13 +1051,13 @@ export interface MessageOptions {
1031
1051
  * cases like the proto compiler. Other uses are discouraged and
1032
1052
  * developers should rely on the protoreflect APIs for their client language.
1033
1053
  *
1034
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12;
1054
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12
1035
1055
  */
1036
1056
  features?: FeatureSet;
1037
1057
  /**
1038
1058
  * The parser stores options it doesn't recognize here. See above.
1039
1059
  *
1040
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1060
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1041
1061
  */
1042
1062
  uninterpretedOption: UninterpretedOption[];
1043
1063
  }
@@ -1054,7 +1074,7 @@ export interface FieldOptions {
1054
1074
  * type "bytes" in the open source release.
1055
1075
  * TODO: make ctype actually deprecated.
1056
1076
  *
1057
- * @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1;
1077
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]
1058
1078
  */
1059
1079
  ctype?: FieldOptions_CType;
1060
1080
  /**
@@ -1066,7 +1086,7 @@ export interface FieldOptions {
1066
1086
  * Editions, but the `repeated_field_encoding` feature can be used to control
1067
1087
  * the behavior.
1068
1088
  *
1069
- * @generated from protobuf field: optional bool packed = 2;
1089
+ * @generated from protobuf field: optional bool packed = 2
1070
1090
  */
1071
1091
  packed?: boolean;
1072
1092
  /**
@@ -1082,7 +1102,7 @@ export interface FieldOptions {
1082
1102
  * This option is an enum to permit additional types to be added, e.g.
1083
1103
  * goog.math.Integer.
1084
1104
  *
1085
- * @generated from protobuf field: optional google.protobuf.FieldOptions.JSType jstype = 6;
1105
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]
1086
1106
  */
1087
1107
  jstype?: FieldOptions_JSType;
1088
1108
  /**
@@ -1109,7 +1129,7 @@ export interface FieldOptions {
1109
1129
  * fields. Failed verification would result in parsing failure (except when
1110
1130
  * uninitialized messages are acceptable).
1111
1131
  *
1112
- * @generated from protobuf field: optional bool lazy = 5;
1132
+ * @generated from protobuf field: optional bool lazy = 5 [default = false]
1113
1133
  */
1114
1134
  lazy?: boolean;
1115
1135
  /**
@@ -1117,7 +1137,7 @@ export interface FieldOptions {
1117
1137
  * only be used where lazy with verification is prohibitive for performance
1118
1138
  * reasons.
1119
1139
  *
1120
- * @generated from protobuf field: optional bool unverified_lazy = 15;
1140
+ * @generated from protobuf field: optional bool unverified_lazy = 15 [default = false]
1121
1141
  */
1122
1142
  unverifiedLazy?: boolean;
1123
1143
  /**
@@ -1126,32 +1146,32 @@ export interface FieldOptions {
1126
1146
  * for accessors, or it will be completely ignored; in the very least, this
1127
1147
  * is a formalization for deprecating fields.
1128
1148
  *
1129
- * @generated from protobuf field: optional bool deprecated = 3;
1149
+ * @generated from protobuf field: optional bool deprecated = 3 [default = false]
1130
1150
  */
1131
1151
  deprecated?: boolean;
1132
1152
  /**
1133
1153
  * For Google-internal migration only. Do not use.
1134
1154
  *
1135
- * @generated from protobuf field: optional bool weak = 10;
1155
+ * @generated from protobuf field: optional bool weak = 10 [default = false]
1136
1156
  */
1137
1157
  weak?: boolean;
1138
1158
  /**
1139
1159
  * Indicate that the field value should not be printed out when using debug
1140
1160
  * formats, e.g. when the field contains sensitive credentials.
1141
1161
  *
1142
- * @generated from protobuf field: optional bool debug_redact = 16;
1162
+ * @generated from protobuf field: optional bool debug_redact = 16 [default = false]
1143
1163
  */
1144
1164
  debugRedact?: boolean;
1145
1165
  /**
1146
- * @generated from protobuf field: optional google.protobuf.FieldOptions.OptionRetention retention = 17;
1166
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.OptionRetention retention = 17
1147
1167
  */
1148
1168
  retention?: FieldOptions_OptionRetention;
1149
1169
  /**
1150
- * @generated from protobuf field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
1170
+ * @generated from protobuf field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19
1151
1171
  */
1152
1172
  targets: FieldOptions_OptionTargetType[];
1153
1173
  /**
1154
- * @generated from protobuf field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
1174
+ * @generated from protobuf field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20
1155
1175
  */
1156
1176
  editionDefaults: FieldOptions_EditionDefault[];
1157
1177
  /**
@@ -1160,17 +1180,17 @@ export interface FieldOptions {
1160
1180
  * cases like the proto compiler. Other uses are discouraged and
1161
1181
  * developers should rely on the protoreflect APIs for their client language.
1162
1182
  *
1163
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21;
1183
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21
1164
1184
  */
1165
1185
  features?: FeatureSet;
1166
1186
  /**
1167
- * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
1187
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22
1168
1188
  */
1169
1189
  featureSupport?: FieldOptions_FeatureSupport;
1170
1190
  /**
1171
1191
  * The parser stores options it doesn't recognize here. See above.
1172
1192
  *
1173
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1193
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1174
1194
  */
1175
1195
  uninterpretedOption: UninterpretedOption[];
1176
1196
  }
@@ -1179,11 +1199,11 @@ export interface FieldOptions {
1179
1199
  */
1180
1200
  export interface FieldOptions_EditionDefault {
1181
1201
  /**
1182
- * @generated from protobuf field: optional google.protobuf.Edition edition = 3;
1202
+ * @generated from protobuf field: optional google.protobuf.Edition edition = 3
1183
1203
  */
1184
1204
  edition?: Edition;
1185
1205
  /**
1186
- * @generated from protobuf field: optional string value = 2;
1206
+ * @generated from protobuf field: optional string value = 2
1187
1207
  */
1188
1208
  value?: string; // Textproto value.
1189
1209
  }
@@ -1198,21 +1218,21 @@ export interface FieldOptions_FeatureSupport {
1198
1218
  * earlier than this one, the default assigned to EDITION_LEGACY will be
1199
1219
  * used, and proto files will not be able to override it.
1200
1220
  *
1201
- * @generated from protobuf field: optional google.protobuf.Edition edition_introduced = 1;
1221
+ * @generated from protobuf field: optional google.protobuf.Edition edition_introduced = 1
1202
1222
  */
1203
1223
  editionIntroduced?: Edition;
1204
1224
  /**
1205
1225
  * The edition this feature becomes deprecated in. Using this after this
1206
1226
  * edition may trigger warnings.
1207
1227
  *
1208
- * @generated from protobuf field: optional google.protobuf.Edition edition_deprecated = 2;
1228
+ * @generated from protobuf field: optional google.protobuf.Edition edition_deprecated = 2
1209
1229
  */
1210
1230
  editionDeprecated?: Edition;
1211
1231
  /**
1212
1232
  * The deprecation warning text if this feature is used after the edition it
1213
1233
  * was marked deprecated in.
1214
1234
  *
1215
- * @generated from protobuf field: optional string deprecation_warning = 3;
1235
+ * @generated from protobuf field: optional string deprecation_warning = 3
1216
1236
  */
1217
1237
  deprecationWarning?: string;
1218
1238
  /**
@@ -1220,7 +1240,7 @@ export interface FieldOptions_FeatureSupport {
1220
1240
  * this one, the last default assigned will be used, and proto files will
1221
1241
  * not be able to override it.
1222
1242
  *
1223
- * @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4;
1243
+ * @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4
1224
1244
  */
1225
1245
  editionRemoved?: Edition;
1226
1246
  }
@@ -1351,13 +1371,13 @@ export interface OneofOptions {
1351
1371
  * cases like the proto compiler. Other uses are discouraged and
1352
1372
  * developers should rely on the protoreflect APIs for their client language.
1353
1373
  *
1354
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1;
1374
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1
1355
1375
  */
1356
1376
  features?: FeatureSet;
1357
1377
  /**
1358
1378
  * The parser stores options it doesn't recognize here. See above.
1359
1379
  *
1360
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1380
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1361
1381
  */
1362
1382
  uninterpretedOption: UninterpretedOption[];
1363
1383
  }
@@ -1369,7 +1389,7 @@ export interface EnumOptions {
1369
1389
  * Set this option to true to allow mapping different tag names to the same
1370
1390
  * value.
1371
1391
  *
1372
- * @generated from protobuf field: optional bool allow_alias = 2;
1392
+ * @generated from protobuf field: optional bool allow_alias = 2
1373
1393
  */
1374
1394
  allowAlias?: boolean;
1375
1395
  /**
@@ -1378,7 +1398,7 @@ export interface EnumOptions {
1378
1398
  * for the enum, or it will be completely ignored; in the very least, this
1379
1399
  * is a formalization for deprecating enums.
1380
1400
  *
1381
- * @generated from protobuf field: optional bool deprecated = 3;
1401
+ * @generated from protobuf field: optional bool deprecated = 3 [default = false]
1382
1402
  */
1383
1403
  deprecated?: boolean;
1384
1404
  /**
@@ -1390,7 +1410,7 @@ export interface EnumOptions {
1390
1410
  * had time to migrate.
1391
1411
  *
1392
1412
  * @deprecated
1393
- * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
1413
+ * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]
1394
1414
  */
1395
1415
  deprecatedLegacyJsonFieldConflicts?: boolean;
1396
1416
  /**
@@ -1399,13 +1419,13 @@ export interface EnumOptions {
1399
1419
  * cases like the proto compiler. Other uses are discouraged and
1400
1420
  * developers should rely on the protoreflect APIs for their client language.
1401
1421
  *
1402
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7;
1422
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7
1403
1423
  */
1404
1424
  features?: FeatureSet;
1405
1425
  /**
1406
1426
  * The parser stores options it doesn't recognize here. See above.
1407
1427
  *
1408
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1428
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1409
1429
  */
1410
1430
  uninterpretedOption: UninterpretedOption[];
1411
1431
  }
@@ -1419,7 +1439,7 @@ export interface EnumValueOptions {
1419
1439
  * for the enum value, or it will be completely ignored; in the very least,
1420
1440
  * this is a formalization for deprecating enum values.
1421
1441
  *
1422
- * @generated from protobuf field: optional bool deprecated = 1;
1442
+ * @generated from protobuf field: optional bool deprecated = 1 [default = false]
1423
1443
  */
1424
1444
  deprecated?: boolean;
1425
1445
  /**
@@ -1428,7 +1448,7 @@ export interface EnumValueOptions {
1428
1448
  * cases like the proto compiler. Other uses are discouraged and
1429
1449
  * developers should rely on the protoreflect APIs for their client language.
1430
1450
  *
1431
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2;
1451
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2
1432
1452
  */
1433
1453
  features?: FeatureSet;
1434
1454
  /**
@@ -1436,19 +1456,19 @@ export interface EnumValueOptions {
1436
1456
  * out when using debug formats, e.g. when the field contains sensitive
1437
1457
  * credentials.
1438
1458
  *
1439
- * @generated from protobuf field: optional bool debug_redact = 3;
1459
+ * @generated from protobuf field: optional bool debug_redact = 3 [default = false]
1440
1460
  */
1441
1461
  debugRedact?: boolean;
1442
1462
  /**
1443
1463
  * Information about the support window of a feature value.
1444
1464
  *
1445
- * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
1465
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4
1446
1466
  */
1447
1467
  featureSupport?: FieldOptions_FeatureSupport;
1448
1468
  /**
1449
1469
  * The parser stores options it doesn't recognize here. See above.
1450
1470
  *
1451
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1471
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1452
1472
  */
1453
1473
  uninterpretedOption: UninterpretedOption[];
1454
1474
  }
@@ -1462,7 +1482,7 @@ export interface ServiceOptions {
1462
1482
  * cases like the proto compiler. Other uses are discouraged and
1463
1483
  * developers should rely on the protoreflect APIs for their client language.
1464
1484
  *
1465
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34;
1485
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34
1466
1486
  */
1467
1487
  features?: FeatureSet;
1468
1488
  // Note: Field numbers 1 through 32 are reserved for Google's internal RPC
@@ -1476,13 +1496,13 @@ export interface ServiceOptions {
1476
1496
  * for the service, or it will be completely ignored; in the very least,
1477
1497
  * this is a formalization for deprecating services.
1478
1498
  *
1479
- * @generated from protobuf field: optional bool deprecated = 33;
1499
+ * @generated from protobuf field: optional bool deprecated = 33 [default = false]
1480
1500
  */
1481
1501
  deprecated?: boolean;
1482
1502
  /**
1483
1503
  * The parser stores options it doesn't recognize here. See above.
1484
1504
  *
1485
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1505
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1486
1506
  */
1487
1507
  uninterpretedOption: UninterpretedOption[];
1488
1508
  }
@@ -1501,11 +1521,11 @@ export interface MethodOptions {
1501
1521
  * for the method, or it will be completely ignored; in the very least,
1502
1522
  * this is a formalization for deprecating methods.
1503
1523
  *
1504
- * @generated from protobuf field: optional bool deprecated = 33;
1524
+ * @generated from protobuf field: optional bool deprecated = 33 [default = false]
1505
1525
  */
1506
1526
  deprecated?: boolean;
1507
1527
  /**
1508
- * @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34;
1528
+ * @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]
1509
1529
  */
1510
1530
  idempotencyLevel?: MethodOptions_IdempotencyLevel;
1511
1531
  /**
@@ -1514,13 +1534,13 @@ export interface MethodOptions {
1514
1534
  * cases like the proto compiler. Other uses are discouraged and
1515
1535
  * developers should rely on the protoreflect APIs for their client language.
1516
1536
  *
1517
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35;
1537
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35
1518
1538
  */
1519
1539
  features?: FeatureSet;
1520
1540
  /**
1521
1541
  * The parser stores options it doesn't recognize here. See above.
1522
1542
  *
1523
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1543
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
1524
1544
  */
1525
1545
  uninterpretedOption: UninterpretedOption[];
1526
1546
  }
@@ -1561,34 +1581,34 @@ export enum MethodOptions_IdempotencyLevel {
1561
1581
  */
1562
1582
  export interface UninterpretedOption {
1563
1583
  /**
1564
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
1584
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption.NamePart name = 2
1565
1585
  */
1566
1586
  name: UninterpretedOption_NamePart[];
1567
1587
  /**
1568
1588
  * The value of the uninterpreted option, in whatever type the tokenizer
1569
1589
  * identified it as during parsing. Exactly one of these should be set.
1570
1590
  *
1571
- * @generated from protobuf field: optional string identifier_value = 3;
1591
+ * @generated from protobuf field: optional string identifier_value = 3
1572
1592
  */
1573
1593
  identifierValue?: string;
1574
1594
  /**
1575
- * @generated from protobuf field: optional uint64 positive_int_value = 4;
1595
+ * @generated from protobuf field: optional uint64 positive_int_value = 4
1576
1596
  */
1577
1597
  positiveIntValue?: number;
1578
1598
  /**
1579
- * @generated from protobuf field: optional int64 negative_int_value = 5;
1599
+ * @generated from protobuf field: optional int64 negative_int_value = 5
1580
1600
  */
1581
1601
  negativeIntValue?: number;
1582
1602
  /**
1583
- * @generated from protobuf field: optional double double_value = 6;
1603
+ * @generated from protobuf field: optional double double_value = 6
1584
1604
  */
1585
1605
  doubleValue?: number;
1586
1606
  /**
1587
- * @generated from protobuf field: optional bytes string_value = 7;
1607
+ * @generated from protobuf field: optional bytes string_value = 7
1588
1608
  */
1589
1609
  stringValue?: Uint8Array;
1590
1610
  /**
1591
- * @generated from protobuf field: optional string aggregate_value = 8;
1611
+ * @generated from protobuf field: optional string aggregate_value = 8
1592
1612
  */
1593
1613
  aggregateValue?: string;
1594
1614
  }
@@ -1603,11 +1623,11 @@ export interface UninterpretedOption {
1603
1623
  */
1604
1624
  export interface UninterpretedOption_NamePart {
1605
1625
  /**
1606
- * @generated from protobuf field: string name_part = 1;
1626
+ * @generated from protobuf field: required string name_part = 1
1607
1627
  */
1608
1628
  namePart: string;
1609
1629
  /**
1610
- * @generated from protobuf field: bool is_extension = 2;
1630
+ * @generated from protobuf field: required bool is_extension = 2
1611
1631
  */
1612
1632
  isExtension: boolean;
1613
1633
  }
@@ -1626,33 +1646,77 @@ export interface UninterpretedOption_NamePart {
1626
1646
  */
1627
1647
  export interface FeatureSet {
1628
1648
  /**
1629
- * @generated from protobuf field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1;
1649
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1
1630
1650
  */
1631
1651
  fieldPresence?: FeatureSet_FieldPresence;
1632
1652
  /**
1633
- * @generated from protobuf field: optional google.protobuf.FeatureSet.EnumType enum_type = 2;
1653
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.EnumType enum_type = 2
1634
1654
  */
1635
1655
  enumType?: FeatureSet_EnumType;
1636
1656
  /**
1637
- * @generated from protobuf field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3;
1657
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3
1638
1658
  */
1639
1659
  repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding;
1640
1660
  /**
1641
- * @generated from protobuf field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4;
1661
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4
1642
1662
  */
1643
1663
  utf8Validation?: FeatureSet_Utf8Validation;
1644
1664
  /**
1645
- * @generated from protobuf field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5;
1665
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5
1646
1666
  */
1647
1667
  messageEncoding?: FeatureSet_MessageEncoding;
1648
1668
  /**
1649
- * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
1669
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6
1650
1670
  */
1651
1671
  jsonFormat?: FeatureSet_JsonFormat;
1652
1672
  /**
1653
- * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7;
1673
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7
1654
1674
  */
1655
1675
  enforceNamingStyle?: FeatureSet_EnforceNamingStyle;
1676
+ /**
1677
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8
1678
+ */
1679
+ defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
1680
+ }
1681
+ /**
1682
+ * @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature
1683
+ */
1684
+ export interface FeatureSet_VisibilityFeature {
1685
+ }
1686
+ /**
1687
+ * @generated from protobuf enum google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
1688
+ */
1689
+ export enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
1690
+ /**
1691
+ * @generated from protobuf enum value: DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1692
+ */
1693
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
1694
+ /**
1695
+ * Default pre-EDITION_2024, all UNSET visibility are export.
1696
+ *
1697
+ * @generated from protobuf enum value: EXPORT_ALL = 1;
1698
+ */
1699
+ EXPORT_ALL = 1,
1700
+ /**
1701
+ * All top-level symbols default to export, nested default to local.
1702
+ *
1703
+ * @generated from protobuf enum value: EXPORT_TOP_LEVEL = 2;
1704
+ */
1705
+ EXPORT_TOP_LEVEL = 2,
1706
+ /**
1707
+ * All symbols default to local.
1708
+ *
1709
+ * @generated from protobuf enum value: LOCAL_ALL = 3;
1710
+ */
1711
+ LOCAL_ALL = 3,
1712
+ /**
1713
+ * All symbols local by default. Nested types cannot be exported.
1714
+ * With special case caveat for message { enum {} reserved 1 to max; }
1715
+ * This is the recommended setting for new protos.
1716
+ *
1717
+ * @generated from protobuf enum value: STRICT = 4;
1718
+ */
1719
+ STRICT = 4
1656
1720
  }
1657
1721
  /**
1658
1722
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
@@ -1787,21 +1851,21 @@ export enum FeatureSet_EnforceNamingStyle {
1787
1851
  */
1788
1852
  export interface FeatureSetDefaults {
1789
1853
  /**
1790
- * @generated from protobuf field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
1854
+ * @generated from protobuf field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1
1791
1855
  */
1792
1856
  defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
1793
1857
  /**
1794
1858
  * The minimum supported edition (inclusive) when this was constructed.
1795
1859
  * Editions before this will not have defaults.
1796
1860
  *
1797
- * @generated from protobuf field: optional google.protobuf.Edition minimum_edition = 4;
1861
+ * @generated from protobuf field: optional google.protobuf.Edition minimum_edition = 4
1798
1862
  */
1799
1863
  minimumEdition?: Edition;
1800
1864
  /**
1801
1865
  * The maximum known edition (inclusive) when this was constructed. Editions
1802
1866
  * after this will not have reliable defaults.
1803
1867
  *
1804
- * @generated from protobuf field: optional google.protobuf.Edition maximum_edition = 5;
1868
+ * @generated from protobuf field: optional google.protobuf.Edition maximum_edition = 5
1805
1869
  */
1806
1870
  maximumEdition?: Edition;
1807
1871
  }
@@ -1815,19 +1879,19 @@ export interface FeatureSetDefaults {
1815
1879
  */
1816
1880
  export interface FeatureSetDefaults_FeatureSetEditionDefault {
1817
1881
  /**
1818
- * @generated from protobuf field: optional google.protobuf.Edition edition = 3;
1882
+ * @generated from protobuf field: optional google.protobuf.Edition edition = 3
1819
1883
  */
1820
1884
  edition?: Edition;
1821
1885
  /**
1822
1886
  * Defaults of features that can be overridden in this edition.
1823
1887
  *
1824
- * @generated from protobuf field: optional google.protobuf.FeatureSet overridable_features = 4;
1888
+ * @generated from protobuf field: optional google.protobuf.FeatureSet overridable_features = 4
1825
1889
  */
1826
1890
  overridableFeatures?: FeatureSet;
1827
1891
  /**
1828
1892
  * Defaults of features that can't be overridden in this edition.
1829
1893
  *
1830
- * @generated from protobuf field: optional google.protobuf.FeatureSet fixed_features = 5;
1894
+ * @generated from protobuf field: optional google.protobuf.FeatureSet fixed_features = 5
1831
1895
  */
1832
1896
  fixedFeatures?: FeatureSet;
1833
1897
  }
@@ -1886,7 +1950,7 @@ export interface SourceCodeInfo {
1886
1950
  * ignore those that it doesn't understand, as more types of locations could
1887
1951
  * be recorded in the future.
1888
1952
  *
1889
- * @generated from protobuf field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
1953
+ * @generated from protobuf field: repeated google.protobuf.SourceCodeInfo.Location location = 1
1890
1954
  */
1891
1955
  location: SourceCodeInfo_Location[];
1892
1956
  }
@@ -1919,7 +1983,7 @@ export interface SourceCodeInfo_Location {
1919
1983
  * this path refers to the whole field declaration (from the beginning
1920
1984
  * of the label to the terminating semicolon).
1921
1985
  *
1922
- * @generated from protobuf field: repeated int32 path = 1 [packed = true];
1986
+ * @generated from protobuf field: repeated int32 path = 1 [packed = true]
1923
1987
  */
1924
1988
  path: number[];
1925
1989
  /**
@@ -1929,7 +1993,7 @@ export interface SourceCodeInfo_Location {
1929
1993
  * and column numbers are zero-based -- typically you will want to add
1930
1994
  * 1 to each before displaying to a user.
1931
1995
  *
1932
- * @generated from protobuf field: repeated int32 span = 2 [packed = true];
1996
+ * @generated from protobuf field: repeated int32 span = 2 [packed = true]
1933
1997
  */
1934
1998
  span: number[];
1935
1999
  /**
@@ -1981,15 +2045,15 @@ export interface SourceCodeInfo_Location {
1981
2045
  *
1982
2046
  * // ignored detached comments.
1983
2047
  *
1984
- * @generated from protobuf field: optional string leading_comments = 3;
2048
+ * @generated from protobuf field: optional string leading_comments = 3
1985
2049
  */
1986
2050
  leadingComments?: string;
1987
2051
  /**
1988
- * @generated from protobuf field: optional string trailing_comments = 4;
2052
+ * @generated from protobuf field: optional string trailing_comments = 4
1989
2053
  */
1990
2054
  trailingComments?: string;
1991
2055
  /**
1992
- * @generated from protobuf field: repeated string leading_detached_comments = 6;
2056
+ * @generated from protobuf field: repeated string leading_detached_comments = 6
1993
2057
  */
1994
2058
  leadingDetachedComments: string[];
1995
2059
  }
@@ -2005,7 +2069,7 @@ export interface GeneratedCodeInfo {
2005
2069
  * An Annotation connects some span of text in generated code to an element
2006
2070
  * of its generating .proto file.
2007
2071
  *
2008
- * @generated from protobuf field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
2072
+ * @generated from protobuf field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1
2009
2073
  */
2010
2074
  annotation: GeneratedCodeInfo_Annotation[];
2011
2075
  }
@@ -2017,20 +2081,20 @@ export interface GeneratedCodeInfo_Annotation {
2017
2081
  * Identifies the element in the original source .proto file. This field
2018
2082
  * is formatted the same as SourceCodeInfo.Location.path.
2019
2083
  *
2020
- * @generated from protobuf field: repeated int32 path = 1 [packed = true];
2084
+ * @generated from protobuf field: repeated int32 path = 1 [packed = true]
2021
2085
  */
2022
2086
  path: number[];
2023
2087
  /**
2024
2088
  * Identifies the filesystem path to the original source .proto.
2025
2089
  *
2026
- * @generated from protobuf field: optional string source_file = 2;
2090
+ * @generated from protobuf field: optional string source_file = 2
2027
2091
  */
2028
2092
  sourceFile?: string;
2029
2093
  /**
2030
2094
  * Identifies the starting offset in bytes in the generated code
2031
2095
  * that relates to the identified object.
2032
2096
  *
2033
- * @generated from protobuf field: optional int32 begin = 3;
2097
+ * @generated from protobuf field: optional int32 begin = 3
2034
2098
  */
2035
2099
  begin?: number;
2036
2100
  /**
@@ -2038,11 +2102,11 @@ export interface GeneratedCodeInfo_Annotation {
2038
2102
  * relates to the identified object. The end offset should be one past
2039
2103
  * the last relevant byte (so the length of the text = end - begin).
2040
2104
  *
2041
- * @generated from protobuf field: optional int32 end = 4;
2105
+ * @generated from protobuf field: optional int32 end = 4
2042
2106
  */
2043
2107
  end?: number;
2044
2108
  /**
2045
- * @generated from protobuf field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
2109
+ * @generated from protobuf field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5
2046
2110
  */
2047
2111
  semantic?: GeneratedCodeInfo_Annotation_Semantic;
2048
2112
  }
@@ -2148,6 +2212,29 @@ export enum Edition {
2148
2212
  */
2149
2213
  EDITION_MAX = 2147483647
2150
2214
  }
2215
+ /**
2216
+ * Describes the 'visibility' of a symbol with respect to the proto import
2217
+ * system. Symbols can only be imported when the visibility rules do not prevent
2218
+ * it (ex: local symbols cannot be imported). Visibility modifiers can only set
2219
+ * on `message` and `enum` as they are the only types available to be referenced
2220
+ * from other files.
2221
+ *
2222
+ * @generated from protobuf enum google.protobuf.SymbolVisibility
2223
+ */
2224
+ export enum SymbolVisibility {
2225
+ /**
2226
+ * @generated from protobuf enum value: VISIBILITY_UNSET = 0;
2227
+ */
2228
+ VISIBILITY_UNSET = 0,
2229
+ /**
2230
+ * @generated from protobuf enum value: VISIBILITY_LOCAL = 1;
2231
+ */
2232
+ VISIBILITY_LOCAL = 1,
2233
+ /**
2234
+ * @generated from protobuf enum value: VISIBILITY_EXPORT = 2;
2235
+ */
2236
+ VISIBILITY_EXPORT = 2
2237
+ }
2151
2238
  // @generated message type with reflection information, may provide speed optimized methods
2152
2239
  class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
2153
2240
  constructor() {
@@ -2204,6 +2291,7 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2204
2291
  { no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2205
2292
  { no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2206
2293
  { no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2294
+ { no: 15, name: "option_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2207
2295
  { no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
2208
2296
  { no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
2209
2297
  { no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto },
@@ -2219,6 +2307,7 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2219
2307
  message.dependency = [];
2220
2308
  message.publicDependency = [];
2221
2309
  message.weakDependency = [];
2310
+ message.optionDependency = [];
2222
2311
  message.messageType = [];
2223
2312
  message.enumType = [];
2224
2313
  message.service = [];
@@ -2255,6 +2344,9 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2255
2344
  else
2256
2345
  message.weakDependency.push(reader.int32());
2257
2346
  break;
2347
+ case /* repeated string option_dependency */ 15:
2348
+ message.optionDependency.push(reader.string());
2349
+ break;
2258
2350
  case /* repeated google.protobuf.DescriptorProto message_type */ 4:
2259
2351
  message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
2260
2352
  break;
@@ -2330,6 +2422,9 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2330
2422
  /* optional google.protobuf.Edition edition = 14; */
2331
2423
  if (message.edition !== undefined)
2332
2424
  writer.tag(14, WireType.Varint).int32(message.edition);
2425
+ /* repeated string option_dependency = 15; */
2426
+ for (let i = 0; i < message.optionDependency.length; i++)
2427
+ writer.tag(15, WireType.LengthDelimited).string(message.optionDependency[i]);
2333
2428
  let u = options.writeUnknownFields;
2334
2429
  if (u !== false)
2335
2430
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2353,7 +2448,8 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2353
2448
  { no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto },
2354
2449
  { no: 7, name: "options", kind: "message", T: () => MessageOptions },
2355
2450
  { no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange },
2356
- { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2451
+ { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2452
+ { no: 11, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
2357
2453
  ]);
2358
2454
  }
2359
2455
  create(value?: PartialMessage<DescriptorProto>): DescriptorProto {
@@ -2405,6 +2501,9 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2405
2501
  case /* repeated string reserved_name */ 10:
2406
2502
  message.reservedName.push(reader.string());
2407
2503
  break;
2504
+ case /* optional google.protobuf.SymbolVisibility visibility */ 11:
2505
+ message.visibility = reader.int32();
2506
+ break;
2408
2507
  default:
2409
2508
  let u = options.readUnknownField;
2410
2509
  if (u === "throw")
@@ -2447,6 +2546,9 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2447
2546
  /* repeated string reserved_name = 10; */
2448
2547
  for (let i = 0; i < message.reservedName.length; i++)
2449
2548
  writer.tag(10, WireType.LengthDelimited).string(message.reservedName[i]);
2549
+ /* optional google.protobuf.SymbolVisibility visibility = 11; */
2550
+ if (message.visibility !== undefined)
2551
+ writer.tag(11, WireType.Varint).int32(message.visibility);
2450
2552
  let u = options.writeUnknownFields;
2451
2553
  if (u !== false)
2452
2554
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2602,7 +2704,7 @@ class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
2602
2704
  case /* optional google.protobuf.FeatureSet features */ 50:
2603
2705
  message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
2604
2706
  break;
2605
- case /* optional google.protobuf.ExtensionRangeOptions.VerificationState verification */ 3:
2707
+ case /* optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED] */ 3:
2606
2708
  message.verification = reader.int32();
2607
2709
  break;
2608
2710
  default:
@@ -2620,7 +2722,7 @@ class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
2620
2722
  /* repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; */
2621
2723
  for (let i = 0; i < message.declaration.length; i++)
2622
2724
  ExtensionRangeOptions_Declaration.internalBinaryWrite(message.declaration[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2623
- /* optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3; */
2725
+ /* optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]; */
2624
2726
  if (message.verification !== undefined)
2625
2727
  writer.tag(3, WireType.Varint).int32(message.verification);
2626
2728
  /* optional google.protobuf.FeatureSet features = 50; */
@@ -2890,7 +2992,8 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2890
2992
  { no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto },
2891
2993
  { no: 3, name: "options", kind: "message", T: () => EnumOptions },
2892
2994
  { no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange },
2893
- { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2995
+ { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2996
+ { no: 6, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
2894
2997
  ]);
2895
2998
  }
2896
2999
  create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto {
@@ -2922,6 +3025,9 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2922
3025
  case /* repeated string reserved_name */ 5:
2923
3026
  message.reservedName.push(reader.string());
2924
3027
  break;
3028
+ case /* optional google.protobuf.SymbolVisibility visibility */ 6:
3029
+ message.visibility = reader.int32();
3030
+ break;
2925
3031
  default:
2926
3032
  let u = options.readUnknownField;
2927
3033
  if (u === "throw")
@@ -2949,6 +3055,9 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2949
3055
  /* repeated string reserved_name = 5; */
2950
3056
  for (let i = 0; i < message.reservedName.length; i++)
2951
3057
  writer.tag(5, WireType.LengthDelimited).string(message.reservedName[i]);
3058
+ /* optional google.protobuf.SymbolVisibility visibility = 6; */
3059
+ if (message.visibility !== undefined)
3060
+ writer.tag(6, WireType.Varint).int32(message.visibility);
2952
3061
  let u = options.writeUnknownFields;
2953
3062
  if (u !== false)
2954
3063
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3168,10 +3277,10 @@ class MethodDescriptorProto$Type extends MessageType<MethodDescriptorProto> {
3168
3277
  case /* optional google.protobuf.MethodOptions options */ 4:
3169
3278
  message.options = MethodOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
3170
3279
  break;
3171
- case /* optional bool client_streaming */ 5:
3280
+ case /* optional bool client_streaming = 5 [default = false] */ 5:
3172
3281
  message.clientStreaming = reader.bool();
3173
3282
  break;
3174
- case /* optional bool server_streaming */ 6:
3283
+ case /* optional bool server_streaming = 6 [default = false] */ 6:
3175
3284
  message.serverStreaming = reader.bool();
3176
3285
  break;
3177
3286
  default:
@@ -3198,10 +3307,10 @@ class MethodDescriptorProto$Type extends MessageType<MethodDescriptorProto> {
3198
3307
  /* optional google.protobuf.MethodOptions options = 4; */
3199
3308
  if (message.options)
3200
3309
  MethodOptions.internalBinaryWrite(message.options, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
3201
- /* optional bool client_streaming = 5; */
3310
+ /* optional bool client_streaming = 5 [default = false]; */
3202
3311
  if (message.clientStreaming !== undefined)
3203
3312
  writer.tag(5, WireType.Varint).bool(message.clientStreaming);
3204
- /* optional bool server_streaming = 6; */
3313
+ /* optional bool server_streaming = 6 [default = false]; */
3205
3314
  if (message.serverStreaming !== undefined)
3206
3315
  writer.tag(6, WireType.Varint).bool(message.serverStreaming);
3207
3316
  let u = options.writeUnknownFields;
@@ -3259,34 +3368,34 @@ class FileOptions$Type extends MessageType<FileOptions> {
3259
3368
  case /* optional string java_outer_classname */ 8:
3260
3369
  message.javaOuterClassname = reader.string();
3261
3370
  break;
3262
- case /* optional bool java_multiple_files */ 10:
3371
+ case /* optional bool java_multiple_files = 10 [default = false] */ 10:
3263
3372
  message.javaMultipleFiles = reader.bool();
3264
3373
  break;
3265
- case /* optional bool java_generate_equals_and_hash = 20 [deprecated = true];*/ 20:
3374
+ case /* optional bool java_generate_equals_and_hash = 20 [deprecated = true] */ 20:
3266
3375
  message.javaGenerateEqualsAndHash = reader.bool();
3267
3376
  break;
3268
- case /* optional bool java_string_check_utf8 */ 27:
3377
+ case /* optional bool java_string_check_utf8 = 27 [default = false] */ 27:
3269
3378
  message.javaStringCheckUtf8 = reader.bool();
3270
3379
  break;
3271
- case /* optional google.protobuf.FileOptions.OptimizeMode optimize_for */ 9:
3380
+ case /* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED] */ 9:
3272
3381
  message.optimizeFor = reader.int32();
3273
3382
  break;
3274
3383
  case /* optional string go_package */ 11:
3275
3384
  message.goPackage = reader.string();
3276
3385
  break;
3277
- case /* optional bool cc_generic_services */ 16:
3386
+ case /* optional bool cc_generic_services = 16 [default = false] */ 16:
3278
3387
  message.ccGenericServices = reader.bool();
3279
3388
  break;
3280
- case /* optional bool java_generic_services */ 17:
3389
+ case /* optional bool java_generic_services = 17 [default = false] */ 17:
3281
3390
  message.javaGenericServices = reader.bool();
3282
3391
  break;
3283
- case /* optional bool py_generic_services */ 18:
3392
+ case /* optional bool py_generic_services = 18 [default = false] */ 18:
3284
3393
  message.pyGenericServices = reader.bool();
3285
3394
  break;
3286
- case /* optional bool deprecated */ 23:
3395
+ case /* optional bool deprecated = 23 [default = false] */ 23:
3287
3396
  message.deprecated = reader.bool();
3288
3397
  break;
3289
- case /* optional bool cc_enable_arenas */ 31:
3398
+ case /* optional bool cc_enable_arenas = 31 [default = true] */ 31:
3290
3399
  message.ccEnableArenas = reader.bool();
3291
3400
  break;
3292
3401
  case /* optional string objc_class_prefix */ 36:
@@ -3334,34 +3443,34 @@ class FileOptions$Type extends MessageType<FileOptions> {
3334
3443
  /* optional string java_outer_classname = 8; */
3335
3444
  if (message.javaOuterClassname !== undefined)
3336
3445
  writer.tag(8, WireType.LengthDelimited).string(message.javaOuterClassname);
3337
- /* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9; */
3446
+ /* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; */
3338
3447
  if (message.optimizeFor !== undefined)
3339
3448
  writer.tag(9, WireType.Varint).int32(message.optimizeFor);
3340
- /* optional bool java_multiple_files = 10; */
3449
+ /* optional bool java_multiple_files = 10 [default = false]; */
3341
3450
  if (message.javaMultipleFiles !== undefined)
3342
3451
  writer.tag(10, WireType.Varint).bool(message.javaMultipleFiles);
3343
3452
  /* optional string go_package = 11; */
3344
3453
  if (message.goPackage !== undefined)
3345
3454
  writer.tag(11, WireType.LengthDelimited).string(message.goPackage);
3346
- /* optional bool cc_generic_services = 16; */
3455
+ /* optional bool cc_generic_services = 16 [default = false]; */
3347
3456
  if (message.ccGenericServices !== undefined)
3348
3457
  writer.tag(16, WireType.Varint).bool(message.ccGenericServices);
3349
- /* optional bool java_generic_services = 17; */
3458
+ /* optional bool java_generic_services = 17 [default = false]; */
3350
3459
  if (message.javaGenericServices !== undefined)
3351
3460
  writer.tag(17, WireType.Varint).bool(message.javaGenericServices);
3352
- /* optional bool py_generic_services = 18; */
3461
+ /* optional bool py_generic_services = 18 [default = false]; */
3353
3462
  if (message.pyGenericServices !== undefined)
3354
3463
  writer.tag(18, WireType.Varint).bool(message.pyGenericServices);
3355
3464
  /* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
3356
3465
  if (message.javaGenerateEqualsAndHash !== undefined)
3357
3466
  writer.tag(20, WireType.Varint).bool(message.javaGenerateEqualsAndHash);
3358
- /* optional bool deprecated = 23; */
3467
+ /* optional bool deprecated = 23 [default = false]; */
3359
3468
  if (message.deprecated !== undefined)
3360
3469
  writer.tag(23, WireType.Varint).bool(message.deprecated);
3361
- /* optional bool java_string_check_utf8 = 27; */
3470
+ /* optional bool java_string_check_utf8 = 27 [default = false]; */
3362
3471
  if (message.javaStringCheckUtf8 !== undefined)
3363
3472
  writer.tag(27, WireType.Varint).bool(message.javaStringCheckUtf8);
3364
- /* optional bool cc_enable_arenas = 31; */
3473
+ /* optional bool cc_enable_arenas = 31 [default = true]; */
3365
3474
  if (message.ccEnableArenas !== undefined)
3366
3475
  writer.tag(31, WireType.Varint).bool(message.ccEnableArenas);
3367
3476
  /* optional string objc_class_prefix = 36; */
@@ -3426,19 +3535,19 @@ class MessageOptions$Type extends MessageType<MessageOptions> {
3426
3535
  while (reader.pos < end) {
3427
3536
  let [fieldNo, wireType] = reader.tag();
3428
3537
  switch (fieldNo) {
3429
- case /* optional bool message_set_wire_format */ 1:
3538
+ case /* optional bool message_set_wire_format = 1 [default = false] */ 1:
3430
3539
  message.messageSetWireFormat = reader.bool();
3431
3540
  break;
3432
- case /* optional bool no_standard_descriptor_accessor */ 2:
3541
+ case /* optional bool no_standard_descriptor_accessor = 2 [default = false] */ 2:
3433
3542
  message.noStandardDescriptorAccessor = reader.bool();
3434
3543
  break;
3435
- case /* optional bool deprecated */ 3:
3544
+ case /* optional bool deprecated = 3 [default = false] */ 3:
3436
3545
  message.deprecated = reader.bool();
3437
3546
  break;
3438
3547
  case /* optional bool map_entry */ 7:
3439
3548
  message.mapEntry = reader.bool();
3440
3549
  break;
3441
- case /* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];*/ 11:
3550
+ case /* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true] */ 11:
3442
3551
  message.deprecatedLegacyJsonFieldConflicts = reader.bool();
3443
3552
  break;
3444
3553
  case /* optional google.protobuf.FeatureSet features */ 12:
@@ -3459,13 +3568,13 @@ class MessageOptions$Type extends MessageType<MessageOptions> {
3459
3568
  return message;
3460
3569
  }
3461
3570
  internalBinaryWrite(message: MessageOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3462
- /* optional bool message_set_wire_format = 1; */
3571
+ /* optional bool message_set_wire_format = 1 [default = false]; */
3463
3572
  if (message.messageSetWireFormat !== undefined)
3464
3573
  writer.tag(1, WireType.Varint).bool(message.messageSetWireFormat);
3465
- /* optional bool no_standard_descriptor_accessor = 2; */
3574
+ /* optional bool no_standard_descriptor_accessor = 2 [default = false]; */
3466
3575
  if (message.noStandardDescriptorAccessor !== undefined)
3467
3576
  writer.tag(2, WireType.Varint).bool(message.noStandardDescriptorAccessor);
3468
- /* optional bool deprecated = 3; */
3577
+ /* optional bool deprecated = 3 [default = false]; */
3469
3578
  if (message.deprecated !== undefined)
3470
3579
  writer.tag(3, WireType.Varint).bool(message.deprecated);
3471
3580
  /* optional bool map_entry = 7; */
@@ -3524,28 +3633,28 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3524
3633
  while (reader.pos < end) {
3525
3634
  let [fieldNo, wireType] = reader.tag();
3526
3635
  switch (fieldNo) {
3527
- case /* optional google.protobuf.FieldOptions.CType ctype */ 1:
3636
+ case /* optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING] */ 1:
3528
3637
  message.ctype = reader.int32();
3529
3638
  break;
3530
3639
  case /* optional bool packed */ 2:
3531
3640
  message.packed = reader.bool();
3532
3641
  break;
3533
- case /* optional google.protobuf.FieldOptions.JSType jstype */ 6:
3642
+ case /* optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL] */ 6:
3534
3643
  message.jstype = reader.int32();
3535
3644
  break;
3536
- case /* optional bool lazy */ 5:
3645
+ case /* optional bool lazy = 5 [default = false] */ 5:
3537
3646
  message.lazy = reader.bool();
3538
3647
  break;
3539
- case /* optional bool unverified_lazy */ 15:
3648
+ case /* optional bool unverified_lazy = 15 [default = false] */ 15:
3540
3649
  message.unverifiedLazy = reader.bool();
3541
3650
  break;
3542
- case /* optional bool deprecated */ 3:
3651
+ case /* optional bool deprecated = 3 [default = false] */ 3:
3543
3652
  message.deprecated = reader.bool();
3544
3653
  break;
3545
- case /* optional bool weak */ 10:
3654
+ case /* optional bool weak = 10 [default = false] */ 10:
3546
3655
  message.weak = reader.bool();
3547
3656
  break;
3548
- case /* optional bool debug_redact */ 16:
3657
+ case /* optional bool debug_redact = 16 [default = false] */ 16:
3549
3658
  message.debugRedact = reader.bool();
3550
3659
  break;
3551
3660
  case /* optional google.protobuf.FieldOptions.OptionRetention retention */ 17:
@@ -3582,28 +3691,28 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3582
3691
  return message;
3583
3692
  }
3584
3693
  internalBinaryWrite(message: FieldOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3585
- /* optional google.protobuf.FieldOptions.CType ctype = 1; */
3694
+ /* optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; */
3586
3695
  if (message.ctype !== undefined)
3587
3696
  writer.tag(1, WireType.Varint).int32(message.ctype);
3588
3697
  /* optional bool packed = 2; */
3589
3698
  if (message.packed !== undefined)
3590
3699
  writer.tag(2, WireType.Varint).bool(message.packed);
3591
- /* optional bool deprecated = 3; */
3700
+ /* optional bool deprecated = 3 [default = false]; */
3592
3701
  if (message.deprecated !== undefined)
3593
3702
  writer.tag(3, WireType.Varint).bool(message.deprecated);
3594
- /* optional bool lazy = 5; */
3703
+ /* optional bool lazy = 5 [default = false]; */
3595
3704
  if (message.lazy !== undefined)
3596
3705
  writer.tag(5, WireType.Varint).bool(message.lazy);
3597
- /* optional google.protobuf.FieldOptions.JSType jstype = 6; */
3706
+ /* optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; */
3598
3707
  if (message.jstype !== undefined)
3599
3708
  writer.tag(6, WireType.Varint).int32(message.jstype);
3600
- /* optional bool weak = 10; */
3709
+ /* optional bool weak = 10 [default = false]; */
3601
3710
  if (message.weak !== undefined)
3602
3711
  writer.tag(10, WireType.Varint).bool(message.weak);
3603
- /* optional bool unverified_lazy = 15; */
3712
+ /* optional bool unverified_lazy = 15 [default = false]; */
3604
3713
  if (message.unverifiedLazy !== undefined)
3605
3714
  writer.tag(15, WireType.Varint).bool(message.unverifiedLazy);
3606
- /* optional bool debug_redact = 16; */
3715
+ /* optional bool debug_redact = 16 [default = false]; */
3607
3716
  if (message.debugRedact !== undefined)
3608
3717
  writer.tag(16, WireType.Varint).bool(message.debugRedact);
3609
3718
  /* optional google.protobuf.FieldOptions.OptionRetention retention = 17; */
@@ -3834,10 +3943,10 @@ class EnumOptions$Type extends MessageType<EnumOptions> {
3834
3943
  case /* optional bool allow_alias */ 2:
3835
3944
  message.allowAlias = reader.bool();
3836
3945
  break;
3837
- case /* optional bool deprecated */ 3:
3946
+ case /* optional bool deprecated = 3 [default = false] */ 3:
3838
3947
  message.deprecated = reader.bool();
3839
3948
  break;
3840
- case /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];*/ 6:
3949
+ case /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true] */ 6:
3841
3950
  message.deprecatedLegacyJsonFieldConflicts = reader.bool();
3842
3951
  break;
3843
3952
  case /* optional google.protobuf.FeatureSet features */ 7:
@@ -3861,7 +3970,7 @@ class EnumOptions$Type extends MessageType<EnumOptions> {
3861
3970
  /* optional bool allow_alias = 2; */
3862
3971
  if (message.allowAlias !== undefined)
3863
3972
  writer.tag(2, WireType.Varint).bool(message.allowAlias);
3864
- /* optional bool deprecated = 3; */
3973
+ /* optional bool deprecated = 3 [default = false]; */
3865
3974
  if (message.deprecated !== undefined)
3866
3975
  writer.tag(3, WireType.Varint).bool(message.deprecated);
3867
3976
  /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; */
@@ -3906,13 +4015,13 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
3906
4015
  while (reader.pos < end) {
3907
4016
  let [fieldNo, wireType] = reader.tag();
3908
4017
  switch (fieldNo) {
3909
- case /* optional bool deprecated */ 1:
4018
+ case /* optional bool deprecated = 1 [default = false] */ 1:
3910
4019
  message.deprecated = reader.bool();
3911
4020
  break;
3912
4021
  case /* optional google.protobuf.FeatureSet features */ 2:
3913
4022
  message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
3914
4023
  break;
3915
- case /* optional bool debug_redact */ 3:
4024
+ case /* optional bool debug_redact = 3 [default = false] */ 3:
3916
4025
  message.debugRedact = reader.bool();
3917
4026
  break;
3918
4027
  case /* optional google.protobuf.FieldOptions.FeatureSupport feature_support */ 4:
@@ -3933,13 +4042,13 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
3933
4042
  return message;
3934
4043
  }
3935
4044
  internalBinaryWrite(message: EnumValueOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3936
- /* optional bool deprecated = 1; */
4045
+ /* optional bool deprecated = 1 [default = false]; */
3937
4046
  if (message.deprecated !== undefined)
3938
4047
  writer.tag(1, WireType.Varint).bool(message.deprecated);
3939
4048
  /* optional google.protobuf.FeatureSet features = 2; */
3940
4049
  if (message.features)
3941
4050
  FeatureSet.internalBinaryWrite(message.features, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
3942
- /* optional bool debug_redact = 3; */
4051
+ /* optional bool debug_redact = 3 [default = false]; */
3943
4052
  if (message.debugRedact !== undefined)
3944
4053
  writer.tag(3, WireType.Varint).bool(message.debugRedact);
3945
4054
  /* optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; */
@@ -3982,7 +4091,7 @@ class ServiceOptions$Type extends MessageType<ServiceOptions> {
3982
4091
  case /* optional google.protobuf.FeatureSet features */ 34:
3983
4092
  message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
3984
4093
  break;
3985
- case /* optional bool deprecated */ 33:
4094
+ case /* optional bool deprecated = 33 [default = false] */ 33:
3986
4095
  message.deprecated = reader.bool();
3987
4096
  break;
3988
4097
  case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
@@ -4000,7 +4109,7 @@ class ServiceOptions$Type extends MessageType<ServiceOptions> {
4000
4109
  return message;
4001
4110
  }
4002
4111
  internalBinaryWrite(message: ServiceOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4003
- /* optional bool deprecated = 33; */
4112
+ /* optional bool deprecated = 33 [default = false]; */
4004
4113
  if (message.deprecated !== undefined)
4005
4114
  writer.tag(33, WireType.Varint).bool(message.deprecated);
4006
4115
  /* optional google.protobuf.FeatureSet features = 34; */
@@ -4041,10 +4150,10 @@ class MethodOptions$Type extends MessageType<MethodOptions> {
4041
4150
  while (reader.pos < end) {
4042
4151
  let [fieldNo, wireType] = reader.tag();
4043
4152
  switch (fieldNo) {
4044
- case /* optional bool deprecated */ 33:
4153
+ case /* optional bool deprecated = 33 [default = false] */ 33:
4045
4154
  message.deprecated = reader.bool();
4046
4155
  break;
4047
- case /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level */ 34:
4156
+ case /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN] */ 34:
4048
4157
  message.idempotencyLevel = reader.int32();
4049
4158
  break;
4050
4159
  case /* optional google.protobuf.FeatureSet features */ 35:
@@ -4065,10 +4174,10 @@ class MethodOptions$Type extends MessageType<MethodOptions> {
4065
4174
  return message;
4066
4175
  }
4067
4176
  internalBinaryWrite(message: MethodOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4068
- /* optional bool deprecated = 33; */
4177
+ /* optional bool deprecated = 33 [default = false]; */
4069
4178
  if (message.deprecated !== undefined)
4070
4179
  writer.tag(33, WireType.Varint).bool(message.deprecated);
4071
- /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34; */
4180
+ /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; */
4072
4181
  if (message.idempotencyLevel !== undefined)
4073
4182
  writer.tag(34, WireType.Varint).int32(message.idempotencyLevel);
4074
4183
  /* optional google.protobuf.FeatureSet features = 35; */
@@ -4197,10 +4306,10 @@ class UninterpretedOption_NamePart$Type extends MessageType<UninterpretedOption_
4197
4306
  while (reader.pos < end) {
4198
4307
  let [fieldNo, wireType] = reader.tag();
4199
4308
  switch (fieldNo) {
4200
- case /* string name_part */ 1:
4309
+ case /* required string name_part */ 1:
4201
4310
  message.namePart = reader.string();
4202
4311
  break;
4203
- case /* bool is_extension */ 2:
4312
+ case /* required bool is_extension */ 2:
4204
4313
  message.isExtension = reader.bool();
4205
4314
  break;
4206
4315
  default:
@@ -4215,10 +4324,10 @@ class UninterpretedOption_NamePart$Type extends MessageType<UninterpretedOption_
4215
4324
  return message;
4216
4325
  }
4217
4326
  internalBinaryWrite(message: UninterpretedOption_NamePart, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4218
- /* string name_part = 1; */
4327
+ /* required string name_part = 1; */
4219
4328
  if (message.namePart !== "")
4220
4329
  writer.tag(1, WireType.LengthDelimited).string(message.namePart);
4221
- /* bool is_extension = 2; */
4330
+ /* required bool is_extension = 2; */
4222
4331
  if (message.isExtension !== false)
4223
4332
  writer.tag(2, WireType.Varint).bool(message.isExtension);
4224
4333
  let u = options.writeUnknownFields;
@@ -4241,7 +4350,8 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4241
4350
  { no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] },
4242
4351
  { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
4243
4352
  { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] },
4244
- { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] }
4353
+ { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] },
4354
+ { no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] }
4245
4355
  ]);
4246
4356
  }
4247
4357
  create(value?: PartialMessage<FeatureSet>): FeatureSet {
@@ -4276,6 +4386,9 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4276
4386
  case /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style */ 7:
4277
4387
  message.enforceNamingStyle = reader.int32();
4278
4388
  break;
4389
+ case /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility */ 8:
4390
+ message.defaultSymbolVisibility = reader.int32();
4391
+ break;
4279
4392
  default:
4280
4393
  let u = options.readUnknownField;
4281
4394
  if (u === "throw")
@@ -4309,6 +4422,9 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4309
4422
  /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; */
4310
4423
  if (message.enforceNamingStyle !== undefined)
4311
4424
  writer.tag(7, WireType.Varint).int32(message.enforceNamingStyle);
4425
+ /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; */
4426
+ if (message.defaultSymbolVisibility !== undefined)
4427
+ writer.tag(8, WireType.Varint).int32(message.defaultSymbolVisibility);
4312
4428
  let u = options.writeUnknownFields;
4313
4429
  if (u !== false)
4314
4430
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4320,6 +4436,44 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4320
4436
  */
4321
4437
  export const FeatureSet = new FeatureSet$Type();
4322
4438
  // @generated message type with reflection information, may provide speed optimized methods
4439
+ class FeatureSet_VisibilityFeature$Type extends MessageType<FeatureSet_VisibilityFeature> {
4440
+ constructor() {
4441
+ super("google.protobuf.FeatureSet.VisibilityFeature", []);
4442
+ }
4443
+ create(value?: PartialMessage<FeatureSet_VisibilityFeature>): FeatureSet_VisibilityFeature {
4444
+ const message = globalThis.Object.create((this.messagePrototype!));
4445
+ if (value !== undefined)
4446
+ reflectionMergePartial<FeatureSet_VisibilityFeature>(this, message, value);
4447
+ return message;
4448
+ }
4449
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeature {
4450
+ let message = target ?? this.create(), end = reader.pos + length;
4451
+ while (reader.pos < end) {
4452
+ let [fieldNo, wireType] = reader.tag();
4453
+ switch (fieldNo) {
4454
+ default:
4455
+ let u = options.readUnknownField;
4456
+ if (u === "throw")
4457
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4458
+ let d = reader.skip(wireType);
4459
+ if (u !== false)
4460
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4461
+ }
4462
+ }
4463
+ return message;
4464
+ }
4465
+ internalBinaryWrite(message: FeatureSet_VisibilityFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4466
+ let u = options.writeUnknownFields;
4467
+ if (u !== false)
4468
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4469
+ return writer;
4470
+ }
4471
+ }
4472
+ /**
4473
+ * @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature
4474
+ */
4475
+ export const FeatureSet_VisibilityFeature = new FeatureSet_VisibilityFeature$Type();
4476
+ // @generated message type with reflection information, may provide speed optimized methods
4323
4477
  class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
4324
4478
  constructor() {
4325
4479
  super("google.protobuf.FeatureSetDefaults", [
@@ -4512,14 +4666,14 @@ class SourceCodeInfo_Location$Type extends MessageType<SourceCodeInfo_Location>
4512
4666
  while (reader.pos < end) {
4513
4667
  let [fieldNo, wireType] = reader.tag();
4514
4668
  switch (fieldNo) {
4515
- case /* repeated int32 path = 1 [packed = true];*/ 1:
4669
+ case /* repeated int32 path = 1 [packed = true] */ 1:
4516
4670
  if (wireType === WireType.LengthDelimited)
4517
4671
  for (let e = reader.int32() + reader.pos; reader.pos < e;)
4518
4672
  message.path.push(reader.int32());
4519
4673
  else
4520
4674
  message.path.push(reader.int32());
4521
4675
  break;
4522
- case /* repeated int32 span = 2 [packed = true];*/ 2:
4676
+ case /* repeated int32 span = 2 [packed = true] */ 2:
4523
4677
  if (wireType === WireType.LengthDelimited)
4524
4678
  for (let e = reader.int32() + reader.pos; reader.pos < e;)
4525
4679
  message.span.push(reader.int32());
@@ -4650,7 +4804,7 @@ class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_An
4650
4804
  while (reader.pos < end) {
4651
4805
  let [fieldNo, wireType] = reader.tag();
4652
4806
  switch (fieldNo) {
4653
- case /* repeated int32 path = 1 [packed = true];*/ 1:
4807
+ case /* repeated int32 path = 1 [packed = true] */ 1:
4654
4808
  if (wireType === WireType.LengthDelimited)
4655
4809
  for (let e = reader.int32() + reader.pos; reader.pos < e;)
4656
4810
  message.path.push(reader.int32());