@devvit/public-api 0.10.21-next-2024-05-15-76d08d3fe.0 → 0.10.21-next-2024-05-15-85306358a.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.json +10 -10
- package/package.json +5 -5
- package/public-api.d.ts +393 -66
- package/public-api.iife.js +1421 -146
package/public-api.d.ts
CHANGED
@@ -700,7 +700,7 @@ declare const AllowEditorRequest: {
|
|
700
700
|
* foo = any.unpack(Foo.getDefaultInstance());
|
701
701
|
* }
|
702
702
|
*
|
703
|
-
*
|
703
|
+
* Example 3: Pack and unpack a message in Python.
|
704
704
|
*
|
705
705
|
* foo = Foo(...)
|
706
706
|
* any = Any()
|
@@ -710,7 +710,7 @@ declare const AllowEditorRequest: {
|
|
710
710
|
* any.Unpack(foo)
|
711
711
|
* ...
|
712
712
|
*
|
713
|
-
*
|
713
|
+
* Example 4: Pack and unpack a message in Go
|
714
714
|
*
|
715
715
|
* foo := &pb.Foo{...}
|
716
716
|
* any, err := anypb.New(foo)
|
@@ -730,7 +730,7 @@ declare const AllowEditorRequest: {
|
|
730
730
|
* name "y.z".
|
731
731
|
*
|
732
732
|
* JSON
|
733
|
-
*
|
733
|
+
* ====
|
734
734
|
* The JSON representation of an `Any` value uses the regular
|
735
735
|
* representation of the deserialized, embedded message, with an
|
736
736
|
* additional field `@type` which contains the type URL. Example:
|
@@ -782,7 +782,8 @@ declare interface Any {
|
|
782
782
|
*
|
783
783
|
* Note: this functionality is not currently available in the official
|
784
784
|
* protobuf release, and it is not used for type URLs beginning with
|
785
|
-
* type.googleapis.com.
|
785
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
786
|
+
* implementations and no plans to implement one.
|
786
787
|
*
|
787
788
|
* Schemes other than `http`, `https` (or the empty scheme) might be
|
788
789
|
* used with implementation specific semantics.
|
@@ -11387,6 +11388,47 @@ export declare type EditFlairTemplateOptions = CreateFlairTemplateOptions & {
|
|
11387
11388
|
id: string;
|
11388
11389
|
};
|
11389
11390
|
|
11391
|
+
/** The full set of known editions. */
|
11392
|
+
declare enum Edition {
|
11393
|
+
/** EDITION_UNKNOWN - A placeholder for an unknown edition value. */
|
11394
|
+
EDITION_UNKNOWN = 0,
|
11395
|
+
/**
|
11396
|
+
* EDITION_PROTO2 - Legacy syntax "editions". These pre-date editions, but behave much like
|
11397
|
+
* distinct editions. These can't be used to specify the edition of proto
|
11398
|
+
* files, but feature definitions must supply proto2/proto3 defaults for
|
11399
|
+
* backwards compatibility.
|
11400
|
+
*/
|
11401
|
+
EDITION_PROTO2 = 998,
|
11402
|
+
EDITION_PROTO3 = 999,
|
11403
|
+
/**
|
11404
|
+
* EDITION_2023 - Editions that have been released. The specific values are arbitrary and
|
11405
|
+
* should not be depended on, but they will always be time-ordered for easy
|
11406
|
+
* comparison.
|
11407
|
+
*/
|
11408
|
+
EDITION_2023 = 1000,
|
11409
|
+
EDITION_2024 = 1001,
|
11410
|
+
/**
|
11411
|
+
* EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be
|
11412
|
+
* used or relyed on outside of tests.
|
11413
|
+
*/
|
11414
|
+
EDITION_1_TEST_ONLY = 1,
|
11415
|
+
EDITION_2_TEST_ONLY = 2,
|
11416
|
+
EDITION_99997_TEST_ONLY = 99997,
|
11417
|
+
EDITION_99998_TEST_ONLY = 99998,
|
11418
|
+
EDITION_99999_TEST_ONLY = 99999,
|
11419
|
+
/**
|
11420
|
+
* EDITION_MAX - Placeholder for specifying unbounded edition support. This should only
|
11421
|
+
* ever be used by plugins that can expect to never require any changes to
|
11422
|
+
* support a new edition.
|
11423
|
+
*/
|
11424
|
+
EDITION_MAX = 2147483647,
|
11425
|
+
UNRECOGNIZED = -1
|
11426
|
+
}
|
11427
|
+
|
11428
|
+
declare function editionFromJSON(object: any): Edition;
|
11429
|
+
|
11430
|
+
declare function editionToJSON(object: Edition): number;
|
11431
|
+
|
11390
11432
|
declare interface EditWikiPageRequest {
|
11391
11433
|
/** The subreddit omitting the r/ prefix. */
|
11392
11434
|
subreddit: string;
|
@@ -11569,12 +11611,14 @@ declare interface EnumOptions {
|
|
11569
11611
|
* and strips underscored from the fields before comparison in proto3 only.
|
11570
11612
|
* The new behavior takes `json_name` into account and applies to proto2 as
|
11571
11613
|
* well.
|
11572
|
-
* TODO
|
11614
|
+
* TODO Remove this legacy behavior once downstream teams have
|
11573
11615
|
* had time to migrate.
|
11574
11616
|
*
|
11575
11617
|
* @deprecated
|
11576
11618
|
*/
|
11577
11619
|
deprecatedLegacyJsonFieldConflicts?: boolean | undefined;
|
11620
|
+
/** Any features defined in the specific edition. */
|
11621
|
+
features?: FeatureSet | undefined;
|
11578
11622
|
/** The parser stores options it doesn't recognize here. See above. */
|
11579
11623
|
uninterpretedOption: UninterpretedOption[];
|
11580
11624
|
}
|
@@ -11614,6 +11658,14 @@ declare interface EnumValueOptions {
|
|
11614
11658
|
* this is a formalization for deprecating enum values.
|
11615
11659
|
*/
|
11616
11660
|
deprecated?: boolean | undefined;
|
11661
|
+
/** Any features defined in the specific edition. */
|
11662
|
+
features?: FeatureSet | undefined;
|
11663
|
+
/**
|
11664
|
+
* Indicate that fields annotated with this enum value should not be printed
|
11665
|
+
* out when using debug formats, e.g. when the field contains sensitive
|
11666
|
+
* credentials.
|
11667
|
+
*/
|
11668
|
+
debugRedact?: boolean | undefined;
|
11617
11669
|
/** The parser stores options it doesn't recognize here. See above. */
|
11618
11670
|
uninterpretedOption: UninterpretedOption[];
|
11619
11671
|
}
|
@@ -11837,6 +11889,20 @@ declare const ExpireRequest: {
|
|
11837
11889
|
declare interface ExtensionRangeOptions {
|
11838
11890
|
/** The parser stores options it doesn't recognize here. See above. */
|
11839
11891
|
uninterpretedOption: UninterpretedOption[];
|
11892
|
+
/**
|
11893
|
+
* For external users: DO NOT USE. We are in the process of open sourcing
|
11894
|
+
* extension declaration and executing internal cleanups before it can be
|
11895
|
+
* used externally.
|
11896
|
+
*/
|
11897
|
+
declaration: ExtensionRangeOptions_Declaration[];
|
11898
|
+
/** Any features defined in the specific edition. */
|
11899
|
+
features?: FeatureSet | undefined;
|
11900
|
+
/**
|
11901
|
+
* The verification state of the range.
|
11902
|
+
* TODO: flip the default to DECLARATION once all empty ranges
|
11903
|
+
* are marked as UNVERIFIED.
|
11904
|
+
*/
|
11905
|
+
verification?: ExtensionRangeOptions_VerificationState | undefined;
|
11840
11906
|
}
|
11841
11907
|
|
11842
11908
|
declare const ExtensionRangeOptions: {
|
@@ -11849,6 +11915,200 @@ declare const ExtensionRangeOptions: {
|
|
11849
11915
|
fromPartial(object: DeepPartial_113<ExtensionRangeOptions>): ExtensionRangeOptions;
|
11850
11916
|
};
|
11851
11917
|
|
11918
|
+
declare interface ExtensionRangeOptions_Declaration {
|
11919
|
+
/** The extension number declared within the extension range. */
|
11920
|
+
number?: number | undefined;
|
11921
|
+
/**
|
11922
|
+
* The fully-qualified name of the extension field. There must be a leading
|
11923
|
+
* dot in front of the full name.
|
11924
|
+
*/
|
11925
|
+
fullName?: string | undefined;
|
11926
|
+
/**
|
11927
|
+
* The fully-qualified type name of the extension field. Unlike
|
11928
|
+
* Metadata.type, Declaration.type must have a leading dot for messages
|
11929
|
+
* and enums.
|
11930
|
+
*/
|
11931
|
+
type?: string | undefined;
|
11932
|
+
/**
|
11933
|
+
* If true, indicates that the number is reserved in the extension range,
|
11934
|
+
* and any extension field with the number will fail to compile. Set this
|
11935
|
+
* when a declared extension field is deleted.
|
11936
|
+
*/
|
11937
|
+
reserved?: boolean | undefined;
|
11938
|
+
/**
|
11939
|
+
* If true, indicates that the extension must be defined as repeated.
|
11940
|
+
* Otherwise the extension must be defined as optional.
|
11941
|
+
*/
|
11942
|
+
repeated?: boolean | undefined;
|
11943
|
+
}
|
11944
|
+
|
11945
|
+
declare const ExtensionRangeOptions_Declaration: {
|
11946
|
+
$type: "google.protobuf.ExtensionRangeOptions.Declaration";
|
11947
|
+
encode(message: ExtensionRangeOptions_Declaration, writer?: _m0.Writer): _m0.Writer;
|
11948
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions_Declaration;
|
11949
|
+
fromJSON(object: any): ExtensionRangeOptions_Declaration;
|
11950
|
+
toJSON(message: ExtensionRangeOptions_Declaration): unknown;
|
11951
|
+
create(base?: DeepPartial_113<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
|
11952
|
+
fromPartial(object: DeepPartial_113<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
|
11953
|
+
};
|
11954
|
+
|
11955
|
+
/** The verification state of the extension range. */
|
11956
|
+
declare enum ExtensionRangeOptions_VerificationState {
|
11957
|
+
/** DECLARATION - All the extensions of the range must be declared. */
|
11958
|
+
DECLARATION = 0,
|
11959
|
+
UNVERIFIED = 1,
|
11960
|
+
UNRECOGNIZED = -1
|
11961
|
+
}
|
11962
|
+
|
11963
|
+
declare function extensionRangeOptions_VerificationStateFromJSON(object: any): ExtensionRangeOptions_VerificationState;
|
11964
|
+
|
11965
|
+
declare function extensionRangeOptions_VerificationStateToJSON(object: ExtensionRangeOptions_VerificationState): number;
|
11966
|
+
|
11967
|
+
/**
|
11968
|
+
* TODO Enums in C++ gencode (and potentially other languages) are
|
11969
|
+
* not well scoped. This means that each of the feature enums below can clash
|
11970
|
+
* with each other. The short names we've chosen maximize call-site
|
11971
|
+
* readability, but leave us very open to this scenario. A future feature will
|
11972
|
+
* be designed and implemented to handle this, hopefully before we ever hit a
|
11973
|
+
* conflict here.
|
11974
|
+
*/
|
11975
|
+
declare interface FeatureSet {
|
11976
|
+
fieldPresence?: FeatureSet_FieldPresence | undefined;
|
11977
|
+
enumType?: FeatureSet_EnumType | undefined;
|
11978
|
+
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding | undefined;
|
11979
|
+
utf8Validation?: FeatureSet_Utf8Validation | undefined;
|
11980
|
+
messageEncoding?: FeatureSet_MessageEncoding | undefined;
|
11981
|
+
jsonFormat?: FeatureSet_JsonFormat | undefined;
|
11982
|
+
}
|
11983
|
+
|
11984
|
+
declare const FeatureSet: {
|
11985
|
+
$type: "google.protobuf.FeatureSet";
|
11986
|
+
encode(message: FeatureSet, writer?: _m0.Writer): _m0.Writer;
|
11987
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSet;
|
11988
|
+
fromJSON(object: any): FeatureSet;
|
11989
|
+
toJSON(message: FeatureSet): unknown;
|
11990
|
+
create(base?: DeepPartial_113<FeatureSet>): FeatureSet;
|
11991
|
+
fromPartial(object: DeepPartial_113<FeatureSet>): FeatureSet;
|
11992
|
+
};
|
11993
|
+
|
11994
|
+
declare enum FeatureSet_EnumType {
|
11995
|
+
ENUM_TYPE_UNKNOWN = 0,
|
11996
|
+
OPEN = 1,
|
11997
|
+
CLOSED = 2,
|
11998
|
+
UNRECOGNIZED = -1
|
11999
|
+
}
|
12000
|
+
|
12001
|
+
declare function featureSet_EnumTypeFromJSON(object: any): FeatureSet_EnumType;
|
12002
|
+
|
12003
|
+
declare function featureSet_EnumTypeToJSON(object: FeatureSet_EnumType): number;
|
12004
|
+
|
12005
|
+
declare enum FeatureSet_FieldPresence {
|
12006
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
12007
|
+
EXPLICIT = 1,
|
12008
|
+
IMPLICIT = 2,
|
12009
|
+
LEGACY_REQUIRED = 3,
|
12010
|
+
UNRECOGNIZED = -1
|
12011
|
+
}
|
12012
|
+
|
12013
|
+
declare function featureSet_FieldPresenceFromJSON(object: any): FeatureSet_FieldPresence;
|
12014
|
+
|
12015
|
+
declare function featureSet_FieldPresenceToJSON(object: FeatureSet_FieldPresence): number;
|
12016
|
+
|
12017
|
+
declare enum FeatureSet_JsonFormat {
|
12018
|
+
JSON_FORMAT_UNKNOWN = 0,
|
12019
|
+
ALLOW = 1,
|
12020
|
+
LEGACY_BEST_EFFORT = 2,
|
12021
|
+
UNRECOGNIZED = -1
|
12022
|
+
}
|
12023
|
+
|
12024
|
+
declare function featureSet_JsonFormatFromJSON(object: any): FeatureSet_JsonFormat;
|
12025
|
+
|
12026
|
+
declare function featureSet_JsonFormatToJSON(object: FeatureSet_JsonFormat): number;
|
12027
|
+
|
12028
|
+
declare enum FeatureSet_MessageEncoding {
|
12029
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
12030
|
+
LENGTH_PREFIXED = 1,
|
12031
|
+
DELIMITED = 2,
|
12032
|
+
UNRECOGNIZED = -1
|
12033
|
+
}
|
12034
|
+
|
12035
|
+
declare function featureSet_MessageEncodingFromJSON(object: any): FeatureSet_MessageEncoding;
|
12036
|
+
|
12037
|
+
declare function featureSet_MessageEncodingToJSON(object: FeatureSet_MessageEncoding): number;
|
12038
|
+
|
12039
|
+
declare enum FeatureSet_RepeatedFieldEncoding {
|
12040
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
12041
|
+
PACKED = 1,
|
12042
|
+
EXPANDED = 2,
|
12043
|
+
UNRECOGNIZED = -1
|
12044
|
+
}
|
12045
|
+
|
12046
|
+
declare function featureSet_RepeatedFieldEncodingFromJSON(object: any): FeatureSet_RepeatedFieldEncoding;
|
12047
|
+
|
12048
|
+
declare function featureSet_RepeatedFieldEncodingToJSON(object: FeatureSet_RepeatedFieldEncoding): number;
|
12049
|
+
|
12050
|
+
declare enum FeatureSet_Utf8Validation {
|
12051
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
12052
|
+
VERIFY = 2,
|
12053
|
+
NONE = 3,
|
12054
|
+
UNRECOGNIZED = -1
|
12055
|
+
}
|
12056
|
+
|
12057
|
+
declare function featureSet_Utf8ValidationFromJSON(object: any): FeatureSet_Utf8Validation;
|
12058
|
+
|
12059
|
+
declare function featureSet_Utf8ValidationToJSON(object: FeatureSet_Utf8Validation): number;
|
12060
|
+
|
12061
|
+
/**
|
12062
|
+
* A compiled specification for the defaults of a set of features. These
|
12063
|
+
* messages are generated from FeatureSet extensions and can be used to seed
|
12064
|
+
* feature resolution. The resolution with this object becomes a simple search
|
12065
|
+
* for the closest matching edition, followed by proto merges.
|
12066
|
+
*/
|
12067
|
+
declare interface FeatureSetDefaults {
|
12068
|
+
defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
|
12069
|
+
/**
|
12070
|
+
* The minimum supported edition (inclusive) when this was constructed.
|
12071
|
+
* Editions before this will not have defaults.
|
12072
|
+
*/
|
12073
|
+
minimumEdition?: Edition | undefined;
|
12074
|
+
/**
|
12075
|
+
* The maximum known edition (inclusive) when this was constructed. Editions
|
12076
|
+
* after this will not have reliable defaults.
|
12077
|
+
*/
|
12078
|
+
maximumEdition?: Edition | undefined;
|
12079
|
+
}
|
12080
|
+
|
12081
|
+
declare const FeatureSetDefaults: {
|
12082
|
+
$type: "google.protobuf.FeatureSetDefaults";
|
12083
|
+
encode(message: FeatureSetDefaults, writer?: _m0.Writer): _m0.Writer;
|
12084
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults;
|
12085
|
+
fromJSON(object: any): FeatureSetDefaults;
|
12086
|
+
toJSON(message: FeatureSetDefaults): unknown;
|
12087
|
+
create(base?: DeepPartial_113<FeatureSetDefaults>): FeatureSetDefaults;
|
12088
|
+
fromPartial(object: DeepPartial_113<FeatureSetDefaults>): FeatureSetDefaults;
|
12089
|
+
};
|
12090
|
+
|
12091
|
+
/**
|
12092
|
+
* A map from every known edition with a unique set of defaults to its
|
12093
|
+
* defaults. Not all editions may be contained here. For a given edition,
|
12094
|
+
* the defaults at the closest matching edition ordered at or before it should
|
12095
|
+
* be used. This field must be in strict ascending order by edition.
|
12096
|
+
*/
|
12097
|
+
declare interface FeatureSetDefaults_FeatureSetEditionDefault {
|
12098
|
+
edition?: Edition | undefined;
|
12099
|
+
features?: FeatureSet | undefined;
|
12100
|
+
}
|
12101
|
+
|
12102
|
+
declare const FeatureSetDefaults_FeatureSetEditionDefault: {
|
12103
|
+
$type: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault";
|
12104
|
+
encode(message: FeatureSetDefaults_FeatureSetEditionDefault, writer?: _m0.Writer): _m0.Writer;
|
12105
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults_FeatureSetEditionDefault;
|
12106
|
+
fromJSON(object: any): FeatureSetDefaults_FeatureSetEditionDefault;
|
12107
|
+
toJSON(message: FeatureSetDefaults_FeatureSetEditionDefault): unknown;
|
12108
|
+
create(base?: DeepPartial_113<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
|
12109
|
+
fromPartial(object: DeepPartial_113<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
|
12110
|
+
};
|
12111
|
+
|
11852
12112
|
declare interface FetchRequest {
|
11853
12113
|
url: string;
|
11854
12114
|
data?: RequestData | undefined;
|
@@ -12114,12 +12374,12 @@ declare interface FieldDescriptorProto {
|
|
12114
12374
|
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
12115
12375
|
* tracks presence regardless of field type.
|
12116
12376
|
*
|
12117
|
-
* When proto3_optional is true, this field must
|
12118
|
-
*
|
12119
|
-
*
|
12120
|
-
*
|
12121
|
-
*
|
12122
|
-
*
|
12377
|
+
* When proto3_optional is true, this field must belong to a oneof to signal
|
12378
|
+
* to old proto3 clients that presence is tracked for this field. This oneof
|
12379
|
+
* is known as a "synthetic" oneof, and this field must be its sole member
|
12380
|
+
* (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
|
12381
|
+
* exist in the descriptor only, and do not generate any API. Synthetic oneofs
|
12382
|
+
* must be ordered after all "real" oneofs.
|
12123
12383
|
*
|
12124
12384
|
* For message fields, proto3_optional doesn't create any semantic change,
|
12125
12385
|
* since non-repeated message fields always track presence. However it still
|
@@ -12149,8 +12409,13 @@ declare const FieldDescriptorProto: {
|
|
12149
12409
|
declare enum FieldDescriptorProto_Label {
|
12150
12410
|
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
12151
12411
|
LABEL_OPTIONAL = 1,
|
12152
|
-
LABEL_REQUIRED = 2,
|
12153
12412
|
LABEL_REPEATED = 3,
|
12413
|
+
/**
|
12414
|
+
* LABEL_REQUIRED - The required label is only allowed in google.protobuf. In proto3 and Editions
|
12415
|
+
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
12416
|
+
* can be used to get this behavior.
|
12417
|
+
*/
|
12418
|
+
LABEL_REQUIRED = 2,
|
12154
12419
|
UNRECOGNIZED = -1
|
12155
12420
|
}
|
12156
12421
|
|
@@ -12182,9 +12447,10 @@ declare enum FieldDescriptorProto_Type {
|
|
12182
12447
|
TYPE_STRING = 9,
|
12183
12448
|
/**
|
12184
12449
|
* TYPE_GROUP - Tag-delimited aggregate.
|
12185
|
-
* Group type is deprecated and not supported
|
12450
|
+
* Group type is deprecated and not supported after google.protobuf. However, Proto3
|
12186
12451
|
* implementations should still be able to parse the group wire format and
|
12187
|
-
* treat group fields as unknown fields.
|
12452
|
+
* treat group fields as unknown fields. In Editions, the group wire format
|
12453
|
+
* can be enabled via the `message_encoding` feature.
|
12188
12454
|
*/
|
12189
12455
|
TYPE_GROUP = 10,
|
12190
12456
|
/** TYPE_MESSAGE - Length-delimited aggregate. */
|
@@ -12210,8 +12476,10 @@ declare interface FieldOptions {
|
|
12210
12476
|
/**
|
12211
12477
|
* The ctype option instructs the C++ code generator to use a different
|
12212
12478
|
* representation of the field than it normally would. See the specific
|
12213
|
-
* options below. This option is
|
12214
|
-
*
|
12479
|
+
* options below. This option is only implemented to support use of
|
12480
|
+
* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
|
12481
|
+
* type "bytes" in the open source release -- sorry, we'll try to include
|
12482
|
+
* other types in a future version!
|
12215
12483
|
*/
|
12216
12484
|
ctype?: FieldOptions_CType | undefined;
|
12217
12485
|
/**
|
@@ -12219,7 +12487,9 @@ declare interface FieldOptions {
|
|
12219
12487
|
* a more efficient representation on the wire. Rather than repeatedly
|
12220
12488
|
* writing the tag and type for each element, the entire array is encoded as
|
12221
12489
|
* a single length-delimited blob. In proto3, only explicit setting it to
|
12222
|
-
* false will avoid using packed encoding.
|
12490
|
+
* false will avoid using packed encoding. This option is prohibited in
|
12491
|
+
* Editions, but the `repeated_field_encoding` feature can be used to control
|
12492
|
+
* the behavior.
|
12223
12493
|
*/
|
12224
12494
|
packed?: boolean | undefined;
|
12225
12495
|
/**
|
@@ -12254,19 +12524,11 @@ declare interface FieldOptions {
|
|
12254
12524
|
* call from multiple threads concurrently, while non-const methods continue
|
12255
12525
|
* to require exclusive access.
|
12256
12526
|
*
|
12257
|
-
* Note that
|
12258
|
-
*
|
12259
|
-
*
|
12260
|
-
*
|
12261
|
-
*
|
12262
|
-
* parsing. An implementation which chooses not to check required fields
|
12263
|
-
* must be consistent about it. That is, for any particular sub-message, the
|
12264
|
-
* implementation must either *always* check its required fields, or *never*
|
12265
|
-
* check its required fields, regardless of whether or not the message has
|
12266
|
-
* been parsed.
|
12267
|
-
*
|
12268
|
-
* As of May 2022, lazy verifies the contents of the byte stream during
|
12269
|
-
* parsing. An invalid byte stream will cause the overall parsing to fail.
|
12527
|
+
* Note that lazy message fields are still eagerly verified to check
|
12528
|
+
* ill-formed wireformat or missing required fields. Calling IsInitialized()
|
12529
|
+
* on the outer message would fail if the inner message has missing required
|
12530
|
+
* fields. Failed verification would result in parsing failure (except when
|
12531
|
+
* uninitialized messages are acceptable).
|
12270
12532
|
*/
|
12271
12533
|
lazy?: boolean | undefined;
|
12272
12534
|
/**
|
@@ -12290,7 +12552,10 @@ declare interface FieldOptions {
|
|
12290
12552
|
*/
|
12291
12553
|
debugRedact?: boolean | undefined;
|
12292
12554
|
retention?: FieldOptions_OptionRetention | undefined;
|
12293
|
-
|
12555
|
+
targets: FieldOptions_OptionTargetType[];
|
12556
|
+
editionDefaults: FieldOptions_EditionDefault[];
|
12557
|
+
/** Any features defined in the specific edition. */
|
12558
|
+
features?: FeatureSet | undefined;
|
12294
12559
|
/** The parser stores options it doesn't recognize here. See above. */
|
12295
12560
|
uninterpretedOption: UninterpretedOption[];
|
12296
12561
|
}
|
@@ -12308,6 +12573,14 @@ declare const FieldOptions: {
|
|
12308
12573
|
declare enum FieldOptions_CType {
|
12309
12574
|
/** STRING - Default mode. */
|
12310
12575
|
STRING = 0,
|
12576
|
+
/**
|
12577
|
+
* CORD - The option [ctype=CORD] may be applied to a non-repeated field of type
|
12578
|
+
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
12579
|
+
* instead of a string. For very large strings, this may reduce memory
|
12580
|
+
* fragmentation. It may also allow better performance when parsing from a
|
12581
|
+
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
12582
|
+
* alias the original buffer.
|
12583
|
+
*/
|
12311
12584
|
CORD = 1,
|
12312
12585
|
STRING_PIECE = 2,
|
12313
12586
|
UNRECOGNIZED = -1
|
@@ -12317,6 +12590,22 @@ declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType;
|
|
12317
12590
|
|
12318
12591
|
declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): number;
|
12319
12592
|
|
12593
|
+
declare interface FieldOptions_EditionDefault {
|
12594
|
+
edition?: Edition | undefined;
|
12595
|
+
/** Textproto value. */
|
12596
|
+
value?: string | undefined;
|
12597
|
+
}
|
12598
|
+
|
12599
|
+
declare const FieldOptions_EditionDefault: {
|
12600
|
+
$type: "google.protobuf.FieldOptions.EditionDefault";
|
12601
|
+
encode(message: FieldOptions_EditionDefault, writer?: _m0.Writer): _m0.Writer;
|
12602
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_EditionDefault;
|
12603
|
+
fromJSON(object: any): FieldOptions_EditionDefault;
|
12604
|
+
toJSON(message: FieldOptions_EditionDefault): unknown;
|
12605
|
+
create(base?: DeepPartial_113<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
|
12606
|
+
fromPartial(object: DeepPartial_113<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
|
12607
|
+
};
|
12608
|
+
|
12320
12609
|
declare enum FieldOptions_JSType {
|
12321
12610
|
/** JS_NORMAL - Use the default type. */
|
12322
12611
|
JS_NORMAL = 0,
|
@@ -12428,8 +12717,8 @@ declare interface FileDescriptorProto {
|
|
12428
12717
|
* If `edition` is present, this value must be "editions".
|
12429
12718
|
*/
|
12430
12719
|
syntax?: string | undefined;
|
12431
|
-
/** The edition of the proto file
|
12432
|
-
edition?:
|
12720
|
+
/** The edition of the proto file. */
|
12721
|
+
edition?: Edition | undefined;
|
12433
12722
|
}
|
12434
12723
|
|
12435
12724
|
declare const FileDescriptorProto: {
|
@@ -12524,7 +12813,6 @@ declare interface FileOptions {
|
|
12524
12813
|
ccGenericServices?: boolean | undefined;
|
12525
12814
|
javaGenericServices?: boolean | undefined;
|
12526
12815
|
pyGenericServices?: boolean | undefined;
|
12527
|
-
phpGenericServices?: boolean | undefined;
|
12528
12816
|
/**
|
12529
12817
|
* Is this file deprecated?
|
12530
12818
|
* Depending on the target platform, this can emit Deprecated annotations
|
@@ -12574,6 +12862,8 @@ declare interface FileOptions {
|
|
12574
12862
|
* determining the ruby package.
|
12575
12863
|
*/
|
12576
12864
|
rubyPackage?: string | undefined;
|
12865
|
+
/** Any features defined in the specific edition. */
|
12866
|
+
features?: FeatureSet | undefined;
|
12577
12867
|
/**
|
12578
12868
|
* The parser stores options it doesn't recognize here.
|
12579
12869
|
* See the documentation for the "Options" section above.
|
@@ -19009,7 +19299,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19009
19299
|
readonly responseStream: false;
|
19010
19300
|
readonly options: {
|
19011
19301
|
readonly _unknownFields: {
|
19012
|
-
readonly 480010: readonly [Uint8Array
|
19302
|
+
readonly 480010: readonly [Uint8Array];
|
19013
19303
|
};
|
19014
19304
|
};
|
19015
19305
|
};
|
@@ -19361,7 +19651,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19361
19651
|
readonly responseStream: false;
|
19362
19652
|
readonly options: {
|
19363
19653
|
readonly _unknownFields: {
|
19364
|
-
readonly 480010: readonly [Uint8Array
|
19654
|
+
readonly 480010: readonly [Uint8Array];
|
19365
19655
|
};
|
19366
19656
|
};
|
19367
19657
|
};
|
@@ -19405,7 +19695,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19405
19695
|
readonly responseStream: false;
|
19406
19696
|
readonly options: {
|
19407
19697
|
readonly _unknownFields: {
|
19408
|
-
readonly 480010: readonly [Uint8Array
|
19698
|
+
readonly 480010: readonly [Uint8Array];
|
19409
19699
|
};
|
19410
19700
|
};
|
19411
19701
|
};
|
@@ -19449,7 +19739,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19449
19739
|
readonly responseStream: false;
|
19450
19740
|
readonly options: {
|
19451
19741
|
readonly _unknownFields: {
|
19452
|
-
readonly 480010: readonly [Uint8Array
|
19742
|
+
readonly 480010: readonly [Uint8Array];
|
19453
19743
|
};
|
19454
19744
|
};
|
19455
19745
|
};
|
@@ -19822,7 +20112,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19822
20112
|
readonly responseStream: false;
|
19823
20113
|
readonly options: {
|
19824
20114
|
readonly _unknownFields: {
|
19825
|
-
readonly 480010: readonly [Uint8Array
|
20115
|
+
readonly 480010: readonly [Uint8Array];
|
19826
20116
|
};
|
19827
20117
|
};
|
19828
20118
|
};
|
@@ -19865,7 +20155,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19865
20155
|
readonly responseStream: false;
|
19866
20156
|
readonly options: {
|
19867
20157
|
readonly _unknownFields: {
|
19868
|
-
readonly 480010: readonly [Uint8Array
|
20158
|
+
readonly 480010: readonly [Uint8Array];
|
19869
20159
|
};
|
19870
20160
|
};
|
19871
20161
|
};
|
@@ -19908,7 +20198,7 @@ declare const LinksAndCommentsDefinition: {
|
|
19908
20198
|
readonly responseStream: false;
|
19909
20199
|
readonly options: {
|
19910
20200
|
readonly _unknownFields: {
|
19911
|
-
readonly 480010: readonly [Uint8Array
|
20201
|
+
readonly 480010: readonly [Uint8Array];
|
19912
20202
|
};
|
19913
20203
|
};
|
19914
20204
|
};
|
@@ -20269,7 +20559,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20269
20559
|
readonly responseStream: false;
|
20270
20560
|
readonly options: {
|
20271
20561
|
readonly _unknownFields: {
|
20272
|
-
readonly 480010: readonly [Uint8Array
|
20562
|
+
readonly 480010: readonly [Uint8Array];
|
20273
20563
|
};
|
20274
20564
|
};
|
20275
20565
|
};
|
@@ -20335,7 +20625,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20335
20625
|
readonly responseStream: false;
|
20336
20626
|
readonly options: {
|
20337
20627
|
readonly _unknownFields: {
|
20338
|
-
readonly 480010: readonly [Uint8Array
|
20628
|
+
readonly 480010: readonly [Uint8Array];
|
20339
20629
|
};
|
20340
20630
|
};
|
20341
20631
|
};
|
@@ -20379,7 +20669,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20379
20669
|
readonly responseStream: false;
|
20380
20670
|
readonly options: {
|
20381
20671
|
readonly _unknownFields: {
|
20382
|
-
readonly 480010: readonly [Uint8Array
|
20672
|
+
readonly 480010: readonly [Uint8Array];
|
20383
20673
|
};
|
20384
20674
|
};
|
20385
20675
|
};
|
@@ -20422,7 +20712,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20422
20712
|
readonly responseStream: false;
|
20423
20713
|
readonly options: {
|
20424
20714
|
readonly _unknownFields: {
|
20425
|
-
readonly 480010: readonly [Uint8Array
|
20715
|
+
readonly 480010: readonly [Uint8Array];
|
20426
20716
|
};
|
20427
20717
|
};
|
20428
20718
|
};
|
@@ -20466,7 +20756,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20466
20756
|
readonly responseStream: false;
|
20467
20757
|
readonly options: {
|
20468
20758
|
readonly _unknownFields: {
|
20469
|
-
readonly 480010: readonly [Uint8Array
|
20759
|
+
readonly 480010: readonly [Uint8Array];
|
20470
20760
|
};
|
20471
20761
|
};
|
20472
20762
|
};
|
@@ -20515,7 +20805,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20515
20805
|
readonly responseStream: false;
|
20516
20806
|
readonly options: {
|
20517
20807
|
readonly _unknownFields: {
|
20518
|
-
readonly 480010: readonly [Uint8Array
|
20808
|
+
readonly 480010: readonly [Uint8Array];
|
20519
20809
|
};
|
20520
20810
|
};
|
20521
20811
|
};
|
@@ -20570,7 +20860,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20570
20860
|
readonly responseStream: false;
|
20571
20861
|
readonly options: {
|
20572
20862
|
readonly _unknownFields: {
|
20573
|
-
readonly 480010: readonly [Uint8Array
|
20863
|
+
readonly 480010: readonly [Uint8Array];
|
20574
20864
|
};
|
20575
20865
|
};
|
20576
20866
|
};
|
@@ -20617,7 +20907,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20617
20907
|
readonly responseStream: false;
|
20618
20908
|
readonly options: {
|
20619
20909
|
readonly _unknownFields: {
|
20620
|
-
readonly 480010: readonly [Uint8Array
|
20910
|
+
readonly 480010: readonly [Uint8Array];
|
20621
20911
|
};
|
20622
20912
|
};
|
20623
20913
|
};
|
@@ -20661,7 +20951,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20661
20951
|
readonly responseStream: false;
|
20662
20952
|
readonly options: {
|
20663
20953
|
readonly _unknownFields: {
|
20664
|
-
readonly 480010: readonly [Uint8Array
|
20954
|
+
readonly 480010: readonly [Uint8Array];
|
20665
20955
|
};
|
20666
20956
|
};
|
20667
20957
|
};
|
@@ -20793,7 +21083,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20793
21083
|
readonly responseStream: false;
|
20794
21084
|
readonly options: {
|
20795
21085
|
readonly _unknownFields: {
|
20796
|
-
readonly 480010: readonly [Uint8Array
|
21086
|
+
readonly 480010: readonly [Uint8Array];
|
20797
21087
|
};
|
20798
21088
|
};
|
20799
21089
|
};
|
@@ -20837,7 +21127,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20837
21127
|
readonly responseStream: false;
|
20838
21128
|
readonly options: {
|
20839
21129
|
readonly _unknownFields: {
|
20840
|
-
readonly 480010: readonly [Uint8Array
|
21130
|
+
readonly 480010: readonly [Uint8Array];
|
20841
21131
|
};
|
20842
21132
|
};
|
20843
21133
|
};
|
@@ -20880,7 +21170,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20880
21170
|
readonly responseStream: false;
|
20881
21171
|
readonly options: {
|
20882
21172
|
readonly _unknownFields: {
|
20883
|
-
readonly 480010: readonly [Uint8Array
|
21173
|
+
readonly 480010: readonly [Uint8Array];
|
20884
21174
|
};
|
20885
21175
|
};
|
20886
21176
|
};
|
@@ -20923,7 +21213,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20923
21213
|
readonly responseStream: false;
|
20924
21214
|
readonly options: {
|
20925
21215
|
readonly _unknownFields: {
|
20926
|
-
readonly 480010: readonly [Uint8Array
|
21216
|
+
readonly 480010: readonly [Uint8Array];
|
20927
21217
|
};
|
20928
21218
|
};
|
20929
21219
|
};
|
@@ -20966,7 +21256,7 @@ declare const LinksAndCommentsDefinition: {
|
|
20966
21256
|
readonly responseStream: false;
|
20967
21257
|
readonly options: {
|
20968
21258
|
readonly _unknownFields: {
|
20969
|
-
readonly 480010: readonly [Uint8Array
|
21259
|
+
readonly 480010: readonly [Uint8Array];
|
20970
21260
|
};
|
20971
21261
|
};
|
20972
21262
|
};
|
@@ -21010,7 +21300,7 @@ declare const LinksAndCommentsDefinition: {
|
|
21010
21300
|
readonly responseStream: false;
|
21011
21301
|
readonly options: {
|
21012
21302
|
readonly _unknownFields: {
|
21013
|
-
readonly 480010: readonly [Uint8Array
|
21303
|
+
readonly 480010: readonly [Uint8Array];
|
21014
21304
|
};
|
21015
21305
|
};
|
21016
21306
|
};
|
@@ -25062,10 +25352,6 @@ declare interface MessageOptions {
|
|
25062
25352
|
*/
|
25063
25353
|
deprecated?: boolean | undefined;
|
25064
25354
|
/**
|
25065
|
-
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
25066
|
-
* instead. The option should only be implicitly set by the proto compiler
|
25067
|
-
* parser.
|
25068
|
-
*
|
25069
25355
|
* Whether the message is an automatically generated map entry type for the
|
25070
25356
|
* maps field.
|
25071
25357
|
*
|
@@ -25083,6 +25369,10 @@ declare interface MessageOptions {
|
|
25083
25369
|
* use a native map in the target language to hold the keys and values.
|
25084
25370
|
* The reflection APIs in such implementations still need to work as
|
25085
25371
|
* if the field is a repeated message field.
|
25372
|
+
*
|
25373
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
25374
|
+
* instead. The option should only be implicitly set by the proto compiler
|
25375
|
+
* parser.
|
25086
25376
|
*/
|
25087
25377
|
mapEntry?: boolean | undefined;
|
25088
25378
|
/**
|
@@ -25094,12 +25384,14 @@ declare interface MessageOptions {
|
|
25094
25384
|
* This should only be used as a temporary measure against broken builds due
|
25095
25385
|
* to the change in behavior for JSON field name conflicts.
|
25096
25386
|
*
|
25097
|
-
* TODO
|
25387
|
+
* TODO This is legacy behavior we plan to remove once downstream
|
25098
25388
|
* teams have had time to migrate.
|
25099
25389
|
*
|
25100
25390
|
* @deprecated
|
25101
25391
|
*/
|
25102
25392
|
deprecatedLegacyJsonFieldConflicts?: boolean | undefined;
|
25393
|
+
/** Any features defined in the specific edition. */
|
25394
|
+
features?: FeatureSet | undefined;
|
25103
25395
|
/** The parser stores options it doesn't recognize here. See above. */
|
25104
25396
|
uninterpretedOption: UninterpretedOption[];
|
25105
25397
|
}
|
@@ -25234,6 +25526,8 @@ declare interface MethodOptions {
|
|
25234
25526
|
*/
|
25235
25527
|
deprecated?: boolean | undefined;
|
25236
25528
|
idempotencyLevel?: MethodOptions_IdempotencyLevel | undefined;
|
25529
|
+
/** Any features defined in the specific edition. */
|
25530
|
+
features?: FeatureSet | undefined;
|
25237
25531
|
/** The parser stores options it doesn't recognize here. See above. */
|
25238
25532
|
uninterpretedOption: UninterpretedOption[];
|
25239
25533
|
}
|
@@ -34707,7 +35001,7 @@ declare const NewModmailDefinition: {
|
|
34707
35001
|
readonly responseStream: false;
|
34708
35002
|
readonly options: {
|
34709
35003
|
readonly _unknownFields: {
|
34710
|
-
readonly 480010: readonly [Uint8Array
|
35004
|
+
readonly 480010: readonly [Uint8Array];
|
34711
35005
|
};
|
34712
35006
|
};
|
34713
35007
|
};
|
@@ -34765,7 +35059,7 @@ declare const NewModmailServiceName = "devvit.plugin.redditapi.newmodmail.NewMod
|
|
34765
35059
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
34766
35060
|
* `Value` type union.
|
34767
35061
|
*
|
34768
|
-
*
|
35062
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
34769
35063
|
*/
|
34770
35064
|
declare enum NullValue {
|
34771
35065
|
/** NULL_VALUE - Null value. */
|
@@ -36846,6 +37140,8 @@ declare const OneofDescriptorProto: {
|
|
36846
37140
|
};
|
36847
37141
|
|
36848
37142
|
declare interface OneofOptions {
|
37143
|
+
/** Any features defined in the specific edition. */
|
37144
|
+
features?: FeatureSet | undefined;
|
36849
37145
|
/** The parser stores options it doesn't recognize here. See above. */
|
36850
37146
|
uninterpretedOption: UninterpretedOption[];
|
36851
37147
|
}
|
@@ -41358,7 +41654,7 @@ declare const PrivateMessagesDefinition: {
|
|
41358
41654
|
readonly responseStream: false;
|
41359
41655
|
readonly options: {
|
41360
41656
|
readonly _unknownFields: {
|
41361
|
-
readonly 480010: readonly [Uint8Array
|
41657
|
+
readonly 480010: readonly [Uint8Array];
|
41362
41658
|
};
|
41363
41659
|
};
|
41364
41660
|
};
|
@@ -42049,6 +42345,10 @@ declare namespace protos {
|
|
42049
42345
|
ListValue,
|
42050
42346
|
Empty,
|
42051
42347
|
Duration,
|
42348
|
+
editionFromJSON,
|
42349
|
+
editionToJSON,
|
42350
|
+
extensionRangeOptions_VerificationStateFromJSON,
|
42351
|
+
extensionRangeOptions_VerificationStateToJSON,
|
42052
42352
|
fieldDescriptorProto_TypeFromJSON,
|
42053
42353
|
fieldDescriptorProto_TypeToJSON,
|
42054
42354
|
fieldDescriptorProto_LabelFromJSON,
|
@@ -42065,14 +42365,29 @@ declare namespace protos {
|
|
42065
42365
|
fieldOptions_OptionTargetTypeToJSON,
|
42066
42366
|
methodOptions_IdempotencyLevelFromJSON,
|
42067
42367
|
methodOptions_IdempotencyLevelToJSON,
|
42368
|
+
featureSet_FieldPresenceFromJSON,
|
42369
|
+
featureSet_FieldPresenceToJSON,
|
42370
|
+
featureSet_EnumTypeFromJSON,
|
42371
|
+
featureSet_EnumTypeToJSON,
|
42372
|
+
featureSet_RepeatedFieldEncodingFromJSON,
|
42373
|
+
featureSet_RepeatedFieldEncodingToJSON,
|
42374
|
+
featureSet_Utf8ValidationFromJSON,
|
42375
|
+
featureSet_Utf8ValidationToJSON,
|
42376
|
+
featureSet_MessageEncodingFromJSON,
|
42377
|
+
featureSet_MessageEncodingToJSON,
|
42378
|
+
featureSet_JsonFormatFromJSON,
|
42379
|
+
featureSet_JsonFormatToJSON,
|
42068
42380
|
generatedCodeInfo_Annotation_SemanticFromJSON,
|
42069
42381
|
generatedCodeInfo_Annotation_SemanticToJSON,
|
42382
|
+
Edition,
|
42070
42383
|
FileDescriptorSet,
|
42071
42384
|
FileDescriptorProto,
|
42072
42385
|
DescriptorProto,
|
42073
42386
|
DescriptorProto_ExtensionRange,
|
42074
42387
|
DescriptorProto_ReservedRange,
|
42075
42388
|
ExtensionRangeOptions,
|
42389
|
+
ExtensionRangeOptions_VerificationState,
|
42390
|
+
ExtensionRangeOptions_Declaration,
|
42076
42391
|
FieldDescriptorProto,
|
42077
42392
|
FieldDescriptorProto_Type,
|
42078
42393
|
FieldDescriptorProto_Label,
|
@@ -42090,6 +42405,7 @@ declare namespace protos {
|
|
42090
42405
|
FieldOptions_JSType,
|
42091
42406
|
FieldOptions_OptionRetention,
|
42092
42407
|
FieldOptions_OptionTargetType,
|
42408
|
+
FieldOptions_EditionDefault,
|
42093
42409
|
OneofOptions,
|
42094
42410
|
EnumOptions,
|
42095
42411
|
EnumValueOptions,
|
@@ -42098,6 +42414,15 @@ declare namespace protos {
|
|
42098
42414
|
MethodOptions_IdempotencyLevel,
|
42099
42415
|
UninterpretedOption,
|
42100
42416
|
UninterpretedOption_NamePart,
|
42417
|
+
FeatureSet,
|
42418
|
+
FeatureSet_FieldPresence,
|
42419
|
+
FeatureSet_EnumType,
|
42420
|
+
FeatureSet_RepeatedFieldEncoding,
|
42421
|
+
FeatureSet_Utf8Validation,
|
42422
|
+
FeatureSet_MessageEncoding,
|
42423
|
+
FeatureSet_JsonFormat,
|
42424
|
+
FeatureSetDefaults,
|
42425
|
+
FeatureSetDefaults_FeatureSetEditionDefault,
|
42101
42426
|
SourceCodeInfo,
|
42102
42427
|
SourceCodeInfo_Location,
|
42103
42428
|
GeneratedCodeInfo,
|
@@ -48888,6 +49213,8 @@ declare const ServiceDescriptorProto: {
|
|
48888
49213
|
};
|
48889
49214
|
|
48890
49215
|
declare interface ServiceOptions {
|
49216
|
+
/** Any features defined in the specific edition. */
|
49217
|
+
features?: FeatureSet | undefined;
|
48891
49218
|
/**
|
48892
49219
|
* Is this service deprecated?
|
48893
49220
|
* Depending on the target platform, this can emit Deprecated annotations
|
@@ -49621,7 +49948,7 @@ declare interface SourceCodeInfo_Location {
|
|
49621
49948
|
* location.
|
49622
49949
|
*
|
49623
49950
|
* Each element is a field number or an index. They form a path from
|
49624
|
-
* the root FileDescriptorProto to the place where the definition
|
49951
|
+
* the root FileDescriptorProto to the place where the definition appears.
|
49625
49952
|
* For example, this path:
|
49626
49953
|
* [ 4, 3, 2, 7, 1 ]
|
49627
49954
|
* refers to:
|
@@ -57208,7 +57535,7 @@ declare const TimerServiceName = "devvit.plugin.timer.Timer";
|
|
57208
57535
|
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
57209
57536
|
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
57210
57537
|
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
57211
|
-
* http://
|
57538
|
+
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
57212
57539
|
* ) to obtain a formatter capable of generating timestamps in this format.
|
57213
57540
|
*/
|
57214
57541
|
declare interface Timestamp {
|