@devvit/protos 0.10.21-next-2024-05-15-9f8d1165e.0 → 0.10.21-next-2024-05-15-604242ba9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +48 -19
- package/package.json +5 -5
- package/protos.min.js +2 -2
- package/protos.min.js.map +3 -3
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +22 -22
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +353 -79
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +1 -1
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js +9 -3
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +1 -1
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.js +9 -3
- package/types/google/protobuf/any.d.ts +5 -4
- package/types/google/protobuf/any.d.ts.map +1 -1
- package/types/google/protobuf/descriptor.d.ts +299 -36
- package/types/google/protobuf/descriptor.d.ts.map +1 -1
- package/types/google/protobuf/descriptor.js +1108 -49
- package/types/google/protobuf/struct.d.ts +1 -1
- package/types/google/protobuf/struct.js +1 -1
- package/types/google/protobuf/timestamp.d.ts +1 -1
@@ -310,9 +310,14 @@ export const NewModmailDefinition = {
|
|
310
310
|
options: {
|
311
311
|
_unknownFields: {
|
312
312
|
480010: [
|
313
|
-
new Uint8Array([6, 10, 4, 80, 79, 83, 84]),
|
314
313
|
new Uint8Array([
|
315
|
-
|
314
|
+
39,
|
315
|
+
10,
|
316
|
+
4,
|
317
|
+
80,
|
318
|
+
79,
|
319
|
+
83,
|
320
|
+
84,
|
316
321
|
18,
|
317
322
|
29,
|
318
323
|
47,
|
@@ -344,8 +349,9 @@ export const NewModmailDefinition = {
|
|
344
349
|
101,
|
345
350
|
97,
|
346
351
|
100,
|
352
|
+
24,
|
353
|
+
3,
|
347
354
|
]),
|
348
|
-
new Uint8Array([2, 24, 3]),
|
349
355
|
],
|
350
356
|
},
|
351
357
|
},
|
@@ -121,7 +121,7 @@ export declare const PrivateMessagesDefinition: {
|
|
121
121
|
readonly responseStream: false;
|
122
122
|
readonly options: {
|
123
123
|
readonly _unknownFields: {
|
124
|
-
readonly 480010: readonly [Uint8Array
|
124
|
+
readonly 480010: readonly [Uint8Array];
|
125
125
|
};
|
126
126
|
};
|
127
127
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"privatemessages_svc.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EACL,cAAc,EACd,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAElC;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,KAAK,CAAC,OAAO,EAAE,6BAA6B,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IACnF,+DAA+D;IAC/D,eAAe,CAAC,OAAO,EAAE,6BAA6B,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAC7F,sDAAsD;IACtD,OAAO,CAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IACtE,sDAAsD;IACtD,MAAM,CAAC,OAAO,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjD,CAAC;AAEX,UAAU,GAAG;IACX,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CACtG"}
|
@@ -98,9 +98,14 @@ export const PrivateMessagesDefinition = {
|
|
98
98
|
options: {
|
99
99
|
_unknownFields: {
|
100
100
|
480010: [
|
101
|
-
new Uint8Array([6, 10, 4, 80, 79, 83, 84]),
|
102
101
|
new Uint8Array([
|
103
|
-
|
102
|
+
36,
|
103
|
+
10,
|
104
|
+
4,
|
105
|
+
80,
|
106
|
+
79,
|
107
|
+
83,
|
108
|
+
84,
|
104
109
|
18,
|
105
110
|
26,
|
106
111
|
47,
|
@@ -129,8 +134,9 @@ export const PrivateMessagesDefinition = {
|
|
129
134
|
115,
|
130
135
|
111,
|
131
136
|
110,
|
137
|
+
24,
|
138
|
+
1,
|
132
139
|
]),
|
133
|
-
new Uint8Array([2, 24, 1]),
|
134
140
|
],
|
135
141
|
},
|
136
142
|
},
|
@@ -34,7 +34,7 @@ import _m0 from 'protobufjs/minimal.js';
|
|
34
34
|
* foo = any.unpack(Foo.getDefaultInstance());
|
35
35
|
* }
|
36
36
|
*
|
37
|
-
*
|
37
|
+
* Example 3: Pack and unpack a message in Python.
|
38
38
|
*
|
39
39
|
* foo = Foo(...)
|
40
40
|
* any = Any()
|
@@ -44,7 +44,7 @@ import _m0 from 'protobufjs/minimal.js';
|
|
44
44
|
* any.Unpack(foo)
|
45
45
|
* ...
|
46
46
|
*
|
47
|
-
*
|
47
|
+
* Example 4: Pack and unpack a message in Go
|
48
48
|
*
|
49
49
|
* foo := &pb.Foo{...}
|
50
50
|
* any, err := anypb.New(foo)
|
@@ -64,7 +64,7 @@ import _m0 from 'protobufjs/minimal.js';
|
|
64
64
|
* name "y.z".
|
65
65
|
*
|
66
66
|
* JSON
|
67
|
-
*
|
67
|
+
* ====
|
68
68
|
* The JSON representation of an `Any` value uses the regular
|
69
69
|
* representation of the deserialized, embedded message, with an
|
70
70
|
* additional field `@type` which contains the type URL. Example:
|
@@ -116,7 +116,8 @@ export interface Any {
|
|
116
116
|
*
|
117
117
|
* Note: this functionality is not currently available in the official
|
118
118
|
* protobuf release, and it is not used for type URLs beginning with
|
119
|
-
* type.googleapis.com.
|
119
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
120
|
+
* implementations and no plans to implement one.
|
120
121
|
*
|
121
122
|
* Schemes other than `http`, `https` (or the empty scheme) might be
|
122
123
|
* used with implementation specific semantics.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../src/types/google/protobuf/any.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAGxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,MAAM,WAAW,GAAG;IAClB
|
1
|
+
{"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../src/types/google/protobuf/any.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAGxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,MAAM,WAAW,GAAG;IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,KAAK,EAAE,UAAU,CAAC;CACnB;AAMD,eAAO,MAAM,GAAG;;oBAGE,GAAG,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAU5D,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,GAAG;qBA8B3C,GAAG,GAAG,GAAG;oBAOV,GAAG,GAAG,OAAO;kBAWf,YAAY,GAAG,CAAC,GAAG,GAAG;wBAGhB,YAAY,GAAG,CAAC,GAAG,GAAG;CAM3C,CAAC;AA6BF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACvC,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
@@ -4,6 +4,44 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
import _m0 from 'protobufjs/minimal.js';
|
7
|
+
/** The full set of known editions. */
|
8
|
+
export declare enum Edition {
|
9
|
+
/** EDITION_UNKNOWN - A placeholder for an unknown edition value. */
|
10
|
+
EDITION_UNKNOWN = 0,
|
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
|
+
/**
|
27
|
+
* EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
|
28
|
+
* used or relyed on outside of tests.
|
29
|
+
*/
|
30
|
+
EDITION_1_TEST_ONLY = 1,
|
31
|
+
EDITION_2_TEST_ONLY = 2,
|
32
|
+
EDITION_99997_TEST_ONLY = 99997,
|
33
|
+
EDITION_99998_TEST_ONLY = 99998,
|
34
|
+
EDITION_99999_TEST_ONLY = 99999,
|
35
|
+
/**
|
36
|
+
* EDITION_MAX - Placeholder for specifying unbounded edition support. This should only
|
37
|
+
* ever be used by plugins that can expect to never require any changes to
|
38
|
+
* support a new edition.
|
39
|
+
*/
|
40
|
+
EDITION_MAX = 2147483647,
|
41
|
+
UNRECOGNIZED = -1
|
42
|
+
}
|
43
|
+
export declare function editionFromJSON(object: any): Edition;
|
44
|
+
export declare function editionToJSON(object: Edition): number;
|
7
45
|
/**
|
8
46
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
9
47
|
* files it parses.
|
@@ -46,8 +84,8 @@ export interface FileDescriptorProto {
|
|
46
84
|
* If `edition` is present, this value must be "editions".
|
47
85
|
*/
|
48
86
|
syntax?: string | undefined;
|
49
|
-
/** The edition of the proto file
|
50
|
-
edition?:
|
87
|
+
/** The edition of the proto file. */
|
88
|
+
edition?: Edition | undefined;
|
51
89
|
}
|
52
90
|
/** Describes a message type. */
|
53
91
|
export interface DescriptorProto {
|
@@ -87,6 +125,55 @@ export interface DescriptorProto_ReservedRange {
|
|
87
125
|
export interface ExtensionRangeOptions {
|
88
126
|
/** The parser stores options it doesn't recognize here. See above. */
|
89
127
|
uninterpretedOption: UninterpretedOption[];
|
128
|
+
/**
|
129
|
+
* For external users: DO NOT USE. We are in the process of open sourcing
|
130
|
+
* extension declaration and executing internal cleanups before it can be
|
131
|
+
* used externally.
|
132
|
+
*/
|
133
|
+
declaration: ExtensionRangeOptions_Declaration[];
|
134
|
+
/** Any features defined in the specific edition. */
|
135
|
+
features?: FeatureSet | undefined;
|
136
|
+
/**
|
137
|
+
* The verification state of the range.
|
138
|
+
* TODO: flip the default to DECLARATION once all empty ranges
|
139
|
+
* are marked as UNVERIFIED.
|
140
|
+
*/
|
141
|
+
verification?: ExtensionRangeOptions_VerificationState | undefined;
|
142
|
+
}
|
143
|
+
/** The verification state of the extension range. */
|
144
|
+
export declare enum ExtensionRangeOptions_VerificationState {
|
145
|
+
/** DECLARATION - All the extensions of the range must be declared. */
|
146
|
+
DECLARATION = 0,
|
147
|
+
UNVERIFIED = 1,
|
148
|
+
UNRECOGNIZED = -1
|
149
|
+
}
|
150
|
+
export declare function extensionRangeOptions_VerificationStateFromJSON(object: any): ExtensionRangeOptions_VerificationState;
|
151
|
+
export declare function extensionRangeOptions_VerificationStateToJSON(object: ExtensionRangeOptions_VerificationState): number;
|
152
|
+
export interface ExtensionRangeOptions_Declaration {
|
153
|
+
/** The extension number declared within the extension range. */
|
154
|
+
number?: number | undefined;
|
155
|
+
/**
|
156
|
+
* The fully-qualified name of the extension field. There must be a leading
|
157
|
+
* dot in front of the full name.
|
158
|
+
*/
|
159
|
+
fullName?: string | undefined;
|
160
|
+
/**
|
161
|
+
* The fully-qualified type name of the extension field. Unlike
|
162
|
+
* Metadata.type, Declaration.type must have a leading dot for messages
|
163
|
+
* and enums.
|
164
|
+
*/
|
165
|
+
type?: string | undefined;
|
166
|
+
/**
|
167
|
+
* If true, indicates that the number is reserved in the extension range,
|
168
|
+
* and any extension field with the number will fail to compile. Set this
|
169
|
+
* when a declared extension field is deleted.
|
170
|
+
*/
|
171
|
+
reserved?: boolean | undefined;
|
172
|
+
/**
|
173
|
+
* If true, indicates that the extension must be defined as repeated.
|
174
|
+
* Otherwise the extension must be defined as optional.
|
175
|
+
*/
|
176
|
+
repeated?: boolean | undefined;
|
90
177
|
}
|
91
178
|
/** Describes a field within a message. */
|
92
179
|
export interface FieldDescriptorProto {
|
@@ -135,12 +222,12 @@ export interface FieldDescriptorProto {
|
|
135
222
|
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
136
223
|
* tracks presence regardless of field type.
|
137
224
|
*
|
138
|
-
* When proto3_optional is true, this field must
|
139
|
-
*
|
140
|
-
*
|
141
|
-
*
|
142
|
-
*
|
143
|
-
*
|
225
|
+
* When proto3_optional is true, this field must belong to a oneof to signal
|
226
|
+
* to old proto3 clients that presence is tracked for this field. This oneof
|
227
|
+
* is known as a "synthetic" oneof, and this field must be its sole member
|
228
|
+
* (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
|
229
|
+
* exist in the descriptor only, and do not generate any API. Synthetic oneofs
|
230
|
+
* must be ordered after all "real" oneofs.
|
144
231
|
*
|
145
232
|
* For message fields, proto3_optional doesn't create any semantic change,
|
146
233
|
* since non-repeated message fields always track presence. However it still
|
@@ -180,9 +267,10 @@ export declare enum FieldDescriptorProto_Type {
|
|
180
267
|
TYPE_STRING = 9,
|
181
268
|
/**
|
182
269
|
* TYPE_GROUP - Tag-delimited aggregate.
|
183
|
-
* Group type is deprecated and not supported
|
270
|
+
* Group type is deprecated and not supported after google.protobuf. However, Proto3
|
184
271
|
* implementations should still be able to parse the group wire format and
|
185
|
-
* treat group fields as unknown fields.
|
272
|
+
* treat group fields as unknown fields. In Editions, the group wire format
|
273
|
+
* can be enabled via the `message_encoding` feature.
|
186
274
|
*/
|
187
275
|
TYPE_GROUP = 10,
|
188
276
|
/** TYPE_MESSAGE - Length-delimited aggregate. */
|
@@ -204,8 +292,13 @@ export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorP
|
|
204
292
|
export declare enum FieldDescriptorProto_Label {
|
205
293
|
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
206
294
|
LABEL_OPTIONAL = 1,
|
207
|
-
LABEL_REQUIRED = 2,
|
208
295
|
LABEL_REPEATED = 3,
|
296
|
+
/**
|
297
|
+
* LABEL_REQUIRED - The required label is only allowed in google.protobuf. In proto3 and Editions
|
298
|
+
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
299
|
+
* can be used to get this behavior.
|
300
|
+
*/
|
301
|
+
LABEL_REQUIRED = 2,
|
209
302
|
UNRECOGNIZED = -1
|
210
303
|
}
|
211
304
|
export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label;
|
@@ -337,7 +430,6 @@ export interface FileOptions {
|
|
337
430
|
ccGenericServices?: boolean | undefined;
|
338
431
|
javaGenericServices?: boolean | undefined;
|
339
432
|
pyGenericServices?: boolean | undefined;
|
340
|
-
phpGenericServices?: boolean | undefined;
|
341
433
|
/**
|
342
434
|
* Is this file deprecated?
|
343
435
|
* Depending on the target platform, this can emit Deprecated annotations
|
@@ -387,6 +479,8 @@ export interface FileOptions {
|
|
387
479
|
* determining the ruby package.
|
388
480
|
*/
|
389
481
|
rubyPackage?: string | undefined;
|
482
|
+
/** Any features defined in the specific edition. */
|
483
|
+
features?: FeatureSet | undefined;
|
390
484
|
/**
|
391
485
|
* The parser stores options it doesn't recognize here.
|
392
486
|
* See the documentation for the "Options" section above.
|
@@ -441,10 +535,6 @@ export interface MessageOptions {
|
|
441
535
|
*/
|
442
536
|
deprecated?: boolean | undefined;
|
443
537
|
/**
|
444
|
-
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
445
|
-
* instead. The option should only be implicitly set by the proto compiler
|
446
|
-
* parser.
|
447
|
-
*
|
448
538
|
* Whether the message is an automatically generated map entry type for the
|
449
539
|
* maps field.
|
450
540
|
*
|
@@ -462,6 +552,10 @@ export interface MessageOptions {
|
|
462
552
|
* use a native map in the target language to hold the keys and values.
|
463
553
|
* The reflection APIs in such implementations still need to work as
|
464
554
|
* if the field is a repeated message field.
|
555
|
+
*
|
556
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
557
|
+
* instead. The option should only be implicitly set by the proto compiler
|
558
|
+
* parser.
|
465
559
|
*/
|
466
560
|
mapEntry?: boolean | undefined;
|
467
561
|
/**
|
@@ -473,12 +567,14 @@ export interface MessageOptions {
|
|
473
567
|
* This should only be used as a temporary measure against broken builds due
|
474
568
|
* to the change in behavior for JSON field name conflicts.
|
475
569
|
*
|
476
|
-
* TODO
|
570
|
+
* TODO This is legacy behavior we plan to remove once downstream
|
477
571
|
* teams have had time to migrate.
|
478
572
|
*
|
479
573
|
* @deprecated
|
480
574
|
*/
|
481
575
|
deprecatedLegacyJsonFieldConflicts?: boolean | undefined;
|
576
|
+
/** Any features defined in the specific edition. */
|
577
|
+
features?: FeatureSet | undefined;
|
482
578
|
/** The parser stores options it doesn't recognize here. See above. */
|
483
579
|
uninterpretedOption: UninterpretedOption[];
|
484
580
|
}
|
@@ -486,8 +582,10 @@ export interface FieldOptions {
|
|
486
582
|
/**
|
487
583
|
* The ctype option instructs the C++ code generator to use a different
|
488
584
|
* representation of the field than it normally would. See the specific
|
489
|
-
* options below. This option is
|
490
|
-
*
|
585
|
+
* options below. This option is only implemented to support use of
|
586
|
+
* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
|
587
|
+
* type "bytes" in the open source release -- sorry, we'll try to include
|
588
|
+
* other types in a future version!
|
491
589
|
*/
|
492
590
|
ctype?: FieldOptions_CType | undefined;
|
493
591
|
/**
|
@@ -495,7 +593,9 @@ export interface FieldOptions {
|
|
495
593
|
* a more efficient representation on the wire. Rather than repeatedly
|
496
594
|
* writing the tag and type for each element, the entire array is encoded as
|
497
595
|
* a single length-delimited blob. In proto3, only explicit setting it to
|
498
|
-
* false will avoid using packed encoding.
|
596
|
+
* false will avoid using packed encoding. This option is prohibited in
|
597
|
+
* Editions, but the `repeated_field_encoding` feature can be used to control
|
598
|
+
* the behavior.
|
499
599
|
*/
|
500
600
|
packed?: boolean | undefined;
|
501
601
|
/**
|
@@ -530,19 +630,11 @@ export interface FieldOptions {
|
|
530
630
|
* call from multiple threads concurrently, while non-const methods continue
|
531
631
|
* to require exclusive access.
|
532
632
|
*
|
533
|
-
* Note that
|
534
|
-
*
|
535
|
-
*
|
536
|
-
*
|
537
|
-
*
|
538
|
-
* parsing. An implementation which chooses not to check required fields
|
539
|
-
* must be consistent about it. That is, for any particular sub-message, the
|
540
|
-
* implementation must either *always* check its required fields, or *never*
|
541
|
-
* check its required fields, regardless of whether or not the message has
|
542
|
-
* been parsed.
|
543
|
-
*
|
544
|
-
* As of May 2022, lazy verifies the contents of the byte stream during
|
545
|
-
* parsing. An invalid byte stream will cause the overall parsing to fail.
|
633
|
+
* Note that lazy message fields are still eagerly verified to check
|
634
|
+
* ill-formed wireformat or missing required fields. Calling IsInitialized()
|
635
|
+
* on the outer message would fail if the inner message has missing required
|
636
|
+
* fields. Failed verification would result in parsing failure (except when
|
637
|
+
* uninitialized messages are acceptable).
|
546
638
|
*/
|
547
639
|
lazy?: boolean | undefined;
|
548
640
|
/**
|
@@ -566,13 +658,24 @@ export interface FieldOptions {
|
|
566
658
|
*/
|
567
659
|
debugRedact?: boolean | undefined;
|
568
660
|
retention?: FieldOptions_OptionRetention | undefined;
|
569
|
-
|
661
|
+
targets: FieldOptions_OptionTargetType[];
|
662
|
+
editionDefaults: FieldOptions_EditionDefault[];
|
663
|
+
/** Any features defined in the specific edition. */
|
664
|
+
features?: FeatureSet | undefined;
|
570
665
|
/** The parser stores options it doesn't recognize here. See above. */
|
571
666
|
uninterpretedOption: UninterpretedOption[];
|
572
667
|
}
|
573
668
|
export declare enum FieldOptions_CType {
|
574
669
|
/** STRING - Default mode. */
|
575
670
|
STRING = 0,
|
671
|
+
/**
|
672
|
+
* CORD - The option [ctype=CORD] may be applied to a non-repeated field of type
|
673
|
+
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
674
|
+
* instead of a string. For very large strings, this may reduce memory
|
675
|
+
* fragmentation. It may also allow better performance when parsing from a
|
676
|
+
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
677
|
+
* alias the original buffer.
|
678
|
+
*/
|
576
679
|
CORD = 1,
|
577
680
|
STRING_PIECE = 2,
|
578
681
|
UNRECOGNIZED = -1
|
@@ -624,7 +727,14 @@ export declare enum FieldOptions_OptionTargetType {
|
|
624
727
|
}
|
625
728
|
export declare function fieldOptions_OptionTargetTypeFromJSON(object: any): FieldOptions_OptionTargetType;
|
626
729
|
export declare function fieldOptions_OptionTargetTypeToJSON(object: FieldOptions_OptionTargetType): number;
|
730
|
+
export interface FieldOptions_EditionDefault {
|
731
|
+
edition?: Edition | undefined;
|
732
|
+
/** Textproto value. */
|
733
|
+
value?: string | undefined;
|
734
|
+
}
|
627
735
|
export interface OneofOptions {
|
736
|
+
/** Any features defined in the specific edition. */
|
737
|
+
features?: FeatureSet | undefined;
|
628
738
|
/** The parser stores options it doesn't recognize here. See above. */
|
629
739
|
uninterpretedOption: UninterpretedOption[];
|
630
740
|
}
|
@@ -646,12 +756,14 @@ export interface EnumOptions {
|
|
646
756
|
* and strips underscored from the fields before comparison in proto3 only.
|
647
757
|
* The new behavior takes `json_name` into account and applies to proto2 as
|
648
758
|
* well.
|
649
|
-
* TODO
|
759
|
+
* TODO Remove this legacy behavior once downstream teams have
|
650
760
|
* had time to migrate.
|
651
761
|
*
|
652
762
|
* @deprecated
|
653
763
|
*/
|
654
764
|
deprecatedLegacyJsonFieldConflicts?: boolean | undefined;
|
765
|
+
/** Any features defined in the specific edition. */
|
766
|
+
features?: FeatureSet | undefined;
|
655
767
|
/** The parser stores options it doesn't recognize here. See above. */
|
656
768
|
uninterpretedOption: UninterpretedOption[];
|
657
769
|
}
|
@@ -663,10 +775,20 @@ export interface EnumValueOptions {
|
|
663
775
|
* this is a formalization for deprecating enum values.
|
664
776
|
*/
|
665
777
|
deprecated?: boolean | undefined;
|
778
|
+
/** Any features defined in the specific edition. */
|
779
|
+
features?: FeatureSet | undefined;
|
780
|
+
/**
|
781
|
+
* Indicate that fields annotated with this enum value should not be printed
|
782
|
+
* out when using debug formats, e.g. when the field contains sensitive
|
783
|
+
* credentials.
|
784
|
+
*/
|
785
|
+
debugRedact?: boolean | undefined;
|
666
786
|
/** The parser stores options it doesn't recognize here. See above. */
|
667
787
|
uninterpretedOption: UninterpretedOption[];
|
668
788
|
}
|
669
789
|
export interface ServiceOptions {
|
790
|
+
/** Any features defined in the specific edition. */
|
791
|
+
features?: FeatureSet | undefined;
|
670
792
|
/**
|
671
793
|
* Is this service deprecated?
|
672
794
|
* Depending on the target platform, this can emit Deprecated annotations
|
@@ -686,6 +808,8 @@ export interface MethodOptions {
|
|
686
808
|
*/
|
687
809
|
deprecated?: boolean | undefined;
|
688
810
|
idempotencyLevel?: MethodOptions_IdempotencyLevel | undefined;
|
811
|
+
/** Any features defined in the specific edition. */
|
812
|
+
features?: FeatureSet | undefined;
|
689
813
|
/** The parser stores options it doesn't recognize here. See above. */
|
690
814
|
uninterpretedOption: UninterpretedOption[];
|
691
815
|
}
|
@@ -736,6 +860,100 @@ export interface UninterpretedOption_NamePart {
|
|
736
860
|
namePart: string;
|
737
861
|
isExtension: boolean;
|
738
862
|
}
|
863
|
+
/**
|
864
|
+
* TODO Enums in C++ gencode (and potentially other languages) are
|
865
|
+
* not well scoped. This means that each of the feature enums below can clash
|
866
|
+
* with each other. The short names we've chosen maximize call-site
|
867
|
+
* readability, but leave us very open to this scenario. A future feature will
|
868
|
+
* be designed and implemented to handle this, hopefully before we ever hit a
|
869
|
+
* conflict here.
|
870
|
+
*/
|
871
|
+
export interface FeatureSet {
|
872
|
+
fieldPresence?: FeatureSet_FieldPresence | undefined;
|
873
|
+
enumType?: FeatureSet_EnumType | undefined;
|
874
|
+
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding | undefined;
|
875
|
+
utf8Validation?: FeatureSet_Utf8Validation | undefined;
|
876
|
+
messageEncoding?: FeatureSet_MessageEncoding | undefined;
|
877
|
+
jsonFormat?: FeatureSet_JsonFormat | undefined;
|
878
|
+
}
|
879
|
+
export declare enum FeatureSet_FieldPresence {
|
880
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
881
|
+
EXPLICIT = 1,
|
882
|
+
IMPLICIT = 2,
|
883
|
+
LEGACY_REQUIRED = 3,
|
884
|
+
UNRECOGNIZED = -1
|
885
|
+
}
|
886
|
+
export declare function featureSet_FieldPresenceFromJSON(object: any): FeatureSet_FieldPresence;
|
887
|
+
export declare function featureSet_FieldPresenceToJSON(object: FeatureSet_FieldPresence): number;
|
888
|
+
export declare enum FeatureSet_EnumType {
|
889
|
+
ENUM_TYPE_UNKNOWN = 0,
|
890
|
+
OPEN = 1,
|
891
|
+
CLOSED = 2,
|
892
|
+
UNRECOGNIZED = -1
|
893
|
+
}
|
894
|
+
export declare function featureSet_EnumTypeFromJSON(object: any): FeatureSet_EnumType;
|
895
|
+
export declare function featureSet_EnumTypeToJSON(object: FeatureSet_EnumType): number;
|
896
|
+
export declare enum FeatureSet_RepeatedFieldEncoding {
|
897
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
898
|
+
PACKED = 1,
|
899
|
+
EXPANDED = 2,
|
900
|
+
UNRECOGNIZED = -1
|
901
|
+
}
|
902
|
+
export declare function featureSet_RepeatedFieldEncodingFromJSON(object: any): FeatureSet_RepeatedFieldEncoding;
|
903
|
+
export declare function featureSet_RepeatedFieldEncodingToJSON(object: FeatureSet_RepeatedFieldEncoding): number;
|
904
|
+
export declare enum FeatureSet_Utf8Validation {
|
905
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
906
|
+
VERIFY = 2,
|
907
|
+
NONE = 3,
|
908
|
+
UNRECOGNIZED = -1
|
909
|
+
}
|
910
|
+
export declare function featureSet_Utf8ValidationFromJSON(object: any): FeatureSet_Utf8Validation;
|
911
|
+
export declare function featureSet_Utf8ValidationToJSON(object: FeatureSet_Utf8Validation): number;
|
912
|
+
export declare enum FeatureSet_MessageEncoding {
|
913
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
914
|
+
LENGTH_PREFIXED = 1,
|
915
|
+
DELIMITED = 2,
|
916
|
+
UNRECOGNIZED = -1
|
917
|
+
}
|
918
|
+
export declare function featureSet_MessageEncodingFromJSON(object: any): FeatureSet_MessageEncoding;
|
919
|
+
export declare function featureSet_MessageEncodingToJSON(object: FeatureSet_MessageEncoding): number;
|
920
|
+
export declare enum FeatureSet_JsonFormat {
|
921
|
+
JSON_FORMAT_UNKNOWN = 0,
|
922
|
+
ALLOW = 1,
|
923
|
+
LEGACY_BEST_EFFORT = 2,
|
924
|
+
UNRECOGNIZED = -1
|
925
|
+
}
|
926
|
+
export declare function featureSet_JsonFormatFromJSON(object: any): FeatureSet_JsonFormat;
|
927
|
+
export declare function featureSet_JsonFormatToJSON(object: FeatureSet_JsonFormat): number;
|
928
|
+
/**
|
929
|
+
* A compiled specification for the defaults of a set of features. These
|
930
|
+
* messages are generated from FeatureSet extensions and can be used to seed
|
931
|
+
* feature resolution. The resolution with this object becomes a simple search
|
932
|
+
* for the closest matching edition, followed by proto merges.
|
933
|
+
*/
|
934
|
+
export interface FeatureSetDefaults {
|
935
|
+
defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
|
936
|
+
/**
|
937
|
+
* The minimum supported edition (inclusive) when this was constructed.
|
938
|
+
* Editions before this will not have defaults.
|
939
|
+
*/
|
940
|
+
minimumEdition?: Edition | undefined;
|
941
|
+
/**
|
942
|
+
* The maximum known edition (inclusive) when this was constructed. Editions
|
943
|
+
* after this will not have reliable defaults.
|
944
|
+
*/
|
945
|
+
maximumEdition?: Edition | undefined;
|
946
|
+
}
|
947
|
+
/**
|
948
|
+
* A map from every known edition with a unique set of defaults to its
|
949
|
+
* defaults. Not all editions may be contained here. For a given edition,
|
950
|
+
* the defaults at the closest matching edition ordered at or before it should
|
951
|
+
* be used. This field must be in strict ascending order by edition.
|
952
|
+
*/
|
953
|
+
export interface FeatureSetDefaults_FeatureSetEditionDefault {
|
954
|
+
edition?: Edition | undefined;
|
955
|
+
features?: FeatureSet | undefined;
|
956
|
+
}
|
739
957
|
/**
|
740
958
|
* Encapsulates information about the original source file from which a
|
741
959
|
* FileDescriptorProto was generated.
|
@@ -794,7 +1012,7 @@ export interface SourceCodeInfo_Location {
|
|
794
1012
|
* location.
|
795
1013
|
*
|
796
1014
|
* Each element is a field number or an index. They form a path from
|
797
|
-
* the root FileDescriptorProto to the place where the definition
|
1015
|
+
* the root FileDescriptorProto to the place where the definition appears.
|
798
1016
|
* For example, this path:
|
799
1017
|
* [ 4, 3, 2, 7, 1 ]
|
800
1018
|
* refers to:
|
@@ -978,6 +1196,15 @@ export declare const ExtensionRangeOptions: {
|
|
978
1196
|
create(base?: DeepPartial<ExtensionRangeOptions>): ExtensionRangeOptions;
|
979
1197
|
fromPartial(object: DeepPartial<ExtensionRangeOptions>): ExtensionRangeOptions;
|
980
1198
|
};
|
1199
|
+
export declare const ExtensionRangeOptions_Declaration: {
|
1200
|
+
$type: "google.protobuf.ExtensionRangeOptions.Declaration";
|
1201
|
+
encode(message: ExtensionRangeOptions_Declaration, writer?: _m0.Writer): _m0.Writer;
|
1202
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions_Declaration;
|
1203
|
+
fromJSON(object: any): ExtensionRangeOptions_Declaration;
|
1204
|
+
toJSON(message: ExtensionRangeOptions_Declaration): unknown;
|
1205
|
+
create(base?: DeepPartial<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
|
1206
|
+
fromPartial(object: DeepPartial<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
|
1207
|
+
};
|
981
1208
|
export declare const FieldDescriptorProto: {
|
982
1209
|
$type: "google.protobuf.FieldDescriptorProto";
|
983
1210
|
encode(message: FieldDescriptorProto, writer?: _m0.Writer): _m0.Writer;
|
@@ -1068,6 +1295,15 @@ export declare const FieldOptions: {
|
|
1068
1295
|
create(base?: DeepPartial<FieldOptions>): FieldOptions;
|
1069
1296
|
fromPartial(object: DeepPartial<FieldOptions>): FieldOptions;
|
1070
1297
|
};
|
1298
|
+
export declare const FieldOptions_EditionDefault: {
|
1299
|
+
$type: "google.protobuf.FieldOptions.EditionDefault";
|
1300
|
+
encode(message: FieldOptions_EditionDefault, writer?: _m0.Writer): _m0.Writer;
|
1301
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_EditionDefault;
|
1302
|
+
fromJSON(object: any): FieldOptions_EditionDefault;
|
1303
|
+
toJSON(message: FieldOptions_EditionDefault): unknown;
|
1304
|
+
create(base?: DeepPartial<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
|
1305
|
+
fromPartial(object: DeepPartial<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
|
1306
|
+
};
|
1071
1307
|
export declare const OneofOptions: {
|
1072
1308
|
$type: "google.protobuf.OneofOptions";
|
1073
1309
|
encode(message: OneofOptions, writer?: _m0.Writer): _m0.Writer;
|
@@ -1131,6 +1367,33 @@ export declare const UninterpretedOption_NamePart: {
|
|
1131
1367
|
create(base?: DeepPartial<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
|
1132
1368
|
fromPartial(object: DeepPartial<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
|
1133
1369
|
};
|
1370
|
+
export declare const FeatureSet: {
|
1371
|
+
$type: "google.protobuf.FeatureSet";
|
1372
|
+
encode(message: FeatureSet, writer?: _m0.Writer): _m0.Writer;
|
1373
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSet;
|
1374
|
+
fromJSON(object: any): FeatureSet;
|
1375
|
+
toJSON(message: FeatureSet): unknown;
|
1376
|
+
create(base?: DeepPartial<FeatureSet>): FeatureSet;
|
1377
|
+
fromPartial(object: DeepPartial<FeatureSet>): FeatureSet;
|
1378
|
+
};
|
1379
|
+
export declare const FeatureSetDefaults: {
|
1380
|
+
$type: "google.protobuf.FeatureSetDefaults";
|
1381
|
+
encode(message: FeatureSetDefaults, writer?: _m0.Writer): _m0.Writer;
|
1382
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults;
|
1383
|
+
fromJSON(object: any): FeatureSetDefaults;
|
1384
|
+
toJSON(message: FeatureSetDefaults): unknown;
|
1385
|
+
create(base?: DeepPartial<FeatureSetDefaults>): FeatureSetDefaults;
|
1386
|
+
fromPartial(object: DeepPartial<FeatureSetDefaults>): FeatureSetDefaults;
|
1387
|
+
};
|
1388
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefault: {
|
1389
|
+
$type: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault";
|
1390
|
+
encode(message: FeatureSetDefaults_FeatureSetEditionDefault, writer?: _m0.Writer): _m0.Writer;
|
1391
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults_FeatureSetEditionDefault;
|
1392
|
+
fromJSON(object: any): FeatureSetDefaults_FeatureSetEditionDefault;
|
1393
|
+
toJSON(message: FeatureSetDefaults_FeatureSetEditionDefault): unknown;
|
1394
|
+
create(base?: DeepPartial<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
|
1395
|
+
fromPartial(object: DeepPartial<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
|
1396
|
+
};
|
1134
1397
|
export declare const SourceCodeInfo: {
|
1135
1398
|
$type: "google.protobuf.SourceCodeInfo";
|
1136
1399
|
encode(message: SourceCodeInfo, writer?: _m0.Writer): _m0.Writer;
|