discord-protos 1.2.74 → 1.2.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/discord_protos/__init__.py +1 -1
- package/discord_protos/discord_experimentation/v1/Experiment.proto +1 -0
- package/discord_protos/discord_experimentation/v1/Experiment_pb2.py +90 -88
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +31 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +73 -3
- package/package.json +1 -1
|
@@ -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\"\xe9\x44\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\x16\n\x0eowning_team_id\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\x12H\n\x04type\x18\x1a \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12\x13\n\x0bis_template\x18\x1b \x01(\x08\x12\x1d\n\x15\x66ield_numbers_to_copy\x18\x1c \x03(\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\xa6\x02\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\x12\x38\n\rconfiguration\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x88\x01\x01\x42\x10\n\x0e_configuration\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\x46\n\x15\x43lientRequiredChanges\x12\x19\n\rcommit_hashes\x18\x01 \x03(\tB\x02\x10\x00\x12\x12\n\npr_numbers\x18\x02 \x03(\x05\x1a\x8f\x05\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\x12\x1c\n\x14\x61llow_non_native_web\x18\x06 \x01(\x08\x12q\n\x17\x63lient_required_changes\x18\x05 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientRequiredChangesH\x04\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x0e\n\x0c_web_versionB\x11\n\x0f_native_versionB\x1a\n\x18_client_required_changes\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\x42\n\x12UnitIdInExperiment\x12\x15\n\rexperiment_id\x18\x01 \x01(\x06\x12\x15\n\rvariation_ids\x18\x02 \x03(\x05\x1a(\n\x0fUserPremiumType\x12\x15\n\rpremium_types\x18\x01 \x03(\x05\x1a\x8e\x0e\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\x12i\n\x15unit_id_in_experiment\x18\x13 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.UnitIdInExperimentH\x00\x12\x62\n\x11user_premium_type\x18\x14 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.UserPremiumTypeH\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\"\x96\x01\n\x07Surface\x12\x17\n\x13SURFACE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSURFACE_API\x10\x01\x12\x0f\n\x0bSURFACE_APP\x10\x02\x12\x1c\n\x18SURFACE_DEVELOPER_PORTAL\x10\x03\x12\x17\n\x13SURFACE_ADMIN_PANEL\x10\x04\x12\x19\n\x15SURFACE_ADS_BUDGET_AB\x10\x05\"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\"\x8b\x45\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\x16\n\x0eowning_team_id\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\x12H\n\x04type\x18\x1a \x01(\x0e\x32:.discord_protos.discord_experimentation.v1.Experiment.Type\x12\x13\n\x0bis_template\x18\x1b \x01(\x08\x12\x1d\n\x15\x66ield_numbers_to_copy\x18\x1c \x03(\x05\x12 \n\x14\x65ngine_feature_flags\x18\x1d \x03(\tB\x02\x10\x00\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\xa6\x02\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\x12\x38\n\rconfiguration\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x88\x01\x01\x42\x10\n\x0e_configuration\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\x46\n\x15\x43lientRequiredChanges\x12\x19\n\rcommit_hashes\x18\x01 \x03(\tB\x02\x10\x00\x12\x12\n\npr_numbers\x18\x02 \x03(\x05\x1a\x8f\x05\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\x12\x1c\n\x14\x61llow_non_native_web\x18\x06 \x01(\x08\x12q\n\x17\x63lient_required_changes\x18\x05 \x01(\x0b\x32K.discord_protos.discord_experimentation.v1.Experiment.ClientRequiredChangesH\x04\x88\x01\x01\x42\x0e\n\x0c_ios_versionB\x12\n\x10_android_versionB\x0e\n\x0c_web_versionB\x11\n\x0f_native_versionB\x1a\n\x18_client_required_changes\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\x42\n\x12UnitIdInExperiment\x12\x15\n\rexperiment_id\x18\x01 \x01(\x06\x12\x15\n\rvariation_ids\x18\x02 \x03(\x05\x1a(\n\x0fUserPremiumType\x12\x15\n\rpremium_types\x18\x01 \x03(\x05\x1a\x8e\x0e\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\x12i\n\x15unit_id_in_experiment\x18\x13 \x01(\x0b\x32H.discord_protos.discord_experimentation.v1.Experiment.UnitIdInExperimentH\x00\x12\x62\n\x11user_premium_type\x18\x14 \x01(\x0b\x32\x45.discord_protos.discord_experimentation.v1.Experiment.UserPremiumTypeH\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\"\x96\x01\n\x07Surface\x12\x17\n\x13SURFACE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSURFACE_API\x10\x01\x12\x0f\n\x0bSURFACE_APP\x10\x02\x12\x1c\n\x18SURFACE_DEVELOPER_PORTAL\x10\x03\x12\x17\n\x13SURFACE_ADMIN_PANEL\x10\x04\x12\x19\n\x15SURFACE_ADS_BUDGET_AB\x10\x05\"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)
|
|
@@ -45,92 +45,94 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
45
45
|
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL'].fields_by_name['release_channels']._serialized_options = b'\020\000'
|
|
46
46
|
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE'].fields_by_name['locales']._loaded_options = None
|
|
47
47
|
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE'].fields_by_name['locales']._serialized_options = b'\020\000'
|
|
48
|
+
_globals['_EXPERIMENT'].fields_by_name['engine_feature_flags']._loaded_options = None
|
|
49
|
+
_globals['_EXPERIMENT'].fields_by_name['engine_feature_flags']._serialized_options = b'\020\000'
|
|
48
50
|
_globals['_EXPERIMENT']._serialized_start=156
|
|
49
|
-
_globals['_EXPERIMENT']._serialized_end=
|
|
50
|
-
_globals['_EXPERIMENT_BUCKET']._serialized_start=
|
|
51
|
-
_globals['_EXPERIMENT_BUCKET']._serialized_end=
|
|
52
|
-
_globals['_EXPERIMENT_VARIATION']._serialized_start=
|
|
53
|
-
_globals['_EXPERIMENT_VARIATION']._serialized_end=
|
|
54
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_start=
|
|
55
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_end=
|
|
56
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_start=
|
|
57
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_end=
|
|
58
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_start=
|
|
59
|
-
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_end=
|
|
60
|
-
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_start=
|
|
61
|
-
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_end=
|
|
62
|
-
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_start=
|
|
63
|
-
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_end=
|
|
64
|
-
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_start=
|
|
65
|
-
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_end=
|
|
66
|
-
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_start=
|
|
67
|
-
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_end=
|
|
68
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_start=
|
|
69
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_end=
|
|
70
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_start=
|
|
71
|
-
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_end=
|
|
72
|
-
_globals['_EXPERIMENT_SDKVERSION']._serialized_start=
|
|
73
|
-
_globals['_EXPERIMENT_SDKVERSION']._serialized_end=
|
|
74
|
-
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_start=
|
|
75
|
-
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_end=
|
|
76
|
-
_globals['_EXPERIMENT_STAFFUSERS']._serialized_start=
|
|
77
|
-
_globals['_EXPERIMENT_STAFFUSERS']._serialized_end=
|
|
78
|
-
_globals['_EXPERIMENT_USERINGUILD']._serialized_start=
|
|
79
|
-
_globals['_EXPERIMENT_USERINGUILD']._serialized_end=
|
|
80
|
-
_globals['_EXPERIMENT_USERIDS']._serialized_start=
|
|
81
|
-
_globals['_EXPERIMENT_USERIDS']._serialized_end=
|
|
82
|
-
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_start=
|
|
83
|
-
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_end=
|
|
84
|
-
_globals['_EXPERIMENT_ISOREGION']._serialized_start=
|
|
85
|
-
_globals['_EXPERIMENT_ISOREGION']._serialized_end=
|
|
86
|
-
_globals['_EXPERIMENT_PLACE']._serialized_start=
|
|
87
|
-
_globals['_EXPERIMENT_PLACE']._serialized_end=
|
|
88
|
-
_globals['_EXPERIMENT_LOCATION']._serialized_start=
|
|
89
|
-
_globals['_EXPERIMENT_LOCATION']._serialized_end=
|
|
90
|
-
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_start=
|
|
91
|
-
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_end=
|
|
92
|
-
_globals['_EXPERIMENT_CLIENTIP']._serialized_start=
|
|
93
|
-
_globals['_EXPERIMENT_CLIENTIP']._serialized_end=
|
|
94
|
-
_globals['_EXPERIMENT_USERLOCALE']._serialized_start=
|
|
95
|
-
_globals['_EXPERIMENT_USERLOCALE']._serialized_end=
|
|
96
|
-
_globals['_EXPERIMENT_USERISBOT']._serialized_start=
|
|
97
|
-
_globals['_EXPERIMENT_USERISBOT']._serialized_end=
|
|
98
|
-
_globals['_EXPERIMENT_USERAGERANGE']._serialized_start=
|
|
99
|
-
_globals['_EXPERIMENT_USERAGERANGE']._serialized_end=
|
|
100
|
-
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_start=
|
|
101
|
-
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_end=
|
|
102
|
-
_globals['_EXPERIMENT_USERIDRANGE']._serialized_start=
|
|
103
|
-
_globals['_EXPERIMENT_USERIDRANGE']._serialized_end=
|
|
104
|
-
_globals['_EXPERIMENT_USERHASFLAG']._serialized_start=
|
|
105
|
-
_globals['_EXPERIMENT_USERHASFLAG']._serialized_end=
|
|
106
|
-
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_start=
|
|
107
|
-
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_end=
|
|
108
|
-
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_start=
|
|
109
|
-
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_end=
|
|
110
|
-
_globals['_EXPERIMENT_ALWAYS']._serialized_start=
|
|
111
|
-
_globals['_EXPERIMENT_ALWAYS']._serialized_end=
|
|
112
|
-
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_start=
|
|
113
|
-
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_end=
|
|
114
|
-
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_start=
|
|
115
|
-
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_end=
|
|
116
|
-
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_start=
|
|
117
|
-
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_end=
|
|
118
|
-
_globals['_EXPERIMENT_FILTER']._serialized_start=
|
|
119
|
-
_globals['_EXPERIMENT_FILTER']._serialized_end=
|
|
120
|
-
_globals['_EXPERIMENT_OVERRIDE']._serialized_start=
|
|
121
|
-
_globals['_EXPERIMENT_OVERRIDE']._serialized_end=
|
|
122
|
-
_globals['_EXPERIMENT_RULE']._serialized_start=
|
|
123
|
-
_globals['_EXPERIMENT_RULE']._serialized_end=
|
|
124
|
-
_globals['_EXPERIMENT_UNITTYPE']._serialized_start=
|
|
125
|
-
_globals['_EXPERIMENT_UNITTYPE']._serialized_end=
|
|
126
|
-
_globals['_EXPERIMENT_TYPE']._serialized_start=
|
|
127
|
-
_globals['_EXPERIMENT_TYPE']._serialized_end=
|
|
128
|
-
_globals['_EXPERIMENT_PHASE']._serialized_start=
|
|
129
|
-
_globals['_EXPERIMENT_PHASE']._serialized_end=
|
|
130
|
-
_globals['_EXPERIMENT_SURFACE']._serialized_start=
|
|
131
|
-
_globals['_EXPERIMENT_SURFACE']._serialized_end=
|
|
132
|
-
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=
|
|
133
|
-
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=
|
|
134
|
-
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=
|
|
135
|
-
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=
|
|
51
|
+
_globals['_EXPERIMENT']._serialized_end=8999
|
|
52
|
+
_globals['_EXPERIMENT_BUCKET']._serialized_start=1424
|
|
53
|
+
_globals['_EXPERIMENT_BUCKET']._serialized_end=1535
|
|
54
|
+
_globals['_EXPERIMENT_VARIATION']._serialized_start=1538
|
|
55
|
+
_globals['_EXPERIMENT_VARIATION']._serialized_end=1832
|
|
56
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_start=1835
|
|
57
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONSPECIFIER']._serialized_end=1996
|
|
58
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_start=1999
|
|
59
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGEBOUND']._serialized_end=2159
|
|
60
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_start=2162
|
|
61
|
+
_globals['_EXPERIMENT_PLATFORMVERSIONRANGE']._serialized_end=2430
|
|
62
|
+
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_start=2433
|
|
63
|
+
_globals['_EXPERIMENT_PLATFORMVERSION']._serialized_end=2573
|
|
64
|
+
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_start=2575
|
|
65
|
+
_globals['_EXPERIMENT_CLIENTREQUIREDCHANGES']._serialized_end=2645
|
|
66
|
+
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_start=2648
|
|
67
|
+
_globals['_EXPERIMENT_CLIENTPLATFORM']._serialized_end=3303
|
|
68
|
+
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_start=3305
|
|
69
|
+
_globals['_EXPERIMENT_SDKVERSIONSPECIFIER']._serialized_end=3343
|
|
70
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_start=3346
|
|
71
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGEBOUND']._serialized_end=3496
|
|
72
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_start=3499
|
|
73
|
+
_globals['_EXPERIMENT_SDKVERSIONRANGE']._serialized_end=3752
|
|
74
|
+
_globals['_EXPERIMENT_SDKVERSION']._serialized_start=3755
|
|
75
|
+
_globals['_EXPERIMENT_SDKVERSION']._serialized_end=3885
|
|
76
|
+
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_start=3888
|
|
77
|
+
_globals['_EXPERIMENT_CLIENTOPERATINGSYSTEM']._serialized_end=4709
|
|
78
|
+
_globals['_EXPERIMENT_STAFFUSERS']._serialized_start=4711
|
|
79
|
+
_globals['_EXPERIMENT_STAFFUSERS']._serialized_end=4773
|
|
80
|
+
_globals['_EXPERIMENT_USERINGUILD']._serialized_start=4775
|
|
81
|
+
_globals['_EXPERIMENT_USERINGUILD']._serialized_end=4807
|
|
82
|
+
_globals['_EXPERIMENT_USERIDS']._serialized_start=4809
|
|
83
|
+
_globals['_EXPERIMENT_USERIDS']._serialized_end=4836
|
|
84
|
+
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_start=4838
|
|
85
|
+
_globals['_EXPERIMENT_CLIENTLOCALE']._serialized_end=4873
|
|
86
|
+
_globals['_EXPERIMENT_ISOREGION']._serialized_start=4875
|
|
87
|
+
_globals['_EXPERIMENT_ISOREGION']._serialized_end=4932
|
|
88
|
+
_globals['_EXPERIMENT_PLACE']._serialized_start=4934
|
|
89
|
+
_globals['_EXPERIMENT_PLACE']._serialized_end=4993
|
|
90
|
+
_globals['_EXPERIMENT_LOCATION']._serialized_start=4996
|
|
91
|
+
_globals['_EXPERIMENT_LOCATION']._serialized_end=5200
|
|
92
|
+
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_start=5202
|
|
93
|
+
_globals['_EXPERIMENT_CLIENTLOCATION']._serialized_end=5301
|
|
94
|
+
_globals['_EXPERIMENT_CLIENTIP']._serialized_start=5303
|
|
95
|
+
_globals['_EXPERIMENT_CLIENTIP']._serialized_end=5333
|
|
96
|
+
_globals['_EXPERIMENT_USERLOCALE']._serialized_start=5335
|
|
97
|
+
_globals['_EXPERIMENT_USERLOCALE']._serialized_end=5368
|
|
98
|
+
_globals['_EXPERIMENT_USERISBOT']._serialized_start=5370
|
|
99
|
+
_globals['_EXPERIMENT_USERISBOT']._serialized_end=5397
|
|
100
|
+
_globals['_EXPERIMENT_USERAGERANGE']._serialized_start=5400
|
|
101
|
+
_globals['_EXPERIMENT_USERAGERANGE']._serialized_end=5566
|
|
102
|
+
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_start=5568
|
|
103
|
+
_globals['_EXPERIMENT_FIXED64VALUE']._serialized_end=5597
|
|
104
|
+
_globals['_EXPERIMENT_USERIDRANGE']._serialized_start=5600
|
|
105
|
+
_globals['_EXPERIMENT_USERIDRANGE']._serialized_end=5813
|
|
106
|
+
_globals['_EXPERIMENT_USERHASFLAG']._serialized_start=5815
|
|
107
|
+
_globals['_EXPERIMENT_USERHASFLAG']._serialized_end=5842
|
|
108
|
+
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_start=5844
|
|
109
|
+
_globals['_EXPERIMENT_UNITIDINRANGEBYHASH']._serialized_end=5899
|
|
110
|
+
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_start=5901
|
|
111
|
+
_globals['_EXPERIMENT_CLIENTRELEASECHANNEL']._serialized_end=5953
|
|
112
|
+
_globals['_EXPERIMENT_ALWAYS']._serialized_start=5955
|
|
113
|
+
_globals['_EXPERIMENT_ALWAYS']._serialized_end=5978
|
|
114
|
+
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_start=5980
|
|
115
|
+
_globals['_EXPERIMENT_CLIENTSYSTEMLOCALE']._serialized_end=6021
|
|
116
|
+
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_start=6023
|
|
117
|
+
_globals['_EXPERIMENT_UNITIDINEXPERIMENT']._serialized_end=6089
|
|
118
|
+
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_start=6091
|
|
119
|
+
_globals['_EXPERIMENT_USERPREMIUMTYPE']._serialized_end=6131
|
|
120
|
+
_globals['_EXPERIMENT_FILTER']._serialized_start=6134
|
|
121
|
+
_globals['_EXPERIMENT_FILTER']._serialized_end=7940
|
|
122
|
+
_globals['_EXPERIMENT_OVERRIDE']._serialized_start=7942
|
|
123
|
+
_globals['_EXPERIMENT_OVERRIDE']._serialized_end=7974
|
|
124
|
+
_globals['_EXPERIMENT_RULE']._serialized_start=7977
|
|
125
|
+
_globals['_EXPERIMENT_RULE']._serialized_end=8260
|
|
126
|
+
_globals['_EXPERIMENT_UNITTYPE']._serialized_start=8262
|
|
127
|
+
_globals['_EXPERIMENT_UNITTYPE']._serialized_end=8319
|
|
128
|
+
_globals['_EXPERIMENT_TYPE']._serialized_start=8321
|
|
129
|
+
_globals['_EXPERIMENT_TYPE']._serialized_end=8400
|
|
130
|
+
_globals['_EXPERIMENT_PHASE']._serialized_start=8403
|
|
131
|
+
_globals['_EXPERIMENT_PHASE']._serialized_end=8586
|
|
132
|
+
_globals['_EXPERIMENT_SURFACE']._serialized_start=8589
|
|
133
|
+
_globals['_EXPERIMENT_SURFACE']._serialized_end=8739
|
|
134
|
+
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_start=8741
|
|
135
|
+
_globals['_EXPERIMENT_EXPOSURETRACKING']._serialized_end=8822
|
|
136
|
+
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_start=8824
|
|
137
|
+
_globals['_EXPERIMENT_ASSIGNMENTMODE']._serialized_end=8936
|
|
136
138
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -521,6 +521,23 @@ export interface PreloadedUserSettings_DefaultReactionEmoji {
|
|
|
521
521
|
*/
|
|
522
522
|
animated?: BoolValue;
|
|
523
523
|
}
|
|
524
|
+
/**
|
|
525
|
+
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings
|
|
526
|
+
*/
|
|
527
|
+
export interface PreloadedUserSettings_SelfHarmContentSettings {
|
|
528
|
+
/**
|
|
529
|
+
* @generated from protobuf field: discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_guilds = 1
|
|
530
|
+
*/
|
|
531
|
+
selfHarmContentGuilds: PreloadedUserSettings_ExplicitContentRedaction;
|
|
532
|
+
/**
|
|
533
|
+
* @generated from protobuf field: discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_friend_dm = 2
|
|
534
|
+
*/
|
|
535
|
+
selfHarmContentFriendDm: PreloadedUserSettings_ExplicitContentRedaction;
|
|
536
|
+
/**
|
|
537
|
+
* @generated from protobuf field: discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_non_friend_dm = 3
|
|
538
|
+
*/
|
|
539
|
+
selfHarmContentNonFriendDm: PreloadedUserSettings_ExplicitContentRedaction;
|
|
540
|
+
}
|
|
524
541
|
/**
|
|
525
542
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.TextAndImagesSettings
|
|
526
543
|
*/
|
|
@@ -657,6 +674,10 @@ export interface PreloadedUserSettings_TextAndImagesSettings {
|
|
|
657
674
|
* @generated from protobuf field: optional google.protobuf.BoolValue show_mention_suggestions = 34
|
|
658
675
|
*/
|
|
659
676
|
showMentionSuggestions?: BoolValue;
|
|
677
|
+
/**
|
|
678
|
+
* @generated from protobuf field: optional discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings self_harm_content_settings = 35
|
|
679
|
+
*/
|
|
680
|
+
selfHarmContentSettings?: PreloadedUserSettings_SelfHarmContentSettings;
|
|
660
681
|
}
|
|
661
682
|
/**
|
|
662
683
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.NotificationSettings
|
|
@@ -1845,6 +1866,16 @@ declare class PreloadedUserSettings_DefaultReactionEmoji$Type extends MessageTyp
|
|
|
1845
1866
|
* @generated MessageType for protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.DefaultReactionEmoji
|
|
1846
1867
|
*/
|
|
1847
1868
|
export declare const PreloadedUserSettings_DefaultReactionEmoji: PreloadedUserSettings_DefaultReactionEmoji$Type;
|
|
1869
|
+
declare class PreloadedUserSettings_SelfHarmContentSettings$Type extends MessageType<PreloadedUserSettings_SelfHarmContentSettings> {
|
|
1870
|
+
constructor();
|
|
1871
|
+
create(value?: PartialMessage<PreloadedUserSettings_SelfHarmContentSettings>): PreloadedUserSettings_SelfHarmContentSettings;
|
|
1872
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreloadedUserSettings_SelfHarmContentSettings): PreloadedUserSettings_SelfHarmContentSettings;
|
|
1873
|
+
internalBinaryWrite(message: PreloadedUserSettings_SelfHarmContentSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* @generated MessageType for protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings
|
|
1877
|
+
*/
|
|
1878
|
+
export declare const PreloadedUserSettings_SelfHarmContentSettings: PreloadedUserSettings_SelfHarmContentSettings$Type;
|
|
1848
1879
|
declare class PreloadedUserSettings_TextAndImagesSettings$Type extends MessageType<PreloadedUserSettings_TextAndImagesSettings> {
|
|
1849
1880
|
constructor();
|
|
1850
1881
|
create(value?: PartialMessage<PreloadedUserSettings_TextAndImagesSettings>): PreloadedUserSettings_TextAndImagesSettings;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PreloadedUserSettings_InAppFeedbackSettings = exports.PreloadedUserSettings_InAppFeedbackState = exports.PreloadedUserSettings_AdsSettings = exports.PreloadedUserSettings_AllApplicationSettings = exports.PreloadedUserSettings_ApplicationSettings = exports.PreloadedUserSettings_ApplicationSharingSettings = exports.PreloadedUserSettings_ApplicationDMSettings = exports.PreloadedUserSettings_ICYMISettings = exports.PreloadedUserSettings_SafetySettings = exports.PreloadedUserSettings_ForLaterSettings = exports.PreloadedUserSettings_ClipsSettings = exports.PreloadedUserSettings_BroadcastSettings = exports.PreloadedUserSettings_CommunitiesSettings = exports.PreloadedUserSettings_AudioSettings = exports.PreloadedUserSettings_AudioContextSetting = exports.PreloadedUserSettings_Favorites = exports.PreloadedUserSettings_FavoriteChannel = exports.PreloadedUserSettings_GuildFolders = exports.PreloadedUserSettings_GuildFolder = void 0;
|
|
3
|
+
exports.PreloadedUserSettings_ClientThemeSettings = exports.PreloadedUserSettings_CustomUserThemeSettings = exports.PreloadedUserSettings_LocalizationSettings = exports.PreloadedUserSettings_StatusSettings = exports.PreloadedUserSettings_CustomStatus = exports.PreloadedUserSettings_GameLibrarySettings = exports.PreloadedUserSettings_DebugSettings = exports.PreloadedUserSettings_PrivacySettings = exports.PreloadedUserSettings_NotificationSettings = exports.PreloadedUserSettings_TextAndImagesSettings = exports.PreloadedUserSettings_SelfHarmContentSettings = exports.PreloadedUserSettings_DefaultReactionEmoji = exports.PreloadedUserSettings_GoreContentSettings = exports.PreloadedUserSettings_KeywordFilterSettings = exports.PreloadedUserSettings_ExplicitContentSettings = exports.PreloadedUserSettings_VoiceAndVideoSettings = exports.PreloadedUserSettings_SoundboardSettings = exports.PreloadedUserSettings_VideoFilterAsset = exports.PreloadedUserSettings_VideoFilterBackgroundBlur = exports.PreloadedUserSettings_UserContentSettings = exports.PreloadedUserSettings_RecurringDismissibleContentState = exports.PreloadedUserSettings_AllGuildSettings = exports.PreloadedUserSettings_GuildSettings = exports.PreloadedUserSettings_GuildDismissibleContentState = exports.PreloadedUserSettings_ChannelListSettings = exports.PreloadedUserSettings_CustomCallSound = exports.PreloadedUserSettings_ChannelSettings = exports.PreloadedUserSettings_CustomNotificationSoundConfig = exports.PreloadedUserSettings_ChannelIconEmoji = exports.PreloadedUserSettings_InboxSettings = exports.PreloadedUserSettings_Versions = exports.PreloadedUserSettings = exports.PreloadedUserSettings_SafetySettingsPresetType = exports.PreloadedUserSettings_ForLaterTab = exports.PreloadedUserSettings_FavoriteChannelType = exports.PreloadedUserSettings_SwipeRightToLeftMode = exports.PreloadedUserSettings_UIDensity = exports.PreloadedUserSettings_LaunchPadMode = exports.PreloadedUserSettings_TimestampHourCycle = exports.PreloadedUserSettings_Theme = exports.PreloadedUserSettings_GuildActivityStatusRestrictionDefaultV2 = exports.PreloadedUserSettings_SlayerSDKReceiveInGameDMs = exports.PreloadedUserSettings_GuildsLeaderboardOptOutDefault = exports.PreloadedUserSettings_GuildActivityStatusRestrictionDefault = exports.PreloadedUserSettings_CustomStatusPushNotificationType = exports.PreloadedUserSettings_GameActivityNotificationType = exports.PreloadedUserSettings_ReactionNotificationType = exports.PreloadedUserSettings_ExplicitContentRedaction = exports.PreloadedUserSettings_DmSpamFilterV2 = exports.PreloadedUserSettings_InboxTab = void 0;
|
|
4
|
+
exports.PreloadedUserSettings_InAppFeedbackSettings = exports.PreloadedUserSettings_InAppFeedbackState = exports.PreloadedUserSettings_AdsSettings = exports.PreloadedUserSettings_AllApplicationSettings = exports.PreloadedUserSettings_ApplicationSettings = exports.PreloadedUserSettings_ApplicationSharingSettings = exports.PreloadedUserSettings_ApplicationDMSettings = exports.PreloadedUserSettings_ICYMISettings = exports.PreloadedUserSettings_SafetySettings = exports.PreloadedUserSettings_ForLaterSettings = exports.PreloadedUserSettings_ClipsSettings = exports.PreloadedUserSettings_BroadcastSettings = exports.PreloadedUserSettings_CommunitiesSettings = exports.PreloadedUserSettings_AudioSettings = exports.PreloadedUserSettings_AudioContextSetting = exports.PreloadedUserSettings_Favorites = exports.PreloadedUserSettings_FavoriteChannel = exports.PreloadedUserSettings_GuildFolders = exports.PreloadedUserSettings_GuildFolder = exports.PreloadedUserSettings_AppearanceSettings = void 0;
|
|
5
5
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
6
6
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
7
7
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -2027,6 +2027,69 @@ class PreloadedUserSettings_DefaultReactionEmoji$Type extends runtime_4.MessageT
|
|
|
2027
2027
|
*/
|
|
2028
2028
|
exports.PreloadedUserSettings_DefaultReactionEmoji = new PreloadedUserSettings_DefaultReactionEmoji$Type();
|
|
2029
2029
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2030
|
+
class PreloadedUserSettings_SelfHarmContentSettings$Type extends runtime_4.MessageType {
|
|
2031
|
+
constructor() {
|
|
2032
|
+
super("discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings", [
|
|
2033
|
+
{ no: 1, name: "self_harm_content_guilds", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction", PreloadedUserSettings_ExplicitContentRedaction, "EXPLICIT_CONTENT_REDACTION_"] },
|
|
2034
|
+
{ no: 2, name: "self_harm_content_friend_dm", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction", PreloadedUserSettings_ExplicitContentRedaction, "EXPLICIT_CONTENT_REDACTION_"] },
|
|
2035
|
+
{ no: 3, name: "self_harm_content_non_friend_dm", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction", PreloadedUserSettings_ExplicitContentRedaction, "EXPLICIT_CONTENT_REDACTION_"] }
|
|
2036
|
+
]);
|
|
2037
|
+
}
|
|
2038
|
+
create(value) {
|
|
2039
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2040
|
+
message.selfHarmContentGuilds = 0;
|
|
2041
|
+
message.selfHarmContentFriendDm = 0;
|
|
2042
|
+
message.selfHarmContentNonFriendDm = 0;
|
|
2043
|
+
if (value !== undefined)
|
|
2044
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2045
|
+
return message;
|
|
2046
|
+
}
|
|
2047
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2048
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2049
|
+
while (reader.pos < end) {
|
|
2050
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2051
|
+
switch (fieldNo) {
|
|
2052
|
+
case /* discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_guilds */ 1:
|
|
2053
|
+
message.selfHarmContentGuilds = reader.int32();
|
|
2054
|
+
break;
|
|
2055
|
+
case /* discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_friend_dm */ 2:
|
|
2056
|
+
message.selfHarmContentFriendDm = reader.int32();
|
|
2057
|
+
break;
|
|
2058
|
+
case /* discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_non_friend_dm */ 3:
|
|
2059
|
+
message.selfHarmContentNonFriendDm = reader.int32();
|
|
2060
|
+
break;
|
|
2061
|
+
default:
|
|
2062
|
+
let u = options.readUnknownField;
|
|
2063
|
+
if (u === "throw")
|
|
2064
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2065
|
+
let d = reader.skip(wireType);
|
|
2066
|
+
if (u !== false)
|
|
2067
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
return message;
|
|
2071
|
+
}
|
|
2072
|
+
internalBinaryWrite(message, writer, options) {
|
|
2073
|
+
/* discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_guilds = 1; */
|
|
2074
|
+
if (message.selfHarmContentGuilds !== 0)
|
|
2075
|
+
writer.tag(1, runtime_1.WireType.Varint).int32(message.selfHarmContentGuilds);
|
|
2076
|
+
/* discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_friend_dm = 2; */
|
|
2077
|
+
if (message.selfHarmContentFriendDm !== 0)
|
|
2078
|
+
writer.tag(2, runtime_1.WireType.Varint).int32(message.selfHarmContentFriendDm);
|
|
2079
|
+
/* discord_protos.discord_users.v1.PreloadedUserSettings.ExplicitContentRedaction self_harm_content_non_friend_dm = 3; */
|
|
2080
|
+
if (message.selfHarmContentNonFriendDm !== 0)
|
|
2081
|
+
writer.tag(3, runtime_1.WireType.Varint).int32(message.selfHarmContentNonFriendDm);
|
|
2082
|
+
let u = options.writeUnknownFields;
|
|
2083
|
+
if (u !== false)
|
|
2084
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2085
|
+
return writer;
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* @generated MessageType for protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings
|
|
2090
|
+
*/
|
|
2091
|
+
exports.PreloadedUserSettings_SelfHarmContentSettings = new PreloadedUserSettings_SelfHarmContentSettings$Type();
|
|
2092
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2030
2093
|
class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.MessageType {
|
|
2031
2094
|
constructor() {
|
|
2032
2095
|
super("discord_protos.discord_users.v1.PreloadedUserSettings.TextAndImagesSettings", [
|
|
@@ -2062,7 +2125,8 @@ class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.Message
|
|
|
2062
2125
|
{ no: 31, name: "include_soundmoji_in_autocomplete", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2063
2126
|
{ no: 32, name: "gore_content_settings", kind: "message", T: () => exports.PreloadedUserSettings_GoreContentSettings },
|
|
2064
2127
|
{ no: 33, name: "default_reaction_emoji", kind: "message", T: () => exports.PreloadedUserSettings_DefaultReactionEmoji },
|
|
2065
|
-
{ no: 34, name: "show_mention_suggestions", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2128
|
+
{ no: 34, name: "show_mention_suggestions", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2129
|
+
{ no: 35, name: "self_harm_content_settings", kind: "message", T: () => exports.PreloadedUserSettings_SelfHarmContentSettings }
|
|
2066
2130
|
]);
|
|
2067
2131
|
}
|
|
2068
2132
|
create(value) {
|
|
@@ -2179,6 +2243,9 @@ class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.Message
|
|
|
2179
2243
|
case /* optional google.protobuf.BoolValue show_mention_suggestions */ 34:
|
|
2180
2244
|
message.showMentionSuggestions = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.showMentionSuggestions);
|
|
2181
2245
|
break;
|
|
2246
|
+
case /* optional discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings self_harm_content_settings */ 35:
|
|
2247
|
+
message.selfHarmContentSettings = exports.PreloadedUserSettings_SelfHarmContentSettings.internalBinaryRead(reader, reader.uint32(), options, message.selfHarmContentSettings);
|
|
2248
|
+
break;
|
|
2182
2249
|
default:
|
|
2183
2250
|
let u = options.readUnknownField;
|
|
2184
2251
|
if (u === "throw")
|
|
@@ -2290,6 +2357,9 @@ class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.Message
|
|
|
2290
2357
|
/* optional google.protobuf.BoolValue show_mention_suggestions = 34; */
|
|
2291
2358
|
if (message.showMentionSuggestions)
|
|
2292
2359
|
wrappers_5.BoolValue.internalBinaryWrite(message.showMentionSuggestions, writer.tag(34, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2360
|
+
/* optional discord_protos.discord_users.v1.PreloadedUserSettings.SelfHarmContentSettings self_harm_content_settings = 35; */
|
|
2361
|
+
if (message.selfHarmContentSettings)
|
|
2362
|
+
exports.PreloadedUserSettings_SelfHarmContentSettings.internalBinaryWrite(message.selfHarmContentSettings, writer.tag(35, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2293
2363
|
let u = options.writeUnknownFields;
|
|
2294
2364
|
if (u !== false)
|
|
2295
2365
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|