discord-protos 1.2.348 → 1.2.349
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.
|
@@ -1002,6 +1002,10 @@ export interface Experiment_Rule {
|
|
|
1002
1002
|
* @generated from protobuf field: string hash = 6
|
|
1003
1003
|
*/
|
|
1004
1004
|
hash: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* @generated from protobuf field: optional google.protobuf.StringValue title = 7
|
|
1007
|
+
*/
|
|
1008
|
+
title?: StringValue;
|
|
1005
1009
|
}
|
|
1006
1010
|
/**
|
|
1007
1011
|
* @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.DebugConfig
|
|
@@ -3623,7 +3623,8 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3623
3623
|
{ no: 3, name: "override", kind: "message", T: () => exports.Experiment_Override },
|
|
3624
3624
|
{ no: 4, name: "is_sunset_rule", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3625
3625
|
{ no: 5, name: "subtype", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Subtype", Experiment_Subtype, "SUBTYPE_"] },
|
|
3626
|
-
{ no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3626
|
+
{ no: 6, name: "hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3627
|
+
{ no: 7, name: "title", kind: "message", T: () => wrappers_4.StringValue }
|
|
3627
3628
|
]);
|
|
3628
3629
|
}
|
|
3629
3630
|
create(value) {
|
|
@@ -3660,6 +3661,9 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3660
3661
|
case /* string hash */ 6:
|
|
3661
3662
|
message.hash = reader.string();
|
|
3662
3663
|
break;
|
|
3664
|
+
case /* optional google.protobuf.StringValue title */ 7:
|
|
3665
|
+
message.title = wrappers_4.StringValue.internalBinaryRead(reader, reader.uint32(), options, message.title);
|
|
3666
|
+
break;
|
|
3663
3667
|
default:
|
|
3664
3668
|
let u = options.readUnknownField;
|
|
3665
3669
|
if (u === "throw")
|
|
@@ -3690,6 +3694,9 @@ class Experiment_Rule$Type extends runtime_4.MessageType {
|
|
|
3690
3694
|
/* string hash = 6; */
|
|
3691
3695
|
if (message.hash !== "")
|
|
3692
3696
|
writer.tag(6, runtime_2.WireType.LengthDelimited).string(message.hash);
|
|
3697
|
+
/* optional google.protobuf.StringValue title = 7; */
|
|
3698
|
+
if (message.title)
|
|
3699
|
+
wrappers_4.StringValue.internalBinaryWrite(message.title, writer.tag(7, runtime_2.WireType.LengthDelimited).fork(), options).join();
|
|
3693
3700
|
let u = options.writeUnknownFields;
|
|
3694
3701
|
if (u !== false)
|
|
3695
3702
|
(u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|