@fatehan/tsrp 1.4.49 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fatehan/activities/camera.js +2 -2
- package/dist/fatehan/activities/workflow.js +2 -2
- package/dist/fatehan/apis/client.js +2 -2
- package/dist/fatehan/areas/area.js +2 -2
- package/dist/fatehan/devices/devices.d.ts.map +1 -1
- package/dist/fatehan/devices/devices.js +4 -4
- package/dist/fatehan/devices/maintenance.js +2 -2
- package/dist/fatehan/financial/financial.js +2 -2
- package/dist/fatehan/google/protobuf/descriptor.d.ts +38 -457
- package/dist/fatehan/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/fatehan/google/protobuf/descriptor.js +59 -1065
- package/dist/fatehan/google/protobuf/duration.js +2 -2
- package/dist/fatehan/google/protobuf/field_mask.js +2 -2
- package/dist/fatehan/google/protobuf/timestamp.d.ts +1 -1
- package/dist/fatehan/google/protobuf/timestamp.js +2 -2
- package/dist/fatehan/identities/authentication.js +2 -2
- package/dist/fatehan/identities/identities.d.ts +140 -191
- package/dist/fatehan/identities/identities.d.ts.map +1 -1
- package/dist/fatehan/identities/identities.js +142 -193
- package/dist/fatehan/models/fusion.js +2 -2
- package/dist/fatehan/models/models.d.ts.map +1 -1
- package/dist/fatehan/models/models.js +4 -4
- package/dist/fatehan/notifies/notify.d.ts.map +1 -1
- package/dist/fatehan/notifies/notify.js +13 -13
- package/dist/fatehan/packets/dataModel.js +10 -10
- package/dist/fatehan/packets/dataModule.d.ts.map +1 -1
- package/dist/fatehan/packets/dataModule.js +11 -9
- package/dist/fatehan/packets/messages.js +2 -2
- package/dist/fatehan/reports/report.d.ts.map +1 -1
- package/dist/fatehan/reports/report.js +32 -32
- package/dist/fatehan/services/api.js +10 -10
- package/dist/fatehan/services/repositories.js +2 -2
- package/dist/fatehan/trips/trip.d.ts.map +1 -1
- package/dist/fatehan/trips/trip.js +22 -22
- package/dist/fatehan/utils/buf/validate/validate.d.ts.map +1 -1
- package/dist/fatehan/utils/buf/validate/validate.js +42 -122
- package/dist/system.io.js +5 -5
- package/package.json +1 -1
|
@@ -1,76 +1,12 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
-
// protoc
|
|
3
|
+
// protoc-gen-ts_proto v2.10.1
|
|
4
|
+
// protoc v3.21.12
|
|
5
5
|
// source: google/protobuf/descriptor.proto
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
8
|
import Long from "long";
|
|
9
9
|
export const protobufPackage = "google.protobuf";
|
|
10
|
-
/** The full set of known editions. */
|
|
11
|
-
export var Edition;
|
|
12
|
-
(function (Edition) {
|
|
13
|
-
/** EDITION_UNKNOWN - A placeholder for an unknown edition value. */
|
|
14
|
-
Edition[Edition["EDITION_UNKNOWN"] = 0] = "EDITION_UNKNOWN";
|
|
15
|
-
/**
|
|
16
|
-
* EDITION_LEGACY - A placeholder edition for specifying default behaviors *before* a feature
|
|
17
|
-
* was first introduced. This is effectively an "infinite past".
|
|
18
|
-
*/
|
|
19
|
-
Edition[Edition["EDITION_LEGACY"] = 900] = "EDITION_LEGACY";
|
|
20
|
-
/**
|
|
21
|
-
* EDITION_PROTO2 - Legacy syntax "editions". These pre-date editions, but behave much like
|
|
22
|
-
* distinct editions. These can't be used to specify the edition of proto
|
|
23
|
-
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
24
|
-
* backwards compatibility.
|
|
25
|
-
*/
|
|
26
|
-
Edition[Edition["EDITION_PROTO2"] = 998] = "EDITION_PROTO2";
|
|
27
|
-
Edition[Edition["EDITION_PROTO3"] = 999] = "EDITION_PROTO3";
|
|
28
|
-
/**
|
|
29
|
-
* EDITION_2023 - Editions that have been released. The specific values are arbitrary and
|
|
30
|
-
* should not be depended on, but they will always be time-ordered for easy
|
|
31
|
-
* comparison.
|
|
32
|
-
*/
|
|
33
|
-
Edition[Edition["EDITION_2023"] = 1000] = "EDITION_2023";
|
|
34
|
-
Edition[Edition["EDITION_2024"] = 1001] = "EDITION_2024";
|
|
35
|
-
/**
|
|
36
|
-
* EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
|
|
37
|
-
* used or relied on outside of tests.
|
|
38
|
-
*/
|
|
39
|
-
Edition[Edition["EDITION_1_TEST_ONLY"] = 1] = "EDITION_1_TEST_ONLY";
|
|
40
|
-
Edition[Edition["EDITION_2_TEST_ONLY"] = 2] = "EDITION_2_TEST_ONLY";
|
|
41
|
-
Edition[Edition["EDITION_99997_TEST_ONLY"] = 99997] = "EDITION_99997_TEST_ONLY";
|
|
42
|
-
Edition[Edition["EDITION_99998_TEST_ONLY"] = 99998] = "EDITION_99998_TEST_ONLY";
|
|
43
|
-
Edition[Edition["EDITION_99999_TEST_ONLY"] = 99999] = "EDITION_99999_TEST_ONLY";
|
|
44
|
-
/**
|
|
45
|
-
* EDITION_MAX - Placeholder for specifying unbounded edition support. This should only
|
|
46
|
-
* ever be used by plugins that can expect to never require any changes to
|
|
47
|
-
* support a new edition.
|
|
48
|
-
*/
|
|
49
|
-
Edition[Edition["EDITION_MAX"] = 2147483647] = "EDITION_MAX";
|
|
50
|
-
Edition[Edition["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
51
|
-
})(Edition || (Edition = {}));
|
|
52
|
-
/**
|
|
53
|
-
* Describes the 'visibility' of a symbol with respect to the proto import
|
|
54
|
-
* system. Symbols can only be imported when the visibility rules do not prevent
|
|
55
|
-
* it (ex: local symbols cannot be imported). Visibility modifiers can only set
|
|
56
|
-
* on `message` and `enum` as they are the only types available to be referenced
|
|
57
|
-
* from other files.
|
|
58
|
-
*/
|
|
59
|
-
export var SymbolVisibility;
|
|
60
|
-
(function (SymbolVisibility) {
|
|
61
|
-
SymbolVisibility[SymbolVisibility["VISIBILITY_UNSET"] = 0] = "VISIBILITY_UNSET";
|
|
62
|
-
SymbolVisibility[SymbolVisibility["VISIBILITY_LOCAL"] = 1] = "VISIBILITY_LOCAL";
|
|
63
|
-
SymbolVisibility[SymbolVisibility["VISIBILITY_EXPORT"] = 2] = "VISIBILITY_EXPORT";
|
|
64
|
-
SymbolVisibility[SymbolVisibility["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
65
|
-
})(SymbolVisibility || (SymbolVisibility = {}));
|
|
66
|
-
/** The verification state of the extension range. */
|
|
67
|
-
export var ExtensionRangeOptions_VerificationState;
|
|
68
|
-
(function (ExtensionRangeOptions_VerificationState) {
|
|
69
|
-
/** DECLARATION - All the extensions of the range must be declared. */
|
|
70
|
-
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION";
|
|
71
|
-
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED";
|
|
72
|
-
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
73
|
-
})(ExtensionRangeOptions_VerificationState || (ExtensionRangeOptions_VerificationState = {}));
|
|
74
10
|
export var FieldDescriptorProto_Type;
|
|
75
11
|
(function (FieldDescriptorProto_Type) {
|
|
76
12
|
/**
|
|
@@ -96,10 +32,9 @@ export var FieldDescriptorProto_Type;
|
|
|
96
32
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_STRING"] = 9] = "TYPE_STRING";
|
|
97
33
|
/**
|
|
98
34
|
* TYPE_GROUP - Tag-delimited aggregate.
|
|
99
|
-
* Group type is deprecated and not supported
|
|
35
|
+
* Group type is deprecated and not supported in proto3. However, Proto3
|
|
100
36
|
* implementations should still be able to parse the group wire format and
|
|
101
|
-
* treat group fields as unknown fields.
|
|
102
|
-
* can be enabled via the `message_encoding` feature.
|
|
37
|
+
* treat group fields as unknown fields.
|
|
103
38
|
*/
|
|
104
39
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_GROUP"] = 10] = "TYPE_GROUP";
|
|
105
40
|
/** TYPE_MESSAGE - Length-delimited aggregate. */
|
|
@@ -120,13 +55,8 @@ export var FieldDescriptorProto_Label;
|
|
|
120
55
|
(function (FieldDescriptorProto_Label) {
|
|
121
56
|
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
|
122
57
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL";
|
|
123
|
-
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
|
|
124
|
-
/**
|
|
125
|
-
* LABEL_REQUIRED - The required label is only allowed in google.protobuf. In proto3 and Editions
|
|
126
|
-
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
|
127
|
-
* can be used to get this behavior.
|
|
128
|
-
*/
|
|
129
58
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
|
|
59
|
+
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
|
|
130
60
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
131
61
|
})(FieldDescriptorProto_Label || (FieldDescriptorProto_Label = {}));
|
|
132
62
|
/** Generated classes can be optimized for speed or code size. */
|
|
@@ -144,14 +74,6 @@ export var FieldOptions_CType;
|
|
|
144
74
|
(function (FieldOptions_CType) {
|
|
145
75
|
/** STRING - Default mode. */
|
|
146
76
|
FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
|
|
147
|
-
/**
|
|
148
|
-
* CORD - The option [ctype=CORD] may be applied to a non-repeated field of type
|
|
149
|
-
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
|
150
|
-
* instead of a string. For very large strings, this may reduce memory
|
|
151
|
-
* fragmentation. It may also allow better performance when parsing from a
|
|
152
|
-
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
|
153
|
-
* alias the original buffer.
|
|
154
|
-
*/
|
|
155
77
|
FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
|
|
156
78
|
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
157
79
|
FieldOptions_CType[FieldOptions_CType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -166,33 +88,6 @@ export var FieldOptions_JSType;
|
|
|
166
88
|
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
167
89
|
FieldOptions_JSType[FieldOptions_JSType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
168
90
|
})(FieldOptions_JSType || (FieldOptions_JSType = {}));
|
|
169
|
-
/** If set to RETENTION_SOURCE, the option will be omitted from the binary. */
|
|
170
|
-
export var FieldOptions_OptionRetention;
|
|
171
|
-
(function (FieldOptions_OptionRetention) {
|
|
172
|
-
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_UNKNOWN"] = 0] = "RETENTION_UNKNOWN";
|
|
173
|
-
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME";
|
|
174
|
-
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE";
|
|
175
|
-
FieldOptions_OptionRetention[FieldOptions_OptionRetention["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
176
|
-
})(FieldOptions_OptionRetention || (FieldOptions_OptionRetention = {}));
|
|
177
|
-
/**
|
|
178
|
-
* This indicates the types of entities that the field may apply to when used
|
|
179
|
-
* as an option. If it is unset, then the field may be freely used as an
|
|
180
|
-
* option on any kind of entity.
|
|
181
|
-
*/
|
|
182
|
-
export var FieldOptions_OptionTargetType;
|
|
183
|
-
(function (FieldOptions_OptionTargetType) {
|
|
184
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_UNKNOWN"] = 0] = "TARGET_TYPE_UNKNOWN";
|
|
185
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FILE"] = 1] = "TARGET_TYPE_FILE";
|
|
186
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = 2] = "TARGET_TYPE_EXTENSION_RANGE";
|
|
187
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_MESSAGE"] = 3] = "TARGET_TYPE_MESSAGE";
|
|
188
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FIELD"] = 4] = "TARGET_TYPE_FIELD";
|
|
189
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ONEOF"] = 5] = "TARGET_TYPE_ONEOF";
|
|
190
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM"] = 6] = "TARGET_TYPE_ENUM";
|
|
191
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = 7] = "TARGET_TYPE_ENUM_ENTRY";
|
|
192
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE";
|
|
193
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD";
|
|
194
|
-
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
195
|
-
})(FieldOptions_OptionTargetType || (FieldOptions_OptionTargetType = {}));
|
|
196
91
|
/**
|
|
197
92
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
198
93
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
@@ -207,87 +102,6 @@ export var MethodOptions_IdempotencyLevel;
|
|
|
207
102
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
|
208
103
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
209
104
|
})(MethodOptions_IdempotencyLevel || (MethodOptions_IdempotencyLevel = {}));
|
|
210
|
-
export var FeatureSet_FieldPresence;
|
|
211
|
-
(function (FeatureSet_FieldPresence) {
|
|
212
|
-
FeatureSet_FieldPresence[FeatureSet_FieldPresence["FIELD_PRESENCE_UNKNOWN"] = 0] = "FIELD_PRESENCE_UNKNOWN";
|
|
213
|
-
FeatureSet_FieldPresence[FeatureSet_FieldPresence["EXPLICIT"] = 1] = "EXPLICIT";
|
|
214
|
-
FeatureSet_FieldPresence[FeatureSet_FieldPresence["IMPLICIT"] = 2] = "IMPLICIT";
|
|
215
|
-
FeatureSet_FieldPresence[FeatureSet_FieldPresence["LEGACY_REQUIRED"] = 3] = "LEGACY_REQUIRED";
|
|
216
|
-
FeatureSet_FieldPresence[FeatureSet_FieldPresence["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
217
|
-
})(FeatureSet_FieldPresence || (FeatureSet_FieldPresence = {}));
|
|
218
|
-
export var FeatureSet_EnumType;
|
|
219
|
-
(function (FeatureSet_EnumType) {
|
|
220
|
-
FeatureSet_EnumType[FeatureSet_EnumType["ENUM_TYPE_UNKNOWN"] = 0] = "ENUM_TYPE_UNKNOWN";
|
|
221
|
-
FeatureSet_EnumType[FeatureSet_EnumType["OPEN"] = 1] = "OPEN";
|
|
222
|
-
FeatureSet_EnumType[FeatureSet_EnumType["CLOSED"] = 2] = "CLOSED";
|
|
223
|
-
FeatureSet_EnumType[FeatureSet_EnumType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
224
|
-
})(FeatureSet_EnumType || (FeatureSet_EnumType = {}));
|
|
225
|
-
export var FeatureSet_RepeatedFieldEncoding;
|
|
226
|
-
(function (FeatureSet_RepeatedFieldEncoding) {
|
|
227
|
-
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["REPEATED_FIELD_ENCODING_UNKNOWN"] = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN";
|
|
228
|
-
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["PACKED"] = 1] = "PACKED";
|
|
229
|
-
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["EXPANDED"] = 2] = "EXPANDED";
|
|
230
|
-
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
231
|
-
})(FeatureSet_RepeatedFieldEncoding || (FeatureSet_RepeatedFieldEncoding = {}));
|
|
232
|
-
export var FeatureSet_Utf8Validation;
|
|
233
|
-
(function (FeatureSet_Utf8Validation) {
|
|
234
|
-
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UTF8_VALIDATION_UNKNOWN"] = 0] = "UTF8_VALIDATION_UNKNOWN";
|
|
235
|
-
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["VERIFY"] = 2] = "VERIFY";
|
|
236
|
-
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["NONE"] = 3] = "NONE";
|
|
237
|
-
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
238
|
-
})(FeatureSet_Utf8Validation || (FeatureSet_Utf8Validation = {}));
|
|
239
|
-
export var FeatureSet_MessageEncoding;
|
|
240
|
-
(function (FeatureSet_MessageEncoding) {
|
|
241
|
-
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["MESSAGE_ENCODING_UNKNOWN"] = 0] = "MESSAGE_ENCODING_UNKNOWN";
|
|
242
|
-
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["LENGTH_PREFIXED"] = 1] = "LENGTH_PREFIXED";
|
|
243
|
-
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["DELIMITED"] = 2] = "DELIMITED";
|
|
244
|
-
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
245
|
-
})(FeatureSet_MessageEncoding || (FeatureSet_MessageEncoding = {}));
|
|
246
|
-
export var FeatureSet_JsonFormat;
|
|
247
|
-
(function (FeatureSet_JsonFormat) {
|
|
248
|
-
FeatureSet_JsonFormat[FeatureSet_JsonFormat["JSON_FORMAT_UNKNOWN"] = 0] = "JSON_FORMAT_UNKNOWN";
|
|
249
|
-
FeatureSet_JsonFormat[FeatureSet_JsonFormat["ALLOW"] = 1] = "ALLOW";
|
|
250
|
-
FeatureSet_JsonFormat[FeatureSet_JsonFormat["LEGACY_BEST_EFFORT"] = 2] = "LEGACY_BEST_EFFORT";
|
|
251
|
-
FeatureSet_JsonFormat[FeatureSet_JsonFormat["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
252
|
-
})(FeatureSet_JsonFormat || (FeatureSet_JsonFormat = {}));
|
|
253
|
-
export var FeatureSet_EnforceNamingStyle;
|
|
254
|
-
(function (FeatureSet_EnforceNamingStyle) {
|
|
255
|
-
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["ENFORCE_NAMING_STYLE_UNKNOWN"] = 0] = "ENFORCE_NAMING_STYLE_UNKNOWN";
|
|
256
|
-
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["STYLE2024"] = 1] = "STYLE2024";
|
|
257
|
-
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["STYLE_LEGACY"] = 2] = "STYLE_LEGACY";
|
|
258
|
-
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
259
|
-
})(FeatureSet_EnforceNamingStyle || (FeatureSet_EnforceNamingStyle = {}));
|
|
260
|
-
export var FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
|
261
|
-
(function (FeatureSet_VisibilityFeature_DefaultSymbolVisibility) {
|
|
262
|
-
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN";
|
|
263
|
-
/** EXPORT_ALL - Default pre-EDITION_2024, all UNSET visibility are export. */
|
|
264
|
-
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["EXPORT_ALL"] = 1] = "EXPORT_ALL";
|
|
265
|
-
/** EXPORT_TOP_LEVEL - All top-level symbols default to export, nested default to local. */
|
|
266
|
-
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["EXPORT_TOP_LEVEL"] = 2] = "EXPORT_TOP_LEVEL";
|
|
267
|
-
/** LOCAL_ALL - All symbols default to local. */
|
|
268
|
-
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["LOCAL_ALL"] = 3] = "LOCAL_ALL";
|
|
269
|
-
/**
|
|
270
|
-
* STRICT - All symbols local by default. Nested types cannot be exported.
|
|
271
|
-
* With special case caveat for message { enum {} reserved 1 to max; }
|
|
272
|
-
* This is the recommended setting for new protos.
|
|
273
|
-
*/
|
|
274
|
-
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["STRICT"] = 4] = "STRICT";
|
|
275
|
-
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
276
|
-
})(FeatureSet_VisibilityFeature_DefaultSymbolVisibility || (FeatureSet_VisibilityFeature_DefaultSymbolVisibility = {}));
|
|
277
|
-
/**
|
|
278
|
-
* Represents the identified object's effect on the element in the original
|
|
279
|
-
* .proto file.
|
|
280
|
-
*/
|
|
281
|
-
export var GeneratedCodeInfo_Annotation_Semantic;
|
|
282
|
-
(function (GeneratedCodeInfo_Annotation_Semantic) {
|
|
283
|
-
/** NONE - There is no effect or the effect is indescribable. */
|
|
284
|
-
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE";
|
|
285
|
-
/** SET - The element is set or otherwise mutated. */
|
|
286
|
-
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET";
|
|
287
|
-
/** ALIAS - An alias to the element is returned. */
|
|
288
|
-
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
|
|
289
|
-
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
290
|
-
})(GeneratedCodeInfo_Annotation_Semantic || (GeneratedCodeInfo_Annotation_Semantic = {}));
|
|
291
105
|
function createBaseFileDescriptorSet() {
|
|
292
106
|
return { file: [] };
|
|
293
107
|
}
|
|
@@ -336,7 +150,6 @@ function createBaseFileDescriptorProto() {
|
|
|
336
150
|
dependency: [],
|
|
337
151
|
publicDependency: [],
|
|
338
152
|
weakDependency: [],
|
|
339
|
-
optionDependency: [],
|
|
340
153
|
messageType: [],
|
|
341
154
|
enumType: [],
|
|
342
155
|
service: [],
|
|
@@ -344,7 +157,6 @@ function createBaseFileDescriptorProto() {
|
|
|
344
157
|
options: undefined,
|
|
345
158
|
sourceCodeInfo: undefined,
|
|
346
159
|
syntax: "",
|
|
347
|
-
edition: 0,
|
|
348
160
|
};
|
|
349
161
|
}
|
|
350
162
|
export const FileDescriptorProto = {
|
|
@@ -358,18 +170,11 @@ export const FileDescriptorProto = {
|
|
|
358
170
|
for (const v of message.dependency) {
|
|
359
171
|
writer.uint32(26).string(v);
|
|
360
172
|
}
|
|
361
|
-
writer.uint32(82).fork();
|
|
362
173
|
for (const v of message.publicDependency) {
|
|
363
|
-
writer.int32(v);
|
|
174
|
+
writer.uint32(80).int32(v);
|
|
364
175
|
}
|
|
365
|
-
writer.join();
|
|
366
|
-
writer.uint32(90).fork();
|
|
367
176
|
for (const v of message.weakDependency) {
|
|
368
|
-
writer.int32(v);
|
|
369
|
-
}
|
|
370
|
-
writer.join();
|
|
371
|
-
for (const v of message.optionDependency) {
|
|
372
|
-
writer.uint32(122).string(v);
|
|
177
|
+
writer.uint32(88).int32(v);
|
|
373
178
|
}
|
|
374
179
|
for (const v of message.messageType) {
|
|
375
180
|
DescriptorProto.encode(v, writer.uint32(34).fork()).join();
|
|
@@ -392,9 +197,6 @@ export const FileDescriptorProto = {
|
|
|
392
197
|
if (message.syntax !== undefined && message.syntax !== "") {
|
|
393
198
|
writer.uint32(98).string(message.syntax);
|
|
394
199
|
}
|
|
395
|
-
if (message.edition !== undefined && message.edition !== 0) {
|
|
396
|
-
writer.uint32(112).int32(message.edition);
|
|
397
|
-
}
|
|
398
200
|
return writer;
|
|
399
201
|
},
|
|
400
202
|
decode(input, length) {
|
|
@@ -453,13 +255,6 @@ export const FileDescriptorProto = {
|
|
|
453
255
|
}
|
|
454
256
|
break;
|
|
455
257
|
}
|
|
456
|
-
case 15: {
|
|
457
|
-
if (tag !== 122) {
|
|
458
|
-
break;
|
|
459
|
-
}
|
|
460
|
-
message.optionDependency.push(reader.string());
|
|
461
|
-
continue;
|
|
462
|
-
}
|
|
463
258
|
case 4: {
|
|
464
259
|
if (tag !== 34) {
|
|
465
260
|
break;
|
|
@@ -509,13 +304,6 @@ export const FileDescriptorProto = {
|
|
|
509
304
|
message.syntax = reader.string();
|
|
510
305
|
continue;
|
|
511
306
|
}
|
|
512
|
-
case 14: {
|
|
513
|
-
if (tag !== 112) {
|
|
514
|
-
break;
|
|
515
|
-
}
|
|
516
|
-
message.edition = reader.int32();
|
|
517
|
-
continue;
|
|
518
|
-
}
|
|
519
307
|
}
|
|
520
308
|
if ((tag & 7) === 4 || tag === 0) {
|
|
521
309
|
break;
|
|
@@ -534,7 +322,6 @@ export const FileDescriptorProto = {
|
|
|
534
322
|
message.dependency = object.dependency?.map((e) => e) || [];
|
|
535
323
|
message.publicDependency = object.publicDependency?.map((e) => e) || [];
|
|
536
324
|
message.weakDependency = object.weakDependency?.map((e) => e) || [];
|
|
537
|
-
message.optionDependency = object.optionDependency?.map((e) => e) || [];
|
|
538
325
|
message.messageType = object.messageType?.map((e) => DescriptorProto.fromPartial(e)) || [];
|
|
539
326
|
message.enumType = object.enumType?.map((e) => EnumDescriptorProto.fromPartial(e)) || [];
|
|
540
327
|
message.service = object.service?.map((e) => ServiceDescriptorProto.fromPartial(e)) || [];
|
|
@@ -546,7 +333,6 @@ export const FileDescriptorProto = {
|
|
|
546
333
|
? SourceCodeInfo.fromPartial(object.sourceCodeInfo)
|
|
547
334
|
: undefined;
|
|
548
335
|
message.syntax = object.syntax ?? "";
|
|
549
|
-
message.edition = object.edition ?? 0;
|
|
550
336
|
return message;
|
|
551
337
|
},
|
|
552
338
|
};
|
|
@@ -562,7 +348,6 @@ function createBaseDescriptorProto() {
|
|
|
562
348
|
options: undefined,
|
|
563
349
|
reservedRange: [],
|
|
564
350
|
reservedName: [],
|
|
565
|
-
visibility: 0,
|
|
566
351
|
};
|
|
567
352
|
}
|
|
568
353
|
export const DescriptorProto = {
|
|
@@ -597,9 +382,6 @@ export const DescriptorProto = {
|
|
|
597
382
|
for (const v of message.reservedName) {
|
|
598
383
|
writer.uint32(82).string(v);
|
|
599
384
|
}
|
|
600
|
-
if (message.visibility !== undefined && message.visibility !== 0) {
|
|
601
|
-
writer.uint32(88).int32(message.visibility);
|
|
602
|
-
}
|
|
603
385
|
return writer;
|
|
604
386
|
},
|
|
605
387
|
decode(input, length) {
|
|
@@ -679,13 +461,6 @@ export const DescriptorProto = {
|
|
|
679
461
|
message.reservedName.push(reader.string());
|
|
680
462
|
continue;
|
|
681
463
|
}
|
|
682
|
-
case 11: {
|
|
683
|
-
if (tag !== 88) {
|
|
684
|
-
break;
|
|
685
|
-
}
|
|
686
|
-
message.visibility = reader.int32();
|
|
687
|
-
continue;
|
|
688
|
-
}
|
|
689
464
|
}
|
|
690
465
|
if ((tag & 7) === 4 || tag === 0) {
|
|
691
466
|
break;
|
|
@@ -711,7 +486,6 @@ export const DescriptorProto = {
|
|
|
711
486
|
: undefined;
|
|
712
487
|
message.reservedRange = object.reservedRange?.map((e) => DescriptorProto_ReservedRange.fromPartial(e)) || [];
|
|
713
488
|
message.reservedName = object.reservedName?.map((e) => e) || [];
|
|
714
|
-
message.visibility = object.visibility ?? 0;
|
|
715
489
|
return message;
|
|
716
490
|
},
|
|
717
491
|
};
|
|
@@ -833,22 +607,13 @@ export const DescriptorProto_ReservedRange = {
|
|
|
833
607
|
},
|
|
834
608
|
};
|
|
835
609
|
function createBaseExtensionRangeOptions() {
|
|
836
|
-
return { uninterpretedOption: []
|
|
610
|
+
return { uninterpretedOption: [] };
|
|
837
611
|
}
|
|
838
612
|
export const ExtensionRangeOptions = {
|
|
839
613
|
encode(message, writer = new BinaryWriter()) {
|
|
840
614
|
for (const v of message.uninterpretedOption) {
|
|
841
615
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
842
616
|
}
|
|
843
|
-
for (const v of message.declaration) {
|
|
844
|
-
ExtensionRangeOptions_Declaration.encode(v, writer.uint32(18).fork()).join();
|
|
845
|
-
}
|
|
846
|
-
if (message.features !== undefined) {
|
|
847
|
-
FeatureSet.encode(message.features, writer.uint32(402).fork()).join();
|
|
848
|
-
}
|
|
849
|
-
if (message.verification !== undefined && message.verification !== 1) {
|
|
850
|
-
writer.uint32(24).int32(message.verification);
|
|
851
|
-
}
|
|
852
617
|
return writer;
|
|
853
618
|
},
|
|
854
619
|
decode(input, length) {
|
|
@@ -865,27 +630,6 @@ export const ExtensionRangeOptions = {
|
|
|
865
630
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
866
631
|
continue;
|
|
867
632
|
}
|
|
868
|
-
case 2: {
|
|
869
|
-
if (tag !== 18) {
|
|
870
|
-
break;
|
|
871
|
-
}
|
|
872
|
-
message.declaration.push(ExtensionRangeOptions_Declaration.decode(reader, reader.uint32()));
|
|
873
|
-
continue;
|
|
874
|
-
}
|
|
875
|
-
case 50: {
|
|
876
|
-
if (tag !== 402) {
|
|
877
|
-
break;
|
|
878
|
-
}
|
|
879
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
880
|
-
continue;
|
|
881
|
-
}
|
|
882
|
-
case 3: {
|
|
883
|
-
if (tag !== 24) {
|
|
884
|
-
break;
|
|
885
|
-
}
|
|
886
|
-
message.verification = reader.int32();
|
|
887
|
-
continue;
|
|
888
|
-
}
|
|
889
633
|
}
|
|
890
634
|
if ((tag & 7) === 4 || tag === 0) {
|
|
891
635
|
break;
|
|
@@ -900,96 +644,6 @@ export const ExtensionRangeOptions = {
|
|
|
900
644
|
fromPartial(object) {
|
|
901
645
|
const message = createBaseExtensionRangeOptions();
|
|
902
646
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
903
|
-
message.declaration = object.declaration?.map((e) => ExtensionRangeOptions_Declaration.fromPartial(e)) || [];
|
|
904
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
905
|
-
? FeatureSet.fromPartial(object.features)
|
|
906
|
-
: undefined;
|
|
907
|
-
message.verification = object.verification ?? 1;
|
|
908
|
-
return message;
|
|
909
|
-
},
|
|
910
|
-
};
|
|
911
|
-
function createBaseExtensionRangeOptions_Declaration() {
|
|
912
|
-
return { number: 0, fullName: "", type: "", reserved: false, repeated: false };
|
|
913
|
-
}
|
|
914
|
-
export const ExtensionRangeOptions_Declaration = {
|
|
915
|
-
encode(message, writer = new BinaryWriter()) {
|
|
916
|
-
if (message.number !== undefined && message.number !== 0) {
|
|
917
|
-
writer.uint32(8).int32(message.number);
|
|
918
|
-
}
|
|
919
|
-
if (message.fullName !== undefined && message.fullName !== "") {
|
|
920
|
-
writer.uint32(18).string(message.fullName);
|
|
921
|
-
}
|
|
922
|
-
if (message.type !== undefined && message.type !== "") {
|
|
923
|
-
writer.uint32(26).string(message.type);
|
|
924
|
-
}
|
|
925
|
-
if (message.reserved !== undefined && message.reserved !== false) {
|
|
926
|
-
writer.uint32(40).bool(message.reserved);
|
|
927
|
-
}
|
|
928
|
-
if (message.repeated !== undefined && message.repeated !== false) {
|
|
929
|
-
writer.uint32(48).bool(message.repeated);
|
|
930
|
-
}
|
|
931
|
-
return writer;
|
|
932
|
-
},
|
|
933
|
-
decode(input, length) {
|
|
934
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
935
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
936
|
-
const message = createBaseExtensionRangeOptions_Declaration();
|
|
937
|
-
while (reader.pos < end) {
|
|
938
|
-
const tag = reader.uint32();
|
|
939
|
-
switch (tag >>> 3) {
|
|
940
|
-
case 1: {
|
|
941
|
-
if (tag !== 8) {
|
|
942
|
-
break;
|
|
943
|
-
}
|
|
944
|
-
message.number = reader.int32();
|
|
945
|
-
continue;
|
|
946
|
-
}
|
|
947
|
-
case 2: {
|
|
948
|
-
if (tag !== 18) {
|
|
949
|
-
break;
|
|
950
|
-
}
|
|
951
|
-
message.fullName = reader.string();
|
|
952
|
-
continue;
|
|
953
|
-
}
|
|
954
|
-
case 3: {
|
|
955
|
-
if (tag !== 26) {
|
|
956
|
-
break;
|
|
957
|
-
}
|
|
958
|
-
message.type = reader.string();
|
|
959
|
-
continue;
|
|
960
|
-
}
|
|
961
|
-
case 5: {
|
|
962
|
-
if (tag !== 40) {
|
|
963
|
-
break;
|
|
964
|
-
}
|
|
965
|
-
message.reserved = reader.bool();
|
|
966
|
-
continue;
|
|
967
|
-
}
|
|
968
|
-
case 6: {
|
|
969
|
-
if (tag !== 48) {
|
|
970
|
-
break;
|
|
971
|
-
}
|
|
972
|
-
message.repeated = reader.bool();
|
|
973
|
-
continue;
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
977
|
-
break;
|
|
978
|
-
}
|
|
979
|
-
reader.skip(tag & 7);
|
|
980
|
-
}
|
|
981
|
-
return message;
|
|
982
|
-
},
|
|
983
|
-
create(base) {
|
|
984
|
-
return ExtensionRangeOptions_Declaration.fromPartial(base ?? {});
|
|
985
|
-
},
|
|
986
|
-
fromPartial(object) {
|
|
987
|
-
const message = createBaseExtensionRangeOptions_Declaration();
|
|
988
|
-
message.number = object.number ?? 0;
|
|
989
|
-
message.fullName = object.fullName ?? "";
|
|
990
|
-
message.type = object.type ?? "";
|
|
991
|
-
message.reserved = object.reserved ?? false;
|
|
992
|
-
message.repeated = object.repeated ?? false;
|
|
993
647
|
return message;
|
|
994
648
|
},
|
|
995
649
|
};
|
|
@@ -1213,7 +867,7 @@ export const OneofDescriptorProto = {
|
|
|
1213
867
|
},
|
|
1214
868
|
};
|
|
1215
869
|
function createBaseEnumDescriptorProto() {
|
|
1216
|
-
return { name: "", value: [], options: undefined, reservedRange: [], reservedName: []
|
|
870
|
+
return { name: "", value: [], options: undefined, reservedRange: [], reservedName: [] };
|
|
1217
871
|
}
|
|
1218
872
|
export const EnumDescriptorProto = {
|
|
1219
873
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -1232,9 +886,6 @@ export const EnumDescriptorProto = {
|
|
|
1232
886
|
for (const v of message.reservedName) {
|
|
1233
887
|
writer.uint32(42).string(v);
|
|
1234
888
|
}
|
|
1235
|
-
if (message.visibility !== undefined && message.visibility !== 0) {
|
|
1236
|
-
writer.uint32(48).int32(message.visibility);
|
|
1237
|
-
}
|
|
1238
889
|
return writer;
|
|
1239
890
|
},
|
|
1240
891
|
decode(input, length) {
|
|
@@ -1279,13 +930,6 @@ export const EnumDescriptorProto = {
|
|
|
1279
930
|
message.reservedName.push(reader.string());
|
|
1280
931
|
continue;
|
|
1281
932
|
}
|
|
1282
|
-
case 6: {
|
|
1283
|
-
if (tag !== 48) {
|
|
1284
|
-
break;
|
|
1285
|
-
}
|
|
1286
|
-
message.visibility = reader.int32();
|
|
1287
|
-
continue;
|
|
1288
|
-
}
|
|
1289
933
|
}
|
|
1290
934
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1291
935
|
break;
|
|
@@ -1307,7 +951,6 @@ export const EnumDescriptorProto = {
|
|
|
1307
951
|
message.reservedRange = object.reservedRange?.map((e) => EnumDescriptorProto_EnumReservedRange.fromPartial(e)) ||
|
|
1308
952
|
[];
|
|
1309
953
|
message.reservedName = object.reservedName?.map((e) => e) || [];
|
|
1310
|
-
message.visibility = object.visibility ?? 0;
|
|
1311
954
|
return message;
|
|
1312
955
|
},
|
|
1313
956
|
};
|
|
@@ -1610,6 +1253,7 @@ function createBaseFileOptions() {
|
|
|
1610
1253
|
ccGenericServices: false,
|
|
1611
1254
|
javaGenericServices: false,
|
|
1612
1255
|
pyGenericServices: false,
|
|
1256
|
+
phpGenericServices: false,
|
|
1613
1257
|
deprecated: false,
|
|
1614
1258
|
ccEnableArenas: true,
|
|
1615
1259
|
objcClassPrefix: "",
|
|
@@ -1619,7 +1263,6 @@ function createBaseFileOptions() {
|
|
|
1619
1263
|
phpNamespace: "",
|
|
1620
1264
|
phpMetadataNamespace: "",
|
|
1621
1265
|
rubyPackage: "",
|
|
1622
|
-
features: undefined,
|
|
1623
1266
|
uninterpretedOption: [],
|
|
1624
1267
|
};
|
|
1625
1268
|
}
|
|
@@ -1655,6 +1298,9 @@ export const FileOptions = {
|
|
|
1655
1298
|
if (message.pyGenericServices !== undefined && message.pyGenericServices !== false) {
|
|
1656
1299
|
writer.uint32(144).bool(message.pyGenericServices);
|
|
1657
1300
|
}
|
|
1301
|
+
if (message.phpGenericServices !== undefined && message.phpGenericServices !== false) {
|
|
1302
|
+
writer.uint32(336).bool(message.phpGenericServices);
|
|
1303
|
+
}
|
|
1658
1304
|
if (message.deprecated !== undefined && message.deprecated !== false) {
|
|
1659
1305
|
writer.uint32(184).bool(message.deprecated);
|
|
1660
1306
|
}
|
|
@@ -1682,9 +1328,6 @@ export const FileOptions = {
|
|
|
1682
1328
|
if (message.rubyPackage !== undefined && message.rubyPackage !== "") {
|
|
1683
1329
|
writer.uint32(362).string(message.rubyPackage);
|
|
1684
1330
|
}
|
|
1685
|
-
if (message.features !== undefined) {
|
|
1686
|
-
FeatureSet.encode(message.features, writer.uint32(402).fork()).join();
|
|
1687
|
-
}
|
|
1688
1331
|
for (const v of message.uninterpretedOption) {
|
|
1689
1332
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
1690
1333
|
}
|
|
@@ -1767,6 +1410,13 @@ export const FileOptions = {
|
|
|
1767
1410
|
message.pyGenericServices = reader.bool();
|
|
1768
1411
|
continue;
|
|
1769
1412
|
}
|
|
1413
|
+
case 42: {
|
|
1414
|
+
if (tag !== 336) {
|
|
1415
|
+
break;
|
|
1416
|
+
}
|
|
1417
|
+
message.phpGenericServices = reader.bool();
|
|
1418
|
+
continue;
|
|
1419
|
+
}
|
|
1770
1420
|
case 23: {
|
|
1771
1421
|
if (tag !== 184) {
|
|
1772
1422
|
break;
|
|
@@ -1830,13 +1480,6 @@ export const FileOptions = {
|
|
|
1830
1480
|
message.rubyPackage = reader.string();
|
|
1831
1481
|
continue;
|
|
1832
1482
|
}
|
|
1833
|
-
case 50: {
|
|
1834
|
-
if (tag !== 402) {
|
|
1835
|
-
break;
|
|
1836
|
-
}
|
|
1837
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
1838
|
-
continue;
|
|
1839
|
-
}
|
|
1840
1483
|
case 999: {
|
|
1841
1484
|
if (tag !== 7994) {
|
|
1842
1485
|
break;
|
|
@@ -1867,6 +1510,7 @@ export const FileOptions = {
|
|
|
1867
1510
|
message.ccGenericServices = object.ccGenericServices ?? false;
|
|
1868
1511
|
message.javaGenericServices = object.javaGenericServices ?? false;
|
|
1869
1512
|
message.pyGenericServices = object.pyGenericServices ?? false;
|
|
1513
|
+
message.phpGenericServices = object.phpGenericServices ?? false;
|
|
1870
1514
|
message.deprecated = object.deprecated ?? false;
|
|
1871
1515
|
message.ccEnableArenas = object.ccEnableArenas ?? true;
|
|
1872
1516
|
message.objcClassPrefix = object.objcClassPrefix ?? "";
|
|
@@ -1876,9 +1520,6 @@ export const FileOptions = {
|
|
|
1876
1520
|
message.phpNamespace = object.phpNamespace ?? "";
|
|
1877
1521
|
message.phpMetadataNamespace = object.phpMetadataNamespace ?? "";
|
|
1878
1522
|
message.rubyPackage = object.rubyPackage ?? "";
|
|
1879
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
1880
|
-
? FeatureSet.fromPartial(object.features)
|
|
1881
|
-
: undefined;
|
|
1882
1523
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
1883
1524
|
return message;
|
|
1884
1525
|
},
|
|
@@ -1889,8 +1530,6 @@ function createBaseMessageOptions() {
|
|
|
1889
1530
|
noStandardDescriptorAccessor: false,
|
|
1890
1531
|
deprecated: false,
|
|
1891
1532
|
mapEntry: false,
|
|
1892
|
-
deprecatedLegacyJsonFieldConflicts: false,
|
|
1893
|
-
features: undefined,
|
|
1894
1533
|
uninterpretedOption: [],
|
|
1895
1534
|
};
|
|
1896
1535
|
}
|
|
@@ -1908,12 +1547,6 @@ export const MessageOptions = {
|
|
|
1908
1547
|
if (message.mapEntry !== undefined && message.mapEntry !== false) {
|
|
1909
1548
|
writer.uint32(56).bool(message.mapEntry);
|
|
1910
1549
|
}
|
|
1911
|
-
if (message.deprecatedLegacyJsonFieldConflicts !== undefined && message.deprecatedLegacyJsonFieldConflicts !== false) {
|
|
1912
|
-
writer.uint32(88).bool(message.deprecatedLegacyJsonFieldConflicts);
|
|
1913
|
-
}
|
|
1914
|
-
if (message.features !== undefined) {
|
|
1915
|
-
FeatureSet.encode(message.features, writer.uint32(98).fork()).join();
|
|
1916
|
-
}
|
|
1917
1550
|
for (const v of message.uninterpretedOption) {
|
|
1918
1551
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
1919
1552
|
}
|
|
@@ -1954,20 +1587,6 @@ export const MessageOptions = {
|
|
|
1954
1587
|
message.mapEntry = reader.bool();
|
|
1955
1588
|
continue;
|
|
1956
1589
|
}
|
|
1957
|
-
case 11: {
|
|
1958
|
-
if (tag !== 88) {
|
|
1959
|
-
break;
|
|
1960
|
-
}
|
|
1961
|
-
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
|
1962
|
-
continue;
|
|
1963
|
-
}
|
|
1964
|
-
case 12: {
|
|
1965
|
-
if (tag !== 98) {
|
|
1966
|
-
break;
|
|
1967
|
-
}
|
|
1968
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
1969
|
-
continue;
|
|
1970
|
-
}
|
|
1971
1590
|
case 999: {
|
|
1972
1591
|
if (tag !== 7994) {
|
|
1973
1592
|
break;
|
|
@@ -1992,10 +1611,6 @@ export const MessageOptions = {
|
|
|
1992
1611
|
message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false;
|
|
1993
1612
|
message.deprecated = object.deprecated ?? false;
|
|
1994
1613
|
message.mapEntry = object.mapEntry ?? false;
|
|
1995
|
-
message.deprecatedLegacyJsonFieldConflicts = object.deprecatedLegacyJsonFieldConflicts ?? false;
|
|
1996
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
1997
|
-
? FeatureSet.fromPartial(object.features)
|
|
1998
|
-
: undefined;
|
|
1999
1614
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2000
1615
|
return message;
|
|
2001
1616
|
},
|
|
@@ -2009,12 +1624,6 @@ function createBaseFieldOptions() {
|
|
|
2009
1624
|
unverifiedLazy: false,
|
|
2010
1625
|
deprecated: false,
|
|
2011
1626
|
weak: false,
|
|
2012
|
-
debugRedact: false,
|
|
2013
|
-
retention: 0,
|
|
2014
|
-
targets: [],
|
|
2015
|
-
editionDefaults: [],
|
|
2016
|
-
features: undefined,
|
|
2017
|
-
featureSupport: undefined,
|
|
2018
1627
|
uninterpretedOption: [],
|
|
2019
1628
|
};
|
|
2020
1629
|
}
|
|
@@ -2041,26 +1650,6 @@ export const FieldOptions = {
|
|
|
2041
1650
|
if (message.weak !== undefined && message.weak !== false) {
|
|
2042
1651
|
writer.uint32(80).bool(message.weak);
|
|
2043
1652
|
}
|
|
2044
|
-
if (message.debugRedact !== undefined && message.debugRedact !== false) {
|
|
2045
|
-
writer.uint32(128).bool(message.debugRedact);
|
|
2046
|
-
}
|
|
2047
|
-
if (message.retention !== undefined && message.retention !== 0) {
|
|
2048
|
-
writer.uint32(136).int32(message.retention);
|
|
2049
|
-
}
|
|
2050
|
-
writer.uint32(154).fork();
|
|
2051
|
-
for (const v of message.targets) {
|
|
2052
|
-
writer.int32(v);
|
|
2053
|
-
}
|
|
2054
|
-
writer.join();
|
|
2055
|
-
for (const v of message.editionDefaults) {
|
|
2056
|
-
FieldOptions_EditionDefault.encode(v, writer.uint32(162).fork()).join();
|
|
2057
|
-
}
|
|
2058
|
-
if (message.features !== undefined) {
|
|
2059
|
-
FeatureSet.encode(message.features, writer.uint32(170).fork()).join();
|
|
2060
|
-
}
|
|
2061
|
-
if (message.featureSupport !== undefined) {
|
|
2062
|
-
FieldOptions_FeatureSupport.encode(message.featureSupport, writer.uint32(178).fork()).join();
|
|
2063
|
-
}
|
|
2064
1653
|
for (const v of message.uninterpretedOption) {
|
|
2065
1654
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2066
1655
|
}
|
|
@@ -2122,55 +1711,6 @@ export const FieldOptions = {
|
|
|
2122
1711
|
message.weak = reader.bool();
|
|
2123
1712
|
continue;
|
|
2124
1713
|
}
|
|
2125
|
-
case 16: {
|
|
2126
|
-
if (tag !== 128) {
|
|
2127
|
-
break;
|
|
2128
|
-
}
|
|
2129
|
-
message.debugRedact = reader.bool();
|
|
2130
|
-
continue;
|
|
2131
|
-
}
|
|
2132
|
-
case 17: {
|
|
2133
|
-
if (tag !== 136) {
|
|
2134
|
-
break;
|
|
2135
|
-
}
|
|
2136
|
-
message.retention = reader.int32();
|
|
2137
|
-
continue;
|
|
2138
|
-
}
|
|
2139
|
-
case 19: {
|
|
2140
|
-
if (tag === 152) {
|
|
2141
|
-
message.targets.push(reader.int32());
|
|
2142
|
-
continue;
|
|
2143
|
-
}
|
|
2144
|
-
if (tag === 154) {
|
|
2145
|
-
const end2 = reader.uint32() + reader.pos;
|
|
2146
|
-
while (reader.pos < end2) {
|
|
2147
|
-
message.targets.push(reader.int32());
|
|
2148
|
-
}
|
|
2149
|
-
continue;
|
|
2150
|
-
}
|
|
2151
|
-
break;
|
|
2152
|
-
}
|
|
2153
|
-
case 20: {
|
|
2154
|
-
if (tag !== 162) {
|
|
2155
|
-
break;
|
|
2156
|
-
}
|
|
2157
|
-
message.editionDefaults.push(FieldOptions_EditionDefault.decode(reader, reader.uint32()));
|
|
2158
|
-
continue;
|
|
2159
|
-
}
|
|
2160
|
-
case 21: {
|
|
2161
|
-
if (tag !== 170) {
|
|
2162
|
-
break;
|
|
2163
|
-
}
|
|
2164
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
2165
|
-
continue;
|
|
2166
|
-
}
|
|
2167
|
-
case 22: {
|
|
2168
|
-
if (tag !== 178) {
|
|
2169
|
-
break;
|
|
2170
|
-
}
|
|
2171
|
-
message.featureSupport = FieldOptions_FeatureSupport.decode(reader, reader.uint32());
|
|
2172
|
-
continue;
|
|
2173
|
-
}
|
|
2174
1714
|
case 999: {
|
|
2175
1715
|
if (tag !== 7994) {
|
|
2176
1716
|
break;
|
|
@@ -2198,52 +1738,32 @@ export const FieldOptions = {
|
|
|
2198
1738
|
message.unverifiedLazy = object.unverifiedLazy ?? false;
|
|
2199
1739
|
message.deprecated = object.deprecated ?? false;
|
|
2200
1740
|
message.weak = object.weak ?? false;
|
|
2201
|
-
message.debugRedact = object.debugRedact ?? false;
|
|
2202
|
-
message.retention = object.retention ?? 0;
|
|
2203
|
-
message.targets = object.targets?.map((e) => e) || [];
|
|
2204
|
-
message.editionDefaults = object.editionDefaults?.map((e) => FieldOptions_EditionDefault.fromPartial(e)) || [];
|
|
2205
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
2206
|
-
? FeatureSet.fromPartial(object.features)
|
|
2207
|
-
: undefined;
|
|
2208
|
-
message.featureSupport = (object.featureSupport !== undefined && object.featureSupport !== null)
|
|
2209
|
-
? FieldOptions_FeatureSupport.fromPartial(object.featureSupport)
|
|
2210
|
-
: undefined;
|
|
2211
1741
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2212
1742
|
return message;
|
|
2213
1743
|
},
|
|
2214
1744
|
};
|
|
2215
|
-
function
|
|
2216
|
-
return {
|
|
1745
|
+
function createBaseOneofOptions() {
|
|
1746
|
+
return { uninterpretedOption: [] };
|
|
2217
1747
|
}
|
|
2218
|
-
export const
|
|
1748
|
+
export const OneofOptions = {
|
|
2219
1749
|
encode(message, writer = new BinaryWriter()) {
|
|
2220
|
-
|
|
2221
|
-
writer.uint32(
|
|
2222
|
-
}
|
|
2223
|
-
if (message.value !== undefined && message.value !== "") {
|
|
2224
|
-
writer.uint32(18).string(message.value);
|
|
1750
|
+
for (const v of message.uninterpretedOption) {
|
|
1751
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2225
1752
|
}
|
|
2226
1753
|
return writer;
|
|
2227
1754
|
},
|
|
2228
1755
|
decode(input, length) {
|
|
2229
1756
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2230
1757
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2231
|
-
const message =
|
|
1758
|
+
const message = createBaseOneofOptions();
|
|
2232
1759
|
while (reader.pos < end) {
|
|
2233
1760
|
const tag = reader.uint32();
|
|
2234
1761
|
switch (tag >>> 3) {
|
|
2235
|
-
case
|
|
2236
|
-
if (tag !==
|
|
2237
|
-
break;
|
|
2238
|
-
}
|
|
2239
|
-
message.edition = reader.int32();
|
|
2240
|
-
continue;
|
|
2241
|
-
}
|
|
2242
|
-
case 2: {
|
|
2243
|
-
if (tag !== 18) {
|
|
1762
|
+
case 999: {
|
|
1763
|
+
if (tag !== 7994) {
|
|
2244
1764
|
break;
|
|
2245
1765
|
}
|
|
2246
|
-
message.
|
|
1766
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2247
1767
|
continue;
|
|
2248
1768
|
}
|
|
2249
1769
|
}
|
|
@@ -2255,67 +1775,56 @@ export const FieldOptions_EditionDefault = {
|
|
|
2255
1775
|
return message;
|
|
2256
1776
|
},
|
|
2257
1777
|
create(base) {
|
|
2258
|
-
return
|
|
1778
|
+
return OneofOptions.fromPartial(base ?? {});
|
|
2259
1779
|
},
|
|
2260
1780
|
fromPartial(object) {
|
|
2261
|
-
const message =
|
|
2262
|
-
message.
|
|
2263
|
-
message.value = object.value ?? "";
|
|
1781
|
+
const message = createBaseOneofOptions();
|
|
1782
|
+
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2264
1783
|
return message;
|
|
2265
1784
|
},
|
|
2266
1785
|
};
|
|
2267
|
-
function
|
|
2268
|
-
return {
|
|
1786
|
+
function createBaseEnumOptions() {
|
|
1787
|
+
return { allowAlias: false, deprecated: false, uninterpretedOption: [] };
|
|
2269
1788
|
}
|
|
2270
|
-
export const
|
|
1789
|
+
export const EnumOptions = {
|
|
2271
1790
|
encode(message, writer = new BinaryWriter()) {
|
|
2272
|
-
if (message.
|
|
2273
|
-
writer.uint32(
|
|
2274
|
-
}
|
|
2275
|
-
if (message.editionDeprecated !== undefined && message.editionDeprecated !== 0) {
|
|
2276
|
-
writer.uint32(16).int32(message.editionDeprecated);
|
|
1791
|
+
if (message.allowAlias !== undefined && message.allowAlias !== false) {
|
|
1792
|
+
writer.uint32(16).bool(message.allowAlias);
|
|
2277
1793
|
}
|
|
2278
|
-
if (message.
|
|
2279
|
-
writer.uint32(
|
|
1794
|
+
if (message.deprecated !== undefined && message.deprecated !== false) {
|
|
1795
|
+
writer.uint32(24).bool(message.deprecated);
|
|
2280
1796
|
}
|
|
2281
|
-
|
|
2282
|
-
writer.uint32(
|
|
1797
|
+
for (const v of message.uninterpretedOption) {
|
|
1798
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2283
1799
|
}
|
|
2284
1800
|
return writer;
|
|
2285
1801
|
},
|
|
2286
1802
|
decode(input, length) {
|
|
2287
1803
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2288
1804
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2289
|
-
const message =
|
|
1805
|
+
const message = createBaseEnumOptions();
|
|
2290
1806
|
while (reader.pos < end) {
|
|
2291
1807
|
const tag = reader.uint32();
|
|
2292
1808
|
switch (tag >>> 3) {
|
|
2293
|
-
case 1: {
|
|
2294
|
-
if (tag !== 8) {
|
|
2295
|
-
break;
|
|
2296
|
-
}
|
|
2297
|
-
message.editionIntroduced = reader.int32();
|
|
2298
|
-
continue;
|
|
2299
|
-
}
|
|
2300
1809
|
case 2: {
|
|
2301
1810
|
if (tag !== 16) {
|
|
2302
1811
|
break;
|
|
2303
1812
|
}
|
|
2304
|
-
message.
|
|
1813
|
+
message.allowAlias = reader.bool();
|
|
2305
1814
|
continue;
|
|
2306
1815
|
}
|
|
2307
1816
|
case 3: {
|
|
2308
|
-
if (tag !==
|
|
1817
|
+
if (tag !== 24) {
|
|
2309
1818
|
break;
|
|
2310
1819
|
}
|
|
2311
|
-
message.
|
|
1820
|
+
message.deprecated = reader.bool();
|
|
2312
1821
|
continue;
|
|
2313
1822
|
}
|
|
2314
|
-
case
|
|
2315
|
-
if (tag !==
|
|
1823
|
+
case 999: {
|
|
1824
|
+
if (tag !== 7994) {
|
|
2316
1825
|
break;
|
|
2317
1826
|
}
|
|
2318
|
-
message.
|
|
1827
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2319
1828
|
continue;
|
|
2320
1829
|
}
|
|
2321
1830
|
}
|
|
@@ -2327,187 +1836,24 @@ export const FieldOptions_FeatureSupport = {
|
|
|
2327
1836
|
return message;
|
|
2328
1837
|
},
|
|
2329
1838
|
create(base) {
|
|
2330
|
-
return
|
|
1839
|
+
return EnumOptions.fromPartial(base ?? {});
|
|
2331
1840
|
},
|
|
2332
1841
|
fromPartial(object) {
|
|
2333
|
-
const message =
|
|
2334
|
-
message.
|
|
2335
|
-
message.
|
|
2336
|
-
message.
|
|
2337
|
-
message.editionRemoved = object.editionRemoved ?? 0;
|
|
1842
|
+
const message = createBaseEnumOptions();
|
|
1843
|
+
message.allowAlias = object.allowAlias ?? false;
|
|
1844
|
+
message.deprecated = object.deprecated ?? false;
|
|
1845
|
+
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2338
1846
|
return message;
|
|
2339
1847
|
},
|
|
2340
1848
|
};
|
|
2341
|
-
function
|
|
2342
|
-
return {
|
|
2343
|
-
}
|
|
2344
|
-
export const OneofOptions = {
|
|
2345
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2346
|
-
if (message.features !== undefined) {
|
|
2347
|
-
FeatureSet.encode(message.features, writer.uint32(10).fork()).join();
|
|
2348
|
-
}
|
|
2349
|
-
for (const v of message.uninterpretedOption) {
|
|
2350
|
-
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2351
|
-
}
|
|
2352
|
-
return writer;
|
|
2353
|
-
},
|
|
2354
|
-
decode(input, length) {
|
|
2355
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2356
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2357
|
-
const message = createBaseOneofOptions();
|
|
2358
|
-
while (reader.pos < end) {
|
|
2359
|
-
const tag = reader.uint32();
|
|
2360
|
-
switch (tag >>> 3) {
|
|
2361
|
-
case 1: {
|
|
2362
|
-
if (tag !== 10) {
|
|
2363
|
-
break;
|
|
2364
|
-
}
|
|
2365
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
2366
|
-
continue;
|
|
2367
|
-
}
|
|
2368
|
-
case 999: {
|
|
2369
|
-
if (tag !== 7994) {
|
|
2370
|
-
break;
|
|
2371
|
-
}
|
|
2372
|
-
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2373
|
-
continue;
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2377
|
-
break;
|
|
2378
|
-
}
|
|
2379
|
-
reader.skip(tag & 7);
|
|
2380
|
-
}
|
|
2381
|
-
return message;
|
|
2382
|
-
},
|
|
2383
|
-
create(base) {
|
|
2384
|
-
return OneofOptions.fromPartial(base ?? {});
|
|
2385
|
-
},
|
|
2386
|
-
fromPartial(object) {
|
|
2387
|
-
const message = createBaseOneofOptions();
|
|
2388
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
2389
|
-
? FeatureSet.fromPartial(object.features)
|
|
2390
|
-
: undefined;
|
|
2391
|
-
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2392
|
-
return message;
|
|
2393
|
-
},
|
|
2394
|
-
};
|
|
2395
|
-
function createBaseEnumOptions() {
|
|
2396
|
-
return {
|
|
2397
|
-
allowAlias: false,
|
|
2398
|
-
deprecated: false,
|
|
2399
|
-
deprecatedLegacyJsonFieldConflicts: false,
|
|
2400
|
-
features: undefined,
|
|
2401
|
-
uninterpretedOption: [],
|
|
2402
|
-
};
|
|
2403
|
-
}
|
|
2404
|
-
export const EnumOptions = {
|
|
2405
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2406
|
-
if (message.allowAlias !== undefined && message.allowAlias !== false) {
|
|
2407
|
-
writer.uint32(16).bool(message.allowAlias);
|
|
2408
|
-
}
|
|
2409
|
-
if (message.deprecated !== undefined && message.deprecated !== false) {
|
|
2410
|
-
writer.uint32(24).bool(message.deprecated);
|
|
2411
|
-
}
|
|
2412
|
-
if (message.deprecatedLegacyJsonFieldConflicts !== undefined && message.deprecatedLegacyJsonFieldConflicts !== false) {
|
|
2413
|
-
writer.uint32(48).bool(message.deprecatedLegacyJsonFieldConflicts);
|
|
2414
|
-
}
|
|
2415
|
-
if (message.features !== undefined) {
|
|
2416
|
-
FeatureSet.encode(message.features, writer.uint32(58).fork()).join();
|
|
2417
|
-
}
|
|
2418
|
-
for (const v of message.uninterpretedOption) {
|
|
2419
|
-
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2420
|
-
}
|
|
2421
|
-
return writer;
|
|
2422
|
-
},
|
|
2423
|
-
decode(input, length) {
|
|
2424
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2425
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2426
|
-
const message = createBaseEnumOptions();
|
|
2427
|
-
while (reader.pos < end) {
|
|
2428
|
-
const tag = reader.uint32();
|
|
2429
|
-
switch (tag >>> 3) {
|
|
2430
|
-
case 2: {
|
|
2431
|
-
if (tag !== 16) {
|
|
2432
|
-
break;
|
|
2433
|
-
}
|
|
2434
|
-
message.allowAlias = reader.bool();
|
|
2435
|
-
continue;
|
|
2436
|
-
}
|
|
2437
|
-
case 3: {
|
|
2438
|
-
if (tag !== 24) {
|
|
2439
|
-
break;
|
|
2440
|
-
}
|
|
2441
|
-
message.deprecated = reader.bool();
|
|
2442
|
-
continue;
|
|
2443
|
-
}
|
|
2444
|
-
case 6: {
|
|
2445
|
-
if (tag !== 48) {
|
|
2446
|
-
break;
|
|
2447
|
-
}
|
|
2448
|
-
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
|
2449
|
-
continue;
|
|
2450
|
-
}
|
|
2451
|
-
case 7: {
|
|
2452
|
-
if (tag !== 58) {
|
|
2453
|
-
break;
|
|
2454
|
-
}
|
|
2455
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
2456
|
-
continue;
|
|
2457
|
-
}
|
|
2458
|
-
case 999: {
|
|
2459
|
-
if (tag !== 7994) {
|
|
2460
|
-
break;
|
|
2461
|
-
}
|
|
2462
|
-
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2463
|
-
continue;
|
|
2464
|
-
}
|
|
2465
|
-
}
|
|
2466
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2467
|
-
break;
|
|
2468
|
-
}
|
|
2469
|
-
reader.skip(tag & 7);
|
|
2470
|
-
}
|
|
2471
|
-
return message;
|
|
2472
|
-
},
|
|
2473
|
-
create(base) {
|
|
2474
|
-
return EnumOptions.fromPartial(base ?? {});
|
|
2475
|
-
},
|
|
2476
|
-
fromPartial(object) {
|
|
2477
|
-
const message = createBaseEnumOptions();
|
|
2478
|
-
message.allowAlias = object.allowAlias ?? false;
|
|
2479
|
-
message.deprecated = object.deprecated ?? false;
|
|
2480
|
-
message.deprecatedLegacyJsonFieldConflicts = object.deprecatedLegacyJsonFieldConflicts ?? false;
|
|
2481
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
2482
|
-
? FeatureSet.fromPartial(object.features)
|
|
2483
|
-
: undefined;
|
|
2484
|
-
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2485
|
-
return message;
|
|
2486
|
-
},
|
|
2487
|
-
};
|
|
2488
|
-
function createBaseEnumValueOptions() {
|
|
2489
|
-
return {
|
|
2490
|
-
deprecated: false,
|
|
2491
|
-
features: undefined,
|
|
2492
|
-
debugRedact: false,
|
|
2493
|
-
featureSupport: undefined,
|
|
2494
|
-
uninterpretedOption: [],
|
|
2495
|
-
};
|
|
1849
|
+
function createBaseEnumValueOptions() {
|
|
1850
|
+
return { deprecated: false, uninterpretedOption: [] };
|
|
2496
1851
|
}
|
|
2497
1852
|
export const EnumValueOptions = {
|
|
2498
1853
|
encode(message, writer = new BinaryWriter()) {
|
|
2499
1854
|
if (message.deprecated !== undefined && message.deprecated !== false) {
|
|
2500
1855
|
writer.uint32(8).bool(message.deprecated);
|
|
2501
1856
|
}
|
|
2502
|
-
if (message.features !== undefined) {
|
|
2503
|
-
FeatureSet.encode(message.features, writer.uint32(18).fork()).join();
|
|
2504
|
-
}
|
|
2505
|
-
if (message.debugRedact !== undefined && message.debugRedact !== false) {
|
|
2506
|
-
writer.uint32(24).bool(message.debugRedact);
|
|
2507
|
-
}
|
|
2508
|
-
if (message.featureSupport !== undefined) {
|
|
2509
|
-
FieldOptions_FeatureSupport.encode(message.featureSupport, writer.uint32(34).fork()).join();
|
|
2510
|
-
}
|
|
2511
1857
|
for (const v of message.uninterpretedOption) {
|
|
2512
1858
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2513
1859
|
}
|
|
@@ -2527,27 +1873,6 @@ export const EnumValueOptions = {
|
|
|
2527
1873
|
message.deprecated = reader.bool();
|
|
2528
1874
|
continue;
|
|
2529
1875
|
}
|
|
2530
|
-
case 2: {
|
|
2531
|
-
if (tag !== 18) {
|
|
2532
|
-
break;
|
|
2533
|
-
}
|
|
2534
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
2535
|
-
continue;
|
|
2536
|
-
}
|
|
2537
|
-
case 3: {
|
|
2538
|
-
if (tag !== 24) {
|
|
2539
|
-
break;
|
|
2540
|
-
}
|
|
2541
|
-
message.debugRedact = reader.bool();
|
|
2542
|
-
continue;
|
|
2543
|
-
}
|
|
2544
|
-
case 4: {
|
|
2545
|
-
if (tag !== 34) {
|
|
2546
|
-
break;
|
|
2547
|
-
}
|
|
2548
|
-
message.featureSupport = FieldOptions_FeatureSupport.decode(reader, reader.uint32());
|
|
2549
|
-
continue;
|
|
2550
|
-
}
|
|
2551
1876
|
case 999: {
|
|
2552
1877
|
if (tag !== 7994) {
|
|
2553
1878
|
break;
|
|
@@ -2569,25 +1894,15 @@ export const EnumValueOptions = {
|
|
|
2569
1894
|
fromPartial(object) {
|
|
2570
1895
|
const message = createBaseEnumValueOptions();
|
|
2571
1896
|
message.deprecated = object.deprecated ?? false;
|
|
2572
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
2573
|
-
? FeatureSet.fromPartial(object.features)
|
|
2574
|
-
: undefined;
|
|
2575
|
-
message.debugRedact = object.debugRedact ?? false;
|
|
2576
|
-
message.featureSupport = (object.featureSupport !== undefined && object.featureSupport !== null)
|
|
2577
|
-
? FieldOptions_FeatureSupport.fromPartial(object.featureSupport)
|
|
2578
|
-
: undefined;
|
|
2579
1897
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2580
1898
|
return message;
|
|
2581
1899
|
},
|
|
2582
1900
|
};
|
|
2583
1901
|
function createBaseServiceOptions() {
|
|
2584
|
-
return {
|
|
1902
|
+
return { deprecated: false, uninterpretedOption: [] };
|
|
2585
1903
|
}
|
|
2586
1904
|
export const ServiceOptions = {
|
|
2587
1905
|
encode(message, writer = new BinaryWriter()) {
|
|
2588
|
-
if (message.features !== undefined) {
|
|
2589
|
-
FeatureSet.encode(message.features, writer.uint32(274).fork()).join();
|
|
2590
|
-
}
|
|
2591
1906
|
if (message.deprecated !== undefined && message.deprecated !== false) {
|
|
2592
1907
|
writer.uint32(264).bool(message.deprecated);
|
|
2593
1908
|
}
|
|
@@ -2603,13 +1918,6 @@ export const ServiceOptions = {
|
|
|
2603
1918
|
while (reader.pos < end) {
|
|
2604
1919
|
const tag = reader.uint32();
|
|
2605
1920
|
switch (tag >>> 3) {
|
|
2606
|
-
case 34: {
|
|
2607
|
-
if (tag !== 274) {
|
|
2608
|
-
break;
|
|
2609
|
-
}
|
|
2610
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
2611
|
-
continue;
|
|
2612
|
-
}
|
|
2613
1921
|
case 33: {
|
|
2614
1922
|
if (tag !== 264) {
|
|
2615
1923
|
break;
|
|
@@ -2637,16 +1945,13 @@ export const ServiceOptions = {
|
|
|
2637
1945
|
},
|
|
2638
1946
|
fromPartial(object) {
|
|
2639
1947
|
const message = createBaseServiceOptions();
|
|
2640
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
2641
|
-
? FeatureSet.fromPartial(object.features)
|
|
2642
|
-
: undefined;
|
|
2643
1948
|
message.deprecated = object.deprecated ?? false;
|
|
2644
1949
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2645
1950
|
return message;
|
|
2646
1951
|
},
|
|
2647
1952
|
};
|
|
2648
1953
|
function createBaseMethodOptions() {
|
|
2649
|
-
return { deprecated: false, idempotencyLevel: 0,
|
|
1954
|
+
return { deprecated: false, idempotencyLevel: 0, uninterpretedOption: [] };
|
|
2650
1955
|
}
|
|
2651
1956
|
export const MethodOptions = {
|
|
2652
1957
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -2656,9 +1961,6 @@ export const MethodOptions = {
|
|
|
2656
1961
|
if (message.idempotencyLevel !== undefined && message.idempotencyLevel !== 0) {
|
|
2657
1962
|
writer.uint32(272).int32(message.idempotencyLevel);
|
|
2658
1963
|
}
|
|
2659
|
-
if (message.features !== undefined) {
|
|
2660
|
-
FeatureSet.encode(message.features, writer.uint32(282).fork()).join();
|
|
2661
|
-
}
|
|
2662
1964
|
for (const v of message.uninterpretedOption) {
|
|
2663
1965
|
UninterpretedOption.encode(v, writer.uint32(7994).fork()).join();
|
|
2664
1966
|
}
|
|
@@ -2685,13 +1987,6 @@ export const MethodOptions = {
|
|
|
2685
1987
|
message.idempotencyLevel = reader.int32();
|
|
2686
1988
|
continue;
|
|
2687
1989
|
}
|
|
2688
|
-
case 35: {
|
|
2689
|
-
if (tag !== 282) {
|
|
2690
|
-
break;
|
|
2691
|
-
}
|
|
2692
|
-
message.features = FeatureSet.decode(reader, reader.uint32());
|
|
2693
|
-
continue;
|
|
2694
|
-
}
|
|
2695
1990
|
case 999: {
|
|
2696
1991
|
if (tag !== 7994) {
|
|
2697
1992
|
break;
|
|
@@ -2714,9 +2009,6 @@ export const MethodOptions = {
|
|
|
2714
2009
|
const message = createBaseMethodOptions();
|
|
2715
2010
|
message.deprecated = object.deprecated ?? false;
|
|
2716
2011
|
message.idempotencyLevel = object.idempotencyLevel ?? 0;
|
|
2717
|
-
message.features = (object.features !== undefined && object.features !== null)
|
|
2718
|
-
? FeatureSet.fromPartial(object.features)
|
|
2719
|
-
: undefined;
|
|
2720
2012
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2721
2013
|
return message;
|
|
2722
2014
|
},
|
|
@@ -2892,293 +2184,6 @@ export const UninterpretedOption_NamePart = {
|
|
|
2892
2184
|
return message;
|
|
2893
2185
|
},
|
|
2894
2186
|
};
|
|
2895
|
-
function createBaseFeatureSet() {
|
|
2896
|
-
return {
|
|
2897
|
-
fieldPresence: 0,
|
|
2898
|
-
enumType: 0,
|
|
2899
|
-
repeatedFieldEncoding: 0,
|
|
2900
|
-
utf8Validation: 0,
|
|
2901
|
-
messageEncoding: 0,
|
|
2902
|
-
jsonFormat: 0,
|
|
2903
|
-
enforceNamingStyle: 0,
|
|
2904
|
-
defaultSymbolVisibility: 0,
|
|
2905
|
-
};
|
|
2906
|
-
}
|
|
2907
|
-
export const FeatureSet = {
|
|
2908
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2909
|
-
if (message.fieldPresence !== undefined && message.fieldPresence !== 0) {
|
|
2910
|
-
writer.uint32(8).int32(message.fieldPresence);
|
|
2911
|
-
}
|
|
2912
|
-
if (message.enumType !== undefined && message.enumType !== 0) {
|
|
2913
|
-
writer.uint32(16).int32(message.enumType);
|
|
2914
|
-
}
|
|
2915
|
-
if (message.repeatedFieldEncoding !== undefined && message.repeatedFieldEncoding !== 0) {
|
|
2916
|
-
writer.uint32(24).int32(message.repeatedFieldEncoding);
|
|
2917
|
-
}
|
|
2918
|
-
if (message.utf8Validation !== undefined && message.utf8Validation !== 0) {
|
|
2919
|
-
writer.uint32(32).int32(message.utf8Validation);
|
|
2920
|
-
}
|
|
2921
|
-
if (message.messageEncoding !== undefined && message.messageEncoding !== 0) {
|
|
2922
|
-
writer.uint32(40).int32(message.messageEncoding);
|
|
2923
|
-
}
|
|
2924
|
-
if (message.jsonFormat !== undefined && message.jsonFormat !== 0) {
|
|
2925
|
-
writer.uint32(48).int32(message.jsonFormat);
|
|
2926
|
-
}
|
|
2927
|
-
if (message.enforceNamingStyle !== undefined && message.enforceNamingStyle !== 0) {
|
|
2928
|
-
writer.uint32(56).int32(message.enforceNamingStyle);
|
|
2929
|
-
}
|
|
2930
|
-
if (message.defaultSymbolVisibility !== undefined && message.defaultSymbolVisibility !== 0) {
|
|
2931
|
-
writer.uint32(64).int32(message.defaultSymbolVisibility);
|
|
2932
|
-
}
|
|
2933
|
-
return writer;
|
|
2934
|
-
},
|
|
2935
|
-
decode(input, length) {
|
|
2936
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2937
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2938
|
-
const message = createBaseFeatureSet();
|
|
2939
|
-
while (reader.pos < end) {
|
|
2940
|
-
const tag = reader.uint32();
|
|
2941
|
-
switch (tag >>> 3) {
|
|
2942
|
-
case 1: {
|
|
2943
|
-
if (tag !== 8) {
|
|
2944
|
-
break;
|
|
2945
|
-
}
|
|
2946
|
-
message.fieldPresence = reader.int32();
|
|
2947
|
-
continue;
|
|
2948
|
-
}
|
|
2949
|
-
case 2: {
|
|
2950
|
-
if (tag !== 16) {
|
|
2951
|
-
break;
|
|
2952
|
-
}
|
|
2953
|
-
message.enumType = reader.int32();
|
|
2954
|
-
continue;
|
|
2955
|
-
}
|
|
2956
|
-
case 3: {
|
|
2957
|
-
if (tag !== 24) {
|
|
2958
|
-
break;
|
|
2959
|
-
}
|
|
2960
|
-
message.repeatedFieldEncoding = reader.int32();
|
|
2961
|
-
continue;
|
|
2962
|
-
}
|
|
2963
|
-
case 4: {
|
|
2964
|
-
if (tag !== 32) {
|
|
2965
|
-
break;
|
|
2966
|
-
}
|
|
2967
|
-
message.utf8Validation = reader.int32();
|
|
2968
|
-
continue;
|
|
2969
|
-
}
|
|
2970
|
-
case 5: {
|
|
2971
|
-
if (tag !== 40) {
|
|
2972
|
-
break;
|
|
2973
|
-
}
|
|
2974
|
-
message.messageEncoding = reader.int32();
|
|
2975
|
-
continue;
|
|
2976
|
-
}
|
|
2977
|
-
case 6: {
|
|
2978
|
-
if (tag !== 48) {
|
|
2979
|
-
break;
|
|
2980
|
-
}
|
|
2981
|
-
message.jsonFormat = reader.int32();
|
|
2982
|
-
continue;
|
|
2983
|
-
}
|
|
2984
|
-
case 7: {
|
|
2985
|
-
if (tag !== 56) {
|
|
2986
|
-
break;
|
|
2987
|
-
}
|
|
2988
|
-
message.enforceNamingStyle = reader.int32();
|
|
2989
|
-
continue;
|
|
2990
|
-
}
|
|
2991
|
-
case 8: {
|
|
2992
|
-
if (tag !== 64) {
|
|
2993
|
-
break;
|
|
2994
|
-
}
|
|
2995
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
2996
|
-
continue;
|
|
2997
|
-
}
|
|
2998
|
-
}
|
|
2999
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3000
|
-
break;
|
|
3001
|
-
}
|
|
3002
|
-
reader.skip(tag & 7);
|
|
3003
|
-
}
|
|
3004
|
-
return message;
|
|
3005
|
-
},
|
|
3006
|
-
create(base) {
|
|
3007
|
-
return FeatureSet.fromPartial(base ?? {});
|
|
3008
|
-
},
|
|
3009
|
-
fromPartial(object) {
|
|
3010
|
-
const message = createBaseFeatureSet();
|
|
3011
|
-
message.fieldPresence = object.fieldPresence ?? 0;
|
|
3012
|
-
message.enumType = object.enumType ?? 0;
|
|
3013
|
-
message.repeatedFieldEncoding = object.repeatedFieldEncoding ?? 0;
|
|
3014
|
-
message.utf8Validation = object.utf8Validation ?? 0;
|
|
3015
|
-
message.messageEncoding = object.messageEncoding ?? 0;
|
|
3016
|
-
message.jsonFormat = object.jsonFormat ?? 0;
|
|
3017
|
-
message.enforceNamingStyle = object.enforceNamingStyle ?? 0;
|
|
3018
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility ?? 0;
|
|
3019
|
-
return message;
|
|
3020
|
-
},
|
|
3021
|
-
};
|
|
3022
|
-
function createBaseFeatureSet_VisibilityFeature() {
|
|
3023
|
-
return {};
|
|
3024
|
-
}
|
|
3025
|
-
export const FeatureSet_VisibilityFeature = {
|
|
3026
|
-
encode(_, writer = new BinaryWriter()) {
|
|
3027
|
-
return writer;
|
|
3028
|
-
},
|
|
3029
|
-
decode(input, length) {
|
|
3030
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3031
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3032
|
-
const message = createBaseFeatureSet_VisibilityFeature();
|
|
3033
|
-
while (reader.pos < end) {
|
|
3034
|
-
const tag = reader.uint32();
|
|
3035
|
-
switch (tag >>> 3) {
|
|
3036
|
-
}
|
|
3037
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3038
|
-
break;
|
|
3039
|
-
}
|
|
3040
|
-
reader.skip(tag & 7);
|
|
3041
|
-
}
|
|
3042
|
-
return message;
|
|
3043
|
-
},
|
|
3044
|
-
create(base) {
|
|
3045
|
-
return FeatureSet_VisibilityFeature.fromPartial(base ?? {});
|
|
3046
|
-
},
|
|
3047
|
-
fromPartial(_) {
|
|
3048
|
-
const message = createBaseFeatureSet_VisibilityFeature();
|
|
3049
|
-
return message;
|
|
3050
|
-
},
|
|
3051
|
-
};
|
|
3052
|
-
function createBaseFeatureSetDefaults() {
|
|
3053
|
-
return { defaults: [], minimumEdition: 0, maximumEdition: 0 };
|
|
3054
|
-
}
|
|
3055
|
-
export const FeatureSetDefaults = {
|
|
3056
|
-
encode(message, writer = new BinaryWriter()) {
|
|
3057
|
-
for (const v of message.defaults) {
|
|
3058
|
-
FeatureSetDefaults_FeatureSetEditionDefault.encode(v, writer.uint32(10).fork()).join();
|
|
3059
|
-
}
|
|
3060
|
-
if (message.minimumEdition !== undefined && message.minimumEdition !== 0) {
|
|
3061
|
-
writer.uint32(32).int32(message.minimumEdition);
|
|
3062
|
-
}
|
|
3063
|
-
if (message.maximumEdition !== undefined && message.maximumEdition !== 0) {
|
|
3064
|
-
writer.uint32(40).int32(message.maximumEdition);
|
|
3065
|
-
}
|
|
3066
|
-
return writer;
|
|
3067
|
-
},
|
|
3068
|
-
decode(input, length) {
|
|
3069
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3070
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3071
|
-
const message = createBaseFeatureSetDefaults();
|
|
3072
|
-
while (reader.pos < end) {
|
|
3073
|
-
const tag = reader.uint32();
|
|
3074
|
-
switch (tag >>> 3) {
|
|
3075
|
-
case 1: {
|
|
3076
|
-
if (tag !== 10) {
|
|
3077
|
-
break;
|
|
3078
|
-
}
|
|
3079
|
-
message.defaults.push(FeatureSetDefaults_FeatureSetEditionDefault.decode(reader, reader.uint32()));
|
|
3080
|
-
continue;
|
|
3081
|
-
}
|
|
3082
|
-
case 4: {
|
|
3083
|
-
if (tag !== 32) {
|
|
3084
|
-
break;
|
|
3085
|
-
}
|
|
3086
|
-
message.minimumEdition = reader.int32();
|
|
3087
|
-
continue;
|
|
3088
|
-
}
|
|
3089
|
-
case 5: {
|
|
3090
|
-
if (tag !== 40) {
|
|
3091
|
-
break;
|
|
3092
|
-
}
|
|
3093
|
-
message.maximumEdition = reader.int32();
|
|
3094
|
-
continue;
|
|
3095
|
-
}
|
|
3096
|
-
}
|
|
3097
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3098
|
-
break;
|
|
3099
|
-
}
|
|
3100
|
-
reader.skip(tag & 7);
|
|
3101
|
-
}
|
|
3102
|
-
return message;
|
|
3103
|
-
},
|
|
3104
|
-
create(base) {
|
|
3105
|
-
return FeatureSetDefaults.fromPartial(base ?? {});
|
|
3106
|
-
},
|
|
3107
|
-
fromPartial(object) {
|
|
3108
|
-
const message = createBaseFeatureSetDefaults();
|
|
3109
|
-
message.defaults = object.defaults?.map((e) => FeatureSetDefaults_FeatureSetEditionDefault.fromPartial(e)) || [];
|
|
3110
|
-
message.minimumEdition = object.minimumEdition ?? 0;
|
|
3111
|
-
message.maximumEdition = object.maximumEdition ?? 0;
|
|
3112
|
-
return message;
|
|
3113
|
-
},
|
|
3114
|
-
};
|
|
3115
|
-
function createBaseFeatureSetDefaults_FeatureSetEditionDefault() {
|
|
3116
|
-
return { edition: 0, overridableFeatures: undefined, fixedFeatures: undefined };
|
|
3117
|
-
}
|
|
3118
|
-
export const FeatureSetDefaults_FeatureSetEditionDefault = {
|
|
3119
|
-
encode(message, writer = new BinaryWriter()) {
|
|
3120
|
-
if (message.edition !== undefined && message.edition !== 0) {
|
|
3121
|
-
writer.uint32(24).int32(message.edition);
|
|
3122
|
-
}
|
|
3123
|
-
if (message.overridableFeatures !== undefined) {
|
|
3124
|
-
FeatureSet.encode(message.overridableFeatures, writer.uint32(34).fork()).join();
|
|
3125
|
-
}
|
|
3126
|
-
if (message.fixedFeatures !== undefined) {
|
|
3127
|
-
FeatureSet.encode(message.fixedFeatures, writer.uint32(42).fork()).join();
|
|
3128
|
-
}
|
|
3129
|
-
return writer;
|
|
3130
|
-
},
|
|
3131
|
-
decode(input, length) {
|
|
3132
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3133
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3134
|
-
const message = createBaseFeatureSetDefaults_FeatureSetEditionDefault();
|
|
3135
|
-
while (reader.pos < end) {
|
|
3136
|
-
const tag = reader.uint32();
|
|
3137
|
-
switch (tag >>> 3) {
|
|
3138
|
-
case 3: {
|
|
3139
|
-
if (tag !== 24) {
|
|
3140
|
-
break;
|
|
3141
|
-
}
|
|
3142
|
-
message.edition = reader.int32();
|
|
3143
|
-
continue;
|
|
3144
|
-
}
|
|
3145
|
-
case 4: {
|
|
3146
|
-
if (tag !== 34) {
|
|
3147
|
-
break;
|
|
3148
|
-
}
|
|
3149
|
-
message.overridableFeatures = FeatureSet.decode(reader, reader.uint32());
|
|
3150
|
-
continue;
|
|
3151
|
-
}
|
|
3152
|
-
case 5: {
|
|
3153
|
-
if (tag !== 42) {
|
|
3154
|
-
break;
|
|
3155
|
-
}
|
|
3156
|
-
message.fixedFeatures = FeatureSet.decode(reader, reader.uint32());
|
|
3157
|
-
continue;
|
|
3158
|
-
}
|
|
3159
|
-
}
|
|
3160
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3161
|
-
break;
|
|
3162
|
-
}
|
|
3163
|
-
reader.skip(tag & 7);
|
|
3164
|
-
}
|
|
3165
|
-
return message;
|
|
3166
|
-
},
|
|
3167
|
-
create(base) {
|
|
3168
|
-
return FeatureSetDefaults_FeatureSetEditionDefault.fromPartial(base ?? {});
|
|
3169
|
-
},
|
|
3170
|
-
fromPartial(object) {
|
|
3171
|
-
const message = createBaseFeatureSetDefaults_FeatureSetEditionDefault();
|
|
3172
|
-
message.edition = object.edition ?? 0;
|
|
3173
|
-
message.overridableFeatures = (object.overridableFeatures !== undefined && object.overridableFeatures !== null)
|
|
3174
|
-
? FeatureSet.fromPartial(object.overridableFeatures)
|
|
3175
|
-
: undefined;
|
|
3176
|
-
message.fixedFeatures = (object.fixedFeatures !== undefined && object.fixedFeatures !== null)
|
|
3177
|
-
? FeatureSet.fromPartial(object.fixedFeatures)
|
|
3178
|
-
: undefined;
|
|
3179
|
-
return message;
|
|
3180
|
-
},
|
|
3181
|
-
};
|
|
3182
2187
|
function createBaseSourceCodeInfo() {
|
|
3183
2188
|
return { location: [] };
|
|
3184
2189
|
}
|
|
@@ -3365,7 +2370,7 @@ export const GeneratedCodeInfo = {
|
|
|
3365
2370
|
},
|
|
3366
2371
|
};
|
|
3367
2372
|
function createBaseGeneratedCodeInfo_Annotation() {
|
|
3368
|
-
return { path: [], sourceFile: "", begin: 0, end: 0
|
|
2373
|
+
return { path: [], sourceFile: "", begin: 0, end: 0 };
|
|
3369
2374
|
}
|
|
3370
2375
|
export const GeneratedCodeInfo_Annotation = {
|
|
3371
2376
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -3383,9 +2388,6 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3383
2388
|
if (message.end !== undefined && message.end !== 0) {
|
|
3384
2389
|
writer.uint32(32).int32(message.end);
|
|
3385
2390
|
}
|
|
3386
|
-
if (message.semantic !== undefined && message.semantic !== 0) {
|
|
3387
|
-
writer.uint32(40).int32(message.semantic);
|
|
3388
|
-
}
|
|
3389
2391
|
return writer;
|
|
3390
2392
|
},
|
|
3391
2393
|
decode(input, length) {
|
|
@@ -3430,13 +2432,6 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3430
2432
|
message.end = reader.int32();
|
|
3431
2433
|
continue;
|
|
3432
2434
|
}
|
|
3433
|
-
case 5: {
|
|
3434
|
-
if (tag !== 40) {
|
|
3435
|
-
break;
|
|
3436
|
-
}
|
|
3437
|
-
message.semantic = reader.int32();
|
|
3438
|
-
continue;
|
|
3439
|
-
}
|
|
3440
2435
|
}
|
|
3441
2436
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3442
2437
|
break;
|
|
@@ -3454,7 +2449,6 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3454
2449
|
message.sourceFile = object.sourceFile ?? "";
|
|
3455
2450
|
message.begin = object.begin ?? 0;
|
|
3456
2451
|
message.end = object.end ?? 0;
|
|
3457
|
-
message.semantic = object.semantic ?? 0;
|
|
3458
2452
|
return message;
|
|
3459
2453
|
},
|
|
3460
2454
|
};
|