discord-protos 1.2.54 → 1.2.56

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.
@@ -3,7 +3,7 @@ from __future__ import annotations
3
3
  from enum import Enum as _Enum
4
4
  from typing import TYPE_CHECKING
5
5
 
6
- __version__ = '1.2.54'
6
+ __version__ = '1.2.56'
7
7
 
8
8
  if TYPE_CHECKING:
9
9
  from google.protobuf.message import Message as _Message
@@ -18,17 +18,17 @@ message Experiment {
18
18
  TYPE_BURNED = 3;
19
19
  }
20
20
 
21
- message VariantAllocation {
21
+ message Bucket {
22
22
  int32 start = 1;
23
23
  int32 stop = 2;
24
24
  Type type = 3;
25
25
  }
26
26
 
27
- message Variant {
27
+ message Variation {
28
28
  int32 id = 1;
29
29
  string label = 2;
30
30
  int32 target_allocation = 3;
31
- repeated VariantAllocation allocations = 4;
31
+ repeated Bucket buckets = 4;
32
32
  Type type = 5;
33
33
  }
34
34
 
@@ -199,7 +199,7 @@ message Experiment {
199
199
  }
200
200
 
201
201
  message Override {
202
- int32 variant_id = 1;
202
+ int32 variation_id = 1;
203
203
  }
204
204
 
205
205
  message Rule {
@@ -209,15 +209,15 @@ message Experiment {
209
209
  bool is_sunset_rule = 4;
210
210
  }
211
211
 
212
- enum Status {
213
- STATUS_UNSPECIFIED = 0;
214
- STATUS_DRAFT = 1;
215
- STATUS_TESTING = 2;
216
- STATUS_TESTING_ENDED = 3;
217
- STATUS_ROLLING_OUT = 4;
218
- STATUS_ROLLED_OUT = 5;
219
- STATUS_ARCHIVED = 6;
220
- STATUS_AA_MODE = 7;
212
+ enum Phase {
213
+ PHASE_UNSPECIFIED = 0;
214
+ PHASE_DRAFT = 1;
215
+ PHASE_MEASUREMENT = 2;
216
+ PHASE_MEASUREMENT_ENDED = 3;
217
+ PHASE_ROLLING_OUT = 4;
218
+ PHASE_ROLLED_OUT = 5;
219
+ PHASE_ARCHIVED = 6;
220
+ PHASE_AA_MODE = 7;
221
221
  }
222
222
 
223
223
  enum Surface {
@@ -251,14 +251,14 @@ message Experiment {
251
251
  int32 revision = 12;
252
252
  string hash_key = 13;
253
253
  UnitType unit_type = 14;
254
- repeated Variant variants = 15;
254
+ repeated Variation variations = 15;
255
255
  repeated Rule rules = 16;
256
- Status status = 18;
256
+ Phase phase = 18;
257
257
  repeated Surface surfaces = 19;
258
258
  string owning_team_name = 20;
259
259
  fixed64 cached_notification_channel_id = 21;
260
260
  ExposureTracking exposure_tracking = 22;
261
261
  AssignmentMode assignment_mode = 25;
262
262
  bool enable_edit_raw_json_ui = 23;
263
- int32 winning_variant_id = 24;
263
+ int32 winning_variation_id = 24;
264
264
  }
@@ -26,7 +26,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb
26
26
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+discord_experimentation/v1/Experiment.proto\x12)discord_protos.discord_experimentation.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf>\n\nExperiment\x12\n\n\x02id\x18\x01 \x01(\x06\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x33\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x12\n\ncreator_id\x18\x04 \x01(\x06\x12\x0f\n\x07version\x18\x05 \x01(\x05\x12\x32\n\tedited_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x11\n\teditor_id\x18\x07 \x01(\x06\x12\r\n\x05title\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x35\n\nhypothesis\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x02\x88\x01\x01\x12\x39\n\x0etech_spec_link\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x03\x88\x01\x01\x12\x10\n\x08revision\x18\x0c \x01(\x05\x12\x10\n\x08hash_key\x18\r \x01(\t\x12Q\n\tunit_type\x18\x0e \x01(\x0e\x32>.discord_protos.discord_experimentation.v1.Experiment.UnitType\x12O\n\x08variants\x18\x0f \x03(\x0b\x32=.discord_protos.discord_experimentation.v1.Experiment.Variant\x12I\n\x05rules\x18\x10 \x03(\x0b\x32:.discord_protos.discord_experimentation.v1.Experiment.Rule\x12L\n\x06status\x18\x12 \x01(\x0e\x32<.discord_protos.discord_experimentation.v1.Experiment.Status\x12O\n\x08surfaces\x18\x13 \x03(\x0e\x32=.discord_protos.discord_experimentation.v1.Experiment.Surface\x12\x18\n\x10owning_team_name\x18\x14 \x01(\t\x12&\n\x1e\x63\x61\x63hed_notification_channel_id\x18\x15 \x01(\x06\x12\x61\n\x11\x65xposure_tracking\x18\x16 \x01(\x0e\x32\x46.discord_protos.discord_experimentation.v1.Experiment.ExposureTracking\x12]\n\x0f\x61ssignment_mode\x18\x19 \x01(\x0e\x32\x44.discord_protos.discord_experimentation.v1.Experiment.AssignmentMode\x12\x1f\n\x17\x65nable_edit_raw_json_ui\x18\x17 \x01(\x08\x12\x1a\n\x12winning_variant_id\x18\x18 \x01(\x05\x1az\n\x11VariantAllocation\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0c\n\x04stop\x18\x02 \x01(\x05\x12H\n\x04type\x18\x03 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x1a\xe7\x01\n\x07Variant\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x11target_allocation\x18\x03 \x01(\x05\x12\\\n\x0b\x61llocations\x18\x04 \x03(\x0b\x32G.discord_protos.discord_experimentation.v1.Experiment.VariantAllocation\x12H\n\x04type\x18\x05 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x1a\xa1\x01\n\x18PlatformVersionSpecifier\x12\r\n\x05major\x18\x01 \x01(\r\x12\x30\n\x05minor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x30\n\x05\x62uild\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt64ValueH\x01\x88\x01\x01\x42\x08\n\x06_minorB\x08\n\x06_build\x1a\xa0\x01\n\x19PlatformVersionRangeBound\x12\x64\n\x07version\x18\x01 \x01(\x0b\x32N.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\x8c\x02\n\x14PlatformVersionRange\x12i\n\x0blower_bound\x18\x01 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x00\x88\x01\x01\x12i\n\x0bupper_bound\x18\x02 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x8c\x01\n\x0fPlatformVersion\x12Z\n\x06ranges\x18\x01 \x03(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\xe2\x03\n\x0e\x43lientPlatform\x12_\n\x0bios_version\x18\x01 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x00\x88\x01\x01\x12\x63\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x01\x88\x01\x01\x12_\n\x0bweb_version\x18\x03 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x02\x88\x01\x01\x12\x62\n\x0enative_version\x18\x04 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x03\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x0e\n\x0c_web_versionB\x11\n\x0f_native_version\x1a&\n\x13SDKVersionSpecifier\x12\x0f\n\x07version\x18\x01 \x01(\x05\x1a\x96\x01\n\x14SDKVersionRangeBound\x12_\n\x07version\x18\x01 \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.SDKVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\xfd\x01\n\x0fSDKVersionRange\x12\x64\n\x0blower_bound\x18\x01 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x00\x88\x01\x01\x12\x64\n\x0bupper_bound\x18\x02 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x82\x01\n\nSDKVersion\x12U\n\x06ranges\x18\x01 \x03(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\xb5\x06\n\x15\x43lientOperatingSystem\x12Z\n\x0bios_version\x18\x01 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x00\x88\x01\x01\x12^\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x01\x88\x01\x01\x12\\\n\rmacos_version\x18\x03 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x02\x88\x01\x01\x12^\n\x0fwindows_version\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x03\x88\x01\x01\x12\x62\n\x13playstation_version\x18\x05 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x04\x88\x01\x01\x12[\n\x0cxbox_version\x18\x06 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x05\x88\x01\x01\x12\\\n\rlinux_version\x18\x07 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x06\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x10\n\x0e_macos_versionB\x12\n\x10_windows_versionB\x16\n\x14_playstation_versionB\x0f\n\r_xbox_versionB\x10\n\x0e_linux_version\x1a>\n\nStaffUsers\x12\x15\n\rwork_accounts\x18\x01 \x01(\x08\x12\x19\n\x11personal_accounts\x18\x02 \x01(\x08\x1a \n\x0bUserInGuild\x12\x11\n\tguild_ids\x18\x01 \x03(\x06\x1a\x1b\n\x07UserIds\x12\x10\n\x08user_ids\x18\x01 \x03(\x06\x1a#\n\x0c\x43lientLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x39\n\tISORegion\x12\x13\n\x0biso_country\x18\x01 \x01(\t\x12\x17\n\x0fiso_subdivision\x18\x02 \x01(\t\x1a;\n\x05Place\x12\x0c\n\x04\x63ity\x18\x01 \x01(\t\x12\x13\n\x0bsubdivision\x18\x02 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x03 \x01(\t\x1a\xcc\x01\n\x08Location\x12U\n\niso_region\x18\x01 \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.ISORegionH\x00\x12\x0f\n\x05is_eu\x18\x02 \x01(\x08H\x00\x12L\n\x05place\x18\x03 \x01(\x0b\x32;.discord_protos.discord_experimentation.v1.Experiment.PlaceH\x00\x42\n\n\x08location\x1a\x63\n\x0e\x43lientLocation\x12Q\n\tlocations\x18\x01 \x03(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.Location\x1a\x1e\n\x08\x43lientIP\x12\x12\n\x06\x62locks\x18\x01 \x03(\tB\x02\x10\x00\x1a!\n\nUserLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x1b\n\tUserIsBot\x12\x0e\n\x06is_bot\x18\x01 \x01(\x08\x1a\xa6\x01\n\x0cUserAgeRange\x12\x38\n\rmin_age_years\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x38\n\rmax_age_years\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x01\x88\x01\x01\x42\x10\n\x0e_min_age_yearsB\x10\n\x0e_max_age_years\x1a\x1d\n\x0c\x46ixed64Value\x12\r\n\x05value\x18\x01 \x01(\x06\x1a\xd5\x01\n\x0bUserIDRange\x12W\n\x06min_id\x18\x01 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x00\x88\x01\x01\x12W\n\x06max_id\x18\x02 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x01\x88\x01\x01\x42\t\n\x07_min_idB\t\n\x07_max_id\x1a\x1b\n\x0bUserHasFlag\x12\x0c\n\x04mask\x18\x01 \x01(\x06\x1a\x37\n\x13UnitIdInRangeByHash\x12\x10\n\x08hash_key\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\r\x1a\x34\n\x14\x43lientReleaseChannel\x12\x1c\n\x10release_channels\x18\x01 \x03(\tB\x02\x10\x00\x1a\x17\n\x06\x41lways\x12\r\n\x05value\x18\x01 \x01(\x08\x1a)\n\x12\x43lientSystemLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\xbf\x0c\n\x06\x46ilter\x12^\n\x0e\x63lient_version\x18\x02 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientPlatformH\x00\x12`\n\tclient_os\x18\x03 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientOperatingSystemH\x00\x12Q\n\x05staff\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.StaffUsersH\x00\x12Z\n\ruser_in_guild\x18\x05 \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserInGuildH\x00\x12Q\n\x08user_ids\x18\x06 \x01(\x0b\x32=.discord_protos.discord_experimentation.v1.Experiment.UserIdsH\x00\x12[\n\rclient_locale\x18\x07 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.ClientLocaleH\x00\x12_\n\x0f\x63lient_location\x18\x08 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientLocationH\x00\x12S\n\tclient_ip\x18\t \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.ClientIPH\x00\x12W\n\x0buser_locale\x18\n \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.UserLocaleH\x00\x12N\n\x03\x62ot\x18\x0b \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.UserIsBotH\x00\x12\\\n\x0euser_age_range\x18\x0c \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.UserAgeRangeH\x00\x12Z\n\ruser_id_range\x18\r \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserIDRangeH\x00\x12Z\n\ruser_has_flag\x18\x0e \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserHasFlagH\x00\x12m\n\x18unit_id_in_range_by_hash\x18\x0f \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.UnitIdInRangeByHashH\x00\x12l\n\x16\x63lient_release_channel\x18\x10 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.ClientReleaseChannelH\x00\x12N\n\x06\x61lways\x18\x11 \x01(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.AlwaysH\x00\x12h\n\x14\x63lient_system_locale\x18\x12 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.ClientSystemLocaleH\x00\x42\x08\n\x06\x66ilter\x1a\x1e\n\x08Override\x12\x12\n\nvariant_id\x18\x01 \x01(\x05\x1a\x9b\x02\n\x04Rule\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Filter\x12U\n\x08override\x18\x03 \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.OverrideH\x00\x88\x01\x01\x12\x16\n\x0eis_sunset_rule\x18\x04 \x01(\x08\x42\x0b\n\t_override\"9\n\x08UnitType\x12\x19\n\x15UNIT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eUNIT_TYPE_USER\x10\x01\"O\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTYPE_ACTIVE\x10\x01\x12\x0f\n\x0bTYPE_UNUSED\x10\x02\x12\x0f\n\x0bTYPE_BURNED\x10\x03\"\xb8\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATUS_DRAFT\x10\x01\x12\x12\n\x0eSTATUS_TESTING\x10\x02\x12\x18\n\x14STATUS_TESTING_ENDED\x10\x03\x12\x16\n\x12STATUS_ROLLING_OUT\x10\x04\x12\x15\n\x11STATUS_ROLLED_OUT\x10\x05\x12\x13\n\x0fSTATUS_ARCHIVED\x10\x06\x12\x12\n\x0eSTATUS_AA_MODE\x10\x07\"D\n\x07Surface\x12\x17\n\x13SURFACE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSURFACE_API\x10\x01\x12\x0f\n\x0bSURFACE_APP\x10\x02\"Q\n\x10\x45xposureTracking\x12\x1d\n\x19\x45XPOSURE_TRACKING_ENABLED\x10\x00\x12\x1e\n\x1a\x45XPOSURE_TRACKING_DISABLED\x10\x01\"p\n\x0e\x41ssignmentMode\x12\x18\n\x14\x41SSIGNMENT_MODE_FULL\x10\x00\x12!\n\x1d\x41SSIGNMENT_MODE_FORCE_DEFAULT\x10\x01\x12!\n\x1d\x41SSIGNMENT_MODE_OVERRIDE_ONLY\x10\x02\x42\r\n\x0b_created_atB\x0c\n\n_edited_atB\r\n\x0b_hypothesisB\x11\n\x0f_tech_spec_linkb\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+discord_experimentation/v1/Experiment.proto\x12)discord_protos.discord_experimentation.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c>\n\nExperiment\x12\n\n\x02id\x18\x01 \x01(\x06\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x33\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x12\n\ncreator_id\x18\x04 \x01(\x06\x12\x0f\n\x07version\x18\x05 \x01(\x05\x12\x32\n\tedited_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x11\n\teditor_id\x18\x07 \x01(\x06\x12\r\n\x05title\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x35\n\nhypothesis\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x02\x88\x01\x01\x12\x39\n\x0etech_spec_link\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x03\x88\x01\x01\x12\x10\n\x08revision\x18\x0c \x01(\x05\x12\x10\n\x08hash_key\x18\r \x01(\t\x12Q\n\tunit_type\x18\x0e \x01(\x0e\x32>.discord_protos.discord_experimentation.v1.Experiment.UnitType\x12S\n\nvariations\x18\x0f \x03(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.Variation\x12I\n\x05rules\x18\x10 \x03(\x0b\x32:.discord_protos.discord_experimentation.v1.Experiment.Rule\x12J\n\x05phase\x18\x12 \x01(\x0e\x32;.discord_protos.discord_experimentation.v1.Experiment.Phase\x12O\n\x08surfaces\x18\x13 \x03(\x0e\x32=.discord_protos.discord_experimentation.v1.Experiment.Surface\x12\x18\n\x10owning_team_name\x18\x14 \x01(\t\x12&\n\x1e\x63\x61\x63hed_notification_channel_id\x18\x15 \x01(\x06\x12\x61\n\x11\x65xposure_tracking\x18\x16 \x01(\x0e\x32\x46.discord_protos.discord_experimentation.v1.Experiment.ExposureTracking\x12]\n\x0f\x61ssignment_mode\x18\x19 \x01(\x0e\x32\x44.discord_protos.discord_experimentation.v1.Experiment.AssignmentMode\x12\x1f\n\x17\x65nable_edit_raw_json_ui\x18\x17 \x01(\x08\x12\x1c\n\x14winning_variation_id\x18\x18 \x01(\x05\x1ao\n\x06\x42ucket\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0c\n\x04stop\x18\x02 \x01(\x05\x12H\n\x04type\x18\x03 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x1a\xda\x01\n\tVariation\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x11target_allocation\x18\x03 \x01(\x05\x12M\n\x07\x62uckets\x18\x04 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Bucket\x12H\n\x04type\x18\x05 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x1a\xa1\x01\n\x18PlatformVersionSpecifier\x12\r\n\x05major\x18\x01 \x01(\r\x12\x30\n\x05minor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x30\n\x05\x62uild\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt64ValueH\x01\x88\x01\x01\x42\x08\n\x06_minorB\x08\n\x06_build\x1a\xa0\x01\n\x19PlatformVersionRangeBound\x12\x64\n\x07version\x18\x01 \x01(\x0b\x32N.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\x8c\x02\n\x14PlatformVersionRange\x12i\n\x0blower_bound\x18\x01 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x00\x88\x01\x01\x12i\n\x0bupper_bound\x18\x02 \x01(\x0b\x32O.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x8c\x01\n\x0fPlatformVersion\x12Z\n\x06ranges\x18\x01 \x03(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\xe2\x03\n\x0e\x43lientPlatform\x12_\n\x0bios_version\x18\x01 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x00\x88\x01\x01\x12\x63\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x01\x88\x01\x01\x12_\n\x0bweb_version\x18\x03 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x02\x88\x01\x01\x12\x62\n\x0enative_version\x18\x04 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.PlatformVersionH\x03\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x0e\n\x0c_web_versionB\x11\n\x0f_native_version\x1a&\n\x13SDKVersionSpecifier\x12\x0f\n\x07version\x18\x01 \x01(\x05\x1a\x96\x01\n\x14SDKVersionRangeBound\x12_\n\x07version\x18\x01 \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.SDKVersionSpecifierH\x00\x88\x01\x01\x12\x11\n\tinclusive\x18\x02 \x01(\x08\x42\n\n\x08_version\x1a\xfd\x01\n\x0fSDKVersionRange\x12\x64\n\x0blower_bound\x18\x01 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x00\x88\x01\x01\x12\x64\n\x0bupper_bound\x18\x02 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRangeBoundH\x01\x88\x01\x01\x42\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_bound\x1a\x82\x01\n\nSDKVersion\x12U\n\x06ranges\x18\x01 \x03(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.SDKVersionRange\x12\x1d\n\x15work_around_pyoto_bug\x18\x02 \x01(\x08\x1a\xb5\x06\n\x15\x43lientOperatingSystem\x12Z\n\x0bios_version\x18\x01 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x00\x88\x01\x01\x12^\n\x0f\x61ndroid_version\x18\x02 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x01\x88\x01\x01\x12\\\n\rmacos_version\x18\x03 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x02\x88\x01\x01\x12^\n\x0fwindows_version\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x03\x88\x01\x01\x12\x62\n\x13playstation_version\x18\x05 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x04\x88\x01\x01\x12[\n\x0cxbox_version\x18\x06 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x05\x88\x01\x01\x12\\\n\rlinux_version\x18\x07 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.SDKVersionH\x06\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x10\n\x0e_macos_versionB\x12\n\x10_windows_versionB\x16\n\x14_playstation_versionB\x0f\n\r_xbox_versionB\x10\n\x0e_linux_version\x1a>\n\nStaffUsers\x12\x15\n\rwork_accounts\x18\x01 \x01(\x08\x12\x19\n\x11personal_accounts\x18\x02 \x01(\x08\x1a \n\x0bUserInGuild\x12\x11\n\tguild_ids\x18\x01 \x03(\x06\x1a\x1b\n\x07UserIds\x12\x10\n\x08user_ids\x18\x01 \x03(\x06\x1a#\n\x0c\x43lientLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x39\n\tISORegion\x12\x13\n\x0biso_country\x18\x01 \x01(\t\x12\x17\n\x0fiso_subdivision\x18\x02 \x01(\t\x1a;\n\x05Place\x12\x0c\n\x04\x63ity\x18\x01 \x01(\t\x12\x13\n\x0bsubdivision\x18\x02 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x03 \x01(\t\x1a\xcc\x01\n\x08Location\x12U\n\niso_region\x18\x01 \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.ISORegionH\x00\x12\x0f\n\x05is_eu\x18\x02 \x01(\x08H\x00\x12L\n\x05place\x18\x03 \x01(\x0b\x32;.discord_protos.discord_experimentation.v1.Experiment.PlaceH\x00\x42\n\n\x08location\x1a\x63\n\x0e\x43lientLocation\x12Q\n\tlocations\x18\x01 \x03(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.Location\x1a\x1e\n\x08\x43lientIP\x12\x12\n\x06\x62locks\x18\x01 \x03(\tB\x02\x10\x00\x1a!\n\nUserLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\x1b\n\tUserIsBot\x12\x0e\n\x06is_bot\x18\x01 \x01(\x08\x1a\xa6\x01\n\x0cUserAgeRange\x12\x38\n\rmin_age_years\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x00\x88\x01\x01\x12\x38\n\rmax_age_years\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32ValueH\x01\x88\x01\x01\x42\x10\n\x0e_min_age_yearsB\x10\n\x0e_max_age_years\x1a\x1d\n\x0c\x46ixed64Value\x12\r\n\x05value\x18\x01 \x01(\x06\x1a\xd5\x01\n\x0bUserIDRange\x12W\n\x06min_id\x18\x01 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x00\x88\x01\x01\x12W\n\x06max_id\x18\x02 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.Fixed64ValueH\x01\x88\x01\x01\x42\t\n\x07_min_idB\t\n\x07_max_id\x1a\x1b\n\x0bUserHasFlag\x12\x0c\n\x04mask\x18\x01 \x01(\x06\x1a\x37\n\x13UnitIdInRangeByHash\x12\x10\n\x08hash_key\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\r\x1a\x34\n\x14\x43lientReleaseChannel\x12\x1c\n\x10release_channels\x18\x01 \x03(\tB\x02\x10\x00\x1a\x17\n\x06\x41lways\x12\r\n\x05value\x18\x01 \x01(\x08\x1a)\n\x12\x43lientSystemLocale\x12\x13\n\x07locales\x18\x01 \x03(\tB\x02\x10\x00\x1a\xbf\x0c\n\x06\x46ilter\x12^\n\x0e\x63lient_version\x18\x02 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientPlatformH\x00\x12`\n\tclient_os\x18\x03 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientOperatingSystemH\x00\x12Q\n\x05staff\x18\x04 \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.StaffUsersH\x00\x12Z\n\ruser_in_guild\x18\x05 \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserInGuildH\x00\x12Q\n\x08user_ids\x18\x06 \x01(\x0b\x32=.discord_protos.discord_experimentation.v1.Experiment.UserIdsH\x00\x12[\n\rclient_locale\x18\x07 \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.ClientLocaleH\x00\x12_\n\x0f\x63lient_location\x18\x08 \x01(\x0b\x32\x44.discord_protos.discord_experimentation.v1.Experiment.ClientLocationH\x00\x12S\n\tclient_ip\x18\t \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.ClientIPH\x00\x12W\n\x0buser_locale\x18\n \x01(\x0b\x32@.discord_protos.discord_experimentation.v1.Experiment.UserLocaleH\x00\x12N\n\x03\x62ot\x18\x0b \x01(\x0b\x32?.discord_protos.discord_experimentation.v1.Experiment.UserIsBotH\x00\x12\\\n\x0euser_age_range\x18\x0c \x01(\x0b\x32\x42.discord_protos.discord_experimentation.v1.Experiment.UserAgeRangeH\x00\x12Z\n\ruser_id_range\x18\r \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserIDRangeH\x00\x12Z\n\ruser_has_flag\x18\x0e \x01(\x0b\x32\x41.discord_protos.discord_experimentation.v1.Experiment.UserHasFlagH\x00\x12m\n\x18unit_id_in_range_by_hash\x18\x0f \x01(\x0b\x32I.discord_protos.discord_experimentation.v1.Experiment.UnitIdInRangeByHashH\x00\x12l\n\x16\x63lient_release_channel\x18\x10 \x01(\x0b\x32J.discord_protos.discord_experimentation.v1.Experiment.ClientReleaseChannelH\x00\x12N\n\x06\x61lways\x18\x11 \x01(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.AlwaysH\x00\x12h\n\x14\x63lient_system_locale\x18\x12 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.ClientSystemLocaleH\x00\x42\x08\n\x06\x66ilter\x1a \n\x08Override\x12\x14\n\x0cvariation_id\x18\x01 \x01(\x05\x1a\x9b\x02\n\x04Rule\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32<.discord_protos.discord_experimentation.v1.Experiment.Filter\x12U\n\x08override\x18\x03 \x01(\x0b\x32>.discord_protos.discord_experimentation.v1.Experiment.OverrideH\x00\x88\x01\x01\x12\x16\n\x0eis_sunset_rule\x18\x04 \x01(\x08\x42\x0b\n\t_override\"9\n\x08UnitType\x12\x19\n\x15UNIT_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eUNIT_TYPE_USER\x10\x01\"O\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTYPE_ACTIVE\x10\x01\x12\x0f\n\x0bTYPE_UNUSED\x10\x02\x12\x0f\n\x0bTYPE_BURNED\x10\x03\"\xb7\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPHASE_DRAFT\x10\x01\x12\x15\n\x11PHASE_MEASUREMENT\x10\x02\x12\x1b\n\x17PHASE_MEASUREMENT_ENDED\x10\x03\x12\x15\n\x11PHASE_ROLLING_OUT\x10\x04\x12\x14\n\x10PHASE_ROLLED_OUT\x10\x05\x12\x12\n\x0ePHASE_ARCHIVED\x10\x06\x12\x11\n\rPHASE_AA_MODE\x10\x07\"D\n\x07Surface\x12\x17\n\x13SURFACE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSURFACE_API\x10\x01\x12\x0f\n\x0bSURFACE_APP\x10\x02\"Q\n\x10\x45xposureTracking\x12\x1d\n\x19\x45XPOSURE_TRACKING_ENABLED\x10\x00\x12\x1e\n\x1a\x45XPOSURE_TRACKING_DISABLED\x10\x01\"p\n\x0e\x41ssignmentMode\x12\x18\n\x14\x41SSIGNMENT_MODE_FULL\x10\x00\x12!\n\x1d\x41SSIGNMENT_MODE_FORCE_DEFAULT\x10\x01\x12!\n\x1d\x41SSIGNMENT_MODE_OVERRIDE_ONLY\x10\x02\x42\r\n\x0b_created_atB\x0c\n\n_edited_atB\r\n\x0b_hypothesisB\x11\n\x0f_tech_spec_linkb\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -44,85 +44,85 @@ if not _descriptor._USE_C_DESCRIPTORS:
44
44
  _globals['_EXPERIMENT_CLIENTSYSTEMLOCALE'].fields_by_name['locales']._loaded_options = None
45
45
  _globals['_EXPERIMENT_CLIENTSYSTEMLOCALE'].fields_by_name['locales']._serialized_options = b'\020\000'
46
46
  _globals['_EXPERIMENT']._serialized_start=156
47
- _globals['_EXPERIMENT']._serialized_end=8139
48
- _globals['_EXPERIMENT_VARIANTALLOCATION']._serialized_start=1262
49
- _globals['_EXPERIMENT_VARIANTALLOCATION']._serialized_end=1384
50
- _globals['_EXPERIMENT_VARIANT']._serialized_start=1387
51
- _globals['_EXPERIMENT_VARIANT']._serialized_end=1618
52
- _globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_start=1621
53
- _globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_end=1782
54
- _globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_start=1785
55
- _globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_end=1945
56
- _globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_start=1948
57
- _globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_end=2216
58
- _globals['_EXPERIMENT_PLATFORMVERSION']._serialized_start=2219
59
- _globals['_EXPERIMENT_PLATFORMVERSION']._serialized_end=2359
60
- _globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_start=2362
61
- _globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_end=2844
62
- _globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_start=2846
63
- _globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_end=2884
64
- _globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_start=2887
65
- _globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_end=3037
66
- _globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_start=3040
67
- _globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_end=3293
68
- _globals['_EXPERIMENT_SDKVERSION']._serialized_start=3296
69
- _globals['_EXPERIMENT_SDKVERSION']._serialized_end=3426
70
- _globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_start=3429
71
- _globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_end=4250
72
- _globals['_EXPERIMENT_STAFFUSERS']._serialized_start=4252
73
- _globals['_EXPERIMENT_STAFFUSERS']._serialized_end=4314
74
- _globals['_EXPERIMENT_USERINGUILD']._serialized_start=4316
75
- _globals['_EXPERIMENT_USERINGUILD']._serialized_end=4348
76
- _globals['_EXPERIMENT_USERIDS']._serialized_start=4350
77
- _globals['_EXPERIMENT_USERIDS']._serialized_end=4377
78
- _globals['_EXPERIMENT_CLIENTLOCALE']._serialized_start=4379
79
- _globals['_EXPERIMENT_CLIENTLOCALE']._serialized_end=4414
80
- _globals['_EXPERIMENT_ISOREGION']._serialized_start=4416
81
- _globals['_EXPERIMENT_ISOREGION']._serialized_end=4473
82
- _globals['_EXPERIMENT_PLACE']._serialized_start=4475
83
- _globals['_EXPERIMENT_PLACE']._serialized_end=4534
84
- _globals['_EXPERIMENT_LOCATION']._serialized_start=4537
85
- _globals['_EXPERIMENT_LOCATION']._serialized_end=4741
86
- _globals['_EXPERIMENT_CLIENTLOCATION']._serialized_start=4743
87
- _globals['_EXPERIMENT_CLIENTLOCATION']._serialized_end=4842
88
- _globals['_EXPERIMENT_CLIENTIP']._serialized_start=4844
89
- _globals['_EXPERIMENT_CLIENTIP']._serialized_end=4874
90
- _globals['_EXPERIMENT_USERLOCALE']._serialized_start=4876
91
- _globals['_EXPERIMENT_USERLOCALE']._serialized_end=4909
92
- _globals['_EXPERIMENT_USERISBOT']._serialized_start=4911
93
- _globals['_EXPERIMENT_USERISBOT']._serialized_end=4938
94
- _globals['_EXPERIMENT_USERAGERANGE']._serialized_start=4941
95
- _globals['_EXPERIMENT_USERAGERANGE']._serialized_end=5107
96
- _globals['_EXPERIMENT_FIXED64VALUE']._serialized_start=5109
97
- _globals['_EXPERIMENT_FIXED64VALUE']._serialized_end=5138
98
- _globals['_EXPERIMENT_USERIDRANGE']._serialized_start=5141
99
- _globals['_EXPERIMENT_USERIDRANGE']._serialized_end=5354
100
- _globals['_EXPERIMENT_USERHASFLAG']._serialized_start=5356
101
- _globals['_EXPERIMENT_USERHASFLAG']._serialized_end=5383
102
- _globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_start=5385
103
- _globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_end=5440
104
- _globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_start=5442
105
- _globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_end=5494
106
- _globals['_EXPERIMENT_ALWAYS']._serialized_start=5496
107
- _globals['_EXPERIMENT_ALWAYS']._serialized_end=5519
108
- _globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_start=5521
109
- _globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_end=5562
110
- _globals['_EXPERIMENT_FILTER']._serialized_start=5565
111
- _globals['_EXPERIMENT_FILTER']._serialized_end=7164
112
- _globals['_EXPERIMENT_OVERRIDE']._serialized_start=7166
113
- _globals['_EXPERIMENT_OVERRIDE']._serialized_end=7196
114
- _globals['_EXPERIMENT_RULE']._serialized_start=7199
115
- _globals['_EXPERIMENT_RULE']._serialized_end=7482
116
- _globals['_EXPERIMENT_UNITTYPE']._serialized_start=7484
117
- _globals['_EXPERIMENT_UNITTYPE']._serialized_end=7541
118
- _globals['_EXPERIMENT_TYPE']._serialized_start=7543
119
- _globals['_EXPERIMENT_TYPE']._serialized_end=7622
120
- _globals['_EXPERIMENT_STATUS']._serialized_start=7625
121
- _globals['_EXPERIMENT_STATUS']._serialized_end=7809
122
- _globals['_EXPERIMENT_SURFACE']._serialized_start=7811
123
- _globals['_EXPERIMENT_SURFACE']._serialized_end=7879
124
- _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=7881
125
- _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=7962
126
- _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=7964
127
- _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=8076
47
+ _globals['_EXPERIMENT']._serialized_end=8120
48
+ _globals['_EXPERIMENT_BUCKET']._serialized_start=1266
49
+ _globals['_EXPERIMENT_BUCKET']._serialized_end=1377
50
+ _globals['_EXPERIMENT_VARIATION']._serialized_start=1380
51
+ _globals['_EXPERIMENT_VARIATION']._serialized_end=1598
52
+ _globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_start=1601
53
+ _globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_end=1762
54
+ _globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_start=1765
55
+ _globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_end=1925
56
+ _globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_start=1928
57
+ _globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_end=2196
58
+ _globals['_EXPERIMENT_PLATFORMVERSION']._serialized_start=2199
59
+ _globals['_EXPERIMENT_PLATFORMVERSION']._serialized_end=2339
60
+ _globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_start=2342
61
+ _globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_end=2824
62
+ _globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_start=2826
63
+ _globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_end=2864
64
+ _globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_start=2867
65
+ _globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_end=3017
66
+ _globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_start=3020
67
+ _globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_end=3273
68
+ _globals['_EXPERIMENT_SDKVERSION']._serialized_start=3276
69
+ _globals['_EXPERIMENT_SDKVERSION']._serialized_end=3406
70
+ _globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_start=3409
71
+ _globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_end=4230
72
+ _globals['_EXPERIMENT_STAFFUSERS']._serialized_start=4232
73
+ _globals['_EXPERIMENT_STAFFUSERS']._serialized_end=4294
74
+ _globals['_EXPERIMENT_USERINGUILD']._serialized_start=4296
75
+ _globals['_EXPERIMENT_USERINGUILD']._serialized_end=4328
76
+ _globals['_EXPERIMENT_USERIDS']._serialized_start=4330
77
+ _globals['_EXPERIMENT_USERIDS']._serialized_end=4357
78
+ _globals['_EXPERIMENT_CLIENTLOCALE']._serialized_start=4359
79
+ _globals['_EXPERIMENT_CLIENTLOCALE']._serialized_end=4394
80
+ _globals['_EXPERIMENT_ISOREGION']._serialized_start=4396
81
+ _globals['_EXPERIMENT_ISOREGION']._serialized_end=4453
82
+ _globals['_EXPERIMENT_PLACE']._serialized_start=4455
83
+ _globals['_EXPERIMENT_PLACE']._serialized_end=4514
84
+ _globals['_EXPERIMENT_LOCATION']._serialized_start=4517
85
+ _globals['_EXPERIMENT_LOCATION']._serialized_end=4721
86
+ _globals['_EXPERIMENT_CLIENTLOCATION']._serialized_start=4723
87
+ _globals['_EXPERIMENT_CLIENTLOCATION']._serialized_end=4822
88
+ _globals['_EXPERIMENT_CLIENTIP']._serialized_start=4824
89
+ _globals['_EXPERIMENT_CLIENTIP']._serialized_end=4854
90
+ _globals['_EXPERIMENT_USERLOCALE']._serialized_start=4856
91
+ _globals['_EXPERIMENT_USERLOCALE']._serialized_end=4889
92
+ _globals['_EXPERIMENT_USERISBOT']._serialized_start=4891
93
+ _globals['_EXPERIMENT_USERISBOT']._serialized_end=4918
94
+ _globals['_EXPERIMENT_USERAGERANGE']._serialized_start=4921
95
+ _globals['_EXPERIMENT_USERAGERANGE']._serialized_end=5087
96
+ _globals['_EXPERIMENT_FIXED64VALUE']._serialized_start=5089
97
+ _globals['_EXPERIMENT_FIXED64VALUE']._serialized_end=5118
98
+ _globals['_EXPERIMENT_USERIDRANGE']._serialized_start=5121
99
+ _globals['_EXPERIMENT_USERIDRANGE']._serialized_end=5334
100
+ _globals['_EXPERIMENT_USERHASFLAG']._serialized_start=5336
101
+ _globals['_EXPERIMENT_USERHASFLAG']._serialized_end=5363
102
+ _globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_start=5365
103
+ _globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_end=5420
104
+ _globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_start=5422
105
+ _globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_end=5474
106
+ _globals['_EXPERIMENT_ALWAYS']._serialized_start=5476
107
+ _globals['_EXPERIMENT_ALWAYS']._serialized_end=5499
108
+ _globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_start=5501
109
+ _globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_end=5542
110
+ _globals['_EXPERIMENT_FILTER']._serialized_start=5545
111
+ _globals['_EXPERIMENT_FILTER']._serialized_end=7144
112
+ _globals['_EXPERIMENT_OVERRIDE']._serialized_start=7146
113
+ _globals['_EXPERIMENT_OVERRIDE']._serialized_end=7178
114
+ _globals['_EXPERIMENT_RULE']._serialized_start=7181
115
+ _globals['_EXPERIMENT_RULE']._serialized_end=7464
116
+ _globals['_EXPERIMENT_UNITTYPE']._serialized_start=7466
117
+ _globals['_EXPERIMENT_UNITTYPE']._serialized_end=7523
118
+ _globals['_EXPERIMENT_TYPE']._serialized_start=7525
119
+ _globals['_EXPERIMENT_TYPE']._serialized_end=7604
120
+ _globals['_EXPERIMENT_PHASE']._serialized_start=7607
121
+ _globals['_EXPERIMENT_PHASE']._serialized_end=7790
122
+ _globals['_EXPERIMENT_SURFACE']._serialized_start=7792
123
+ _globals['_EXPERIMENT_SURFACE']._serialized_end=7860
124
+ _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=7862
125
+ _globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=7943
126
+ _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=7945
127
+ _globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=8057
128
128
  # @@protoc_insertion_point(module_scope)
@@ -77,9 +77,9 @@ export interface Experiment {
77
77
  */
78
78
  rules: Experiment_Rule[];
79
79
  /**
80
- * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Status status = 18
80
+ * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Phase phase = 18
81
81
  */
82
- status: Experiment_Status;
82
+ phase: Experiment_Phase;
83
83
  /**
84
84
  * @generated from protobuf field: repeated discord_protos.discord_experimentation.v1.Experiment.Surface surfaces = 19
85
85
  */
@@ -706,37 +706,41 @@ export declare enum Experiment_Type {
706
706
  BURNED = 3
707
707
  }
708
708
  /**
709
- * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Status
709
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Phase
710
710
  */
711
- export declare enum Experiment_Status {
711
+ export declare enum Experiment_Phase {
712
712
  /**
713
- * @generated from protobuf enum value: STATUS_UNSPECIFIED = 0;
713
+ * @generated from protobuf enum value: PHASE_UNSPECIFIED = 0;
714
714
  */
715
715
  UNSPECIFIED = 0,
716
716
  /**
717
- * @generated from protobuf enum value: STATUS_DRAFT = 1;
717
+ * @generated from protobuf enum value: PHASE_DRAFT = 1;
718
718
  */
719
719
  DRAFT = 1,
720
720
  /**
721
- * @generated from protobuf enum value: STATUS_TESTING = 2;
721
+ * @generated from protobuf enum value: PHASE_MEASUREMENT = 2;
722
722
  */
723
- TESTING = 2,
723
+ MEASUREMENT = 2,
724
724
  /**
725
- * @generated from protobuf enum value: STATUS_TESTING_ENDED = 3;
725
+ * @generated from protobuf enum value: PHASE_MEASUREMENT_ENDED = 3;
726
726
  */
727
- TESTING_ENDED = 3,
727
+ MEASUREMENT_ENDED = 3,
728
728
  /**
729
- * @generated from protobuf enum value: STATUS_ROLLING_OUT = 4;
729
+ * @generated from protobuf enum value: PHASE_ROLLING_OUT = 4;
730
730
  */
731
731
  ROLLING_OUT = 4,
732
732
  /**
733
- * @generated from protobuf enum value: STATUS_ROLLED_OUT = 5;
733
+ * @generated from protobuf enum value: PHASE_ROLLED_OUT = 5;
734
734
  */
735
735
  ROLLED_OUT = 5,
736
736
  /**
737
- * @generated from protobuf enum value: STATUS_ARCHIVED = 6;
737
+ * @generated from protobuf enum value: PHASE_ARCHIVED = 6;
738
738
  */
739
- ARCHIVED = 6
739
+ ARCHIVED = 6,
740
+ /**
741
+ * @generated from protobuf enum value: PHASE_AA_MODE = 7;
742
+ */
743
+ AA_MODE = 7
740
744
  }
741
745
  /**
742
746
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Surface
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Experiment_Rule = exports.Experiment_Override = exports.Experiment_Filter = exports.Experiment_ClientSystemLocale = exports.Experiment_Always = exports.Experiment_ClientReleaseChannel = exports.Experiment_UnitIdInRangeByHash = exports.Experiment_UserHasFlag = exports.Experiment_UserIDRange = exports.Experiment_Fixed64Value = exports.Experiment_UserAgeRange = exports.Experiment_UserIsBot = exports.Experiment_UserLocale = exports.Experiment_ClientIP = exports.Experiment_ClientLocation = exports.Experiment_Location = exports.Experiment_Place = exports.Experiment_ISORegion = exports.Experiment_ClientLocale = exports.Experiment_UserIds = exports.Experiment_UserInGuild = exports.Experiment_StaffUsers = exports.Experiment_ClientOperatingSystem = exports.Experiment_SDKVersion = exports.Experiment_SDKVersionRange = exports.Experiment_SDKVersionRangeBound = exports.Experiment_SDKVersionSpecifier = exports.Experiment_ClientPlatform = exports.Experiment_PlatformVersion = exports.Experiment_PlatformVersionRange = exports.Experiment_PlatformVersionRangeBound = exports.Experiment_PlatformVersionSpecifier = exports.Experiment_Variant = exports.Experiment_VariantAllocation = exports.Experiment = exports.Experiment_AssignmentMode = exports.Experiment_ExposureTracking = exports.Experiment_Surface = exports.Experiment_Status = exports.Experiment_Type = exports.Experiment_UnitType = void 0;
3
+ exports.Experiment_Rule = exports.Experiment_Override = exports.Experiment_Filter = exports.Experiment_ClientSystemLocale = exports.Experiment_Always = exports.Experiment_ClientReleaseChannel = exports.Experiment_UnitIdInRangeByHash = exports.Experiment_UserHasFlag = exports.Experiment_UserIDRange = exports.Experiment_Fixed64Value = exports.Experiment_UserAgeRange = exports.Experiment_UserIsBot = exports.Experiment_UserLocale = exports.Experiment_ClientIP = exports.Experiment_ClientLocation = exports.Experiment_Location = exports.Experiment_Place = exports.Experiment_ISORegion = exports.Experiment_ClientLocale = exports.Experiment_UserIds = exports.Experiment_UserInGuild = exports.Experiment_StaffUsers = exports.Experiment_ClientOperatingSystem = exports.Experiment_SDKVersion = exports.Experiment_SDKVersionRange = exports.Experiment_SDKVersionRangeBound = exports.Experiment_SDKVersionSpecifier = exports.Experiment_ClientPlatform = exports.Experiment_PlatformVersion = exports.Experiment_PlatformVersionRange = exports.Experiment_PlatformVersionRangeBound = exports.Experiment_PlatformVersionSpecifier = exports.Experiment_Variant = exports.Experiment_VariantAllocation = exports.Experiment = exports.Experiment_AssignmentMode = exports.Experiment_ExposureTracking = exports.Experiment_Surface = exports.Experiment_Phase = exports.Experiment_Type = exports.Experiment_UnitType = void 0;
4
4
  const runtime_1 = require("@protobuf-ts/runtime");
5
5
  const runtime_2 = require("@protobuf-ts/runtime");
6
6
  const runtime_3 = require("@protobuf-ts/runtime");
@@ -46,39 +46,43 @@ var Experiment_Type;
46
46
  Experiment_Type[Experiment_Type["BURNED"] = 3] = "BURNED";
47
47
  })(Experiment_Type || (exports.Experiment_Type = Experiment_Type = {}));
48
48
  /**
49
- * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Status
49
+ * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Phase
50
50
  */
51
- var Experiment_Status;
52
- (function (Experiment_Status) {
51
+ var Experiment_Phase;
52
+ (function (Experiment_Phase) {
53
53
  /**
54
- * @generated from protobuf enum value: STATUS_UNSPECIFIED = 0;
54
+ * @generated from protobuf enum value: PHASE_UNSPECIFIED = 0;
55
55
  */
56
- Experiment_Status[Experiment_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED";
56
+ Experiment_Phase[Experiment_Phase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
57
57
  /**
58
- * @generated from protobuf enum value: STATUS_DRAFT = 1;
58
+ * @generated from protobuf enum value: PHASE_DRAFT = 1;
59
59
  */
60
- Experiment_Status[Experiment_Status["DRAFT"] = 1] = "DRAFT";
60
+ Experiment_Phase[Experiment_Phase["DRAFT"] = 1] = "DRAFT";
61
61
  /**
62
- * @generated from protobuf enum value: STATUS_TESTING = 2;
62
+ * @generated from protobuf enum value: PHASE_MEASUREMENT = 2;
63
63
  */
64
- Experiment_Status[Experiment_Status["TESTING"] = 2] = "TESTING";
64
+ Experiment_Phase[Experiment_Phase["MEASUREMENT"] = 2] = "MEASUREMENT";
65
65
  /**
66
- * @generated from protobuf enum value: STATUS_TESTING_ENDED = 3;
66
+ * @generated from protobuf enum value: PHASE_MEASUREMENT_ENDED = 3;
67
67
  */
68
- Experiment_Status[Experiment_Status["TESTING_ENDED"] = 3] = "TESTING_ENDED";
68
+ Experiment_Phase[Experiment_Phase["MEASUREMENT_ENDED"] = 3] = "MEASUREMENT_ENDED";
69
69
  /**
70
- * @generated from protobuf enum value: STATUS_ROLLING_OUT = 4;
70
+ * @generated from protobuf enum value: PHASE_ROLLING_OUT = 4;
71
71
  */
72
- Experiment_Status[Experiment_Status["ROLLING_OUT"] = 4] = "ROLLING_OUT";
72
+ Experiment_Phase[Experiment_Phase["ROLLING_OUT"] = 4] = "ROLLING_OUT";
73
73
  /**
74
- * @generated from protobuf enum value: STATUS_ROLLED_OUT = 5;
74
+ * @generated from protobuf enum value: PHASE_ROLLED_OUT = 5;
75
75
  */
76
- Experiment_Status[Experiment_Status["ROLLED_OUT"] = 5] = "ROLLED_OUT";
76
+ Experiment_Phase[Experiment_Phase["ROLLED_OUT"] = 5] = "ROLLED_OUT";
77
77
  /**
78
- * @generated from protobuf enum value: STATUS_ARCHIVED = 6;
78
+ * @generated from protobuf enum value: PHASE_ARCHIVED = 6;
79
79
  */
80
- Experiment_Status[Experiment_Status["ARCHIVED"] = 6] = "ARCHIVED";
81
- })(Experiment_Status || (exports.Experiment_Status = Experiment_Status = {}));
80
+ Experiment_Phase[Experiment_Phase["ARCHIVED"] = 6] = "ARCHIVED";
81
+ /**
82
+ * @generated from protobuf enum value: PHASE_AA_MODE = 7;
83
+ */
84
+ Experiment_Phase[Experiment_Phase["AA_MODE"] = 7] = "AA_MODE";
85
+ })(Experiment_Phase || (exports.Experiment_Phase = Experiment_Phase = {}));
82
86
  /**
83
87
  * @generated from protobuf enum discord_protos.discord_experimentation.v1.Experiment.Surface
84
88
  */
@@ -149,7 +153,7 @@ class Experiment$Type extends runtime_4.MessageType {
149
153
  { no: 14, name: "unit_type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.UnitType", Experiment_UnitType, "UNIT_TYPE_"] },
150
154
  { no: 15, name: "variants", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.Experiment_Variant },
151
155
  { no: 16, name: "rules", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.Experiment_Rule },
152
- { no: 18, name: "status", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Status", Experiment_Status, "STATUS_"] },
156
+ { no: 18, name: "phase", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Phase", Experiment_Phase, "PHASE_"] },
153
157
  { no: 19, name: "surfaces", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["discord_protos.discord_experimentation.v1.Experiment.Surface", Experiment_Surface, "SURFACE_"] },
154
158
  { no: 20, name: "owning_team_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
155
159
  { no: 21, name: "cached_notification_channel_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ },
@@ -173,7 +177,7 @@ class Experiment$Type extends runtime_4.MessageType {
173
177
  message.unitType = 0;
174
178
  message.variants = [];
175
179
  message.rules = [];
176
- message.status = 0;
180
+ message.phase = 0;
177
181
  message.surfaces = [];
178
182
  message.owningTeamName = "";
179
183
  message.cachedNotificationChannelId = 0n;
@@ -238,8 +242,8 @@ class Experiment$Type extends runtime_4.MessageType {
238
242
  case /* repeated discord_protos.discord_experimentation.v1.Experiment.Rule rules */ 16:
239
243
  message.rules.push(exports.Experiment_Rule.internalBinaryRead(reader, reader.uint32(), options));
240
244
  break;
241
- case /* discord_protos.discord_experimentation.v1.Experiment.Status status */ 18:
242
- message.status = reader.int32();
245
+ case /* discord_protos.discord_experimentation.v1.Experiment.Phase phase */ 18:
246
+ message.phase = reader.int32();
243
247
  break;
244
248
  case /* repeated discord_protos.discord_experimentation.v1.Experiment.Surface surfaces */ 19:
245
249
  if (wireType === runtime_2.WireType.LengthDelimited)
@@ -326,9 +330,9 @@ class Experiment$Type extends runtime_4.MessageType {
326
330
  /* repeated discord_protos.discord_experimentation.v1.Experiment.Rule rules = 16; */
327
331
  for (let i = 0; i < message.rules.length; i++)
328
332
  exports.Experiment_Rule.internalBinaryWrite(message.rules[i], writer.tag(16, runtime_2.WireType.LengthDelimited).fork(), options).join();
329
- /* discord_protos.discord_experimentation.v1.Experiment.Status status = 18; */
330
- if (message.status !== 0)
331
- writer.tag(18, runtime_2.WireType.Varint).int32(message.status);
333
+ /* discord_protos.discord_experimentation.v1.Experiment.Phase phase = 18; */
334
+ if (message.phase !== 0)
335
+ writer.tag(18, runtime_2.WireType.Varint).int32(message.phase);
332
336
  /* repeated discord_protos.discord_experimentation.v1.Experiment.Surface surfaces = 19; */
333
337
  if (message.surfaces.length) {
334
338
  writer.tag(19, runtime_2.WireType.LengthDelimited).fork();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.54",
3
+ "version": "1.2.56",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",