@milaboratories/pl-client 2.7.13 → 2.7.14

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