atlas.js-protos 0.1.0

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 (195) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +85 -0
  3. package/dist/filetree/index.d.ts +2 -0
  4. package/dist/filetree/index.js +8 -0
  5. package/dist/filetree/index.mjs +3 -0
  6. package/dist/filetree/query.d.ts +1 -0
  7. package/dist/filetree/query.js +13 -0
  8. package/dist/filetree/query.mjs +2 -0
  9. package/dist/filetree/tx.d.ts +1 -0
  10. package/dist/filetree/tx.js +11 -0
  11. package/dist/filetree/tx.mjs +2 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +17 -0
  14. package/dist/index.mjs +1 -0
  15. package/dist/storage/index.d.ts +5 -0
  16. package/dist/storage/index.js +16 -0
  17. package/dist/storage/index.mjs +6 -0
  18. package/dist/storage/query.d.ts +1 -0
  19. package/dist/storage/query.js +27 -0
  20. package/dist/storage/query.mjs +2 -0
  21. package/dist/storage/tx.d.ts +1 -0
  22. package/dist/storage/tx.js +21 -0
  23. package/dist/storage/tx.mjs +2 -0
  24. package/dist/types/amino/amino.d.ts +1 -0
  25. package/dist/types/amino/amino.js +2 -0
  26. package/dist/types/amino/amino.mjs +1 -0
  27. package/dist/types/amino/bundle.d.ts +1 -0
  28. package/dist/types/amino/bundle.js +41 -0
  29. package/dist/types/amino/bundle.mjs +5 -0
  30. package/dist/types/atlas/bundle.d.ts +905 -0
  31. package/dist/types/atlas/bundle.js +98 -0
  32. package/dist/types/atlas/bundle.mjs +62 -0
  33. package/dist/types/atlas/filetree/v1/genesis.d.ts +45 -0
  34. package/dist/types/atlas/filetree/v1/genesis.js +107 -0
  35. package/dist/types/atlas/filetree/v1/genesis.mjs +71 -0
  36. package/dist/types/atlas/filetree/v1/params.d.ts +40 -0
  37. package/dist/types/atlas/filetree/v1/params.js +94 -0
  38. package/dist/types/atlas/filetree/v1/params.mjs +58 -0
  39. package/dist/types/atlas/filetree/v1/query.d.ts +330 -0
  40. package/dist/types/atlas/filetree/v1/query.js +567 -0
  41. package/dist/types/atlas/filetree/v1/query.mjs +531 -0
  42. package/dist/types/atlas/filetree/v1/query.rpc.Query.d.ts +28 -0
  43. package/dist/types/atlas/filetree/v1/query.rpc.Query.js +89 -0
  44. package/dist/types/atlas/filetree/v1/query.rpc.Query.mjs +51 -0
  45. package/dist/types/atlas/filetree/v1/query.rpc.func.d.ts +29 -0
  46. package/dist/types/atlas/filetree/v1/query.rpc.func.js +58 -0
  47. package/dist/types/atlas/filetree/v1/query.rpc.func.mjs +55 -0
  48. package/dist/types/atlas/filetree/v1/tree.d.ts +44 -0
  49. package/dist/types/atlas/filetree/v1/tree.js +124 -0
  50. package/dist/types/atlas/filetree/v1/tree.mjs +88 -0
  51. package/dist/types/atlas/filetree/v1/tx.d.ts +260 -0
  52. package/dist/types/atlas/filetree/v1/tx.js +449 -0
  53. package/dist/types/atlas/filetree/v1/tx.mjs +413 -0
  54. package/dist/types/atlas/filetree/v1/tx.rpc.func.d.ts +23 -0
  55. package/dist/types/atlas/filetree/v1/tx.rpc.func.js +34 -0
  56. package/dist/types/atlas/filetree/v1/tx.rpc.func.mjs +31 -0
  57. package/dist/types/atlas/filetree/v1/tx.rpc.msg.d.ts +22 -0
  58. package/dist/types/atlas/filetree/v1/tx.rpc.msg.js +67 -0
  59. package/dist/types/atlas/filetree/v1/tx.rpc.msg.mjs +29 -0
  60. package/dist/types/atlas/rpc.query.d.ts +49 -0
  61. package/dist/types/atlas/rpc.query.js +59 -0
  62. package/dist/types/atlas/rpc.query.mjs +22 -0
  63. package/dist/types/atlas/rpc.tx.d.ts +18 -0
  64. package/dist/types/atlas/rpc.tx.js +52 -0
  65. package/dist/types/atlas/rpc.tx.mjs +15 -0
  66. package/dist/types/atlas/storage/v1/file.d.ts +59 -0
  67. package/dist/types/atlas/storage/v1/file.js +173 -0
  68. package/dist/types/atlas/storage/v1/file.mjs +137 -0
  69. package/dist/types/atlas/storage/v1/genesis.d.ts +45 -0
  70. package/dist/types/atlas/storage/v1/genesis.js +107 -0
  71. package/dist/types/atlas/storage/v1/genesis.mjs +71 -0
  72. package/dist/types/atlas/storage/v1/params.d.ts +48 -0
  73. package/dist/types/atlas/storage/v1/params.js +127 -0
  74. package/dist/types/atlas/storage/v1/params.mjs +91 -0
  75. package/dist/types/atlas/storage/v1/proof.d.ts +145 -0
  76. package/dist/types/atlas/storage/v1/proof.js +318 -0
  77. package/dist/types/atlas/storage/v1/proof.mjs +282 -0
  78. package/dist/types/atlas/storage/v1/provider.d.ts +51 -0
  79. package/dist/types/atlas/storage/v1/provider.js +141 -0
  80. package/dist/types/atlas/storage/v1/provider.mjs +105 -0
  81. package/dist/types/atlas/storage/v1/query.d.ts +914 -0
  82. package/dist/types/atlas/storage/v1/query.js +1570 -0
  83. package/dist/types/atlas/storage/v1/query.mjs +1534 -0
  84. package/dist/types/atlas/storage/v1/query.rpc.Query.d.ts +56 -0
  85. package/dist/types/atlas/storage/v1/query.rpc.Query.js +154 -0
  86. package/dist/types/atlas/storage/v1/query.rpc.Query.mjs +116 -0
  87. package/dist/types/atlas/storage/v1/query.rpc.func.d.ts +78 -0
  88. package/dist/types/atlas/storage/v1/query.rpc.func.js +149 -0
  89. package/dist/types/atlas/storage/v1/query.rpc.func.mjs +146 -0
  90. package/dist/types/atlas/storage/v1/subscription.d.ts +55 -0
  91. package/dist/types/atlas/storage/v1/subscription.js +159 -0
  92. package/dist/types/atlas/storage/v1/subscription.mjs +123 -0
  93. package/dist/types/atlas/storage/v1/tx.d.ts +694 -0
  94. package/dist/types/atlas/storage/v1/tx.js +1203 -0
  95. package/dist/types/atlas/storage/v1/tx.mjs +1167 -0
  96. package/dist/types/atlas/storage/v1/tx.rpc.func.d.ts +56 -0
  97. package/dist/types/atlas/storage/v1/tx.rpc.func.js +77 -0
  98. package/dist/types/atlas/storage/v1/tx.rpc.func.mjs +74 -0
  99. package/dist/types/atlas/storage/v1/tx.rpc.msg.d.ts +35 -0
  100. package/dist/types/atlas/storage/v1/tx.rpc.msg.js +97 -0
  101. package/dist/types/atlas/storage/v1/tx.rpc.msg.mjs +59 -0
  102. package/dist/types/cosmos/bank/v1beta1/authz.d.ts +62 -0
  103. package/dist/types/cosmos/bank/v1beta1/authz.js +123 -0
  104. package/dist/types/cosmos/bank/v1beta1/authz.mjs +87 -0
  105. package/dist/types/cosmos/bank/v1beta1/bank.d.ts +391 -0
  106. package/dist/types/cosmos/bank/v1beta1/bank.js +626 -0
  107. package/dist/types/cosmos/bank/v1beta1/bank.mjs +590 -0
  108. package/dist/types/cosmos/bank/v1beta1/genesis.d.ts +122 -0
  109. package/dist/types/cosmos/bank/v1beta1/genesis.js +224 -0
  110. package/dist/types/cosmos/bank/v1beta1/genesis.mjs +188 -0
  111. package/dist/types/cosmos/bank/v1beta1/query.d.ts +1377 -0
  112. package/dist/types/cosmos/bank/v1beta1/query.js +2038 -0
  113. package/dist/types/cosmos/bank/v1beta1/query.mjs +2002 -0
  114. package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.d.ts +119 -0
  115. package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.js +174 -0
  116. package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.mjs +136 -0
  117. package/dist/types/cosmos/bank/v1beta1/query.rpc.func.d.ts +129 -0
  118. package/dist/types/cosmos/bank/v1beta1/query.rpc.func.js +212 -0
  119. package/dist/types/cosmos/bank/v1beta1/query.rpc.func.mjs +209 -0
  120. package/dist/types/cosmos/bank/v1beta1/tx.d.ts +398 -0
  121. package/dist/types/cosmos/bank/v1beta1/tx.js +599 -0
  122. package/dist/types/cosmos/bank/v1beta1/tx.mjs +563 -0
  123. package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.d.ts +37 -0
  124. package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.js +50 -0
  125. package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.mjs +47 -0
  126. package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +34 -0
  127. package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.js +73 -0
  128. package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.mjs +35 -0
  129. package/dist/types/cosmos/base/query/v1beta1/pagination.d.ts +163 -0
  130. package/dist/types/cosmos/base/query/v1beta1/pagination.js +219 -0
  131. package/dist/types/cosmos/base/query/v1beta1/pagination.mjs +183 -0
  132. package/dist/types/cosmos/base/v1beta1/coin.d.ts +193 -0
  133. package/dist/types/cosmos/base/v1beta1/coin.js +320 -0
  134. package/dist/types/cosmos/base/v1beta1/coin.mjs +284 -0
  135. package/dist/types/cosmos/bundle.d.ts +761 -0
  136. package/dist/types/cosmos/bundle.js +97 -0
  137. package/dist/types/cosmos/bundle.mjs +61 -0
  138. package/dist/types/cosmos/msg/v1/msg.d.ts +1 -0
  139. package/dist/types/cosmos/msg/v1/msg.js +2 -0
  140. package/dist/types/cosmos/msg/v1/msg.mjs +1 -0
  141. package/dist/types/cosmos/query/v1/query.d.ts +1 -0
  142. package/dist/types/cosmos/query/v1/query.js +2 -0
  143. package/dist/types/cosmos/query/v1/query.mjs +1 -0
  144. package/dist/types/cosmos/rpc.query.d.ts +24 -0
  145. package/dist/types/cosmos/rpc.query.js +51 -0
  146. package/dist/types/cosmos/rpc.query.mjs +14 -0
  147. package/dist/types/cosmos/rpc.tx.d.ts +10 -0
  148. package/dist/types/cosmos/rpc.tx.js +44 -0
  149. package/dist/types/cosmos/rpc.tx.mjs +7 -0
  150. package/dist/types/cosmos_proto/bundle.d.ts +31 -0
  151. package/dist/types/cosmos_proto/bundle.js +41 -0
  152. package/dist/types/cosmos_proto/bundle.mjs +5 -0
  153. package/dist/types/cosmos_proto/cosmos.d.ts +144 -0
  154. package/dist/types/cosmos_proto/cosmos.js +244 -0
  155. package/dist/types/cosmos_proto/cosmos.mjs +206 -0
  156. package/dist/types/extern.d.ts +11 -0
  157. package/dist/types/extern.js +47 -0
  158. package/dist/types/extern.mjs +41 -0
  159. package/dist/types/gogoproto/bundle.d.ts +1 -0
  160. package/dist/types/gogoproto/bundle.js +41 -0
  161. package/dist/types/gogoproto/bundle.mjs +5 -0
  162. package/dist/types/gogoproto/gogo.d.ts +1 -0
  163. package/dist/types/gogoproto/gogo.js +2 -0
  164. package/dist/types/gogoproto/gogo.mjs +1 -0
  165. package/dist/types/google/api/annotations.d.ts +1 -0
  166. package/dist/types/google/api/annotations.js +2 -0
  167. package/dist/types/google/api/annotations.mjs +1 -0
  168. package/dist/types/google/api/http.d.ts +1006 -0
  169. package/dist/types/google/api/http.js +589 -0
  170. package/dist/types/google/api/http.mjs +553 -0
  171. package/dist/types/google/bundle.d.ts +545 -0
  172. package/dist/types/google/bundle.js +52 -0
  173. package/dist/types/google/bundle.mjs +16 -0
  174. package/dist/types/google/protobuf/descriptor.d.ts +2755 -0
  175. package/dist/types/google/protobuf/descriptor.js +4612 -0
  176. package/dist/types/google/protobuf/descriptor.mjs +4535 -0
  177. package/dist/types/google/protobuf/timestamp.d.ts +319 -0
  178. package/dist/types/google/protobuf/timestamp.js +197 -0
  179. package/dist/types/google/protobuf/timestamp.mjs +161 -0
  180. package/dist/types/helper-func-types.d.ts +40 -0
  181. package/dist/types/helper-func-types.js +57 -0
  182. package/dist/types/helper-func-types.mjs +53 -0
  183. package/dist/types/helpers.d.ts +56 -0
  184. package/dist/types/helpers.js +161 -0
  185. package/dist/types/helpers.mjs +110 -0
  186. package/dist/types/index.d.ts +15 -0
  187. package/dist/types/index.js +32 -0
  188. package/dist/types/index.mjs +16 -0
  189. package/dist/types/registry.d.ts +35 -0
  190. package/dist/types/registry.js +200 -0
  191. package/dist/types/registry.mjs +163 -0
  192. package/dist/types/types.d.ts +74 -0
  193. package/dist/types/types.js +8 -0
  194. package/dist/types/types.mjs +7 -0
  195. package/package.json +97 -0
@@ -0,0 +1,2755 @@
1
+ import * as _m0 from "protobufjs/minimal";
2
+ /** The full set of known editions. */
3
+ export declare enum Edition {
4
+ /** EDITION_UNKNOWN - A placeholder for an unknown edition value. */
5
+ EDITION_UNKNOWN = 0,
6
+ /**
7
+ * EDITION_LEGACY - A placeholder edition for specifying default behaviors *before* a feature
8
+ * was first introduced. This is effectively an "infinite past".
9
+ */
10
+ EDITION_LEGACY = 900,
11
+ /**
12
+ * EDITION_PROTO2 - Legacy syntax "editions". These pre-date editions, but behave much like
13
+ * distinct editions. These can't be used to specify the edition of proto
14
+ * files, but feature definitions must supply proto2/proto3 defaults for
15
+ * backwards compatibility.
16
+ */
17
+ EDITION_PROTO2 = 998,
18
+ EDITION_PROTO3 = 999,
19
+ /**
20
+ * EDITION_2023 - Editions that have been released. The specific values are arbitrary and
21
+ * should not be depended on, but they will always be time-ordered for easy
22
+ * comparison.
23
+ */
24
+ EDITION_2023 = 1000,
25
+ EDITION_2024 = 1001,
26
+ /** EDITION_UNSTABLE - A placeholder edition for developing and testing unscheduled features. */
27
+ EDITION_UNSTABLE = 9999,
28
+ /**
29
+ * EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
30
+ * used or relied on outside of tests.
31
+ */
32
+ EDITION_1_TEST_ONLY = 1,
33
+ EDITION_2_TEST_ONLY = 2,
34
+ EDITION_99997_TEST_ONLY = 99997,
35
+ EDITION_99998_TEST_ONLY = 99998,
36
+ EDITION_99999_TEST_ONLY = 99999,
37
+ /**
38
+ * EDITION_MAX - Placeholder for specifying unbounded edition support. This should only
39
+ * ever be used by plugins that can expect to never require any changes to
40
+ * support a new edition.
41
+ */
42
+ EDITION_MAX = 2147483647,
43
+ UNRECOGNIZED = -1
44
+ }
45
+ export declare const EditionSDKType: typeof Edition;
46
+ export declare function editionFromJSON(object: any): Edition;
47
+ export declare function editionToJSON(object: Edition): string;
48
+ /** The verification state of the extension range. */
49
+ export declare enum ExtensionRangeOptions_VerificationState {
50
+ /** DECLARATION - All the extensions of the range must be declared. */
51
+ DECLARATION = 0,
52
+ UNVERIFIED = 1,
53
+ UNRECOGNIZED = -1
54
+ }
55
+ export declare const ExtensionRangeOptions_VerificationStateSDKType: typeof ExtensionRangeOptions_VerificationState;
56
+ export declare function extensionRangeOptions_VerificationStateFromJSON(object: any): ExtensionRangeOptions_VerificationState;
57
+ export declare function extensionRangeOptions_VerificationStateToJSON(object: ExtensionRangeOptions_VerificationState): string;
58
+ export declare enum FieldDescriptorProto_Type {
59
+ /**
60
+ * TYPE_DOUBLE - 0 is reserved for errors.
61
+ * Order is weird for historical reasons.
62
+ */
63
+ TYPE_DOUBLE = 1,
64
+ TYPE_FLOAT = 2,
65
+ /**
66
+ * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
67
+ * negative values are likely.
68
+ */
69
+ TYPE_INT64 = 3,
70
+ TYPE_UINT64 = 4,
71
+ /**
72
+ * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
73
+ * negative values are likely.
74
+ */
75
+ TYPE_INT32 = 5,
76
+ TYPE_FIXED64 = 6,
77
+ TYPE_FIXED32 = 7,
78
+ TYPE_BOOL = 8,
79
+ TYPE_STRING = 9,
80
+ /**
81
+ * TYPE_GROUP - Tag-delimited aggregate.
82
+ * Group type is deprecated and not supported after google.protobuf. However, Proto3
83
+ * implementations should still be able to parse the group wire format and
84
+ * treat group fields as unknown fields. In Editions, the group wire format
85
+ * can be enabled via the `message_encoding` feature.
86
+ */
87
+ TYPE_GROUP = 10,
88
+ /** TYPE_MESSAGE - Length-delimited aggregate. */
89
+ TYPE_MESSAGE = 11,
90
+ /** TYPE_BYTES - New in version 2. */
91
+ TYPE_BYTES = 12,
92
+ TYPE_UINT32 = 13,
93
+ TYPE_ENUM = 14,
94
+ TYPE_SFIXED32 = 15,
95
+ TYPE_SFIXED64 = 16,
96
+ /** TYPE_SINT32 - Uses ZigZag encoding. */
97
+ TYPE_SINT32 = 17,
98
+ /** TYPE_SINT64 - Uses ZigZag encoding. */
99
+ TYPE_SINT64 = 18,
100
+ UNRECOGNIZED = -1
101
+ }
102
+ export declare const FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type;
103
+ export declare function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type;
104
+ export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string;
105
+ export declare enum FieldDescriptorProto_Label {
106
+ /** LABEL_OPTIONAL - 0 is reserved for errors */
107
+ LABEL_OPTIONAL = 1,
108
+ LABEL_REPEATED = 3,
109
+ /**
110
+ * LABEL_REQUIRED - The required label is only allowed in google.protobuf. In proto3 and Editions
111
+ * it's explicitly prohibited. In Editions, the `field_presence` feature
112
+ * can be used to get this behavior.
113
+ */
114
+ LABEL_REQUIRED = 2,
115
+ UNRECOGNIZED = -1
116
+ }
117
+ export declare const FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label;
118
+ export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label;
119
+ export declare function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string;
120
+ /** Generated classes can be optimized for speed or code size. */
121
+ export declare enum FileOptions_OptimizeMode {
122
+ /** SPEED - Generate complete code for parsing, serialization, */
123
+ SPEED = 1,
124
+ /** CODE_SIZE - etc. */
125
+ CODE_SIZE = 2,
126
+ /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
127
+ LITE_RUNTIME = 3,
128
+ UNRECOGNIZED = -1
129
+ }
130
+ export declare const FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode;
131
+ export declare function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode;
132
+ export declare function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string;
133
+ export declare enum FieldOptions_CType {
134
+ /** STRING - Default mode. */
135
+ STRING = 0,
136
+ /**
137
+ * CORD - The option [ctype=CORD] may be applied to a non-repeated field of type
138
+ * "bytes". It indicates that in C++, the data should be stored in a Cord
139
+ * instead of a string. For very large strings, this may reduce memory
140
+ * fragmentation. It may also allow better performance when parsing from a
141
+ * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
142
+ * alias the original buffer.
143
+ */
144
+ CORD = 1,
145
+ STRING_PIECE = 2,
146
+ UNRECOGNIZED = -1
147
+ }
148
+ export declare const FieldOptions_CTypeSDKType: typeof FieldOptions_CType;
149
+ export declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType;
150
+ export declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string;
151
+ export declare enum FieldOptions_JSType {
152
+ /** JS_NORMAL - Use the default type. */
153
+ JS_NORMAL = 0,
154
+ /** JS_STRING - Use JavaScript strings. */
155
+ JS_STRING = 1,
156
+ /** JS_NUMBER - Use JavaScript numbers. */
157
+ JS_NUMBER = 2,
158
+ UNRECOGNIZED = -1
159
+ }
160
+ export declare const FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType;
161
+ export declare function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType;
162
+ export declare function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string;
163
+ /** If set to RETENTION_SOURCE, the option will be omitted from the binary. */
164
+ export declare enum FieldOptions_OptionRetention {
165
+ RETENTION_UNKNOWN = 0,
166
+ RETENTION_RUNTIME = 1,
167
+ RETENTION_SOURCE = 2,
168
+ UNRECOGNIZED = -1
169
+ }
170
+ export declare const FieldOptions_OptionRetentionSDKType: typeof FieldOptions_OptionRetention;
171
+ export declare function fieldOptions_OptionRetentionFromJSON(object: any): FieldOptions_OptionRetention;
172
+ export declare function fieldOptions_OptionRetentionToJSON(object: FieldOptions_OptionRetention): string;
173
+ /**
174
+ * This indicates the types of entities that the field may apply to when used
175
+ * as an option. If it is unset, then the field may be freely used as an
176
+ * option on any kind of entity.
177
+ */
178
+ export declare enum FieldOptions_OptionTargetType {
179
+ TARGET_TYPE_UNKNOWN = 0,
180
+ TARGET_TYPE_FILE = 1,
181
+ TARGET_TYPE_EXTENSION_RANGE = 2,
182
+ TARGET_TYPE_MESSAGE = 3,
183
+ TARGET_TYPE_FIELD = 4,
184
+ TARGET_TYPE_ONEOF = 5,
185
+ TARGET_TYPE_ENUM = 6,
186
+ TARGET_TYPE_ENUM_ENTRY = 7,
187
+ TARGET_TYPE_SERVICE = 8,
188
+ TARGET_TYPE_METHOD = 9,
189
+ UNRECOGNIZED = -1
190
+ }
191
+ export declare const FieldOptions_OptionTargetTypeSDKType: typeof FieldOptions_OptionTargetType;
192
+ export declare function fieldOptions_OptionTargetTypeFromJSON(object: any): FieldOptions_OptionTargetType;
193
+ export declare function fieldOptions_OptionTargetTypeToJSON(object: FieldOptions_OptionTargetType): string;
194
+ /**
195
+ * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
196
+ * or neither? HTTP based RPC implementation may choose GET verb for safe
197
+ * methods, and PUT verb for idempotent methods instead of the default POST.
198
+ */
199
+ export declare enum MethodOptions_IdempotencyLevel {
200
+ IDEMPOTENCY_UNKNOWN = 0,
201
+ /** NO_SIDE_EFFECTS - implies idempotent */
202
+ NO_SIDE_EFFECTS = 1,
203
+ /** IDEMPOTENT - idempotent, but may have side effects */
204
+ IDEMPOTENT = 2,
205
+ UNRECOGNIZED = -1
206
+ }
207
+ export declare const MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel;
208
+ export declare function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel;
209
+ export declare function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string;
210
+ export declare enum FeatureSet_FieldPresence {
211
+ FIELD_PRESENCE_UNKNOWN = 0,
212
+ EXPLICIT = 1,
213
+ IMPLICIT = 2,
214
+ LEGACY_REQUIRED = 3,
215
+ UNRECOGNIZED = -1
216
+ }
217
+ export declare const FeatureSet_FieldPresenceSDKType: typeof FeatureSet_FieldPresence;
218
+ export declare function featureSet_FieldPresenceFromJSON(object: any): FeatureSet_FieldPresence;
219
+ export declare function featureSet_FieldPresenceToJSON(object: FeatureSet_FieldPresence): string;
220
+ export declare enum FeatureSet_EnumType {
221
+ ENUM_TYPE_UNKNOWN = 0,
222
+ OPEN = 1,
223
+ CLOSED = 2,
224
+ UNRECOGNIZED = -1
225
+ }
226
+ export declare const FeatureSet_EnumTypeSDKType: typeof FeatureSet_EnumType;
227
+ export declare function featureSet_EnumTypeFromJSON(object: any): FeatureSet_EnumType;
228
+ export declare function featureSet_EnumTypeToJSON(object: FeatureSet_EnumType): string;
229
+ export declare enum FeatureSet_RepeatedFieldEncoding {
230
+ REPEATED_FIELD_ENCODING_UNKNOWN = 0,
231
+ PACKED = 1,
232
+ EXPANDED = 2,
233
+ UNRECOGNIZED = -1
234
+ }
235
+ export declare const FeatureSet_RepeatedFieldEncodingSDKType: typeof FeatureSet_RepeatedFieldEncoding;
236
+ export declare function featureSet_RepeatedFieldEncodingFromJSON(object: any): FeatureSet_RepeatedFieldEncoding;
237
+ export declare function featureSet_RepeatedFieldEncodingToJSON(object: FeatureSet_RepeatedFieldEncoding): string;
238
+ export declare enum FeatureSet_Utf8Validation {
239
+ UTF8_VALIDATION_UNKNOWN = 0,
240
+ VERIFY = 2,
241
+ NONE = 3,
242
+ UNRECOGNIZED = -1
243
+ }
244
+ export declare const FeatureSet_Utf8ValidationSDKType: typeof FeatureSet_Utf8Validation;
245
+ export declare function featureSet_Utf8ValidationFromJSON(object: any): FeatureSet_Utf8Validation;
246
+ export declare function featureSet_Utf8ValidationToJSON(object: FeatureSet_Utf8Validation): string;
247
+ export declare enum FeatureSet_MessageEncoding {
248
+ MESSAGE_ENCODING_UNKNOWN = 0,
249
+ LENGTH_PREFIXED = 1,
250
+ DELIMITED = 2,
251
+ UNRECOGNIZED = -1
252
+ }
253
+ export declare const FeatureSet_MessageEncodingSDKType: typeof FeatureSet_MessageEncoding;
254
+ export declare function featureSet_MessageEncodingFromJSON(object: any): FeatureSet_MessageEncoding;
255
+ export declare function featureSet_MessageEncodingToJSON(object: FeatureSet_MessageEncoding): string;
256
+ export declare enum FeatureSet_JsonFormat {
257
+ JSON_FORMAT_UNKNOWN = 0,
258
+ ALLOW = 1,
259
+ LEGACY_BEST_EFFORT = 2,
260
+ UNRECOGNIZED = -1
261
+ }
262
+ export declare const FeatureSet_JsonFormatSDKType: typeof FeatureSet_JsonFormat;
263
+ export declare function featureSet_JsonFormatFromJSON(object: any): FeatureSet_JsonFormat;
264
+ export declare function featureSet_JsonFormatToJSON(object: FeatureSet_JsonFormat): string;
265
+ export declare enum FeatureSet_EnforceNamingStyle {
266
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
267
+ STYLE2024 = 1,
268
+ STYLE_LEGACY = 2,
269
+ UNRECOGNIZED = -1
270
+ }
271
+ export declare const FeatureSet_EnforceNamingStyleSDKType: typeof FeatureSet_EnforceNamingStyle;
272
+ export declare function featureSet_EnforceNamingStyleFromJSON(object: any): FeatureSet_EnforceNamingStyle;
273
+ export declare function featureSet_EnforceNamingStyleToJSON(object: FeatureSet_EnforceNamingStyle): string;
274
+ export declare enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
275
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
276
+ /** EXPORT_ALL - Default pre-EDITION_2024, all UNSET visibility are export. */
277
+ EXPORT_ALL = 1,
278
+ /** EXPORT_TOP_LEVEL - All top-level symbols default to export, nested default to local. */
279
+ EXPORT_TOP_LEVEL = 2,
280
+ /** LOCAL_ALL - All symbols default to local. */
281
+ LOCAL_ALL = 3,
282
+ /**
283
+ * STRICT - All symbols local by default. Nested types cannot be exported.
284
+ * With special case caveat for message { enum {} reserved 1 to max; }
285
+ * This is the recommended setting for new protos.
286
+ */
287
+ STRICT = 4,
288
+ UNRECOGNIZED = -1
289
+ }
290
+ export declare const FeatureSet_VisibilityFeature_DefaultSymbolVisibilitySDKType: typeof FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
291
+ export declare function featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON(object: any): FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
292
+ export declare function featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON(object: FeatureSet_VisibilityFeature_DefaultSymbolVisibility): string;
293
+ /**
294
+ * Represents the identified object's effect on the element in the original
295
+ * .proto file.
296
+ */
297
+ export declare enum GeneratedCodeInfo_Annotation_Semantic {
298
+ /** NONE - There is no effect or the effect is indescribable. */
299
+ NONE = 0,
300
+ /** SET - The element is set or otherwise mutated. */
301
+ SET = 1,
302
+ /** ALIAS - An alias to the element is returned. */
303
+ ALIAS = 2,
304
+ UNRECOGNIZED = -1
305
+ }
306
+ export declare const GeneratedCodeInfo_Annotation_SemanticSDKType: typeof GeneratedCodeInfo_Annotation_Semantic;
307
+ export declare function generatedCodeInfo_Annotation_SemanticFromJSON(object: any): GeneratedCodeInfo_Annotation_Semantic;
308
+ export declare function generatedCodeInfo_Annotation_SemanticToJSON(object: GeneratedCodeInfo_Annotation_Semantic): string;
309
+ /**
310
+ * Describes the 'visibility' of a symbol with respect to the proto import
311
+ * system. Symbols can only be imported when the visibility rules do not prevent
312
+ * it (ex: local symbols cannot be imported). Visibility modifiers can only set
313
+ * on `message` and `enum` as they are the only types available to be referenced
314
+ * from other files.
315
+ */
316
+ export declare enum SymbolVisibility {
317
+ VISIBILITY_UNSET = 0,
318
+ VISIBILITY_LOCAL = 1,
319
+ VISIBILITY_EXPORT = 2,
320
+ UNRECOGNIZED = -1
321
+ }
322
+ export declare const SymbolVisibilitySDKType: typeof SymbolVisibility;
323
+ export declare function symbolVisibilityFromJSON(object: any): SymbolVisibility;
324
+ export declare function symbolVisibilityToJSON(object: SymbolVisibility): string;
325
+ /**
326
+ * The protocol compiler can output a FileDescriptorSet containing the .proto
327
+ * files it parses.
328
+ * @name FileDescriptorSet
329
+ * @package google.protobuf
330
+ * @see proto type: google.protobuf.FileDescriptorSet
331
+ */
332
+ export interface FileDescriptorSet {
333
+ file: FileDescriptorProto[];
334
+ }
335
+ export interface FileDescriptorSetProtoMsg {
336
+ typeUrl: "/google.protobuf.FileDescriptorSet";
337
+ value: Uint8Array;
338
+ }
339
+ /**
340
+ * The protocol compiler can output a FileDescriptorSet containing the .proto
341
+ * files it parses.
342
+ * @name FileDescriptorSetSDKType
343
+ * @package google.protobuf
344
+ * @see proto type: google.protobuf.FileDescriptorSet
345
+ */
346
+ export interface FileDescriptorSetSDKType {
347
+ file: FileDescriptorProtoSDKType[];
348
+ }
349
+ /**
350
+ * Describes a complete .proto file.
351
+ * @name FileDescriptorProto
352
+ * @package google.protobuf
353
+ * @see proto type: google.protobuf.FileDescriptorProto
354
+ */
355
+ export interface FileDescriptorProto {
356
+ /**
357
+ * file name, relative to root of source tree
358
+ */
359
+ name: string;
360
+ /**
361
+ * e.g. "foo", "foo.bar", etc.
362
+ */
363
+ package: string;
364
+ /**
365
+ * Names of files imported by this file.
366
+ */
367
+ dependency: string[];
368
+ /**
369
+ * Indexes of the public imported files in the dependency list above.
370
+ */
371
+ publicDependency: number[];
372
+ /**
373
+ * Indexes of the weak imported files in the dependency list.
374
+ * For Google-internal migration only. Do not use.
375
+ */
376
+ weakDependency: number[];
377
+ /**
378
+ * Names of files imported by this file purely for the purpose of providing
379
+ * option extensions. These are excluded from the dependency list above.
380
+ */
381
+ optionDependency: string[];
382
+ /**
383
+ * All top-level definitions in this file.
384
+ */
385
+ messageType: DescriptorProto[];
386
+ enumType: EnumDescriptorProto[];
387
+ service: ServiceDescriptorProto[];
388
+ extension: FieldDescriptorProto[];
389
+ options?: FileOptions;
390
+ /**
391
+ * This field contains optional information about the original source code.
392
+ * You may safely remove this entire field without harming runtime
393
+ * functionality of the descriptors -- the information is needed only by
394
+ * development tools.
395
+ */
396
+ sourceCodeInfo?: SourceCodeInfo;
397
+ /**
398
+ * The syntax of the proto file.
399
+ * The supported values are "proto2", "proto3", and "editions".
400
+ *
401
+ * If `edition` is present, this value must be "editions".
402
+ * WARNING: This field should only be used by protobuf plugins or special
403
+ * cases like the proto compiler. Other uses are discouraged and
404
+ * developers should rely on the protoreflect APIs for their client language.
405
+ */
406
+ syntax: string;
407
+ /**
408
+ * The edition of the proto file.
409
+ * WARNING: This field should only be used by protobuf plugins or special
410
+ * cases like the proto compiler. Other uses are discouraged and
411
+ * developers should rely on the protoreflect APIs for their client language.
412
+ */
413
+ edition: Edition;
414
+ }
415
+ export interface FileDescriptorProtoProtoMsg {
416
+ typeUrl: "/google.protobuf.FileDescriptorProto";
417
+ value: Uint8Array;
418
+ }
419
+ /**
420
+ * Describes a complete .proto file.
421
+ * @name FileDescriptorProtoSDKType
422
+ * @package google.protobuf
423
+ * @see proto type: google.protobuf.FileDescriptorProto
424
+ */
425
+ export interface FileDescriptorProtoSDKType {
426
+ name: string;
427
+ package: string;
428
+ dependency: string[];
429
+ public_dependency: number[];
430
+ weak_dependency: number[];
431
+ option_dependency: string[];
432
+ message_type: DescriptorProtoSDKType[];
433
+ enum_type: EnumDescriptorProtoSDKType[];
434
+ service: ServiceDescriptorProtoSDKType[];
435
+ extension: FieldDescriptorProtoSDKType[];
436
+ options?: FileOptionsSDKType;
437
+ source_code_info?: SourceCodeInfoSDKType;
438
+ syntax: string;
439
+ edition: Edition;
440
+ }
441
+ /**
442
+ * Describes a message type.
443
+ * @name DescriptorProto
444
+ * @package google.protobuf
445
+ * @see proto type: google.protobuf.DescriptorProto
446
+ */
447
+ export interface DescriptorProto {
448
+ name: string;
449
+ field: FieldDescriptorProto[];
450
+ extension: FieldDescriptorProto[];
451
+ nestedType: DescriptorProto[];
452
+ enumType: EnumDescriptorProto[];
453
+ extensionRange: DescriptorProto_ExtensionRange[];
454
+ oneofDecl: OneofDescriptorProto[];
455
+ options?: MessageOptions;
456
+ reservedRange: DescriptorProto_ReservedRange[];
457
+ /**
458
+ * Reserved field names, which may not be used by fields in the same message.
459
+ * A given name may only be reserved once.
460
+ */
461
+ reservedName: string[];
462
+ /**
463
+ * Support for `export` and `local` keywords on enums.
464
+ */
465
+ visibility: SymbolVisibility;
466
+ }
467
+ export interface DescriptorProtoProtoMsg {
468
+ typeUrl: "/google.protobuf.DescriptorProto";
469
+ value: Uint8Array;
470
+ }
471
+ /**
472
+ * Describes a message type.
473
+ * @name DescriptorProtoSDKType
474
+ * @package google.protobuf
475
+ * @see proto type: google.protobuf.DescriptorProto
476
+ */
477
+ export interface DescriptorProtoSDKType {
478
+ name: string;
479
+ field: FieldDescriptorProtoSDKType[];
480
+ extension: FieldDescriptorProtoSDKType[];
481
+ nested_type: DescriptorProtoSDKType[];
482
+ enum_type: EnumDescriptorProtoSDKType[];
483
+ extension_range: DescriptorProto_ExtensionRangeSDKType[];
484
+ oneof_decl: OneofDescriptorProtoSDKType[];
485
+ options?: MessageOptionsSDKType;
486
+ reserved_range: DescriptorProto_ReservedRangeSDKType[];
487
+ reserved_name: string[];
488
+ visibility: SymbolVisibility;
489
+ }
490
+ /**
491
+ * @name DescriptorProto_ExtensionRange
492
+ * @package google.protobuf
493
+ * @see proto type: google.protobuf.ExtensionRange
494
+ */
495
+ export interface DescriptorProto_ExtensionRange {
496
+ /**
497
+ * Inclusive.
498
+ */
499
+ start: number;
500
+ /**
501
+ * Exclusive.
502
+ */
503
+ end: number;
504
+ options?: ExtensionRangeOptions;
505
+ }
506
+ export interface DescriptorProto_ExtensionRangeProtoMsg {
507
+ typeUrl: "/google.protobuf.ExtensionRange";
508
+ value: Uint8Array;
509
+ }
510
+ /**
511
+ * @name DescriptorProto_ExtensionRangeSDKType
512
+ * @package google.protobuf
513
+ * @see proto type: google.protobuf.ExtensionRange
514
+ */
515
+ export interface DescriptorProto_ExtensionRangeSDKType {
516
+ start: number;
517
+ end: number;
518
+ options?: ExtensionRangeOptionsSDKType;
519
+ }
520
+ /**
521
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
522
+ * fields or extension ranges in the same message. Reserved ranges may
523
+ * not overlap.
524
+ * @name DescriptorProto_ReservedRange
525
+ * @package google.protobuf
526
+ * @see proto type: google.protobuf.ReservedRange
527
+ */
528
+ export interface DescriptorProto_ReservedRange {
529
+ /**
530
+ * Inclusive.
531
+ */
532
+ start: number;
533
+ /**
534
+ * Exclusive.
535
+ */
536
+ end: number;
537
+ }
538
+ export interface DescriptorProto_ReservedRangeProtoMsg {
539
+ typeUrl: "/google.protobuf.ReservedRange";
540
+ value: Uint8Array;
541
+ }
542
+ /**
543
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
544
+ * fields or extension ranges in the same message. Reserved ranges may
545
+ * not overlap.
546
+ * @name DescriptorProto_ReservedRangeSDKType
547
+ * @package google.protobuf
548
+ * @see proto type: google.protobuf.ReservedRange
549
+ */
550
+ export interface DescriptorProto_ReservedRangeSDKType {
551
+ start: number;
552
+ end: number;
553
+ }
554
+ /**
555
+ * @name ExtensionRangeOptions
556
+ * @package google.protobuf
557
+ * @see proto type: google.protobuf.ExtensionRangeOptions
558
+ */
559
+ export interface ExtensionRangeOptions {
560
+ /**
561
+ * The parser stores options it doesn't recognize here. See above.
562
+ */
563
+ uninterpretedOption: UninterpretedOption[];
564
+ /**
565
+ * For external users: DO NOT USE. We are in the process of open sourcing
566
+ * extension declaration and executing internal cleanups before it can be
567
+ * used externally.
568
+ */
569
+ declaration: ExtensionRangeOptions_Declaration[];
570
+ /**
571
+ * Any features defined in the specific edition.
572
+ */
573
+ features?: FeatureSet;
574
+ /**
575
+ * The verification state of the range.
576
+ * TODO: flip the default to DECLARATION once all empty ranges
577
+ * are marked as UNVERIFIED.
578
+ */
579
+ verification: ExtensionRangeOptions_VerificationState;
580
+ }
581
+ export interface ExtensionRangeOptionsProtoMsg {
582
+ typeUrl: "/google.protobuf.ExtensionRangeOptions";
583
+ value: Uint8Array;
584
+ }
585
+ /**
586
+ * @name ExtensionRangeOptionsSDKType
587
+ * @package google.protobuf
588
+ * @see proto type: google.protobuf.ExtensionRangeOptions
589
+ */
590
+ export interface ExtensionRangeOptionsSDKType {
591
+ uninterpreted_option: UninterpretedOptionSDKType[];
592
+ declaration: ExtensionRangeOptions_DeclarationSDKType[];
593
+ features?: FeatureSetSDKType;
594
+ verification: ExtensionRangeOptions_VerificationState;
595
+ }
596
+ /**
597
+ * @name ExtensionRangeOptions_Declaration
598
+ * @package google.protobuf
599
+ * @see proto type: google.protobuf.Declaration
600
+ */
601
+ export interface ExtensionRangeOptions_Declaration {
602
+ /**
603
+ * The extension number declared within the extension range.
604
+ */
605
+ number: number;
606
+ /**
607
+ * The fully-qualified name of the extension field. There must be a leading
608
+ * dot in front of the full name.
609
+ */
610
+ fullName: string;
611
+ /**
612
+ * The fully-qualified type name of the extension field. Unlike
613
+ * Metadata.type, Declaration.type must have a leading dot for messages
614
+ * and enums.
615
+ */
616
+ type: string;
617
+ /**
618
+ * If true, indicates that the number is reserved in the extension range,
619
+ * and any extension field with the number will fail to compile. Set this
620
+ * when a declared extension field is deleted.
621
+ */
622
+ reserved: boolean;
623
+ /**
624
+ * If true, indicates that the extension must be defined as repeated.
625
+ * Otherwise the extension must be defined as optional.
626
+ */
627
+ repeated: boolean;
628
+ }
629
+ export interface ExtensionRangeOptions_DeclarationProtoMsg {
630
+ typeUrl: "/google.protobuf.Declaration";
631
+ value: Uint8Array;
632
+ }
633
+ /**
634
+ * @name ExtensionRangeOptions_DeclarationSDKType
635
+ * @package google.protobuf
636
+ * @see proto type: google.protobuf.Declaration
637
+ */
638
+ export interface ExtensionRangeOptions_DeclarationSDKType {
639
+ number: number;
640
+ full_name: string;
641
+ type: string;
642
+ reserved: boolean;
643
+ repeated: boolean;
644
+ }
645
+ /**
646
+ * Describes a field within a message.
647
+ * @name FieldDescriptorProto
648
+ * @package google.protobuf
649
+ * @see proto type: google.protobuf.FieldDescriptorProto
650
+ */
651
+ export interface FieldDescriptorProto {
652
+ name: string;
653
+ number: number;
654
+ label: FieldDescriptorProto_Label;
655
+ /**
656
+ * If type_name is set, this need not be set. If both this and type_name
657
+ * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
658
+ */
659
+ type: FieldDescriptorProto_Type;
660
+ /**
661
+ * For message and enum types, this is the name of the type. If the name
662
+ * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
663
+ * rules are used to find the type (i.e. first the nested types within this
664
+ * message are searched, then within the parent, on up to the root
665
+ * namespace).
666
+ */
667
+ typeName: string;
668
+ /**
669
+ * For extensions, this is the name of the type being extended. It is
670
+ * resolved in the same manner as type_name.
671
+ */
672
+ extendee: string;
673
+ /**
674
+ * For numeric types, contains the original text representation of the value.
675
+ * For booleans, "true" or "false".
676
+ * For strings, contains the default text contents (not escaped in any way).
677
+ * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
678
+ */
679
+ defaultValue: string;
680
+ /**
681
+ * If set, gives the index of a oneof in the containing type's oneof_decl
682
+ * list. This field is a member of that oneof.
683
+ */
684
+ oneofIndex: number;
685
+ /**
686
+ * JSON name of this field. The value is set by protocol compiler. If the
687
+ * user has set a "json_name" option on this field, that option's value
688
+ * will be used. Otherwise, it's deduced from the field's name by converting
689
+ * it to camelCase.
690
+ */
691
+ jsonName: string;
692
+ options?: FieldOptions;
693
+ /**
694
+ * If true, this is a proto3 "optional". When a proto3 field is optional, it
695
+ * tracks presence regardless of field type.
696
+ *
697
+ * When proto3_optional is true, this field must belong to a oneof to signal
698
+ * to old proto3 clients that presence is tracked for this field. This oneof
699
+ * is known as a "synthetic" oneof, and this field must be its sole member
700
+ * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
701
+ * exist in the descriptor only, and do not generate any API. Synthetic oneofs
702
+ * must be ordered after all "real" oneofs.
703
+ *
704
+ * For message fields, proto3_optional doesn't create any semantic change,
705
+ * since non-repeated message fields always track presence. However it still
706
+ * indicates the semantic detail of whether the user wrote "optional" or not.
707
+ * This can be useful for round-tripping the .proto file. For consistency we
708
+ * give message fields a synthetic oneof also, even though it is not required
709
+ * to track presence. This is especially important because the parser can't
710
+ * tell if a field is a message or an enum, so it must always create a
711
+ * synthetic oneof.
712
+ *
713
+ * Proto2 optional fields do not set this flag, because they already indicate
714
+ * optional with `LABEL_OPTIONAL`.
715
+ */
716
+ proto3Optional: boolean;
717
+ }
718
+ export interface FieldDescriptorProtoProtoMsg {
719
+ typeUrl: "/google.protobuf.FieldDescriptorProto";
720
+ value: Uint8Array;
721
+ }
722
+ /**
723
+ * Describes a field within a message.
724
+ * @name FieldDescriptorProtoSDKType
725
+ * @package google.protobuf
726
+ * @see proto type: google.protobuf.FieldDescriptorProto
727
+ */
728
+ export interface FieldDescriptorProtoSDKType {
729
+ name: string;
730
+ number: number;
731
+ label: FieldDescriptorProto_Label;
732
+ type: FieldDescriptorProto_Type;
733
+ type_name: string;
734
+ extendee: string;
735
+ default_value: string;
736
+ oneof_index: number;
737
+ json_name: string;
738
+ options?: FieldOptionsSDKType;
739
+ proto3_optional: boolean;
740
+ }
741
+ /**
742
+ * Describes a oneof.
743
+ * @name OneofDescriptorProto
744
+ * @package google.protobuf
745
+ * @see proto type: google.protobuf.OneofDescriptorProto
746
+ */
747
+ export interface OneofDescriptorProto {
748
+ name: string;
749
+ options?: OneofOptions;
750
+ }
751
+ export interface OneofDescriptorProtoProtoMsg {
752
+ typeUrl: "/google.protobuf.OneofDescriptorProto";
753
+ value: Uint8Array;
754
+ }
755
+ /**
756
+ * Describes a oneof.
757
+ * @name OneofDescriptorProtoSDKType
758
+ * @package google.protobuf
759
+ * @see proto type: google.protobuf.OneofDescriptorProto
760
+ */
761
+ export interface OneofDescriptorProtoSDKType {
762
+ name: string;
763
+ options?: OneofOptionsSDKType;
764
+ }
765
+ /**
766
+ * Describes an enum type.
767
+ * @name EnumDescriptorProto
768
+ * @package google.protobuf
769
+ * @see proto type: google.protobuf.EnumDescriptorProto
770
+ */
771
+ export interface EnumDescriptorProto {
772
+ name: string;
773
+ value: EnumValueDescriptorProto[];
774
+ options?: EnumOptions;
775
+ /**
776
+ * Range of reserved numeric values. Reserved numeric values may not be used
777
+ * by enum values in the same enum declaration. Reserved ranges may not
778
+ * overlap.
779
+ */
780
+ reservedRange: EnumDescriptorProto_EnumReservedRange[];
781
+ /**
782
+ * Reserved enum value names, which may not be reused. A given name may only
783
+ * be reserved once.
784
+ */
785
+ reservedName: string[];
786
+ /**
787
+ * Support for `export` and `local` keywords on enums.
788
+ */
789
+ visibility: SymbolVisibility;
790
+ }
791
+ export interface EnumDescriptorProtoProtoMsg {
792
+ typeUrl: "/google.protobuf.EnumDescriptorProto";
793
+ value: Uint8Array;
794
+ }
795
+ /**
796
+ * Describes an enum type.
797
+ * @name EnumDescriptorProtoSDKType
798
+ * @package google.protobuf
799
+ * @see proto type: google.protobuf.EnumDescriptorProto
800
+ */
801
+ export interface EnumDescriptorProtoSDKType {
802
+ name: string;
803
+ value: EnumValueDescriptorProtoSDKType[];
804
+ options?: EnumOptionsSDKType;
805
+ reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[];
806
+ reserved_name: string[];
807
+ visibility: SymbolVisibility;
808
+ }
809
+ /**
810
+ * Range of reserved numeric values. Reserved values may not be used by
811
+ * entries in the same enum. Reserved ranges may not overlap.
812
+ *
813
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
814
+ * is inclusive such that it can appropriately represent the entire int32
815
+ * domain.
816
+ * @name EnumDescriptorProto_EnumReservedRange
817
+ * @package google.protobuf
818
+ * @see proto type: google.protobuf.EnumReservedRange
819
+ */
820
+ export interface EnumDescriptorProto_EnumReservedRange {
821
+ /**
822
+ * Inclusive.
823
+ */
824
+ start: number;
825
+ /**
826
+ * Inclusive.
827
+ */
828
+ end: number;
829
+ }
830
+ export interface EnumDescriptorProto_EnumReservedRangeProtoMsg {
831
+ typeUrl: "/google.protobuf.EnumReservedRange";
832
+ value: Uint8Array;
833
+ }
834
+ /**
835
+ * Range of reserved numeric values. Reserved values may not be used by
836
+ * entries in the same enum. Reserved ranges may not overlap.
837
+ *
838
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
839
+ * is inclusive such that it can appropriately represent the entire int32
840
+ * domain.
841
+ * @name EnumDescriptorProto_EnumReservedRangeSDKType
842
+ * @package google.protobuf
843
+ * @see proto type: google.protobuf.EnumReservedRange
844
+ */
845
+ export interface EnumDescriptorProto_EnumReservedRangeSDKType {
846
+ start: number;
847
+ end: number;
848
+ }
849
+ /**
850
+ * Describes a value within an enum.
851
+ * @name EnumValueDescriptorProto
852
+ * @package google.protobuf
853
+ * @see proto type: google.protobuf.EnumValueDescriptorProto
854
+ */
855
+ export interface EnumValueDescriptorProto {
856
+ name: string;
857
+ number: number;
858
+ options?: EnumValueOptions;
859
+ }
860
+ export interface EnumValueDescriptorProtoProtoMsg {
861
+ typeUrl: "/google.protobuf.EnumValueDescriptorProto";
862
+ value: Uint8Array;
863
+ }
864
+ /**
865
+ * Describes a value within an enum.
866
+ * @name EnumValueDescriptorProtoSDKType
867
+ * @package google.protobuf
868
+ * @see proto type: google.protobuf.EnumValueDescriptorProto
869
+ */
870
+ export interface EnumValueDescriptorProtoSDKType {
871
+ name: string;
872
+ number: number;
873
+ options?: EnumValueOptionsSDKType;
874
+ }
875
+ /**
876
+ * Describes a service.
877
+ * @name ServiceDescriptorProto
878
+ * @package google.protobuf
879
+ * @see proto type: google.protobuf.ServiceDescriptorProto
880
+ */
881
+ export interface ServiceDescriptorProto {
882
+ name: string;
883
+ method: MethodDescriptorProto[];
884
+ options?: ServiceOptions;
885
+ }
886
+ export interface ServiceDescriptorProtoProtoMsg {
887
+ typeUrl: "/google.protobuf.ServiceDescriptorProto";
888
+ value: Uint8Array;
889
+ }
890
+ /**
891
+ * Describes a service.
892
+ * @name ServiceDescriptorProtoSDKType
893
+ * @package google.protobuf
894
+ * @see proto type: google.protobuf.ServiceDescriptorProto
895
+ */
896
+ export interface ServiceDescriptorProtoSDKType {
897
+ name: string;
898
+ method: MethodDescriptorProtoSDKType[];
899
+ options?: ServiceOptionsSDKType;
900
+ }
901
+ /**
902
+ * Describes a method of a service.
903
+ * @name MethodDescriptorProto
904
+ * @package google.protobuf
905
+ * @see proto type: google.protobuf.MethodDescriptorProto
906
+ */
907
+ export interface MethodDescriptorProto {
908
+ name: string;
909
+ /**
910
+ * Input and output type names. These are resolved in the same way as
911
+ * FieldDescriptorProto.type_name, but must refer to a message type.
912
+ */
913
+ inputType: string;
914
+ outputType: string;
915
+ options?: MethodOptions;
916
+ /**
917
+ * Identifies if client streams multiple client messages
918
+ */
919
+ clientStreaming: boolean;
920
+ /**
921
+ * Identifies if server streams multiple server messages
922
+ */
923
+ serverStreaming: boolean;
924
+ }
925
+ export interface MethodDescriptorProtoProtoMsg {
926
+ typeUrl: "/google.protobuf.MethodDescriptorProto";
927
+ value: Uint8Array;
928
+ }
929
+ /**
930
+ * Describes a method of a service.
931
+ * @name MethodDescriptorProtoSDKType
932
+ * @package google.protobuf
933
+ * @see proto type: google.protobuf.MethodDescriptorProto
934
+ */
935
+ export interface MethodDescriptorProtoSDKType {
936
+ name: string;
937
+ input_type: string;
938
+ output_type: string;
939
+ options?: MethodOptionsSDKType;
940
+ client_streaming: boolean;
941
+ server_streaming: boolean;
942
+ }
943
+ /**
944
+ * @name FileOptions
945
+ * @package google.protobuf
946
+ * @see proto type: google.protobuf.FileOptions
947
+ */
948
+ export interface FileOptions {
949
+ /**
950
+ * Sets the Java package where classes generated from this .proto will be
951
+ * placed. By default, the proto package is used, but this is often
952
+ * inappropriate because proto packages do not normally start with backwards
953
+ * domain names.
954
+ */
955
+ javaPackage: string;
956
+ /**
957
+ * Controls the name of the wrapper Java class generated for the .proto file.
958
+ * That class will always contain the .proto file's getDescriptor() method as
959
+ * well as any top-level extensions defined in the .proto file.
960
+ * If java_multiple_files is disabled, then all the other classes from the
961
+ * .proto file will be nested inside the single wrapper outer class.
962
+ */
963
+ javaOuterClassname: string;
964
+ /**
965
+ * If enabled, then the Java code generator will generate a separate .java
966
+ * file for each top-level message, enum, and service defined in the .proto
967
+ * file. Thus, these types will *not* be nested inside the wrapper class
968
+ * named by java_outer_classname. However, the wrapper class will still be
969
+ * generated to contain the file's getDescriptor() method as well as any
970
+ * top-level extensions defined in the file.
971
+ */
972
+ javaMultipleFiles: boolean;
973
+ /**
974
+ * This option does nothing.
975
+ * @deprecated
976
+ */
977
+ javaGenerateEqualsAndHash: boolean;
978
+ /**
979
+ * A proto2 file can set this to true to opt in to UTF-8 checking for Java,
980
+ * which will throw an exception if invalid UTF-8 is parsed from the wire or
981
+ * assigned to a string field.
982
+ *
983
+ * TODO: clarify exactly what kinds of field types this option
984
+ * applies to, and update these docs accordingly.
985
+ *
986
+ * Proto3 files already perform these checks. Setting the option explicitly to
987
+ * false has no effect: it cannot be used to opt proto3 files out of UTF-8
988
+ * checks.
989
+ */
990
+ javaStringCheckUtf8: boolean;
991
+ optimizeFor: FileOptions_OptimizeMode;
992
+ /**
993
+ * Sets the Go package where structs generated from this .proto will be
994
+ * placed. If omitted, the Go package will be derived from the following:
995
+ * - The basename of the package import path, if provided.
996
+ * - Otherwise, the package statement in the .proto file, if present.
997
+ * - Otherwise, the basename of the .proto file, without extension.
998
+ */
999
+ goPackage: string;
1000
+ /**
1001
+ * Should generic services be generated in each language? "Generic" services
1002
+ * are not specific to any particular RPC system. They are generated by the
1003
+ * main code generators in each language (without additional plugins).
1004
+ * Generic services were the only kind of service generation supported by
1005
+ * early versions of google.protobuf.
1006
+ *
1007
+ * Generic services are now considered deprecated in favor of using plugins
1008
+ * that generate code specific to your particular RPC system. Therefore,
1009
+ * these default to false. Old code which depends on generic services should
1010
+ * explicitly set them to true.
1011
+ */
1012
+ ccGenericServices: boolean;
1013
+ javaGenericServices: boolean;
1014
+ pyGenericServices: boolean;
1015
+ /**
1016
+ * Is this file deprecated?
1017
+ * Depending on the target platform, this can emit Deprecated annotations
1018
+ * for everything in the file, or it will be completely ignored; in the very
1019
+ * least, this is a formalization for deprecating files.
1020
+ */
1021
+ deprecated: boolean;
1022
+ /**
1023
+ * Enables the use of arenas for the proto messages in this file. This applies
1024
+ * only to generated classes for C++.
1025
+ */
1026
+ ccEnableArenas: boolean;
1027
+ /**
1028
+ * Sets the objective c class prefix which is prepended to all objective c
1029
+ * generated classes from this .proto. There is no default.
1030
+ */
1031
+ objcClassPrefix: string;
1032
+ /**
1033
+ * Namespace for generated classes; defaults to the package.
1034
+ */
1035
+ csharpNamespace: string;
1036
+ /**
1037
+ * By default Swift generators will take the proto package and CamelCase it
1038
+ * replacing '.' with underscore and use that to prefix the types/symbols
1039
+ * defined. When this options is provided, they will use this value instead
1040
+ * to prefix the types/symbols defined.
1041
+ */
1042
+ swiftPrefix: string;
1043
+ /**
1044
+ * Sets the php class prefix which is prepended to all php generated classes
1045
+ * from this .proto. Default is empty.
1046
+ */
1047
+ phpClassPrefix: string;
1048
+ /**
1049
+ * Use this option to change the namespace of php generated classes. Default
1050
+ * is empty. When this option is empty, the package name will be used for
1051
+ * determining the namespace.
1052
+ */
1053
+ phpNamespace: string;
1054
+ /**
1055
+ * Use this option to change the namespace of php generated metadata classes.
1056
+ * Default is empty. When this option is empty, the proto file name will be
1057
+ * used for determining the namespace.
1058
+ */
1059
+ phpMetadataNamespace: string;
1060
+ /**
1061
+ * Use this option to change the package of ruby generated classes. Default
1062
+ * is empty. When this option is not set, the package name will be used for
1063
+ * determining the ruby package.
1064
+ */
1065
+ rubyPackage: string;
1066
+ /**
1067
+ * Any features defined in the specific edition.
1068
+ * WARNING: This field should only be used by protobuf plugins or special
1069
+ * cases like the proto compiler. Other uses are discouraged and
1070
+ * developers should rely on the protoreflect APIs for their client language.
1071
+ */
1072
+ features?: FeatureSet;
1073
+ /**
1074
+ * The parser stores options it doesn't recognize here.
1075
+ * See the documentation for the "Options" section above.
1076
+ */
1077
+ uninterpretedOption: UninterpretedOption[];
1078
+ }
1079
+ export interface FileOptionsProtoMsg {
1080
+ typeUrl: "/google.protobuf.FileOptions";
1081
+ value: Uint8Array;
1082
+ }
1083
+ /**
1084
+ * @name FileOptionsSDKType
1085
+ * @package google.protobuf
1086
+ * @see proto type: google.protobuf.FileOptions
1087
+ */
1088
+ export interface FileOptionsSDKType {
1089
+ java_package: string;
1090
+ java_outer_classname: string;
1091
+ java_multiple_files: boolean;
1092
+ /**
1093
+ * @deprecated
1094
+ */
1095
+ java_generate_equals_and_hash: boolean;
1096
+ java_string_check_utf8: boolean;
1097
+ optimize_for: FileOptions_OptimizeMode;
1098
+ go_package: string;
1099
+ cc_generic_services: boolean;
1100
+ java_generic_services: boolean;
1101
+ py_generic_services: boolean;
1102
+ deprecated: boolean;
1103
+ cc_enable_arenas: boolean;
1104
+ objc_class_prefix: string;
1105
+ csharp_namespace: string;
1106
+ swift_prefix: string;
1107
+ php_class_prefix: string;
1108
+ php_namespace: string;
1109
+ php_metadata_namespace: string;
1110
+ ruby_package: string;
1111
+ features?: FeatureSetSDKType;
1112
+ uninterpreted_option: UninterpretedOptionSDKType[];
1113
+ }
1114
+ /**
1115
+ * @name MessageOptions
1116
+ * @package google.protobuf
1117
+ * @see proto type: google.protobuf.MessageOptions
1118
+ */
1119
+ export interface MessageOptions {
1120
+ /**
1121
+ * Set true to use the old proto1 MessageSet wire format for extensions.
1122
+ * This is provided for backwards-compatibility with the MessageSet wire
1123
+ * format. You should not use this for any other reason: It's less
1124
+ * efficient, has fewer features, and is more complicated.
1125
+ *
1126
+ * The message must be defined exactly as follows:
1127
+ * message Foo {
1128
+ * option message_set_wire_format = true;
1129
+ * extensions 4 to max;
1130
+ * }
1131
+ * Note that the message cannot have any defined fields; MessageSets only
1132
+ * have extensions.
1133
+ *
1134
+ * All extensions of your type must be singular messages; e.g. they cannot
1135
+ * be int32s, enums, or repeated messages.
1136
+ *
1137
+ * Because this is an option, the above two restrictions are not enforced by
1138
+ * the protocol compiler.
1139
+ */
1140
+ messageSetWireFormat: boolean;
1141
+ /**
1142
+ * Disables the generation of the standard "descriptor()" accessor, which can
1143
+ * conflict with a field of the same name. This is meant to make migration
1144
+ * from proto1 easier; new code should avoid fields named "descriptor".
1145
+ */
1146
+ noStandardDescriptorAccessor: boolean;
1147
+ /**
1148
+ * Is this message deprecated?
1149
+ * Depending on the target platform, this can emit Deprecated annotations
1150
+ * for the message, or it will be completely ignored; in the very least,
1151
+ * this is a formalization for deprecating messages.
1152
+ */
1153
+ deprecated: boolean;
1154
+ /**
1155
+ * Whether the message is an automatically generated map entry type for the
1156
+ * maps field.
1157
+ *
1158
+ * For maps fields:
1159
+ * map<KeyType, ValueType> map_field = 1;
1160
+ * The parsed descriptor looks like:
1161
+ * message MapFieldEntry {
1162
+ * option map_entry = true;
1163
+ * optional KeyType key = 1;
1164
+ * optional ValueType value = 2;
1165
+ * }
1166
+ * repeated MapFieldEntry map_field = 1;
1167
+ *
1168
+ * Implementations may choose not to generate the map_entry=true message, but
1169
+ * use a native map in the target language to hold the keys and values.
1170
+ * The reflection APIs in such implementations still need to work as
1171
+ * if the field is a repeated message field.
1172
+ *
1173
+ * NOTE: Do not set the option in .proto files. Always use the maps syntax
1174
+ * instead. The option should only be implicitly set by the proto compiler
1175
+ * parser.
1176
+ */
1177
+ mapEntry: boolean;
1178
+ /**
1179
+ * Enable the legacy handling of JSON field name conflicts. This lowercases
1180
+ * and strips underscored from the fields before comparison in proto3 only.
1181
+ * The new behavior takes `json_name` into account and applies to proto2 as
1182
+ * well.
1183
+ *
1184
+ * This should only be used as a temporary measure against broken builds due
1185
+ * to the change in behavior for JSON field name conflicts.
1186
+ *
1187
+ * TODO This is legacy behavior we plan to remove once downstream
1188
+ * teams have had time to migrate.
1189
+ * @deprecated
1190
+ */
1191
+ deprecatedLegacyJsonFieldConflicts: boolean;
1192
+ /**
1193
+ * Any features defined in the specific edition.
1194
+ * WARNING: This field should only be used by protobuf plugins or special
1195
+ * cases like the proto compiler. Other uses are discouraged and
1196
+ * developers should rely on the protoreflect APIs for their client language.
1197
+ */
1198
+ features?: FeatureSet;
1199
+ /**
1200
+ * The parser stores options it doesn't recognize here. See above.
1201
+ */
1202
+ uninterpretedOption: UninterpretedOption[];
1203
+ }
1204
+ export interface MessageOptionsProtoMsg {
1205
+ typeUrl: "/google.protobuf.MessageOptions";
1206
+ value: Uint8Array;
1207
+ }
1208
+ /**
1209
+ * @name MessageOptionsSDKType
1210
+ * @package google.protobuf
1211
+ * @see proto type: google.protobuf.MessageOptions
1212
+ */
1213
+ export interface MessageOptionsSDKType {
1214
+ message_set_wire_format: boolean;
1215
+ no_standard_descriptor_accessor: boolean;
1216
+ deprecated: boolean;
1217
+ map_entry: boolean;
1218
+ /**
1219
+ * @deprecated
1220
+ */
1221
+ deprecated_legacy_json_field_conflicts: boolean;
1222
+ features?: FeatureSetSDKType;
1223
+ uninterpreted_option: UninterpretedOptionSDKType[];
1224
+ }
1225
+ /**
1226
+ * @name FieldOptions
1227
+ * @package google.protobuf
1228
+ * @see proto type: google.protobuf.FieldOptions
1229
+ */
1230
+ export interface FieldOptions {
1231
+ /**
1232
+ * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
1233
+ * The ctype option instructs the C++ code generator to use a different
1234
+ * representation of the field than it normally would. See the specific
1235
+ * options below. This option is only implemented to support use of
1236
+ * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
1237
+ * type "bytes" in the open source release.
1238
+ * TODO: make ctype actually deprecated.
1239
+ */
1240
+ ctype: FieldOptions_CType;
1241
+ /**
1242
+ * The packed option can be enabled for repeated primitive fields to enable
1243
+ * a more efficient representation on the wire. Rather than repeatedly
1244
+ * writing the tag and type for each element, the entire array is encoded as
1245
+ * a single length-delimited blob. In proto3, only explicit setting it to
1246
+ * false will avoid using packed encoding. This option is prohibited in
1247
+ * Editions, but the `repeated_field_encoding` feature can be used to control
1248
+ * the behavior.
1249
+ */
1250
+ packed: boolean;
1251
+ /**
1252
+ * The jstype option determines the JavaScript type used for values of the
1253
+ * field. The option is permitted only for 64 bit integral and fixed types
1254
+ * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
1255
+ * is represented as JavaScript string, which avoids loss of precision that
1256
+ * can happen when a large value is converted to a floating point JavaScript.
1257
+ * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
1258
+ * use the JavaScript "number" type. The behavior of the default option
1259
+ * JS_NORMAL is implementation dependent.
1260
+ *
1261
+ * This option is an enum to permit additional types to be added, e.g.
1262
+ * goog.math.Integer.
1263
+ */
1264
+ jstype: FieldOptions_JSType;
1265
+ /**
1266
+ * Should this field be parsed lazily? Lazy applies only to message-type
1267
+ * fields. It means that when the outer message is initially parsed, the
1268
+ * inner message's contents will not be parsed but instead stored in encoded
1269
+ * form. The inner message will actually be parsed when it is first accessed.
1270
+ *
1271
+ * This is only a hint. Implementations are free to choose whether to use
1272
+ * eager or lazy parsing regardless of the value of this option. However,
1273
+ * setting this option true suggests that the protocol author believes that
1274
+ * using lazy parsing on this field is worth the additional bookkeeping
1275
+ * overhead typically needed to implement it.
1276
+ *
1277
+ * This option does not affect the public interface of any generated code;
1278
+ * all method signatures remain the same. Furthermore, thread-safety of the
1279
+ * interface is not affected by this option; const methods remain safe to
1280
+ * call from multiple threads concurrently, while non-const methods continue
1281
+ * to require exclusive access.
1282
+ *
1283
+ * Note that lazy message fields are still eagerly verified to check
1284
+ * ill-formed wireformat or missing required fields. Calling IsInitialized()
1285
+ * on the outer message would fail if the inner message has missing required
1286
+ * fields. Failed verification would result in parsing failure (except when
1287
+ * uninitialized messages are acceptable).
1288
+ */
1289
+ lazy: boolean;
1290
+ /**
1291
+ * unverified_lazy does no correctness checks on the byte stream. This should
1292
+ * only be used where lazy with verification is prohibitive for performance
1293
+ * reasons.
1294
+ */
1295
+ unverifiedLazy: boolean;
1296
+ /**
1297
+ * Is this field deprecated?
1298
+ * Depending on the target platform, this can emit Deprecated annotations
1299
+ * for accessors, or it will be completely ignored; in the very least, this
1300
+ * is a formalization for deprecating fields.
1301
+ */
1302
+ deprecated: boolean;
1303
+ /**
1304
+ * DEPRECATED. DO NOT USE!
1305
+ * For Google-internal migration only. Do not use.
1306
+ * @deprecated
1307
+ */
1308
+ weak: boolean;
1309
+ /**
1310
+ * Indicate that the field value should not be printed out when using debug
1311
+ * formats, e.g. when the field contains sensitive credentials.
1312
+ */
1313
+ debugRedact: boolean;
1314
+ retention: FieldOptions_OptionRetention;
1315
+ targets: FieldOptions_OptionTargetType[];
1316
+ editionDefaults: FieldOptions_EditionDefault[];
1317
+ /**
1318
+ * Any features defined in the specific edition.
1319
+ * WARNING: This field should only be used by protobuf plugins or special
1320
+ * cases like the proto compiler. Other uses are discouraged and
1321
+ * developers should rely on the protoreflect APIs for their client language.
1322
+ */
1323
+ features?: FeatureSet;
1324
+ featureSupport?: FieldOptions_FeatureSupport;
1325
+ /**
1326
+ * The parser stores options it doesn't recognize here. See above.
1327
+ */
1328
+ uninterpretedOption: UninterpretedOption[];
1329
+ }
1330
+ export interface FieldOptionsProtoMsg {
1331
+ typeUrl: "/google.protobuf.FieldOptions";
1332
+ value: Uint8Array;
1333
+ }
1334
+ /**
1335
+ * @name FieldOptionsSDKType
1336
+ * @package google.protobuf
1337
+ * @see proto type: google.protobuf.FieldOptions
1338
+ */
1339
+ export interface FieldOptionsSDKType {
1340
+ ctype: FieldOptions_CType;
1341
+ packed: boolean;
1342
+ jstype: FieldOptions_JSType;
1343
+ lazy: boolean;
1344
+ unverified_lazy: boolean;
1345
+ deprecated: boolean;
1346
+ /**
1347
+ * @deprecated
1348
+ */
1349
+ weak: boolean;
1350
+ debug_redact: boolean;
1351
+ retention: FieldOptions_OptionRetention;
1352
+ targets: FieldOptions_OptionTargetType[];
1353
+ edition_defaults: FieldOptions_EditionDefaultSDKType[];
1354
+ features?: FeatureSetSDKType;
1355
+ feature_support?: FieldOptions_FeatureSupportSDKType;
1356
+ uninterpreted_option: UninterpretedOptionSDKType[];
1357
+ }
1358
+ /**
1359
+ * @name FieldOptions_EditionDefault
1360
+ * @package google.protobuf
1361
+ * @see proto type: google.protobuf.EditionDefault
1362
+ */
1363
+ export interface FieldOptions_EditionDefault {
1364
+ edition: Edition;
1365
+ /**
1366
+ * Textproto value.
1367
+ */
1368
+ value: string;
1369
+ }
1370
+ export interface FieldOptions_EditionDefaultProtoMsg {
1371
+ typeUrl: "/google.protobuf.EditionDefault";
1372
+ value: Uint8Array;
1373
+ }
1374
+ /**
1375
+ * @name FieldOptions_EditionDefaultSDKType
1376
+ * @package google.protobuf
1377
+ * @see proto type: google.protobuf.EditionDefault
1378
+ */
1379
+ export interface FieldOptions_EditionDefaultSDKType {
1380
+ edition: Edition;
1381
+ value: string;
1382
+ }
1383
+ /**
1384
+ * Information about the support window of a feature.
1385
+ * @name FieldOptions_FeatureSupport
1386
+ * @package google.protobuf
1387
+ * @see proto type: google.protobuf.FeatureSupport
1388
+ */
1389
+ export interface FieldOptions_FeatureSupport {
1390
+ /**
1391
+ * The edition that this feature was first available in. In editions
1392
+ * earlier than this one, the default assigned to EDITION_LEGACY will be
1393
+ * used, and proto files will not be able to override it.
1394
+ */
1395
+ editionIntroduced: Edition;
1396
+ /**
1397
+ * The edition this feature becomes deprecated in. Using this after this
1398
+ * edition may trigger warnings.
1399
+ */
1400
+ editionDeprecated: Edition;
1401
+ /**
1402
+ * The deprecation warning text if this feature is used after the edition it
1403
+ * was marked deprecated in.
1404
+ */
1405
+ deprecationWarning: string;
1406
+ /**
1407
+ * The edition this feature is no longer available in. In editions after
1408
+ * this one, the last default assigned will be used, and proto files will
1409
+ * not be able to override it.
1410
+ */
1411
+ editionRemoved: Edition;
1412
+ /**
1413
+ * The removal error text if this feature is used after the edition it was
1414
+ * removed in.
1415
+ */
1416
+ removalError: string;
1417
+ }
1418
+ export interface FieldOptions_FeatureSupportProtoMsg {
1419
+ typeUrl: "/google.protobuf.FeatureSupport";
1420
+ value: Uint8Array;
1421
+ }
1422
+ /**
1423
+ * Information about the support window of a feature.
1424
+ * @name FieldOptions_FeatureSupportSDKType
1425
+ * @package google.protobuf
1426
+ * @see proto type: google.protobuf.FeatureSupport
1427
+ */
1428
+ export interface FieldOptions_FeatureSupportSDKType {
1429
+ edition_introduced: Edition;
1430
+ edition_deprecated: Edition;
1431
+ deprecation_warning: string;
1432
+ edition_removed: Edition;
1433
+ removal_error: string;
1434
+ }
1435
+ /**
1436
+ * @name OneofOptions
1437
+ * @package google.protobuf
1438
+ * @see proto type: google.protobuf.OneofOptions
1439
+ */
1440
+ export interface OneofOptions {
1441
+ /**
1442
+ * Any features defined in the specific edition.
1443
+ * WARNING: This field should only be used by protobuf plugins or special
1444
+ * cases like the proto compiler. Other uses are discouraged and
1445
+ * developers should rely on the protoreflect APIs for their client language.
1446
+ */
1447
+ features?: FeatureSet;
1448
+ /**
1449
+ * The parser stores options it doesn't recognize here. See above.
1450
+ */
1451
+ uninterpretedOption: UninterpretedOption[];
1452
+ }
1453
+ export interface OneofOptionsProtoMsg {
1454
+ typeUrl: "/google.protobuf.OneofOptions";
1455
+ value: Uint8Array;
1456
+ }
1457
+ /**
1458
+ * @name OneofOptionsSDKType
1459
+ * @package google.protobuf
1460
+ * @see proto type: google.protobuf.OneofOptions
1461
+ */
1462
+ export interface OneofOptionsSDKType {
1463
+ features?: FeatureSetSDKType;
1464
+ uninterpreted_option: UninterpretedOptionSDKType[];
1465
+ }
1466
+ /**
1467
+ * @name EnumOptions
1468
+ * @package google.protobuf
1469
+ * @see proto type: google.protobuf.EnumOptions
1470
+ */
1471
+ export interface EnumOptions {
1472
+ /**
1473
+ * Set this option to true to allow mapping different tag names to the same
1474
+ * value.
1475
+ */
1476
+ allowAlias: boolean;
1477
+ /**
1478
+ * Is this enum deprecated?
1479
+ * Depending on the target platform, this can emit Deprecated annotations
1480
+ * for the enum, or it will be completely ignored; in the very least, this
1481
+ * is a formalization for deprecating enums.
1482
+ */
1483
+ deprecated: boolean;
1484
+ /**
1485
+ * Enable the legacy handling of JSON field name conflicts. This lowercases
1486
+ * and strips underscored from the fields before comparison in proto3 only.
1487
+ * The new behavior takes `json_name` into account and applies to proto2 as
1488
+ * well.
1489
+ * TODO Remove this legacy behavior once downstream teams have
1490
+ * had time to migrate.
1491
+ * @deprecated
1492
+ */
1493
+ deprecatedLegacyJsonFieldConflicts: boolean;
1494
+ /**
1495
+ * Any features defined in the specific edition.
1496
+ * WARNING: This field should only be used by protobuf plugins or special
1497
+ * cases like the proto compiler. Other uses are discouraged and
1498
+ * developers should rely on the protoreflect APIs for their client language.
1499
+ */
1500
+ features?: FeatureSet;
1501
+ /**
1502
+ * The parser stores options it doesn't recognize here. See above.
1503
+ */
1504
+ uninterpretedOption: UninterpretedOption[];
1505
+ }
1506
+ export interface EnumOptionsProtoMsg {
1507
+ typeUrl: "/google.protobuf.EnumOptions";
1508
+ value: Uint8Array;
1509
+ }
1510
+ /**
1511
+ * @name EnumOptionsSDKType
1512
+ * @package google.protobuf
1513
+ * @see proto type: google.protobuf.EnumOptions
1514
+ */
1515
+ export interface EnumOptionsSDKType {
1516
+ allow_alias: boolean;
1517
+ deprecated: boolean;
1518
+ /**
1519
+ * @deprecated
1520
+ */
1521
+ deprecated_legacy_json_field_conflicts: boolean;
1522
+ features?: FeatureSetSDKType;
1523
+ uninterpreted_option: UninterpretedOptionSDKType[];
1524
+ }
1525
+ /**
1526
+ * @name EnumValueOptions
1527
+ * @package google.protobuf
1528
+ * @see proto type: google.protobuf.EnumValueOptions
1529
+ */
1530
+ export interface EnumValueOptions {
1531
+ /**
1532
+ * Is this enum value deprecated?
1533
+ * Depending on the target platform, this can emit Deprecated annotations
1534
+ * for the enum value, or it will be completely ignored; in the very least,
1535
+ * this is a formalization for deprecating enum values.
1536
+ */
1537
+ deprecated: boolean;
1538
+ /**
1539
+ * Any features defined in the specific edition.
1540
+ * WARNING: This field should only be used by protobuf plugins or special
1541
+ * cases like the proto compiler. Other uses are discouraged and
1542
+ * developers should rely on the protoreflect APIs for their client language.
1543
+ */
1544
+ features?: FeatureSet;
1545
+ /**
1546
+ * Indicate that fields annotated with this enum value should not be printed
1547
+ * out when using debug formats, e.g. when the field contains sensitive
1548
+ * credentials.
1549
+ */
1550
+ debugRedact: boolean;
1551
+ /**
1552
+ * Information about the support window of a feature value.
1553
+ */
1554
+ featureSupport?: FieldOptions_FeatureSupport;
1555
+ /**
1556
+ * The parser stores options it doesn't recognize here. See above.
1557
+ */
1558
+ uninterpretedOption: UninterpretedOption[];
1559
+ }
1560
+ export interface EnumValueOptionsProtoMsg {
1561
+ typeUrl: "/google.protobuf.EnumValueOptions";
1562
+ value: Uint8Array;
1563
+ }
1564
+ /**
1565
+ * @name EnumValueOptionsSDKType
1566
+ * @package google.protobuf
1567
+ * @see proto type: google.protobuf.EnumValueOptions
1568
+ */
1569
+ export interface EnumValueOptionsSDKType {
1570
+ deprecated: boolean;
1571
+ features?: FeatureSetSDKType;
1572
+ debug_redact: boolean;
1573
+ feature_support?: FieldOptions_FeatureSupportSDKType;
1574
+ uninterpreted_option: UninterpretedOptionSDKType[];
1575
+ }
1576
+ /**
1577
+ * @name ServiceOptions
1578
+ * @package google.protobuf
1579
+ * @see proto type: google.protobuf.ServiceOptions
1580
+ */
1581
+ export interface ServiceOptions {
1582
+ /**
1583
+ * Any features defined in the specific edition.
1584
+ * WARNING: This field should only be used by protobuf plugins or special
1585
+ * cases like the proto compiler. Other uses are discouraged and
1586
+ * developers should rely on the protoreflect APIs for their client language.
1587
+ */
1588
+ features?: FeatureSet;
1589
+ /**
1590
+ * Is this service deprecated?
1591
+ * Depending on the target platform, this can emit Deprecated annotations
1592
+ * for the service, or it will be completely ignored; in the very least,
1593
+ * this is a formalization for deprecating services.
1594
+ */
1595
+ deprecated: boolean;
1596
+ /**
1597
+ * The parser stores options it doesn't recognize here. See above.
1598
+ */
1599
+ uninterpretedOption: UninterpretedOption[];
1600
+ }
1601
+ export interface ServiceOptionsProtoMsg {
1602
+ typeUrl: "/google.protobuf.ServiceOptions";
1603
+ value: Uint8Array;
1604
+ }
1605
+ /**
1606
+ * @name ServiceOptionsSDKType
1607
+ * @package google.protobuf
1608
+ * @see proto type: google.protobuf.ServiceOptions
1609
+ */
1610
+ export interface ServiceOptionsSDKType {
1611
+ features?: FeatureSetSDKType;
1612
+ deprecated: boolean;
1613
+ uninterpreted_option: UninterpretedOptionSDKType[];
1614
+ }
1615
+ /**
1616
+ * @name MethodOptions
1617
+ * @package google.protobuf
1618
+ * @see proto type: google.protobuf.MethodOptions
1619
+ */
1620
+ export interface MethodOptions {
1621
+ /**
1622
+ * Is this method deprecated?
1623
+ * Depending on the target platform, this can emit Deprecated annotations
1624
+ * for the method, or it will be completely ignored; in the very least,
1625
+ * this is a formalization for deprecating methods.
1626
+ */
1627
+ deprecated: boolean;
1628
+ idempotencyLevel: MethodOptions_IdempotencyLevel;
1629
+ /**
1630
+ * Any features defined in the specific edition.
1631
+ * WARNING: This field should only be used by protobuf plugins or special
1632
+ * cases like the proto compiler. Other uses are discouraged and
1633
+ * developers should rely on the protoreflect APIs for their client language.
1634
+ */
1635
+ features?: FeatureSet;
1636
+ /**
1637
+ * The parser stores options it doesn't recognize here. See above.
1638
+ */
1639
+ uninterpretedOption: UninterpretedOption[];
1640
+ }
1641
+ export interface MethodOptionsProtoMsg {
1642
+ typeUrl: "/google.protobuf.MethodOptions";
1643
+ value: Uint8Array;
1644
+ }
1645
+ /**
1646
+ * @name MethodOptionsSDKType
1647
+ * @package google.protobuf
1648
+ * @see proto type: google.protobuf.MethodOptions
1649
+ */
1650
+ export interface MethodOptionsSDKType {
1651
+ deprecated: boolean;
1652
+ idempotency_level: MethodOptions_IdempotencyLevel;
1653
+ features?: FeatureSetSDKType;
1654
+ uninterpreted_option: UninterpretedOptionSDKType[];
1655
+ }
1656
+ /**
1657
+ * A message representing a option the parser does not recognize. This only
1658
+ * appears in options protos created by the compiler::Parser class.
1659
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
1660
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
1661
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
1662
+ * in them.
1663
+ * @name UninterpretedOption
1664
+ * @package google.protobuf
1665
+ * @see proto type: google.protobuf.UninterpretedOption
1666
+ */
1667
+ export interface UninterpretedOption {
1668
+ name: UninterpretedOption_NamePart[];
1669
+ /**
1670
+ * The value of the uninterpreted option, in whatever type the tokenizer
1671
+ * identified it as during parsing. Exactly one of these should be set.
1672
+ */
1673
+ identifierValue: string;
1674
+ positiveIntValue: number;
1675
+ negativeIntValue: number;
1676
+ doubleValue: number;
1677
+ stringValue: Uint8Array;
1678
+ aggregateValue: string;
1679
+ }
1680
+ export interface UninterpretedOptionProtoMsg {
1681
+ typeUrl: "/google.protobuf.UninterpretedOption";
1682
+ value: Uint8Array;
1683
+ }
1684
+ /**
1685
+ * A message representing a option the parser does not recognize. This only
1686
+ * appears in options protos created by the compiler::Parser class.
1687
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
1688
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
1689
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
1690
+ * in them.
1691
+ * @name UninterpretedOptionSDKType
1692
+ * @package google.protobuf
1693
+ * @see proto type: google.protobuf.UninterpretedOption
1694
+ */
1695
+ export interface UninterpretedOptionSDKType {
1696
+ name: UninterpretedOption_NamePartSDKType[];
1697
+ identifier_value: string;
1698
+ positive_int_value: number;
1699
+ negative_int_value: number;
1700
+ double_value: number;
1701
+ string_value: Uint8Array;
1702
+ aggregate_value: string;
1703
+ }
1704
+ /**
1705
+ * The name of the uninterpreted option. Each string represents a segment in
1706
+ * a dot-separated name. is_extension is true iff a segment represents an
1707
+ * extension (denoted with parentheses in options specs in .proto files).
1708
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
1709
+ * "foo.(bar.baz).moo".
1710
+ * @name UninterpretedOption_NamePart
1711
+ * @package google.protobuf
1712
+ * @see proto type: google.protobuf.NamePart
1713
+ */
1714
+ export interface UninterpretedOption_NamePart {
1715
+ namePart: string;
1716
+ isExtension: boolean;
1717
+ }
1718
+ export interface UninterpretedOption_NamePartProtoMsg {
1719
+ typeUrl: "/google.protobuf.NamePart";
1720
+ value: Uint8Array;
1721
+ }
1722
+ /**
1723
+ * The name of the uninterpreted option. Each string represents a segment in
1724
+ * a dot-separated name. is_extension is true iff a segment represents an
1725
+ * extension (denoted with parentheses in options specs in .proto files).
1726
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
1727
+ * "foo.(bar.baz).moo".
1728
+ * @name UninterpretedOption_NamePartSDKType
1729
+ * @package google.protobuf
1730
+ * @see proto type: google.protobuf.NamePart
1731
+ */
1732
+ export interface UninterpretedOption_NamePartSDKType {
1733
+ name_part: string;
1734
+ is_extension: boolean;
1735
+ }
1736
+ /**
1737
+ * TODO Enums in C++ gencode (and potentially other languages) are
1738
+ * not well scoped. This means that each of the feature enums below can clash
1739
+ * with each other. The short names we've chosen maximize call-site
1740
+ * readability, but leave us very open to this scenario. A future feature will
1741
+ * be designed and implemented to handle this, hopefully before we ever hit a
1742
+ * conflict here.
1743
+ * @name FeatureSet
1744
+ * @package google.protobuf
1745
+ * @see proto type: google.protobuf.FeatureSet
1746
+ */
1747
+ export interface FeatureSet {
1748
+ fieldPresence: FeatureSet_FieldPresence;
1749
+ enumType: FeatureSet_EnumType;
1750
+ repeatedFieldEncoding: FeatureSet_RepeatedFieldEncoding;
1751
+ utf8Validation: FeatureSet_Utf8Validation;
1752
+ messageEncoding: FeatureSet_MessageEncoding;
1753
+ jsonFormat: FeatureSet_JsonFormat;
1754
+ enforceNamingStyle: FeatureSet_EnforceNamingStyle;
1755
+ }
1756
+ export interface FeatureSetProtoMsg {
1757
+ typeUrl: "/google.protobuf.FeatureSet";
1758
+ value: Uint8Array;
1759
+ }
1760
+ /**
1761
+ * TODO Enums in C++ gencode (and potentially other languages) are
1762
+ * not well scoped. This means that each of the feature enums below can clash
1763
+ * with each other. The short names we've chosen maximize call-site
1764
+ * readability, but leave us very open to this scenario. A future feature will
1765
+ * be designed and implemented to handle this, hopefully before we ever hit a
1766
+ * conflict here.
1767
+ * @name FeatureSetSDKType
1768
+ * @package google.protobuf
1769
+ * @see proto type: google.protobuf.FeatureSet
1770
+ */
1771
+ export interface FeatureSetSDKType {
1772
+ field_presence: FeatureSet_FieldPresence;
1773
+ enum_type: FeatureSet_EnumType;
1774
+ repeated_field_encoding: FeatureSet_RepeatedFieldEncoding;
1775
+ utf8_validation: FeatureSet_Utf8Validation;
1776
+ message_encoding: FeatureSet_MessageEncoding;
1777
+ json_format: FeatureSet_JsonFormat;
1778
+ enforce_naming_style: FeatureSet_EnforceNamingStyle;
1779
+ }
1780
+ /**
1781
+ * @name FeatureSet_VisibilityFeature
1782
+ * @package google.protobuf
1783
+ * @see proto type: google.protobuf.VisibilityFeature
1784
+ */
1785
+ export interface FeatureSet_VisibilityFeature {
1786
+ }
1787
+ export interface FeatureSet_VisibilityFeatureProtoMsg {
1788
+ typeUrl: "/google.protobuf.VisibilityFeature";
1789
+ value: Uint8Array;
1790
+ }
1791
+ /**
1792
+ * @name FeatureSet_VisibilityFeatureSDKType
1793
+ * @package google.protobuf
1794
+ * @see proto type: google.protobuf.VisibilityFeature
1795
+ */
1796
+ export interface FeatureSet_VisibilityFeatureSDKType {
1797
+ }
1798
+ /**
1799
+ * A compiled specification for the defaults of a set of features. These
1800
+ * messages are generated from FeatureSet extensions and can be used to seed
1801
+ * feature resolution. The resolution with this object becomes a simple search
1802
+ * for the closest matching edition, followed by proto merges.
1803
+ * @name FeatureSetDefaults
1804
+ * @package google.protobuf
1805
+ * @see proto type: google.protobuf.FeatureSetDefaults
1806
+ */
1807
+ export interface FeatureSetDefaults {
1808
+ defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
1809
+ /**
1810
+ * The minimum supported edition (inclusive) when this was constructed.
1811
+ * Editions before this will not have defaults.
1812
+ */
1813
+ minimumEdition: Edition;
1814
+ /**
1815
+ * The maximum known edition (inclusive) when this was constructed. Editions
1816
+ * after this will not have reliable defaults.
1817
+ */
1818
+ maximumEdition: Edition;
1819
+ }
1820
+ export interface FeatureSetDefaultsProtoMsg {
1821
+ typeUrl: "/google.protobuf.FeatureSetDefaults";
1822
+ value: Uint8Array;
1823
+ }
1824
+ /**
1825
+ * A compiled specification for the defaults of a set of features. These
1826
+ * messages are generated from FeatureSet extensions and can be used to seed
1827
+ * feature resolution. The resolution with this object becomes a simple search
1828
+ * for the closest matching edition, followed by proto merges.
1829
+ * @name FeatureSetDefaultsSDKType
1830
+ * @package google.protobuf
1831
+ * @see proto type: google.protobuf.FeatureSetDefaults
1832
+ */
1833
+ export interface FeatureSetDefaultsSDKType {
1834
+ defaults: FeatureSetDefaults_FeatureSetEditionDefaultSDKType[];
1835
+ minimum_edition: Edition;
1836
+ maximum_edition: Edition;
1837
+ }
1838
+ /**
1839
+ * A map from every known edition with a unique set of defaults to its
1840
+ * defaults. Not all editions may be contained here. For a given edition,
1841
+ * the defaults at the closest matching edition ordered at or before it should
1842
+ * be used. This field must be in strict ascending order by edition.
1843
+ * @name FeatureSetDefaults_FeatureSetEditionDefault
1844
+ * @package google.protobuf
1845
+ * @see proto type: google.protobuf.FeatureSetEditionDefault
1846
+ */
1847
+ export interface FeatureSetDefaults_FeatureSetEditionDefault {
1848
+ edition: Edition;
1849
+ /**
1850
+ * Defaults of features that can be overridden in this edition.
1851
+ */
1852
+ overridableFeatures?: FeatureSet;
1853
+ /**
1854
+ * Defaults of features that can't be overridden in this edition.
1855
+ */
1856
+ fixedFeatures?: FeatureSet;
1857
+ }
1858
+ export interface FeatureSetDefaults_FeatureSetEditionDefaultProtoMsg {
1859
+ typeUrl: "/google.protobuf.FeatureSetEditionDefault";
1860
+ value: Uint8Array;
1861
+ }
1862
+ /**
1863
+ * A map from every known edition with a unique set of defaults to its
1864
+ * defaults. Not all editions may be contained here. For a given edition,
1865
+ * the defaults at the closest matching edition ordered at or before it should
1866
+ * be used. This field must be in strict ascending order by edition.
1867
+ * @name FeatureSetDefaults_FeatureSetEditionDefaultSDKType
1868
+ * @package google.protobuf
1869
+ * @see proto type: google.protobuf.FeatureSetEditionDefault
1870
+ */
1871
+ export interface FeatureSetDefaults_FeatureSetEditionDefaultSDKType {
1872
+ edition: Edition;
1873
+ overridable_features?: FeatureSetSDKType;
1874
+ fixed_features?: FeatureSetSDKType;
1875
+ }
1876
+ /**
1877
+ * Encapsulates information about the original source file from which a
1878
+ * FileDescriptorProto was generated.
1879
+ * @name SourceCodeInfo
1880
+ * @package google.protobuf
1881
+ * @see proto type: google.protobuf.SourceCodeInfo
1882
+ */
1883
+ export interface SourceCodeInfo {
1884
+ /**
1885
+ * A Location identifies a piece of source code in a .proto file which
1886
+ * corresponds to a particular definition. This information is intended
1887
+ * to be useful to IDEs, code indexers, documentation generators, and similar
1888
+ * tools.
1889
+ *
1890
+ * For example, say we have a file like:
1891
+ * message Foo {
1892
+ * optional string foo = 1;
1893
+ * }
1894
+ * Let's look at just the field definition:
1895
+ * optional string foo = 1;
1896
+ * ^ ^^ ^^ ^ ^^^
1897
+ * a bc de f ghi
1898
+ * We have the following locations:
1899
+ * span path represents
1900
+ * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
1901
+ * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
1902
+ * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
1903
+ * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
1904
+ * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
1905
+ *
1906
+ * Notes:
1907
+ * - A location may refer to a repeated field itself (i.e. not to any
1908
+ * particular index within it). This is used whenever a set of elements are
1909
+ * logically enclosed in a single code segment. For example, an entire
1910
+ * extend block (possibly containing multiple extension definitions) will
1911
+ * have an outer location whose path refers to the "extensions" repeated
1912
+ * field without an index.
1913
+ * - Multiple locations may have the same path. This happens when a single
1914
+ * logical declaration is spread out across multiple places. The most
1915
+ * obvious example is the "extend" block again -- there may be multiple
1916
+ * extend blocks in the same scope, each of which will have the same path.
1917
+ * - A location's span is not always a subset of its parent's span. For
1918
+ * example, the "extendee" of an extension declaration appears at the
1919
+ * beginning of the "extend" block and is shared by all extensions within
1920
+ * the block.
1921
+ * - Just because a location's span is a subset of some other location's span
1922
+ * does not mean that it is a descendant. For example, a "group" defines
1923
+ * both a type and a field in a single declaration. Thus, the locations
1924
+ * corresponding to the type and field and their components will overlap.
1925
+ * - Code which tries to interpret locations should probably be designed to
1926
+ * ignore those that it doesn't understand, as more types of locations could
1927
+ * be recorded in the future.
1928
+ */
1929
+ location: SourceCodeInfo_Location[];
1930
+ }
1931
+ export interface SourceCodeInfoProtoMsg {
1932
+ typeUrl: "/google.protobuf.SourceCodeInfo";
1933
+ value: Uint8Array;
1934
+ }
1935
+ /**
1936
+ * Encapsulates information about the original source file from which a
1937
+ * FileDescriptorProto was generated.
1938
+ * @name SourceCodeInfoSDKType
1939
+ * @package google.protobuf
1940
+ * @see proto type: google.protobuf.SourceCodeInfo
1941
+ */
1942
+ export interface SourceCodeInfoSDKType {
1943
+ location: SourceCodeInfo_LocationSDKType[];
1944
+ }
1945
+ /**
1946
+ * @name SourceCodeInfo_Location
1947
+ * @package google.protobuf
1948
+ * @see proto type: google.protobuf.Location
1949
+ */
1950
+ export interface SourceCodeInfo_Location {
1951
+ /**
1952
+ * Identifies which part of the FileDescriptorProto was defined at this
1953
+ * location.
1954
+ *
1955
+ * Each element is a field number or an index. They form a path from
1956
+ * the root FileDescriptorProto to the place where the definition appears.
1957
+ * For example, this path:
1958
+ * [ 4, 3, 2, 7, 1 ]
1959
+ * refers to:
1960
+ * file.message_type(3) // 4, 3
1961
+ * .field(7) // 2, 7
1962
+ * .name() // 1
1963
+ * This is because FileDescriptorProto.message_type has field number 4:
1964
+ * repeated DescriptorProto message_type = 4;
1965
+ * and DescriptorProto.field has field number 2:
1966
+ * repeated FieldDescriptorProto field = 2;
1967
+ * and FieldDescriptorProto.name has field number 1:
1968
+ * optional string name = 1;
1969
+ *
1970
+ * Thus, the above path gives the location of a field name. If we removed
1971
+ * the last element:
1972
+ * [ 4, 3, 2, 7 ]
1973
+ * this path refers to the whole field declaration (from the beginning
1974
+ * of the label to the terminating semicolon).
1975
+ */
1976
+ path: number[];
1977
+ /**
1978
+ * Always has exactly three or four elements: start line, start column,
1979
+ * end line (optional, otherwise assumed same as start line), end column.
1980
+ * These are packed into a single field for efficiency. Note that line
1981
+ * and column numbers are zero-based -- typically you will want to add
1982
+ * 1 to each before displaying to a user.
1983
+ */
1984
+ span: number[];
1985
+ /**
1986
+ * If this SourceCodeInfo represents a complete declaration, these are any
1987
+ * comments appearing before and after the declaration which appear to be
1988
+ * attached to the declaration.
1989
+ *
1990
+ * A series of line comments appearing on consecutive lines, with no other
1991
+ * tokens appearing on those lines, will be treated as a single comment.
1992
+ *
1993
+ * leading_detached_comments will keep paragraphs of comments that appear
1994
+ * before (but not connected to) the current element. Each paragraph,
1995
+ * separated by empty lines, will be one comment element in the repeated
1996
+ * field.
1997
+ *
1998
+ * Only the comment content is provided; comment markers (e.g. //) are
1999
+ * stripped out. For block comments, leading whitespace and an asterisk
2000
+ * will be stripped from the beginning of each line other than the first.
2001
+ * Newlines are included in the output.
2002
+ *
2003
+ * Examples:
2004
+ *
2005
+ * optional int32 foo = 1; // Comment attached to foo.
2006
+ * // Comment attached to bar.
2007
+ * optional int32 bar = 2;
2008
+ *
2009
+ * optional string baz = 3;
2010
+ * // Comment attached to baz.
2011
+ * // Another line attached to baz.
2012
+ *
2013
+ * // Comment attached to moo.
2014
+ * //
2015
+ * // Another line attached to moo.
2016
+ * optional double moo = 4;
2017
+ *
2018
+ * // Detached comment for corge. This is not leading or trailing comments
2019
+ * // to moo or corge because there are blank lines separating it from
2020
+ * // both.
2021
+ *
2022
+ * // Detached comment for corge paragraph 2.
2023
+ *
2024
+ * optional string corge = 5;
2025
+ * /* Block comment attached
2026
+ * * to corge. Leading asterisks
2027
+ * * will be removed. *\/
2028
+ * /* Block comment attached to
2029
+ * * grault. *\/
2030
+ * optional int32 grault = 6;
2031
+ *
2032
+ * // ignored detached comments.
2033
+ */
2034
+ leadingComments: string;
2035
+ trailingComments: string;
2036
+ leadingDetachedComments: string[];
2037
+ }
2038
+ export interface SourceCodeInfo_LocationProtoMsg {
2039
+ typeUrl: "/google.protobuf.Location";
2040
+ value: Uint8Array;
2041
+ }
2042
+ /**
2043
+ * @name SourceCodeInfo_LocationSDKType
2044
+ * @package google.protobuf
2045
+ * @see proto type: google.protobuf.Location
2046
+ */
2047
+ export interface SourceCodeInfo_LocationSDKType {
2048
+ path: number[];
2049
+ span: number[];
2050
+ leading_comments: string;
2051
+ trailing_comments: string;
2052
+ leading_detached_comments: string[];
2053
+ }
2054
+ /**
2055
+ * Describes the relationship between generated code and its original source
2056
+ * file. A GeneratedCodeInfo message is associated with only one generated
2057
+ * source file, but may contain references to different source .proto files.
2058
+ * @name GeneratedCodeInfo
2059
+ * @package google.protobuf
2060
+ * @see proto type: google.protobuf.GeneratedCodeInfo
2061
+ */
2062
+ export interface GeneratedCodeInfo {
2063
+ /**
2064
+ * An Annotation connects some span of text in generated code to an element
2065
+ * of its generating .proto file.
2066
+ */
2067
+ annotation: GeneratedCodeInfo_Annotation[];
2068
+ }
2069
+ export interface GeneratedCodeInfoProtoMsg {
2070
+ typeUrl: "/google.protobuf.GeneratedCodeInfo";
2071
+ value: Uint8Array;
2072
+ }
2073
+ /**
2074
+ * Describes the relationship between generated code and its original source
2075
+ * file. A GeneratedCodeInfo message is associated with only one generated
2076
+ * source file, but may contain references to different source .proto files.
2077
+ * @name GeneratedCodeInfoSDKType
2078
+ * @package google.protobuf
2079
+ * @see proto type: google.protobuf.GeneratedCodeInfo
2080
+ */
2081
+ export interface GeneratedCodeInfoSDKType {
2082
+ annotation: GeneratedCodeInfo_AnnotationSDKType[];
2083
+ }
2084
+ /**
2085
+ * @name GeneratedCodeInfo_Annotation
2086
+ * @package google.protobuf
2087
+ * @see proto type: google.protobuf.Annotation
2088
+ */
2089
+ export interface GeneratedCodeInfo_Annotation {
2090
+ /**
2091
+ * Identifies the element in the original source .proto file. This field
2092
+ * is formatted the same as SourceCodeInfo.Location.path.
2093
+ */
2094
+ path: number[];
2095
+ /**
2096
+ * Identifies the filesystem path to the original source .proto.
2097
+ */
2098
+ sourceFile: string;
2099
+ /**
2100
+ * Identifies the starting offset in bytes in the generated code
2101
+ * that relates to the identified object.
2102
+ */
2103
+ begin: number;
2104
+ /**
2105
+ * Identifies the ending offset in bytes in the generated code that
2106
+ * relates to the identified object. The end offset should be one past
2107
+ * the last relevant byte (so the length of the text = end - begin).
2108
+ */
2109
+ end: number;
2110
+ semantic: GeneratedCodeInfo_Annotation_Semantic;
2111
+ }
2112
+ export interface GeneratedCodeInfo_AnnotationProtoMsg {
2113
+ typeUrl: "/google.protobuf.Annotation";
2114
+ value: Uint8Array;
2115
+ }
2116
+ /**
2117
+ * @name GeneratedCodeInfo_AnnotationSDKType
2118
+ * @package google.protobuf
2119
+ * @see proto type: google.protobuf.Annotation
2120
+ */
2121
+ export interface GeneratedCodeInfo_AnnotationSDKType {
2122
+ path: number[];
2123
+ source_file: string;
2124
+ begin: number;
2125
+ end: number;
2126
+ semantic: GeneratedCodeInfo_Annotation_Semantic;
2127
+ }
2128
+ /**
2129
+ * The protocol compiler can output a FileDescriptorSet containing the .proto
2130
+ * files it parses.
2131
+ * @name FileDescriptorSet
2132
+ * @package google.protobuf
2133
+ * @see proto type: google.protobuf.FileDescriptorSet
2134
+ */
2135
+ export declare const FileDescriptorSet: {
2136
+ typeUrl: string;
2137
+ is(o: any): o is FileDescriptorSet;
2138
+ isSDK(o: any): o is FileDescriptorSetSDKType;
2139
+ encode(message: FileDescriptorSet, writer?: _m0.Writer): _m0.Writer;
2140
+ decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet;
2141
+ fromPartial(object: Partial<FileDescriptorSet>): FileDescriptorSet;
2142
+ fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet;
2143
+ toProto(message: FileDescriptorSet): Uint8Array;
2144
+ toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg;
2145
+ registerTypeUrl(): void;
2146
+ };
2147
+ /**
2148
+ * Describes a complete .proto file.
2149
+ * @name FileDescriptorProto
2150
+ * @package google.protobuf
2151
+ * @see proto type: google.protobuf.FileDescriptorProto
2152
+ */
2153
+ export declare const FileDescriptorProto: {
2154
+ typeUrl: string;
2155
+ is(o: any): o is FileDescriptorProto;
2156
+ isSDK(o: any): o is FileDescriptorProtoSDKType;
2157
+ encode(message: FileDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2158
+ decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto;
2159
+ fromPartial(object: Partial<FileDescriptorProto>): FileDescriptorProto;
2160
+ fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto;
2161
+ toProto(message: FileDescriptorProto): Uint8Array;
2162
+ toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg;
2163
+ registerTypeUrl(): void;
2164
+ };
2165
+ /**
2166
+ * Describes a message type.
2167
+ * @name DescriptorProto
2168
+ * @package google.protobuf
2169
+ * @see proto type: google.protobuf.DescriptorProto
2170
+ */
2171
+ export declare const DescriptorProto: {
2172
+ typeUrl: string;
2173
+ is(o: any): o is DescriptorProto;
2174
+ isSDK(o: any): o is DescriptorProtoSDKType;
2175
+ encode(message: DescriptorProto, writer?: _m0.Writer): _m0.Writer;
2176
+ decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto;
2177
+ fromPartial(object: Partial<DescriptorProto>): DescriptorProto;
2178
+ fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto;
2179
+ toProto(message: DescriptorProto): Uint8Array;
2180
+ toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg;
2181
+ registerTypeUrl(): void;
2182
+ };
2183
+ /**
2184
+ * @name DescriptorProto_ExtensionRange
2185
+ * @package google.protobuf
2186
+ * @see proto type: google.protobuf.ExtensionRange
2187
+ */
2188
+ export declare const DescriptorProto_ExtensionRange: {
2189
+ typeUrl: string;
2190
+ is(o: any): o is DescriptorProto_ExtensionRange;
2191
+ isSDK(o: any): o is DescriptorProto_ExtensionRangeSDKType;
2192
+ encode(message: DescriptorProto_ExtensionRange, writer?: _m0.Writer): _m0.Writer;
2193
+ decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange;
2194
+ fromPartial(object: Partial<DescriptorProto_ExtensionRange>): DescriptorProto_ExtensionRange;
2195
+ fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange;
2196
+ toProto(message: DescriptorProto_ExtensionRange): Uint8Array;
2197
+ toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg;
2198
+ registerTypeUrl(): void;
2199
+ };
2200
+ /**
2201
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
2202
+ * fields or extension ranges in the same message. Reserved ranges may
2203
+ * not overlap.
2204
+ * @name DescriptorProto_ReservedRange
2205
+ * @package google.protobuf
2206
+ * @see proto type: google.protobuf.ReservedRange
2207
+ */
2208
+ export declare const DescriptorProto_ReservedRange: {
2209
+ typeUrl: string;
2210
+ is(o: any): o is DescriptorProto_ReservedRange;
2211
+ isSDK(o: any): o is DescriptorProto_ReservedRangeSDKType;
2212
+ encode(message: DescriptorProto_ReservedRange, writer?: _m0.Writer): _m0.Writer;
2213
+ decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange;
2214
+ fromPartial(object: Partial<DescriptorProto_ReservedRange>): DescriptorProto_ReservedRange;
2215
+ fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange;
2216
+ toProto(message: DescriptorProto_ReservedRange): Uint8Array;
2217
+ toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg;
2218
+ registerTypeUrl(): void;
2219
+ };
2220
+ /**
2221
+ * @name ExtensionRangeOptions
2222
+ * @package google.protobuf
2223
+ * @see proto type: google.protobuf.ExtensionRangeOptions
2224
+ */
2225
+ export declare const ExtensionRangeOptions: {
2226
+ typeUrl: string;
2227
+ is(o: any): o is ExtensionRangeOptions;
2228
+ isSDK(o: any): o is ExtensionRangeOptionsSDKType;
2229
+ encode(message: ExtensionRangeOptions, writer?: _m0.Writer): _m0.Writer;
2230
+ decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions;
2231
+ fromPartial(object: Partial<ExtensionRangeOptions>): ExtensionRangeOptions;
2232
+ fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions;
2233
+ toProto(message: ExtensionRangeOptions): Uint8Array;
2234
+ toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg;
2235
+ registerTypeUrl(): void;
2236
+ };
2237
+ /**
2238
+ * @name ExtensionRangeOptions_Declaration
2239
+ * @package google.protobuf
2240
+ * @see proto type: google.protobuf.Declaration
2241
+ */
2242
+ export declare const ExtensionRangeOptions_Declaration: {
2243
+ typeUrl: string;
2244
+ is(o: any): o is ExtensionRangeOptions_Declaration;
2245
+ isSDK(o: any): o is ExtensionRangeOptions_DeclarationSDKType;
2246
+ encode(message: ExtensionRangeOptions_Declaration, writer?: _m0.Writer): _m0.Writer;
2247
+ decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions_Declaration;
2248
+ fromPartial(object: Partial<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
2249
+ fromProtoMsg(message: ExtensionRangeOptions_DeclarationProtoMsg): ExtensionRangeOptions_Declaration;
2250
+ toProto(message: ExtensionRangeOptions_Declaration): Uint8Array;
2251
+ toProtoMsg(message: ExtensionRangeOptions_Declaration): ExtensionRangeOptions_DeclarationProtoMsg;
2252
+ registerTypeUrl(): void;
2253
+ };
2254
+ /**
2255
+ * Describes a field within a message.
2256
+ * @name FieldDescriptorProto
2257
+ * @package google.protobuf
2258
+ * @see proto type: google.protobuf.FieldDescriptorProto
2259
+ */
2260
+ export declare const FieldDescriptorProto: {
2261
+ typeUrl: string;
2262
+ is(o: any): o is FieldDescriptorProto;
2263
+ isSDK(o: any): o is FieldDescriptorProtoSDKType;
2264
+ encode(message: FieldDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2265
+ decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto;
2266
+ fromPartial(object: Partial<FieldDescriptorProto>): FieldDescriptorProto;
2267
+ fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto;
2268
+ toProto(message: FieldDescriptorProto): Uint8Array;
2269
+ toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg;
2270
+ registerTypeUrl(): void;
2271
+ };
2272
+ /**
2273
+ * Describes a oneof.
2274
+ * @name OneofDescriptorProto
2275
+ * @package google.protobuf
2276
+ * @see proto type: google.protobuf.OneofDescriptorProto
2277
+ */
2278
+ export declare const OneofDescriptorProto: {
2279
+ typeUrl: string;
2280
+ is(o: any): o is OneofDescriptorProto;
2281
+ isSDK(o: any): o is OneofDescriptorProtoSDKType;
2282
+ encode(message: OneofDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2283
+ decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto;
2284
+ fromPartial(object: Partial<OneofDescriptorProto>): OneofDescriptorProto;
2285
+ fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto;
2286
+ toProto(message: OneofDescriptorProto): Uint8Array;
2287
+ toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg;
2288
+ registerTypeUrl(): void;
2289
+ };
2290
+ /**
2291
+ * Describes an enum type.
2292
+ * @name EnumDescriptorProto
2293
+ * @package google.protobuf
2294
+ * @see proto type: google.protobuf.EnumDescriptorProto
2295
+ */
2296
+ export declare const EnumDescriptorProto: {
2297
+ typeUrl: string;
2298
+ is(o: any): o is EnumDescriptorProto;
2299
+ isSDK(o: any): o is EnumDescriptorProtoSDKType;
2300
+ encode(message: EnumDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2301
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto;
2302
+ fromPartial(object: Partial<EnumDescriptorProto>): EnumDescriptorProto;
2303
+ fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto;
2304
+ toProto(message: EnumDescriptorProto): Uint8Array;
2305
+ toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg;
2306
+ registerTypeUrl(): void;
2307
+ };
2308
+ /**
2309
+ * Range of reserved numeric values. Reserved values may not be used by
2310
+ * entries in the same enum. Reserved ranges may not overlap.
2311
+ *
2312
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
2313
+ * is inclusive such that it can appropriately represent the entire int32
2314
+ * domain.
2315
+ * @name EnumDescriptorProto_EnumReservedRange
2316
+ * @package google.protobuf
2317
+ * @see proto type: google.protobuf.EnumReservedRange
2318
+ */
2319
+ export declare const EnumDescriptorProto_EnumReservedRange: {
2320
+ typeUrl: string;
2321
+ is(o: any): o is EnumDescriptorProto_EnumReservedRange;
2322
+ isSDK(o: any): o is EnumDescriptorProto_EnumReservedRangeSDKType;
2323
+ encode(message: EnumDescriptorProto_EnumReservedRange, writer?: _m0.Writer): _m0.Writer;
2324
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange;
2325
+ fromPartial(object: Partial<EnumDescriptorProto_EnumReservedRange>): EnumDescriptorProto_EnumReservedRange;
2326
+ fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange;
2327
+ toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array;
2328
+ toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg;
2329
+ registerTypeUrl(): void;
2330
+ };
2331
+ /**
2332
+ * Describes a value within an enum.
2333
+ * @name EnumValueDescriptorProto
2334
+ * @package google.protobuf
2335
+ * @see proto type: google.protobuf.EnumValueDescriptorProto
2336
+ */
2337
+ export declare const EnumValueDescriptorProto: {
2338
+ typeUrl: string;
2339
+ is(o: any): o is EnumValueDescriptorProto;
2340
+ isSDK(o: any): o is EnumValueDescriptorProtoSDKType;
2341
+ encode(message: EnumValueDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2342
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto;
2343
+ fromPartial(object: Partial<EnumValueDescriptorProto>): EnumValueDescriptorProto;
2344
+ fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto;
2345
+ toProto(message: EnumValueDescriptorProto): Uint8Array;
2346
+ toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg;
2347
+ registerTypeUrl(): void;
2348
+ };
2349
+ /**
2350
+ * Describes a service.
2351
+ * @name ServiceDescriptorProto
2352
+ * @package google.protobuf
2353
+ * @see proto type: google.protobuf.ServiceDescriptorProto
2354
+ */
2355
+ export declare const ServiceDescriptorProto: {
2356
+ typeUrl: string;
2357
+ is(o: any): o is ServiceDescriptorProto;
2358
+ isSDK(o: any): o is ServiceDescriptorProtoSDKType;
2359
+ encode(message: ServiceDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2360
+ decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto;
2361
+ fromPartial(object: Partial<ServiceDescriptorProto>): ServiceDescriptorProto;
2362
+ fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto;
2363
+ toProto(message: ServiceDescriptorProto): Uint8Array;
2364
+ toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg;
2365
+ registerTypeUrl(): void;
2366
+ };
2367
+ /**
2368
+ * Describes a method of a service.
2369
+ * @name MethodDescriptorProto
2370
+ * @package google.protobuf
2371
+ * @see proto type: google.protobuf.MethodDescriptorProto
2372
+ */
2373
+ export declare const MethodDescriptorProto: {
2374
+ typeUrl: string;
2375
+ is(o: any): o is MethodDescriptorProto;
2376
+ isSDK(o: any): o is MethodDescriptorProtoSDKType;
2377
+ encode(message: MethodDescriptorProto, writer?: _m0.Writer): _m0.Writer;
2378
+ decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto;
2379
+ fromPartial(object: Partial<MethodDescriptorProto>): MethodDescriptorProto;
2380
+ fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto;
2381
+ toProto(message: MethodDescriptorProto): Uint8Array;
2382
+ toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg;
2383
+ registerTypeUrl(): void;
2384
+ };
2385
+ /**
2386
+ * @name FileOptions
2387
+ * @package google.protobuf
2388
+ * @see proto type: google.protobuf.FileOptions
2389
+ */
2390
+ export declare const FileOptions: {
2391
+ typeUrl: string;
2392
+ is(o: any): o is FileOptions;
2393
+ isSDK(o: any): o is FileOptionsSDKType;
2394
+ encode(message: FileOptions, writer?: _m0.Writer): _m0.Writer;
2395
+ decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions;
2396
+ fromPartial(object: Partial<FileOptions>): FileOptions;
2397
+ fromProtoMsg(message: FileOptionsProtoMsg): FileOptions;
2398
+ toProto(message: FileOptions): Uint8Array;
2399
+ toProtoMsg(message: FileOptions): FileOptionsProtoMsg;
2400
+ registerTypeUrl(): void;
2401
+ };
2402
+ /**
2403
+ * @name MessageOptions
2404
+ * @package google.protobuf
2405
+ * @see proto type: google.protobuf.MessageOptions
2406
+ */
2407
+ export declare const MessageOptions: {
2408
+ typeUrl: string;
2409
+ is(o: any): o is MessageOptions;
2410
+ isSDK(o: any): o is MessageOptionsSDKType;
2411
+ encode(message: MessageOptions, writer?: _m0.Writer): _m0.Writer;
2412
+ decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions;
2413
+ fromPartial(object: Partial<MessageOptions>): MessageOptions;
2414
+ fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions;
2415
+ toProto(message: MessageOptions): Uint8Array;
2416
+ toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg;
2417
+ registerTypeUrl(): void;
2418
+ };
2419
+ /**
2420
+ * @name FieldOptions
2421
+ * @package google.protobuf
2422
+ * @see proto type: google.protobuf.FieldOptions
2423
+ */
2424
+ export declare const FieldOptions: {
2425
+ typeUrl: string;
2426
+ is(o: any): o is FieldOptions;
2427
+ isSDK(o: any): o is FieldOptionsSDKType;
2428
+ encode(message: FieldOptions, writer?: _m0.Writer): _m0.Writer;
2429
+ decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions;
2430
+ fromPartial(object: Partial<FieldOptions>): FieldOptions;
2431
+ fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions;
2432
+ toProto(message: FieldOptions): Uint8Array;
2433
+ toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg;
2434
+ registerTypeUrl(): void;
2435
+ };
2436
+ /**
2437
+ * @name FieldOptions_EditionDefault
2438
+ * @package google.protobuf
2439
+ * @see proto type: google.protobuf.EditionDefault
2440
+ */
2441
+ export declare const FieldOptions_EditionDefault: {
2442
+ typeUrl: string;
2443
+ is(o: any): o is FieldOptions_EditionDefault;
2444
+ isSDK(o: any): o is FieldOptions_EditionDefaultSDKType;
2445
+ encode(message: FieldOptions_EditionDefault, writer?: _m0.Writer): _m0.Writer;
2446
+ decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_EditionDefault;
2447
+ fromPartial(object: Partial<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
2448
+ fromProtoMsg(message: FieldOptions_EditionDefaultProtoMsg): FieldOptions_EditionDefault;
2449
+ toProto(message: FieldOptions_EditionDefault): Uint8Array;
2450
+ toProtoMsg(message: FieldOptions_EditionDefault): FieldOptions_EditionDefaultProtoMsg;
2451
+ registerTypeUrl(): void;
2452
+ };
2453
+ /**
2454
+ * Information about the support window of a feature.
2455
+ * @name FieldOptions_FeatureSupport
2456
+ * @package google.protobuf
2457
+ * @see proto type: google.protobuf.FeatureSupport
2458
+ */
2459
+ export declare const FieldOptions_FeatureSupport: {
2460
+ typeUrl: string;
2461
+ is(o: any): o is FieldOptions_FeatureSupport;
2462
+ isSDK(o: any): o is FieldOptions_FeatureSupportSDKType;
2463
+ encode(message: FieldOptions_FeatureSupport, writer?: _m0.Writer): _m0.Writer;
2464
+ decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_FeatureSupport;
2465
+ fromPartial(object: Partial<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport;
2466
+ fromProtoMsg(message: FieldOptions_FeatureSupportProtoMsg): FieldOptions_FeatureSupport;
2467
+ toProto(message: FieldOptions_FeatureSupport): Uint8Array;
2468
+ toProtoMsg(message: FieldOptions_FeatureSupport): FieldOptions_FeatureSupportProtoMsg;
2469
+ registerTypeUrl(): void;
2470
+ };
2471
+ /**
2472
+ * @name OneofOptions
2473
+ * @package google.protobuf
2474
+ * @see proto type: google.protobuf.OneofOptions
2475
+ */
2476
+ export declare const OneofOptions: {
2477
+ typeUrl: string;
2478
+ is(o: any): o is OneofOptions;
2479
+ isSDK(o: any): o is OneofOptionsSDKType;
2480
+ encode(message: OneofOptions, writer?: _m0.Writer): _m0.Writer;
2481
+ decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions;
2482
+ fromPartial(object: Partial<OneofOptions>): OneofOptions;
2483
+ fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions;
2484
+ toProto(message: OneofOptions): Uint8Array;
2485
+ toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg;
2486
+ registerTypeUrl(): void;
2487
+ };
2488
+ /**
2489
+ * @name EnumOptions
2490
+ * @package google.protobuf
2491
+ * @see proto type: google.protobuf.EnumOptions
2492
+ */
2493
+ export declare const EnumOptions: {
2494
+ typeUrl: string;
2495
+ is(o: any): o is EnumOptions;
2496
+ isSDK(o: any): o is EnumOptionsSDKType;
2497
+ encode(message: EnumOptions, writer?: _m0.Writer): _m0.Writer;
2498
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions;
2499
+ fromPartial(object: Partial<EnumOptions>): EnumOptions;
2500
+ fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions;
2501
+ toProto(message: EnumOptions): Uint8Array;
2502
+ toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg;
2503
+ registerTypeUrl(): void;
2504
+ };
2505
+ /**
2506
+ * @name EnumValueOptions
2507
+ * @package google.protobuf
2508
+ * @see proto type: google.protobuf.EnumValueOptions
2509
+ */
2510
+ export declare const EnumValueOptions: {
2511
+ typeUrl: string;
2512
+ is(o: any): o is EnumValueOptions;
2513
+ isSDK(o: any): o is EnumValueOptionsSDKType;
2514
+ encode(message: EnumValueOptions, writer?: _m0.Writer): _m0.Writer;
2515
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions;
2516
+ fromPartial(object: Partial<EnumValueOptions>): EnumValueOptions;
2517
+ fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions;
2518
+ toProto(message: EnumValueOptions): Uint8Array;
2519
+ toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg;
2520
+ registerTypeUrl(): void;
2521
+ };
2522
+ /**
2523
+ * @name ServiceOptions
2524
+ * @package google.protobuf
2525
+ * @see proto type: google.protobuf.ServiceOptions
2526
+ */
2527
+ export declare const ServiceOptions: {
2528
+ typeUrl: string;
2529
+ is(o: any): o is ServiceOptions;
2530
+ isSDK(o: any): o is ServiceOptionsSDKType;
2531
+ encode(message: ServiceOptions, writer?: _m0.Writer): _m0.Writer;
2532
+ decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions;
2533
+ fromPartial(object: Partial<ServiceOptions>): ServiceOptions;
2534
+ fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions;
2535
+ toProto(message: ServiceOptions): Uint8Array;
2536
+ toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg;
2537
+ registerTypeUrl(): void;
2538
+ };
2539
+ /**
2540
+ * @name MethodOptions
2541
+ * @package google.protobuf
2542
+ * @see proto type: google.protobuf.MethodOptions
2543
+ */
2544
+ export declare const MethodOptions: {
2545
+ typeUrl: string;
2546
+ is(o: any): o is MethodOptions;
2547
+ isSDK(o: any): o is MethodOptionsSDKType;
2548
+ encode(message: MethodOptions, writer?: _m0.Writer): _m0.Writer;
2549
+ decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions;
2550
+ fromPartial(object: Partial<MethodOptions>): MethodOptions;
2551
+ fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions;
2552
+ toProto(message: MethodOptions): Uint8Array;
2553
+ toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg;
2554
+ registerTypeUrl(): void;
2555
+ };
2556
+ /**
2557
+ * A message representing a option the parser does not recognize. This only
2558
+ * appears in options protos created by the compiler::Parser class.
2559
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
2560
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
2561
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
2562
+ * in them.
2563
+ * @name UninterpretedOption
2564
+ * @package google.protobuf
2565
+ * @see proto type: google.protobuf.UninterpretedOption
2566
+ */
2567
+ export declare const UninterpretedOption: {
2568
+ typeUrl: string;
2569
+ is(o: any): o is UninterpretedOption;
2570
+ isSDK(o: any): o is UninterpretedOptionSDKType;
2571
+ encode(message: UninterpretedOption, writer?: _m0.Writer): _m0.Writer;
2572
+ decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption;
2573
+ fromPartial(object: Partial<UninterpretedOption>): UninterpretedOption;
2574
+ fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption;
2575
+ toProto(message: UninterpretedOption): Uint8Array;
2576
+ toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg;
2577
+ registerTypeUrl(): void;
2578
+ };
2579
+ /**
2580
+ * The name of the uninterpreted option. Each string represents a segment in
2581
+ * a dot-separated name. is_extension is true iff a segment represents an
2582
+ * extension (denoted with parentheses in options specs in .proto files).
2583
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
2584
+ * "foo.(bar.baz).moo".
2585
+ * @name UninterpretedOption_NamePart
2586
+ * @package google.protobuf
2587
+ * @see proto type: google.protobuf.NamePart
2588
+ */
2589
+ export declare const UninterpretedOption_NamePart: {
2590
+ typeUrl: string;
2591
+ is(o: any): o is UninterpretedOption_NamePart;
2592
+ isSDK(o: any): o is UninterpretedOption_NamePartSDKType;
2593
+ encode(message: UninterpretedOption_NamePart, writer?: _m0.Writer): _m0.Writer;
2594
+ decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart;
2595
+ fromPartial(object: Partial<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
2596
+ fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart;
2597
+ toProto(message: UninterpretedOption_NamePart): Uint8Array;
2598
+ toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg;
2599
+ registerTypeUrl(): void;
2600
+ };
2601
+ /**
2602
+ * TODO Enums in C++ gencode (and potentially other languages) are
2603
+ * not well scoped. This means that each of the feature enums below can clash
2604
+ * with each other. The short names we've chosen maximize call-site
2605
+ * readability, but leave us very open to this scenario. A future feature will
2606
+ * be designed and implemented to handle this, hopefully before we ever hit a
2607
+ * conflict here.
2608
+ * @name FeatureSet
2609
+ * @package google.protobuf
2610
+ * @see proto type: google.protobuf.FeatureSet
2611
+ */
2612
+ export declare const FeatureSet: {
2613
+ typeUrl: string;
2614
+ is(o: any): o is FeatureSet;
2615
+ isSDK(o: any): o is FeatureSetSDKType;
2616
+ encode(message: FeatureSet, writer?: _m0.Writer): _m0.Writer;
2617
+ decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSet;
2618
+ fromPartial(object: Partial<FeatureSet>): FeatureSet;
2619
+ fromProtoMsg(message: FeatureSetProtoMsg): FeatureSet;
2620
+ toProto(message: FeatureSet): Uint8Array;
2621
+ toProtoMsg(message: FeatureSet): FeatureSetProtoMsg;
2622
+ registerTypeUrl(): void;
2623
+ };
2624
+ /**
2625
+ * @name FeatureSet_VisibilityFeature
2626
+ * @package google.protobuf
2627
+ * @see proto type: google.protobuf.VisibilityFeature
2628
+ */
2629
+ export declare const FeatureSet_VisibilityFeature: {
2630
+ typeUrl: string;
2631
+ is(o: any): o is FeatureSet_VisibilityFeature;
2632
+ isSDK(o: any): o is FeatureSet_VisibilityFeatureSDKType;
2633
+ encode(_: FeatureSet_VisibilityFeature, writer?: _m0.Writer): _m0.Writer;
2634
+ decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSet_VisibilityFeature;
2635
+ fromPartial(_: Partial<FeatureSet_VisibilityFeature>): FeatureSet_VisibilityFeature;
2636
+ fromProtoMsg(message: FeatureSet_VisibilityFeatureProtoMsg): FeatureSet_VisibilityFeature;
2637
+ toProto(message: FeatureSet_VisibilityFeature): Uint8Array;
2638
+ toProtoMsg(message: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeatureProtoMsg;
2639
+ registerTypeUrl(): void;
2640
+ };
2641
+ /**
2642
+ * A compiled specification for the defaults of a set of features. These
2643
+ * messages are generated from FeatureSet extensions and can be used to seed
2644
+ * feature resolution. The resolution with this object becomes a simple search
2645
+ * for the closest matching edition, followed by proto merges.
2646
+ * @name FeatureSetDefaults
2647
+ * @package google.protobuf
2648
+ * @see proto type: google.protobuf.FeatureSetDefaults
2649
+ */
2650
+ export declare const FeatureSetDefaults: {
2651
+ typeUrl: string;
2652
+ is(o: any): o is FeatureSetDefaults;
2653
+ isSDK(o: any): o is FeatureSetDefaultsSDKType;
2654
+ encode(message: FeatureSetDefaults, writer?: _m0.Writer): _m0.Writer;
2655
+ decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults;
2656
+ fromPartial(object: Partial<FeatureSetDefaults>): FeatureSetDefaults;
2657
+ fromProtoMsg(message: FeatureSetDefaultsProtoMsg): FeatureSetDefaults;
2658
+ toProto(message: FeatureSetDefaults): Uint8Array;
2659
+ toProtoMsg(message: FeatureSetDefaults): FeatureSetDefaultsProtoMsg;
2660
+ registerTypeUrl(): void;
2661
+ };
2662
+ /**
2663
+ * A map from every known edition with a unique set of defaults to its
2664
+ * defaults. Not all editions may be contained here. For a given edition,
2665
+ * the defaults at the closest matching edition ordered at or before it should
2666
+ * be used. This field must be in strict ascending order by edition.
2667
+ * @name FeatureSetDefaults_FeatureSetEditionDefault
2668
+ * @package google.protobuf
2669
+ * @see proto type: google.protobuf.FeatureSetEditionDefault
2670
+ */
2671
+ export declare const FeatureSetDefaults_FeatureSetEditionDefault: {
2672
+ typeUrl: string;
2673
+ is(o: any): o is FeatureSetDefaults_FeatureSetEditionDefault;
2674
+ isSDK(o: any): o is FeatureSetDefaults_FeatureSetEditionDefaultSDKType;
2675
+ encode(message: FeatureSetDefaults_FeatureSetEditionDefault, writer?: _m0.Writer): _m0.Writer;
2676
+ decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults_FeatureSetEditionDefault;
2677
+ fromPartial(object: Partial<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
2678
+ fromProtoMsg(message: FeatureSetDefaults_FeatureSetEditionDefaultProtoMsg): FeatureSetDefaults_FeatureSetEditionDefault;
2679
+ toProto(message: FeatureSetDefaults_FeatureSetEditionDefault): Uint8Array;
2680
+ toProtoMsg(message: FeatureSetDefaults_FeatureSetEditionDefault): FeatureSetDefaults_FeatureSetEditionDefaultProtoMsg;
2681
+ registerTypeUrl(): void;
2682
+ };
2683
+ /**
2684
+ * Encapsulates information about the original source file from which a
2685
+ * FileDescriptorProto was generated.
2686
+ * @name SourceCodeInfo
2687
+ * @package google.protobuf
2688
+ * @see proto type: google.protobuf.SourceCodeInfo
2689
+ */
2690
+ export declare const SourceCodeInfo: {
2691
+ typeUrl: string;
2692
+ is(o: any): o is SourceCodeInfo;
2693
+ isSDK(o: any): o is SourceCodeInfoSDKType;
2694
+ encode(message: SourceCodeInfo, writer?: _m0.Writer): _m0.Writer;
2695
+ decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo;
2696
+ fromPartial(object: Partial<SourceCodeInfo>): SourceCodeInfo;
2697
+ fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo;
2698
+ toProto(message: SourceCodeInfo): Uint8Array;
2699
+ toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg;
2700
+ registerTypeUrl(): void;
2701
+ };
2702
+ /**
2703
+ * @name SourceCodeInfo_Location
2704
+ * @package google.protobuf
2705
+ * @see proto type: google.protobuf.Location
2706
+ */
2707
+ export declare const SourceCodeInfo_Location: {
2708
+ typeUrl: string;
2709
+ is(o: any): o is SourceCodeInfo_Location;
2710
+ isSDK(o: any): o is SourceCodeInfo_LocationSDKType;
2711
+ encode(message: SourceCodeInfo_Location, writer?: _m0.Writer): _m0.Writer;
2712
+ decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location;
2713
+ fromPartial(object: Partial<SourceCodeInfo_Location>): SourceCodeInfo_Location;
2714
+ fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location;
2715
+ toProto(message: SourceCodeInfo_Location): Uint8Array;
2716
+ toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg;
2717
+ registerTypeUrl(): void;
2718
+ };
2719
+ /**
2720
+ * Describes the relationship between generated code and its original source
2721
+ * file. A GeneratedCodeInfo message is associated with only one generated
2722
+ * source file, but may contain references to different source .proto files.
2723
+ * @name GeneratedCodeInfo
2724
+ * @package google.protobuf
2725
+ * @see proto type: google.protobuf.GeneratedCodeInfo
2726
+ */
2727
+ export declare const GeneratedCodeInfo: {
2728
+ typeUrl: string;
2729
+ is(o: any): o is GeneratedCodeInfo;
2730
+ isSDK(o: any): o is GeneratedCodeInfoSDKType;
2731
+ encode(message: GeneratedCodeInfo, writer?: _m0.Writer): _m0.Writer;
2732
+ decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo;
2733
+ fromPartial(object: Partial<GeneratedCodeInfo>): GeneratedCodeInfo;
2734
+ fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo;
2735
+ toProto(message: GeneratedCodeInfo): Uint8Array;
2736
+ toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg;
2737
+ registerTypeUrl(): void;
2738
+ };
2739
+ /**
2740
+ * @name GeneratedCodeInfo_Annotation
2741
+ * @package google.protobuf
2742
+ * @see proto type: google.protobuf.Annotation
2743
+ */
2744
+ export declare const GeneratedCodeInfo_Annotation: {
2745
+ typeUrl: string;
2746
+ is(o: any): o is GeneratedCodeInfo_Annotation;
2747
+ isSDK(o: any): o is GeneratedCodeInfo_AnnotationSDKType;
2748
+ encode(message: GeneratedCodeInfo_Annotation, writer?: _m0.Writer): _m0.Writer;
2749
+ decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation;
2750
+ fromPartial(object: Partial<GeneratedCodeInfo_Annotation>): GeneratedCodeInfo_Annotation;
2751
+ fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation;
2752
+ toProto(message: GeneratedCodeInfo_Annotation): Uint8Array;
2753
+ toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg;
2754
+ registerTypeUrl(): void;
2755
+ };