diff --git a/appdatabase/migrations/bindata.go b/appdatabase/migrations/bindata.go index 7104cca91..f8501799c 100644 --- a/appdatabase/migrations/bindata.go +++ b/appdatabase/migrations/bindata.go @@ -104,6 +104,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -113,7 +114,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -121,7 +122,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -177,7 +178,7 @@ func _1640111208_dummyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xf0, 0xae, 0x20, 0x6e, 0x75, 0xd1, 0x36, 0x14, 0xf2, 0x40, 0xe5, 0xd6, 0x7a, 0xc4, 0xa5, 0x72, 0xaa, 0xb5, 0x4d, 0x71, 0x97, 0xb8, 0xe8, 0x95, 0x22, 0x95, 0xa2, 0xac, 0xaf, 0x48, 0x58}} return a, nil } @@ -197,7 +198,7 @@ func _1642666031_add_removed_clock_to_bookmarksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0x4e, 0x38, 0x99, 0x7a, 0xc, 0x90, 0x13, 0xec, 0xfe, 0x2f, 0x55, 0xff, 0xb7, 0xb6, 0xaa, 0x96, 0xc6, 0x92, 0x79, 0xcc, 0xee, 0x4e, 0x99, 0x53, 0xfe, 0x1c, 0xbb, 0x32, 0x2, 0xa4, 0x27}} return a, nil } @@ -217,7 +218,7 @@ func _1643644541_gif_api_key_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x94, 0x28, 0xfb, 0x66, 0xd1, 0x7c, 0xb8, 0x89, 0xe2, 0xb4, 0x71, 0x65, 0x24, 0x57, 0x22, 0x95, 0x38, 0x97, 0x3, 0x9b, 0xc6, 0xa4, 0x41, 0x7b, 0xba, 0xf7, 0xdb, 0x70, 0xf7, 0x20, 0x3a}} return a, nil } @@ -237,7 +238,7 @@ func _1644188994_recent_stickersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1e, 0xad, 0xaa, 0x30, 0xbf, 0x4, 0x7, 0xf8, 0xc3, 0x3, 0xb8, 0x97, 0x23, 0x2b, 0xbd, 0x1c, 0x60, 0x69, 0xb0, 0x42, 0x5e, 0x6b, 0xd, 0xa7, 0xa3, 0x6b, 0x2e, 0xdc, 0x70, 0x13, 0x72, 0x7}} return a, nil } @@ -257,7 +258,7 @@ func _1646659233_add_address_to_dapp_permisssionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0xb0, 0x35, 0xcc, 0x2e, 0x16, 0xe6, 0x15, 0x86, 0x2c, 0x37, 0x80, 0xae, 0xa3, 0xc5, 0x31, 0x78, 0x5, 0x9d, 0xcd, 0x7b, 0xeb, 0x5f, 0xf2, 0xb3, 0x74, 0x72, 0xdf, 0xcf, 0x88, 0xb, 0x40}} return a, nil } @@ -277,7 +278,7 @@ func _1646841105_add_emoji_accountUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe6, 0x77, 0x29, 0x95, 0x18, 0x64, 0x82, 0x63, 0xe7, 0xaf, 0x6c, 0xa9, 0x15, 0x7d, 0x46, 0xa6, 0xbc, 0xdf, 0xa7, 0xd, 0x2b, 0xd2, 0x2d, 0x97, 0x4d, 0xa, 0x6b, 0xd, 0x6e, 0x90, 0x42, 0x5c}} return a, nil } @@ -297,7 +298,7 @@ func _1647278782_display_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xa1, 0x1f, 0x3e, 0x61, 0x65, 0x8d, 0xff, 0xee, 0xde, 0xc5, 0x91, 0xd9, 0x5c, 0xb5, 0xe2, 0xf0, 0xb7, 0xe7, 0x5c, 0x5c, 0x16, 0x25, 0x89, 0xee, 0x78, 0x12, 0xea, 0x3e, 0x48, 0x41, 0xa6}} return a, nil } @@ -317,7 +318,7 @@ func _1647862838_reset_last_backupUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xe3, 0xd5, 0xf6, 0x5f, 0xfe, 0x65, 0xfa, 0x1d, 0x88, 0xf8, 0x5f, 0x24, 0x71, 0x34, 0x68, 0x96, 0x2a, 0x60, 0x87, 0x15, 0x82, 0x4d, 0x8a, 0x59, 0x3d, 0x1f, 0xd8, 0x56, 0xd4, 0xfb, 0xda}} return a, nil } @@ -337,7 +338,7 @@ func _1647871652_add_settings_sync_clock_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd8, 0x58, 0xec, 0x85, 0x90, 0xfa, 0x30, 0x98, 0x98, 0x9a, 0xa6, 0xa8, 0x96, 0x2b, 0x38, 0x93, 0xf3, 0xae, 0x46, 0x74, 0xa4, 0x41, 0x62, 0x9b, 0x2, 0x86, 0xbf, 0xe5, 0x2a, 0xce, 0xe2, 0xc0}} return a, nil } @@ -357,7 +358,7 @@ func _1647880168_add_torrent_configUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x92, 0x22, 0x37, 0x96, 0xf3, 0xb5, 0x5b, 0x27, 0xd0, 0x7d, 0x43, 0x5, 0x4e, 0x9d, 0xe2, 0x49, 0xbe, 0x86, 0x31, 0xa1, 0x89, 0xff, 0xd6, 0x51, 0xe0, 0x9c, 0xb, 0xda, 0xfc, 0xf2, 0x93}} return a, nil } @@ -377,7 +378,7 @@ func _1647882837_add_communities_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbd, 0x87, 0x78, 0x99, 0xd9, 0x5d, 0xbd, 0xf7, 0x57, 0x9c, 0xca, 0x97, 0xbd, 0xb3, 0xe9, 0xb5, 0x89, 0x31, 0x3f, 0xf6, 0x5c, 0x13, 0xb, 0xc3, 0x54, 0x93, 0x18, 0x40, 0x7, 0x82, 0xfe, 0x7e}} return a, nil } @@ -397,7 +398,7 @@ func _1647956635_add_waku_messages_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xe, 0xe1, 0xdc, 0xda, 0x2e, 0x89, 0x8d, 0xdc, 0x2a, 0x1c, 0x13, 0xa1, 0xfc, 0xfe, 0xf, 0xb2, 0xb9, 0x85, 0xc8, 0x45, 0xd6, 0xd1, 0x7, 0x5c, 0xa3, 0x8, 0x47, 0x44, 0x6d, 0x96, 0xe0}} return a, nil } @@ -417,7 +418,7 @@ func _1648554928_network_testUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9a, 0xc5, 0x7f, 0x87, 0xf3, 0x2c, 0xf7, 0xbb, 0xd3, 0x3a, 0x4e, 0x76, 0x88, 0xca, 0xaf, 0x73, 0xce, 0x8f, 0xa1, 0xf6, 0x3d, 0x4d, 0xed, 0x6f, 0x49, 0xf2, 0xfe, 0x56, 0x2a, 0x60, 0x68, 0xca}} return a, nil } @@ -437,7 +438,7 @@ func _1649174829_add_visitble_tokenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x22, 0xc0, 0x2b, 0x3f, 0x4f, 0x3d, 0x5e, 0x4c, 0x68, 0x7c, 0xd0, 0x15, 0x36, 0x9f, 0xec, 0xa1, 0x2a, 0x7b, 0xb4, 0xe3, 0xc6, 0xc9, 0xb4, 0x81, 0x50, 0x4a, 0x11, 0x3b, 0x35, 0x7, 0xcf}} return a, nil } @@ -457,7 +458,7 @@ func _1649882262_add_derived_from_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0xb9, 0x44, 0x4d, 0x85, 0x8d, 0x7f, 0xb4, 0xae, 0x4f, 0x5c, 0x66, 0x64, 0xb6, 0xe2, 0xe, 0x3d, 0xad, 0x9d, 0x8, 0x4f, 0xab, 0x6e, 0xa8, 0x7d, 0x76, 0x3, 0xad, 0x96, 0x1, 0xee, 0x5c}} return a, nil } @@ -477,7 +478,7 @@ func _1650612625_add_community_message_archive_hashes_tableUpSql() (*asset, erro return nil, err } - info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0x31, 0xb3, 0x75, 0x23, 0xe2, 0x45, 0xe, 0x47, 0x1b, 0x35, 0xa5, 0x6e, 0x83, 0x4e, 0x64, 0x7d, 0xd7, 0xa2, 0xda, 0xe9, 0x53, 0xf1, 0x16, 0x86, 0x2c, 0x57, 0xad, 0xfa, 0xca, 0x39, 0xde}} return a, nil } @@ -497,7 +498,7 @@ func _1650616788_add_communities_archives_info_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x4f, 0x80, 0x45, 0xb9, 0xd9, 0x15, 0xe2, 0x78, 0xd0, 0xcb, 0x71, 0xc1, 0x1b, 0xb7, 0x1b, 0x1b, 0x97, 0xfe, 0x47, 0x53, 0x3c, 0x62, 0xbc, 0xdd, 0x3a, 0x94, 0x1a, 0xc, 0x48, 0x76, 0xe}} return a, nil } @@ -517,7 +518,7 @@ func _1652715604_add_clock_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0xd9, 0x8d, 0x73, 0xc9, 0xef, 0xfa, 0xb1, 0x4b, 0xa5, 0xf3, 0x5, 0x19, 0x26, 0x46, 0xf8, 0x47, 0x93, 0xdb, 0xac, 0x2, 0xef, 0xf9, 0x71, 0x56, 0x83, 0xe6, 0x2d, 0xb0, 0xd7, 0x83, 0x5c}} return a, nil } @@ -537,7 +538,7 @@ func _1653037334_add_notifications_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4b, 0xc4, 0x65, 0xac, 0xa, 0xf2, 0xef, 0xb6, 0x39, 0x3c, 0xc5, 0xb1, 0xb2, 0x9c, 0x86, 0x58, 0xe0, 0x38, 0xcb, 0x57, 0x3c, 0x76, 0x73, 0x87, 0x79, 0x4e, 0xf6, 0xed, 0xb0, 0x8e, 0x9e, 0xa}} return a, nil } @@ -557,7 +558,7 @@ func _1654702119_add_mutual_contact_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0x66, 0x67, 0x50, 0xfe, 0xd7, 0xe3, 0x29, 0x8b, 0xff, 0x9d, 0x5a, 0x87, 0xa7, 0x99, 0x6e, 0xd6, 0xcd, 0x2e, 0xbb, 0x17, 0xdf, 0x7f, 0xf7, 0xa3, 0xfa, 0x32, 0x7c, 0x2d, 0x92, 0xc8, 0x74}} return a, nil } @@ -577,7 +578,7 @@ func _1655375270_add_clock_field_to_communities_settings_tableUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x19, 0xc5, 0xc0, 0xf9, 0x84, 0x53, 0xdf, 0x83, 0xcf, 0xb6, 0x40, 0x6d, 0xf5, 0xdc, 0x77, 0x37, 0xb7, 0xe3, 0xa, 0x75, 0xe7, 0x6, 0x11, 0xca, 0x2b, 0x51, 0x92, 0xdd, 0x7d, 0xdb, 0xc3, 0xf5}} return a, nil } @@ -597,7 +598,7 @@ func _1655385721_drop_networks_configUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfc, 0xa7, 0x20, 0xbb, 0x67, 0x21, 0xe, 0xc6, 0xc8, 0x21, 0x74, 0xe0, 0xce, 0xc8, 0xe2, 0x2, 0xb4, 0xea, 0xf0, 0xe5, 0xc4, 0x4d, 0xdd, 0xd4, 0x52, 0x31, 0xa9, 0x3d, 0xcd, 0xd8, 0x9b, 0xab}} return a, nil } @@ -617,7 +618,7 @@ func _1655385724_networks_chaincolor_shortnameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd9, 0xe7, 0x84, 0xbb, 0x5f, 0xd2, 0x2c, 0x42, 0x88, 0x62, 0x52, 0xb6, 0x58, 0x31, 0xac, 0xc, 0x96, 0x2b, 0x1b, 0xe5, 0x4e, 0x9a, 0x3a, 0xf6, 0xf6, 0xfc, 0xa9, 0x1a, 0x35, 0x62, 0x28, 0x88}} return a, nil } @@ -637,7 +638,7 @@ func _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe7, 0x9a, 0xbd, 0x9a, 0xc9, 0xf, 0xdf, 0x90, 0x0, 0x5d, 0xea, 0x6e, 0x7d, 0x51, 0x95, 0xcd, 0x90, 0xd3, 0x1a, 0x36, 0x6c, 0xf4, 0xbd, 0xa7, 0x6b, 0xbf, 0xe5, 0xdb, 0xa3, 0x88, 0xe3, 0x50}} return a, nil } @@ -657,7 +658,7 @@ func _1655462032_create_bookmarks_deleted_at_indexUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf, 0x8e, 0x20, 0x6b, 0x14, 0x9e, 0xcd, 0x97, 0xd3, 0xfe, 0x62, 0x3, 0x26, 0x59, 0x1, 0x6c, 0x99, 0xef, 0x6d, 0x21, 0xd4, 0xb5, 0xa3, 0xf4, 0x39, 0x40, 0x54, 0x6, 0xd, 0x60, 0x13, 0x38}} return a, nil } @@ -677,7 +678,7 @@ func _1657617291_add_multi_transactions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x86, 0xb0, 0x4e, 0x8c, 0x4, 0x82, 0xb4, 0x43, 0xaa, 0xd0, 0x16, 0xdd, 0xcb, 0x88, 0x81, 0xac, 0x4, 0x34, 0x1a, 0x8f, 0x2e, 0xc5, 0x69, 0xb, 0xf0, 0x17, 0xf7, 0xe3, 0x9, 0xe, 0x54, 0xe0}} return a, nil } @@ -697,7 +698,7 @@ func _1660134042_add_social_links_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134042_add_social_links_settings_table.up.sql", size: 334, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660134042_add_social_links_settings_table.up.sql", size: 334, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0x73, 0xb6, 0xe7, 0x3f, 0xaa, 0x39, 0x9a, 0x56, 0x56, 0x31, 0xf1, 0x8e, 0x26, 0x23, 0x1, 0xe4, 0xfa, 0x98, 0xfe, 0x78, 0x87, 0x20, 0xcb, 0x52, 0xf4, 0x38, 0x7f, 0xc4, 0x1c, 0x4, 0x22}} return a, nil } @@ -717,7 +718,7 @@ func _1660134060_settings_bioUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134060_settings_bio.up.sql", size: 91, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660134060_settings_bio.up.sql", size: 91, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x46, 0x25, 0xa0, 0xa6, 0x47, 0xff, 0xbc, 0x2a, 0x0, 0xff, 0x59, 0x4b, 0xb0, 0xc9, 0x4e, 0x15, 0xe4, 0xd9, 0xda, 0xeb, 0xfe, 0x55, 0x98, 0xc3, 0x9d, 0x96, 0xe7, 0xf, 0xd1, 0x5c, 0x93, 0x73}} return a, nil } @@ -737,7 +738,7 @@ func _1660134070_add_wakuv2_storeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134070_add_wakuv2_store.up.sql", size: 269, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660134070_add_wakuv2_store.up.sql", size: 269, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0xe6, 0xc3, 0x9, 0xef, 0xdc, 0xae, 0x49, 0x30, 0x78, 0x54, 0xd6, 0xdb, 0xbf, 0xc0, 0x8e, 0x25, 0x8f, 0xfc, 0x67, 0x80, 0x39, 0x37, 0xd4, 0x86, 0xc1, 0x85, 0xc8, 0x99, 0xc4, 0x59, 0xd4}} return a, nil } @@ -757,7 +758,7 @@ func _1660134072_waku2_store_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134072_waku2_store_messages.up.sql", size: 497, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660134072_waku2_store_messages.up.sql", size: 497, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xeb, 0xb4, 0xa0, 0xa1, 0x2b, 0xcb, 0x4c, 0x3c, 0xc6, 0xd0, 0xe8, 0x96, 0xe3, 0x96, 0xf1, 0x4f, 0x1f, 0xe0, 0xe7, 0x1f, 0x85, 0xa3, 0xe, 0xf7, 0x52, 0x56, 0x63, 0x2b, 0xb0, 0x87, 0x7b}} return a, nil } @@ -777,7 +778,7 @@ func _1662365868_add_key_uid_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662365868_add_key_uid_accounts.up.sql", size: 68, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662365868_add_key_uid_accounts.up.sql", size: 68, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc6, 0xd8, 0x2f, 0x2f, 0x3b, 0xa8, 0xbd, 0x6d, 0xf6, 0x87, 0x7e, 0xd2, 0xf1, 0xa2, 0xf7, 0x81, 0x6a, 0x23, 0x10, 0xbc, 0xbf, 0x5b, 0xe7, 0x2b, 0x9c, 0xa9, 0x8a, 0x18, 0xbb, 0xd0, 0x86, 0x91}} return a, nil } @@ -797,7 +798,7 @@ func _1662447680_add_keypairs_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662447680_add_keypairs_table.up.sql", size: 218, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662447680_add_keypairs_table.up.sql", size: 218, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdc, 0x25, 0xa9, 0xc7, 0x63, 0x27, 0x97, 0x35, 0x5f, 0x6b, 0xab, 0x26, 0xcb, 0xf9, 0xbd, 0x5e, 0xac, 0x3, 0xa0, 0x5e, 0xb9, 0x71, 0xa3, 0x1f, 0xb3, 0x4f, 0x7f, 0x79, 0x28, 0x48, 0xbe, 0xc}} return a, nil } @@ -817,7 +818,7 @@ func _1662460056_move_favourites_to_saved_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662460056_move_favourites_to_saved_addresses.up.sql", size: 233, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662460056_move_favourites_to_saved_addresses.up.sql", size: 233, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0xa2, 0x8c, 0xa3, 0xec, 0xad, 0xdf, 0xc3, 0x48, 0x5, 0x9b, 0x50, 0x25, 0x59, 0xae, 0x7d, 0xee, 0x58, 0xd2, 0x41, 0x27, 0xf2, 0x22, 0x2e, 0x9a, 0xb9, 0x4a, 0xcc, 0x38, 0x6e, 0x3a, 0xb2}} return a, nil } @@ -837,7 +838,7 @@ func _1662738097_add_base_fee_transactionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662738097_add_base_fee_transaction.up.sql", size: 112, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662738097_add_base_fee_transaction.up.sql", size: 112, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0xfb, 0x10, 0xae, 0xfc, 0x77, 0x70, 0x98, 0x6f, 0xec, 0xaa, 0xcd, 0x7, 0xc7, 0x74, 0x23, 0xc, 0xd5, 0x1e, 0x82, 0xdd, 0xfe, 0xff, 0x3b, 0xd2, 0x49, 0x10, 0x5b, 0x30, 0xc, 0x2d, 0xb0}} return a, nil } @@ -857,7 +858,7 @@ func _1662972194_add_keypairs_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662972194_add_keypairs_table.up.sql", size: 345, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662972194_add_keypairs_table.up.sql", size: 345, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0x76, 0xf2, 0x86, 0xe1, 0x7e, 0xe9, 0x47, 0x32, 0x48, 0xd5, 0x6b, 0xe5, 0xd, 0xab, 0xb7, 0xf1, 0xd4, 0xf1, 0xad, 0x38, 0xa6, 0x11, 0xe7, 0xce, 0x5c, 0x11, 0x11, 0xf, 0x47, 0xb2, 0x4}} return a, nil } @@ -877,7 +878,7 @@ func _1664392661_add_third_party_id_to_waku_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664392661_add_third_party_id_to_waku_messages.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1664392661_add_third_party_id_to_waku_messages.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x67, 0x66, 0x9e, 0x66, 0x74, 0xce, 0x1c, 0xb, 0x1b, 0x9d, 0xd5, 0xfc, 0x65, 0xe, 0x83, 0x90, 0x4c, 0x61, 0x4e, 0x6b, 0xe7, 0x86, 0xbe, 0x36, 0x4f, 0x91, 0x36, 0x4, 0x47, 0x7b, 0x82}} return a, nil } @@ -897,7 +898,7 @@ func _1664783660_add_sync_info_to_saved_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664783660_add_sync_info_to_saved_addresses.up.sql", size: 388, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1664783660_add_sync_info_to_saved_addresses.up.sql", size: 388, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x67, 0x7c, 0x3a, 0x95, 0x4e, 0x55, 0xb2, 0xbd, 0xb4, 0x18, 0x93, 0xc1, 0xcf, 0x9f, 0x12, 0xbb, 0x49, 0x8a, 0x2a, 0x6a, 0x2a, 0x7f, 0xad, 0x44, 0xc3, 0xf, 0x3a, 0x79, 0x18, 0xb9, 0x4c, 0x64}} return a, nil } @@ -917,7 +918,7 @@ func _1668109917_wakunodesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1668109917_wakunodes.up.sql", size: 99, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1668109917_wakunodes.up.sql", size: 99, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x29, 0xaa, 0x9e, 0x2, 0x66, 0x85, 0x69, 0xa8, 0xd9, 0xe2, 0x4b, 0x8d, 0x2a, 0x9c, 0xdf, 0xd2, 0xef, 0x64, 0x58, 0xe3, 0xa6, 0xe7, 0xc1, 0xd1, 0xc8, 0x9c, 0xc0, 0x2c, 0x1, 0xa8, 0x7b, 0x81}} return a, nil } @@ -937,7 +938,7 @@ func _1670249678_display_name_to_settings_sync_clock_tableUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1670249678_display_name_to_settings_sync_clock_table.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1670249678_display_name_to_settings_sync_clock_table.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x39, 0x18, 0xdc, 0xc4, 0x1f, 0x79, 0x22, 0x16, 0x4d, 0xdf, 0x6c, 0x66, 0xd5, 0xa4, 0x88, 0x5d, 0x5, 0x37, 0xa7, 0x41, 0x5, 0x50, 0xae, 0x12, 0xfa, 0x7e, 0x89, 0x24, 0x5c, 0xae, 0x30, 0xfc}} return a, nil } @@ -957,7 +958,7 @@ func _1670836810_add_imported_flag_to_community_archive_hashesUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1670836810_add_imported_flag_to_community_archive_hashes.up.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1670836810_add_imported_flag_to_community_archive_hashes.up.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6f, 0xf, 0xf0, 0xbd, 0xfe, 0x63, 0x25, 0x8f, 0x5e, 0x46, 0x4b, 0x45, 0x31, 0x8b, 0x3e, 0xd8, 0x6b, 0x5d, 0x9d, 0x6d, 0x10, 0x9a, 0x87, 0x4b, 0x18, 0xc6, 0x39, 0x81, 0x6e, 0xe4, 0x75, 0xfb}} return a, nil } @@ -977,7 +978,7 @@ func _1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql() (*asset, return nil, err } - info := bindataFileInfo{name: "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xda, 0x8b, 0x4b, 0xd6, 0xd8, 0xe2, 0x3d, 0xf7, 0x6b, 0xcd, 0x1e, 0x70, 0x9, 0x2e, 0x35, 0x4, 0x61, 0xc3, 0xb5, 0x9d, 0xc5, 0x27, 0x21, 0xa, 0x5a, 0xd6, 0x3e, 0xa6, 0x24, 0xa2, 0x12, 0xdf}} return a, nil } @@ -997,7 +998,7 @@ func _1672933930_switcher_cardUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1672933930_switcher_card.up.sql", size: 162, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1672933930_switcher_card.up.sql", size: 162, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x39, 0xba, 0xdc, 0xbb, 0x40, 0x4, 0xf2, 0x10, 0xdf, 0xb4, 0xd2, 0x80, 0x8a, 0x74, 0x4d, 0xf6, 0xbc, 0x50, 0x7, 0xd, 0x22, 0x7f, 0xc4, 0xaf, 0xaa, 0xde, 0xdc, 0x71, 0xe9, 0x42, 0x98, 0x36}} return a, nil } @@ -1017,7 +1018,7 @@ func _1674056187_add_price_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674056187_add_price_cache.up.sql", size: 255, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1674056187_add_price_cache.up.sql", size: 255, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0x79, 0x6a, 0x9b, 0x28, 0xd1, 0x22, 0xf0, 0x84, 0x76, 0x40, 0x39, 0x49, 0x15, 0x5d, 0xaa, 0xfd, 0x11, 0xff, 0x13, 0x27, 0x42, 0x12, 0xfa, 0x82, 0xe6, 0x7a, 0xf0, 0x5e, 0x1f, 0xe3, 0xba}} return a, nil } @@ -1037,7 +1038,7 @@ func _1674136690_ens_usernamesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674136690_ens_usernames.up.sql", size: 98, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1674136690_ens_usernames.up.sql", size: 98, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x7a, 0xf3, 0xa8, 0x88, 0x99, 0xd6, 0x9c, 0x69, 0x48, 0x3c, 0x10, 0xda, 0x72, 0xdc, 0x14, 0xd, 0x6e, 0x8c, 0x82, 0x92, 0x2d, 0x2c, 0xee, 0x4c, 0x70, 0xa4, 0xdc, 0x5c, 0x5, 0x2, 0xc3}} return a, nil } @@ -1057,7 +1058,7 @@ func _1674232431_add_balance_historyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674232431_add_balance_history.up.sql", size: 698, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1674232431_add_balance_history.up.sql", size: 698, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0xb5, 0x18, 0xca, 0x4a, 0x93, 0xbb, 0x6f, 0xa4, 0xee, 0xe4, 0x3e, 0xff, 0x6a, 0x4b, 0xe2, 0xe1, 0x61, 0x28, 0xee, 0xc5, 0x26, 0x57, 0x61, 0x5e, 0x6d, 0x44, 0x1e, 0x85, 0x43, 0x70, 0xa2}} return a, nil } @@ -1077,7 +1078,7 @@ func _1676368933_keypairs_to_keycardsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676368933_keypairs_to_keycards.up.sql", size: 639, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1676368933_keypairs_to_keycards.up.sql", size: 639, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x93, 0x27, 0x2, 0xf0, 0x37, 0x81, 0x65, 0xa4, 0xb3, 0x5b, 0x60, 0x36, 0x95, 0xfc, 0x81, 0xf0, 0x3b, 0x7c, 0xc3, 0x2c, 0x85, 0xbd, 0x38, 0x46, 0xa4, 0x95, 0x4a, 0x6, 0x3e, 0x74, 0xd5}} return a, nil } @@ -1097,7 +1098,7 @@ func _1676951398_add_currency_format_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676951398_add_currency_format_cache.up.sql", size: 291, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1676951398_add_currency_format_cache.up.sql", size: 291, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf9, 0xa3, 0x76, 0x35, 0xca, 0xf, 0xe8, 0xdf, 0xd9, 0x61, 0xf9, 0xed, 0xfc, 0x6d, 0xf5, 0xe, 0x11, 0x88, 0xbd, 0x14, 0x92, 0xc6, 0x57, 0x53, 0xe, 0xcd, 0x52, 0xf4, 0xa9, 0xb1, 0xdd, 0xfd}} return a, nil } @@ -1117,7 +1118,7 @@ func _1676968196_keycards_add_clock_columnUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676968196_keycards_add_clock_column.up.sql", size: 73, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1676968196_keycards_add_clock_column.up.sql", size: 73, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4c, 0xf, 0x1c, 0x28, 0x41, 0x57, 0x57, 0x6c, 0xe, 0x75, 0x6b, 0x75, 0x12, 0x0, 0x18, 0x1e, 0x88, 0x1e, 0x45, 0xe0, 0x32, 0xb9, 0xd4, 0xd9, 0x2e, 0xc8, 0xb, 0x80, 0x6, 0x51, 0x3d, 0x28}} return a, nil } @@ -1137,7 +1138,7 @@ func _1676968197_add_fallback_rpc_to_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676968197_add_fallback_rpc_to_networks.up.sql", size: 112, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1676968197_add_fallback_rpc_to_networks.up.sql", size: 112, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0x6a, 0xc6, 0x45, 0xfa, 0x62, 0x84, 0x74, 0x6d, 0x7c, 0xd7, 0x1d, 0x79, 0xb6, 0x38, 0x43, 0xa8, 0x8, 0x6b, 0x75, 0x3d, 0x9, 0x2, 0xc5, 0x9f, 0xbb, 0x45, 0x56, 0x4c, 0x4e, 0x17, 0x89}} return a, nil } @@ -1157,7 +1158,7 @@ func _1677674090_add_chains_ens_istest_to_saved_addressesUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql", size: 638, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql", size: 638, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0x2d, 0xa4, 0x1b, 0xf6, 0x6a, 0x13, 0x7b, 0xe, 0x59, 0xcd, 0xe2, 0x4e, 0x81, 0x99, 0xc4, 0x33, 0x84, 0xde, 0x66, 0xca, 0xac, 0x2f, 0x5, 0x90, 0xac, 0xfd, 0x4e, 0xfc, 0x55, 0x44, 0xe5}} return a, nil } @@ -1177,7 +1178,7 @@ func _1677681143_accounts_table_type_column_updateUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1677681143_accounts_table_type_column_update.up.sql", size: 135, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1677681143_accounts_table_type_column_update.up.sql", size: 135, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0xc4, 0x6, 0x42, 0x50, 0x1d, 0xf4, 0x48, 0x55, 0xbc, 0xa2, 0x19, 0xdd, 0xad, 0xc8, 0xc, 0xa7, 0x30, 0xb6, 0xaf, 0xe, 0x2b, 0xaa, 0x2a, 0xa4, 0xe1, 0xb9, 0x41, 0x23, 0x66, 0xd3, 0x3}} return a, nil } @@ -1197,7 +1198,7 @@ func _1678264207_accounts_table_new_columns_addedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1678264207_accounts_table_new_columns_added.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1678264207_accounts_table_new_columns_added.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xd4, 0xf3, 0x35, 0xef, 0x5c, 0x19, 0x3c, 0x15, 0x90, 0x60, 0xbd, 0x1f, 0x81, 0xf0, 0x86, 0x73, 0x89, 0xa0, 0x70, 0xf2, 0x46, 0xae, 0xea, 0xd0, 0xc6, 0x9e, 0x55, 0x4a, 0x54, 0x62, 0xbb}} return a, nil } @@ -1217,7 +1218,7 @@ func _1680770368_add_bio_to_settings_sync_clock_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1680770368_add_bio_to_settings_sync_clock_table.up.sql", size: 75, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1680770368_add_bio_to_settings_sync_clock_table.up.sql", size: 75, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4a, 0x52, 0xf6, 0x3f, 0xaa, 0xd, 0xa0, 0xee, 0xe8, 0xe6, 0x16, 0x21, 0x80, 0x61, 0xe4, 0x7a, 0x4e, 0x37, 0x8d, 0x30, 0x51, 0x20, 0x4d, 0x15, 0x47, 0xfb, 0x6, 0xa1, 0xce, 0xc8, 0x27, 0x5a}} return a, nil } @@ -1237,7 +1238,7 @@ func _1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3d, 0x74, 0x81, 0x7d, 0x9e, 0x77, 0xb6, 0xfe, 0xe3, 0xcb, 0x48, 0xe5, 0x5f, 0x39, 0x23, 0xa1, 0x7d, 0x53, 0x22, 0xe8, 0x96, 0x15, 0x8a, 0x1e, 0x8e, 0xbc, 0xe2, 0x1d, 0xc4, 0xc2, 0x56, 0x34}} return a, nil } @@ -1257,7 +1258,7 @@ func _1681392602_9d_sync_periodUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681392602_9d_sync_period.up.sql", size: 60, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1681392602_9d_sync_period.up.sql", size: 60, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xa, 0x90, 0x29, 0x7f, 0x76, 0x98, 0xa7, 0x71, 0x80, 0x5a, 0x2f, 0xbe, 0x23, 0x9a, 0xd4, 0xf4, 0x39, 0x19, 0xd3, 0xa5, 0x34, 0x6e, 0x67, 0x6a, 0xbe, 0x8a, 0xad, 0x21, 0xc7, 0xba, 0x88}} return a, nil } @@ -1277,7 +1278,7 @@ func _1681762078_default_sync_period_9dUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681762078_default_sync_period_9d.up.sql", size: 3002, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1681762078_default_sync_period_9d.up.sql", size: 3002, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xd9, 0x26, 0xfc, 0xa9, 0x45, 0xc1, 0x81, 0xa8, 0xe2, 0x2c, 0xe9, 0x3c, 0xea, 0x1d, 0x37, 0x11, 0x45, 0x8c, 0x6c, 0xbc, 0xc2, 0x6, 0x69, 0x2, 0x75, 0x29, 0x40, 0x9f, 0xc5, 0xbb, 0x36}} return a, nil } @@ -1297,7 +1298,7 @@ func _1681780680_add_clock_to_social_links_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681780680_add_clock_to_social_links_settings.up.sql", size: 137, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1681780680_add_clock_to_social_links_settings.up.sql", size: 137, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x63, 0x11, 0xf5, 0x41, 0xe5, 0x5a, 0xf4, 0xe3, 0xf3, 0x14, 0x87, 0x28, 0xd8, 0xf0, 0x52, 0x31, 0x8, 0xd5, 0xbb, 0xf4, 0xff, 0x55, 0x5f, 0x42, 0x90, 0xcb, 0xf7, 0x46, 0x2, 0x6, 0xbe, 0x42}} return a, nil } @@ -1317,7 +1318,7 @@ func _1682073779_settings_table_remove_latest_derived_path_columnUpSql() (*asset return nil, err } - info := bindataFileInfo{name: "1682073779_settings_table_remove_latest_derived_path_column.up.sql", size: 4470, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1682073779_settings_table_remove_latest_derived_path_column.up.sql", size: 4470, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7a, 0x36, 0x2, 0x41, 0xd, 0x5c, 0xd1, 0x92, 0x85, 0x6d, 0x84, 0xff, 0x67, 0xa7, 0x4c, 0x67, 0xa4, 0xef, 0x52, 0x69, 0x1f, 0x22, 0x25, 0x92, 0xc, 0xb3, 0x89, 0x50, 0x91, 0xc, 0x49, 0xf9}} return a, nil } @@ -1337,7 +1338,7 @@ func _1682146075_add_created_at_to_saved_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1682146075_add_created_at_to_saved_addresses.up.sql", size: 107, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1682146075_add_created_at_to_saved_addresses.up.sql", size: 107, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x88, 0xfe, 0x35, 0x9c, 0x6b, 0xdf, 0x67, 0x18, 0x16, 0xe4, 0xc9, 0xd4, 0x77, 0x7c, 0x4, 0xe2, 0x6c, 0x41, 0xd9, 0x53, 0x97, 0xfe, 0x5, 0xa3, 0x23, 0xce, 0x82, 0xad, 0x92, 0x5e, 0xd7, 0x7d}} return a, nil } @@ -1357,7 +1358,7 @@ func _1682393575_sync_ens_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1682393575_sync_ens_name.up.sql", size: 713, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1682393575_sync_ens_name.up.sql", size: 713, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfb, 0xea, 0xcb, 0x4d, 0x71, 0x5a, 0x49, 0x19, 0x8b, 0xef, 0x66, 0x27, 0x33, 0x89, 0xb0, 0xe, 0x37, 0x1b, 0x41, 0x8, 0x12, 0xcc, 0x56, 0xd8, 0x1b, 0xf, 0xf8, 0x50, 0x4b, 0x93, 0xf1, 0x29}} return a, nil } @@ -1377,7 +1378,7 @@ func _1683457503_add_blocks_ranges_sequential_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683457503_add_blocks_ranges_sequential_table.up.sql", size: 263, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1683457503_add_blocks_ranges_sequential_table.up.sql", size: 263, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfe, 0x57, 0x2e, 0x0, 0x6a, 0x6e, 0xd7, 0xeb, 0xe6, 0x66, 0x79, 0x32, 0x22, 0x82, 0x92, 0xf4, 0xc9, 0xf1, 0x58, 0x1a, 0x45, 0x60, 0x77, 0x50, 0xe7, 0x54, 0x4a, 0xc0, 0x42, 0x3a, 0x4f, 0x35}} return a, nil } @@ -1397,7 +1398,7 @@ func _1683627613_accounts_and_keycards_improvementsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683627613_accounts_and_keycards_improvements.up.sql", size: 3640, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1683627613_accounts_and_keycards_improvements.up.sql", size: 3640, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0xbe, 0x62, 0xf5, 0x9, 0x42, 0x8c, 0x8f, 0xa8, 0x45, 0xe7, 0x36, 0xc9, 0xde, 0xf4, 0xe2, 0xfd, 0xc4, 0x8, 0xd0, 0xa3, 0x8, 0x64, 0xe2, 0x56, 0xcc, 0xa7, 0x6d, 0xc5, 0xcc, 0x82, 0x2c}} return a, nil } @@ -1417,7 +1418,7 @@ func _1685041348_settings_table_add_latest_derived_path_columnUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1685041348_settings_table_add_latest_derived_path_column.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1685041348_settings_table_add_latest_derived_path_column.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xd4, 0x1b, 0xbf, 0x8, 0xf9, 0xd4, 0xb0, 0xa0, 0x6, 0x5b, 0xfb, 0x7e, 0xff, 0xfa, 0xbf, 0xcc, 0x64, 0x47, 0x81, 0x8b, 0x5e, 0x17, 0x6a, 0xa7, 0xa4, 0x35, 0x8f, 0x30, 0x4f, 0xd9, 0xd}} return a, nil } @@ -1437,7 +1438,7 @@ func _1685440989_update_color_id_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685440989_update_color_id_accounts.up.sql", size: 918, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1685440989_update_color_id_accounts.up.sql", size: 918, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0x2e, 0x51, 0x1d, 0x2d, 0x16, 0x84, 0xd6, 0xe8, 0xbc, 0x20, 0x53, 0x47, 0xb8, 0x40, 0x21, 0x52, 0x5c, 0xd9, 0xbb, 0xea, 0xe2, 0xa5, 0x77, 0xc8, 0x35, 0x4c, 0xe0, 0x9d, 0x42, 0x44, 0x50}} return a, nil } @@ -1457,7 +1458,7 @@ func _1685463947_add_to_asset_to_multitransactionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685463947_add_to_asset_to_multitransaction.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1685463947_add_to_asset_to_multitransaction.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd3, 0x66, 0x15, 0x10, 0xfa, 0x66, 0x81, 0x68, 0xd9, 0xb4, 0x93, 0x9e, 0x11, 0xed, 0x1d, 0x16, 0x9d, 0x5a, 0xf8, 0xd7, 0x8, 0xea, 0x7a, 0xaf, 0xe4, 0xb3, 0x22, 0x19, 0xca, 0xff, 0x75, 0x7c}} return a, nil } @@ -1477,7 +1478,7 @@ func _1685880973_add_profile_links_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685880973_add_profile_links_settings_table.up.sql", size: 1656, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1685880973_add_profile_links_settings_table.up.sql", size: 1656, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0x23, 0x7b, 0x1e, 0x82, 0x61, 0xcc, 0x76, 0xd6, 0xc7, 0x42, 0x6e, 0x69, 0x21, 0x1b, 0xfd, 0x7d, 0xda, 0xd7, 0xb7, 0xc7, 0xd3, 0x22, 0x63, 0xfe, 0xc6, 0xd3, 0xdf, 0xc8, 0x5f, 0x50, 0xcc}} return a, nil } @@ -1497,7 +1498,7 @@ func _1686041510_add_idx_transfers_blkno_loadedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686041510_add_idx_transfers_blkno_loaded.up.sql", size: 71, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1686041510_add_idx_transfers_blkno_loaded.up.sql", size: 71, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe2, 0x5d, 0x7e, 0x43, 0x14, 0x3c, 0x50, 0x44, 0x25, 0xd0, 0xe1, 0x75, 0xba, 0x61, 0x7b, 0x68, 0x2e, 0x43, 0x74, 0x1d, 0x10, 0x61, 0x8e, 0x45, 0xe6, 0x25, 0x78, 0x81, 0x68, 0x6, 0x24, 0x5b}} return a, nil } @@ -1517,7 +1518,7 @@ func _1686048341_transfers_receipt_json_blob_outUpSqlDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x6c, 0xd9, 0x76, 0x83, 0x64, 0xf0, 0xf2, 0x74, 0x97, 0xca, 0xd7, 0xaa, 0x4, 0x74, 0x7c, 0x34, 0x56, 0x88, 0x10, 0xa9, 0x4d, 0x1d, 0x8e, 0x85, 0xc3, 0x66, 0x1, 0x2b, 0x30, 0x90, 0xf4}} return a, nil } @@ -1537,7 +1538,7 @@ func _1686048341_transfers_receipt_json_blob_outUpSqlUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql", size: 1500, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql", size: 1500, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0xcd, 0xe3, 0xa6, 0x8c, 0x53, 0x51, 0xe6, 0x3c, 0x64, 0xcb, 0x3, 0x3, 0xb, 0x4d, 0x52, 0xa5, 0x1c, 0xcc, 0xe1, 0x23, 0x94, 0x14, 0x79, 0xd7, 0x56, 0x58, 0xef, 0xcc, 0x1a, 0x6, 0xa4}} return a, nil } @@ -1557,7 +1558,7 @@ func _1686825075_cleanup_token_addressUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1686825075_cleanup_token_address.up.sql", size: 273, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1686825075_cleanup_token_address.up.sql", size: 273, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x14, 0x72, 0x10, 0xec, 0x97, 0xc9, 0x3a, 0xdb, 0x39, 0x33, 0xc9, 0x6, 0x92, 0xbe, 0xe4, 0xc2, 0x5c, 0xb6, 0xaa, 0xe5, 0x25, 0x21, 0x4d, 0x74, 0x18, 0x94, 0xc, 0x33, 0x2f, 0xa4, 0x9, 0x99}} return a, nil } @@ -1577,7 +1578,7 @@ func _1687193315_transfers_extract_from_to_addressDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.down.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.down.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x6c, 0xd9, 0x76, 0x83, 0x64, 0xf0, 0xf2, 0x74, 0x97, 0xca, 0xd7, 0xaa, 0x4, 0x74, 0x7c, 0x34, 0x56, 0x88, 0x10, 0xa9, 0x4d, 0x1d, 0x8e, 0x85, 0xc3, 0x66, 0x1, 0x2b, 0x30, 0x90, 0xf4}} return a, nil } @@ -1597,7 +1598,7 @@ func _1687193315_transfers_extract_from_to_addressUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.up.sql", size: 499, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687193315_transfers_extract_from_to_address.up.sql", size: 499, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4c, 0xef, 0xf4, 0x66, 0xac, 0x3a, 0xa6, 0xe3, 0x26, 0x43, 0x53, 0xe, 0xd8, 0xfe, 0xf2, 0xaa, 0x20, 0x8, 0x4e, 0x52, 0x49, 0x37, 0xbf, 0x46, 0xbf, 0x53, 0xa7, 0xcf, 0x27, 0x23, 0xab, 0x99}} return a, nil } @@ -1617,7 +1618,7 @@ func _1687249080_add_position_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687249080_add_position_accounts.up..sql", size: 2053, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687249080_add_position_accounts.up..sql", size: 2053, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf3, 0x47, 0x9f, 0xb4, 0xe3, 0xc, 0x35, 0x15, 0x74, 0xc3, 0x72, 0x57, 0x9f, 0x3b, 0xc9, 0xd5, 0x9b, 0x31, 0xef, 0xd6, 0x21, 0xc4, 0x27, 0x8e, 0x37, 0xd5, 0x5, 0xdb, 0x3d, 0xcf, 0x37, 0xbb}} return a, nil } @@ -1637,7 +1638,7 @@ func _1687269871_add_device_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687269871_add_device_name.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687269871_add_device_name.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0x61, 0xf2, 0xf9, 0x78, 0x57, 0xc3, 0x57, 0xdb, 0x37, 0xe, 0x7, 0x15, 0xde, 0x5a, 0x2a, 0xb5, 0x86, 0xb8, 0x5, 0x48, 0x68, 0x2a, 0xb, 0x7c, 0xd, 0x60, 0xba, 0x67, 0x30, 0x2d, 0xa3}} return a, nil } @@ -1657,7 +1658,7 @@ func _1687506642_include_watch_only_account_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687506642_include_watch_only_account_setting.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687506642_include_watch_only_account_setting.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0xa0, 0x61, 0xf8, 0xb9, 0x15, 0x22, 0x9a, 0xca, 0x9b, 0x89, 0x96, 0x90, 0x47, 0x56, 0xf3, 0x21, 0xf6, 0xbd, 0xd1, 0xa1, 0x8f, 0xa8, 0x34, 0xc3, 0x54, 0x86, 0x69, 0x14, 0x96, 0xdb, 0xbb}} return a, nil } @@ -1677,7 +1678,7 @@ func _1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql() (* return nil, err } - info := bindataFileInfo{name: "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql", size: 98, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql", size: 98, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0xa2, 0x31, 0xcc, 0x3d, 0x59, 0x1b, 0x26, 0x5b, 0x78, 0xd, 0x6a, 0x75, 0x2a, 0xe0, 0x2, 0x21, 0x28, 0x8c, 0x92, 0x24, 0x98, 0x86, 0xdd, 0x2, 0x53, 0xe8, 0xf6, 0xc2, 0x7d, 0x57, 0x13}} return a, nil } @@ -1697,7 +1698,7 @@ func _1688054680_add_columns_to_multitransactionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1688054680_add_columns_to_multitransaction.up.sql", size: 342, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1688054680_add_columns_to_multitransaction.up.sql", size: 342, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb5, 0xbb, 0x88, 0xde, 0x98, 0x9e, 0xa8, 0xc0, 0xf7, 0x2b, 0xc4, 0x33, 0x77, 0xf5, 0x58, 0x46, 0x52, 0xc6, 0xc2, 0x27, 0x1d, 0x8, 0xc9, 0x83, 0xb6, 0x16, 0x31, 0x99, 0x15, 0xcb, 0xb1, 0x40}} return a, nil } @@ -1717,7 +1718,7 @@ func _1688636552_keycards_table_columns_updateUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1688636552_keycards_table_columns_update.up.sql", size: 1051, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1688636552_keycards_table_columns_update.up.sql", size: 1051, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2f, 0x82, 0x37, 0x82, 0xae, 0x44, 0x7f, 0x4d, 0xb5, 0x50, 0x1b, 0x5f, 0x2b, 0xaa, 0xb1, 0x3, 0x97, 0xba, 0x8b, 0xea, 0x30, 0x5, 0xa4, 0x1a, 0x2c, 0x7, 0x63, 0x89, 0x43, 0x12, 0xb6, 0xb7}} return a, nil } @@ -1737,7 +1738,7 @@ func _1689248269_add_related_chain_id_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1689248269_add_related_chain_id_networks.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689248269_add_related_chain_id_networks.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x76, 0xad, 0xde, 0xb5, 0xc7, 0x60, 0x1a, 0x99, 0x7d, 0x51, 0x74, 0x43, 0x60, 0x17, 0x54, 0x82, 0xb6, 0xc6, 0x96, 0x1c, 0x43, 0x74, 0x6, 0x15, 0xd6, 0xa4, 0x2a, 0xd2, 0x1c, 0xeb, 0xdc, 0xb4}} return a, nil } @@ -1757,7 +1758,7 @@ func _1689340211_index_filter_columnsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1689340211_index_filter_columns.up.sql", size: 633, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689340211_index_filter_columns.up.sql", size: 633, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xc8, 0x1, 0x8b, 0x85, 0x2b, 0xa7, 0x46, 0xfe, 0xe9, 0x9c, 0xaf, 0xec, 0x10, 0xe5, 0xec, 0x23, 0xd3, 0xf, 0xee, 0xad, 0xfb, 0xf1, 0xc7, 0xc, 0xbc, 0x14, 0xac, 0xf8, 0x3b, 0x5a, 0x9e}} return a, nil } @@ -1777,7 +1778,7 @@ func _1689498471_make_wallet_accounts_positions_non_negativeUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1689498471_make_wallet_accounts_positions_non_negative.up.sql", size: 1617, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689498471_make_wallet_accounts_positions_non_negative.up.sql", size: 1617, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfe, 0x8d, 0xfc, 0x64, 0x78, 0x7a, 0x55, 0x38, 0xc9, 0x1e, 0x71, 0x25, 0xe2, 0x81, 0xc8, 0x3b, 0x1d, 0xf, 0xe7, 0x1f, 0x67, 0xbf, 0x6, 0xf1, 0x6a, 0x56, 0xf, 0x30, 0xb1, 0xc5, 0xca, 0x19}} return a, nil } @@ -1797,7 +1798,7 @@ func _1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql() (*asset return nil, err } - info := bindataFileInfo{name: "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql", size: 284, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql", size: 284, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0xfb, 0x7b, 0x9a, 0xee, 0xa4, 0x1f, 0x54, 0x81, 0x9c, 0x66, 0xd1, 0xde, 0x2d, 0xee, 0x8f, 0xb0, 0xc, 0x8, 0xb7, 0x1f, 0x5f, 0x28, 0x42, 0x75, 0x3, 0x19, 0xfb, 0xb5, 0x53, 0xa2, 0xcc}} return a, nil } @@ -1817,7 +1818,7 @@ func _1690225863_add_collectibles_ownership_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1690225863_add_collectibles_ownership_cache.up.sql", size: 327, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1690225863_add_collectibles_ownership_cache.up.sql", size: 327, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x70, 0x2d, 0xfa, 0x52, 0x54, 0x3e, 0x6e, 0x50, 0x7a, 0xe0, 0x4d, 0xd1, 0x5b, 0x3a, 0xc7, 0xb6, 0x67, 0xe8, 0x82, 0xf0, 0xc4, 0xb5, 0xcc, 0x3b, 0xbf, 0x89, 0xe0, 0x1b, 0xbc, 0xa4, 0xa9, 0x68}} return a, nil } @@ -1837,7 +1838,7 @@ func _1690734354_add_preferred_chain_idsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1690734354_add_preferred_chain_ids.up.sql", size: 189, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1690734354_add_preferred_chain_ids.up.sql", size: 189, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0xb4, 0x32, 0x89, 0xa1, 0xed, 0x19, 0x61, 0x1a, 0xdf, 0x72, 0x4c, 0x28, 0x5f, 0x87, 0x72, 0x33, 0xad, 0x9a, 0xc6, 0xaf, 0x6b, 0xaf, 0xa9, 0x70, 0xc7, 0x8a, 0x42, 0xe2, 0xac, 0x15, 0x2a}} return a, nil } @@ -1857,7 +1858,7 @@ func _1691173699_add_collectibles_and_collections_data_cacheUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1691173699_add_collectibles_and_collections_data_cache.up.sql", size: 1811, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1691173699_add_collectibles_and_collections_data_cache.up.sql", size: 1811, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x0, 0xf2, 0xaa, 0xa9, 0x56, 0x92, 0xb7, 0x3c, 0xd8, 0xbf, 0x4c, 0x42, 0x90, 0xdd, 0xb3, 0xb8, 0xca, 0x4a, 0xa1, 0x91, 0x29, 0x5, 0xf6, 0xb0, 0x75, 0x82, 0x98, 0x7e, 0x6d, 0x74, 0x15, 0xc3}} return a, nil } @@ -1877,7 +1878,7 @@ func _1691753758_move_wallet_tables_to_wallet_dbUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1691753758_move_wallet_tables_to_wallet_db.up.sql", size: 603, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1691753758_move_wallet_tables_to_wallet_db.up.sql", size: 603, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2c, 0x7f, 0xd9, 0x6f, 0x91, 0x37, 0x7a, 0x8f, 0xf4, 0xd6, 0xec, 0xd4, 0xb9, 0x8e, 0xc5, 0xeb, 0x1a, 0xfa, 0xd1, 0x4, 0x1, 0xff, 0x51, 0x23, 0xc, 0x96, 0xf2, 0x3c, 0x12, 0xa7, 0xf7, 0x33}} return a, nil } @@ -1897,7 +1898,7 @@ func _1691753800_pubsubtopic_keyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1691753800_pubsubtopic_key.up.sql", size: 767, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1691753800_pubsubtopic_key.up.sql", size: 767, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0x42, 0x78, 0x4, 0x20, 0xa5, 0x62, 0xa1, 0xa5, 0x82, 0xa1, 0x41, 0x14, 0xaf, 0x5e, 0xe2, 0xc9, 0xcf, 0xad, 0x4b, 0x32, 0x6e, 0xc7, 0xac, 0x9f, 0xe0, 0xf, 0xe0, 0x3a, 0xa0, 0x67, 0x2d}} return a, nil } @@ -1917,7 +1918,7 @@ func _1693900971_add_profile_migration_needed_column_to_settings_tableUpSql() (* return nil, err } - info := bindataFileInfo{name: "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0x89, 0x89, 0x81, 0xf1, 0x1, 0x2d, 0xa6, 0x24, 0xba, 0x48, 0x1, 0x9a, 0x7a, 0xcf, 0xe0, 0xfd, 0x3f, 0xc6, 0xc2, 0xd9, 0xe2, 0xfc, 0x6f, 0x2f, 0x83, 0x16, 0x61, 0x8e, 0x89, 0x64, 0xef}} return a, nil } @@ -1937,7 +1938,7 @@ func _1694764094_add_original_to_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1694764094_add_original_to_networks.up.sql", size: 120, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1694764094_add_original_to_networks.up.sql", size: 120, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x64, 0xa0, 0xef, 0x4e, 0xf3, 0x1, 0xd5, 0x61, 0xcb, 0x83, 0xd2, 0xdf, 0x6a, 0x69, 0xee, 0x36, 0x0, 0x13, 0x94, 0x57, 0xb2, 0xa, 0x12, 0x28, 0x5c, 0x5, 0x69, 0x1a, 0xfd, 0xa0, 0x31, 0x6c}} return a, nil } @@ -1957,7 +1958,7 @@ func _1695974515_add_is_sepolia_enabled_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1695974515_add_is_sepolia_enabled_to_settings.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1695974515_add_is_sepolia_enabled_to_settings.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1697500758, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x42, 0x95, 0xa7, 0xbb, 0x64, 0x91, 0x4e, 0x66, 0x9c, 0xbd, 0x96, 0xbb, 0x79, 0x3d, 0xc4, 0x2d, 0x3a, 0x36, 0xb5, 0x35, 0xdb, 0x53, 0x45, 0xf2, 0xf3, 0x61, 0xac, 0xe3, 0x38, 0xe6, 0x73, 0x54}} return a, nil } @@ -1977,7 +1978,7 @@ func _1696259336_settings_add_url_unfurling_modeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1696259336_settings_add_url_unfurling_mode.up.sql", size: 160, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1696259336_settings_add_url_unfurling_mode.up.sql", size: 160, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x62, 0xf4, 0x5, 0x31, 0x4e, 0x35, 0xb5, 0xcd, 0x1a, 0xad, 0xdc, 0xcb, 0x4, 0x94, 0x16, 0x67, 0xc4, 0x8d, 0x6f, 0x63, 0xa6, 0x8f, 0xbf, 0xa5, 0x6, 0xfd, 0xbe, 0xb1, 0x7c, 0xe8, 0xa7}} return a, nil } @@ -1997,7 +1998,7 @@ func _1697123140_drop_include_watch_only_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1697123140_drop_include_watch_only_accounts.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1697123140_drop_include_watch_only_accounts.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0xc9, 0xc7, 0xaf, 0x7b, 0xe4, 0x83, 0x5, 0xe1, 0xde, 0x83, 0xd9, 0xdd, 0xbe, 0xb6, 0x1d, 0x24, 0x5c, 0x19, 0x88, 0xad, 0xc1, 0x5c, 0xd1, 0x26, 0x84, 0x61, 0xce, 0x3a, 0x74, 0x3c, 0x8c}} return a, nil } @@ -2017,7 +2018,7 @@ func _1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql() ( return nil, err } - info := bindataFileInfo{name: "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcd, 0xe9, 0x5b, 0xc9, 0xd2, 0x96, 0x18, 0x8e, 0x97, 0x13, 0x3b, 0x72, 0x2d, 0x8a, 0xa9, 0xa3, 0x32, 0x6, 0x17, 0xb, 0xd1, 0xd8, 0x44, 0x13, 0xde, 0xb6, 0xa3, 0xbf, 0xef, 0xf4, 0xf9, 0xff}} return a, nil } @@ -2037,7 +2038,7 @@ func _1697623289_add_omit_transfers_history_scan_to_settingsUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1697623289_add_omit_transfers_history_scan_to_settings.up.sql", size: 92, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1697623289_add_omit_transfers_history_scan_to_settings.up.sql", size: 92, mode: os.FileMode(0644), modTime: time.Unix(1698137291, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xf, 0x2e, 0x73, 0x46, 0xee, 0x96, 0x1d, 0xa6, 0x75, 0xde, 0x46, 0x19, 0xbd, 0x13, 0x3f, 0x41, 0xf3, 0x6a, 0xb4, 0x93, 0x85, 0x8b, 0xed, 0x19, 0xa1, 0x4f, 0x91, 0xa1, 0x8, 0x88, 0xe2}} return a, nil } @@ -2057,7 +2058,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}} return a, nil } @@ -2153,117 +2154,206 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1640111208_dummy.up.sql": _1640111208_dummyUpSql, - "1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql, - "1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql, - "1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql, - "1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql, - "1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql, - "1647278782_display_name.up.sql": _1647278782_display_nameUpSql, - "1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql, - "1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql, - "1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql, - "1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql, - "1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql, - "1648554928_network_test.up.sql": _1648554928_network_testUpSql, - "1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql, - "1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql, - "1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql, - "1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql, - "1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql, - "1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql, - "1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql, - "1655375270_add_clock_field_to_communities_settings_table.up.sql": _1655375270_add_clock_field_to_communities_settings_tableUpSql, - "1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql, - "1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql, - "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, - "1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql, - "1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql, - "1660134042_add_social_links_settings_table.up.sql": _1660134042_add_social_links_settings_tableUpSql, - "1660134060_settings_bio.up.sql": _1660134060_settings_bioUpSql, - "1660134070_add_wakuv2_store.up.sql": _1660134070_add_wakuv2_storeUpSql, - "1660134072_waku2_store_messages.up.sql": _1660134072_waku2_store_messagesUpSql, - "1662365868_add_key_uid_accounts.up.sql": _1662365868_add_key_uid_accountsUpSql, - "1662447680_add_keypairs_table.up.sql": _1662447680_add_keypairs_tableUpSql, - "1662460056_move_favourites_to_saved_addresses.up.sql": _1662460056_move_favourites_to_saved_addressesUpSql, - "1662738097_add_base_fee_transaction.up.sql": _1662738097_add_base_fee_transactionUpSql, - "1662972194_add_keypairs_table.up.sql": _1662972194_add_keypairs_tableUpSql, - "1664392661_add_third_party_id_to_waku_messages.up.sql": _1664392661_add_third_party_id_to_waku_messagesUpSql, - "1664783660_add_sync_info_to_saved_addresses.up.sql": _1664783660_add_sync_info_to_saved_addressesUpSql, - "1668109917_wakunodes.up.sql": _1668109917_wakunodesUpSql, - "1670249678_display_name_to_settings_sync_clock_table.up.sql": _1670249678_display_name_to_settings_sync_clock_tableUpSql, - "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": _1670836810_add_imported_flag_to_community_archive_hashesUpSql, - "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": _1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, - "1672933930_switcher_card.up.sql": _1672933930_switcher_cardUpSql, - "1674056187_add_price_cache.up.sql": _1674056187_add_price_cacheUpSql, - "1674136690_ens_usernames.up.sql": _1674136690_ens_usernamesUpSql, - "1674232431_add_balance_history.up.sql": _1674232431_add_balance_historyUpSql, - "1676368933_keypairs_to_keycards.up.sql": _1676368933_keypairs_to_keycardsUpSql, - "1676951398_add_currency_format_cache.up.sql": _1676951398_add_currency_format_cacheUpSql, - "1676968196_keycards_add_clock_column.up.sql": _1676968196_keycards_add_clock_columnUpSql, - "1676968197_add_fallback_rpc_to_networks.up.sql": _1676968197_add_fallback_rpc_to_networksUpSql, - "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": _1677674090_add_chains_ens_istest_to_saved_addressesUpSql, - "1677681143_accounts_table_type_column_update.up.sql": _1677681143_accounts_table_type_column_updateUpSql, - "1678264207_accounts_table_new_columns_added.up.sql": _1678264207_accounts_table_new_columns_addedUpSql, - "1680770368_add_bio_to_settings_sync_clock_table.up.sql": _1680770368_add_bio_to_settings_sync_clock_tableUpSql, - "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": _1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, - "1681392602_9d_sync_period.up.sql": _1681392602_9d_sync_periodUpSql, - "1681762078_default_sync_period_9d.up.sql": _1681762078_default_sync_period_9dUpSql, - "1681780680_add_clock_to_social_links_settings.up.sql": _1681780680_add_clock_to_social_links_settingsUpSql, - "1682073779_settings_table_remove_latest_derived_path_column.up.sql": _1682073779_settings_table_remove_latest_derived_path_columnUpSql, - "1682146075_add_created_at_to_saved_addresses.up.sql": _1682146075_add_created_at_to_saved_addressesUpSql, - "1682393575_sync_ens_name.up.sql": _1682393575_sync_ens_nameUpSql, - "1683457503_add_blocks_ranges_sequential_table.up.sql": _1683457503_add_blocks_ranges_sequential_tableUpSql, - "1683627613_accounts_and_keycards_improvements.up.sql": _1683627613_accounts_and_keycards_improvementsUpSql, - "1685041348_settings_table_add_latest_derived_path_column.up.sql": _1685041348_settings_table_add_latest_derived_path_columnUpSql, - "1685440989_update_color_id_accounts.up.sql": _1685440989_update_color_id_accountsUpSql, - "1685463947_add_to_asset_to_multitransaction.up.sql": _1685463947_add_to_asset_to_multitransactionUpSql, - "1685880973_add_profile_links_settings_table.up.sql": _1685880973_add_profile_links_settings_tableUpSql, - "1686041510_add_idx_transfers_blkno_loaded.up.sql": _1686041510_add_idx_transfers_blkno_loadedUpSql, - "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": _1686048341_transfers_receipt_json_blob_outUpSqlDownSql, - "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": _1686048341_transfers_receipt_json_blob_outUpSqlUpSql, - "1686825075_cleanup_token_address.up.sql": _1686825075_cleanup_token_addressUpSql, - "1687193315_transfers_extract_from_to_address.down.sql": _1687193315_transfers_extract_from_to_addressDownSql, - "1687193315_transfers_extract_from_to_address.up.sql": _1687193315_transfers_extract_from_to_addressUpSql, - "1687249080_add_position_accounts.up..sql": _1687249080_add_position_accountsUpSql, - "1687269871_add_device_name.up.sql": _1687269871_add_device_nameUpSql, - "1687506642_include_watch_only_account_setting.up.sql": _1687506642_include_watch_only_account_settingUpSql, - "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": _1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, - "1688054680_add_columns_to_multitransaction.up.sql": _1688054680_add_columns_to_multitransactionUpSql, - "1688636552_keycards_table_columns_update.up.sql": _1688636552_keycards_table_columns_updateUpSql, - "1689248269_add_related_chain_id_networks.up.sql": _1689248269_add_related_chain_id_networksUpSql, - "1689340211_index_filter_columns.up.sql": _1689340211_index_filter_columnsUpSql, - "1689498471_make_wallet_accounts_positions_non_negative.up.sql": _1689498471_make_wallet_accounts_positions_non_negativeUpSql, - "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": _1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, - "1690225863_add_collectibles_ownership_cache.up.sql": _1690225863_add_collectibles_ownership_cacheUpSql, - "1690734354_add_preferred_chain_ids.up.sql": _1690734354_add_preferred_chain_idsUpSql, - "1691173699_add_collectibles_and_collections_data_cache.up.sql": _1691173699_add_collectibles_and_collections_data_cacheUpSql, - "1691753758_move_wallet_tables_to_wallet_db.up.sql": _1691753758_move_wallet_tables_to_wallet_dbUpSql, - "1691753800_pubsubtopic_key.up.sql": _1691753800_pubsubtopic_keyUpSql, - "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": _1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, - "1694764094_add_original_to_networks.up.sql": _1694764094_add_original_to_networksUpSql, - "1695974515_add_is_sepolia_enabled_to_settings.up.sql": _1695974515_add_is_sepolia_enabled_to_settingsUpSql, - "1696259336_settings_add_url_unfurling_mode.up.sql": _1696259336_settings_add_url_unfurling_modeUpSql, - "1697123140_drop_include_watch_only_accounts.up.sql": _1697123140_drop_include_watch_only_accountsUpSql, + "1640111208_dummy.up.sql": _1640111208_dummyUpSql, + + "1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql, + + "1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql, + + "1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql, + + "1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql, + + "1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql, + + "1647278782_display_name.up.sql": _1647278782_display_nameUpSql, + + "1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql, + + "1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql, + + "1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql, + + "1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql, + + "1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql, + + "1648554928_network_test.up.sql": _1648554928_network_testUpSql, + + "1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql, + + "1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql, + + "1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql, + + "1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql, + + "1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql, + + "1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql, + + "1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql, + + "1655375270_add_clock_field_to_communities_settings_table.up.sql": _1655375270_add_clock_field_to_communities_settings_tableUpSql, + + "1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql, + + "1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql, + + "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, + + "1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql, + + "1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql, + + "1660134042_add_social_links_settings_table.up.sql": _1660134042_add_social_links_settings_tableUpSql, + + "1660134060_settings_bio.up.sql": _1660134060_settings_bioUpSql, + + "1660134070_add_wakuv2_store.up.sql": _1660134070_add_wakuv2_storeUpSql, + + "1660134072_waku2_store_messages.up.sql": _1660134072_waku2_store_messagesUpSql, + + "1662365868_add_key_uid_accounts.up.sql": _1662365868_add_key_uid_accountsUpSql, + + "1662447680_add_keypairs_table.up.sql": _1662447680_add_keypairs_tableUpSql, + + "1662460056_move_favourites_to_saved_addresses.up.sql": _1662460056_move_favourites_to_saved_addressesUpSql, + + "1662738097_add_base_fee_transaction.up.sql": _1662738097_add_base_fee_transactionUpSql, + + "1662972194_add_keypairs_table.up.sql": _1662972194_add_keypairs_tableUpSql, + + "1664392661_add_third_party_id_to_waku_messages.up.sql": _1664392661_add_third_party_id_to_waku_messagesUpSql, + + "1664783660_add_sync_info_to_saved_addresses.up.sql": _1664783660_add_sync_info_to_saved_addressesUpSql, + + "1668109917_wakunodes.up.sql": _1668109917_wakunodesUpSql, + + "1670249678_display_name_to_settings_sync_clock_table.up.sql": _1670249678_display_name_to_settings_sync_clock_tableUpSql, + + "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": _1670836810_add_imported_flag_to_community_archive_hashesUpSql, + + "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": _1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, + + "1672933930_switcher_card.up.sql": _1672933930_switcher_cardUpSql, + + "1674056187_add_price_cache.up.sql": _1674056187_add_price_cacheUpSql, + + "1674136690_ens_usernames.up.sql": _1674136690_ens_usernamesUpSql, + + "1674232431_add_balance_history.up.sql": _1674232431_add_balance_historyUpSql, + + "1676368933_keypairs_to_keycards.up.sql": _1676368933_keypairs_to_keycardsUpSql, + + "1676951398_add_currency_format_cache.up.sql": _1676951398_add_currency_format_cacheUpSql, + + "1676968196_keycards_add_clock_column.up.sql": _1676968196_keycards_add_clock_columnUpSql, + + "1676968197_add_fallback_rpc_to_networks.up.sql": _1676968197_add_fallback_rpc_to_networksUpSql, + + "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": _1677674090_add_chains_ens_istest_to_saved_addressesUpSql, + + "1677681143_accounts_table_type_column_update.up.sql": _1677681143_accounts_table_type_column_updateUpSql, + + "1678264207_accounts_table_new_columns_added.up.sql": _1678264207_accounts_table_new_columns_addedUpSql, + + "1680770368_add_bio_to_settings_sync_clock_table.up.sql": _1680770368_add_bio_to_settings_sync_clock_tableUpSql, + + "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": _1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, + + "1681392602_9d_sync_period.up.sql": _1681392602_9d_sync_periodUpSql, + + "1681762078_default_sync_period_9d.up.sql": _1681762078_default_sync_period_9dUpSql, + + "1681780680_add_clock_to_social_links_settings.up.sql": _1681780680_add_clock_to_social_links_settingsUpSql, + + "1682073779_settings_table_remove_latest_derived_path_column.up.sql": _1682073779_settings_table_remove_latest_derived_path_columnUpSql, + + "1682146075_add_created_at_to_saved_addresses.up.sql": _1682146075_add_created_at_to_saved_addressesUpSql, + + "1682393575_sync_ens_name.up.sql": _1682393575_sync_ens_nameUpSql, + + "1683457503_add_blocks_ranges_sequential_table.up.sql": _1683457503_add_blocks_ranges_sequential_tableUpSql, + + "1683627613_accounts_and_keycards_improvements.up.sql": _1683627613_accounts_and_keycards_improvementsUpSql, + + "1685041348_settings_table_add_latest_derived_path_column.up.sql": _1685041348_settings_table_add_latest_derived_path_columnUpSql, + + "1685440989_update_color_id_accounts.up.sql": _1685440989_update_color_id_accountsUpSql, + + "1685463947_add_to_asset_to_multitransaction.up.sql": _1685463947_add_to_asset_to_multitransactionUpSql, + + "1685880973_add_profile_links_settings_table.up.sql": _1685880973_add_profile_links_settings_tableUpSql, + + "1686041510_add_idx_transfers_blkno_loaded.up.sql": _1686041510_add_idx_transfers_blkno_loadedUpSql, + + "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": _1686048341_transfers_receipt_json_blob_outUpSqlDownSql, + + "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": _1686048341_transfers_receipt_json_blob_outUpSqlUpSql, + + "1686825075_cleanup_token_address.up.sql": _1686825075_cleanup_token_addressUpSql, + + "1687193315_transfers_extract_from_to_address.down.sql": _1687193315_transfers_extract_from_to_addressDownSql, + + "1687193315_transfers_extract_from_to_address.up.sql": _1687193315_transfers_extract_from_to_addressUpSql, + + "1687249080_add_position_accounts.up..sql": _1687249080_add_position_accountsUpSql, + + "1687269871_add_device_name.up.sql": _1687269871_add_device_nameUpSql, + + "1687506642_include_watch_only_account_setting.up.sql": _1687506642_include_watch_only_account_settingUpSql, + + "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": _1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, + + "1688054680_add_columns_to_multitransaction.up.sql": _1688054680_add_columns_to_multitransactionUpSql, + + "1688636552_keycards_table_columns_update.up.sql": _1688636552_keycards_table_columns_updateUpSql, + + "1689248269_add_related_chain_id_networks.up.sql": _1689248269_add_related_chain_id_networksUpSql, + + "1689340211_index_filter_columns.up.sql": _1689340211_index_filter_columnsUpSql, + + "1689498471_make_wallet_accounts_positions_non_negative.up.sql": _1689498471_make_wallet_accounts_positions_non_negativeUpSql, + + "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": _1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, + + "1690225863_add_collectibles_ownership_cache.up.sql": _1690225863_add_collectibles_ownership_cacheUpSql, + + "1690734354_add_preferred_chain_ids.up.sql": _1690734354_add_preferred_chain_idsUpSql, + + "1691173699_add_collectibles_and_collections_data_cache.up.sql": _1691173699_add_collectibles_and_collections_data_cacheUpSql, + + "1691753758_move_wallet_tables_to_wallet_db.up.sql": _1691753758_move_wallet_tables_to_wallet_dbUpSql, + + "1691753800_pubsubtopic_key.up.sql": _1691753800_pubsubtopic_keyUpSql, + + "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": _1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, + + "1694764094_add_original_to_networks.up.sql": _1694764094_add_original_to_networksUpSql, + + "1695974515_add_is_sepolia_enabled_to_settings.up.sql": _1695974515_add_is_sepolia_enabled_to_settingsUpSql, + + "1696259336_settings_add_url_unfurling_mode.up.sql": _1696259336_settings_add_url_unfurling_modeUpSql, + + "1697123140_drop_include_watch_only_accounts.up.sql": _1697123140_drop_include_watch_only_accountsUpSql, + "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": _1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, - "1697623289_add_omit_transfers_history_scan_to_settings.up.sql": _1697623289_add_omit_transfers_history_scan_to_settingsUpSql, + + "1697623289_add_omit_transfers_history_scan_to_settings.up.sql": _1697623289_add_omit_transfers_history_scan_to_settingsUpSql, + "doc.go": docGo, } -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false - // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -2296,101 +2386,101 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1640111208_dummy.up.sql": {_1640111208_dummyUpSql, map[string]*bintree{}}, - "1642666031_add_removed_clock_to_bookmarks.up.sql": {_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}}, - "1643644541_gif_api_key_setting.up.sql": {_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}}, - "1644188994_recent_stickers.up.sql": {_1644188994_recent_stickersUpSql, map[string]*bintree{}}, - "1646659233_add_address_to_dapp_permisssion.up.sql": {_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}}, - "1646841105_add_emoji_account.up.sql": {_1646841105_add_emoji_accountUpSql, map[string]*bintree{}}, - "1647278782_display_name.up.sql": {_1647278782_display_nameUpSql, map[string]*bintree{}}, - "1647862838_reset_last_backup.up.sql": {_1647862838_reset_last_backupUpSql, map[string]*bintree{}}, - "1647871652_add_settings_sync_clock_table.up.sql": {_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1647880168_add_torrent_config.up.sql": {_1647880168_add_torrent_configUpSql, map[string]*bintree{}}, - "1647882837_add_communities_settings_table.up.sql": {_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}}, - "1647956635_add_waku_messages_table.up.sql": {_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}}, - "1648554928_network_test.up.sql": {_1648554928_network_testUpSql, map[string]*bintree{}}, - "1649174829_add_visitble_token.up.sql": {_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}}, - "1649882262_add_derived_from_accounts.up.sql": {_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}}, - "1650612625_add_community_message_archive_hashes_table.up.sql": {_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}}, - "1650616788_add_communities_archives_info_table.up.sql": {_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}}, - "1652715604_add_clock_accounts.up.sql": {_1652715604_add_clock_accountsUpSql, map[string]*bintree{}}, - "1653037334_add_notifications_settings_table.up.sql": {_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}}, - "1654702119_add_mutual_contact_settings.up.sql": {_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}}, - "1655375270_add_clock_field_to_communities_settings_table.up.sql": {_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}}, - "1655385721_drop_networks_config.up.sql": {_1655385721_drop_networks_configUpSql, map[string]*bintree{}}, - "1655385724_networks_chainColor_shortName.up.sql": {_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}}, - "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": {_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}}, - "1655462032_create_bookmarks_deleted_at_index.up.sql": {_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}}, - "1657617291_add_multi_transactions_table.up.sql": {_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}}, - "1660134042_add_social_links_settings_table.up.sql": {_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}}, - "1660134060_settings_bio.up.sql": {_1660134060_settings_bioUpSql, map[string]*bintree{}}, - "1660134070_add_wakuv2_store.up.sql": {_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}}, - "1660134072_waku2_store_messages.up.sql": {_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}}, - "1662365868_add_key_uid_accounts.up.sql": {_1662365868_add_key_uid_accountsUpSql, map[string]*bintree{}}, - "1662447680_add_keypairs_table.up.sql": {_1662447680_add_keypairs_tableUpSql, map[string]*bintree{}}, - "1662460056_move_favourites_to_saved_addresses.up.sql": {_1662460056_move_favourites_to_saved_addressesUpSql, map[string]*bintree{}}, - "1662738097_add_base_fee_transaction.up.sql": {_1662738097_add_base_fee_transactionUpSql, map[string]*bintree{}}, - "1662972194_add_keypairs_table.up.sql": {_1662972194_add_keypairs_tableUpSql, map[string]*bintree{}}, - "1664392661_add_third_party_id_to_waku_messages.up.sql": {_1664392661_add_third_party_id_to_waku_messagesUpSql, map[string]*bintree{}}, - "1664783660_add_sync_info_to_saved_addresses.up.sql": {_1664783660_add_sync_info_to_saved_addressesUpSql, map[string]*bintree{}}, - "1668109917_wakunodes.up.sql": {_1668109917_wakunodesUpSql, map[string]*bintree{}}, - "1670249678_display_name_to_settings_sync_clock_table.up.sql": {_1670249678_display_name_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": {_1670836810_add_imported_flag_to_community_archive_hashesUpSql, map[string]*bintree{}}, - "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": {_1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, map[string]*bintree{}}, - "1672933930_switcher_card.up.sql": {_1672933930_switcher_cardUpSql, map[string]*bintree{}}, - "1674056187_add_price_cache.up.sql": {_1674056187_add_price_cacheUpSql, map[string]*bintree{}}, - "1674136690_ens_usernames.up.sql": {_1674136690_ens_usernamesUpSql, map[string]*bintree{}}, - "1674232431_add_balance_history.up.sql": {_1674232431_add_balance_historyUpSql, map[string]*bintree{}}, - "1676368933_keypairs_to_keycards.up.sql": {_1676368933_keypairs_to_keycardsUpSql, map[string]*bintree{}}, - "1676951398_add_currency_format_cache.up.sql": {_1676951398_add_currency_format_cacheUpSql, map[string]*bintree{}}, - "1676968196_keycards_add_clock_column.up.sql": {_1676968196_keycards_add_clock_columnUpSql, map[string]*bintree{}}, - "1676968197_add_fallback_rpc_to_networks.up.sql": {_1676968197_add_fallback_rpc_to_networksUpSql, map[string]*bintree{}}, - "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": {_1677674090_add_chains_ens_istest_to_saved_addressesUpSql, map[string]*bintree{}}, - "1677681143_accounts_table_type_column_update.up.sql": {_1677681143_accounts_table_type_column_updateUpSql, map[string]*bintree{}}, - "1678264207_accounts_table_new_columns_added.up.sql": {_1678264207_accounts_table_new_columns_addedUpSql, map[string]*bintree{}}, - "1680770368_add_bio_to_settings_sync_clock_table.up.sql": {_1680770368_add_bio_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": {_1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1681392602_9d_sync_period.up.sql": {_1681392602_9d_sync_periodUpSql, map[string]*bintree{}}, - "1681762078_default_sync_period_9d.up.sql": {_1681762078_default_sync_period_9dUpSql, map[string]*bintree{}}, - "1681780680_add_clock_to_social_links_settings.up.sql": {_1681780680_add_clock_to_social_links_settingsUpSql, map[string]*bintree{}}, - "1682073779_settings_table_remove_latest_derived_path_column.up.sql": {_1682073779_settings_table_remove_latest_derived_path_columnUpSql, map[string]*bintree{}}, - "1682146075_add_created_at_to_saved_addresses.up.sql": {_1682146075_add_created_at_to_saved_addressesUpSql, map[string]*bintree{}}, - "1682393575_sync_ens_name.up.sql": {_1682393575_sync_ens_nameUpSql, map[string]*bintree{}}, - "1683457503_add_blocks_ranges_sequential_table.up.sql": {_1683457503_add_blocks_ranges_sequential_tableUpSql, map[string]*bintree{}}, - "1683627613_accounts_and_keycards_improvements.up.sql": {_1683627613_accounts_and_keycards_improvementsUpSql, map[string]*bintree{}}, - "1685041348_settings_table_add_latest_derived_path_column.up.sql": {_1685041348_settings_table_add_latest_derived_path_columnUpSql, map[string]*bintree{}}, - "1685440989_update_color_id_accounts.up.sql": {_1685440989_update_color_id_accountsUpSql, map[string]*bintree{}}, - "1685463947_add_to_asset_to_multitransaction.up.sql": {_1685463947_add_to_asset_to_multitransactionUpSql, map[string]*bintree{}}, - "1685880973_add_profile_links_settings_table.up.sql": {_1685880973_add_profile_links_settings_tableUpSql, map[string]*bintree{}}, - "1686041510_add_idx_transfers_blkno_loaded.up.sql": {_1686041510_add_idx_transfers_blkno_loadedUpSql, map[string]*bintree{}}, - "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": {_1686048341_transfers_receipt_json_blob_outUpSqlDownSql, map[string]*bintree{}}, - "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": {_1686048341_transfers_receipt_json_blob_outUpSqlUpSql, map[string]*bintree{}}, - "1686825075_cleanup_token_address.up.sql": {_1686825075_cleanup_token_addressUpSql, map[string]*bintree{}}, - "1687193315_transfers_extract_from_to_address.down.sql": {_1687193315_transfers_extract_from_to_addressDownSql, map[string]*bintree{}}, - "1687193315_transfers_extract_from_to_address.up.sql": {_1687193315_transfers_extract_from_to_addressUpSql, map[string]*bintree{}}, - "1687249080_add_position_accounts.up..sql": {_1687249080_add_position_accountsUpSql, map[string]*bintree{}}, - "1687269871_add_device_name.up.sql": {_1687269871_add_device_nameUpSql, map[string]*bintree{}}, - "1687506642_include_watch_only_account_setting.up.sql": {_1687506642_include_watch_only_account_settingUpSql, map[string]*bintree{}}, - "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": {_1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}}, - "1688054680_add_columns_to_multitransaction.up.sql": {_1688054680_add_columns_to_multitransactionUpSql, map[string]*bintree{}}, - "1688636552_keycards_table_columns_update.up.sql": {_1688636552_keycards_table_columns_updateUpSql, map[string]*bintree{}}, - "1689248269_add_related_chain_id_networks.up.sql": {_1689248269_add_related_chain_id_networksUpSql, map[string]*bintree{}}, - "1689340211_index_filter_columns.up.sql": {_1689340211_index_filter_columnsUpSql, map[string]*bintree{}}, - "1689498471_make_wallet_accounts_positions_non_negative.up.sql": {_1689498471_make_wallet_accounts_positions_non_negativeUpSql, map[string]*bintree{}}, - "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": {_1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, map[string]*bintree{}}, - "1690225863_add_collectibles_ownership_cache.up.sql": {_1690225863_add_collectibles_ownership_cacheUpSql, map[string]*bintree{}}, - "1690734354_add_preferred_chain_ids.up.sql": {_1690734354_add_preferred_chain_idsUpSql, map[string]*bintree{}}, - "1691173699_add_collectibles_and_collections_data_cache.up.sql": {_1691173699_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, - "1691753758_move_wallet_tables_to_wallet_db.up.sql": {_1691753758_move_wallet_tables_to_wallet_dbUpSql, map[string]*bintree{}}, - "1691753800_pubsubtopic_key.up.sql": {_1691753800_pubsubtopic_keyUpSql, map[string]*bintree{}}, - "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": {_1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, map[string]*bintree{}}, - "1694764094_add_original_to_networks.up.sql": {_1694764094_add_original_to_networksUpSql, map[string]*bintree{}}, - "1695974515_add_is_sepolia_enabled_to_settings.up.sql": {_1695974515_add_is_sepolia_enabled_to_settingsUpSql, map[string]*bintree{}}, - "1696259336_settings_add_url_unfurling_mode.up.sql": {_1696259336_settings_add_url_unfurling_modeUpSql, map[string]*bintree{}}, - "1697123140_drop_include_watch_only_accounts.up.sql": {_1697123140_drop_include_watch_only_accountsUpSql, map[string]*bintree{}}, - "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": {_1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}}, - "1697623289_add_omit_transfers_history_scan_to_settings.up.sql": {_1697623289_add_omit_transfers_history_scan_to_settingsUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1640111208_dummy.up.sql": &bintree{_1640111208_dummyUpSql, map[string]*bintree{}}, + "1642666031_add_removed_clock_to_bookmarks.up.sql": &bintree{_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}}, + "1643644541_gif_api_key_setting.up.sql": &bintree{_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}}, + "1644188994_recent_stickers.up.sql": &bintree{_1644188994_recent_stickersUpSql, map[string]*bintree{}}, + "1646659233_add_address_to_dapp_permisssion.up.sql": &bintree{_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}}, + "1646841105_add_emoji_account.up.sql": &bintree{_1646841105_add_emoji_accountUpSql, map[string]*bintree{}}, + "1647278782_display_name.up.sql": &bintree{_1647278782_display_nameUpSql, map[string]*bintree{}}, + "1647862838_reset_last_backup.up.sql": &bintree{_1647862838_reset_last_backupUpSql, map[string]*bintree{}}, + "1647871652_add_settings_sync_clock_table.up.sql": &bintree{_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1647880168_add_torrent_config.up.sql": &bintree{_1647880168_add_torrent_configUpSql, map[string]*bintree{}}, + "1647882837_add_communities_settings_table.up.sql": &bintree{_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}}, + "1647956635_add_waku_messages_table.up.sql": &bintree{_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}}, + "1648554928_network_test.up.sql": &bintree{_1648554928_network_testUpSql, map[string]*bintree{}}, + "1649174829_add_visitble_token.up.sql": &bintree{_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}}, + "1649882262_add_derived_from_accounts.up.sql": &bintree{_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}}, + "1650612625_add_community_message_archive_hashes_table.up.sql": &bintree{_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}}, + "1650616788_add_communities_archives_info_table.up.sql": &bintree{_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}}, + "1652715604_add_clock_accounts.up.sql": &bintree{_1652715604_add_clock_accountsUpSql, map[string]*bintree{}}, + "1653037334_add_notifications_settings_table.up.sql": &bintree{_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}}, + "1654702119_add_mutual_contact_settings.up.sql": &bintree{_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}}, + "1655375270_add_clock_field_to_communities_settings_table.up.sql": &bintree{_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}}, + "1655385721_drop_networks_config.up.sql": &bintree{_1655385721_drop_networks_configUpSql, map[string]*bintree{}}, + "1655385724_networks_chainColor_shortName.up.sql": &bintree{_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}}, + "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": &bintree{_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}}, + "1655462032_create_bookmarks_deleted_at_index.up.sql": &bintree{_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}}, + "1657617291_add_multi_transactions_table.up.sql": &bintree{_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}}, + "1660134042_add_social_links_settings_table.up.sql": &bintree{_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}}, + "1660134060_settings_bio.up.sql": &bintree{_1660134060_settings_bioUpSql, map[string]*bintree{}}, + "1660134070_add_wakuv2_store.up.sql": &bintree{_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}}, + "1660134072_waku2_store_messages.up.sql": &bintree{_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}}, + "1662365868_add_key_uid_accounts.up.sql": &bintree{_1662365868_add_key_uid_accountsUpSql, map[string]*bintree{}}, + "1662447680_add_keypairs_table.up.sql": &bintree{_1662447680_add_keypairs_tableUpSql, map[string]*bintree{}}, + "1662460056_move_favourites_to_saved_addresses.up.sql": &bintree{_1662460056_move_favourites_to_saved_addressesUpSql, map[string]*bintree{}}, + "1662738097_add_base_fee_transaction.up.sql": &bintree{_1662738097_add_base_fee_transactionUpSql, map[string]*bintree{}}, + "1662972194_add_keypairs_table.up.sql": &bintree{_1662972194_add_keypairs_tableUpSql, map[string]*bintree{}}, + "1664392661_add_third_party_id_to_waku_messages.up.sql": &bintree{_1664392661_add_third_party_id_to_waku_messagesUpSql, map[string]*bintree{}}, + "1664783660_add_sync_info_to_saved_addresses.up.sql": &bintree{_1664783660_add_sync_info_to_saved_addressesUpSql, map[string]*bintree{}}, + "1668109917_wakunodes.up.sql": &bintree{_1668109917_wakunodesUpSql, map[string]*bintree{}}, + "1670249678_display_name_to_settings_sync_clock_table.up.sql": &bintree{_1670249678_display_name_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1670836810_add_imported_flag_to_community_archive_hashes.up.sql": &bintree{_1670836810_add_imported_flag_to_community_archive_hashesUpSql, map[string]*bintree{}}, + "1671438731_add_magnetlink_uri_to_communities_archive_info.up.sql": &bintree{_1671438731_add_magnetlink_uri_to_communities_archive_infoUpSql, map[string]*bintree{}}, + "1672933930_switcher_card.up.sql": &bintree{_1672933930_switcher_cardUpSql, map[string]*bintree{}}, + "1674056187_add_price_cache.up.sql": &bintree{_1674056187_add_price_cacheUpSql, map[string]*bintree{}}, + "1674136690_ens_usernames.up.sql": &bintree{_1674136690_ens_usernamesUpSql, map[string]*bintree{}}, + "1674232431_add_balance_history.up.sql": &bintree{_1674232431_add_balance_historyUpSql, map[string]*bintree{}}, + "1676368933_keypairs_to_keycards.up.sql": &bintree{_1676368933_keypairs_to_keycardsUpSql, map[string]*bintree{}}, + "1676951398_add_currency_format_cache.up.sql": &bintree{_1676951398_add_currency_format_cacheUpSql, map[string]*bintree{}}, + "1676968196_keycards_add_clock_column.up.sql": &bintree{_1676968196_keycards_add_clock_columnUpSql, map[string]*bintree{}}, + "1676968197_add_fallback_rpc_to_networks.up.sql": &bintree{_1676968197_add_fallback_rpc_to_networksUpSql, map[string]*bintree{}}, + "1677674090_add_chains_ens_istest_to_saved_addresses.up.sql": &bintree{_1677674090_add_chains_ens_istest_to_saved_addressesUpSql, map[string]*bintree{}}, + "1677681143_accounts_table_type_column_update.up.sql": &bintree{_1677681143_accounts_table_type_column_updateUpSql, map[string]*bintree{}}, + "1678264207_accounts_table_new_columns_added.up.sql": &bintree{_1678264207_accounts_table_new_columns_addedUpSql, map[string]*bintree{}}, + "1680770368_add_bio_to_settings_sync_clock_table.up.sql": &bintree{_1680770368_add_bio_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1681110436_add_mnemonic_to_settings_sync_clock_table.up.sql": &bintree{_1681110436_add_mnemonic_to_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1681392602_9d_sync_period.up.sql": &bintree{_1681392602_9d_sync_periodUpSql, map[string]*bintree{}}, + "1681762078_default_sync_period_9d.up.sql": &bintree{_1681762078_default_sync_period_9dUpSql, map[string]*bintree{}}, + "1681780680_add_clock_to_social_links_settings.up.sql": &bintree{_1681780680_add_clock_to_social_links_settingsUpSql, map[string]*bintree{}}, + "1682073779_settings_table_remove_latest_derived_path_column.up.sql": &bintree{_1682073779_settings_table_remove_latest_derived_path_columnUpSql, map[string]*bintree{}}, + "1682146075_add_created_at_to_saved_addresses.up.sql": &bintree{_1682146075_add_created_at_to_saved_addressesUpSql, map[string]*bintree{}}, + "1682393575_sync_ens_name.up.sql": &bintree{_1682393575_sync_ens_nameUpSql, map[string]*bintree{}}, + "1683457503_add_blocks_ranges_sequential_table.up.sql": &bintree{_1683457503_add_blocks_ranges_sequential_tableUpSql, map[string]*bintree{}}, + "1683627613_accounts_and_keycards_improvements.up.sql": &bintree{_1683627613_accounts_and_keycards_improvementsUpSql, map[string]*bintree{}}, + "1685041348_settings_table_add_latest_derived_path_column.up.sql": &bintree{_1685041348_settings_table_add_latest_derived_path_columnUpSql, map[string]*bintree{}}, + "1685440989_update_color_id_accounts.up.sql": &bintree{_1685440989_update_color_id_accountsUpSql, map[string]*bintree{}}, + "1685463947_add_to_asset_to_multitransaction.up.sql": &bintree{_1685463947_add_to_asset_to_multitransactionUpSql, map[string]*bintree{}}, + "1685880973_add_profile_links_settings_table.up.sql": &bintree{_1685880973_add_profile_links_settings_tableUpSql, map[string]*bintree{}}, + "1686041510_add_idx_transfers_blkno_loaded.up.sql": &bintree{_1686041510_add_idx_transfers_blkno_loadedUpSql, map[string]*bintree{}}, + "1686048341_transfers_receipt_json_blob_out.up.sql.down.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlDownSql, map[string]*bintree{}}, + "1686048341_transfers_receipt_json_blob_out.up.sql.up.sql": &bintree{_1686048341_transfers_receipt_json_blob_outUpSqlUpSql, map[string]*bintree{}}, + "1686825075_cleanup_token_address.up.sql": &bintree{_1686825075_cleanup_token_addressUpSql, map[string]*bintree{}}, + "1687193315_transfers_extract_from_to_address.down.sql": &bintree{_1687193315_transfers_extract_from_to_addressDownSql, map[string]*bintree{}}, + "1687193315_transfers_extract_from_to_address.up.sql": &bintree{_1687193315_transfers_extract_from_to_addressUpSql, map[string]*bintree{}}, + "1687249080_add_position_accounts.up..sql": &bintree{_1687249080_add_position_accountsUpSql, map[string]*bintree{}}, + "1687269871_add_device_name.up.sql": &bintree{_1687269871_add_device_nameUpSql, map[string]*bintree{}}, + "1687506642_include_watch_only_account_setting.up.sql": &bintree{_1687506642_include_watch_only_account_settingUpSql, map[string]*bintree{}}, + "1688022264_add_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1688022264_add_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}}, + "1688054680_add_columns_to_multitransaction.up.sql": &bintree{_1688054680_add_columns_to_multitransactionUpSql, map[string]*bintree{}}, + "1688636552_keycards_table_columns_update.up.sql": &bintree{_1688636552_keycards_table_columns_updateUpSql, map[string]*bintree{}}, + "1689248269_add_related_chain_id_networks.up.sql": &bintree{_1689248269_add_related_chain_id_networksUpSql, map[string]*bintree{}}, + "1689340211_index_filter_columns.up.sql": &bintree{_1689340211_index_filter_columnsUpSql, map[string]*bintree{}}, + "1689498471_make_wallet_accounts_positions_non_negative.up.sql": &bintree{_1689498471_make_wallet_accounts_positions_non_negativeUpSql, map[string]*bintree{}}, + "1689856991_add_soft_remove_column_for_keypairs_and_accounts.up.sql": &bintree{_1689856991_add_soft_remove_column_for_keypairs_and_accountsUpSql, map[string]*bintree{}}, + "1690225863_add_collectibles_ownership_cache.up.sql": &bintree{_1690225863_add_collectibles_ownership_cacheUpSql, map[string]*bintree{}}, + "1690734354_add_preferred_chain_ids.up.sql": &bintree{_1690734354_add_preferred_chain_idsUpSql, map[string]*bintree{}}, + "1691173699_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1691173699_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, + "1691753758_move_wallet_tables_to_wallet_db.up.sql": &bintree{_1691753758_move_wallet_tables_to_wallet_dbUpSql, map[string]*bintree{}}, + "1691753800_pubsubtopic_key.up.sql": &bintree{_1691753800_pubsubtopic_keyUpSql, map[string]*bintree{}}, + "1693900971_add_profile_migration_needed_column_to_settings_table.up.sql": &bintree{_1693900971_add_profile_migration_needed_column_to_settings_tableUpSql, map[string]*bintree{}}, + "1694764094_add_original_to_networks.up.sql": &bintree{_1694764094_add_original_to_networksUpSql, map[string]*bintree{}}, + "1695974515_add_is_sepolia_enabled_to_settings.up.sql": &bintree{_1695974515_add_is_sepolia_enabled_to_settingsUpSql, map[string]*bintree{}}, + "1696259336_settings_add_url_unfurling_mode.up.sql": &bintree{_1696259336_settings_add_url_unfurling_modeUpSql, map[string]*bintree{}}, + "1697123140_drop_include_watch_only_accounts.up.sql": &bintree{_1697123140_drop_include_watch_only_accountsUpSql, map[string]*bintree{}}, + "1697123233_drop_include_watch_only_account_to_settings_sync_clock.up.sql": &bintree{_1697123233_drop_include_watch_only_account_to_settings_sync_clockUpSql, map[string]*bintree{}}, + "1697623289_add_omit_transfers_history_scan_to_settings.up.sql": &bintree{_1697623289_add_omit_transfers_history_scan_to_settingsUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -2407,7 +2497,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/appdatabase/migrationsprevnodecfg/bindata.go b/appdatabase/migrationsprevnodecfg/bindata.go index fa2964c22..0473df508 100644 --- a/appdatabase/migrationsprevnodecfg/bindata.go +++ b/appdatabase/migrationsprevnodecfg/bindata.go @@ -63,6 +63,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -72,7 +73,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -80,7 +81,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -136,7 +137,7 @@ func _0001_appDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_app.down.sql", size: 356, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0001_app.down.sql", size: 356, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb5, 0x25, 0xa0, 0xf8, 0x7d, 0x2d, 0xd, 0xcf, 0x18, 0xe4, 0x73, 0xc3, 0x95, 0xf5, 0x24, 0x20, 0xa9, 0xe6, 0x9e, 0x1d, 0x93, 0xe5, 0xc5, 0xad, 0x93, 0x8f, 0x5e, 0x40, 0xb5, 0x30, 0xaa, 0x25}} return a, nil } @@ -156,7 +157,7 @@ func _0001_appUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_app.up.sql", size: 2967, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0001_app.up.sql", size: 2967, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0x3a, 0xa7, 0xf2, 0x8f, 0xfa, 0x82, 0x7c, 0xc5, 0x49, 0xac, 0xac, 0xf, 0xc, 0x77, 0xe2, 0xba, 0xe8, 0x4d, 0xe, 0x6f, 0x5d, 0x2c, 0x2c, 0x18, 0x80, 0xc2, 0x1d, 0xe, 0x25, 0xe, 0x18}} return a, nil } @@ -176,7 +177,7 @@ func _0002_tokensDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0002_tokens.down.sql", size: 19, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0002_tokens.down.sql", size: 19, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x31, 0x2, 0xcc, 0x2f, 0x38, 0x90, 0xf7, 0x58, 0x37, 0x47, 0xf4, 0x18, 0xf7, 0x72, 0x74, 0x67, 0x14, 0x7e, 0xf3, 0xb1, 0xd6, 0x5f, 0xb0, 0xd5, 0xe7, 0x91, 0xf4, 0x26, 0x77, 0x8e, 0x68}} return a, nil } @@ -196,7 +197,7 @@ func _0002_tokensUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0002_tokens.up.sql", size: 248, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0002_tokens.up.sql", size: 248, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcc, 0xd6, 0xde, 0xd3, 0x7b, 0xee, 0x92, 0x11, 0x38, 0xa4, 0xeb, 0x84, 0xca, 0xcb, 0x37, 0x75, 0x5, 0x77, 0x7f, 0x14, 0x39, 0xee, 0xa1, 0x8b, 0xd4, 0x5c, 0x6e, 0x55, 0x6, 0x50, 0x16, 0xd4}} return a, nil } @@ -216,7 +217,7 @@ func _0003_settingsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0003_settings.down.sql", size: 118, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0003_settings.down.sql", size: 118, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0xa6, 0xf5, 0xc0, 0x60, 0x64, 0x77, 0xe2, 0xe7, 0x3c, 0x9b, 0xb1, 0x52, 0xa9, 0x95, 0x16, 0xf8, 0x60, 0x2f, 0xa5, 0xeb, 0x46, 0xb9, 0xb9, 0x8f, 0x4c, 0xf4, 0xfd, 0xbb, 0xe7, 0xe5, 0xe5}} return a, nil } @@ -236,7 +237,7 @@ func _0003_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0003_settings.up.sql", size: 1311, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0003_settings.up.sql", size: 1311, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x35, 0x0, 0xeb, 0xe2, 0x33, 0x68, 0xb9, 0xf4, 0xf6, 0x8e, 0x9e, 0x10, 0xe9, 0x58, 0x68, 0x28, 0xb, 0xcd, 0xec, 0x74, 0x71, 0xa7, 0x9a, 0x5a, 0x77, 0x59, 0xb1, 0x13, 0x1c, 0xa1, 0x5b}} return a, nil } @@ -256,7 +257,7 @@ func _0004_pending_stickersDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0004_pending_stickers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0004_pending_stickers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -276,7 +277,7 @@ func _0004_pending_stickersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0004_pending_stickers.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0004_pending_stickers.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3c, 0xed, 0x25, 0xdf, 0x75, 0x2, 0x6c, 0xf0, 0xa2, 0xa8, 0x37, 0x62, 0x65, 0xad, 0xfd, 0x98, 0xa0, 0x9d, 0x63, 0x94, 0xdf, 0x6b, 0x46, 0xe0, 0x68, 0xec, 0x9c, 0x7f, 0x77, 0xdd, 0xb3, 0x6}} return a, nil } @@ -296,7 +297,7 @@ func _0005_waku_modeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0005_waku_mode.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0005_waku_mode.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -316,7 +317,7 @@ func _0005_waku_modeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0005_waku_mode.up.sql", size: 146, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0005_waku_mode.up.sql", size: 146, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa6, 0x91, 0xc, 0xd7, 0x89, 0x61, 0x2e, 0x4c, 0x5a, 0xb6, 0x67, 0xd1, 0xc1, 0x42, 0x24, 0x38, 0xd6, 0x1b, 0x75, 0x41, 0x9c, 0x23, 0xb0, 0xca, 0x5c, 0xf1, 0x5c, 0xd0, 0x13, 0x92, 0x3e, 0xe1}} return a, nil } @@ -336,7 +337,7 @@ func _0006_appearanceUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0006_appearance.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0006_appearance.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xae, 0x6, 0x25, 0x6c, 0xe4, 0x9d, 0xa7, 0x72, 0xe8, 0xbc, 0xe4, 0x1f, 0x1e, 0x2d, 0x7c, 0xb7, 0xf6, 0xa3, 0xec, 0x3b, 0x4e, 0x93, 0x2e, 0xa4, 0xec, 0x6f, 0xe5, 0x95, 0x94, 0xe8, 0x4, 0xfb}} return a, nil } @@ -356,7 +357,7 @@ func _0007_enable_waku_defaultUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0007_enable_waku_default.up.sql", size: 38, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0007_enable_waku_default.up.sql", size: 38, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0x42, 0xb6, 0xe5, 0x48, 0x41, 0xeb, 0xc0, 0x7e, 0x3b, 0xe6, 0x8e, 0x96, 0x33, 0x20, 0x92, 0x24, 0x5a, 0x60, 0xfa, 0xa0, 0x3, 0x5e, 0x76, 0x4b, 0x89, 0xaa, 0x37, 0x66, 0xbc, 0x26, 0x11}} return a, nil } @@ -376,7 +377,7 @@ func _0008_add_push_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0008_add_push_notifications.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0008_add_push_notifications.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5a, 0x0, 0xbf, 0xd0, 0xdd, 0xcd, 0x73, 0xe0, 0x7c, 0x56, 0xef, 0xdc, 0x57, 0x61, 0x94, 0x64, 0x70, 0xb9, 0xfa, 0xa1, 0x2a, 0x36, 0xc, 0x2f, 0xf8, 0x95, 0xa, 0x57, 0x3e, 0x7a, 0xd7, 0x12}} return a, nil } @@ -396,7 +397,7 @@ func _0009_enable_sending_push_notificationsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0009_enable_sending_push_notifications.down.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0009_enable_sending_push_notifications.down.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0xae, 0x1b, 0x41, 0xcb, 0x9c, 0x2c, 0x93, 0xc6, 0x2a, 0x77, 0x3, 0xb9, 0x51, 0xe0, 0x68, 0x68, 0x0, 0xf7, 0x5b, 0xb3, 0x1e, 0x94, 0x44, 0xba, 0x9c, 0xd0, 0x3b, 0x80, 0x21, 0x6f, 0xb5}} return a, nil } @@ -416,7 +417,7 @@ func _0009_enable_sending_push_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0009_enable_sending_push_notifications.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0009_enable_sending_push_notifications.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x80, 0xe4, 0x9c, 0xc8, 0xb8, 0xd5, 0xef, 0xce, 0x74, 0x9b, 0x7b, 0xdd, 0xa, 0x99, 0x1e, 0xef, 0x7f, 0xb8, 0x99, 0x84, 0x4, 0x0, 0x6b, 0x1d, 0x2c, 0xa, 0xf8, 0x2c, 0x4f, 0xb5, 0x44}} return a, nil } @@ -436,7 +437,7 @@ func _0010_add_block_mentionsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0010_add_block_mentions.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0010_add_block_mentions.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6d, 0x9e, 0x27, 0x1e, 0xba, 0x9f, 0xca, 0xae, 0x98, 0x2e, 0x6e, 0xe3, 0xdd, 0xac, 0x73, 0x34, 0x4e, 0x69, 0x92, 0xb5, 0xf6, 0x9, 0xab, 0x50, 0x35, 0xd, 0xee, 0xeb, 0x3e, 0xcc, 0x7e, 0xce}} return a, nil } @@ -456,7 +457,7 @@ func _0010_add_block_mentionsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0010_add_block_mentions.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0010_add_block_mentions.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd7, 0x23, 0x85, 0xa2, 0xb5, 0xb6, 0xb4, 0x3f, 0xdc, 0x4e, 0xff, 0xe2, 0x6b, 0x66, 0x68, 0x5e, 0xb2, 0xb4, 0x14, 0xb2, 0x1b, 0x4d, 0xb1, 0xce, 0xf7, 0x6, 0x58, 0xa7, 0xaf, 0x93, 0x3f, 0x25}} return a, nil } @@ -476,7 +477,7 @@ func _0011_allow_webview_permission_requestsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0011_allow_webview_permission_requests.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0011_allow_webview_permission_requests.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -496,7 +497,7 @@ func _0011_allow_webview_permission_requestsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0011_allow_webview_permission_requests.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0011_allow_webview_permission_requests.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x43, 0x5f, 0x22, 0x4c, 0x98, 0x1d, 0xc6, 0xf4, 0x89, 0xaf, 0xf4, 0x44, 0xba, 0xf8, 0x28, 0xa7, 0xb5, 0xb9, 0xf0, 0xf2, 0xcb, 0x5, 0x59, 0x7a, 0xc, 0xdf, 0xd3, 0x38, 0xa4, 0xb8, 0x98, 0xc2}} return a, nil } @@ -516,7 +517,7 @@ func _0012_pending_transactionsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0012_pending_transactions.down.sql", size: 33, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0012_pending_transactions.down.sql", size: 33, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0x41, 0xfe, 0x5c, 0xd8, 0xc3, 0x29, 0xfd, 0x31, 0x78, 0x99, 0x7a, 0xeb, 0x17, 0x62, 0x88, 0x41, 0xb3, 0xe7, 0xb5, 0x5, 0x0, 0x90, 0xa1, 0x7, 0x1a, 0x23, 0x88, 0x81, 0xba, 0x56, 0x9d}} return a, nil } @@ -536,7 +537,7 @@ func _0012_pending_transactionsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0012_pending_transactions.up.sql", size: 321, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0012_pending_transactions.up.sql", size: 321, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd, 0x17, 0xff, 0xd7, 0xa7, 0x49, 0x1e, 0x7b, 0x34, 0x63, 0x7c, 0x53, 0xaa, 0x6b, 0x2d, 0xc8, 0xe0, 0x82, 0x21, 0x90, 0x3a, 0x94, 0xf1, 0xa6, 0xe4, 0x70, 0xe5, 0x85, 0x1a, 0x48, 0x25, 0xb}} return a, nil } @@ -556,7 +557,7 @@ func _0013_favouritesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0013_favourites.down.sql", size: 23, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0013_favourites.down.sql", size: 23, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x32, 0xf8, 0x55, 0x13, 0x4f, 0x4a, 0x19, 0x83, 0x9c, 0xda, 0x34, 0xb8, 0x3, 0x54, 0x82, 0x1e, 0x99, 0x36, 0x6b, 0x42, 0x3, 0xf6, 0x43, 0xde, 0xe6, 0x32, 0xb6, 0xdf, 0xe2, 0x59, 0x8c, 0x84}} return a, nil } @@ -576,7 +577,7 @@ func _0013_favouritesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0013_favourites.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0013_favourites.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbe, 0x1, 0x27, 0x38, 0x76, 0xf5, 0xcb, 0x61, 0xda, 0x5b, 0xce, 0xd9, 0x8b, 0x18, 0x77, 0x61, 0x84, 0xe7, 0x22, 0xe2, 0x13, 0x99, 0xab, 0x32, 0xbc, 0xbe, 0xed, 0x1f, 0x2f, 0xb0, 0xe4, 0x8d}} return a, nil } @@ -596,7 +597,7 @@ func _0014_add_use_mailserversDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0014_add_use_mailservers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0014_add_use_mailservers.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -616,7 +617,7 @@ func _0014_add_use_mailserversUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0014_add_use_mailservers.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0014_add_use_mailservers.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xba, 0x65, 0xbf, 0x1b, 0xc9, 0x6d, 0x45, 0xf2, 0xf5, 0x30, 0x7c, 0xc1, 0xde, 0xb8, 0xe3, 0x3f, 0xa9, 0x2f, 0x9f, 0xea, 0x1, 0x29, 0x29, 0x65, 0xe7, 0x38, 0xab, 0xa4, 0x62, 0xf, 0xd0}} return a, nil } @@ -636,7 +637,7 @@ func _0015_link_previewsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0015_link_previews.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0015_link_previews.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -656,7 +657,7 @@ func _0015_link_previewsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0015_link_previews.up.sql", size: 203, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0015_link_previews.up.sql", size: 203, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb1, 0xf7, 0x38, 0x25, 0xa6, 0xfc, 0x6b, 0x9, 0xe4, 0xd9, 0xbf, 0x58, 0x7b, 0x80, 0xd8, 0x48, 0x63, 0xde, 0xa5, 0x5e, 0x30, 0xa3, 0xeb, 0x68, 0x8e, 0x6a, 0x9f, 0xfd, 0xf4, 0x46, 0x41, 0x34}} return a, nil } @@ -676,7 +677,7 @@ func _0016_local_notifications_preferencesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0016_local_notifications_preferences.down.sql", size: 43, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0016_local_notifications_preferences.down.sql", size: 43, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe0, 0x50, 0xc7, 0xdd, 0x53, 0x9c, 0x5d, 0x1e, 0xb5, 0x71, 0x25, 0x50, 0x58, 0xcf, 0x6d, 0xbe, 0x5a, 0x8, 0x12, 0xc9, 0x13, 0xd, 0x9a, 0x3d, 0x4b, 0x7a, 0x2f, 0x1b, 0xe5, 0x23, 0x52, 0x78}} return a, nil } @@ -696,7 +697,7 @@ func _0016_local_notifications_preferencesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0016_local_notifications_preferences.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0016_local_notifications_preferences.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3f, 0x3a, 0x16, 0x25, 0xdf, 0xba, 0x62, 0xd3, 0x81, 0x73, 0xc, 0x10, 0x85, 0xbc, 0x8d, 0xe, 0x1d, 0x62, 0xcb, 0xb, 0x6d, 0x8c, 0x4f, 0x63, 0x5f, 0xe2, 0xd, 0xc5, 0x46, 0xa8, 0x35, 0x5b}} return a, nil } @@ -716,7 +717,7 @@ func _0017_bookmarksDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0017_bookmarks.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0017_bookmarks.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9a, 0x13, 0x2a, 0x44, 0xb0, 0x3, 0x18, 0x63, 0xb8, 0x33, 0xda, 0x3a, 0xeb, 0xb8, 0xcb, 0xd1, 0x98, 0x29, 0xa7, 0xf0, 0x6, 0x9d, 0xc9, 0x62, 0xe7, 0x89, 0x7f, 0x77, 0xaf, 0xec, 0x6b, 0x8f}} return a, nil } @@ -736,7 +737,7 @@ func _0017_bookmarksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0017_bookmarks.up.sql", size: 147, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0017_bookmarks.up.sql", size: 147, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbc, 0x47, 0xe1, 0xe3, 0xd8, 0xc6, 0x4, 0x6d, 0x5f, 0x2f, 0xa, 0x51, 0xa6, 0x8c, 0x6a, 0xe0, 0x3d, 0x8c, 0x91, 0x47, 0xbc, 0x1, 0x75, 0x46, 0x92, 0x2, 0x18, 0x6e, 0xe3, 0x4f, 0x18, 0x57}} return a, nil } @@ -756,7 +757,7 @@ func _0018_profile_pictures_visibilityUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0018_profile_pictures_visibility.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0018_profile_pictures_visibility.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xe3, 0xc5, 0xec, 0x83, 0x55, 0x45, 0x57, 0x7a, 0xaa, 0xd2, 0xa7, 0x59, 0xa7, 0x87, 0xef, 0x63, 0x19, 0x9c, 0x46, 0x9c, 0xc5, 0x32, 0x89, 0xa4, 0x68, 0x70, 0xd8, 0x83, 0x43, 0xa4, 0x72}} return a, nil } @@ -776,7 +777,7 @@ func _0019_blocks_ranges_extra_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0019_blocks_ranges_extra_data.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0019_blocks_ranges_extra_data.up.sql", size: 89, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x96, 0x32, 0x58, 0xf0, 0xb9, 0xe1, 0x70, 0x81, 0xca, 0x8d, 0x45, 0x57, 0x8a, 0x7, 0x5d, 0x9e, 0x2a, 0x30, 0xb, 0xad, 0x5f, 0xf8, 0xd4, 0x30, 0x94, 0x73, 0x37, 0x8d, 0xc1, 0x9a, 0xed}} return a, nil } @@ -796,7 +797,7 @@ func _0020_metricsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0020_metrics.up.sql", size: 235, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0020_metrics.up.sql", size: 235, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe8, 0x32, 0xbc, 0xb6, 0x9b, 0x5a, 0x8f, 0x9f, 0x4c, 0x90, 0x81, 0x3e, 0x2e, 0xd1, 0x23, 0xcd, 0xf1, 0x83, 0x35, 0xca, 0x66, 0x87, 0x52, 0x4e, 0x30, 0x3e, 0x4f, 0xa8, 0xfd, 0x30, 0x16, 0xbd}} return a, nil } @@ -816,7 +817,7 @@ func _0021_add_session_id_to_metricsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0021_add_session_id_to_metrics.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0021_add_session_id_to_metrics.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0x81, 0xfc, 0x97, 0xd1, 0x8b, 0xea, 0x8e, 0xd7, 0xc2, 0x53, 0x62, 0xe9, 0xbc, 0xf, 0x8c, 0x46, 0x41, 0x41, 0xb7, 0x6, 0x35, 0xf5, 0xba, 0xbb, 0x28, 0x50, 0x48, 0xbf, 0x36, 0x90, 0x5c}} return a, nil } @@ -836,7 +837,7 @@ func _0022_pending_transfersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0022_pending_transfers.up.sql", size: 706, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0022_pending_transfers.up.sql", size: 706, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6a, 0x9, 0xe6, 0x6, 0xae, 0x60, 0xdd, 0xbb, 0x76, 0xac, 0xe0, 0x57, 0x30, 0x67, 0x37, 0x93, 0x40, 0x13, 0xec, 0xf2, 0x6e, 0x61, 0xa, 0x14, 0xb2, 0xb1, 0xbd, 0x91, 0xf8, 0x89, 0xb3, 0xe3}} return a, nil } @@ -856,7 +857,7 @@ func _1618237885_settings_anon_metrics_should_sendUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1618237885_settings_anon_metrics_should_send.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1618237885_settings_anon_metrics_should_send.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x6c, 0x1d, 0x1f, 0x54, 0x62, 0x18, 0x22, 0x5c, 0xa7, 0x8c, 0x59, 0x24, 0xd3, 0x4d, 0x55, 0xc4, 0x2a, 0x9e, 0x4c, 0x37, 0x6b, 0xfd, 0xac, 0xec, 0xb7, 0x68, 0x21, 0x26, 0x26, 0xf3, 0x92}} return a, nil } @@ -876,7 +877,7 @@ func _1618395756_contacts_onlyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1618395756_contacts_only.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1618395756_contacts_only.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xe3, 0xd0, 0xe7, 0xf2, 0x6e, 0xbf, 0x27, 0xf6, 0xe2, 0x2e, 0x16, 0x4b, 0x52, 0x3b, 0xcf, 0x63, 0x52, 0xfc, 0x1d, 0x43, 0xba, 0x42, 0xf9, 0x1e, 0x1e, 0x39, 0x40, 0xed, 0x0, 0x20, 0xa8}} return a, nil } @@ -896,7 +897,7 @@ func _1622184614_add_default_sync_periodUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622184614_add_default_sync_period.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1622184614_add_default_sync_period.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x60, 0x39, 0xeb, 0x8f, 0xdc, 0x1, 0x56, 0xc1, 0x9b, 0xaa, 0xda, 0x44, 0xe0, 0xdb, 0xda, 0x2c, 0xe7, 0x71, 0x8d, 0xbc, 0xc1, 0x9a, 0x4f, 0x48, 0xe0, 0x5e, 0x81, 0x1e, 0x8e, 0x6a, 0x4d, 0x3}} return a, nil } @@ -916,7 +917,7 @@ func _1625872445_user_statusUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1625872445_user_status.up.sql", size: 351, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1625872445_user_status.up.sql", size: 351, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xa, 0xfe, 0x7a, 0xcc, 0x9e, 0x35, 0x26, 0xb, 0xc8, 0xf2, 0x7d, 0xfa, 0x4b, 0xcf, 0x53, 0x20, 0x76, 0xc7, 0xd, 0xbc, 0x78, 0x4f, 0x74, 0x2d, 0x2e, 0x2e, 0x7e, 0x62, 0xae, 0x78, 0x1f}} return a, nil } @@ -936,7 +937,7 @@ func _1627983977_add_gif_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1627983977_add_gif_to_settings.up.sql", size: 102, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1627983977_add_gif_to_settings.up.sql", size: 102, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x63, 0xe6, 0xe1, 0x97, 0x64, 0x4c, 0xe2, 0x14, 0xb1, 0x96, 0x3a, 0xb0, 0xb9, 0xb7, 0xb5, 0x78, 0x4a, 0x39, 0x69, 0x89, 0xb7, 0x89, 0x19, 0xb8, 0x89, 0x1, 0xc5, 0xc2, 0x85, 0x53, 0xe2, 0x83}} return a, nil } @@ -956,7 +957,7 @@ func _1628580203_add_hidden_accountUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1628580203_add_hidden_account.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1628580203_add_hidden_account.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcb, 0x30, 0xf1, 0xd4, 0x60, 0xe2, 0x28, 0x14, 0xcb, 0x16, 0xb, 0x9, 0xea, 0x17, 0xa, 0x9e, 0x89, 0xa8, 0x32, 0x32, 0xf8, 0x4d, 0xa0, 0xe1, 0xe5, 0x79, 0xbd, 0x7d, 0x79, 0xe9, 0x4c, 0x9e}} return a, nil } @@ -976,7 +977,7 @@ func _1629123384_add_id_to_app_metricsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1629123384_add_id_to_app_metrics.up.sql", size: 589, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1629123384_add_id_to_app_metrics.up.sql", size: 589, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0x66, 0xc0, 0x69, 0xb, 0xad, 0x49, 0x7c, 0x8c, 0x67, 0xb8, 0xd6, 0x8d, 0x5d, 0x86, 0x1f, 0xa4, 0x53, 0xf5, 0x8, 0x1, 0xfd, 0x38, 0x49, 0xee, 0x84, 0xc0, 0xd8, 0x17, 0x72, 0x3, 0xb3}} return a, nil } @@ -996,7 +997,7 @@ func _1630401853_add_opensea_enabled_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630401853_add_opensea_enabled_to_settings.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1630401853_add_opensea_enabled_to_settings.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6, 0x91, 0x86, 0x15, 0xc8, 0x99, 0xe3, 0xae, 0xa, 0x6e, 0x94, 0x48, 0x51, 0x5b, 0x18, 0xe0, 0xbc, 0xaf, 0x34, 0x75, 0x55, 0x61, 0xd4, 0xc1, 0x85, 0xc7, 0x3d, 0x99, 0x9e, 0x1f, 0x37, 0x56}} return a, nil } @@ -1016,7 +1017,7 @@ func _1630464455_createSaved_addressesTableDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.down.sql", size: 28, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.down.sql", size: 28, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x23, 0x52, 0x39, 0xb5, 0x42, 0xac, 0xcb, 0xa1, 0x44, 0xb7, 0x94, 0x26, 0x24, 0xb2, 0x12, 0xc, 0xc5, 0xbf, 0x63, 0x13, 0x6f, 0x3c, 0x4, 0x7b, 0xf0, 0xd, 0xfa, 0x55, 0x9e, 0x51, 0xf9, 0x7a}} return a, nil } @@ -1036,7 +1037,7 @@ func _1630464455_createSaved_addressesTableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.up.sql", size: 187, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1630464455_create-saved_addresses-table.up.sql", size: 187, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x32, 0xf, 0x56, 0x18, 0xeb, 0x4e, 0xac, 0xd8, 0xd6, 0x91, 0xae, 0x83, 0xcf, 0x91, 0x9e, 0x4, 0x4b, 0x2, 0x1f, 0x6d, 0xba, 0xf6, 0x3, 0xf2, 0x98, 0x72, 0xf6, 0x91, 0x29, 0x96, 0x0, 0x35}} return a, nil } @@ -1056,7 +1057,7 @@ func _1630485153_networksDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630485153_networks.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1630485153_networks.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbb, 0x3e, 0x57, 0xb7, 0xf7, 0x8, 0xbd, 0xb5, 0xc2, 0xea, 0xc, 0x45, 0xb7, 0x7, 0x9, 0xca, 0xe7, 0x48, 0x7e, 0x56, 0x4e, 0x44, 0x78, 0x8e, 0xe3, 0x87, 0x63, 0xaf, 0x16, 0x3f, 0xf9, 0x71}} return a, nil } @@ -1076,7 +1077,7 @@ func _1630485153_networksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1630485153_networks.up.sql", size: 394, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1630485153_networks.up.sql", size: 394, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0x9, 0x1d, 0x3, 0x86, 0xbd, 0xc5, 0xde, 0x3c, 0x1b, 0x40, 0x41, 0x7c, 0x61, 0x8, 0x80, 0x53, 0x87, 0x1b, 0x5a, 0x56, 0xd, 0x88, 0x1d, 0x60, 0x24, 0xce, 0x7b, 0x8f, 0xff, 0xaf, 0x36}} return a, nil } @@ -1096,7 +1097,7 @@ func _1632262444_profile_pictures_show_toUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632262444_profile_pictures_show_to.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1632262444_profile_pictures_show_to.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc3, 0xa2, 0x5a, 0x94, 0xde, 0x86, 0x2a, 0x29, 0xf5, 0xb3, 0x36, 0xe7, 0x53, 0x81, 0x55, 0xc9, 0xb5, 0xc3, 0xf4, 0x8c, 0x65, 0x2c, 0x4c, 0x48, 0xfd, 0x3c, 0xb7, 0x14, 0xb4, 0xea, 0x7a, 0x13}} return a, nil } @@ -1116,7 +1117,7 @@ func _1635942153_add_telemetry_server_url_to_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1635942153_add_telemetry_server_url_to_settings.up.sql", size: 128, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1635942153_add_telemetry_server_url_to_settings.up.sql", size: 128, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6e, 0x9b, 0x1d, 0x39, 0x9c, 0x8d, 0x50, 0x86, 0xdf, 0xe5, 0x81, 0x55, 0xdc, 0x31, 0xcd, 0xb7, 0xc7, 0x5a, 0x67, 0x3b, 0x21, 0x99, 0xa5, 0x74, 0xb8, 0xd3, 0x58, 0xae, 0x29, 0x68, 0x2a, 0x8d}} return a, nil } @@ -1136,7 +1137,7 @@ func _1635942154_add_backup_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1635942154_add_backup_setting.up.sql", size: 287, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1635942154_add_backup_setting.up.sql", size: 287, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb7, 0xe7, 0xfb, 0x70, 0x80, 0x5, 0xb4, 0x7b, 0x67, 0x8, 0x6e, 0x5f, 0x45, 0x17, 0xd9, 0x5f, 0x18, 0x66, 0x2f, 0x8a, 0x4f, 0xd4, 0x15, 0xe5, 0x2b, 0xbb, 0x25, 0x7a, 0x30, 0xad, 0x4c, 0x1a}} return a, nil } @@ -1156,7 +1157,7 @@ func _1637745568_add_auto_message_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1637745568_add_auto_message_setting.up.sql", size: 122, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1637745568_add_auto_message_setting.up.sql", size: 122, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0xd8, 0xd2, 0xc2, 0x3a, 0xd7, 0xf1, 0x96, 0x6a, 0x35, 0xe5, 0x5c, 0xb9, 0xed, 0x4b, 0xf2, 0x5f, 0x80, 0x43, 0xca, 0x40, 0x57, 0x7e, 0xd7, 0x41, 0x9f, 0x70, 0x9f, 0xaf, 0x2a, 0xfc, 0x8f}} return a, nil } @@ -1176,7 +1177,7 @@ func _1640111208_nodeconfigUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1640111208_nodeconfig.up.sql", size: 7659, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1640111208_nodeconfig.up.sql", size: 7659, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0x5a, 0xc6, 0xed, 0x6, 0xcb, 0x51, 0x8b, 0x78, 0xe9, 0x10, 0x37, 0xd1, 0xad, 0x9b, 0x76, 0x9a, 0xb9, 0x72, 0x85, 0xe7, 0x8a, 0x7f, 0xf0, 0x81, 0xf8, 0x33, 0x59, 0x67, 0x8e, 0xeb, 0xb1}} return a, nil } @@ -1196,7 +1197,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 85, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 85, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0xd2, 0xea, 0xc5, 0xd, 0xc4, 0x7f, 0x95, 0x8e, 0xd5, 0xf5, 0x96, 0xf2, 0x1b, 0xcb, 0xc7, 0xc2, 0x46, 0x1, 0x78, 0x1d, 0x5d, 0x59, 0x19, 0x99, 0xdd, 0x5b, 0xf5, 0x63, 0xa5, 0x25, 0xb8}} return a, nil } @@ -1292,76 +1293,124 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "0001_app.down.sql": _0001_appDownSql, - "0001_app.up.sql": _0001_appUpSql, - "0002_tokens.down.sql": _0002_tokensDownSql, - "0002_tokens.up.sql": _0002_tokensUpSql, - "0003_settings.down.sql": _0003_settingsDownSql, - "0003_settings.up.sql": _0003_settingsUpSql, - "0004_pending_stickers.down.sql": _0004_pending_stickersDownSql, - "0004_pending_stickers.up.sql": _0004_pending_stickersUpSql, - "0005_waku_mode.down.sql": _0005_waku_modeDownSql, - "0005_waku_mode.up.sql": _0005_waku_modeUpSql, - "0006_appearance.up.sql": _0006_appearanceUpSql, - "0007_enable_waku_default.up.sql": _0007_enable_waku_defaultUpSql, - "0008_add_push_notifications.up.sql": _0008_add_push_notificationsUpSql, - "0009_enable_sending_push_notifications.down.sql": _0009_enable_sending_push_notificationsDownSql, - "0009_enable_sending_push_notifications.up.sql": _0009_enable_sending_push_notificationsUpSql, - "0010_add_block_mentions.down.sql": _0010_add_block_mentionsDownSql, - "0010_add_block_mentions.up.sql": _0010_add_block_mentionsUpSql, - "0011_allow_webview_permission_requests.down.sql": _0011_allow_webview_permission_requestsDownSql, - "0011_allow_webview_permission_requests.up.sql": _0011_allow_webview_permission_requestsUpSql, - "0012_pending_transactions.down.sql": _0012_pending_transactionsDownSql, - "0012_pending_transactions.up.sql": _0012_pending_transactionsUpSql, - "0013_favourites.down.sql": _0013_favouritesDownSql, - "0013_favourites.up.sql": _0013_favouritesUpSql, - "0014_add_use_mailservers.down.sql": _0014_add_use_mailserversDownSql, - "0014_add_use_mailservers.up.sql": _0014_add_use_mailserversUpSql, - "0015_link_previews.down.sql": _0015_link_previewsDownSql, - "0015_link_previews.up.sql": _0015_link_previewsUpSql, - "0016_local_notifications_preferences.down.sql": _0016_local_notifications_preferencesDownSql, - "0016_local_notifications_preferences.up.sql": _0016_local_notifications_preferencesUpSql, - "0017_bookmarks.down.sql": _0017_bookmarksDownSql, - "0017_bookmarks.up.sql": _0017_bookmarksUpSql, - "0018_profile_pictures_visibility.up.sql": _0018_profile_pictures_visibilityUpSql, - "0019_blocks_ranges_extra_data.up.sql": _0019_blocks_ranges_extra_dataUpSql, - "0020_metrics.up.sql": _0020_metricsUpSql, - "0021_add_session_id_to_metrics.up.sql": _0021_add_session_id_to_metricsUpSql, - "0022_pending_transfers.up.sql": _0022_pending_transfersUpSql, - "1618237885_settings_anon_metrics_should_send.up.sql": _1618237885_settings_anon_metrics_should_sendUpSql, - "1618395756_contacts_only.up.sql": _1618395756_contacts_onlyUpSql, - "1622184614_add_default_sync_period.up.sql": _1622184614_add_default_sync_periodUpSql, - "1625872445_user_status.up.sql": _1625872445_user_statusUpSql, - "1627983977_add_gif_to_settings.up.sql": _1627983977_add_gif_to_settingsUpSql, - "1628580203_add_hidden_account.up.sql": _1628580203_add_hidden_accountUpSql, - "1629123384_add_id_to_app_metrics.up.sql": _1629123384_add_id_to_app_metricsUpSql, - "1630401853_add_opensea_enabled_to_settings.up.sql": _1630401853_add_opensea_enabled_to_settingsUpSql, - "1630464455_create-saved_addresses-table.down.sql": _1630464455_createSaved_addressesTableDownSql, - "1630464455_create-saved_addresses-table.up.sql": _1630464455_createSaved_addressesTableUpSql, - "1630485153_networks.down.sql": _1630485153_networksDownSql, - "1630485153_networks.up.sql": _1630485153_networksUpSql, - "1632262444_profile_pictures_show_to.up.sql": _1632262444_profile_pictures_show_toUpSql, - "1635942153_add_telemetry_server_url_to_settings.up.sql": _1635942153_add_telemetry_server_url_to_settingsUpSql, - "1635942154_add_backup_setting.up.sql": _1635942154_add_backup_settingUpSql, - "1637745568_add_auto_message_setting.up.sql": _1637745568_add_auto_message_settingUpSql, - "1640111208_nodeconfig.up.sql": _1640111208_nodeconfigUpSql, - "doc.go": docGo, -} + "0001_app.down.sql": _0001_appDownSql, -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "0001_app.up.sql": _0001_appUpSql, + + "0002_tokens.down.sql": _0002_tokensDownSql, + + "0002_tokens.up.sql": _0002_tokensUpSql, + + "0003_settings.down.sql": _0003_settingsDownSql, + + "0003_settings.up.sql": _0003_settingsUpSql, + + "0004_pending_stickers.down.sql": _0004_pending_stickersDownSql, + + "0004_pending_stickers.up.sql": _0004_pending_stickersUpSql, + + "0005_waku_mode.down.sql": _0005_waku_modeDownSql, + + "0005_waku_mode.up.sql": _0005_waku_modeUpSql, + + "0006_appearance.up.sql": _0006_appearanceUpSql, + + "0007_enable_waku_default.up.sql": _0007_enable_waku_defaultUpSql, + + "0008_add_push_notifications.up.sql": _0008_add_push_notificationsUpSql, + + "0009_enable_sending_push_notifications.down.sql": _0009_enable_sending_push_notificationsDownSql, + + "0009_enable_sending_push_notifications.up.sql": _0009_enable_sending_push_notificationsUpSql, + + "0010_add_block_mentions.down.sql": _0010_add_block_mentionsDownSql, + + "0010_add_block_mentions.up.sql": _0010_add_block_mentionsUpSql, + + "0011_allow_webview_permission_requests.down.sql": _0011_allow_webview_permission_requestsDownSql, + + "0011_allow_webview_permission_requests.up.sql": _0011_allow_webview_permission_requestsUpSql, + + "0012_pending_transactions.down.sql": _0012_pending_transactionsDownSql, + + "0012_pending_transactions.up.sql": _0012_pending_transactionsUpSql, + + "0013_favourites.down.sql": _0013_favouritesDownSql, + + "0013_favourites.up.sql": _0013_favouritesUpSql, + + "0014_add_use_mailservers.down.sql": _0014_add_use_mailserversDownSql, + + "0014_add_use_mailservers.up.sql": _0014_add_use_mailserversUpSql, + + "0015_link_previews.down.sql": _0015_link_previewsDownSql, + + "0015_link_previews.up.sql": _0015_link_previewsUpSql, + + "0016_local_notifications_preferences.down.sql": _0016_local_notifications_preferencesDownSql, + + "0016_local_notifications_preferences.up.sql": _0016_local_notifications_preferencesUpSql, + + "0017_bookmarks.down.sql": _0017_bookmarksDownSql, + + "0017_bookmarks.up.sql": _0017_bookmarksUpSql, + + "0018_profile_pictures_visibility.up.sql": _0018_profile_pictures_visibilityUpSql, + + "0019_blocks_ranges_extra_data.up.sql": _0019_blocks_ranges_extra_dataUpSql, + + "0020_metrics.up.sql": _0020_metricsUpSql, + + "0021_add_session_id_to_metrics.up.sql": _0021_add_session_id_to_metricsUpSql, + + "0022_pending_transfers.up.sql": _0022_pending_transfersUpSql, + + "1618237885_settings_anon_metrics_should_send.up.sql": _1618237885_settings_anon_metrics_should_sendUpSql, + + "1618395756_contacts_only.up.sql": _1618395756_contacts_onlyUpSql, + + "1622184614_add_default_sync_period.up.sql": _1622184614_add_default_sync_periodUpSql, + + "1625872445_user_status.up.sql": _1625872445_user_statusUpSql, + + "1627983977_add_gif_to_settings.up.sql": _1627983977_add_gif_to_settingsUpSql, + + "1628580203_add_hidden_account.up.sql": _1628580203_add_hidden_accountUpSql, + + "1629123384_add_id_to_app_metrics.up.sql": _1629123384_add_id_to_app_metricsUpSql, + + "1630401853_add_opensea_enabled_to_settings.up.sql": _1630401853_add_opensea_enabled_to_settingsUpSql, + + "1630464455_create-saved_addresses-table.down.sql": _1630464455_createSaved_addressesTableDownSql, + + "1630464455_create-saved_addresses-table.up.sql": _1630464455_createSaved_addressesTableUpSql, + + "1630485153_networks.down.sql": _1630485153_networksDownSql, + + "1630485153_networks.up.sql": _1630485153_networksUpSql, + + "1632262444_profile_pictures_show_to.up.sql": _1632262444_profile_pictures_show_toUpSql, + + "1635942153_add_telemetry_server_url_to_settings.up.sql": _1635942153_add_telemetry_server_url_to_settingsUpSql, + + "1635942154_add_backup_setting.up.sql": _1635942154_add_backup_settingUpSql, + + "1637745568_add_auto_message_setting.up.sql": _1637745568_add_auto_message_settingUpSql, + + "1640111208_nodeconfig.up.sql": _1640111208_nodeconfigUpSql, + + "doc.go": docGo, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -1394,60 +1443,60 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "0001_app.down.sql": {_0001_appDownSql, map[string]*bintree{}}, - "0001_app.up.sql": {_0001_appUpSql, map[string]*bintree{}}, - "0002_tokens.down.sql": {_0002_tokensDownSql, map[string]*bintree{}}, - "0002_tokens.up.sql": {_0002_tokensUpSql, map[string]*bintree{}}, - "0003_settings.down.sql": {_0003_settingsDownSql, map[string]*bintree{}}, - "0003_settings.up.sql": {_0003_settingsUpSql, map[string]*bintree{}}, - "0004_pending_stickers.down.sql": {_0004_pending_stickersDownSql, map[string]*bintree{}}, - "0004_pending_stickers.up.sql": {_0004_pending_stickersUpSql, map[string]*bintree{}}, - "0005_waku_mode.down.sql": {_0005_waku_modeDownSql, map[string]*bintree{}}, - "0005_waku_mode.up.sql": {_0005_waku_modeUpSql, map[string]*bintree{}}, - "0006_appearance.up.sql": {_0006_appearanceUpSql, map[string]*bintree{}}, - "0007_enable_waku_default.up.sql": {_0007_enable_waku_defaultUpSql, map[string]*bintree{}}, - "0008_add_push_notifications.up.sql": {_0008_add_push_notificationsUpSql, map[string]*bintree{}}, - "0009_enable_sending_push_notifications.down.sql": {_0009_enable_sending_push_notificationsDownSql, map[string]*bintree{}}, - "0009_enable_sending_push_notifications.up.sql": {_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}}, - "0010_add_block_mentions.down.sql": {_0010_add_block_mentionsDownSql, map[string]*bintree{}}, - "0010_add_block_mentions.up.sql": {_0010_add_block_mentionsUpSql, map[string]*bintree{}}, - "0011_allow_webview_permission_requests.down.sql": {_0011_allow_webview_permission_requestsDownSql, map[string]*bintree{}}, - "0011_allow_webview_permission_requests.up.sql": {_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}}, - "0012_pending_transactions.down.sql": {_0012_pending_transactionsDownSql, map[string]*bintree{}}, - "0012_pending_transactions.up.sql": {_0012_pending_transactionsUpSql, map[string]*bintree{}}, - "0013_favourites.down.sql": {_0013_favouritesDownSql, map[string]*bintree{}}, - "0013_favourites.up.sql": {_0013_favouritesUpSql, map[string]*bintree{}}, - "0014_add_use_mailservers.down.sql": {_0014_add_use_mailserversDownSql, map[string]*bintree{}}, - "0014_add_use_mailservers.up.sql": {_0014_add_use_mailserversUpSql, map[string]*bintree{}}, - "0015_link_previews.down.sql": {_0015_link_previewsDownSql, map[string]*bintree{}}, - "0015_link_previews.up.sql": {_0015_link_previewsUpSql, map[string]*bintree{}}, - "0016_local_notifications_preferences.down.sql": {_0016_local_notifications_preferencesDownSql, map[string]*bintree{}}, - "0016_local_notifications_preferences.up.sql": {_0016_local_notifications_preferencesUpSql, map[string]*bintree{}}, - "0017_bookmarks.down.sql": {_0017_bookmarksDownSql, map[string]*bintree{}}, - "0017_bookmarks.up.sql": {_0017_bookmarksUpSql, map[string]*bintree{}}, - "0018_profile_pictures_visibility.up.sql": {_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}}, - "0019_blocks_ranges_extra_data.up.sql": {_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}}, - "0020_metrics.up.sql": {_0020_metricsUpSql, map[string]*bintree{}}, - "0021_add_session_id_to_metrics.up.sql": {_0021_add_session_id_to_metricsUpSql, map[string]*bintree{}}, - "0022_pending_transfers.up.sql": {_0022_pending_transfersUpSql, map[string]*bintree{}}, - "1618237885_settings_anon_metrics_should_send.up.sql": {_1618237885_settings_anon_metrics_should_sendUpSql, map[string]*bintree{}}, - "1618395756_contacts_only.up.sql": {_1618395756_contacts_onlyUpSql, map[string]*bintree{}}, - "1622184614_add_default_sync_period.up.sql": {_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}}, - "1625872445_user_status.up.sql": {_1625872445_user_statusUpSql, map[string]*bintree{}}, - "1627983977_add_gif_to_settings.up.sql": {_1627983977_add_gif_to_settingsUpSql, map[string]*bintree{}}, - "1628580203_add_hidden_account.up.sql": {_1628580203_add_hidden_accountUpSql, map[string]*bintree{}}, - "1629123384_add_id_to_app_metrics.up.sql": {_1629123384_add_id_to_app_metricsUpSql, map[string]*bintree{}}, - "1630401853_add_opensea_enabled_to_settings.up.sql": {_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}}, - "1630464455_create-saved_addresses-table.down.sql": {_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}}, - "1630464455_create-saved_addresses-table.up.sql": {_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}}, - "1630485153_networks.down.sql": {_1630485153_networksDownSql, map[string]*bintree{}}, - "1630485153_networks.up.sql": {_1630485153_networksUpSql, map[string]*bintree{}}, - "1632262444_profile_pictures_show_to.up.sql": {_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}}, - "1635942153_add_telemetry_server_url_to_settings.up.sql": {_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}}, - "1635942154_add_backup_setting.up.sql": {_1635942154_add_backup_settingUpSql, map[string]*bintree{}}, - "1637745568_add_auto_message_setting.up.sql": {_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}}, - "1640111208_nodeconfig.up.sql": {_1640111208_nodeconfigUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "0001_app.down.sql": &bintree{_0001_appDownSql, map[string]*bintree{}}, + "0001_app.up.sql": &bintree{_0001_appUpSql, map[string]*bintree{}}, + "0002_tokens.down.sql": &bintree{_0002_tokensDownSql, map[string]*bintree{}}, + "0002_tokens.up.sql": &bintree{_0002_tokensUpSql, map[string]*bintree{}}, + "0003_settings.down.sql": &bintree{_0003_settingsDownSql, map[string]*bintree{}}, + "0003_settings.up.sql": &bintree{_0003_settingsUpSql, map[string]*bintree{}}, + "0004_pending_stickers.down.sql": &bintree{_0004_pending_stickersDownSql, map[string]*bintree{}}, + "0004_pending_stickers.up.sql": &bintree{_0004_pending_stickersUpSql, map[string]*bintree{}}, + "0005_waku_mode.down.sql": &bintree{_0005_waku_modeDownSql, map[string]*bintree{}}, + "0005_waku_mode.up.sql": &bintree{_0005_waku_modeUpSql, map[string]*bintree{}}, + "0006_appearance.up.sql": &bintree{_0006_appearanceUpSql, map[string]*bintree{}}, + "0007_enable_waku_default.up.sql": &bintree{_0007_enable_waku_defaultUpSql, map[string]*bintree{}}, + "0008_add_push_notifications.up.sql": &bintree{_0008_add_push_notificationsUpSql, map[string]*bintree{}}, + "0009_enable_sending_push_notifications.down.sql": &bintree{_0009_enable_sending_push_notificationsDownSql, map[string]*bintree{}}, + "0009_enable_sending_push_notifications.up.sql": &bintree{_0009_enable_sending_push_notificationsUpSql, map[string]*bintree{}}, + "0010_add_block_mentions.down.sql": &bintree{_0010_add_block_mentionsDownSql, map[string]*bintree{}}, + "0010_add_block_mentions.up.sql": &bintree{_0010_add_block_mentionsUpSql, map[string]*bintree{}}, + "0011_allow_webview_permission_requests.down.sql": &bintree{_0011_allow_webview_permission_requestsDownSql, map[string]*bintree{}}, + "0011_allow_webview_permission_requests.up.sql": &bintree{_0011_allow_webview_permission_requestsUpSql, map[string]*bintree{}}, + "0012_pending_transactions.down.sql": &bintree{_0012_pending_transactionsDownSql, map[string]*bintree{}}, + "0012_pending_transactions.up.sql": &bintree{_0012_pending_transactionsUpSql, map[string]*bintree{}}, + "0013_favourites.down.sql": &bintree{_0013_favouritesDownSql, map[string]*bintree{}}, + "0013_favourites.up.sql": &bintree{_0013_favouritesUpSql, map[string]*bintree{}}, + "0014_add_use_mailservers.down.sql": &bintree{_0014_add_use_mailserversDownSql, map[string]*bintree{}}, + "0014_add_use_mailservers.up.sql": &bintree{_0014_add_use_mailserversUpSql, map[string]*bintree{}}, + "0015_link_previews.down.sql": &bintree{_0015_link_previewsDownSql, map[string]*bintree{}}, + "0015_link_previews.up.sql": &bintree{_0015_link_previewsUpSql, map[string]*bintree{}}, + "0016_local_notifications_preferences.down.sql": &bintree{_0016_local_notifications_preferencesDownSql, map[string]*bintree{}}, + "0016_local_notifications_preferences.up.sql": &bintree{_0016_local_notifications_preferencesUpSql, map[string]*bintree{}}, + "0017_bookmarks.down.sql": &bintree{_0017_bookmarksDownSql, map[string]*bintree{}}, + "0017_bookmarks.up.sql": &bintree{_0017_bookmarksUpSql, map[string]*bintree{}}, + "0018_profile_pictures_visibility.up.sql": &bintree{_0018_profile_pictures_visibilityUpSql, map[string]*bintree{}}, + "0019_blocks_ranges_extra_data.up.sql": &bintree{_0019_blocks_ranges_extra_dataUpSql, map[string]*bintree{}}, + "0020_metrics.up.sql": &bintree{_0020_metricsUpSql, map[string]*bintree{}}, + "0021_add_session_id_to_metrics.up.sql": &bintree{_0021_add_session_id_to_metricsUpSql, map[string]*bintree{}}, + "0022_pending_transfers.up.sql": &bintree{_0022_pending_transfersUpSql, map[string]*bintree{}}, + "1618237885_settings_anon_metrics_should_send.up.sql": &bintree{_1618237885_settings_anon_metrics_should_sendUpSql, map[string]*bintree{}}, + "1618395756_contacts_only.up.sql": &bintree{_1618395756_contacts_onlyUpSql, map[string]*bintree{}}, + "1622184614_add_default_sync_period.up.sql": &bintree{_1622184614_add_default_sync_periodUpSql, map[string]*bintree{}}, + "1625872445_user_status.up.sql": &bintree{_1625872445_user_statusUpSql, map[string]*bintree{}}, + "1627983977_add_gif_to_settings.up.sql": &bintree{_1627983977_add_gif_to_settingsUpSql, map[string]*bintree{}}, + "1628580203_add_hidden_account.up.sql": &bintree{_1628580203_add_hidden_accountUpSql, map[string]*bintree{}}, + "1629123384_add_id_to_app_metrics.up.sql": &bintree{_1629123384_add_id_to_app_metricsUpSql, map[string]*bintree{}}, + "1630401853_add_opensea_enabled_to_settings.up.sql": &bintree{_1630401853_add_opensea_enabled_to_settingsUpSql, map[string]*bintree{}}, + "1630464455_create-saved_addresses-table.down.sql": &bintree{_1630464455_createSaved_addressesTableDownSql, map[string]*bintree{}}, + "1630464455_create-saved_addresses-table.up.sql": &bintree{_1630464455_createSaved_addressesTableUpSql, map[string]*bintree{}}, + "1630485153_networks.down.sql": &bintree{_1630485153_networksDownSql, map[string]*bintree{}}, + "1630485153_networks.up.sql": &bintree{_1630485153_networksUpSql, map[string]*bintree{}}, + "1632262444_profile_pictures_show_to.up.sql": &bintree{_1632262444_profile_pictures_show_toUpSql, map[string]*bintree{}}, + "1635942153_add_telemetry_server_url_to_settings.up.sql": &bintree{_1635942153_add_telemetry_server_url_to_settingsUpSql, map[string]*bintree{}}, + "1635942154_add_backup_setting.up.sql": &bintree{_1635942154_add_backup_settingUpSql, map[string]*bintree{}}, + "1637745568_add_auto_message_setting.up.sql": &bintree{_1637745568_add_auto_message_settingUpSql, map[string]*bintree{}}, + "1640111208_nodeconfig.up.sql": &bintree{_1640111208_nodeconfigUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -1464,7 +1513,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/mailserver/migrations/bindata.go b/mailserver/migrations/bindata.go index 442909145..90c4c1fbd 100644 --- a/mailserver/migrations/bindata.go +++ b/mailserver/migrations/bindata.go @@ -12,6 +12,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -21,7 +22,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -29,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -85,7 +86,7 @@ func _1557732988_initialize_dbDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1557732988_initialize_db.down.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1557732988_initialize_db.down.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0x40, 0x78, 0xb7, 0x71, 0x3c, 0x20, 0x3b, 0xc9, 0xb, 0x2f, 0x49, 0xe4, 0xff, 0x1c, 0x84, 0x54, 0xa1, 0x30, 0xe3, 0x90, 0xf8, 0x73, 0xda, 0xb0, 0x2a, 0xea, 0x8e, 0xf1, 0x82, 0xe7, 0xd2}} return a, nil } @@ -105,7 +106,7 @@ func _1557732988_initialize_dbUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1557732988_initialize_db.up.sql", size: 278, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1557732988_initialize_db.up.sql", size: 278, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x85, 0x41, 0x7a, 0xba, 0x4f, 0xa3, 0x43, 0xc0, 0x63, 0xfa, 0x2c, 0xd1, 0xc5, 0xbb, 0x20, 0xa0, 0x64, 0xa8, 0x3b, 0x65, 0x82, 0xa2, 0x14, 0x28, 0x18, 0x7c, 0x8b, 0x3a, 0x7a, 0xfd, 0xe0}} return a, nil } @@ -125,7 +126,7 @@ func staticGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static.go", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "static.go", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xab, 0x8a, 0xf4, 0x27, 0x24, 0x9d, 0x2a, 0x1, 0x7b, 0x54, 0xea, 0xae, 0x4a, 0x35, 0x40, 0x92, 0xb5, 0xf9, 0xb3, 0x54, 0x3e, 0x3a, 0x1a, 0x2b, 0xae, 0xfb, 0x9e, 0x82, 0xeb, 0x4c, 0xf, 0x6}} return a, nil } @@ -222,24 +223,21 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "1557732988_initialize_db.down.sql": _1557732988_initialize_dbDownSql, - "1557732988_initialize_db.up.sql": _1557732988_initialize_dbUpSql, - "static.go": staticGo, -} -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "1557732988_initialize_db.up.sql": _1557732988_initialize_dbUpSql, + + "static.go": staticGo, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -272,9 +270,9 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1557732988_initialize_db.down.sql": {_1557732988_initialize_dbDownSql, map[string]*bintree{}}, - "1557732988_initialize_db.up.sql": {_1557732988_initialize_dbUpSql, map[string]*bintree{}}, - "static.go": {staticGo, map[string]*bintree{}}, + "1557732988_initialize_db.down.sql": &bintree{_1557732988_initialize_dbDownSql, map[string]*bintree{}}, + "1557732988_initialize_db.up.sql": &bintree{_1557732988_initialize_dbUpSql, map[string]*bintree{}}, + "static.go": &bintree{staticGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -291,7 +289,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/multiaccounts/migrations/bindata.go b/multiaccounts/migrations/bindata.go index 396b35f1c..f6ec161e8 100644 --- a/multiaccounts/migrations/bindata.go +++ b/multiaccounts/migrations/bindata.go @@ -22,6 +22,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -31,7 +32,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -39,7 +40,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -95,7 +96,7 @@ func _0001_accountsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_accounts.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0001_accounts.down.sql", size: 21, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0x61, 0x4c, 0x18, 0xfc, 0xc, 0xdf, 0x5c, 0x1f, 0x5e, 0xd3, 0xbd, 0xfa, 0x12, 0x5e, 0x8d, 0x8d, 0x8b, 0xb9, 0x5f, 0x99, 0x46, 0x63, 0xa5, 0xe3, 0xa6, 0x8a, 0x4, 0xf1, 0x73, 0x8a, 0xe9}} return a, nil } @@ -115,7 +116,7 @@ func _0001_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "0001_accounts.up.sql", size: 163, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "0001_accounts.up.sql", size: 163, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0xfa, 0x99, 0x8e, 0x96, 0xb3, 0x13, 0x6c, 0x1f, 0x6, 0x27, 0xc5, 0xd2, 0xd4, 0xe0, 0xa5, 0x26, 0x82, 0xa7, 0x26, 0xf2, 0x68, 0x9d, 0xed, 0x9c, 0x3d, 0xbb, 0xdc, 0x37, 0x28, 0xbc, 0x1}} return a, nil } @@ -135,7 +136,7 @@ func _1605007189_identity_imagesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1605007189_identity_images.down.sql", size: 29, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1605007189_identity_images.down.sql", size: 29, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2f, 0xcf, 0xa7, 0xae, 0xd5, 0x4f, 0xcd, 0x14, 0x63, 0x9, 0xbe, 0x39, 0x49, 0x18, 0x96, 0xb2, 0xa3, 0x8, 0x7d, 0x41, 0xdb, 0x50, 0x5d, 0xf5, 0x4d, 0xa2, 0xd, 0x8f, 0x57, 0x79, 0x77, 0x67}} return a, nil } @@ -155,7 +156,7 @@ func _1605007189_identity_imagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1605007189_identity_images.up.sql", size: 268, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1605007189_identity_images.up.sql", size: 268, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x50, 0xb6, 0xc1, 0x5c, 0x76, 0x72, 0x6b, 0x22, 0x34, 0xdc, 0x96, 0xdc, 0x2b, 0xfd, 0x2d, 0xbe, 0xcc, 0x1e, 0xd4, 0x5, 0x93, 0xd, 0xc2, 0x51, 0xf3, 0x1a, 0xef, 0x2b, 0x26, 0xa4, 0xeb, 0x65}} return a, nil } @@ -175,7 +176,7 @@ func _1606224181_drop_photo_path_from_accountsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.down.sql", size: 892, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.down.sql", size: 892, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0x24, 0x17, 0x7, 0x80, 0x93, 0x6f, 0x8d, 0x5d, 0xaa, 0x8c, 0x79, 0x15, 0x5d, 0xb3, 0x19, 0xd7, 0xd8, 0x39, 0xf9, 0x3a, 0x63, 0x8f, 0x81, 0x15, 0xb6, 0xd6, 0x9a, 0x37, 0xa8, 0x8e, 0x9b}} return a, nil } @@ -195,7 +196,7 @@ func _1606224181_drop_photo_path_from_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.up.sql", size: 866, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1606224181_drop_photo_path_from_accounts.up.sql", size: 866, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xff, 0x4c, 0x97, 0xee, 0xef, 0x82, 0xb8, 0x6c, 0x71, 0xbb, 0x50, 0x7b, 0xe6, 0xd9, 0x22, 0x31, 0x7c, 0x1a, 0xfe, 0x91, 0x28, 0xf6, 0x6, 0x36, 0xe, 0xb1, 0xf1, 0xc8, 0x25, 0xac, 0x7e, 0xd6}} return a, nil } @@ -215,7 +216,7 @@ func _1648646095_image_clockDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648646095_image_clock.down.sql", size: 939, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1648646095_image_clock.down.sql", size: 939, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4d, 0xa8, 0x1f, 0xf, 0xe0, 0xd7, 0xc9, 0x68, 0x98, 0xd8, 0x37, 0xb8, 0xba, 0x9e, 0xb2, 0x19, 0xf3, 0xc4, 0x73, 0x80, 0x3, 0x17, 0x2a, 0x53, 0x68, 0x10, 0x13, 0x54, 0x99, 0xb1, 0xf5, 0x1c}} return a, nil } @@ -235,7 +236,7 @@ func _1648646095_image_clockUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648646095_image_clock.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1648646095_image_clock.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x98, 0xa6, 0xa4, 0x4e, 0x4e, 0xca, 0x17, 0x56, 0xea, 0xfb, 0xf0, 0xa9, 0x81, 0x95, 0xe, 0x80, 0x52, 0x1, 0x47, 0x9b, 0xde, 0x14, 0xfa, 0x72, 0xc9, 0x62, 0x6f, 0x24, 0xa2, 0xc, 0x32, 0x50}} return a, nil } @@ -255,7 +256,7 @@ func _1649317600_add_color_hashUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649317600_add_color_hash.up.sql", size: 201, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1649317600_add_color_hash.up.sql", size: 201, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0xf, 0x37, 0x6d, 0xcf, 0x99, 0xc9, 0x2e, 0xdc, 0x70, 0x11, 0xb4, 0x36, 0x26, 0x4f, 0x39, 0xa8, 0x44, 0xf, 0xcb, 0xcc, 0x81, 0x74, 0x7a, 0x88, 0xaa, 0x54, 0x8c, 0xc4, 0xe, 0x56, 0x4f}} return a, nil } @@ -275,7 +276,7 @@ func _1660238799_accounts_kdfUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660238799_accounts_kdf.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660238799_accounts_kdf.up.sql", size: 115, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdf, 0xe6, 0x7a, 0x69, 0x25, 0x42, 0x3b, 0x9c, 0x20, 0xf5, 0xcb, 0xae, 0xb0, 0xb3, 0x1b, 0x66, 0xc2, 0x5d, 0xd0, 0xc1, 0x59, 0xe8, 0xa9, 0xc5, 0x69, 0x58, 0x8f, 0xae, 0xe6, 0xd1, 0x4c, 0x53}} return a, nil } @@ -295,7 +296,7 @@ func _1679505708_add_customization_colorUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1679505708_add_customization_color.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1679505708_add_customization_color.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0xe1, 0x3d, 0xaa, 0x5d, 0x35, 0x87, 0x8a, 0x8b, 0xe9, 0x4a, 0xa6, 0x7b, 0x85, 0xbc, 0x33, 0x11, 0xc7, 0x7d, 0x61, 0xac, 0x65, 0x59, 0xda, 0x32, 0x59, 0x68, 0x9d, 0xa1, 0x10, 0x7b, 0xa9}} return a, nil } @@ -315,7 +316,7 @@ func _1687853321_add_customization_color_updated_atUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687853321_add_customization_color_updated_at.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1687853321_add_customization_color_updated_at.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xc2, 0x9, 0xec, 0xf4, 0xd1, 0x46, 0x29, 0xc5, 0xce, 0x4d, 0xd4, 0xf, 0x9c, 0xfa, 0x62, 0x1, 0x29, 0xe6, 0xd2, 0xd5, 0xe, 0xf0, 0x27, 0x81, 0x4a, 0x82, 0x25, 0x5f, 0x67, 0xff, 0xd1}} return a, nil } @@ -335,7 +336,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}} return a, nil } @@ -431,35 +432,42 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "0001_accounts.down.sql": _0001_accountsDownSql, - "0001_accounts.up.sql": _0001_accountsUpSql, - "1605007189_identity_images.down.sql": _1605007189_identity_imagesDownSql, - "1605007189_identity_images.up.sql": _1605007189_identity_imagesUpSql, - "1606224181_drop_photo_path_from_accounts.down.sql": _1606224181_drop_photo_path_from_accountsDownSql, - "1606224181_drop_photo_path_from_accounts.up.sql": _1606224181_drop_photo_path_from_accountsUpSql, - "1648646095_image_clock.down.sql": _1648646095_image_clockDownSql, - "1648646095_image_clock.up.sql": _1648646095_image_clockUpSql, - "1649317600_add_color_hash.up.sql": _1649317600_add_color_hashUpSql, - "1660238799_accounts_kdf.up.sql": _1660238799_accounts_kdfUpSql, - "1679505708_add_customization_color.up.sql": _1679505708_add_customization_colorUpSql, + "0001_accounts.down.sql": _0001_accountsDownSql, + + "0001_accounts.up.sql": _0001_accountsUpSql, + + "1605007189_identity_images.down.sql": _1605007189_identity_imagesDownSql, + + "1605007189_identity_images.up.sql": _1605007189_identity_imagesUpSql, + + "1606224181_drop_photo_path_from_accounts.down.sql": _1606224181_drop_photo_path_from_accountsDownSql, + + "1606224181_drop_photo_path_from_accounts.up.sql": _1606224181_drop_photo_path_from_accountsUpSql, + + "1648646095_image_clock.down.sql": _1648646095_image_clockDownSql, + + "1648646095_image_clock.up.sql": _1648646095_image_clockUpSql, + + "1649317600_add_color_hash.up.sql": _1649317600_add_color_hashUpSql, + + "1660238799_accounts_kdf.up.sql": _1660238799_accounts_kdfUpSql, + + "1679505708_add_customization_color.up.sql": _1679505708_add_customization_colorUpSql, + "1687853321_add_customization_color_updated_at.up.sql": _1687853321_add_customization_color_updated_atUpSql, + "doc.go": docGo, } -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false - // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -492,19 +500,19 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "0001_accounts.down.sql": {_0001_accountsDownSql, map[string]*bintree{}}, - "0001_accounts.up.sql": {_0001_accountsUpSql, map[string]*bintree{}}, - "1605007189_identity_images.down.sql": {_1605007189_identity_imagesDownSql, map[string]*bintree{}}, - "1605007189_identity_images.up.sql": {_1605007189_identity_imagesUpSql, map[string]*bintree{}}, - "1606224181_drop_photo_path_from_accounts.down.sql": {_1606224181_drop_photo_path_from_accountsDownSql, map[string]*bintree{}}, - "1606224181_drop_photo_path_from_accounts.up.sql": {_1606224181_drop_photo_path_from_accountsUpSql, map[string]*bintree{}}, - "1648646095_image_clock.down.sql": {_1648646095_image_clockDownSql, map[string]*bintree{}}, - "1648646095_image_clock.up.sql": {_1648646095_image_clockUpSql, map[string]*bintree{}}, - "1649317600_add_color_hash.up.sql": {_1649317600_add_color_hashUpSql, map[string]*bintree{}}, - "1660238799_accounts_kdf.up.sql": {_1660238799_accounts_kdfUpSql, map[string]*bintree{}}, - "1679505708_add_customization_color.up.sql": {_1679505708_add_customization_colorUpSql, map[string]*bintree{}}, - "1687853321_add_customization_color_updated_at.up.sql": {_1687853321_add_customization_color_updated_atUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "0001_accounts.down.sql": &bintree{_0001_accountsDownSql, map[string]*bintree{}}, + "0001_accounts.up.sql": &bintree{_0001_accountsUpSql, map[string]*bintree{}}, + "1605007189_identity_images.down.sql": &bintree{_1605007189_identity_imagesDownSql, map[string]*bintree{}}, + "1605007189_identity_images.up.sql": &bintree{_1605007189_identity_imagesUpSql, map[string]*bintree{}}, + "1606224181_drop_photo_path_from_accounts.down.sql": &bintree{_1606224181_drop_photo_path_from_accountsDownSql, map[string]*bintree{}}, + "1606224181_drop_photo_path_from_accounts.up.sql": &bintree{_1606224181_drop_photo_path_from_accountsUpSql, map[string]*bintree{}}, + "1648646095_image_clock.down.sql": &bintree{_1648646095_image_clockDownSql, map[string]*bintree{}}, + "1648646095_image_clock.up.sql": &bintree{_1648646095_image_clockUpSql, map[string]*bintree{}}, + "1649317600_add_color_hash.up.sql": &bintree{_1649317600_add_color_hashUpSql, map[string]*bintree{}}, + "1660238799_accounts_kdf.up.sql": &bintree{_1660238799_accounts_kdfUpSql, map[string]*bintree{}}, + "1679505708_add_customization_color.up.sql": &bintree{_1679505708_add_customization_colorUpSql, map[string]*bintree{}}, + "1687853321_add_customization_color_updated_at.up.sql": &bintree{_1687853321_add_customization_color_updated_atUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -521,7 +529,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/protocol/activity_center.go b/protocol/activity_center.go index d7005b1f3..cc98858ef 100644 --- a/protocol/activity_center.go +++ b/protocol/activity_center.go @@ -40,6 +40,7 @@ const ( ActivityCenterMembershipStatusDeclined ActivityCenterMembershipStatusAcceptedPending ActivityCenterMembershipStatusDeclinedPending + ActivityCenterMembershipOwnershipChanged ) type ActivityCenterQueryParamsRead uint diff --git a/protocol/anonmetrics/migrations/migrations.go b/protocol/anonmetrics/migrations/migrations.go index a294106b7..838e41c2d 100644 --- a/protocol/anonmetrics/migrations/migrations.go +++ b/protocol/anonmetrics/migrations/migrations.go @@ -12,6 +12,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -21,7 +22,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -29,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -85,7 +86,7 @@ func _1619446565_postgres_make_anon_metrics_tableDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x75, 0xea, 0x1, 0x74, 0xe6, 0xa3, 0x11, 0xd0, 0x86, 0x87, 0x7e, 0x31, 0xb4, 0x1a, 0x27, 0x5d, 0xda, 0x77, 0xa3, 0xf5, 0x1d, 0x88, 0x79, 0xcf, 0xd5, 0x95, 0x75, 0xd, 0x47, 0xa1, 0x90, 0x5}} return a, nil } @@ -105,7 +106,7 @@ func _1619446565_postgres_make_anon_metrics_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.up.sql", size: 443, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1619446565_postgres_make_anon_metrics_table.up.sql", size: 443, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0xdc, 0x72, 0x28, 0x3c, 0xf6, 0x94, 0xb0, 0x47, 0x3d, 0xca, 0x55, 0x3d, 0xf7, 0x83, 0xb8, 0x7d, 0x2f, 0x1e, 0x98, 0xb7, 0xde, 0xa, 0xff, 0xa0, 0x52, 0x60, 0x83, 0x56, 0xc5, 0xd1, 0xa2}} return a, nil } @@ -125,7 +126,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 380, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 380, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0x1, 0xd4, 0xd6, 0xc7, 0x44, 0xd4, 0xfd, 0x7b, 0x69, 0x1f, 0xe3, 0xe, 0x48, 0x14, 0x99, 0xf0, 0x8e, 0x43, 0xae, 0x54, 0x64, 0xa2, 0x8b, 0x82, 0x1c, 0x2b, 0xb, 0xec, 0xf5, 0xb3, 0xfc}} return a, nil } @@ -222,24 +223,21 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "1619446565_postgres_make_anon_metrics_table.down.sql": _1619446565_postgres_make_anon_metrics_tableDownSql, - "1619446565_postgres_make_anon_metrics_table.up.sql": _1619446565_postgres_make_anon_metrics_tableUpSql, + + "1619446565_postgres_make_anon_metrics_table.up.sql": _1619446565_postgres_make_anon_metrics_tableUpSql, + "doc.go": docGo, } -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false - // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -272,9 +270,9 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1619446565_postgres_make_anon_metrics_table.down.sql": {_1619446565_postgres_make_anon_metrics_tableDownSql, map[string]*bintree{}}, - "1619446565_postgres_make_anon_metrics_table.up.sql": {_1619446565_postgres_make_anon_metrics_tableUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1619446565_postgres_make_anon_metrics_table.down.sql": &bintree{_1619446565_postgres_make_anon_metrics_tableDownSql, map[string]*bintree{}}, + "1619446565_postgres_make_anon_metrics_table.up.sql": &bintree{_1619446565_postgres_make_anon_metrics_tableUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -291,7 +289,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/protocol/communities/community.go b/protocol/communities/community.go index 34c693ef5..c3b491e05 100644 --- a/protocol/communities/community.go +++ b/protocol/communities/community.go @@ -760,6 +760,37 @@ func (o *Community) RemoveUserFromOrg(pk *ecdsa.PublicKey) (*protobuf.CommunityD return o.config.CommunityDescription, nil } +func (o *Community) RemoveAllUsersFromOrg() *CommunityChanges { + o.increaseClock() + + myPublicKey := common.PubkeyToHex(o.config.MemberIdentity) + member := o.config.CommunityDescription.Members[myPublicKey] + + membersToRemove := o.config.CommunityDescription.Members + delete(membersToRemove, myPublicKey) + + changes := o.emptyCommunityChanges() + changes.MembersRemoved = membersToRemove + + o.config.CommunityDescription.Members = make(map[string]*protobuf.CommunityMember) + o.config.CommunityDescription.Members[myPublicKey] = member + + for chatID, chat := range o.config.CommunityDescription.Chats { + chatMembersToRemove := chat.Members + delete(chatMembersToRemove, myPublicKey) + + chat.Members = make(map[string]*protobuf.CommunityMember) + chat.Members[myPublicKey] = member + + changes.ChatsModified[chatID] = &CommunityChatChanges{ + ChatModified: chat, + MembersRemoved: chatMembersToRemove, + } + } + + return changes +} + func (o *Community) AddCommunityTokensMetadata(token *protobuf.CommunityTokenMetadata) (*protobuf.CommunityDescription, error) { o.mutex.Lock() defer o.mutex.Unlock() @@ -965,7 +996,7 @@ func (o *Community) MemberIdentity() *ecdsa.PublicKey { } // UpdateCommunityDescription will update the community to the new community description and return a list of changes -func (o *Community) UpdateCommunityDescription(description *protobuf.CommunityDescription, rawMessage []byte) (*CommunityChanges, error) { +func (o *Community) UpdateCommunityDescription(description *protobuf.CommunityDescription, rawMessage []byte, newControlNode *ecdsa.PublicKey) (*CommunityChanges, error) { o.mutex.Lock() defer o.mutex.Unlock() @@ -988,6 +1019,10 @@ func (o *Community) UpdateCommunityDescription(description *protobuf.CommunityDe o.config.CommunityDescription = description o.config.CommunityDescriptionProtocolMessage = rawMessage + if newControlNode != nil { + o.setControlNode(newControlNode) + } + // We only calculate changes if we joined/spectated the community or we requested access, otherwise not interested if o.config.Joined || o.config.Spectated || o.config.RequestedToJoinAt > 0 { response = EvaluateCommunityChanges(originCommunity, o) diff --git a/protocol/communities/community_test.go b/protocol/communities/community_test.go index 57bfcd99b..dc575e70e 100644 --- a/protocol/communities/community_test.go +++ b/protocol/communities/community_test.go @@ -633,7 +633,7 @@ func (s *CommunitySuite) TestHandleCommunityDescription() { org := s.buildCommunity(signer) org.Join() expectedChanges := tc.changes(org) - actualChanges, err := org.UpdateCommunityDescription(tc.description(org), []byte{0x01}) + actualChanges, err := org.UpdateCommunityDescription(tc.description(org), []byte{0x01}, nil) s.Require().Equal(tc.err, err) s.Require().Equal(expectedChanges, actualChanges) }) diff --git a/protocol/communities/manager.go b/protocol/communities/manager.go index c40ae53cb..9e44f8b0e 100644 --- a/protocol/communities/manager.go +++ b/protocol/communities/manager.go @@ -465,15 +465,20 @@ func (m *Manager) runOwnerVerificationLoop() { response, err := m.HandleCommunityDescriptionMessage(signer, description, communityToValidate.payload, ownerPK) if err != nil { m.logger.Error("failed to handle community", zap.Error(err)) + err = m.persistence.DeleteCommunityToValidate(communityToValidate.id, communityToValidate.clock) + if err != nil { + m.logger.Error("failed to delete community to validate", zap.Error(err)) + } continue } + if response != nil { m.logger.Info("community validated", zap.String("id", types.EncodeHex(communityToValidate.id)), zap.String("signer", common.PubkeyToHex(signer))) m.publish(&Subscription{TokenCommunityValidated: response}) err := m.persistence.DeleteCommunitiesToValidateByCommunityID(communityToValidate.id) if err != nil { - m.logger.Error("failed to delete community to validate", zap.Error(err)) + m.logger.Error("failed to delete communities to validate", zap.Error(err)) } break } @@ -1518,6 +1523,27 @@ func (m *Manager) DeleteCategory(request *requests.DeleteCommunityCategory) (*Co return changes.Community, changes, nil } +func (m *Manager) GenerateRequestsToJoinForAutoApprovalOnNewOwnership(communityID types.HexBytes, kickedMembers map[string]*protobuf.CommunityMember) error { + var requestsToJoin []*RequestToJoin + clock := uint64(time.Now().Unix()) + for pubKeyStr := range kickedMembers { + requestToJoin := &RequestToJoin{ + PublicKey: pubKeyStr, + Clock: clock, + CommunityID: communityID, + State: RequestToJoinStateAwaitingAddresses, + Our: true, + RevealedAccounts: make([]*protobuf.RevealedAccount, 0), + } + + requestToJoin.CalculateID() + + requestsToJoin = append(requestsToJoin, requestToJoin) + } + + return m.persistence.SaveRequestsToJoin(requestsToJoin) +} + func (m *Manager) Queue(signer *ecdsa.PublicKey, community *Community, clock uint64, payload []byte) error { m.logger.Info("queuing community", zap.String("id", community.IDString()), zap.String("signer", common.PubkeyToHex(signer))) @@ -1611,20 +1637,22 @@ func (m *Manager) HandleCommunityDescriptionMessage(signer *ecdsa.PublicKey, des community.config.PrivateKey = nil } - community.setControlNode(verifiedOwner) - } - if !common.IsPubKeyEqual(community.ControlNode(), signer) { + // new control node will be set in the 'UpdateCommunityDescription' + if !common.IsPubKeyEqual(verifiedOwner, signer) { + return nil, ErrNotAuthorized + } + } else if !common.IsPubKeyEqual(community.ControlNode(), signer) { return nil, ErrNotAuthorized } } else if !common.IsPubKeyEqual(community.PublicKey(), signer) { return nil, ErrNotAuthorized } - return m.handleCommunityDescriptionMessageCommon(community, description, payload) + return m.handleCommunityDescriptionMessageCommon(community, description, payload, verifiedOwner) } -func (m *Manager) handleCommunityDescriptionMessageCommon(community *Community, description *protobuf.CommunityDescription, payload []byte) (*CommunityResponse, error) { - changes, err := community.UpdateCommunityDescription(description, payload) +func (m *Manager) handleCommunityDescriptionMessageCommon(community *Community, description *protobuf.CommunityDescription, payload []byte, newControlNode *ecdsa.PublicKey) (*CommunityResponse, error) { + changes, err := community.UpdateCommunityDescription(description, payload, newControlNode) if err != nil { return nil, err } @@ -2458,6 +2486,11 @@ func (m *Manager) HandleCommunityRequestToJoin(signer *ecdsa.PublicKey, receiver } else if existingRequestToJoin.State == RequestToJoinStateAcceptedPending { requestToJoin.State = RequestToJoinStateAccepted return community, requestToJoin, nil + + } else if existingRequestToJoin.State == RequestToJoinStateAwaitingAddresses { + // community ownership changed, accept request automatically + requestToJoin.State = RequestToJoinStateAccepted + return community, requestToJoin, nil } } @@ -2806,7 +2839,7 @@ func (m *Manager) HandleCommunityRequestToJoinResponse(signer *ecdsa.PublicKey, return nil, ErrNotAuthorized } - _, err = community.UpdateCommunityDescription(request.Community, appMetadataMsg) + _, err = community.UpdateCommunityDescription(request.Community, appMetadataMsg, nil) if err != nil { return nil, err } @@ -3260,7 +3293,11 @@ func (m *Manager) PendingRequestsToJoin() ([]*RequestToJoin, error) { } func (m *Manager) PendingRequestsToJoinForUser(pk *ecdsa.PublicKey) ([]*RequestToJoin, error) { - return m.persistence.PendingRequestsToJoinForUser(common.PubkeyToHex(pk)) + return m.persistence.RequestsToJoinForUserByState(common.PubkeyToHex(pk), RequestToJoinStatePending) +} + +func (m *Manager) AwaitingAddressesRequestsToJoinForUser(pk *ecdsa.PublicKey) ([]*RequestToJoin, error) { + return m.persistence.RequestsToJoinForUserByState(common.PubkeyToHex(pk), RequestToJoinStateAwaitingAddresses) } func (m *Manager) PendingRequestsToJoinForCommunity(id types.HexBytes) ([]*RequestToJoin, error) { @@ -3305,6 +3342,11 @@ func (m *Manager) GetPubsubTopic(communityID string) (string, error) { return transport.GetPubsubTopic(community.Shard().TransportShard()), nil } +func (m *Manager) RequestsToJoinForCommunityAwaitingAddresses(id types.HexBytes) ([]*RequestToJoin, error) { + m.logger.Info("fetching ownership changed invitations", zap.String("community-id", id.String())) + return m.persistence.RequestsToJoinForCommunityAwaitingAddresses(id) +} + func (m *Manager) CanPost(pk *ecdsa.PublicKey, communityID string, chatID string, grant []byte) (bool, error) { community, err := m.GetByIDString(communityID) if err != nil { @@ -4478,7 +4520,7 @@ func (m *Manager) AddCommunityToken(token *community_token.CommunityToken, clock } if token.PrivilegesLevel == community_token.OwnerLevel { - err = m.promoteSelfToControlNode(community, clock) + _, err = m.promoteSelfToControlNode(community, clock) if err != nil { return nil, err } @@ -4804,7 +4846,7 @@ func (m *Manager) createCommunityTokenPermission(request *requests.CreateCommuni } -func (m *Manager) PromoteSelfToControlNode(communityID types.HexBytes, clock uint64) (*Community, error) { +func (m *Manager) PromoteSelfToControlNode(communityID types.HexBytes, clock uint64) (*CommunityChanges, error) { community, err := m.GetByID(communityID) if err != nil { return nil, err @@ -4814,17 +4856,23 @@ func (m *Manager) PromoteSelfToControlNode(communityID types.HexBytes, clock uin return nil, ErrOrgNotFound } - err = m.promoteSelfToControlNode(community, clock) + ownerChanged, err := m.promoteSelfToControlNode(community, clock) if err != nil { return nil, err } - return community, m.saveAndPublish(community) + if ownerChanged { + return community.RemoveAllUsersFromOrg(), m.saveAndPublish(community) + } + + return community.emptyCommunityChanges(), m.saveAndPublish(community) } -func (m *Manager) promoteSelfToControlNode(community *Community, clock uint64) error { +func (m *Manager) promoteSelfToControlNode(community *Community, clock uint64) (bool, error) { + ownerChanged := false community.setPrivateKey(m.identity) if !community.ControlNode().Equal(&m.identity.PublicKey) { + ownerChanged = true community.setControlNode(&m.identity.PublicKey) } @@ -4833,15 +4881,21 @@ func (m *Manager) promoteSelfToControlNode(community *Community, clock uint64) e Clock: clock, InstallationId: m.installationID, } + err := m.SaveSyncControlNode(community.ID(), syncControlNode) if err != nil { - return err + return false, err } community.config.ControlDevice = true + _, err = community.AddRoleToMember(&m.identity.PublicKey, protobuf.CommunityMember_ROLE_OWNER) + if err != nil { + return false, err + } + community.increaseClock() - return nil + return ownerChanged, nil } func (m *Manager) shareRequestsToJoinWithNewPrivilegedMembers(community *Community, newPrivilegedMembers map[protobuf.CommunityMember_Roles][]*ecdsa.PublicKey) error { @@ -5000,3 +5054,14 @@ func (m *Manager) SetSyncControlNode(id types.HexBytes, syncControlNode *protobu return nil } + +func (m *Manager) GetCommunityRequestToJoinWithRevealedAddresses(pubKey string, communityID types.HexBytes) (*RequestToJoin, error) { + return m.persistence.GetCommunityRequestToJoinWithRevealedAddresses(pubKey, communityID) +} + +func (m *Manager) SafeGetSignerPubKey(chainID uint64, communityID string) (string, error) { + ctx, cancel := context.WithTimeout(context.Background(), time.Second*3) + defer cancel() + + return m.ownerVerifier.SafeGetSignerPubKey(ctx, chainID, communityID) +} diff --git a/protocol/communities/persistence.go b/protocol/communities/persistence.go index a657c1c74..100a9b30c 100644 --- a/protocol/communities/persistence.go +++ b/protocol/communities/persistence.go @@ -468,7 +468,7 @@ func (p *Persistence) SaveRequestToJoinRevealedAddresses(requestID types.HexByte _ = tx.Rollback() }() - query := `INSERT OR REPLACE INTO communities_requests_to_join_revealed_addresses (request_id, address, chain_ids, is_airdrop_address) VALUES (?, ?, ?, ?)` + query := `INSERT OR REPLACE INTO communities_requests_to_join_revealed_addresses (request_id, address, chain_ids, is_airdrop_address, signature) VALUES (?, ?, ?, ?, ?)` stmt, err := tx.Prepare(query) if err != nil { return @@ -486,6 +486,7 @@ func (p *Persistence) SaveRequestToJoinRevealedAddresses(requestID types.HexByte account.Address, strings.Join(chainIDs, ","), account.IsAirdropAddress, + account.Signature, ) if err != nil { return @@ -660,7 +661,7 @@ func (p *Persistence) RemoveRequestToJoinRevealedAddresses(requestID []byte) err func (p *Persistence) GetRequestToJoinRevealedAddresses(requestID []byte) ([]*protobuf.RevealedAccount, error) { revealedAccounts := make([]*protobuf.RevealedAccount, 0) - rows, err := p.db.Query(`SELECT address, chain_ids, is_airdrop_address FROM communities_requests_to_join_revealed_addresses WHERE request_id = ?`, requestID) + rows, err := p.db.Query(`SELECT address, chain_ids, is_airdrop_address, signature FROM communities_requests_to_join_revealed_addresses WHERE request_id = ?`, requestID) if err != nil { return nil, err } @@ -670,12 +671,13 @@ func (p *Persistence) GetRequestToJoinRevealedAddresses(requestID []byte) ([]*pr var address sql.NullString var chainIDsStr sql.NullString var isAirdropAddress sql.NullBool - err := rows.Scan(&address, &chainIDsStr, &isAirdropAddress) + var signature sql.RawBytes + err := rows.Scan(&address, &chainIDsStr, &isAirdropAddress, &signature) if err != nil { return nil, err } - revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress) + revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress, signature) if err != nil { return nil, err } @@ -738,9 +740,9 @@ func (p *Persistence) CanceledRequestsToJoinForUser(pk string) ([]*RequestToJoin return requests, nil } -func (p *Persistence) PendingRequestsToJoinForUser(pk string) ([]*RequestToJoin, error) { +func (p *Persistence) RequestsToJoinForUserByState(pk string, state RequestToJoinState) ([]*RequestToJoin, error) { var requests []*RequestToJoin - rows, err := p.db.Query(`SELECT id,public_key,clock,ens_name,chat_id,community_id,state FROM communities_requests_to_join WHERE state = ? AND public_key = ?`, RequestToJoinStatePending, pk) + rows, err := p.db.Query(`SELECT id,public_key,clock,ens_name,chat_id,community_id,state FROM communities_requests_to_join WHERE state = ? AND public_key = ?`, state, pk) if err != nil { return nil, err } @@ -828,6 +830,10 @@ func (p *Persistence) DeclinedPendingRequestsToJoinForCommunity(id []byte) ([]*R return p.RequestsToJoinForCommunityWithState(id, RequestToJoinStateDeclinedPending) } +func (p *Persistence) RequestsToJoinForCommunityAwaitingAddresses(id []byte) ([]*RequestToJoin, error) { + return p.RequestsToJoinForCommunityWithState(id, RequestToJoinStateAwaitingAddresses) +} + func (p *Persistence) SetRequestToJoinState(pk string, communityID []byte, state RequestToJoinState) error { _, err := p.db.Exec(`UPDATE communities_requests_to_join SET state = ? WHERE community_id = ? AND public_key = ?`, state, communityID, pk) return err @@ -1394,10 +1400,11 @@ func decodeEventsData(eventsBytes []byte, eventsDescriptionBytes []byte) (*Event func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityID []byte) ([]*RequestToJoin, error) { requests := []*RequestToJoin{} rows, err := p.db.Query(` - SELECT r.id, r.public_key, r.clock, r.ens_name, r.chat_id, r.state, r.community_id, a.address, a.chain_ids, a.is_airdrop_address + SELECT r.id, r.public_key, r.clock, r.ens_name, r.chat_id, r.state, r.community_id, + a.address, a.chain_ids, a.is_airdrop_address, a.signature FROM communities_requests_to_join r LEFT JOIN communities_requests_to_join_revealed_addresses a ON r.id = a.request_id - WHERE community_id = ?`, communityID) + WHERE r.community_id = ? AND r.state != ?`, communityID, RequestToJoinStateAwaitingAddresses) if err != nil { return nil, err @@ -1411,14 +1418,15 @@ func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityI var address sql.NullString var chainIDsStr sql.NullString var isAirdropAddress sql.NullBool + var signature sql.RawBytes err = rows.Scan(&request.ID, &request.PublicKey, &request.Clock, &request.ENSName, &request.ChatID, &request.State, &request.CommunityID, - &address, &chainIDsStr, &isAirdropAddress) + &address, &chainIDsStr, &isAirdropAddress, &signature) if err != nil { return nil, err } - revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress) + revealedAccount, err := toRevealedAccount(address, chainIDsStr, isAirdropAddress, signature) if err != nil { return nil, err } @@ -1441,7 +1449,7 @@ func (p *Persistence) GetCommunityRequestsToJoinWithRevealedAddresses(communityI return requests, nil } -func toRevealedAccount(rawAddress sql.NullString, rawChainIDsStr sql.NullString, isAirdropAddress sql.NullBool) (*protobuf.RevealedAccount, error) { +func toRevealedAccount(rawAddress sql.NullString, rawChainIDsStr sql.NullString, isAirdropAddress sql.NullBool, rawSignature sql.RawBytes) (*protobuf.RevealedAccount, error) { if !rawAddress.Valid { return nil, nil } @@ -1471,6 +1479,7 @@ func toRevealedAccount(rawAddress sql.NullString, rawChainIDsStr sql.NullString, Address: address, ChainIds: chainIDs, IsAirdropAddress: false, + Signature: rawSignature, } if isAirdropAddress.Valid { revealedAccount.IsAirdropAddress = isAirdropAddress.Bool @@ -1528,6 +1537,11 @@ func (p *Persistence) DeleteCommunitiesToValidateByCommunityID(communityID []byt return err } +func (p *Persistence) DeleteCommunityToValidate(communityID []byte, clock uint64) error { + _, err := p.db.Exec(`DELETE FROM communities_validate_signer WHERE id = ? AND clock = ?`, communityID, clock) + return err +} + func (p *Persistence) GetSyncControlNode(communityID types.HexBytes) (*protobuf.SyncCommunityControlNode, error) { result := &protobuf.SyncCommunityControlNode{} @@ -1560,3 +1574,61 @@ func (p *Persistence) SaveSyncControlNode(communityID types.HexBytes, clock uint ) return err } + +func (p *Persistence) GetCommunityRequestToJoinWithRevealedAddresses(pubKey string, communityID []byte) (*RequestToJoin, error) { + requestToJoin, err := p.GetRequestToJoinByPkAndCommunityID(pubKey, communityID) + if err != nil { + return nil, err + } + + revealedAccounts, err := p.GetRequestToJoinRevealedAddresses(requestToJoin.ID) + if err != nil { + return nil, err + } + + requestToJoin.RevealedAccounts = revealedAccounts + + return requestToJoin, nil +} + +func (p *Persistence) SaveRequestsToJoin(requests []*RequestToJoin) (err error) { + tx, err := p.db.BeginTx(context.Background(), &sql.TxOptions{}) + if err != nil { + return err + } + + defer func() { + if err != nil { + // Rollback the transaction on error + _ = tx.Rollback() + } + }() + + stmt, err := tx.Prepare(`INSERT OR REPLACE INTO communities_requests_to_join(id,public_key,clock,ens_name,chat_id,community_id,state) + VALUES (?, ?, ?, ?, ?, ?, ?)`) + if err != nil { + return err + } + defer stmt.Close() + + for _, request := range requests { + var clock uint64 + // Fetch any existing request to join + err = tx.QueryRow(`SELECT clock FROM communities_requests_to_join WHERE public_key = ? AND community_id = ?`, request.PublicKey, request.CommunityID).Scan(&clock) + if err != nil && err != sql.ErrNoRows { + return err + } + + if clock >= request.Clock { + return ErrOldRequestToJoin + } + + _, err = stmt.Exec(request.ID, request.PublicKey, request.Clock, request.ENSName, request.ChatID, request.CommunityID, request.State) + if err != nil { + return err + } + } + + err = tx.Commit() + return err +} diff --git a/protocol/communities/persistence_test.go b/protocol/communities/persistence_test.go index 6ef38f4bd..5515c5d23 100644 --- a/protocol/communities/persistence_test.go +++ b/protocol/communities/persistence_test.go @@ -563,7 +563,8 @@ func (s *PersistenceSuite) TestGetCommunityRequestsToJoinWithRevealedAddresses() s.Require().Equal(revealedAddresses[index], account.Address) } - // RTJ with 1 revealed Address, ChainIds and IsAirdropAddress + // RTJ with 1 revealed Address, ChainIds, IsAirdropAddress and Signature + signature := []byte("test") expectedRtj2 := &RequestToJoin{ ID: types.HexBytes{8, 7, 6, 5, 4, 3, 2, 1}, PublicKey: common.PubkeyToHex(&identity.PublicKey), @@ -575,6 +576,7 @@ func (s *PersistenceSuite) TestGetCommunityRequestsToJoinWithRevealedAddresses() Address: revealedAddresses[2], ChainIds: chainIds, IsAirdropAddress: true, + Signature: signature, }, }, } @@ -592,6 +594,7 @@ func (s *PersistenceSuite) TestGetCommunityRequestsToJoinWithRevealedAddresses() s.Require().Equal(revealedAddresses[2], rtjResult[1].RevealedAccounts[0].Address) s.Require().Equal(chainIds, rtjResult[1].RevealedAccounts[0].ChainIds) s.Require().Equal(true, rtjResult[1].RevealedAccounts[0].IsAirdropAddress) + s.Require().Equal(rtjResult[1].RevealedAccounts[0].Signature, signature) // RTJ without RevealedAccounts expectedRtjWithoutRevealedAccounts := &RequestToJoin{ diff --git a/protocol/communities/request_to_join.go b/protocol/communities/request_to_join.go index afd9fc34a..b9226c8df 100644 --- a/protocol/communities/request_to_join.go +++ b/protocol/communities/request_to_join.go @@ -18,6 +18,7 @@ const ( RequestToJoinStateCanceled RequestToJoinStateAcceptedPending RequestToJoinStateDeclinedPending + RequestToJoinStateAwaitingAddresses ) type RequestToJoin struct { diff --git a/protocol/communities_messenger_helpers_test.go b/protocol/communities_messenger_helpers_test.go index 133895368..447b87936 100644 --- a/protocol/communities_messenger_helpers_test.go +++ b/protocol/communities_messenger_helpers_test.go @@ -353,6 +353,14 @@ func newCommunitiesTestMessenger(shh types.Waku, privateKey *ecdsa.PrivateKey, l } func createCommunity(s *suite.Suite, owner *Messenger) (*communities.Community, *Chat) { + return createCommunityConfigurable(s, owner, protobuf.CommunityPermissions_AUTO_ACCEPT) +} + +func createOnRequestCommunity(s *suite.Suite, owner *Messenger) (*communities.Community, *Chat) { + return createCommunityConfigurable(s, owner, protobuf.CommunityPermissions_MANUAL_ACCEPT) +} + +func createCommunityConfigurable(s *suite.Suite, owner *Messenger, permission protobuf.CommunityPermissions_Access) (*communities.Community, *Chat) { description := &requests.CreateCommunity{ Membership: protobuf.CommunityPermissions_AUTO_ACCEPT, Name: "status", diff --git a/protocol/communities_messenger_signers_test.go b/protocol/communities_messenger_signers_test.go index ffb15c532..46d8ee1ae 100644 --- a/protocol/communities_messenger_signers_test.go +++ b/protocol/communities_messenger_signers_test.go @@ -98,9 +98,15 @@ func (s *MessengerCommunitiesSignersSuite) joinCommunity(controlNode *Messenger, joinCommunity(&s.Suite, community, controlNode, user, request) } +func (s *MessengerCommunitiesSignersSuite) joinOnRequestCommunity(controlNode *Messenger, community *communities.Community, user *Messenger) { + request := &requests.RequestToJoinCommunity{CommunityID: community.ID()} + joinOnRequestCommunity(&s.Suite, community, controlNode, user, request) +} + // John crates a community // Ownership is transferred to Alice -// Both John and Bob accepts the changes +// Alice kick all members Bob and John rejoins +// Bob and John accepts the changes func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() { // Create a community @@ -144,7 +150,7 @@ func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() { _, err = WaitOnSignaledMessengerResponse( s.bob, func(r *MessengerResponse) bool { - return len(r.Communities()) > 0 && len(r.Communities()[0].CommunityTokensMetadata()) == 1 + return len(r.Communities()) > 0 && len(r.Communities()[0].TokenPermissions()) == 1 }, "no communities", ) @@ -154,53 +160,294 @@ func (s *MessengerCommunitiesSignersSuite) TestControlNodeUpdateSigner() { _, err = WaitOnSignaledMessengerResponse( s.alice, func(r *MessengerResponse) bool { - return len(r.Communities()) > 0 && len(r.Communities()[0].CommunityTokensMetadata()) == 1 + return len(r.Communities()) > 0 && len(r.Communities()[0].TokenPermissions()) == 1 }, "no communities", ) s.Require().NoError(err) - // Alice will be transferred the ownership token, and alice will let others know - // update mock - the signer for the community returned by the contracts should be alice + // Ownership token will be transferred to Alice and she will kick all members + // and request kicked members to rejoin + // the signer for the community returned by the contracts should be alice s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.alice.identity.PublicKey)) - s.collectiblesServiceMock.SetMockCollectibleContractData(chainID, tokenAddress, - &communitytokens.CollectibleContractData{TotalSupply: &bigint.BigInt{}}) - community, err = s.alice.PromoteSelfToControlNode(community.ID()) + response, err := s.alice.PromoteSelfToControlNode(community.ID()) + s.Require().NoError(err) + s.Require().NotNil(response) + + community, err = s.alice.communitiesManager.GetByID(community.ID()) s.Require().NoError(err) s.Require().True(community.IsControlNode()) + s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey)) + s.Require().True(community.IsOwner()) - // john accepts community update from alice (new control node) - _, err = WaitOnSignaledMessengerResponse( - s.john, - func(r *MessengerResponse) bool { - return len(r.Communities()) > 0 && r.Communities()[0].IDString() == community.IDString() - }, - "no communities", - ) - s.Require().NoError(err) - - // We check the control node is correctly set on john to alice - johnCommunity, err := s.john.communitiesManager.GetByIDString(community.IDString()) - s.Require().NoError(err) - s.Require().NotNil(johnCommunity) - s.Require().True(common.IsPubKeyEqual(johnCommunity.ControlNode(), &s.alice.identity.PublicKey)) - s.Require().False(johnCommunity.IsControlNode()) - - // bob accepts community update from alice (new control node) + // check that Bob received kick event, also he will receive + // request to share RevealedAddresses and send request to join to the control node _, err = WaitOnSignaledMessengerResponse( s.bob, func(r *MessengerResponse) bool { - return len(r.Communities()) > 0 && r.Communities()[0].IDString() == community.IDString() + return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.bob.identity.PublicKey) }, - "no communities", + "Bob was not kicked from the community", ) s.Require().NoError(err) - // We check the control node is correctly set on bob to alice - bobCommunity, err := s.bob.communitiesManager.GetByIDString(community.IDString()) + // check that John received kick event, also he will receive + // request to share RevealedAddresses and send request to join to the control node + _, err = WaitOnSignaledMessengerResponse( + s.john, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.john.identity.PublicKey) + }, + "John was not kicked from the community", + ) s.Require().NoError(err) - s.Require().NotNil(bobCommunity) - s.Require().True(common.IsPubKeyEqual(bobCommunity.ControlNode(), &s.alice.identity.PublicKey)) - s.Require().False(bobCommunity.IsControlNode()) + + // Alice auto-accept requests to join with RevealedAddresses + // TODO: please, check TODO's in this test and uncomment them if Members() == 3 + _, err = WaitOnMessengerResponse( + s.alice, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && len(r.Communities()[0].Members()) == 2 + }, + "no community update with accepted request", + ) + s.Require().NoError(err) + + validateResults := func(messenger *Messenger) *communities.Community { + community, err = messenger.communitiesManager.GetByID(community.ID()) + s.Require().NoError(err) + s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey)) + s.Require().Len(community.Members(), 2) + s.Require().True(community.HasMember(&messenger.identity.PublicKey)) + + return community + } + + community = validateResults(s.alice) + s.Require().True(community.IsControlNode()) + s.Require().True(community.IsOwner()) + + // Bob is a community member again + _, err = WaitOnMessengerResponse( + s.bob, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey) + }, + "Bob was auto-accepted", + ) + s.Require().NoError(err) + + community = validateResults(s.bob) + s.Require().False(community.IsControlNode()) + s.Require().False(community.IsOwner()) + + // TODO: uncomment when ex-owner will start sharing request to join with revealed address + // // Jonh is a community member again + // _, err = WaitOnMessengerResponse( + // s.bob, + // func(r *MessengerResponse) bool { + // return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey) + // }, + // "John was auto-accepted", + // ) + // s.Require().NoError(err) + + // community = validateResults(s.john) + // s.Require().False(community.IsControlNode()) + // s.Require().False(community.IsOwner()) + + // Alice change community name + + expectedName := "Alice owns community" + + response, err = s.alice.EditCommunity(&requests.EditCommunity{ + CommunityID: community.ID(), + CreateCommunity: requests.CreateCommunity{ + Membership: protobuf.CommunityPermissions_AUTO_ACCEPT, + Name: expectedName, + Color: "#000000", + Description: "edited community description", + }, + }) + + s.Require().NoError(err) + s.Require().NotNil(response) + + validateNameInResponse := func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && r.Communities()[0].IDString() == community.IDString() && + r.Communities()[0].Name() == expectedName + } + + s.Require().True(validateNameInResponse(response)) + + validateNameInDB := func(messenger *Messenger) { + community, err = messenger.communitiesManager.GetByID(community.ID()) + s.Require().NoError(err) + s.Require().Equal(expectedName, response.Communities()[0].Name()) + } + + validateNameInDB(s.alice) + + // TODO: uncomment when ex-owner will start sharing request to join with revealed address + // john accepts community update from alice (new control node) + // _, err = WaitOnMessengerResponse( + // s.john, + // validateNameInResponse, + // "john did not receive community name update", + // ) + // s.Require().NoError(err) + // validateNameInDB(s.john) + + // bob accepts community update from alice (new control node) + _, err = WaitOnMessengerResponse( + s.bob, + validateNameInResponse, + "bob did not receive community name update", + ) + s.Require().NoError(err) + validateNameInDB(s.bob) +} + +func (s *MessengerCommunitiesSignersSuite) TestAutoAcceptOnOwnershipChangeRequestRequired() { + community, _ := createOnRequestCommunity(&s.Suite, s.john) + + s.advertiseCommunityTo(s.john, community, s.bob) + s.advertiseCommunityTo(s.john, community, s.alice) + + s.joinOnRequestCommunity(s.john, community, s.bob) + s.joinOnRequestCommunity(s.john, community, s.alice) + + // john mints owner token + var chainID uint64 = 1 + tokenAddress := "token-address" + tokenName := "tokenName" + tokenSymbol := "TSM" + _, err := s.john.SaveCommunityToken(&token.CommunityToken{ + TokenType: protobuf.CommunityTokenType_ERC721, + CommunityID: community.IDString(), + Address: tokenAddress, + ChainID: int(chainID), + Name: tokenName, + Supply: &bigint.BigInt{}, + Symbol: tokenSymbol, + PrivilegesLevel: token.OwnerLevel, + }, nil) + s.Require().NoError(err) + + err = s.john.AddCommunityToken(community.IDString(), int(chainID), tokenAddress) + s.Require().NoError(err) + + // set john as contract owner + s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.john.identity.PublicKey)) + s.collectiblesServiceMock.SetMockCollectibleContractData(chainID, tokenAddress, + &communitytokens.CollectibleContractData{TotalSupply: &bigint.BigInt{}}) + + hasTokenPermission := func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && r.Communities()[0].HasTokenPermissions() + } + + // bob received owner permissions + _, err = WaitOnSignaledMessengerResponse( + s.bob, + hasTokenPermission, + "no communities with token permission for Bob", + ) + s.Require().NoError(err) + + // alice received owner permissions + _, err = WaitOnSignaledMessengerResponse( + s.alice, + hasTokenPermission, + "no communities with token permission for Alice", + ) + s.Require().NoError(err) + + // simulate Alice received owner token + s.collectiblesServiceMock.SetSignerPubkeyForCommunity(community.ID(), common.PubkeyToHex(&s.alice.identity.PublicKey)) + + // after receiving owner token - set up control node, set up owner role, kick all members + // and request kicked members to rejoin + response, err := s.alice.PromoteSelfToControlNode(community.ID()) + s.Require().NoError(err) + s.Require().NotNil(response) + community, err = s.alice.communitiesManager.GetByID(community.ID()) + s.Require().NoError(err) + s.Require().True(community.IsControlNode()) + s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey)) + s.Require().True(community.IsOwner()) + + // check that client received kick event + // Bob will receive request to share RevealedAddresses and send request to join to the control node + _, err = WaitOnSignaledMessengerResponse( + s.bob, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.bob.identity.PublicKey) + }, + "Bob was not kicked from the community", + ) + s.Require().NoError(err) + + // check that client received kick event + // John will receive request to share RevealedAddresses and send request to join to the control node + _, err = WaitOnSignaledMessengerResponse( + s.john, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && !r.Communities()[0].HasMember(&s.john.identity.PublicKey) + }, + "John was not kicked from the community", + ) + s.Require().NoError(err) + + // Alice auto-accept requests to join with RevealedAddresses + // TODO: please, check TODO's in this test and uncomment them if Members() == 3 + _, err = WaitOnMessengerResponse( + s.alice, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && len(r.Communities()[0].Members()) == 2 + }, + "no community update with accepted request", + ) + s.Require().NoError(err) + + validateResults := func(messenger *Messenger) *communities.Community { + community, err = messenger.communitiesManager.GetByID(community.ID()) + s.Require().NoError(err) + s.Require().True(common.IsPubKeyEqual(community.ControlNode(), &s.alice.identity.PublicKey)) + s.Require().Len(community.Members(), 2) + s.Require().True(community.HasMember(&messenger.identity.PublicKey)) + + return community + } + + community = validateResults(s.alice) + s.Require().True(community.IsControlNode()) + s.Require().True(community.IsOwner()) + + _, err = WaitOnMessengerResponse( + s.bob, + func(r *MessengerResponse) bool { + return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey) + }, + "Bob was auto-accepted", + ) + s.Require().NoError(err) + + community = validateResults(s.bob) + s.Require().False(community.IsControlNode()) + s.Require().False(community.IsOwner()) + + // TODO: uncomment when ex-owner will start sharing request to join with revealed address + // _, err = WaitOnMessengerResponse( + // s.john, + // func(r *MessengerResponse) bool { + // return len(r.Communities()) > 0 && r.Communities()[0].HasMember(&s.bob.identity.PublicKey) + // }, + // "John was auto-accepted", + // ) + // s.Require().NoError(err) + + // community = validateResults(s.john) + // s.Require().False(community.IsControlNode()) + // s.Require().False(community.IsOwner()) } diff --git a/protocol/encryption/migrations/migrations.go b/protocol/encryption/migrations/migrations.go index 103ed43db..f8b6f78e3 100644 --- a/protocol/encryption/migrations/migrations.go +++ b/protocol/encryption/migrations/migrations.go @@ -29,6 +29,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -38,7 +39,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -46,7 +47,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -102,7 +103,7 @@ func _1536754952_initial_schemaDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1536754952_initial_schema.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1536754952_initial_schema.down.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x44, 0xcf, 0x76, 0x71, 0x1f, 0x5e, 0x9a, 0x43, 0xd8, 0xcd, 0xb8, 0xc3, 0x70, 0xc3, 0x7f, 0xfc, 0x90, 0xb4, 0x25, 0x1e, 0xf4, 0x66, 0x20, 0xb8, 0x33, 0x7e, 0xb0, 0x76, 0x1f, 0xc, 0xc0, 0x75}} return a, nil } @@ -122,7 +123,7 @@ func _1536754952_initial_schemaUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1536754952_initial_schema.up.sql", size: 962, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1536754952_initial_schema.up.sql", size: 962, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x90, 0x5a, 0x59, 0x3e, 0x3, 0xe2, 0x3c, 0x81, 0x42, 0xcd, 0x4c, 0x9a, 0xe8, 0xda, 0x93, 0x2b, 0x70, 0xa4, 0xd5, 0x29, 0x3e, 0xd5, 0xc9, 0x27, 0xb6, 0xb7, 0x65, 0xff, 0x0, 0xcb, 0xde}} return a, nil } @@ -142,7 +143,7 @@ func _1539249977_update_ratchet_infoDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1539249977_update_ratchet_info.down.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1539249977_update_ratchet_info.down.sql", size: 311, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0xa4, 0xeb, 0xa0, 0xe6, 0xa0, 0xd4, 0x48, 0xbb, 0xad, 0x6f, 0x7d, 0x67, 0x8c, 0xbd, 0x25, 0xde, 0x1f, 0x73, 0x9a, 0xbb, 0xa8, 0xc9, 0x30, 0xb7, 0xa9, 0x7c, 0xaf, 0xb5, 0x1, 0x61, 0xdd}} return a, nil } @@ -162,7 +163,7 @@ func _1539249977_update_ratchet_infoUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1539249977_update_ratchet_info.up.sql", size: 368, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1539249977_update_ratchet_info.up.sql", size: 368, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x8e, 0xbf, 0x6f, 0xa, 0xc0, 0xe1, 0x3c, 0x42, 0x28, 0x88, 0x1d, 0xdb, 0xba, 0x1c, 0x83, 0xec, 0xba, 0xd3, 0x5f, 0x5c, 0x77, 0x5e, 0xa7, 0x46, 0x36, 0xec, 0x69, 0xa, 0x4b, 0x17, 0x79}} return a, nil } @@ -182,7 +183,7 @@ func _1540715431_add_versionDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1540715431_add_version.down.sql", size: 127, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1540715431_add_version.down.sql", size: 127, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x9, 0x4, 0xe3, 0x76, 0x2e, 0xb8, 0x9, 0x23, 0xf0, 0x70, 0x93, 0xc4, 0x50, 0xe, 0x9d, 0x84, 0x22, 0x8c, 0x94, 0xd3, 0x24, 0x9, 0x9a, 0xc1, 0xa1, 0x48, 0x45, 0xfd, 0x40, 0x6e, 0xe6}} return a, nil } @@ -202,7 +203,7 @@ func _1540715431_add_versionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1540715431_add_version.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1540715431_add_version.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc7, 0x4c, 0x36, 0x96, 0xdf, 0x16, 0x10, 0xa6, 0x27, 0x1a, 0x79, 0x8b, 0x42, 0x83, 0x23, 0xc, 0x7e, 0xb6, 0x3d, 0x2, 0xda, 0xa4, 0xb4, 0xd, 0x27, 0x55, 0xba, 0xdc, 0xb2, 0x88, 0x8f, 0xa6}} return a, nil } @@ -222,7 +223,7 @@ func _1541164797_add_installationsDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1541164797_add_installations.down.sql", size: 26, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1541164797_add_installations.down.sql", size: 26, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xfd, 0xe6, 0xd8, 0xca, 0x3b, 0x38, 0x18, 0xee, 0x0, 0x5f, 0x36, 0x9e, 0x1e, 0xd, 0x19, 0x3e, 0xb4, 0x73, 0x53, 0xe9, 0xa5, 0xac, 0xdd, 0xa1, 0x2f, 0xc7, 0x6c, 0xa8, 0xd9, 0xa, 0x88}} return a, nil } @@ -242,7 +243,7 @@ func _1541164797_add_installationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1541164797_add_installations.up.sql", size: 216, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1541164797_add_installations.up.sql", size: 216, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2d, 0x18, 0x26, 0xb8, 0x88, 0x47, 0xdb, 0x83, 0xcc, 0xb6, 0x9d, 0x1c, 0x1, 0xae, 0x2f, 0xde, 0x97, 0x82, 0x3, 0x30, 0xa8, 0x63, 0xa1, 0x78, 0x4b, 0xa5, 0x9, 0x8, 0x75, 0xa2, 0x57, 0x81}} return a, nil } @@ -262,7 +263,7 @@ func _1558084410_add_secretDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558084410_add_secret.down.sql", size: 56, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1558084410_add_secret.down.sql", size: 56, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0xb, 0x65, 0xdf, 0x59, 0xbf, 0xe9, 0x5, 0x5b, 0x6f, 0xd5, 0x3a, 0xb7, 0x57, 0xe8, 0x78, 0x38, 0x73, 0x53, 0x57, 0xf7, 0x24, 0x4, 0xe4, 0xa2, 0x49, 0x22, 0xa2, 0xc6, 0xfd, 0x80, 0xa4}} return a, nil } @@ -282,7 +283,7 @@ func _1558084410_add_secretUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558084410_add_secret.up.sql", size: 301, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1558084410_add_secret.up.sql", size: 301, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x32, 0x36, 0x8e, 0x47, 0xb0, 0x8f, 0xc1, 0xc6, 0xf7, 0xc6, 0x9f, 0x2d, 0x44, 0x75, 0x2b, 0x26, 0xec, 0x6, 0xa0, 0x7b, 0xa5, 0xbd, 0xc8, 0x76, 0x8a, 0x82, 0x68, 0x2, 0x42, 0xb5, 0xf4}} return a, nil } @@ -302,7 +303,7 @@ func _1558588866_add_versionDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558588866_add_version.down.sql", size: 47, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1558588866_add_version.down.sql", size: 47, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x52, 0x34, 0x3c, 0x46, 0x4a, 0xf0, 0x72, 0x47, 0x6f, 0x49, 0x5c, 0xc7, 0xf9, 0x32, 0xce, 0xc4, 0x3d, 0xfd, 0x61, 0xa1, 0x8b, 0x8f, 0xf2, 0x31, 0x34, 0xde, 0x15, 0x49, 0xa6, 0xde, 0xb9}} return a, nil } @@ -322,7 +323,7 @@ func _1558588866_add_versionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1558588866_add_version.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1558588866_add_version.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2a, 0xea, 0x64, 0x39, 0x61, 0x20, 0x83, 0x83, 0xb, 0x2e, 0x79, 0x64, 0xb, 0x53, 0xfa, 0xfe, 0xc6, 0xf7, 0x67, 0x42, 0xd3, 0x4f, 0xdc, 0x7e, 0x30, 0x32, 0xe8, 0x14, 0x41, 0xe9, 0xe7, 0x3b}} return a, nil } @@ -342,7 +343,7 @@ func _1559627659_add_contact_codeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1559627659_add_contact_code.down.sql", size: 32, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1559627659_add_contact_code.down.sql", size: 32, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5d, 0x64, 0x6d, 0xce, 0x24, 0x42, 0x20, 0x8d, 0x4f, 0x37, 0xaa, 0x9d, 0xc, 0x57, 0x98, 0xc1, 0xd1, 0x1a, 0x34, 0xcd, 0x9f, 0x8f, 0x34, 0x86, 0xb3, 0xd3, 0xdc, 0xf1, 0x7d, 0xe5, 0x1b, 0x6e}} return a, nil } @@ -362,7 +363,7 @@ func _1559627659_add_contact_codeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1559627659_add_contact_code.up.sql", size: 198, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1559627659_add_contact_code.up.sql", size: 198, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x16, 0xf6, 0xc2, 0x62, 0x9c, 0xd2, 0xc9, 0x1e, 0xd8, 0xea, 0xaa, 0xea, 0x95, 0x8f, 0x89, 0x6a, 0x85, 0x5d, 0x9d, 0x99, 0x78, 0x3c, 0x90, 0x66, 0x99, 0x3e, 0x4b, 0x19, 0x62, 0xfb, 0x31, 0x4d}} return a, nil } @@ -382,7 +383,7 @@ func _1561368210_add_installation_metadataDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561368210_add_installation_metadata.down.sql", size: 35, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1561368210_add_installation_metadata.down.sql", size: 35, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa8, 0xde, 0x3f, 0xd2, 0x4a, 0x50, 0x98, 0x56, 0xe3, 0xc0, 0xcd, 0x9d, 0xb0, 0x34, 0x3b, 0xe5, 0x62, 0x18, 0xb5, 0x20, 0xc9, 0x3e, 0xdc, 0x6a, 0x40, 0x36, 0x66, 0xea, 0x51, 0x8c, 0x71, 0xf5}} return a, nil } @@ -402,7 +403,7 @@ func _1561368210_add_installation_metadataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561368210_add_installation_metadata.up.sql", size: 267, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1561368210_add_installation_metadata.up.sql", size: 267, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb4, 0x71, 0x8f, 0x29, 0xb1, 0xaa, 0xd6, 0xd1, 0x8c, 0x17, 0xef, 0x6c, 0xd5, 0x80, 0xb8, 0x2c, 0xc3, 0xfe, 0xec, 0x24, 0x4d, 0xc8, 0x25, 0xd3, 0xb4, 0xcd, 0xa9, 0xac, 0x63, 0x61, 0xb2, 0x9c}} return a, nil } @@ -422,7 +423,7 @@ func _1632236298_add_communitiesDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632236298_add_communities.down.sql", size: 151, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1632236298_add_communities.down.sql", size: 151, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0xe5, 0x47, 0xd1, 0xe5, 0xec, 0x5b, 0x3e, 0xdc, 0x22, 0xf4, 0x27, 0xee, 0x70, 0xf3, 0x9, 0x4f, 0xd2, 0x9f, 0x92, 0xf, 0x5a, 0x18, 0x11, 0xb7, 0x40, 0xab, 0xf1, 0x98, 0x72, 0xd6, 0x60}} return a, nil } @@ -442,7 +443,7 @@ func _1632236298_add_communitiesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632236298_add_communities.up.sql", size: 584, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1632236298_add_communities.up.sql", size: 584, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xe0, 0x1, 0x6e, 0x84, 0xc, 0x35, 0xe4, 0x5a, 0xf, 0xbe, 0xcb, 0xf7, 0xd2, 0xa8, 0x25, 0xf5, 0xdb, 0x7, 0xcb, 0xa3, 0xe6, 0xf4, 0xc4, 0x1b, 0xa5, 0xec, 0x32, 0x1e, 0x1e, 0x48, 0x60}} return a, nil } @@ -462,7 +463,7 @@ func _1636536507_add_index_bundlesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1636536507_add_index_bundles.up.sql", size: 347, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1636536507_add_index_bundles.up.sql", size: 347, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf1, 0xb9, 0x3c, 0x16, 0xfc, 0xfb, 0xb2, 0xb4, 0x3b, 0xfe, 0xdc, 0xf5, 0x9c, 0x42, 0xa0, 0xa0, 0xd4, 0xd, 0x5b, 0x97, 0x10, 0x80, 0x95, 0xe, 0x13, 0xc1, 0x18, 0x8, 0xee, 0xf, 0x99, 0xee}} return a, nil } @@ -482,7 +483,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xef, 0xaf, 0xdf, 0xcf, 0x65, 0xae, 0x19, 0xfc, 0x9d, 0x29, 0xc1, 0x91, 0xaf, 0xb5, 0xd5, 0xb1, 0x56, 0xf3, 0xee, 0xa8, 0xba, 0x13, 0x65, 0xdb, 0xab, 0xcf, 0x4e, 0xac, 0x92, 0xe9, 0x60, 0xf1}} return a, nil } @@ -578,42 +579,56 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1536754952_initial_schema.down.sql": _1536754952_initial_schemaDownSql, - "1536754952_initial_schema.up.sql": _1536754952_initial_schemaUpSql, - "1539249977_update_ratchet_info.down.sql": _1539249977_update_ratchet_infoDownSql, - "1539249977_update_ratchet_info.up.sql": _1539249977_update_ratchet_infoUpSql, - "1540715431_add_version.down.sql": _1540715431_add_versionDownSql, - "1540715431_add_version.up.sql": _1540715431_add_versionUpSql, - "1541164797_add_installations.down.sql": _1541164797_add_installationsDownSql, - "1541164797_add_installations.up.sql": _1541164797_add_installationsUpSql, - "1558084410_add_secret.down.sql": _1558084410_add_secretDownSql, - "1558084410_add_secret.up.sql": _1558084410_add_secretUpSql, - "1558588866_add_version.down.sql": _1558588866_add_versionDownSql, - "1558588866_add_version.up.sql": _1558588866_add_versionUpSql, - "1559627659_add_contact_code.down.sql": _1559627659_add_contact_codeDownSql, - "1559627659_add_contact_code.up.sql": _1559627659_add_contact_codeUpSql, - "1561368210_add_installation_metadata.down.sql": _1561368210_add_installation_metadataDownSql, - "1561368210_add_installation_metadata.up.sql": _1561368210_add_installation_metadataUpSql, - "1632236298_add_communities.down.sql": _1632236298_add_communitiesDownSql, - "1632236298_add_communities.up.sql": _1632236298_add_communitiesUpSql, - "1636536507_add_index_bundles.up.sql": _1636536507_add_index_bundlesUpSql, - "doc.go": docGo, -} + "1536754952_initial_schema.down.sql": _1536754952_initial_schemaDownSql, -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "1536754952_initial_schema.up.sql": _1536754952_initial_schemaUpSql, + + "1539249977_update_ratchet_info.down.sql": _1539249977_update_ratchet_infoDownSql, + + "1539249977_update_ratchet_info.up.sql": _1539249977_update_ratchet_infoUpSql, + + "1540715431_add_version.down.sql": _1540715431_add_versionDownSql, + + "1540715431_add_version.up.sql": _1540715431_add_versionUpSql, + + "1541164797_add_installations.down.sql": _1541164797_add_installationsDownSql, + + "1541164797_add_installations.up.sql": _1541164797_add_installationsUpSql, + + "1558084410_add_secret.down.sql": _1558084410_add_secretDownSql, + + "1558084410_add_secret.up.sql": _1558084410_add_secretUpSql, + + "1558588866_add_version.down.sql": _1558588866_add_versionDownSql, + + "1558588866_add_version.up.sql": _1558588866_add_versionUpSql, + + "1559627659_add_contact_code.down.sql": _1559627659_add_contact_codeDownSql, + + "1559627659_add_contact_code.up.sql": _1559627659_add_contact_codeUpSql, + + "1561368210_add_installation_metadata.down.sql": _1561368210_add_installation_metadataDownSql, + + "1561368210_add_installation_metadata.up.sql": _1561368210_add_installation_metadataUpSql, + + "1632236298_add_communities.down.sql": _1632236298_add_communitiesDownSql, + + "1632236298_add_communities.up.sql": _1632236298_add_communitiesUpSql, + + "1636536507_add_index_bundles.up.sql": _1636536507_add_index_bundlesUpSql, + + "doc.go": docGo, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -646,26 +661,26 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1536754952_initial_schema.down.sql": {_1536754952_initial_schemaDownSql, map[string]*bintree{}}, - "1536754952_initial_schema.up.sql": {_1536754952_initial_schemaUpSql, map[string]*bintree{}}, - "1539249977_update_ratchet_info.down.sql": {_1539249977_update_ratchet_infoDownSql, map[string]*bintree{}}, - "1539249977_update_ratchet_info.up.sql": {_1539249977_update_ratchet_infoUpSql, map[string]*bintree{}}, - "1540715431_add_version.down.sql": {_1540715431_add_versionDownSql, map[string]*bintree{}}, - "1540715431_add_version.up.sql": {_1540715431_add_versionUpSql, map[string]*bintree{}}, - "1541164797_add_installations.down.sql": {_1541164797_add_installationsDownSql, map[string]*bintree{}}, - "1541164797_add_installations.up.sql": {_1541164797_add_installationsUpSql, map[string]*bintree{}}, - "1558084410_add_secret.down.sql": {_1558084410_add_secretDownSql, map[string]*bintree{}}, - "1558084410_add_secret.up.sql": {_1558084410_add_secretUpSql, map[string]*bintree{}}, - "1558588866_add_version.down.sql": {_1558588866_add_versionDownSql, map[string]*bintree{}}, - "1558588866_add_version.up.sql": {_1558588866_add_versionUpSql, map[string]*bintree{}}, - "1559627659_add_contact_code.down.sql": {_1559627659_add_contact_codeDownSql, map[string]*bintree{}}, - "1559627659_add_contact_code.up.sql": {_1559627659_add_contact_codeUpSql, map[string]*bintree{}}, - "1561368210_add_installation_metadata.down.sql": {_1561368210_add_installation_metadataDownSql, map[string]*bintree{}}, - "1561368210_add_installation_metadata.up.sql": {_1561368210_add_installation_metadataUpSql, map[string]*bintree{}}, - "1632236298_add_communities.down.sql": {_1632236298_add_communitiesDownSql, map[string]*bintree{}}, - "1632236298_add_communities.up.sql": {_1632236298_add_communitiesUpSql, map[string]*bintree{}}, - "1636536507_add_index_bundles.up.sql": {_1636536507_add_index_bundlesUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1536754952_initial_schema.down.sql": &bintree{_1536754952_initial_schemaDownSql, map[string]*bintree{}}, + "1536754952_initial_schema.up.sql": &bintree{_1536754952_initial_schemaUpSql, map[string]*bintree{}}, + "1539249977_update_ratchet_info.down.sql": &bintree{_1539249977_update_ratchet_infoDownSql, map[string]*bintree{}}, + "1539249977_update_ratchet_info.up.sql": &bintree{_1539249977_update_ratchet_infoUpSql, map[string]*bintree{}}, + "1540715431_add_version.down.sql": &bintree{_1540715431_add_versionDownSql, map[string]*bintree{}}, + "1540715431_add_version.up.sql": &bintree{_1540715431_add_versionUpSql, map[string]*bintree{}}, + "1541164797_add_installations.down.sql": &bintree{_1541164797_add_installationsDownSql, map[string]*bintree{}}, + "1541164797_add_installations.up.sql": &bintree{_1541164797_add_installationsUpSql, map[string]*bintree{}}, + "1558084410_add_secret.down.sql": &bintree{_1558084410_add_secretDownSql, map[string]*bintree{}}, + "1558084410_add_secret.up.sql": &bintree{_1558084410_add_secretUpSql, map[string]*bintree{}}, + "1558588866_add_version.down.sql": &bintree{_1558588866_add_versionDownSql, map[string]*bintree{}}, + "1558588866_add_version.up.sql": &bintree{_1558588866_add_versionUpSql, map[string]*bintree{}}, + "1559627659_add_contact_code.down.sql": &bintree{_1559627659_add_contact_codeDownSql, map[string]*bintree{}}, + "1559627659_add_contact_code.up.sql": &bintree{_1559627659_add_contact_codeUpSql, map[string]*bintree{}}, + "1561368210_add_installation_metadata.down.sql": &bintree{_1561368210_add_installation_metadataDownSql, map[string]*bintree{}}, + "1561368210_add_installation_metadata.up.sql": &bintree{_1561368210_add_installation_metadataUpSql, map[string]*bintree{}}, + "1632236298_add_communities.down.sql": &bintree{_1632236298_add_communitiesDownSql, map[string]*bintree{}}, + "1632236298_add_communities.up.sql": &bintree{_1632236298_add_communitiesUpSql, map[string]*bintree{}}, + "1636536507_add_index_bundles.up.sql": &bintree{_1636536507_add_index_bundlesUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -682,7 +697,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/protocol/encryption/protocol_message.pb.go b/protocol/encryption/protocol_message.pb.go index f6b374dc4..2d2c72b2b 100644 --- a/protocol/encryption/protocol_message.pb.go +++ b/protocol/encryption/protocol_message.pb.go @@ -1,94 +1,82 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: protocol_message.proto package encryption import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SignedPreKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SignedPreKey []byte `protobuf:"bytes,1,opt,name=signed_pre_key,json=signedPreKey,proto3" json:"signed_pre_key,omitempty"` - Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` - ProtocolVersion uint32 `protobuf:"varint,3,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` + SignedPreKey []byte `protobuf:"bytes,1,opt,name=signed_pre_key,json=signedPreKey,proto3" json:"signed_pre_key,omitempty"` + Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + ProtocolVersion uint32 `protobuf:"varint,3,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SignedPreKey) Reset() { - *x = SignedPreKey{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedPreKey) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedPreKey) ProtoMessage() {} - -func (x *SignedPreKey) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignedPreKey.ProtoReflect.Descriptor instead. +func (m *SignedPreKey) Reset() { *m = SignedPreKey{} } +func (m *SignedPreKey) String() string { return proto.CompactTextString(m) } +func (*SignedPreKey) ProtoMessage() {} func (*SignedPreKey) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_4e37b52004a72e16, []int{0} } -func (x *SignedPreKey) GetSignedPreKey() []byte { - if x != nil { - return x.SignedPreKey +func (m *SignedPreKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignedPreKey.Unmarshal(m, b) +} +func (m *SignedPreKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignedPreKey.Marshal(b, m, deterministic) +} +func (m *SignedPreKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignedPreKey.Merge(m, src) +} +func (m *SignedPreKey) XXX_Size() int { + return xxx_messageInfo_SignedPreKey.Size(m) +} +func (m *SignedPreKey) XXX_DiscardUnknown() { + xxx_messageInfo_SignedPreKey.DiscardUnknown(m) +} + +var xxx_messageInfo_SignedPreKey proto.InternalMessageInfo + +func (m *SignedPreKey) GetSignedPreKey() []byte { + if m != nil { + return m.SignedPreKey } return nil } -func (x *SignedPreKey) GetVersion() uint32 { - if x != nil { - return x.Version +func (m *SignedPreKey) GetVersion() uint32 { + if m != nil { + return m.Version } return 0 } -func (x *SignedPreKey) GetProtocolVersion() uint32 { - if x != nil { - return x.ProtocolVersion +func (m *SignedPreKey) GetProtocolVersion() uint32 { + if m != nil { + return m.ProtocolVersion } return 0 } // X3DH prekey bundle type Bundle struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Identity key Identity []byte `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // Installation id @@ -96,131 +84,115 @@ type Bundle struct { // Prekey signature Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // When the bundle was created locally - Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Bundle) Reset() { - *x = Bundle{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Bundle) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Bundle) ProtoMessage() {} - -func (x *Bundle) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Bundle.ProtoReflect.Descriptor instead. +func (m *Bundle) Reset() { *m = Bundle{} } +func (m *Bundle) String() string { return proto.CompactTextString(m) } +func (*Bundle) ProtoMessage() {} func (*Bundle) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{1} + return fileDescriptor_4e37b52004a72e16, []int{1} } -func (x *Bundle) GetIdentity() []byte { - if x != nil { - return x.Identity +func (m *Bundle) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Bundle.Unmarshal(m, b) +} +func (m *Bundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Bundle.Marshal(b, m, deterministic) +} +func (m *Bundle) XXX_Merge(src proto.Message) { + xxx_messageInfo_Bundle.Merge(m, src) +} +func (m *Bundle) XXX_Size() int { + return xxx_messageInfo_Bundle.Size(m) +} +func (m *Bundle) XXX_DiscardUnknown() { + xxx_messageInfo_Bundle.DiscardUnknown(m) +} + +var xxx_messageInfo_Bundle proto.InternalMessageInfo + +func (m *Bundle) GetIdentity() []byte { + if m != nil { + return m.Identity } return nil } -func (x *Bundle) GetSignedPreKeys() map[string]*SignedPreKey { - if x != nil { - return x.SignedPreKeys +func (m *Bundle) GetSignedPreKeys() map[string]*SignedPreKey { + if m != nil { + return m.SignedPreKeys } return nil } -func (x *Bundle) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *Bundle) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *Bundle) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *Bundle) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } type BundleContainer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // X3DH prekey bundle Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` // Private signed prekey - PrivateSignedPreKey []byte `protobuf:"bytes,2,opt,name=private_signed_pre_key,json=privateSignedPreKey,proto3" json:"private_signed_pre_key,omitempty"` + PrivateSignedPreKey []byte `protobuf:"bytes,2,opt,name=private_signed_pre_key,json=privateSignedPreKey,proto3" json:"private_signed_pre_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *BundleContainer) Reset() { - *x = BundleContainer{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BundleContainer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BundleContainer) ProtoMessage() {} - -func (x *BundleContainer) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BundleContainer.ProtoReflect.Descriptor instead. +func (m *BundleContainer) Reset() { *m = BundleContainer{} } +func (m *BundleContainer) String() string { return proto.CompactTextString(m) } +func (*BundleContainer) ProtoMessage() {} func (*BundleContainer) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{2} + return fileDescriptor_4e37b52004a72e16, []int{2} } -func (x *BundleContainer) GetBundle() *Bundle { - if x != nil { - return x.Bundle +func (m *BundleContainer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BundleContainer.Unmarshal(m, b) +} +func (m *BundleContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BundleContainer.Marshal(b, m, deterministic) +} +func (m *BundleContainer) XXX_Merge(src proto.Message) { + xxx_messageInfo_BundleContainer.Merge(m, src) +} +func (m *BundleContainer) XXX_Size() int { + return xxx_messageInfo_BundleContainer.Size(m) +} +func (m *BundleContainer) XXX_DiscardUnknown() { + xxx_messageInfo_BundleContainer.DiscardUnknown(m) +} + +var xxx_messageInfo_BundleContainer proto.InternalMessageInfo + +func (m *BundleContainer) GetBundle() *Bundle { + if m != nil { + return m.Bundle } return nil } -func (x *BundleContainer) GetPrivateSignedPreKey() []byte { - if x != nil { - return x.PrivateSignedPreKey +func (m *BundleContainer) GetPrivateSignedPreKey() []byte { + if m != nil { + return m.PrivateSignedPreKey } return nil } type DRHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Current ratchet public key Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Number of the message in the sending chain @@ -228,180 +200,156 @@ type DRHeader struct { // Length of the previous sending chain Pn uint32 `protobuf:"varint,3,opt,name=pn,proto3" json:"pn,omitempty"` // Bundle ID - Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DRHeader) Reset() { - *x = DRHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DRHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DRHeader) ProtoMessage() {} - -func (x *DRHeader) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DRHeader.ProtoReflect.Descriptor instead. +func (m *DRHeader) Reset() { *m = DRHeader{} } +func (m *DRHeader) String() string { return proto.CompactTextString(m) } +func (*DRHeader) ProtoMessage() {} func (*DRHeader) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{3} + return fileDescriptor_4e37b52004a72e16, []int{3} } -func (x *DRHeader) GetKey() []byte { - if x != nil { - return x.Key +func (m *DRHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DRHeader.Unmarshal(m, b) +} +func (m *DRHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DRHeader.Marshal(b, m, deterministic) +} +func (m *DRHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_DRHeader.Merge(m, src) +} +func (m *DRHeader) XXX_Size() int { + return xxx_messageInfo_DRHeader.Size(m) +} +func (m *DRHeader) XXX_DiscardUnknown() { + xxx_messageInfo_DRHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_DRHeader proto.InternalMessageInfo + +func (m *DRHeader) GetKey() []byte { + if m != nil { + return m.Key } return nil } -func (x *DRHeader) GetN() uint32 { - if x != nil { - return x.N +func (m *DRHeader) GetN() uint32 { + if m != nil { + return m.N } return 0 } -func (x *DRHeader) GetPn() uint32 { - if x != nil { - return x.Pn +func (m *DRHeader) GetPn() uint32 { + if m != nil { + return m.Pn } return 0 } -func (x *DRHeader) GetId() []byte { - if x != nil { - return x.Id +func (m *DRHeader) GetId() []byte { + if m != nil { + return m.Id } return nil } type DHHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Compressed ephemeral public key - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DHHeader) Reset() { - *x = DHHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DHHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DHHeader) ProtoMessage() {} - -func (x *DHHeader) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DHHeader.ProtoReflect.Descriptor instead. +func (m *DHHeader) Reset() { *m = DHHeader{} } +func (m *DHHeader) String() string { return proto.CompactTextString(m) } +func (*DHHeader) ProtoMessage() {} func (*DHHeader) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{4} + return fileDescriptor_4e37b52004a72e16, []int{4} } -func (x *DHHeader) GetKey() []byte { - if x != nil { - return x.Key +func (m *DHHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DHHeader.Unmarshal(m, b) +} +func (m *DHHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DHHeader.Marshal(b, m, deterministic) +} +func (m *DHHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_DHHeader.Merge(m, src) +} +func (m *DHHeader) XXX_Size() int { + return xxx_messageInfo_DHHeader.Size(m) +} +func (m *DHHeader) XXX_DiscardUnknown() { + xxx_messageInfo_DHHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_DHHeader proto.InternalMessageInfo + +func (m *DHHeader) GetKey() []byte { + if m != nil { + return m.Key } return nil } type X3DHHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Ephemeral key used Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Used bundle's signed prekey - Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *X3DHHeader) Reset() { - *x = X3DHHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *X3DHHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*X3DHHeader) ProtoMessage() {} - -func (x *X3DHHeader) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use X3DHHeader.ProtoReflect.Descriptor instead. +func (m *X3DHHeader) Reset() { *m = X3DHHeader{} } +func (m *X3DHHeader) String() string { return proto.CompactTextString(m) } +func (*X3DHHeader) ProtoMessage() {} func (*X3DHHeader) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{5} + return fileDescriptor_4e37b52004a72e16, []int{5} } -func (x *X3DHHeader) GetKey() []byte { - if x != nil { - return x.Key +func (m *X3DHHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_X3DHHeader.Unmarshal(m, b) +} +func (m *X3DHHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_X3DHHeader.Marshal(b, m, deterministic) +} +func (m *X3DHHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_X3DHHeader.Merge(m, src) +} +func (m *X3DHHeader) XXX_Size() int { + return xxx_messageInfo_X3DHHeader.Size(m) +} +func (m *X3DHHeader) XXX_DiscardUnknown() { + xxx_messageInfo_X3DHHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_X3DHHeader proto.InternalMessageInfo + +func (m *X3DHHeader) GetKey() []byte { + if m != nil { + return m.Key } return nil } -func (x *X3DHHeader) GetId() []byte { - if x != nil { - return x.Id +func (m *X3DHHeader) GetId() []byte { + if m != nil { + return m.Id } return nil } // Hash Ratchet Header type HRHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // deprecated group key ID DeprecatedKeyId uint32 `protobuf:"varint,1,opt,name=deprecated_key_id,json=deprecatedKeyId,proto3" json:"deprecated_key_id,omitempty"` // group message number for this key_id @@ -409,329 +357,289 @@ type HRHeader struct { // group ID GroupId []byte `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // group key ID - KeyId []byte `protobuf:"bytes,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + KeyId []byte `protobuf:"bytes,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HRHeader) Reset() { - *x = HRHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HRHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HRHeader) ProtoMessage() {} - -func (x *HRHeader) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HRHeader.ProtoReflect.Descriptor instead. +func (m *HRHeader) Reset() { *m = HRHeader{} } +func (m *HRHeader) String() string { return proto.CompactTextString(m) } +func (*HRHeader) ProtoMessage() {} func (*HRHeader) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{6} + return fileDescriptor_4e37b52004a72e16, []int{6} } -func (x *HRHeader) GetDeprecatedKeyId() uint32 { - if x != nil { - return x.DeprecatedKeyId +func (m *HRHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HRHeader.Unmarshal(m, b) +} +func (m *HRHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HRHeader.Marshal(b, m, deterministic) +} +func (m *HRHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_HRHeader.Merge(m, src) +} +func (m *HRHeader) XXX_Size() int { + return xxx_messageInfo_HRHeader.Size(m) +} +func (m *HRHeader) XXX_DiscardUnknown() { + xxx_messageInfo_HRHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_HRHeader proto.InternalMessageInfo + +func (m *HRHeader) GetDeprecatedKeyId() uint32 { + if m != nil { + return m.DeprecatedKeyId } return 0 } -func (x *HRHeader) GetSeqNo() uint32 { - if x != nil { - return x.SeqNo +func (m *HRHeader) GetSeqNo() uint32 { + if m != nil { + return m.SeqNo } return 0 } -func (x *HRHeader) GetGroupId() []byte { - if x != nil { - return x.GroupId +func (m *HRHeader) GetGroupId() []byte { + if m != nil { + return m.GroupId } return nil } -func (x *HRHeader) GetKeyId() []byte { - if x != nil { - return x.KeyId +func (m *HRHeader) GetKeyId() []byte { + if m != nil { + return m.KeyId } return nil } type RekeyGroup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Keys map[uint32][]byte `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Keys map[uint32][]byte `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RekeyGroup) Reset() { - *x = RekeyGroup{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RekeyGroup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RekeyGroup) ProtoMessage() {} - -func (x *RekeyGroup) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RekeyGroup.ProtoReflect.Descriptor instead. +func (m *RekeyGroup) Reset() { *m = RekeyGroup{} } +func (m *RekeyGroup) String() string { return proto.CompactTextString(m) } +func (*RekeyGroup) ProtoMessage() {} func (*RekeyGroup) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{7} + return fileDescriptor_4e37b52004a72e16, []int{7} } -func (x *RekeyGroup) GetTimestamp() uint64 { - if x != nil { - return x.Timestamp +func (m *RekeyGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RekeyGroup.Unmarshal(m, b) +} +func (m *RekeyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RekeyGroup.Marshal(b, m, deterministic) +} +func (m *RekeyGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_RekeyGroup.Merge(m, src) +} +func (m *RekeyGroup) XXX_Size() int { + return xxx_messageInfo_RekeyGroup.Size(m) +} +func (m *RekeyGroup) XXX_DiscardUnknown() { + xxx_messageInfo_RekeyGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_RekeyGroup proto.InternalMessageInfo + +func (m *RekeyGroup) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *RekeyGroup) GetKeys() map[uint32][]byte { - if x != nil { - return x.Keys +func (m *RekeyGroup) GetKeys() map[uint32][]byte { + if m != nil { + return m.Keys } return nil } type HRKeys struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keys []*HRKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - RekeyGroup *RekeyGroup `protobuf:"bytes,2,opt,name=rekey_group,json=rekeyGroup,proto3" json:"rekey_group,omitempty"` + Keys []*HRKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` + RekeyGroup *RekeyGroup `protobuf:"bytes,2,opt,name=rekey_group,json=rekeyGroup,proto3" json:"rekey_group,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HRKeys) Reset() { - *x = HRKeys{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HRKeys) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HRKeys) ProtoMessage() {} - -func (x *HRKeys) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HRKeys.ProtoReflect.Descriptor instead. +func (m *HRKeys) Reset() { *m = HRKeys{} } +func (m *HRKeys) String() string { return proto.CompactTextString(m) } +func (*HRKeys) ProtoMessage() {} func (*HRKeys) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{8} + return fileDescriptor_4e37b52004a72e16, []int{8} } -func (x *HRKeys) GetKeys() []*HRKey { - if x != nil { - return x.Keys +func (m *HRKeys) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HRKeys.Unmarshal(m, b) +} +func (m *HRKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HRKeys.Marshal(b, m, deterministic) +} +func (m *HRKeys) XXX_Merge(src proto.Message) { + xxx_messageInfo_HRKeys.Merge(m, src) +} +func (m *HRKeys) XXX_Size() int { + return xxx_messageInfo_HRKeys.Size(m) +} +func (m *HRKeys) XXX_DiscardUnknown() { + xxx_messageInfo_HRKeys.DiscardUnknown(m) +} + +var xxx_messageInfo_HRKeys proto.InternalMessageInfo + +func (m *HRKeys) GetKeys() []*HRKey { + if m != nil { + return m.Keys } return nil } -func (x *HRKeys) GetRekeyGroup() *RekeyGroup { - if x != nil { - return x.RekeyGroup +func (m *HRKeys) GetRekeyGroup() *RekeyGroup { + if m != nil { + return m.RekeyGroup } return nil } type HRKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DeprecatedKeyId uint32 `protobuf:"varint,1,opt,name=deprecated_key_id,json=deprecatedKeyId,proto3" json:"deprecated_key_id,omitempty"` - Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + DeprecatedKeyId uint32 `protobuf:"varint,1,opt,name=deprecated_key_id,json=deprecatedKeyId,proto3" json:"deprecated_key_id,omitempty"` + Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *HRKey) Reset() { - *x = HRKey{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HRKey) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HRKey) ProtoMessage() {} - -func (x *HRKey) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HRKey.ProtoReflect.Descriptor instead. +func (m *HRKey) Reset() { *m = HRKey{} } +func (m *HRKey) String() string { return proto.CompactTextString(m) } +func (*HRKey) ProtoMessage() {} func (*HRKey) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{9} + return fileDescriptor_4e37b52004a72e16, []int{9} } -func (x *HRKey) GetDeprecatedKeyId() uint32 { - if x != nil { - return x.DeprecatedKeyId +func (m *HRKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HRKey.Unmarshal(m, b) +} +func (m *HRKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HRKey.Marshal(b, m, deterministic) +} +func (m *HRKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_HRKey.Merge(m, src) +} +func (m *HRKey) XXX_Size() int { + return xxx_messageInfo_HRKey.Size(m) +} +func (m *HRKey) XXX_DiscardUnknown() { + xxx_messageInfo_HRKey.DiscardUnknown(m) +} + +var xxx_messageInfo_HRKey proto.InternalMessageInfo + +func (m *HRKey) GetDeprecatedKeyId() uint32 { + if m != nil { + return m.DeprecatedKeyId } return 0 } -func (x *HRKey) GetKey() []byte { - if x != nil { - return x.Key +func (m *HRKey) GetKey() []byte { + if m != nil { + return m.Key } return nil } -func (x *HRKey) GetTimestamp() uint64 { - if x != nil { - return x.Timestamp +func (m *HRKey) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp } return 0 } // Direct message value type EncryptedMessageProtocol struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - X3DHHeader *X3DHHeader `protobuf:"bytes,1,opt,name=X3DH_header,json=X3DHHeader,proto3" json:"X3DH_header,omitempty"` DRHeader *DRHeader `protobuf:"bytes,2,opt,name=DR_header,json=DRHeader,proto3" json:"DR_header,omitempty"` DHHeader *DHHeader `protobuf:"bytes,101,opt,name=DH_header,json=DHHeader,proto3" json:"DH_header,omitempty"` HRHeader *HRHeader `protobuf:"bytes,102,opt,name=HR_header,json=HRHeader,proto3" json:"HR_header,omitempty"` // Encrypted payload - Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *EncryptedMessageProtocol) Reset() { - *x = EncryptedMessageProtocol{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EncryptedMessageProtocol) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncryptedMessageProtocol) ProtoMessage() {} - -func (x *EncryptedMessageProtocol) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncryptedMessageProtocol.ProtoReflect.Descriptor instead. +func (m *EncryptedMessageProtocol) Reset() { *m = EncryptedMessageProtocol{} } +func (m *EncryptedMessageProtocol) String() string { return proto.CompactTextString(m) } +func (*EncryptedMessageProtocol) ProtoMessage() {} func (*EncryptedMessageProtocol) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{10} + return fileDescriptor_4e37b52004a72e16, []int{10} } -func (x *EncryptedMessageProtocol) GetX3DHHeader() *X3DHHeader { - if x != nil { - return x.X3DHHeader +func (m *EncryptedMessageProtocol) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncryptedMessageProtocol.Unmarshal(m, b) +} +func (m *EncryptedMessageProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncryptedMessageProtocol.Marshal(b, m, deterministic) +} +func (m *EncryptedMessageProtocol) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptedMessageProtocol.Merge(m, src) +} +func (m *EncryptedMessageProtocol) XXX_Size() int { + return xxx_messageInfo_EncryptedMessageProtocol.Size(m) +} +func (m *EncryptedMessageProtocol) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptedMessageProtocol.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptedMessageProtocol proto.InternalMessageInfo + +func (m *EncryptedMessageProtocol) GetX3DHHeader() *X3DHHeader { + if m != nil { + return m.X3DHHeader } return nil } -func (x *EncryptedMessageProtocol) GetDRHeader() *DRHeader { - if x != nil { - return x.DRHeader +func (m *EncryptedMessageProtocol) GetDRHeader() *DRHeader { + if m != nil { + return m.DRHeader } return nil } -func (x *EncryptedMessageProtocol) GetDHHeader() *DHHeader { - if x != nil { - return x.DHHeader +func (m *EncryptedMessageProtocol) GetDHHeader() *DHHeader { + if m != nil { + return m.DHHeader } return nil } -func (x *EncryptedMessageProtocol) GetHRHeader() *HRHeader { - if x != nil { - return x.HRHeader +func (m *EncryptedMessageProtocol) GetHRHeader() *HRHeader { + if m != nil { + return m.HRHeader } return nil } -func (x *EncryptedMessageProtocol) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *EncryptedMessageProtocol) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } // Top-level protocol message type ProtocolMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The device id of the sender InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` // List of bundles @@ -740,408 +648,135 @@ type ProtocolMessage struct { // TODO map here is redundant in case of community messages EncryptedMessage map[string]*EncryptedMessageProtocol `protobuf:"bytes,101,rep,name=encrypted_message,json=encryptedMessage,proto3" json:"encrypted_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Public chats, not encrypted - PublicMessage []byte `protobuf:"bytes,102,opt,name=public_message,json=publicMessage,proto3" json:"public_message,omitempty"` + PublicMessage []byte `protobuf:"bytes,102,opt,name=public_message,json=publicMessage,proto3" json:"public_message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ProtocolMessage) Reset() { - *x = ProtocolMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_protocol_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProtocolMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtocolMessage) ProtoMessage() {} - -func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { - mi := &file_protocol_message_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead. +func (m *ProtocolMessage) Reset() { *m = ProtocolMessage{} } +func (m *ProtocolMessage) String() string { return proto.CompactTextString(m) } +func (*ProtocolMessage) ProtoMessage() {} func (*ProtocolMessage) Descriptor() ([]byte, []int) { - return file_protocol_message_proto_rawDescGZIP(), []int{11} + return fileDescriptor_4e37b52004a72e16, []int{11} } -func (x *ProtocolMessage) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *ProtocolMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProtocolMessage.Unmarshal(m, b) +} +func (m *ProtocolMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProtocolMessage.Marshal(b, m, deterministic) +} +func (m *ProtocolMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProtocolMessage.Merge(m, src) +} +func (m *ProtocolMessage) XXX_Size() int { + return xxx_messageInfo_ProtocolMessage.Size(m) +} +func (m *ProtocolMessage) XXX_DiscardUnknown() { + xxx_messageInfo_ProtocolMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_ProtocolMessage proto.InternalMessageInfo + +func (m *ProtocolMessage) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } -func (x *ProtocolMessage) GetBundles() []*Bundle { - if x != nil { - return x.Bundles +func (m *ProtocolMessage) GetBundles() []*Bundle { + if m != nil { + return m.Bundles } return nil } -func (x *ProtocolMessage) GetEncryptedMessage() map[string]*EncryptedMessageProtocol { - if x != nil { - return x.EncryptedMessage +func (m *ProtocolMessage) GetEncryptedMessage() map[string]*EncryptedMessageProtocol { + if m != nil { + return m.EncryptedMessage } return nil } -func (x *ProtocolMessage) GetPublicMessage() []byte { - if x != nil { - return x.PublicMessage +func (m *ProtocolMessage) GetPublicMessage() []byte { + if m != nil { + return m.PublicMessage } return nil } -var File_protocol_message_proto protoreflect.FileDescriptor - -var file_protocol_message_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x79, 0x0a, 0x0c, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, - 0x65, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, - 0x72, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x8b, 0x02, 0x0a, 0x06, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x4d, 0x0a, 0x0f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, - 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x65, 0x4b, 0x65, 0x79, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, - 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x1a, 0x5a, 0x0a, 0x12, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x65, 0x4b, 0x65, - 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x65, 0x4b, - 0x65, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x78, 0x0a, - 0x0f, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, - 0x12, 0x2a, 0x0a, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, - 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x06, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x33, 0x0a, 0x16, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, - 0x72, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x65, 0x4b, 0x65, - 0x79, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x4a, 0x0a, 0x08, 0x44, 0x52, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x0c, 0x0a, 0x01, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x01, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x02, 0x70, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x08, 0x44, 0x48, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x22, 0x34, 0x0a, 0x0a, 0x58, 0x33, 0x44, 0x48, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, - 0x64, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x7f, 0x0a, 0x08, 0x48, 0x52, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, - 0x15, 0x0a, 0x06, 0x73, 0x65, 0x71, 0x5f, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x73, 0x65, 0x71, 0x4e, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, - 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x99, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x6b, - 0x65, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x52, 0x65, 0x6b, 0x65, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4b, 0x65, 0x79, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x4b, - 0x65, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x68, 0x0a, 0x06, 0x48, 0x52, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x25, - 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x65, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x48, 0x52, 0x4b, 0x65, 0x79, 0x52, - 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x72, 0x65, 0x6b, 0x65, 0x79, 0x5f, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6b, 0x65, 0x79, 0x47, 0x72, 0x6f, - 0x75, 0x70, 0x52, 0x0a, 0x72, 0x65, 0x6b, 0x65, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x63, - 0x0a, 0x05, 0x48, 0x52, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x72, 0x65, - 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4b, 0x65, - 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x22, 0x86, 0x02, 0x0a, 0x18, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, - 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x12, 0x37, 0x0a, 0x0b, 0x58, 0x33, 0x44, 0x48, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x58, 0x33, 0x44, 0x48, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x58, - 0x33, 0x44, 0x48, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x09, 0x44, 0x52, 0x5f, - 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x52, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x52, 0x08, 0x44, 0x52, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x09, - 0x44, 0x48, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x48, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x08, 0x44, 0x48, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x31, 0x0a, 0x09, 0x48, 0x52, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x66, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x48, 0x52, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x08, 0x48, 0x52, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xda, 0x02, 0x0a, - 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x65, 0x6e, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x07, - 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x12, 0x5e, 0x0a, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x65, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, - 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x66, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x69, - 0x0a, 0x15, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x2f, 0x3b, - 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, +func init() { + proto.RegisterType((*SignedPreKey)(nil), "encryption.SignedPreKey") + proto.RegisterType((*Bundle)(nil), "encryption.Bundle") + proto.RegisterMapType((map[string]*SignedPreKey)(nil), "encryption.Bundle.SignedPreKeysEntry") + proto.RegisterType((*BundleContainer)(nil), "encryption.BundleContainer") + proto.RegisterType((*DRHeader)(nil), "encryption.DRHeader") + proto.RegisterType((*DHHeader)(nil), "encryption.DHHeader") + proto.RegisterType((*X3DHHeader)(nil), "encryption.X3DHHeader") + proto.RegisterType((*HRHeader)(nil), "encryption.HRHeader") + proto.RegisterType((*RekeyGroup)(nil), "encryption.RekeyGroup") + proto.RegisterMapType((map[uint32][]byte)(nil), "encryption.RekeyGroup.KeysEntry") + proto.RegisterType((*HRKeys)(nil), "encryption.HRKeys") + proto.RegisterType((*HRKey)(nil), "encryption.HRKey") + proto.RegisterType((*EncryptedMessageProtocol)(nil), "encryption.EncryptedMessageProtocol") + proto.RegisterType((*ProtocolMessage)(nil), "encryption.ProtocolMessage") + proto.RegisterMapType((map[string]*EncryptedMessageProtocol)(nil), "encryption.ProtocolMessage.EncryptedMessageEntry") } -var ( - file_protocol_message_proto_rawDescOnce sync.Once - file_protocol_message_proto_rawDescData = file_protocol_message_proto_rawDesc -) - -func file_protocol_message_proto_rawDescGZIP() []byte { - file_protocol_message_proto_rawDescOnce.Do(func() { - file_protocol_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_message_proto_rawDescData) - }) - return file_protocol_message_proto_rawDescData +func init() { + proto.RegisterFile("protocol_message.proto", fileDescriptor_4e37b52004a72e16) } -var file_protocol_message_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_protocol_message_proto_goTypes = []interface{}{ - (*SignedPreKey)(nil), // 0: encryption.SignedPreKey - (*Bundle)(nil), // 1: encryption.Bundle - (*BundleContainer)(nil), // 2: encryption.BundleContainer - (*DRHeader)(nil), // 3: encryption.DRHeader - (*DHHeader)(nil), // 4: encryption.DHHeader - (*X3DHHeader)(nil), // 5: encryption.X3DHHeader - (*HRHeader)(nil), // 6: encryption.HRHeader - (*RekeyGroup)(nil), // 7: encryption.RekeyGroup - (*HRKeys)(nil), // 8: encryption.HRKeys - (*HRKey)(nil), // 9: encryption.HRKey - (*EncryptedMessageProtocol)(nil), // 10: encryption.EncryptedMessageProtocol - (*ProtocolMessage)(nil), // 11: encryption.ProtocolMessage - nil, // 12: encryption.Bundle.SignedPreKeysEntry - nil, // 13: encryption.RekeyGroup.KeysEntry - nil, // 14: encryption.ProtocolMessage.EncryptedMessageEntry -} -var file_protocol_message_proto_depIdxs = []int32{ - 12, // 0: encryption.Bundle.signed_pre_keys:type_name -> encryption.Bundle.SignedPreKeysEntry - 1, // 1: encryption.BundleContainer.bundle:type_name -> encryption.Bundle - 13, // 2: encryption.RekeyGroup.keys:type_name -> encryption.RekeyGroup.KeysEntry - 9, // 3: encryption.HRKeys.keys:type_name -> encryption.HRKey - 7, // 4: encryption.HRKeys.rekey_group:type_name -> encryption.RekeyGroup - 5, // 5: encryption.EncryptedMessageProtocol.X3DH_header:type_name -> encryption.X3DHHeader - 3, // 6: encryption.EncryptedMessageProtocol.DR_header:type_name -> encryption.DRHeader - 4, // 7: encryption.EncryptedMessageProtocol.DH_header:type_name -> encryption.DHHeader - 6, // 8: encryption.EncryptedMessageProtocol.HR_header:type_name -> encryption.HRHeader - 1, // 9: encryption.ProtocolMessage.bundles:type_name -> encryption.Bundle - 14, // 10: encryption.ProtocolMessage.encrypted_message:type_name -> encryption.ProtocolMessage.EncryptedMessageEntry - 0, // 11: encryption.Bundle.SignedPreKeysEntry.value:type_name -> encryption.SignedPreKey - 10, // 12: encryption.ProtocolMessage.EncryptedMessageEntry.value:type_name -> encryption.EncryptedMessageProtocol - 13, // [13:13] is the sub-list for method output_type - 13, // [13:13] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name -} - -func init() { file_protocol_message_proto_init() } -func file_protocol_message_proto_init() { - if File_protocol_message_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_protocol_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedPreKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Bundle); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BundleContainer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DRHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DHHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*X3DHHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HRHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RekeyGroup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HRKeys); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HRKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncryptedMessageProtocol); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_protocol_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtocolMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_protocol_message_proto_rawDesc, - NumEnums: 0, - NumMessages: 15, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_protocol_message_proto_goTypes, - DependencyIndexes: file_protocol_message_proto_depIdxs, - MessageInfos: file_protocol_message_proto_msgTypes, - }.Build() - File_protocol_message_proto = out.File - file_protocol_message_proto_rawDesc = nil - file_protocol_message_proto_goTypes = nil - file_protocol_message_proto_depIdxs = nil +var fileDescriptor_4e37b52004a72e16 = []byte{ + // 758 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4d, 0x4f, 0xdb, 0x4c, + 0x10, 0x96, 0xed, 0x7c, 0x4e, 0x3e, 0xd9, 0x17, 0x90, 0xdf, 0x88, 0x43, 0x64, 0x81, 0x9a, 0xa2, + 0xca, 0x15, 0x1f, 0x12, 0x15, 0xbd, 0x51, 0x50, 0x03, 0x88, 0x0a, 0x6d, 0xa5, 0xaa, 0xe2, 0x50, + 0xcb, 0xc4, 0x03, 0x58, 0x04, 0xdb, 0xd8, 0x0e, 0xaa, 0x4f, 0xbd, 0xf5, 0xd2, 0x5f, 0xd0, 0xbf, + 0xd6, 0x5f, 0x53, 0xed, 0xae, 0xd7, 0xde, 0x84, 0x70, 0xe8, 0x2d, 0x3b, 0x3b, 0xf3, 0x3c, 0xcf, + 0xcc, 0x3c, 0xde, 0xc0, 0x7a, 0x14, 0x87, 0x69, 0x38, 0x09, 0xa7, 0xce, 0x03, 0x26, 0x89, 0x7b, + 0x8b, 0x36, 0x0f, 0x10, 0xc0, 0x60, 0x12, 0x67, 0x51, 0xea, 0x87, 0x81, 0x95, 0x41, 0xfb, 0xb3, + 0x7f, 0x1b, 0xa0, 0x77, 0x19, 0xe3, 0x39, 0x66, 0x64, 0x13, 0xba, 0x09, 0x3f, 0x3b, 0x51, 0x8c, + 0xce, 0x3d, 0x66, 0xa6, 0x36, 0xd4, 0x46, 0x6d, 0xda, 0x4e, 0xd4, 0x2c, 0x13, 0xea, 0x4f, 0x18, + 0x27, 0x7e, 0x18, 0x98, 0xfa, 0x50, 0x1b, 0x75, 0xa8, 0x3c, 0x92, 0xd7, 0xd0, 0x2f, 0x58, 0x65, + 0x8a, 0xc1, 0x53, 0x7a, 0x32, 0xfe, 0x45, 0x84, 0xad, 0x5f, 0x3a, 0xd4, 0x8e, 0x66, 0x81, 0x37, + 0x45, 0x32, 0x80, 0x86, 0xef, 0x61, 0x90, 0xfa, 0xa9, 0xe4, 0x2b, 0xce, 0xe4, 0x02, 0x7a, 0xf3, + 0x8a, 0x12, 0x53, 0x1f, 0x1a, 0xa3, 0xd6, 0xee, 0x96, 0x5d, 0xf6, 0x61, 0x0b, 0x20, 0x5b, 0xed, + 0x25, 0x39, 0x09, 0xd2, 0x38, 0xa3, 0x1d, 0x55, 0x79, 0x42, 0x36, 0xa0, 0xc9, 0x02, 0x6e, 0x3a, + 0x8b, 0xd1, 0xac, 0x70, 0xae, 0x32, 0xc0, 0x6e, 0x53, 0xff, 0x01, 0x93, 0xd4, 0x7d, 0x88, 0xcc, + 0xea, 0x50, 0x1b, 0x19, 0xb4, 0x0c, 0x0c, 0xae, 0x80, 0x3c, 0x27, 0x20, 0x7d, 0x30, 0xe4, 0x9c, + 0x9a, 0x94, 0xfd, 0x24, 0x36, 0x54, 0x9f, 0xdc, 0xe9, 0x0c, 0xf9, 0x70, 0x5a, 0xbb, 0xa6, 0x2a, + 0x54, 0x05, 0xa0, 0x22, 0xed, 0x50, 0x7f, 0xa7, 0x59, 0xdf, 0xa1, 0x27, 0x7a, 0xf8, 0x10, 0x06, + 0xa9, 0xeb, 0x07, 0x18, 0x93, 0x6d, 0xa8, 0x5d, 0xf3, 0x10, 0xc7, 0x6e, 0xed, 0x92, 0xe7, 0x0d, + 0xd3, 0x3c, 0x83, 0xec, 0xb1, 0x6d, 0xfb, 0x4f, 0x6e, 0x8a, 0xce, 0xc2, 0xfe, 0x74, 0xde, 0xe3, + 0x7f, 0xf9, 0xad, 0x4a, 0x7f, 0x56, 0x69, 0x18, 0xfd, 0x8a, 0x75, 0x06, 0x8d, 0x63, 0x3a, 0x46, + 0xd7, 0xc3, 0x58, 0xed, 0xa5, 0x2d, 0x7a, 0x69, 0x83, 0x26, 0x97, 0xac, 0x05, 0xa4, 0x0b, 0x7a, + 0x24, 0x17, 0xaa, 0x47, 0xfc, 0xec, 0x7b, 0xf9, 0x18, 0x75, 0xdf, 0xb3, 0x36, 0xa0, 0x71, 0x3c, + 0x7e, 0x09, 0xcb, 0xda, 0x07, 0xf8, 0xba, 0xf7, 0xf2, 0xfd, 0x22, 0x5a, 0xae, 0xef, 0x07, 0x34, + 0xc6, 0x52, 0xdf, 0x36, 0xac, 0x78, 0x18, 0xc5, 0x38, 0x71, 0x53, 0xf4, 0x58, 0x7b, 0x8e, 0xef, + 0x71, 0x84, 0x0e, 0xed, 0x95, 0x17, 0xe7, 0x98, 0x9d, 0x7a, 0x64, 0x0d, 0x6a, 0x09, 0x3e, 0x3a, + 0x41, 0x98, 0xcb, 0xaf, 0x26, 0xf8, 0xf8, 0x29, 0x24, 0xff, 0x43, 0xe3, 0x36, 0x0e, 0x67, 0x11, + 0xab, 0x34, 0x38, 0x55, 0x9d, 0x9f, 0x45, 0x45, 0x0e, 0x29, 0x34, 0x54, 0xef, 0x19, 0x90, 0xf5, + 0x5b, 0x03, 0xa0, 0x78, 0x8f, 0xd9, 0x47, 0x96, 0x37, 0xef, 0x11, 0x06, 0x5d, 0x51, 0x3c, 0x42, + 0xf6, 0xa1, 0xc2, 0x3d, 0x5a, 0xe1, 0x1e, 0x1d, 0xaa, 0x2b, 0x2b, 0x31, 0xec, 0xd2, 0x9e, 0x3c, + 0x7b, 0x70, 0x00, 0xcd, 0xa5, 0x86, 0xea, 0x88, 0xc1, 0xac, 0xaa, 0x86, 0x6a, 0xab, 0xb6, 0xb9, + 0x83, 0xda, 0x98, 0x72, 0x63, 0x6f, 0xe5, 0xc4, 0x1a, 0x27, 0x5e, 0x51, 0x89, 0x79, 0x86, 0x60, + 0x22, 0x07, 0xd0, 0x8a, 0x99, 0x0e, 0x87, 0x37, 0x9d, 0x3b, 0x74, 0x7d, 0xb9, 0x4c, 0x0a, 0x71, + 0xf1, 0xdb, 0x9a, 0x40, 0x95, 0xe3, 0xfc, 0xd3, 0x0e, 0xf2, 0x56, 0xf4, 0x72, 0xc7, 0x73, 0xd3, + 0x33, 0x16, 0xa6, 0x67, 0xfd, 0xd4, 0xc1, 0x3c, 0x11, 0x52, 0xd0, 0xbb, 0x10, 0xaf, 0xd6, 0x65, + 0xfe, 0x6e, 0x30, 0xe9, 0xcc, 0x3e, 0xce, 0x1d, 0xf7, 0x42, 0xfe, 0x51, 0xcc, 0x49, 0x2f, 0xdd, + 0x45, 0x55, 0xa7, 0xed, 0x40, 0xf3, 0x98, 0xca, 0x32, 0xd1, 0xf1, 0xaa, 0x5a, 0x26, 0xed, 0x4f, + 0xcb, 0x0f, 0x81, 0x95, 0x14, 0x4c, 0xb8, 0xa4, 0x64, 0x5c, 0x94, 0x28, 0x2c, 0xe3, 0x82, 0xe5, + 0xe6, 0x79, 0xc9, 0xb8, 0x60, 0x29, 0xec, 0x6c, 0x42, 0x3d, 0x72, 0xb3, 0x69, 0xe8, 0x16, 0x56, + 0xcc, 0x8f, 0xd6, 0x1f, 0x1d, 0x7a, 0xb2, 0xf1, 0x7c, 0x0e, 0xe4, 0x15, 0xf4, 0xfc, 0x20, 0x49, + 0xdd, 0xe9, 0xd4, 0x65, 0x80, 0x6c, 0xec, 0x3a, 0x7f, 0x74, 0xba, 0x6a, 0xf8, 0xd4, 0x23, 0x6f, + 0xa0, 0x2e, 0x9e, 0x85, 0xc4, 0x34, 0xb8, 0x1b, 0x96, 0xbd, 0x1c, 0x32, 0x85, 0x7c, 0x83, 0x15, + 0x94, 0x23, 0x97, 0xff, 0x14, 0x26, 0xf2, 0xba, 0x1d, 0xb5, 0x6e, 0x41, 0x8e, 0xbd, 0xb8, 0x27, + 0xe1, 0xe7, 0x3e, 0x2e, 0x84, 0xc9, 0x16, 0x74, 0xa3, 0xd9, 0xf5, 0xd4, 0x9f, 0x14, 0xe0, 0x37, + 0xbc, 0xd7, 0x8e, 0x88, 0xe6, 0x69, 0x03, 0x1f, 0xd6, 0x96, 0x22, 0x2e, 0x79, 0x5f, 0x0f, 0xe7, + 0xdf, 0xd7, 0x4d, 0x55, 0xe5, 0x4b, 0xee, 0x51, 0x3e, 0x9a, 0xa3, 0xde, 0x55, 0xc7, 0x7e, 0xfb, + 0xbe, 0x2c, 0xba, 0xae, 0xf1, 0xff, 0xa6, 0xbd, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x32, 0x0a, + 0xaa, 0xf0, 0x32, 0x07, 0x00, 0x00, } diff --git a/protocol/messenger_communities.go b/protocol/messenger_communities.go index abf2dbb18..02b52d955 100644 --- a/protocol/messenger_communities.go +++ b/protocol/messenger_communities.go @@ -351,8 +351,9 @@ func (m *Messenger) handleCommunitiesSubscription(c chan *communities.Subscripti } if sub.TokenCommunityValidated != nil { state := m.buildMessageState() + communityResponse := sub.TokenCommunityValidated - err := m.handleCommunityResponse(state, sub.TokenCommunityValidated) + err := m.handleCommunityResponse(state, communityResponse) if err != nil { m.logger.Error("failed to handle community response", zap.Error(err)) } @@ -364,6 +365,16 @@ func (m *Messenger) handleCommunitiesSubscription(c chan *communities.Subscripti m.logger.Error("failed to save data and prepare response") } + // control node changed and we were kicked out. It now awaits our addresses + if communityResponse.Changes.ControlNodeChanged != nil && communityResponse.Changes.MemberKicked { + requestToJoin, err := m.sendSharedAddressToControlNode(communityResponse.Community.ControlNode(), communityResponse.Community) + if err != nil { + m.logger.Error("share address to control node failed", zap.String("id", types.EncodeHex(communityResponse.Community.ID())), zap.Error(err)) + } else { + state.Response.RequestsToJoinCommunity = append(state.Response.RequestsToJoinCommunity, requestToJoin) + } + } + if m.config.messengerSignalsHandler != nil { m.config.messengerSignalsHandler.MessengerResponse(response) } @@ -2411,11 +2422,16 @@ func (m *Messenger) MyPendingRequestsToJoin() ([]*communities.RequestToJoin, err return m.communitiesManager.PendingRequestsToJoinForUser(&m.identity.PublicKey) } +func (m *Messenger) MyAwaitingAddressesRequestsToJoin() ([]*communities.RequestToJoin, error) { + return m.communitiesManager.AwaitingAddressesRequestsToJoinForUser(&m.identity.PublicKey) +} + func (m *Messenger) PendingRequestsToJoinForCommunity(id types.HexBytes) ([]*communities.RequestToJoin, error) { return m.communitiesManager.PendingRequestsToJoinForCommunity(id) } func (m *Messenger) AllPendingRequestsToJoinForCommunity(id types.HexBytes) ([]*communities.RequestToJoin, error) { + // TODO: optimize and extract via one query pendingRequests, err := m.communitiesManager.PendingRequestsToJoinForCommunity(id) if err != nil { return nil, err @@ -2429,8 +2445,14 @@ func (m *Messenger) AllPendingRequestsToJoinForCommunity(id types.HexBytes) ([]* return nil, err } + ownershipChangedRequests, err := m.communitiesManager.RequestsToJoinForCommunityAwaitingAddresses(id) + if err != nil { + return nil, err + } + pendingRequests = append(pendingRequests, acceptedPendingRequests...) pendingRequests = append(pendingRequests, declinedPendingRequests...) + pendingRequests = append(pendingRequests, ownershipChangedRequests...) return pendingRequests, nil } @@ -2976,6 +2998,8 @@ func (m *Messenger) handleCommunityResponse(state *ReceivedMessageState, communi notification.MembershipStatus = ActivityCenterMembershipStatusAcceptedPending case communities.RequestToJoinStateDeclinedPending: notification.MembershipStatus = ActivityCenterMembershipStatusDeclinedPending + case communities.RequestToJoinStateAwaitingAddresses: + notification.MembershipStatus = ActivityCenterMembershipOwnershipChanged default: notification.MembershipStatus = ActivityCenterMembershipStatusPending @@ -3134,6 +3158,47 @@ func (m *Messenger) HandleCommunityPrivilegedUserSyncMessage(state *ReceivedMess return m.handleCommunityPrivilegedUserSyncMessage(state, signer, message) } +func (m *Messenger) sendSharedAddressToControlNode(receiver *ecdsa.PublicKey, community *communities.Community) (*communities.RequestToJoin, error) { + if receiver == nil { + return nil, errors.New("receiver can't be nil") + } + + if community == nil { + return nil, communities.ErrOrgNotFound + } + + m.logger.Info("share address to the new owner ", zap.String("community id", community.IDString())) + + pk := common.PubkeyToHex(&m.identity.PublicKey) + + requestToJoin, err := m.communitiesManager.GetCommunityRequestToJoinWithRevealedAddresses(pk, community.ID()) + if err != nil { + return nil, err + } + + requestToJoin.Clock = uint64(time.Now().Unix()) + requestToJoin.State = communities.RequestToJoinStateAwaitingAddresses + payload, err := proto.Marshal(requestToJoin.ToCommunityRequestToJoinProtobuf()) + if err != nil { + return nil, err + } + + rawMessage := common.RawMessage{ + Payload: payload, + CommunityID: community.ID(), + SkipProtocolLayer: true, + MessageType: protobuf.ApplicationMetadataMessage_COMMUNITY_REQUEST_TO_JOIN, + PubsubTopic: community.PubsubTopic(), // TODO: confirm if it should be sent in community pubsub topic + } + + if err = m.communitiesManager.SaveRequestToJoin(requestToJoin); err != nil { + return nil, err + } + + _, err = m.sender.SendPrivate(context.Background(), receiver, &rawMessage) + return requestToJoin, err +} + func (m *Messenger) HandleSyncInstallationCommunity(messageState *ReceivedMessageState, syncCommunity *protobuf.SyncInstallationCommunity, statusMessage *v1protocol.StatusMessage) error { return m.handleSyncInstallationCommunity(messageState, syncCommunity, nil) } @@ -5926,18 +5991,28 @@ func (m *Messenger) SetCommunitySignerPubKey(ctx context.Context, communityID [] return m.communityTokensService.SetSignerPubKey(ctx, chainID, contractAddress, txArgs, password, newSignerPubKey) } -func (m *Messenger) PromoteSelfToControlNode(communityID types.HexBytes) (*communities.Community, error) { +func (m *Messenger) PromoteSelfToControlNode(communityID types.HexBytes) (*MessengerResponse, error) { clock, _ := m.getLastClockWithRelatedChat() - - community, err := m.communitiesManager.PromoteSelfToControlNode(communityID, clock) + changes, err := m.communitiesManager.PromoteSelfToControlNode(communityID, clock) if err != nil { return nil, err } - err = m.syncCommunity(context.Background(), community, m.dispatchMessage) + if len(changes.MembersRemoved) > 0 { + err = m.communitiesManager.GenerateRequestsToJoinForAutoApprovalOnNewOwnership(changes.Community.ID(), changes.MembersRemoved) + if err != nil { + return nil, err + } + } + + err = m.syncCommunity(context.Background(), changes.Community, m.dispatchMessage) if err != nil { return nil, err } - return community, nil + var response MessengerResponse + response.AddCommunity(changes.Community) + response.CommunityChanges = []*communities.CommunityChanges{changes} + + return &response, nil } diff --git a/protocol/messenger_handler.go b/protocol/messenger_handler.go index 5690e7bc7..db3a2720f 100644 --- a/protocol/messenger_handler.go +++ b/protocol/messenger_handler.go @@ -1554,6 +1554,10 @@ func (m *Messenger) HandleCommunityRequestToJoin(state *ReceivedMessageState, re case communities.RequestToJoinStateCanceled: // cancellation is handled by separate message fallthrough + case communities.RequestToJoinStateAwaitingAddresses: + // ownership changed request is handled only if owner kicked members and saved + // temporary RequestToJoinStateAwaitingAddresses request + fallthrough case communities.RequestToJoinStateAcceptedPending, communities.RequestToJoinStateDeclinedPending: // request can be marked as pending only manually return errors.New("invalid request state") diff --git a/protocol/migrations/migrations.go b/protocol/migrations/migrations.go index 408e1c8f7..b7332ec37 100644 --- a/protocol/migrations/migrations.go +++ b/protocol/migrations/migrations.go @@ -108,6 +108,7 @@ // 1698137561_add_profile_showcase_tables.up.sql (440B) // 1698137562_fix_encryption_key_id.up.sql (758B) // 1698414646_add_padding.up.sql (69B) +// 1698746210_add_signature_to_revealed_addresses.up.sql (87B) // README.md (554B) // doc.go (850B) @@ -119,6 +120,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -128,7 +130,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -136,7 +138,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -192,7 +194,7 @@ func _000001_initDownDbSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "000001_init.down.db.sql", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "000001_init.down.db.sql", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5e, 0xbb, 0x3f, 0x1, 0x75, 0x19, 0x70, 0x86, 0xa7, 0x34, 0x40, 0x17, 0x34, 0x3e, 0x18, 0x51, 0x79, 0xd4, 0x22, 0xad, 0x8f, 0x80, 0xcc, 0xa6, 0xcc, 0x6, 0x2b, 0x62, 0x2, 0x47, 0xba, 0xf9}} return a, nil } @@ -212,7 +214,7 @@ func _000001_initUpDbSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "000001_init.up.db.sql", size: 2719, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "000001_init.up.db.sql", size: 2719, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x60, 0xdc, 0xeb, 0xe, 0xc2, 0x4f, 0x75, 0xa, 0xf6, 0x3e, 0xc7, 0xc4, 0x4, 0xe2, 0xe1, 0xa4, 0x73, 0x2f, 0x4a, 0xad, 0x1a, 0x0, 0xc3, 0x93, 0x9d, 0x77, 0x3e, 0x31, 0x91, 0x77, 0x2e, 0xc8}} return a, nil } @@ -232,7 +234,7 @@ func _000002_add_last_ens_clock_valueUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "000002_add_last_ens_clock_value.up.sql", size: 77, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "000002_add_last_ens_clock_value.up.sql", size: 77, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4d, 0x3, 0x8f, 0xd5, 0x85, 0x83, 0x47, 0xbe, 0xf9, 0x82, 0x7e, 0x81, 0xa4, 0xbd, 0xaa, 0xd5, 0x98, 0x18, 0x5, 0x2d, 0x82, 0x42, 0x3b, 0x3, 0x50, 0xc3, 0x1e, 0x84, 0x35, 0xf, 0xb6, 0x2b}} return a, nil } @@ -252,7 +254,7 @@ func _1586358095_add_replaceUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1586358095_add_replace.up.sql", size: 224, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1586358095_add_replace.up.sql", size: 224, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0xb3, 0xa9, 0xc7, 0x7f, 0x9d, 0x8f, 0x43, 0x8c, 0x9e, 0x58, 0x8d, 0x44, 0xbc, 0xfa, 0x6b, 0x5f, 0x3f, 0x5a, 0xbe, 0xe8, 0xb1, 0x16, 0xf, 0x91, 0x2a, 0xa0, 0x71, 0xbb, 0x8d, 0x6b, 0xcb}} return a, nil } @@ -272,7 +274,7 @@ func _1588665364_add_image_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1588665364_add_image_data.up.sql", size: 186, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1588665364_add_image_data.up.sql", size: 186, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd6, 0xc6, 0x35, 0xb4, 0x4c, 0x39, 0x96, 0x29, 0x30, 0xda, 0xf4, 0x8f, 0xcb, 0xf1, 0x9f, 0x84, 0xdc, 0x88, 0xd4, 0xd5, 0xbc, 0xb6, 0x5b, 0x46, 0x78, 0x67, 0x76, 0x1a, 0x5, 0x36, 0xdc, 0xe5}} return a, nil } @@ -292,7 +294,7 @@ func _1589365189_add_pow_targetUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1589365189_add_pow_target.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1589365189_add_pow_target.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0x3a, 0xe2, 0x2e, 0x7d, 0xaf, 0xbb, 0xcc, 0x21, 0xa1, 0x7a, 0x41, 0x9a, 0xd0, 0xbb, 0xa9, 0xc8, 0x35, 0xf9, 0x32, 0x34, 0x46, 0x44, 0x9a, 0x86, 0x40, 0x7c, 0xb9, 0x23, 0xc7, 0x3, 0x3f}} return a, nil } @@ -312,7 +314,7 @@ func _1591277220_add_index_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1591277220_add_index_messages.up.sql", size: 240, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1591277220_add_index_messages.up.sql", size: 240, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9c, 0xfe, 0xbe, 0xd5, 0xb8, 0x8f, 0xdd, 0xef, 0xbb, 0xa8, 0xad, 0x7f, 0xed, 0x5b, 0x5b, 0x2f, 0xe6, 0x82, 0x27, 0x78, 0x1f, 0xb9, 0x57, 0xdc, 0x8, 0xc2, 0xb2, 0xa9, 0x9a, 0x4, 0xe1, 0x7a}} return a, nil } @@ -332,7 +334,7 @@ func _1593087212_add_mute_chat_and_raw_message_fieldsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593087212_add_mute_chat_and_raw_message_fields.up.sql", size: 215, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1593087212_add_mute_chat_and_raw_message_fields.up.sql", size: 215, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x73, 0x99, 0x61, 0xd1, 0xaa, 0xb4, 0xbf, 0xaf, 0xd7, 0x20, 0x17, 0x40, 0xf9, 0x2, 0xfb, 0xcc, 0x40, 0x2a, 0xd, 0x86, 0x36, 0x30, 0x88, 0x89, 0x25, 0x80, 0x42, 0xb0, 0x5b, 0xe9, 0x73, 0x78}} return a, nil } @@ -352,7 +354,7 @@ func _1595862781_add_audio_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1595862781_add_audio_data.up.sql", size: 246, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1595862781_add_audio_data.up.sql", size: 246, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xae, 0xd2, 0xee, 0x55, 0xfb, 0x36, 0xa4, 0x92, 0x66, 0xe, 0x81, 0x62, 0x1e, 0x7a, 0x69, 0xa, 0xd5, 0x4b, 0xa5, 0x6a, 0x8d, 0x1d, 0xce, 0xf3, 0x3e, 0xc0, 0x5f, 0x9c, 0x66, 0x1b, 0xb4, 0xed}} return a, nil } @@ -372,7 +374,7 @@ func _1595865249_create_emoji_reactions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1595865249_create_emoji_reactions_table.up.sql", size: 300, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1595865249_create_emoji_reactions_table.up.sql", size: 300, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xc5, 0x43, 0x5c, 0x3d, 0x53, 0x43, 0x2c, 0x1a, 0xa5, 0xb6, 0xbf, 0x7, 0x4, 0x5a, 0x3e, 0x40, 0x8b, 0xa4, 0x57, 0x12, 0x58, 0xbc, 0x42, 0xe2, 0xc3, 0xde, 0x76, 0x98, 0x80, 0xe2, 0xbe}} return a, nil } @@ -392,7 +394,7 @@ func _1596805115_create_group_chat_invitations_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1596805115_create_group_chat_invitations_table.up.sql", size: 231, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1596805115_create_group_chat_invitations_table.up.sql", size: 231, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6d, 0xb1, 0x14, 0x6d, 0x54, 0x28, 0x67, 0xc3, 0x23, 0x6a, 0xfc, 0x80, 0xdf, 0x9e, 0x4c, 0x35, 0x36, 0xf, 0xf8, 0xf3, 0x5f, 0xae, 0xad, 0xb, 0xc1, 0x51, 0x8e, 0x17, 0x7, 0xe5, 0x7f, 0x91}} return a, nil } @@ -412,7 +414,7 @@ func _1597322655_add_invitation_admin_chat_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597322655_add_invitation_admin_chat_field.up.sql", size: 54, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1597322655_add_invitation_admin_chat_field.up.sql", size: 54, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0x7a, 0xa0, 0xf2, 0xdb, 0x13, 0x91, 0x91, 0xa8, 0x34, 0x1a, 0xa1, 0x49, 0x68, 0xd5, 0xae, 0x2c, 0xd8, 0xd5, 0xea, 0x8f, 0x8c, 0xc7, 0x2, 0x4e, 0x58, 0x2c, 0x3a, 0x14, 0xd4, 0x4f, 0x2c}} return a, nil } @@ -432,7 +434,7 @@ func _1597757544_add_nicknameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597757544_add_nickname.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1597757544_add_nickname.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xa2, 0x64, 0x50, 0xc5, 0x4, 0xb9, 0x8b, 0xd1, 0x18, 0x9b, 0xc3, 0x91, 0x36, 0x2a, 0x1f, 0xc3, 0x6c, 0x2d, 0x92, 0xf8, 0x5e, 0xff, 0xb1, 0x59, 0x61, 0x2, 0x1c, 0xe1, 0x85, 0x90, 0xa4}} return a, nil } @@ -452,7 +454,7 @@ func _1598955122_add_mentionsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1598955122_add_mentions.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1598955122_add_mentions.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8d, 0x22, 0x17, 0x92, 0xd2, 0x11, 0x4e, 0x7, 0x93, 0x9a, 0x55, 0xfd, 0xb, 0x97, 0xc4, 0x63, 0x6a, 0x81, 0x97, 0xcd, 0xb2, 0xf8, 0x4b, 0x5f, 0x3c, 0xfa, 0x3a, 0x38, 0x53, 0x10, 0xed, 0x9d}} return a, nil } @@ -472,7 +474,7 @@ func _1599641390_add_emoji_reactions_indexUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599641390_add_emoji_reactions_index.up.sql", size: 126, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1599641390_add_emoji_reactions_index.up.sql", size: 126, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf9, 0xd8, 0xdc, 0xa7, 0xb, 0x92, 0x7a, 0x61, 0x37, 0x24, 0x1c, 0x77, 0x5e, 0xe, 0x7e, 0xfc, 0x9f, 0x98, 0x7b, 0x65, 0xe7, 0xf9, 0x71, 0x57, 0x89, 0x2d, 0x90, 0x1b, 0xf6, 0x5e, 0x37, 0xe8}} return a, nil } @@ -492,7 +494,7 @@ func _1599720851_add_seen_index_remove_long_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599720851_add_seen_index_remove_long_messages.up.sql", size: 150, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1599720851_add_seen_index_remove_long_messages.up.sql", size: 150, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x24, 0x1c, 0xc4, 0x78, 0x91, 0xc7, 0xeb, 0xfe, 0xc8, 0xa0, 0xd8, 0x13, 0x27, 0x97, 0xc8, 0x96, 0x56, 0x97, 0x33, 0x2c, 0x1e, 0x16, 0x8a, 0xd3, 0x49, 0x99, 0x3, 0xe9, 0xbb, 0xc4, 0x5, 0x3c}} return a, nil } @@ -512,7 +514,7 @@ func _1603198582_add_profile_chat_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1603198582_add_profile_chat_field.up.sql", size: 45, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1603198582_add_profile_chat_field.up.sql", size: 45, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0xca, 0xe, 0x46, 0xa0, 0x9, 0x9d, 0x47, 0x57, 0xe9, 0xfb, 0x17, 0xeb, 0x9c, 0xf6, 0xb8, 0x1d, 0xe9, 0xd, 0x0, 0xd5, 0xe5, 0xd8, 0x9e, 0x60, 0xa, 0xbf, 0x32, 0x2c, 0x52, 0x7f, 0x6a}} return a, nil } @@ -532,7 +534,7 @@ func _1603816533_add_linksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1603816533_add_links.up.sql", size: 48, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1603816533_add_links.up.sql", size: 48, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x24, 0xd6, 0x1d, 0xa, 0x83, 0x1e, 0x4d, 0xf, 0xae, 0x4d, 0x8c, 0x51, 0x32, 0xa8, 0x37, 0xb0, 0x14, 0xfb, 0x32, 0x34, 0xc8, 0xc, 0x4e, 0x5b, 0xc5, 0x15, 0x65, 0x73, 0x0, 0x0, 0x1d}} return a, nil } @@ -552,7 +554,7 @@ func _1603888149_create_chat_identity_last_published_tableUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1603888149_create_chat_identity_last_published_table.up.sql", size: 407, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1603888149_create_chat_identity_last_published_table.up.sql", size: 407, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7f, 0x9, 0xf, 0xfb, 0xdb, 0x3c, 0x86, 0x70, 0x82, 0xda, 0x10, 0x25, 0xe2, 0x4e, 0x40, 0x45, 0xab, 0x8b, 0x1c, 0x91, 0x7c, 0xf1, 0x70, 0x2e, 0x81, 0xf3, 0x71, 0x45, 0xda, 0xe2, 0xa4, 0x57}} return a, nil } @@ -572,7 +574,7 @@ func _1605075346_add_communitiesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1605075346_add_communities.up.sql", size: 6971, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1605075346_add_communities.up.sql", size: 6971, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1f, 0x64, 0xea, 0xb4, 0xae, 0x9e, 0xdb, 0x9, 0x58, 0xb6, 0x5c, 0x7a, 0x50, 0xc5, 0xfe, 0x93, 0x5d, 0x36, 0x85, 0x5d, 0x6a, 0xba, 0xc9, 0x7e, 0x84, 0xd7, 0xbf, 0x2a, 0x53, 0xf3, 0x97, 0xf1}} return a, nil } @@ -592,7 +594,7 @@ func _1610117927_add_message_cacheUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1610117927_add_message_cache.up.sql", size: 142, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1610117927_add_message_cache.up.sql", size: 142, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0xf1, 0xf0, 0x82, 0x79, 0x28, 0x19, 0xc2, 0x39, 0x6a, 0xa5, 0x96, 0x59, 0x23, 0xa0, 0xed, 0x60, 0x58, 0x86, 0x9, 0xb9, 0xad, 0xfb, 0xa, 0xe3, 0x47, 0x6e, 0xa1, 0x18, 0xe8, 0x39, 0x2c}} return a, nil } @@ -612,7 +614,7 @@ func _1610959908_add_dont_wrap_to_raw_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1610959908_add_dont_wrap_to_raw_messages.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1610959908_add_dont_wrap_to_raw_messages.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x71, 0x2, 0x9a, 0xca, 0xd4, 0x38, 0x44, 0x30, 0x2b, 0xa8, 0x27, 0x32, 0x63, 0x53, 0x22, 0x60, 0x59, 0x84, 0x23, 0x96, 0x77, 0xf0, 0x56, 0xd7, 0x94, 0xe0, 0x95, 0x28, 0x6, 0x1d, 0x4e, 0xb1}} return a, nil } @@ -632,7 +634,7 @@ func _1610960912_add_send_on_personal_topicUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1610960912_add_send_on_personal_topic.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1610960912_add_send_on_personal_topic.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x77, 0xac, 0x2f, 0xc4, 0xd, 0xa7, 0x1b, 0x37, 0x30, 0xc2, 0x68, 0xee, 0xde, 0x54, 0x5e, 0xbf, 0x3f, 0xa0, 0xd6, 0xc6, 0x9f, 0xd4, 0x34, 0x12, 0x76, 0x1e, 0x66, 0x4a, 0xfc, 0xf, 0xee, 0xc9}} return a, nil } @@ -652,7 +654,7 @@ func _1612870480_add_datasync_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1612870480_add_datasync_id.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1612870480_add_datasync_id.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0x9a, 0xbc, 0xfa, 0xaa, 0x8c, 0x9c, 0x37, 0x67, 0x15, 0x9c, 0x7e, 0x78, 0x75, 0x66, 0x82, 0x18, 0x72, 0x10, 0xbc, 0xd4, 0xab, 0x44, 0xfe, 0x57, 0x85, 0x6d, 0x19, 0xf5, 0x96, 0x8a, 0xbe}} return a, nil } @@ -672,7 +674,7 @@ func _1614152139_add_communities_request_to_joinUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1614152139_add_communities_request_to_join.up.sql", size: 831, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1614152139_add_communities_request_to_join.up.sql", size: 831, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0x3, 0x26, 0xf9, 0x29, 0x50, 0x4f, 0xcd, 0x46, 0xe5, 0xb1, 0x6b, 0xb9, 0x2, 0x40, 0xb1, 0xdf, 0x4a, 0x4c, 0x7a, 0xda, 0x3, 0x35, 0xcd, 0x2d, 0xcc, 0x80, 0x7d, 0x57, 0x5f, 0x3, 0x5c}} return a, nil } @@ -692,7 +694,7 @@ func _1615374373_add_confirmationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1615374373_add_confirmations.up.sql", size: 227, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1615374373_add_confirmations.up.sql", size: 227, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdd, 0xa6, 0x65, 0xc5, 0x1d, 0xb2, 0x77, 0x36, 0xe3, 0x79, 0xda, 0xe8, 0x7a, 0xa4, 0xdf, 0x45, 0xae, 0xd8, 0xb4, 0xba, 0x90, 0xfd, 0x74, 0x71, 0x14, 0x75, 0x73, 0x72, 0xb9, 0x9e, 0x1, 0x81}} return a, nil } @@ -712,7 +714,7 @@ func _1617694931_add_notification_centerUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1617694931_add_notification_center.up.sql", size: 572, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1617694931_add_notification_center.up.sql", size: 572, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0x45, 0xc6, 0xc9, 0x73, 0xbb, 0x1f, 0xda, 0xa3, 0x4d, 0x19, 0x98, 0x85, 0x2d, 0xca, 0xda, 0xcc, 0x3b, 0x32, 0xff, 0xc7, 0x7b, 0xe3, 0x9f, 0x9b, 0x2a, 0x93, 0xf5, 0xdf, 0x65, 0x38, 0x91}} return a, nil } @@ -732,7 +734,7 @@ func _1618923660_create_pin_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1618923660_create_pin_messages.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1618923660_create_pin_messages.up.sql", size: 265, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x61, 0x44, 0x3a, 0xbe, 0x30, 0xd2, 0x7e, 0xc0, 0xe2, 0x8e, 0x65, 0x53, 0x54, 0xbb, 0x7a, 0x1c, 0xb3, 0x5d, 0xd2, 0xa6, 0xa9, 0x28, 0xb7, 0xa4, 0x5f, 0x8b, 0x9, 0x5f, 0x17, 0xc1, 0x85, 0x21}} return a, nil } @@ -752,7 +754,7 @@ func _1619094007_add_joined_chat_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619094007_add_joined_chat_field.up.sql", size: 101, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1619094007_add_joined_chat_field.up.sql", size: 101, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x30, 0x81, 0x3a, 0x2f, 0x9f, 0xb3, 0x0, 0x55, 0x8e, 0x1d, 0xa8, 0xb0, 0x68, 0xf0, 0x40, 0x1a, 0x6c, 0xaa, 0xfc, 0x33, 0xd1, 0xd1, 0x55, 0x3f, 0xf2, 0xbd, 0x54, 0xa1, 0x2b, 0x40, 0x95}} return a, nil } @@ -772,7 +774,7 @@ func _1619099821_add_last_synced_fieldUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1619099821_add_last_synced_field.up.sql", size: 226, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1619099821_add_last_synced_field.up.sql", size: 226, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf, 0x52, 0x22, 0xe, 0x2f, 0xd7, 0x93, 0x5f, 0x42, 0xc2, 0x93, 0x4, 0x35, 0x6f, 0xc9, 0x19, 0xed, 0x6b, 0x52, 0x6f, 0xae, 0x99, 0xe2, 0x68, 0x3d, 0x4f, 0x40, 0xe, 0xe1, 0xa, 0x47, 0x21}} return a, nil } @@ -792,7 +794,7 @@ func _1621933219_add_mentionedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1621933219_add_mentioned.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1621933219_add_mentioned.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x76, 0x8a, 0xc9, 0x7, 0x8f, 0xa5, 0xcb, 0x12, 0x21, 0x4e, 0xfe, 0x96, 0x77, 0xcf, 0x7f, 0x76, 0x75, 0x36, 0x2c, 0xf8, 0x1d, 0x13, 0xcb, 0xcd, 0x6e, 0x70, 0xbf, 0xf5, 0x93, 0x67, 0xd1}} return a, nil } @@ -812,7 +814,7 @@ func _1622010048_add_unviewed_mentions_countUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622010048_add_unviewed_mentions_count.up.sql", size: 114, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1622010048_add_unviewed_mentions_count.up.sql", size: 114, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7c, 0x16, 0x85, 0xa6, 0x5b, 0xe1, 0x66, 0xb9, 0x84, 0xbe, 0x7f, 0xa, 0x77, 0x23, 0xb9, 0xef, 0x8e, 0x2, 0x8, 0xfc, 0x61, 0xb2, 0x43, 0xa9, 0x63, 0xae, 0xb4, 0xdf, 0x30, 0xb1, 0x61, 0x4b}} return a, nil } @@ -832,7 +834,7 @@ func _1622061278_add_message_activity_center_notification_fieldUpSql() (*asset, return nil, err } - info := bindataFileInfo{name: "1622061278_add_message_activity_center_notification_field.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1622061278_add_message_activity_center_notification_field.up.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8, 0xc, 0xa6, 0x1f, 0xa5, 0xc6, 0x7c, 0x6f, 0xab, 0x2c, 0x2d, 0xb5, 0xa4, 0xdd, 0xc1, 0xd6, 0x44, 0x83, 0xf9, 0xb1, 0xa5, 0xce, 0x34, 0x3d, 0x2, 0xa9, 0x35, 0xcf, 0xc6, 0xb2, 0x43, 0x37}} return a, nil } @@ -852,7 +854,7 @@ func _1622464518_set_synced_to_fromUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622464518_set_synced_to_from.up.sql", size: 105, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1622464518_set_synced_to_from.up.sql", size: 105, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x33, 0x3e, 0x2b, 0xa, 0x1e, 0xc7, 0x6d, 0x6f, 0xd1, 0x1d, 0xe8, 0x4b, 0xdd, 0x92, 0x76, 0xea, 0xf2, 0x3e, 0x15, 0x85, 0xc4, 0xc3, 0x31, 0xf1, 0xc0, 0xa2, 0xd7, 0x47, 0xde, 0x4e, 0xfd, 0xc6}} return a, nil } @@ -872,7 +874,7 @@ func _1622464519_add_chat_descriptionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622464519_add_chat_description.up.sql", size: 93, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1622464519_add_chat_description.up.sql", size: 93, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x2e, 0x89, 0x31, 0xec, 0xef, 0xeb, 0x43, 0xf5, 0x96, 0x6d, 0xce, 0x91, 0x8a, 0x37, 0x2a, 0x11, 0x7a, 0x3f, 0xd9, 0x10, 0xbb, 0xa1, 0xbc, 0x7, 0xe0, 0x3b, 0xa5, 0xf4, 0xa6, 0xf4, 0xa1}} return a, nil } @@ -892,7 +894,7 @@ func _1622622253_add_pinned_by_to_pin_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1622622253_add_pinned_by_to_pin_messages.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1622622253_add_pinned_by_to_pin_messages.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9b, 0x94, 0xa3, 0x45, 0x91, 0x1e, 0x66, 0xd1, 0x96, 0x5a, 0xaf, 0xfa, 0x29, 0x39, 0xa8, 0x3a, 0x97, 0x4c, 0x65, 0x6, 0x96, 0x90, 0x4c, 0xfe, 0xce, 0x7d, 0x5d, 0xd4, 0xb3, 0x8, 0x6d, 0x5f}} return a, nil } @@ -912,7 +914,7 @@ func _1623938329_add_author_activity_center_notification_fieldUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1623938329_add_author_activity_center_notification_field.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1623938329_add_author_activity_center_notification_field.up.sql", size: 66, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0xe6, 0xa7, 0xd5, 0x26, 0xff, 0xab, 0x92, 0x88, 0xf0, 0xd3, 0x34, 0xd9, 0x2f, 0xe7, 0x18, 0x1a, 0x40, 0xf9, 0xbe, 0x8e, 0xfc, 0xd0, 0x4f, 0x1f, 0x4a, 0xb9, 0x83, 0x3f, 0xa9, 0xde, 0xb}} return a, nil } @@ -932,7 +934,7 @@ func _1623938330_add_edit_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1623938330_add_edit_messages.up.sql", size: 369, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1623938330_add_edit_messages.up.sql", size: 369, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xd2, 0xce, 0xe, 0x5c, 0x19, 0xbe, 0x5e, 0x29, 0xbe, 0x9b, 0x31, 0x53, 0x76, 0xb2, 0xc8, 0x56, 0xf0, 0x82, 0xfe, 0x7d, 0x6c, 0xe8, 0x5c, 0xe9, 0x7a, 0x5d, 0x5, 0xc4, 0x92, 0x38, 0xe3}} return a, nil } @@ -952,7 +954,7 @@ func _1624978434_add_muted_communityUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1624978434_add_muted_community.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1624978434_add_muted_community.up.sql", size: 82, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6, 0xdc, 0x6e, 0x6f, 0x97, 0xc7, 0x3d, 0x50, 0xab, 0x80, 0x87, 0x44, 0x43, 0x38, 0xe6, 0xc5, 0xc1, 0x91, 0x26, 0xf, 0x16, 0xe, 0xd9, 0x32, 0x37, 0x25, 0x96, 0x25, 0x6, 0xc8, 0xb5, 0x4a}} return a, nil } @@ -972,7 +974,7 @@ func _1625018910_add_repply_message_activity_center_notification_fieldUpSql() (* return nil, err } - info := bindataFileInfo{name: "1625018910_add_repply_message_activity_center_notification_field.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1625018910_add_repply_message_activity_center_notification_field.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0x52, 0x12, 0x40, 0xd8, 0x6f, 0x71, 0x97, 0x46, 0x39, 0xaa, 0x74, 0x41, 0xcd, 0x45, 0x4c, 0xe8, 0xd9, 0xe2, 0x56, 0x8e, 0x78, 0x18, 0x62, 0xf6, 0xa8, 0x36, 0xe9, 0x9a, 0x1f, 0xc, 0xb1}} return a, nil } @@ -992,7 +994,7 @@ func _1625762506_add_deleted_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1625762506_add_deleted_messages.up.sql", size: 357, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1625762506_add_deleted_messages.up.sql", size: 357, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0x61, 0x42, 0xb6, 0x8c, 0x7f, 0x2d, 0xec, 0xa9, 0x6d, 0x3d, 0x0, 0xa3, 0x32, 0xd8, 0x4a, 0x38, 0x5c, 0x97, 0xfc, 0x68, 0xde, 0xa9, 0xb7, 0xd8, 0xde, 0xb, 0x29, 0x93, 0xdc, 0x81, 0xf8}} return a, nil } @@ -1012,7 +1014,7 @@ func _1627388946_add_communities_synced_atUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1627388946_add_communities_synced_at.up.sql", size: 87, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1627388946_add_communities_synced_at.up.sql", size: 87, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc1, 0xbd, 0x9b, 0x6a, 0xc9, 0x1a, 0x7a, 0x34, 0xcf, 0x5f, 0x80, 0x9e, 0x8c, 0x1c, 0xc0, 0xec, 0x4e, 0x78, 0xb0, 0x2d, 0x15, 0x77, 0x38, 0x4a, 0x6a, 0x5, 0x84, 0xf5, 0x8d, 0x8b, 0xbe, 0x9}} return a, nil } @@ -1032,7 +1034,7 @@ func _1628280060_createUsermessagesIndexSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1628280060_create-usermessages-index.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1628280060_create-usermessages-index.sql", size: 80, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0x6f, 0x70, 0x47, 0x40, 0xab, 0xa8, 0x60, 0xe0, 0xf9, 0x8, 0x7e, 0x19, 0x9d, 0xba, 0x33, 0x16, 0xfc, 0x3c, 0xdc, 0xa8, 0xa6, 0x53, 0x61, 0x39, 0x82, 0x91, 0xcf, 0x69, 0xd8, 0xf2, 0xcf}} return a, nil } @@ -1052,7 +1054,7 @@ func _1632303896_modify_contacts_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1632303896_modify_contacts_table.up.sql", size: 1574, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1632303896_modify_contacts_table.up.sql", size: 1574, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x1e, 0x6c, 0x3c, 0xd, 0xd7, 0x7d, 0xbb, 0x19, 0xbc, 0xe4, 0x7, 0xfd, 0xf8, 0x66, 0x6d, 0x78, 0xf6, 0x4, 0xe6, 0x51, 0xe4, 0xe6, 0xdc, 0xe, 0x5a, 0x2e, 0xac, 0xe6, 0xe7, 0x24, 0x69}} return a, nil } @@ -1072,7 +1074,7 @@ func _1633349838_add_emoji_column_in_chatsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1633349838_add_emoji_column_in_chats.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1633349838_add_emoji_column_in_chats.up.sql", size: 52, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcb, 0x33, 0xcb, 0x3b, 0xa9, 0x99, 0x77, 0x6a, 0xea, 0xc4, 0x39, 0xd7, 0xa1, 0x49, 0xa7, 0xdf, 0xff, 0x72, 0xda, 0x34, 0x21, 0x67, 0x66, 0xca, 0x65, 0x46, 0x1, 0xa6, 0x4e, 0xf9, 0x38, 0x86}} return a, nil } @@ -1092,7 +1094,7 @@ func _1634831235_add_highlight_column_in_chatsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1634831235_add_highlight_column_in_chats.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1634831235_add_highlight_column_in_chats.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0x63, 0x5c, 0x73, 0x19, 0x83, 0xbd, 0x35, 0x80, 0x9f, 0x66, 0xec, 0x4c, 0xbc, 0x9d, 0x2d, 0x52, 0x91, 0x6d, 0xb3, 0x2b, 0x87, 0xde, 0x24, 0x46, 0x5c, 0xd, 0xfd, 0x78, 0xf5, 0xe3, 0xe9}} return a, nil } @@ -1112,7 +1114,7 @@ func _1634896007_add_last_updated_locally_and_removedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1634896007_add_last_updated_locally_and_removed.up.sql", size: 131, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1634896007_add_last_updated_locally_and_removed.up.sql", size: 131, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2e, 0xa8, 0x34, 0xe2, 0xc0, 0x62, 0xc8, 0xd6, 0x5a, 0x87, 0xe3, 0x70, 0xe1, 0xc4, 0x16, 0x9c, 0x60, 0x2e, 0x98, 0xf0, 0x91, 0x84, 0xbe, 0xe0, 0xdf, 0x3e, 0x4d, 0x24, 0xc4, 0x6c, 0x40, 0x17}} return a, nil } @@ -1132,7 +1134,7 @@ func _1635840039_add_clock_read_at_column_in_chatsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1635840039_add_clock_read_at_column_in_chats.up.sql", size: 245, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1635840039_add_clock_read_at_column_in_chats.up.sql", size: 245, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6c, 0xba, 0x3f, 0xba, 0x1a, 0x71, 0xa8, 0x9, 0x19, 0xbe, 0x1e, 0x38, 0x50, 0x30, 0x3a, 0x52, 0x15, 0x29, 0xee, 0x49, 0x19, 0x6f, 0x53, 0xc2, 0xc6, 0x6c, 0xd9, 0x80, 0x7e, 0xb9, 0x58, 0x7a}} return a, nil } @@ -1152,7 +1154,7 @@ func _1637852321_add_received_invitation_admin_column_in_chatsUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1637852321_add_received_invitation_admin_column_in_chats.up.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1637852321_add_received_invitation_admin_column_in_chats.up.sql", size: 72, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x70, 0x8b, 0x92, 0x56, 0x83, 0x70, 0x7f, 0x6, 0xb2, 0xd, 0x1c, 0x2f, 0xcc, 0x93, 0xc3, 0x85, 0x8c, 0xc2, 0x38, 0x94, 0x7e, 0x88, 0x3f, 0x39, 0x34, 0xf8, 0x90, 0xcf, 0x83, 0x68, 0x3d, 0xe5}} return a, nil } @@ -1172,7 +1174,7 @@ func _1645034601_display_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1645034601_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1645034601_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0xfc, 0xda, 0x70, 0x53, 0x19, 0x90, 0x20, 0x4, 0x1c, 0x99, 0x42, 0x53, 0x1a, 0xd6, 0xb8, 0xbb, 0x8a, 0xe8, 0xbe, 0xcc, 0xb7, 0xc, 0x7f, 0x73, 0x50, 0x18, 0xf1, 0x8b, 0x18, 0x54, 0x64}} return a, nil } @@ -1192,7 +1194,7 @@ func _1645034602_add_mutual_contact_requestUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1645034602_add_mutual_contact_request.up.sql", size: 454, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1645034602_add_mutual_contact_request.up.sql", size: 454, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0xe0, 0x5d, 0x68, 0xb8, 0x50, 0xa4, 0xbb, 0x3e, 0x4f, 0x2, 0x87, 0xad, 0x87, 0x6e, 0x38, 0xdf, 0xc8, 0x4c, 0xe2, 0x5f, 0xd1, 0x6, 0xdc, 0xe7, 0xbd, 0x4a, 0x9c, 0xf3, 0x91, 0xa1, 0x51}} return a, nil } @@ -1212,7 +1214,7 @@ func _1650373957_add_contact_request_stateUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1650373957_add_contact_request_state.up.sql", size: 59, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1650373957_add_contact_request_state.up.sql", size: 59, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5e, 0xc1, 0x3f, 0x29, 0xe, 0x19, 0x86, 0x1a, 0x4c, 0x6c, 0x2a, 0x90, 0x9d, 0xdf, 0xb1, 0xb, 0x72, 0x25, 0xcd, 0x6c, 0x5f, 0xd, 0x51, 0x9e, 0x85, 0xc0, 0x9, 0xb7, 0xbc, 0x87, 0x23, 0xec}} return a, nil } @@ -1232,7 +1234,7 @@ func _1656958989_contact_verificationUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1656958989_contact_verification.up.sql", size: 624, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1656958989_contact_verification.up.sql", size: 624, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3a, 0x3f, 0x28, 0x38, 0x33, 0xdb, 0xe9, 0x4d, 0xc0, 0x54, 0x8c, 0x2a, 0x73, 0xc4, 0xdd, 0x5c, 0xc5, 0x1a, 0x93, 0x4b, 0x6, 0x13, 0xbe, 0x42, 0xd2, 0x7f, 0xd4, 0xc, 0xc5, 0x4e, 0x6d, 0xce}} return a, nil } @@ -1252,7 +1254,7 @@ func _1658236268_add_discord_message_authors_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1658236268_add_discord_message_authors_table.up.sql", size: 191, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1658236268_add_discord_message_authors_table.up.sql", size: 191, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3d, 0xb7, 0xdb, 0x79, 0x1, 0x15, 0xe7, 0x76, 0x5d, 0x22, 0x54, 0x82, 0x9a, 0xbe, 0x24, 0xc1, 0x82, 0xcf, 0x67, 0x91, 0x53, 0xcc, 0xac, 0x74, 0x18, 0x61, 0x69, 0x68, 0x19, 0xca, 0x2b, 0xa8}} return a, nil } @@ -1272,7 +1274,7 @@ func _1659619997_add_discord_messages_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1659619997_add_discord_messages_table.up.sql", size: 371, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1659619997_add_discord_messages_table.up.sql", size: 371, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x12, 0x9c, 0x96, 0xe2, 0x42, 0x3f, 0x94, 0x62, 0xc2, 0x76, 0xab, 0x3b, 0x4c, 0x85, 0x36, 0x48, 0xcc, 0x73, 0x60, 0x93, 0x5a, 0xd6, 0x7, 0xd6, 0x0, 0xee, 0x1b, 0x1e, 0x34, 0x58, 0x99}} return a, nil } @@ -1292,7 +1294,7 @@ func _1660226788_create_chat_identity_social_linksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660226788_create_chat_identity_social_links.up.sql", size: 318, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660226788_create_chat_identity_social_links.up.sql", size: 318, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3c, 0x76, 0x40, 0xe9, 0x85, 0xc4, 0x38, 0xf8, 0xe5, 0x5d, 0xe8, 0x13, 0x46, 0x1b, 0xc, 0x1, 0xe9, 0x2f, 0x74, 0xd1, 0x79, 0x59, 0xa4, 0xdb, 0x4a, 0x4a, 0xf4, 0x98, 0x58, 0x3c, 0x57, 0xd3}} return a, nil } @@ -1312,7 +1314,7 @@ func _1660226789_add_walletconnectsessions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660226789_add_walletconnectsessions_table.up.sql", size: 215, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1660226789_add_walletconnectsessions_table.up.sql", size: 215, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf8, 0x5c, 0x72, 0x2, 0xed, 0x36, 0x19, 0x91, 0x4d, 0x1a, 0xc1, 0xab, 0x84, 0xfa, 0x41, 0xb1, 0x46, 0xa5, 0xdb, 0x3f, 0x76, 0x47, 0xd3, 0x75, 0x3c, 0x6a, 0x8e, 0x78, 0xe6, 0x41, 0xdc, 0x7f}} return a, nil } @@ -1332,7 +1334,7 @@ func _1661242854_add_communities_requests_to_leaveUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1661242854_add_communities_requests_to_leave.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1661242854_add_communities_requests_to_leave.up.sql", size: 204, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0x2e, 0x7d, 0x14, 0xef, 0x6e, 0x95, 0x4b, 0x6, 0x70, 0x2e, 0xd1, 0xf6, 0x59, 0xf9, 0xe, 0x56, 0xa, 0x9c, 0x80, 0x18, 0xca, 0xb9, 0x49, 0x19, 0xf, 0x89, 0x94, 0x36, 0x6d, 0x93, 0x9a}} return a, nil } @@ -1352,7 +1354,7 @@ func _1662044232_add_chat_imageUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662044232_add_chat_image.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662044232_add_chat_image.up.sql", size: 49, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x74, 0xdf, 0x50, 0x79, 0x73, 0x9e, 0xd0, 0xff, 0xa4, 0xd3, 0x87, 0xc3, 0x48, 0x31, 0x6c, 0xdf, 0xa6, 0x20, 0x85, 0xe6, 0x4e, 0x19, 0x9d, 0xef, 0xcc, 0x84, 0x2b, 0x5d, 0x44, 0x34, 0x6}} return a, nil } @@ -1372,7 +1374,7 @@ func _1662106895_add_chat_first_message_timestampUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662106895_add_chat_first_message_timestamp.up.sql", size: 113, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662106895_add_chat_first_message_timestamp.up.sql", size: 113, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8b, 0x55, 0x74, 0xfa, 0xf5, 0x51, 0x85, 0x19, 0xfd, 0xfb, 0x6, 0x79, 0x4d, 0x1d, 0xd, 0x3, 0x46, 0x66, 0x34, 0x1e, 0xce, 0x91, 0x21, 0x29, 0xf6, 0x71, 0xe7, 0x31, 0x39, 0x8f, 0x9d, 0x5}} return a, nil } @@ -1392,7 +1394,7 @@ func _1662723928_add_discord_author_image_fieldsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1662723928_add_discord_author_image_fields.up.sql", size: 75, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1662723928_add_discord_author_image_fields.up.sql", size: 75, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1e, 0x5b, 0x48, 0x57, 0x98, 0x55, 0x9a, 0xf1, 0x75, 0xf7, 0xb5, 0x41, 0x5e, 0x96, 0xc5, 0xce, 0xfc, 0x30, 0x5c, 0x15, 0x35, 0x9e, 0x4e, 0x4a, 0x3b, 0x38, 0x42, 0xc4, 0x27, 0x3c, 0x87, 0xbf}} return a, nil } @@ -1412,7 +1414,7 @@ func _1664195977_add_deleted_for_mesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664195977_add_deleted_for_mes.up.sql", size: 352, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1664195977_add_deleted_for_mes.up.sql", size: 352, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x9d, 0x13, 0x9, 0xaa, 0x44, 0x14, 0x93, 0xe2, 0xf5, 0x53, 0xb7, 0x79, 0xa8, 0x18, 0xf0, 0x6c, 0xa4, 0x9c, 0x73, 0xc1, 0xaa, 0xc5, 0x2e, 0xc5, 0x41, 0xd7, 0x24, 0xb0, 0xd7, 0xb8, 0xdf}} return a, nil } @@ -1432,7 +1434,7 @@ func _1664367420_add_discord_attachments_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1664367420_add_discord_attachments_table.up.sql", size: 350, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1664367420_add_discord_attachments_table.up.sql", size: 350, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0xe1, 0xb6, 0x4f, 0x6f, 0x92, 0x0, 0xb4, 0xf, 0x55, 0x12, 0x1c, 0x98, 0x6d, 0xbc, 0x1e, 0xfd, 0xae, 0x1c, 0xce, 0xd1, 0x3d, 0x2, 0x21, 0x2e, 0xc0, 0x13, 0xa, 0xb2, 0xec, 0x81, 0x13}} return a, nil } @@ -1452,7 +1454,7 @@ func _1665079662_add_spectated_column_in_communitiesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665079662_add_spectated_column_in_communities.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1665079662_add_spectated_column_in_communities.up.sql", size: 86, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa0, 0x5d, 0xfe, 0xe2, 0xbe, 0xdf, 0xba, 0x45, 0xe9, 0xfc, 0xa7, 0x5f, 0xda, 0x19, 0xdb, 0x40, 0x96, 0x59, 0x78, 0xa, 0xd7, 0x4a, 0xca, 0x1a, 0x93, 0xfb, 0xae, 0x6d, 0x74, 0x7, 0x36, 0xdd}} return a, nil } @@ -1472,7 +1474,7 @@ func _1665479047_add_community_id_in_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665479047_add_community_id_in_notifications.up.sql", size: 169, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1665479047_add_community_id_in_notifications.up.sql", size: 169, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd9, 0x8f, 0x8b, 0x1c, 0xaa, 0x6a, 0x56, 0xd6, 0xa5, 0x88, 0x57, 0x13, 0x8f, 0xea, 0xb9, 0x23, 0x82, 0x50, 0xb7, 0x65, 0x1f, 0xab, 0xfa, 0x23, 0x6f, 0x0, 0x7, 0xb6, 0x6e, 0xb5, 0x85, 0x44}} return a, nil } @@ -1492,7 +1494,7 @@ func _1665484435_add_encrypted_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665484435_add_encrypted_messages.up.sql", size: 402, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1665484435_add_encrypted_messages.up.sql", size: 402, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x5c, 0x1e, 0x1c, 0x7f, 0xae, 0x5f, 0xeb, 0x3c, 0x6c, 0xcd, 0xc2, 0x99, 0x48, 0x5c, 0x83, 0xa0, 0xa2, 0x97, 0x5, 0x39, 0x82, 0x71, 0x90, 0x47, 0x21, 0x84, 0x29, 0x19, 0xa4, 0x7a, 0x90}} return a, nil } @@ -1512,7 +1514,7 @@ func _1665560200_add_contact_verification_individualUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1665560200_add_contact_verification_individual.up.sql", size: 509, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1665560200_add_contact_verification_individual.up.sql", size: 509, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc5, 0xbb, 0x61, 0xfd, 0xbf, 0x33, 0x1d, 0x4e, 0x5f, 0xbd, 0x86, 0x42, 0xb0, 0x6c, 0xf7, 0x39, 0x19, 0x6e, 0x72, 0x35, 0xfd, 0x1b, 0xd6, 0xbd, 0xf6, 0x81, 0x21, 0xc4, 0xaa, 0x6, 0x62, 0x40}} return a, nil } @@ -1532,7 +1534,7 @@ func _1670921937_add_album_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1670921937_add_album_id.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1670921937_add_album_id.up.sql", size: 55, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xae, 0x83, 0x58, 0xb7, 0x77, 0x5, 0xca, 0xe3, 0xda, 0x32, 0x8f, 0x7b, 0xa4, 0x2f, 0x4c, 0xaf, 0x5f, 0xfa, 0x94, 0x36, 0xe4, 0xf9, 0x7, 0xc6, 0xd6, 0xb7, 0x90, 0xf3, 0xe5, 0xb5, 0x3}} return a, nil } @@ -1552,7 +1554,7 @@ func _1673373000_add_repliedUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1673373000_add_replied.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1673373000_add_replied.up.sql", size: 67, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd5, 0x1c, 0xae, 0xf2, 0xf, 0xb4, 0xc2, 0xba, 0x3c, 0xfe, 0x7b, 0xb0, 0xf, 0xf, 0xd5, 0xbc, 0xe2, 0xa7, 0xad, 0x50, 0xd9, 0x5a, 0xe8, 0x96, 0x22, 0x65, 0x89, 0xcf, 0x4a, 0x9a, 0x1b, 0x94}} return a, nil } @@ -1572,7 +1574,7 @@ func _1673428910_add_image_width_heightUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1673428910_add_image_width_height.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1673428910_add_image_width_height.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x74, 0xda, 0x93, 0x2a, 0x9b, 0x6b, 0xb7, 0x96, 0xcd, 0xac, 0xf, 0xaf, 0x54, 0x89, 0x9e, 0x91, 0x5b, 0xd0, 0x4a, 0xa, 0x8d, 0x9e, 0x80, 0x66, 0x26, 0x9e, 0xb5, 0xa9, 0x8, 0xec, 0x2d, 0x6c}} return a, nil } @@ -1592,7 +1594,7 @@ func _1674210659_add_contact_request_local_clockUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1674210659_add_contact_request_local_clock.up.sql", size: 691, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1674210659_add_contact_request_local_clock.up.sql", size: 691, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x92, 0x72, 0x39, 0xfe, 0x72, 0x98, 0xfc, 0x91, 0x20, 0x10, 0xe8, 0xf5, 0xac, 0x79, 0xa8, 0x1c, 0xca, 0x7b, 0x35, 0xa, 0xc1, 0x56, 0x49, 0x9a, 0xfc, 0xbd, 0x64, 0x9d, 0xdf, 0xd2, 0x60, 0x70}} return a, nil } @@ -1612,7 +1614,7 @@ func _1675212323_add_deleted_byUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1675212323_add_deleted_by.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1675212323_add_deleted_by.up.sql", size: 57, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x85, 0x37, 0x29, 0x2f, 0xd, 0x5a, 0xb6, 0xdb, 0xa7, 0x8, 0x86, 0xfc, 0x7a, 0x70, 0xd8, 0x4d, 0xe6, 0xf0, 0x57, 0xe7, 0xd1, 0x95, 0xd5, 0x4, 0x40, 0x2f, 0x7a, 0x5, 0x4f, 0xc2, 0x97, 0xbc}} return a, nil } @@ -1632,7 +1634,7 @@ func _1675247084_add_activity_center_statesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1675247084_add_activity_center_states.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1675247084_add_activity_center_states.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xba, 0x90, 0x7d, 0x55, 0xc7, 0x40, 0x29, 0x26, 0x97, 0x45, 0x5c, 0xdf, 0xba, 0x61, 0xb, 0xfc, 0x3d, 0x7a, 0x6c, 0x42, 0xe4, 0x95, 0x78, 0xb0, 0xc5, 0x1f, 0x73, 0xe9, 0x33, 0x51, 0xc8, 0x81}} return a, nil } @@ -1652,7 +1654,7 @@ func _1675272329_fix_protocol_migrationUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1675272329_fix_protocol_migration.up.sql", size: 183, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1675272329_fix_protocol_migration.up.sql", size: 183, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0xe0, 0x11, 0x4c, 0x66, 0x55, 0x72, 0xd3, 0xe6, 0x98, 0xa4, 0xe7, 0x44, 0xf9, 0x3b, 0x3a, 0x3f, 0xd9, 0x91, 0x1e, 0x4f, 0xfc, 0x56, 0x63, 0xe5, 0xa4, 0x83, 0xfc, 0x7c, 0xcf, 0x18, 0x99}} return a, nil } @@ -1672,7 +1674,7 @@ func _1676998418_fix_activity_center_migrationUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1676998418_fix_activity_center_migration.up.sql", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1676998418_fix_activity_center_migration.up.sql", size: 178, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8a, 0xdc, 0x64, 0xb1, 0x47, 0x67, 0xda, 0x2c, 0x26, 0x29, 0x6b, 0x6f, 0xb, 0xfa, 0x45, 0xf3, 0xad, 0x8b, 0x1a, 0x5f, 0x1c, 0xed, 0xd7, 0xea, 0x54, 0xf5, 0x3f, 0xb8, 0xf6, 0xf9, 0x44, 0x53}} return a, nil } @@ -1692,7 +1694,7 @@ func _1677278861_add_deleted_column_to_activity_center_notifications_tableUpSql( return nil, err } - info := bindataFileInfo{name: "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql", size: 381, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql", size: 381, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x38, 0x3a, 0x95, 0xaf, 0x81, 0xb0, 0x85, 0x8d, 0x73, 0xda, 0x7b, 0x2a, 0x35, 0xa6, 0xaa, 0xcc, 0x4c, 0x35, 0xa3, 0xa8, 0xbd, 0xd1, 0x37, 0xe8, 0x5d, 0x83, 0xa4, 0x33, 0x1f, 0x10, 0xe4, 0xe6}} return a, nil } @@ -1712,7 +1714,7 @@ func _1677486338_add_community_tokens_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1677486338_add_community_tokens_table.up.sql", size: 527, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1677486338_add_community_tokens_table.up.sql", size: 527, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfb, 0x7b, 0x3d, 0x7e, 0x79, 0xc4, 0x3a, 0xf1, 0xda, 0x4b, 0xc6, 0xd1, 0xd, 0xfb, 0xb2, 0xb9, 0x7f, 0x81, 0x29, 0xab, 0xd8, 0x1, 0x20, 0xd7, 0xe1, 0xaf, 0x3e, 0x67, 0x1b, 0xdb, 0xf9, 0xd5}} return a, nil } @@ -1732,7 +1734,7 @@ func _1678292329_add_collapsed_categoriesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1678292329_add_collapsed_categories.up.sql", size: 170, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1678292329_add_collapsed_categories.up.sql", size: 170, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x46, 0x63, 0x86, 0xd5, 0x7, 0xe2, 0x25, 0x15, 0x1b, 0xfe, 0xf3, 0xe, 0x50, 0x48, 0x11, 0x3c, 0x7c, 0xc6, 0xe5, 0xab, 0x8d, 0x1f, 0xe8, 0x3c, 0xcb, 0xf0, 0x8d, 0xa7, 0x49, 0x4c, 0x16, 0x4f}} return a, nil } @@ -1752,7 +1754,7 @@ func _1678800760_add_index_to_raw_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1678800760_add_index_to_raw_messages.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1678800760_add_index_to_raw_messages.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9d, 0xd9, 0x8d, 0x22, 0x46, 0xae, 0x7b, 0x53, 0x3e, 0x51, 0x39, 0xad, 0xad, 0x38, 0x50, 0x6, 0xfa, 0xb9, 0xc4, 0x9f, 0x8d, 0xd2, 0x67, 0x0, 0xef, 0x58, 0x13, 0xab, 0x6a, 0x67, 0xf3, 0x7e}} return a, nil } @@ -1772,7 +1774,7 @@ func _1678877478_add_communities_requests_to_join_revealed_addresses_tableUpSql( return nil, err } - info := bindataFileInfo{name: "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql", size: 168, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql", size: 168, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x82, 0x1, 0xb4, 0xb2, 0x94, 0x25, 0xd5, 0x2e, 0x45, 0xc3, 0xb1, 0x2c, 0xeb, 0x1a, 0x52, 0xe0, 0x4b, 0x9b, 0x46, 0xf4, 0xc, 0xac, 0x1, 0x1e, 0x90, 0xbc, 0x64, 0x38, 0x10, 0xf1, 0xaf, 0xac}} return a, nil } @@ -1792,7 +1794,7 @@ func _1679326850_add_community_token_ownersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1679326850_add_community_token_owners.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1679326850_add_community_token_owners.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0xe6, 0x25, 0x67, 0xd1, 0xd6, 0x54, 0x88, 0xb1, 0x80, 0x1e, 0x2d, 0x9c, 0xfa, 0x1c, 0xc7, 0x63, 0x6e, 0xf9, 0x66, 0xb1, 0x68, 0xc6, 0xf8, 0x51, 0xb6, 0xd5, 0x4e, 0x93, 0x39, 0x5e, 0xc0}} return a, nil } @@ -1812,7 +1814,7 @@ func _1680011500_add_album_images_countUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1680011500_add_album_images_count.up.sql", size: 71, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1680011500_add_album_images_count.up.sql", size: 71, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2e, 0x55, 0x99, 0x31, 0xcc, 0x80, 0x78, 0xc3, 0x51, 0x13, 0x63, 0x6f, 0x1a, 0xfd, 0x53, 0xd2, 0xf4, 0x13, 0x4b, 0xb2, 0x4f, 0x99, 0xb8, 0x7b, 0x7, 0x99, 0xb6, 0xab, 0x88, 0x2e, 0x7, 0x8}} return a, nil } @@ -1832,7 +1834,7 @@ func _1680114896_add_index_on_album_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1680114896_add_index_on_album_id.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1680114896_add_index_on_album_id.up.sql", size: 83, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x7e, 0xd5, 0xcd, 0x2d, 0xab, 0xd4, 0x32, 0x26, 0x50, 0x3a, 0x5b, 0x8e, 0x1c, 0xcc, 0x35, 0xf8, 0xa1, 0x2a, 0xc1, 0x23, 0xf6, 0x90, 0xfe, 0x84, 0x3, 0xde, 0x5a, 0xee, 0xc6, 0xfc, 0x2a}} return a, nil } @@ -1852,7 +1854,7 @@ func _1681655289_add_mute_tillUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681655289_add_mute_till.up.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1681655289_add_mute_till.up.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xbe, 0xce, 0xb8, 0xe1, 0x30, 0xe7, 0xa7, 0xe0, 0x7d, 0x97, 0xf4, 0x26, 0xb8, 0x57, 0x1d, 0x2a, 0xed, 0x18, 0xf2, 0xa, 0xe3, 0x77, 0x29, 0x18, 0x55, 0x9, 0x74, 0x2c, 0x24, 0x5a, 0x19}} return a, nil } @@ -1872,7 +1874,7 @@ func _1681934966_add_index_response_toUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1681934966_add_index_response_to.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1681934966_add_index_response_to.up.sql", size: 70, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3b, 0xed, 0xa6, 0x7e, 0x51, 0xf2, 0xa1, 0x3c, 0x78, 0x9a, 0xa7, 0x7a, 0x51, 0x25, 0x7d, 0xdd, 0x4b, 0xf3, 0x45, 0xeb, 0x3f, 0xad, 0x23, 0x3e, 0xac, 0x16, 0x28, 0x62, 0x7, 0x8c, 0xe0, 0xa0}} return a, nil } @@ -1892,7 +1894,7 @@ func _1682528339_add_index_user_messages_unseenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1682528339_add_index_user_messages_unseen.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1682528339_add_index_user_messages_unseen.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x35, 0xfa, 0x98, 0xdd, 0x74, 0x5e, 0x21, 0x1f, 0xf2, 0x56, 0x17, 0x96, 0xfe, 0xbb, 0x44, 0x4c, 0xa1, 0xd8, 0x9f, 0x2e, 0x6, 0x2f, 0xd8, 0x23, 0xec, 0x94, 0x8c, 0x53, 0xf3, 0xf0, 0x40, 0xe7}} return a, nil } @@ -1912,7 +1914,7 @@ func _1683707289_recreate_deleted_for_mesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683707289_recreate_deleted_for_mes.up.sql", size: 408, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1683707289_recreate_deleted_for_mes.up.sql", size: 408, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5b, 0x9d, 0xd6, 0x45, 0x41, 0x29, 0x44, 0xf6, 0x14, 0x38, 0xeb, 0xdf, 0x6b, 0x5d, 0x9c, 0x45, 0x4b, 0xc3, 0xa8, 0xbd, 0x38, 0x14, 0xd9, 0x73, 0xf1, 0x51, 0xbb, 0x9f, 0x14, 0x36, 0xf2, 0x11}} return a, nil } @@ -1932,7 +1934,7 @@ func _1683725607_mark_discord_messages_as_seenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1683725607_mark_discord_messages_as_seen.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1683725607_mark_discord_messages_as_seen.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd7, 0x2a, 0xc3, 0x43, 0xea, 0x5e, 0x3, 0x2e, 0xce, 0x79, 0xea, 0xa5, 0x67, 0x61, 0x8c, 0xe4, 0xb9, 0xb7, 0x4d, 0xd5, 0xd5, 0xb0, 0x35, 0xc8, 0x2b, 0xa0, 0x3f, 0xd8, 0xde, 0xea, 0x4e, 0x16}} return a, nil } @@ -1952,7 +1954,7 @@ func _1684174617_add_url_previews_to_user_messagesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1684174617_add_url_previews_to_user_messages.up.sql", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1684174617_add_url_previews_to_user_messages.up.sql", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xdc, 0xb0, 0x72, 0xe3, 0xe4, 0xa9, 0x63, 0x82, 0xea, 0x52, 0x70, 0xb6, 0xa0, 0x73, 0x55, 0x7a, 0x78, 0xa8, 0xd2, 0xb0, 0xf4, 0x78, 0x8a, 0xd, 0x5a, 0xa2, 0x9d, 0x92, 0xdc, 0xce, 0x1c, 0x71}} return a, nil } @@ -1972,7 +1974,7 @@ func _1684175608_add_token_balancesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1684175608_add_token_balances.up.sql", size: 467, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1684175608_add_token_balances.up.sql", size: 467, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x4e, 0xe0, 0x48, 0x34, 0x1, 0x4d, 0x88, 0x11, 0x54, 0x20, 0x52, 0x5c, 0x57, 0x14, 0xa9, 0xa9, 0x36, 0xa4, 0x28, 0x59, 0x48, 0xa8, 0xa, 0x76, 0xec, 0x37, 0xee, 0x9e, 0xd2, 0x20, 0xaa}} return a, nil } @@ -1992,7 +1994,7 @@ func _1684979808_sync_activity_center_notificationsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1684979808_sync_activity_center_notifications.up.sql", size: 169, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1684979808_sync_activity_center_notifications.up.sql", size: 169, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd8, 0xf5, 0xf7, 0x94, 0xa9, 0xa1, 0x60, 0x26, 0x9d, 0xca, 0x31, 0xf, 0x14, 0xd, 0x70, 0xf8, 0xab, 0x40, 0x29, 0x73, 0x61, 0xbd, 0x1b, 0xb6, 0xc4, 0x31, 0x77, 0x9e, 0x32, 0xa8, 0xce, 0x6d}} return a, nil } @@ -2012,7 +2014,7 @@ func _1685383829_add_communities_mute_tillUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685383829_add_communities_mute_till.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1685383829_add_communities_mute_till.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x58, 0x96, 0xe5, 0x66, 0xcb, 0xde, 0xed, 0x76, 0xb8, 0x5a, 0x86, 0x81, 0x9a, 0x60, 0x51, 0x12, 0x37, 0x54, 0x9a, 0x36, 0x3e, 0xd1, 0x4a, 0xbe, 0x9a, 0xab, 0x20, 0x7f, 0x1d, 0xf4, 0x73}} return a, nil } @@ -2032,7 +2034,7 @@ func _1685964183_add_chainids_to_revealed_addressesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1685964183_add_chainids_to_revealed_addresses.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1685964183_add_chainids_to_revealed_addresses.up.sql", size: 88, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0xb5, 0xa8, 0xd7, 0xad, 0x9c, 0x54, 0xa5, 0xe9, 0xdb, 0x42, 0x2d, 0xd0, 0xd7, 0x22, 0x1, 0x93, 0xf3, 0x4f, 0x53, 0xf7, 0x1e, 0xbe, 0x4b, 0xac, 0xc7, 0x63, 0x15, 0xdf, 0xe0, 0x6, 0xf8}} return a, nil } @@ -2052,7 +2054,7 @@ func _1687370421_add_communities_muted_till_newUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687370421_add_communities_muted_till_new.up.sql", size: 635, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687370421_add_communities_muted_till_new.up.sql", size: 635, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x65, 0x73, 0x96, 0x1d, 0xc8, 0x3e, 0xca, 0xf5, 0xdc, 0xe3, 0xac, 0x3f, 0x9c, 0xc3, 0x67, 0x12, 0x9c, 0x19, 0x1, 0x4, 0x2b, 0xea, 0x6b, 0xe1, 0x59, 0x59, 0x89, 0x3d, 0xef, 0x4a, 0x6e, 0xbe}} return a, nil } @@ -2072,7 +2074,7 @@ func _1687416607_add_communities_check_channel_permission_responses_tableUpSql() return nil, err } - info := bindataFileInfo{name: "1687416607_add_communities_check_channel_permission_responses_table.up.sql", size: 739, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687416607_add_communities_check_channel_permission_responses_table.up.sql", size: 739, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc2, 0x6, 0x3, 0x1a, 0xde, 0x9d, 0xbc, 0x50, 0x9d, 0xf1, 0x6d, 0x5a, 0x1c, 0x28, 0x92, 0x19, 0x89, 0x76, 0x4e, 0x8b, 0x60, 0xa9, 0xf, 0xe9, 0x76, 0xf1, 0xee, 0x75, 0x92, 0xbd, 0xda, 0x72}} return a, nil } @@ -2092,7 +2094,7 @@ func _1687856939_add_community_tokens_decimalsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1687856939_add_community_tokens_decimals.up.sql", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1689667416, 0)} + info := bindataFileInfo{name: "1687856939_add_community_tokens_decimals.up.sql", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x59, 0x76, 0x42, 0x70, 0xc9, 0x7b, 0x16, 0xf6, 0xfe, 0x7, 0x1c, 0x99, 0xe5, 0x38, 0xfd, 0xa0, 0x3b, 0x93, 0x40, 0xbc, 0x66, 0xc2, 0xd1, 0xdd, 0xe9, 0xc7, 0xbf, 0xae, 0x36, 0xcc, 0x46, 0x57}} return a, nil } @@ -2112,7 +2114,7 @@ func _1687959987_modify_community_tokens_supply_as_stringUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1687959987_modify_community_tokens_supply_as_string.up.sql", size: 77, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1687959987_modify_community_tokens_supply_as_string.up.sql", size: 77, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x57, 0x89, 0xbf, 0x9b, 0xed, 0x9b, 0x18, 0x3f, 0x84, 0xb5, 0x3c, 0x78, 0x40, 0x60, 0xea, 0x33, 0x26, 0x50, 0x3, 0xda, 0x28, 0x92, 0xd3, 0xb6, 0xff, 0x40, 0xa7, 0x19, 0x2, 0xa7, 0x17, 0xf9}} return a, nil } @@ -2132,7 +2134,7 @@ func _1689258900_add_airdrop_address_to_revealed_addressesUpSql() (*asset, error return nil, err } - info := bindataFileInfo{name: "1689258900_add_airdrop_address_to_revealed_addresses.up.sql", size: 99, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689258900_add_airdrop_address_to_revealed_addresses.up.sql", size: 99, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x7e, 0xaf, 0x5c, 0xd, 0xe5, 0x1e, 0x67, 0x1a, 0x6d, 0xd, 0x28, 0x20, 0x7a, 0x1a, 0x45, 0x6e, 0xba, 0x80, 0x91, 0xb0, 0xd6, 0xfd, 0xc2, 0xb9, 0x42, 0x5c, 0x8d, 0x6e, 0x3e, 0x6e, 0xb2}} return a, nil } @@ -2152,7 +2154,7 @@ func _1689266326_create_communities_events_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1689266326_create_communities_events_table.up.sql", size: 164, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689266326_create_communities_events_table.up.sql", size: 164, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x4e, 0xe, 0xba, 0x29, 0x16, 0x46, 0x38, 0x19, 0xa4, 0x5, 0x40, 0x46, 0xaf, 0x9a, 0x6, 0x89, 0xe0, 0x9c, 0xcc, 0xec, 0x8a, 0xb, 0x40, 0x85, 0x6f, 0xcc, 0x5, 0x24, 0x2a, 0x33, 0xfa}} return a, nil } @@ -2172,7 +2174,7 @@ func _1689931300_add_community_tokens_deployer_and_priv_levelUpSql() (*asset, er return nil, err } - info := bindataFileInfo{name: "1689931300_add_community_tokens_deployer_and_priv_level.up.sql", size: 156, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1689931300_add_community_tokens_deployer_and_priv_level.up.sql", size: 156, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3f, 0x24, 0xd9, 0x4d, 0xe, 0x4b, 0xe3, 0x4c, 0xd1, 0xc, 0x72, 0xd4, 0x99, 0xe4, 0xb9, 0xb8, 0xe9, 0x38, 0x9e, 0x11, 0x48, 0xea, 0xe3, 0x5d, 0xd9, 0xd0, 0xef, 0x96, 0x38, 0x5a, 0xd4, 0xa5}} return a, nil } @@ -2192,7 +2194,7 @@ func _1693311881_add_unfurled_links_to_message_editsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1693311881_add_unfurled_links_to_message_edits.up.sql", size: 64, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1693311881_add_unfurled_links_to_message_edits.up.sql", size: 64, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0xc7, 0x7c, 0xe4, 0x80, 0x6f, 0xf8, 0x96, 0xb, 0x37, 0xff, 0xa2, 0xab, 0x1c, 0xbd, 0x25, 0x8d, 0x1e, 0x9a, 0x65, 0xe9, 0x45, 0xaf, 0x7f, 0x77, 0x84, 0x1b, 0x10, 0x1b, 0x1a, 0x5, 0xcc}} return a, nil } @@ -2212,7 +2214,7 @@ func _1693311981_community_shardUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1693311981_community_shard.up.sql", size: 156, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1693311981_community_shard.up.sql", size: 156, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x12, 0xf9, 0xde, 0x49, 0x9f, 0x95, 0xaa, 0x22, 0x5e, 0x54, 0x5a, 0x1, 0xd, 0xc6, 0x1f, 0x42, 0x93, 0xe8, 0x69, 0x30, 0x11, 0x69, 0x41, 0x7f, 0x87, 0x57, 0x56, 0x2a, 0x32, 0xb9, 0x3e}} return a, nil } @@ -2232,7 +2234,7 @@ func _1695331492_add_status_link_previewsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1695331492_add_status_link_previews.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1695331492_add_status_link_previews.up.sql", size: 136, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0x7d, 0x6e, 0x86, 0xf0, 0xf8, 0x23, 0x4b, 0x16, 0x3d, 0xca, 0x8f, 0xfc, 0x8, 0x22, 0xd5, 0x70, 0x14, 0xbb, 0xdd, 0xa9, 0xb8, 0x3e, 0xc6, 0x20, 0xfb, 0x0, 0x26, 0x73, 0xcb, 0x92, 0xb2}} return a, nil } @@ -2252,7 +2254,7 @@ func _1695918296_add_validated_atUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1695918296_add_validated_at.up.sql", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1695918296_add_validated_at.up.sql", size: 377, mode: os.FileMode(0644), modTime: time.Unix(1697619674, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0x48, 0xa7, 0xd5, 0xb, 0xbb, 0x23, 0xfd, 0x40, 0x49, 0x33, 0x1b, 0x5c, 0xb3, 0x5b, 0x7a, 0xd8, 0xed, 0x5, 0xd, 0xb4, 0x91, 0xa3, 0x37, 0xaf, 0xaf, 0xc6, 0xa1, 0x13, 0xeb, 0x56, 0x1d}} return a, nil } @@ -2272,7 +2274,7 @@ func _1697699419_community_control_node_syncUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1697699419_community_control_node_sync.up.sql", size: 435, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1697699419_community_control_node_sync.up.sql", size: 435, mode: os.FileMode(0644), modTime: time.Unix(1698342372, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0xd6, 0x63, 0x10, 0x1b, 0x16, 0x35, 0x57, 0xf1, 0x4a, 0x4, 0x51, 0xe0, 0x1, 0xe1, 0xfc, 0x12, 0x3a, 0x10, 0x4f, 0xb1, 0x96, 0x53, 0x2, 0xf5, 0x66, 0x7b, 0xe0, 0x8a, 0xdf, 0x78, 0x53}} return a, nil } @@ -2292,7 +2294,7 @@ func _1698137561_add_profile_showcase_tablesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1698137561_add_profile_showcase_tables.up.sql", size: 440, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1698137561_add_profile_showcase_tables.up.sql", size: 440, mode: os.FileMode(0644), modTime: time.Unix(1698344993, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7c, 0xef, 0x89, 0x68, 0x42, 0xbf, 0xff, 0xb9, 0x8f, 0x8f, 0x19, 0x91, 0xd2, 0x6a, 0x85, 0xda, 0x2c, 0x63, 0x5f, 0x3c, 0x84, 0x4, 0x93, 0x16, 0x10, 0xf0, 0xe0, 0xd9, 0x9b, 0xbe, 0x8d, 0x62}} return a, nil } @@ -2312,7 +2314,7 @@ func _1698137562_fix_encryption_key_idUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1698137562_fix_encryption_key_id.up.sql", size: 758, mode: os.FileMode(0644), modTime: time.Unix(1698663299, 0)} + info := bindataFileInfo{name: "1698137562_fix_encryption_key_id.up.sql", size: 758, mode: os.FileMode(0644), modTime: time.Unix(1698686236, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x61, 0x1b, 0x6a, 0xb1, 0x44, 0x8d, 0x47, 0xde, 0x55, 0x45, 0x77, 0x8e, 0x4f, 0xb, 0x6a, 0x7f, 0x83, 0x56, 0x9c, 0x80, 0xc0, 0xae, 0xda, 0xd8, 0xaf, 0x7e, 0x2b, 0xb4, 0x5e, 0xc3, 0x63}} return a, nil } @@ -2332,11 +2334,31 @@ func _1698414646_add_paddingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1698414646_add_padding.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1698663299, 0)} + info := bindataFileInfo{name: "1698414646_add_padding.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1698686236, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x48, 0x8e, 0x18, 0x1b, 0x81, 0x78, 0xab, 0x42, 0xcb, 0x11, 0xf5, 0xe, 0x44, 0xd4, 0x35, 0x33, 0x4e, 0x8, 0x6f, 0x14, 0x90, 0xe6, 0x2b, 0x59, 0xee, 0x87, 0xb, 0x96, 0x62, 0x3, 0x45}} return a, nil } +var __1698746210_add_signature_to_revealed_addressesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x04\xc0\x41\x0e\x02\x21\x0c\x05\xd0\xbd\xa7\xe8\x3d\x5c\x81\x33\xbb\xea\x24\x06\xd7\x0d\x91\x1f\x53\x23\x10\xdb\xe2\xf9\x7d\x89\xcb\x7e\xa7\x92\x32\xef\xf4\x9c\xbd\xaf\xa1\xa1\x70\x31\x7c\x17\x3c\x5c\x62\xca\x7b\xea\x10\xc3\x0f\xf5\x83\x26\xb5\x35\x83\x3b\x9c\xd2\xb6\xd1\xe5\xe0\xc7\xf5\x46\xae\xaf\x51\x63\x19\x28\xf3\x91\xcf\xa7\x7f\x00\x00\x00\xff\xff\xa0\x4d\x97\x3e\x57\x00\x00\x00") + +func _1698746210_add_signature_to_revealed_addressesUpSqlBytes() ([]byte, error) { + return bindataRead( + __1698746210_add_signature_to_revealed_addressesUpSql, + "1698746210_add_signature_to_revealed_addresses.up.sql", + ) +} + +func _1698746210_add_signature_to_revealed_addressesUpSql() (*asset, error) { + bytes, err := _1698746210_add_signature_to_revealed_addressesUpSqlBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "1698746210_add_signature_to_revealed_addresses.up.sql", size: 87, mode: os.FileMode(0644), modTime: time.Unix(1698746264, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x64, 0xef, 0xe7, 0x5d, 0x82, 0x3e, 0x7d, 0x5a, 0x34, 0xd2, 0xa, 0x5c, 0x48, 0xef, 0x40, 0xb4, 0x7d, 0x78, 0xc8, 0x11, 0xbc, 0xf3, 0xc5, 0x1d, 0xd5, 0xe9, 0x39, 0xd9, 0xfa, 0xc8, 0x27}} + return a, nil +} + var _readmeMd = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x54\x91\xc1\xce\xd3\x30\x10\x84\xef\x7e\x8a\x91\x7a\x01\xa9\x2a\x8f\xc0\x0d\x71\x82\x03\x48\x1c\xc9\x36\x9e\x36\x96\x1c\x6f\xf0\xae\x93\xe6\xed\x91\xa3\xc2\xdf\xff\x66\xed\xd8\x33\xdf\x78\x4f\xa7\x13\xbe\xea\x06\x57\x6c\x35\x39\x31\xa7\x7b\x15\x4f\x5a\xec\x73\x08\xbf\x08\x2d\x79\x7f\x4a\x43\x5b\x86\x17\xfd\x8c\x21\xea\x56\x5e\x47\x90\x4a\x14\x75\x48\xde\x64\x37\x2c\x6a\x96\xae\x99\x48\x05\xf6\x27\x77\x13\xad\x08\xae\x8a\x51\xe7\x25\xf3\xf1\xa9\x9f\xf9\x58\x58\x2c\xad\xbc\xe0\x8b\x56\xf0\x21\x5d\xeb\x4c\x95\xb3\xae\x84\x60\xd4\xdc\xe6\x82\x5d\x1b\x36\x6d\x39\x62\x92\xf5\xb8\x11\xdb\x92\xd3\x28\xce\xe0\x13\xe1\x72\xcd\x3c\x63\xd4\x65\x87\xae\xac\xe8\xc3\x28\x2e\x67\x44\x66\x3a\x21\x25\xa2\x72\xac\x14\x67\xbc\x84\x9f\x53\x32\x8c\x52\x70\x25\x56\xd6\xfd\x8d\x05\x37\xad\x30\x9d\x9f\xa6\x86\x0f\xcd\x58\x7f\xcf\x34\x93\x3b\xed\x90\x9f\xa4\x1f\xcf\x30\x85\x4d\x07\x58\xaf\x7f\x25\xc4\x9d\xf3\x72\x64\x84\xd0\x7f\xf9\x9b\x3a\x2d\x84\xef\x85\x48\x66\x8d\xd8\x88\x9b\x8c\x8c\x98\x5b\xf6\x74\x14\x4e\x33\x0d\xc9\xe0\x93\x38\xda\x12\xc5\x69\xbd\xe4\xf0\x2e\x7a\x78\x07\x1c\xfe\x13\x9f\x91\x29\x31\x95\x7b\x7f\x62\x59\x37\xb4\xe5\x5e\x25\xfe\x33\xee\xd5\x53\x71\xd6\xda\x3a\xd8\xcb\xde\x2e\xf8\xa1\x90\x55\x53\x0c\xc7\xaa\x0d\xe9\x76\x14\x29\x1c\x7b\x68\xdd\x2f\xe1\x6f\x00\x00\x00\xff\xff\x3c\x0a\xc2\xfe\x2a\x02\x00\x00") func readmeMdBytes() ([]byte, error) { @@ -2352,7 +2374,7 @@ func readmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "README.md", size: 554, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "README.md", size: 554, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1c, 0x6e, 0xfb, 0xcc, 0x81, 0x94, 0x4d, 0x8c, 0xa0, 0x3b, 0x5, 0xb0, 0x18, 0xd6, 0xbb, 0xb3, 0x79, 0xc8, 0x8f, 0xff, 0xc1, 0x10, 0xf9, 0xf, 0x20, 0x1b, 0x4a, 0x74, 0x96, 0x42, 0xd7, 0xa8}} return a, nil } @@ -2372,7 +2394,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 850, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 850, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa0, 0xcc, 0x41, 0xe1, 0x61, 0x12, 0x97, 0xe, 0x36, 0x8c, 0xa7, 0x9e, 0xe0, 0x6e, 0x59, 0x9e, 0xee, 0xd5, 0x4a, 0xcf, 0x1e, 0x60, 0xd6, 0xc3, 0x3a, 0xc9, 0x6c, 0xf2, 0x86, 0x5a, 0xb4, 0x1e}} return a, nil } @@ -2468,132 +2490,238 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "000001_init.down.db.sql": _000001_initDownDbSql, - "000001_init.up.db.sql": _000001_initUpDbSql, - "000002_add_last_ens_clock_value.up.sql": _000002_add_last_ens_clock_valueUpSql, - "1586358095_add_replace.up.sql": _1586358095_add_replaceUpSql, - "1588665364_add_image_data.up.sql": _1588665364_add_image_dataUpSql, - "1589365189_add_pow_target.up.sql": _1589365189_add_pow_targetUpSql, - "1591277220_add_index_messages.up.sql": _1591277220_add_index_messagesUpSql, - "1593087212_add_mute_chat_and_raw_message_fields.up.sql": _1593087212_add_mute_chat_and_raw_message_fieldsUpSql, - "1595862781_add_audio_data.up.sql": _1595862781_add_audio_dataUpSql, - "1595865249_create_emoji_reactions_table.up.sql": _1595865249_create_emoji_reactions_tableUpSql, - "1596805115_create_group_chat_invitations_table.up.sql": _1596805115_create_group_chat_invitations_tableUpSql, - "1597322655_add_invitation_admin_chat_field.up.sql": _1597322655_add_invitation_admin_chat_fieldUpSql, - "1597757544_add_nickname.up.sql": _1597757544_add_nicknameUpSql, - "1598955122_add_mentions.up.sql": _1598955122_add_mentionsUpSql, - "1599641390_add_emoji_reactions_index.up.sql": _1599641390_add_emoji_reactions_indexUpSql, - "1599720851_add_seen_index_remove_long_messages.up.sql": _1599720851_add_seen_index_remove_long_messagesUpSql, - "1603198582_add_profile_chat_field.up.sql": _1603198582_add_profile_chat_fieldUpSql, - "1603816533_add_links.up.sql": _1603816533_add_linksUpSql, - "1603888149_create_chat_identity_last_published_table.up.sql": _1603888149_create_chat_identity_last_published_tableUpSql, - "1605075346_add_communities.up.sql": _1605075346_add_communitiesUpSql, - "1610117927_add_message_cache.up.sql": _1610117927_add_message_cacheUpSql, - "1610959908_add_dont_wrap_to_raw_messages.up.sql": _1610959908_add_dont_wrap_to_raw_messagesUpSql, - "1610960912_add_send_on_personal_topic.up.sql": _1610960912_add_send_on_personal_topicUpSql, - "1612870480_add_datasync_id.up.sql": _1612870480_add_datasync_idUpSql, - "1614152139_add_communities_request_to_join.up.sql": _1614152139_add_communities_request_to_joinUpSql, - "1615374373_add_confirmations.up.sql": _1615374373_add_confirmationsUpSql, - "1617694931_add_notification_center.up.sql": _1617694931_add_notification_centerUpSql, - "1618923660_create_pin_messages.up.sql": _1618923660_create_pin_messagesUpSql, - "1619094007_add_joined_chat_field.up.sql": _1619094007_add_joined_chat_fieldUpSql, - "1619099821_add_last_synced_field.up.sql": _1619099821_add_last_synced_fieldUpSql, - "1621933219_add_mentioned.up.sql": _1621933219_add_mentionedUpSql, - "1622010048_add_unviewed_mentions_count.up.sql": _1622010048_add_unviewed_mentions_countUpSql, - "1622061278_add_message_activity_center_notification_field.up.sql": _1622061278_add_message_activity_center_notification_fieldUpSql, - "1622464518_set_synced_to_from.up.sql": _1622464518_set_synced_to_fromUpSql, - "1622464519_add_chat_description.up.sql": _1622464519_add_chat_descriptionUpSql, - "1622622253_add_pinned_by_to_pin_messages.up.sql": _1622622253_add_pinned_by_to_pin_messagesUpSql, - "1623938329_add_author_activity_center_notification_field.up.sql": _1623938329_add_author_activity_center_notification_fieldUpSql, - "1623938330_add_edit_messages.up.sql": _1623938330_add_edit_messagesUpSql, - "1624978434_add_muted_community.up.sql": _1624978434_add_muted_communityUpSql, - "1625018910_add_repply_message_activity_center_notification_field.up.sql": _1625018910_add_repply_message_activity_center_notification_fieldUpSql, - "1625762506_add_deleted_messages.up.sql": _1625762506_add_deleted_messagesUpSql, - "1627388946_add_communities_synced_at.up.sql": _1627388946_add_communities_synced_atUpSql, - "1628280060_create-usermessages-index.sql": _1628280060_createUsermessagesIndexSql, - "1632303896_modify_contacts_table.up.sql": _1632303896_modify_contacts_tableUpSql, - "1633349838_add_emoji_column_in_chats.up.sql": _1633349838_add_emoji_column_in_chatsUpSql, - "1634831235_add_highlight_column_in_chats.up.sql": _1634831235_add_highlight_column_in_chatsUpSql, - "1634896007_add_last_updated_locally_and_removed.up.sql": _1634896007_add_last_updated_locally_and_removedUpSql, - "1635840039_add_clock_read_at_column_in_chats.up.sql": _1635840039_add_clock_read_at_column_in_chatsUpSql, - "1637852321_add_received_invitation_admin_column_in_chats.up.sql": _1637852321_add_received_invitation_admin_column_in_chatsUpSql, - "1645034601_display_name.up.sql": _1645034601_display_nameUpSql, - "1645034602_add_mutual_contact_request.up.sql": _1645034602_add_mutual_contact_requestUpSql, - "1650373957_add_contact_request_state.up.sql": _1650373957_add_contact_request_stateUpSql, - "1656958989_contact_verification.up.sql": _1656958989_contact_verificationUpSql, - "1658236268_add_discord_message_authors_table.up.sql": _1658236268_add_discord_message_authors_tableUpSql, - "1659619997_add_discord_messages_table.up.sql": _1659619997_add_discord_messages_tableUpSql, - "1660226788_create_chat_identity_social_links.up.sql": _1660226788_create_chat_identity_social_linksUpSql, - "1660226789_add_walletconnectsessions_table.up.sql": _1660226789_add_walletconnectsessions_tableUpSql, - "1661242854_add_communities_requests_to_leave.up.sql": _1661242854_add_communities_requests_to_leaveUpSql, - "1662044232_add_chat_image.up.sql": _1662044232_add_chat_imageUpSql, - "1662106895_add_chat_first_message_timestamp.up.sql": _1662106895_add_chat_first_message_timestampUpSql, - "1662723928_add_discord_author_image_fields.up.sql": _1662723928_add_discord_author_image_fieldsUpSql, - "1664195977_add_deleted_for_mes.up.sql": _1664195977_add_deleted_for_mesUpSql, - "1664367420_add_discord_attachments_table.up.sql": _1664367420_add_discord_attachments_tableUpSql, - "1665079662_add_spectated_column_in_communities.up.sql": _1665079662_add_spectated_column_in_communitiesUpSql, - "1665479047_add_community_id_in_notifications.up.sql": _1665479047_add_community_id_in_notificationsUpSql, - "1665484435_add_encrypted_messages.up.sql": _1665484435_add_encrypted_messagesUpSql, - "1665560200_add_contact_verification_individual.up.sql": _1665560200_add_contact_verification_individualUpSql, - "1670921937_add_album_id.up.sql": _1670921937_add_album_idUpSql, - "1673373000_add_replied.up.sql": _1673373000_add_repliedUpSql, - "1673428910_add_image_width_height.up.sql": _1673428910_add_image_width_heightUpSql, - "1674210659_add_contact_request_local_clock.up.sql": _1674210659_add_contact_request_local_clockUpSql, - "1675212323_add_deleted_by.up.sql": _1675212323_add_deleted_byUpSql, - "1675247084_add_activity_center_states.up.sql": _1675247084_add_activity_center_statesUpSql, - "1675272329_fix_protocol_migration.up.sql": _1675272329_fix_protocol_migrationUpSql, - "1676998418_fix_activity_center_migration.up.sql": _1676998418_fix_activity_center_migrationUpSql, - "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql": _1677278861_add_deleted_column_to_activity_center_notifications_tableUpSql, - "1677486338_add_community_tokens_table.up.sql": _1677486338_add_community_tokens_tableUpSql, - "1678292329_add_collapsed_categories.up.sql": _1678292329_add_collapsed_categoriesUpSql, - "1678800760_add_index_to_raw_messages.up.sql": _1678800760_add_index_to_raw_messagesUpSql, - "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql": _1678877478_add_communities_requests_to_join_revealed_addresses_tableUpSql, - "1679326850_add_community_token_owners.up.sql": _1679326850_add_community_token_ownersUpSql, - "1680011500_add_album_images_count.up.sql": _1680011500_add_album_images_countUpSql, - "1680114896_add_index_on_album_id.up.sql": _1680114896_add_index_on_album_idUpSql, - "1681655289_add_mute_till.up.sql": _1681655289_add_mute_tillUpSql, - "1681934966_add_index_response_to.up.sql": _1681934966_add_index_response_toUpSql, - "1682528339_add_index_user_messages_unseen.up.sql": _1682528339_add_index_user_messages_unseenUpSql, - "1683707289_recreate_deleted_for_mes.up.sql": _1683707289_recreate_deleted_for_mesUpSql, - "1683725607_mark_discord_messages_as_seen.up.sql": _1683725607_mark_discord_messages_as_seenUpSql, - "1684174617_add_url_previews_to_user_messages.up.sql": _1684174617_add_url_previews_to_user_messagesUpSql, - "1684175608_add_token_balances.up.sql": _1684175608_add_token_balancesUpSql, - "1684979808_sync_activity_center_notifications.up.sql": _1684979808_sync_activity_center_notificationsUpSql, - "1685383829_add_communities_mute_till.up.sql": _1685383829_add_communities_mute_tillUpSql, - "1685964183_add_chainids_to_revealed_addresses.up.sql": _1685964183_add_chainids_to_revealed_addressesUpSql, - "1687370421_add_communities_muted_till_new.up.sql": _1687370421_add_communities_muted_till_newUpSql, - "1687416607_add_communities_check_channel_permission_responses_table.up.sql": _1687416607_add_communities_check_channel_permission_responses_tableUpSql, - "1687856939_add_community_tokens_decimals.up.sql": _1687856939_add_community_tokens_decimalsUpSql, - "1687959987_modify_community_tokens_supply_as_string.up.sql": _1687959987_modify_community_tokens_supply_as_stringUpSql, - "1689258900_add_airdrop_address_to_revealed_addresses.up.sql": _1689258900_add_airdrop_address_to_revealed_addressesUpSql, - "1689266326_create_communities_events_table.up.sql": _1689266326_create_communities_events_tableUpSql, - "1689931300_add_community_tokens_deployer_and_priv_level.up.sql": _1689931300_add_community_tokens_deployer_and_priv_levelUpSql, - "1693311881_add_unfurled_links_to_message_edits.up.sql": _1693311881_add_unfurled_links_to_message_editsUpSql, - "1693311981_community_shard.up.sql": _1693311981_community_shardUpSql, - "1695331492_add_status_link_previews.up.sql": _1695331492_add_status_link_previewsUpSql, - "1695918296_add_validated_at.up.sql": _1695918296_add_validated_atUpSql, - "1697699419_community_control_node_sync.up.sql": _1697699419_community_control_node_syncUpSql, - "1698137561_add_profile_showcase_tables.up.sql": _1698137561_add_profile_showcase_tablesUpSql, - "1698137562_fix_encryption_key_id.up.sql": _1698137562_fix_encryption_key_idUpSql, - "1698414646_add_padding.up.sql": _1698414646_add_paddingUpSql, - "README.md": readmeMd, - "doc.go": docGo, -} + "000001_init.down.db.sql": _000001_initDownDbSql, -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "000001_init.up.db.sql": _000001_initUpDbSql, + + "000002_add_last_ens_clock_value.up.sql": _000002_add_last_ens_clock_valueUpSql, + + "1586358095_add_replace.up.sql": _1586358095_add_replaceUpSql, + + "1588665364_add_image_data.up.sql": _1588665364_add_image_dataUpSql, + + "1589365189_add_pow_target.up.sql": _1589365189_add_pow_targetUpSql, + + "1591277220_add_index_messages.up.sql": _1591277220_add_index_messagesUpSql, + + "1593087212_add_mute_chat_and_raw_message_fields.up.sql": _1593087212_add_mute_chat_and_raw_message_fieldsUpSql, + + "1595862781_add_audio_data.up.sql": _1595862781_add_audio_dataUpSql, + + "1595865249_create_emoji_reactions_table.up.sql": _1595865249_create_emoji_reactions_tableUpSql, + + "1596805115_create_group_chat_invitations_table.up.sql": _1596805115_create_group_chat_invitations_tableUpSql, + + "1597322655_add_invitation_admin_chat_field.up.sql": _1597322655_add_invitation_admin_chat_fieldUpSql, + + "1597757544_add_nickname.up.sql": _1597757544_add_nicknameUpSql, + + "1598955122_add_mentions.up.sql": _1598955122_add_mentionsUpSql, + + "1599641390_add_emoji_reactions_index.up.sql": _1599641390_add_emoji_reactions_indexUpSql, + + "1599720851_add_seen_index_remove_long_messages.up.sql": _1599720851_add_seen_index_remove_long_messagesUpSql, + + "1603198582_add_profile_chat_field.up.sql": _1603198582_add_profile_chat_fieldUpSql, + + "1603816533_add_links.up.sql": _1603816533_add_linksUpSql, + + "1603888149_create_chat_identity_last_published_table.up.sql": _1603888149_create_chat_identity_last_published_tableUpSql, + + "1605075346_add_communities.up.sql": _1605075346_add_communitiesUpSql, + + "1610117927_add_message_cache.up.sql": _1610117927_add_message_cacheUpSql, + + "1610959908_add_dont_wrap_to_raw_messages.up.sql": _1610959908_add_dont_wrap_to_raw_messagesUpSql, + + "1610960912_add_send_on_personal_topic.up.sql": _1610960912_add_send_on_personal_topicUpSql, + + "1612870480_add_datasync_id.up.sql": _1612870480_add_datasync_idUpSql, + + "1614152139_add_communities_request_to_join.up.sql": _1614152139_add_communities_request_to_joinUpSql, + + "1615374373_add_confirmations.up.sql": _1615374373_add_confirmationsUpSql, + + "1617694931_add_notification_center.up.sql": _1617694931_add_notification_centerUpSql, + + "1618923660_create_pin_messages.up.sql": _1618923660_create_pin_messagesUpSql, + + "1619094007_add_joined_chat_field.up.sql": _1619094007_add_joined_chat_fieldUpSql, + + "1619099821_add_last_synced_field.up.sql": _1619099821_add_last_synced_fieldUpSql, + + "1621933219_add_mentioned.up.sql": _1621933219_add_mentionedUpSql, + + "1622010048_add_unviewed_mentions_count.up.sql": _1622010048_add_unviewed_mentions_countUpSql, + + "1622061278_add_message_activity_center_notification_field.up.sql": _1622061278_add_message_activity_center_notification_fieldUpSql, + + "1622464518_set_synced_to_from.up.sql": _1622464518_set_synced_to_fromUpSql, + + "1622464519_add_chat_description.up.sql": _1622464519_add_chat_descriptionUpSql, + + "1622622253_add_pinned_by_to_pin_messages.up.sql": _1622622253_add_pinned_by_to_pin_messagesUpSql, + + "1623938329_add_author_activity_center_notification_field.up.sql": _1623938329_add_author_activity_center_notification_fieldUpSql, + + "1623938330_add_edit_messages.up.sql": _1623938330_add_edit_messagesUpSql, + + "1624978434_add_muted_community.up.sql": _1624978434_add_muted_communityUpSql, + + "1625018910_add_repply_message_activity_center_notification_field.up.sql": _1625018910_add_repply_message_activity_center_notification_fieldUpSql, + + "1625762506_add_deleted_messages.up.sql": _1625762506_add_deleted_messagesUpSql, + + "1627388946_add_communities_synced_at.up.sql": _1627388946_add_communities_synced_atUpSql, + + "1628280060_create-usermessages-index.sql": _1628280060_createUsermessagesIndexSql, + + "1632303896_modify_contacts_table.up.sql": _1632303896_modify_contacts_tableUpSql, + + "1633349838_add_emoji_column_in_chats.up.sql": _1633349838_add_emoji_column_in_chatsUpSql, + + "1634831235_add_highlight_column_in_chats.up.sql": _1634831235_add_highlight_column_in_chatsUpSql, + + "1634896007_add_last_updated_locally_and_removed.up.sql": _1634896007_add_last_updated_locally_and_removedUpSql, + + "1635840039_add_clock_read_at_column_in_chats.up.sql": _1635840039_add_clock_read_at_column_in_chatsUpSql, + + "1637852321_add_received_invitation_admin_column_in_chats.up.sql": _1637852321_add_received_invitation_admin_column_in_chatsUpSql, + + "1645034601_display_name.up.sql": _1645034601_display_nameUpSql, + + "1645034602_add_mutual_contact_request.up.sql": _1645034602_add_mutual_contact_requestUpSql, + + "1650373957_add_contact_request_state.up.sql": _1650373957_add_contact_request_stateUpSql, + + "1656958989_contact_verification.up.sql": _1656958989_contact_verificationUpSql, + + "1658236268_add_discord_message_authors_table.up.sql": _1658236268_add_discord_message_authors_tableUpSql, + + "1659619997_add_discord_messages_table.up.sql": _1659619997_add_discord_messages_tableUpSql, + + "1660226788_create_chat_identity_social_links.up.sql": _1660226788_create_chat_identity_social_linksUpSql, + + "1660226789_add_walletconnectsessions_table.up.sql": _1660226789_add_walletconnectsessions_tableUpSql, + + "1661242854_add_communities_requests_to_leave.up.sql": _1661242854_add_communities_requests_to_leaveUpSql, + + "1662044232_add_chat_image.up.sql": _1662044232_add_chat_imageUpSql, + + "1662106895_add_chat_first_message_timestamp.up.sql": _1662106895_add_chat_first_message_timestampUpSql, + + "1662723928_add_discord_author_image_fields.up.sql": _1662723928_add_discord_author_image_fieldsUpSql, + + "1664195977_add_deleted_for_mes.up.sql": _1664195977_add_deleted_for_mesUpSql, + + "1664367420_add_discord_attachments_table.up.sql": _1664367420_add_discord_attachments_tableUpSql, + + "1665079662_add_spectated_column_in_communities.up.sql": _1665079662_add_spectated_column_in_communitiesUpSql, + + "1665479047_add_community_id_in_notifications.up.sql": _1665479047_add_community_id_in_notificationsUpSql, + + "1665484435_add_encrypted_messages.up.sql": _1665484435_add_encrypted_messagesUpSql, + + "1665560200_add_contact_verification_individual.up.sql": _1665560200_add_contact_verification_individualUpSql, + + "1670921937_add_album_id.up.sql": _1670921937_add_album_idUpSql, + + "1673373000_add_replied.up.sql": _1673373000_add_repliedUpSql, + + "1673428910_add_image_width_height.up.sql": _1673428910_add_image_width_heightUpSql, + + "1674210659_add_contact_request_local_clock.up.sql": _1674210659_add_contact_request_local_clockUpSql, + + "1675212323_add_deleted_by.up.sql": _1675212323_add_deleted_byUpSql, + + "1675247084_add_activity_center_states.up.sql": _1675247084_add_activity_center_statesUpSql, + + "1675272329_fix_protocol_migration.up.sql": _1675272329_fix_protocol_migrationUpSql, + + "1676998418_fix_activity_center_migration.up.sql": _1676998418_fix_activity_center_migrationUpSql, + + "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql": _1677278861_add_deleted_column_to_activity_center_notifications_tableUpSql, + + "1677486338_add_community_tokens_table.up.sql": _1677486338_add_community_tokens_tableUpSql, + + "1678292329_add_collapsed_categories.up.sql": _1678292329_add_collapsed_categoriesUpSql, + + "1678800760_add_index_to_raw_messages.up.sql": _1678800760_add_index_to_raw_messagesUpSql, + + "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql": _1678877478_add_communities_requests_to_join_revealed_addresses_tableUpSql, + + "1679326850_add_community_token_owners.up.sql": _1679326850_add_community_token_ownersUpSql, + + "1680011500_add_album_images_count.up.sql": _1680011500_add_album_images_countUpSql, + + "1680114896_add_index_on_album_id.up.sql": _1680114896_add_index_on_album_idUpSql, + + "1681655289_add_mute_till.up.sql": _1681655289_add_mute_tillUpSql, + + "1681934966_add_index_response_to.up.sql": _1681934966_add_index_response_toUpSql, + + "1682528339_add_index_user_messages_unseen.up.sql": _1682528339_add_index_user_messages_unseenUpSql, + + "1683707289_recreate_deleted_for_mes.up.sql": _1683707289_recreate_deleted_for_mesUpSql, + + "1683725607_mark_discord_messages_as_seen.up.sql": _1683725607_mark_discord_messages_as_seenUpSql, + + "1684174617_add_url_previews_to_user_messages.up.sql": _1684174617_add_url_previews_to_user_messagesUpSql, + + "1684175608_add_token_balances.up.sql": _1684175608_add_token_balancesUpSql, + + "1684979808_sync_activity_center_notifications.up.sql": _1684979808_sync_activity_center_notificationsUpSql, + + "1685383829_add_communities_mute_till.up.sql": _1685383829_add_communities_mute_tillUpSql, + + "1685964183_add_chainids_to_revealed_addresses.up.sql": _1685964183_add_chainids_to_revealed_addressesUpSql, + + "1687370421_add_communities_muted_till_new.up.sql": _1687370421_add_communities_muted_till_newUpSql, + + "1687416607_add_communities_check_channel_permission_responses_table.up.sql": _1687416607_add_communities_check_channel_permission_responses_tableUpSql, + + "1687856939_add_community_tokens_decimals.up.sql": _1687856939_add_community_tokens_decimalsUpSql, + + "1687959987_modify_community_tokens_supply_as_string.up.sql": _1687959987_modify_community_tokens_supply_as_stringUpSql, + + "1689258900_add_airdrop_address_to_revealed_addresses.up.sql": _1689258900_add_airdrop_address_to_revealed_addressesUpSql, + + "1689266326_create_communities_events_table.up.sql": _1689266326_create_communities_events_tableUpSql, + + "1689931300_add_community_tokens_deployer_and_priv_level.up.sql": _1689931300_add_community_tokens_deployer_and_priv_levelUpSql, + + "1693311881_add_unfurled_links_to_message_edits.up.sql": _1693311881_add_unfurled_links_to_message_editsUpSql, + + "1693311981_community_shard.up.sql": _1693311981_community_shardUpSql, + + "1695331492_add_status_link_previews.up.sql": _1695331492_add_status_link_previewsUpSql, + + "1695918296_add_validated_at.up.sql": _1695918296_add_validated_atUpSql, + + "1697699419_community_control_node_sync.up.sql": _1697699419_community_control_node_syncUpSql, + + "1698137561_add_profile_showcase_tables.up.sql": _1698137561_add_profile_showcase_tablesUpSql, + + "1698137562_fix_encryption_key_id.up.sql": _1698137562_fix_encryption_key_idUpSql, + + "1698414646_add_padding.up.sql": _1698414646_add_paddingUpSql, + + "1698746210_add_signature_to_revealed_addresses.up.sql": _1698746210_add_signature_to_revealed_addressesUpSql, + + "README.md": readmeMd, + + "doc.go": docGo, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -2626,116 +2754,117 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "000001_init.down.db.sql": {_000001_initDownDbSql, map[string]*bintree{}}, - "000001_init.up.db.sql": {_000001_initUpDbSql, map[string]*bintree{}}, - "000002_add_last_ens_clock_value.up.sql": {_000002_add_last_ens_clock_valueUpSql, map[string]*bintree{}}, - "1586358095_add_replace.up.sql": {_1586358095_add_replaceUpSql, map[string]*bintree{}}, - "1588665364_add_image_data.up.sql": {_1588665364_add_image_dataUpSql, map[string]*bintree{}}, - "1589365189_add_pow_target.up.sql": {_1589365189_add_pow_targetUpSql, map[string]*bintree{}}, - "1591277220_add_index_messages.up.sql": {_1591277220_add_index_messagesUpSql, map[string]*bintree{}}, - "1593087212_add_mute_chat_and_raw_message_fields.up.sql": {_1593087212_add_mute_chat_and_raw_message_fieldsUpSql, map[string]*bintree{}}, - "1595862781_add_audio_data.up.sql": {_1595862781_add_audio_dataUpSql, map[string]*bintree{}}, - "1595865249_create_emoji_reactions_table.up.sql": {_1595865249_create_emoji_reactions_tableUpSql, map[string]*bintree{}}, - "1596805115_create_group_chat_invitations_table.up.sql": {_1596805115_create_group_chat_invitations_tableUpSql, map[string]*bintree{}}, - "1597322655_add_invitation_admin_chat_field.up.sql": {_1597322655_add_invitation_admin_chat_fieldUpSql, map[string]*bintree{}}, - "1597757544_add_nickname.up.sql": {_1597757544_add_nicknameUpSql, map[string]*bintree{}}, - "1598955122_add_mentions.up.sql": {_1598955122_add_mentionsUpSql, map[string]*bintree{}}, - "1599641390_add_emoji_reactions_index.up.sql": {_1599641390_add_emoji_reactions_indexUpSql, map[string]*bintree{}}, - "1599720851_add_seen_index_remove_long_messages.up.sql": {_1599720851_add_seen_index_remove_long_messagesUpSql, map[string]*bintree{}}, - "1603198582_add_profile_chat_field.up.sql": {_1603198582_add_profile_chat_fieldUpSql, map[string]*bintree{}}, - "1603816533_add_links.up.sql": {_1603816533_add_linksUpSql, map[string]*bintree{}}, - "1603888149_create_chat_identity_last_published_table.up.sql": {_1603888149_create_chat_identity_last_published_tableUpSql, map[string]*bintree{}}, - "1605075346_add_communities.up.sql": {_1605075346_add_communitiesUpSql, map[string]*bintree{}}, - "1610117927_add_message_cache.up.sql": {_1610117927_add_message_cacheUpSql, map[string]*bintree{}}, - "1610959908_add_dont_wrap_to_raw_messages.up.sql": {_1610959908_add_dont_wrap_to_raw_messagesUpSql, map[string]*bintree{}}, - "1610960912_add_send_on_personal_topic.up.sql": {_1610960912_add_send_on_personal_topicUpSql, map[string]*bintree{}}, - "1612870480_add_datasync_id.up.sql": {_1612870480_add_datasync_idUpSql, map[string]*bintree{}}, - "1614152139_add_communities_request_to_join.up.sql": {_1614152139_add_communities_request_to_joinUpSql, map[string]*bintree{}}, - "1615374373_add_confirmations.up.sql": {_1615374373_add_confirmationsUpSql, map[string]*bintree{}}, - "1617694931_add_notification_center.up.sql": {_1617694931_add_notification_centerUpSql, map[string]*bintree{}}, - "1618923660_create_pin_messages.up.sql": {_1618923660_create_pin_messagesUpSql, map[string]*bintree{}}, - "1619094007_add_joined_chat_field.up.sql": {_1619094007_add_joined_chat_fieldUpSql, map[string]*bintree{}}, - "1619099821_add_last_synced_field.up.sql": {_1619099821_add_last_synced_fieldUpSql, map[string]*bintree{}}, - "1621933219_add_mentioned.up.sql": {_1621933219_add_mentionedUpSql, map[string]*bintree{}}, - "1622010048_add_unviewed_mentions_count.up.sql": {_1622010048_add_unviewed_mentions_countUpSql, map[string]*bintree{}}, - "1622061278_add_message_activity_center_notification_field.up.sql": {_1622061278_add_message_activity_center_notification_fieldUpSql, map[string]*bintree{}}, - "1622464518_set_synced_to_from.up.sql": {_1622464518_set_synced_to_fromUpSql, map[string]*bintree{}}, - "1622464519_add_chat_description.up.sql": {_1622464519_add_chat_descriptionUpSql, map[string]*bintree{}}, - "1622622253_add_pinned_by_to_pin_messages.up.sql": {_1622622253_add_pinned_by_to_pin_messagesUpSql, map[string]*bintree{}}, - "1623938329_add_author_activity_center_notification_field.up.sql": {_1623938329_add_author_activity_center_notification_fieldUpSql, map[string]*bintree{}}, - "1623938330_add_edit_messages.up.sql": {_1623938330_add_edit_messagesUpSql, map[string]*bintree{}}, - "1624978434_add_muted_community.up.sql": {_1624978434_add_muted_communityUpSql, map[string]*bintree{}}, - "1625018910_add_repply_message_activity_center_notification_field.up.sql": {_1625018910_add_repply_message_activity_center_notification_fieldUpSql, map[string]*bintree{}}, - "1625762506_add_deleted_messages.up.sql": {_1625762506_add_deleted_messagesUpSql, map[string]*bintree{}}, - "1627388946_add_communities_synced_at.up.sql": {_1627388946_add_communities_synced_atUpSql, map[string]*bintree{}}, - "1628280060_create-usermessages-index.sql": {_1628280060_createUsermessagesIndexSql, map[string]*bintree{}}, - "1632303896_modify_contacts_table.up.sql": {_1632303896_modify_contacts_tableUpSql, map[string]*bintree{}}, - "1633349838_add_emoji_column_in_chats.up.sql": {_1633349838_add_emoji_column_in_chatsUpSql, map[string]*bintree{}}, - "1634831235_add_highlight_column_in_chats.up.sql": {_1634831235_add_highlight_column_in_chatsUpSql, map[string]*bintree{}}, - "1634896007_add_last_updated_locally_and_removed.up.sql": {_1634896007_add_last_updated_locally_and_removedUpSql, map[string]*bintree{}}, - "1635840039_add_clock_read_at_column_in_chats.up.sql": {_1635840039_add_clock_read_at_column_in_chatsUpSql, map[string]*bintree{}}, - "1637852321_add_received_invitation_admin_column_in_chats.up.sql": {_1637852321_add_received_invitation_admin_column_in_chatsUpSql, map[string]*bintree{}}, - "1645034601_display_name.up.sql": {_1645034601_display_nameUpSql, map[string]*bintree{}}, - "1645034602_add_mutual_contact_request.up.sql": {_1645034602_add_mutual_contact_requestUpSql, map[string]*bintree{}}, - "1650373957_add_contact_request_state.up.sql": {_1650373957_add_contact_request_stateUpSql, map[string]*bintree{}}, - "1656958989_contact_verification.up.sql": {_1656958989_contact_verificationUpSql, map[string]*bintree{}}, - "1658236268_add_discord_message_authors_table.up.sql": {_1658236268_add_discord_message_authors_tableUpSql, map[string]*bintree{}}, - "1659619997_add_discord_messages_table.up.sql": {_1659619997_add_discord_messages_tableUpSql, map[string]*bintree{}}, - "1660226788_create_chat_identity_social_links.up.sql": {_1660226788_create_chat_identity_social_linksUpSql, map[string]*bintree{}}, - "1660226789_add_walletconnectsessions_table.up.sql": {_1660226789_add_walletconnectsessions_tableUpSql, map[string]*bintree{}}, - "1661242854_add_communities_requests_to_leave.up.sql": {_1661242854_add_communities_requests_to_leaveUpSql, map[string]*bintree{}}, - "1662044232_add_chat_image.up.sql": {_1662044232_add_chat_imageUpSql, map[string]*bintree{}}, - "1662106895_add_chat_first_message_timestamp.up.sql": {_1662106895_add_chat_first_message_timestampUpSql, map[string]*bintree{}}, - "1662723928_add_discord_author_image_fields.up.sql": {_1662723928_add_discord_author_image_fieldsUpSql, map[string]*bintree{}}, - "1664195977_add_deleted_for_mes.up.sql": {_1664195977_add_deleted_for_mesUpSql, map[string]*bintree{}}, - "1664367420_add_discord_attachments_table.up.sql": {_1664367420_add_discord_attachments_tableUpSql, map[string]*bintree{}}, - "1665079662_add_spectated_column_in_communities.up.sql": {_1665079662_add_spectated_column_in_communitiesUpSql, map[string]*bintree{}}, - "1665479047_add_community_id_in_notifications.up.sql": {_1665479047_add_community_id_in_notificationsUpSql, map[string]*bintree{}}, - "1665484435_add_encrypted_messages.up.sql": {_1665484435_add_encrypted_messagesUpSql, map[string]*bintree{}}, - "1665560200_add_contact_verification_individual.up.sql": {_1665560200_add_contact_verification_individualUpSql, map[string]*bintree{}}, - "1670921937_add_album_id.up.sql": {_1670921937_add_album_idUpSql, map[string]*bintree{}}, - "1673373000_add_replied.up.sql": {_1673373000_add_repliedUpSql, map[string]*bintree{}}, - "1673428910_add_image_width_height.up.sql": {_1673428910_add_image_width_heightUpSql, map[string]*bintree{}}, - "1674210659_add_contact_request_local_clock.up.sql": {_1674210659_add_contact_request_local_clockUpSql, map[string]*bintree{}}, - "1675212323_add_deleted_by.up.sql": {_1675212323_add_deleted_byUpSql, map[string]*bintree{}}, - "1675247084_add_activity_center_states.up.sql": {_1675247084_add_activity_center_statesUpSql, map[string]*bintree{}}, - "1675272329_fix_protocol_migration.up.sql": {_1675272329_fix_protocol_migrationUpSql, map[string]*bintree{}}, - "1676998418_fix_activity_center_migration.up.sql": {_1676998418_fix_activity_center_migrationUpSql, map[string]*bintree{}}, - "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql": {_1677278861_add_deleted_column_to_activity_center_notifications_tableUpSql, map[string]*bintree{}}, - "1677486338_add_community_tokens_table.up.sql": {_1677486338_add_community_tokens_tableUpSql, map[string]*bintree{}}, - "1678292329_add_collapsed_categories.up.sql": {_1678292329_add_collapsed_categoriesUpSql, map[string]*bintree{}}, - "1678800760_add_index_to_raw_messages.up.sql": {_1678800760_add_index_to_raw_messagesUpSql, map[string]*bintree{}}, - "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql": {_1678877478_add_communities_requests_to_join_revealed_addresses_tableUpSql, map[string]*bintree{}}, - "1679326850_add_community_token_owners.up.sql": {_1679326850_add_community_token_ownersUpSql, map[string]*bintree{}}, - "1680011500_add_album_images_count.up.sql": {_1680011500_add_album_images_countUpSql, map[string]*bintree{}}, - "1680114896_add_index_on_album_id.up.sql": {_1680114896_add_index_on_album_idUpSql, map[string]*bintree{}}, - "1681655289_add_mute_till.up.sql": {_1681655289_add_mute_tillUpSql, map[string]*bintree{}}, - "1681934966_add_index_response_to.up.sql": {_1681934966_add_index_response_toUpSql, map[string]*bintree{}}, - "1682528339_add_index_user_messages_unseen.up.sql": {_1682528339_add_index_user_messages_unseenUpSql, map[string]*bintree{}}, - "1683707289_recreate_deleted_for_mes.up.sql": {_1683707289_recreate_deleted_for_mesUpSql, map[string]*bintree{}}, - "1683725607_mark_discord_messages_as_seen.up.sql": {_1683725607_mark_discord_messages_as_seenUpSql, map[string]*bintree{}}, - "1684174617_add_url_previews_to_user_messages.up.sql": {_1684174617_add_url_previews_to_user_messagesUpSql, map[string]*bintree{}}, - "1684175608_add_token_balances.up.sql": {_1684175608_add_token_balancesUpSql, map[string]*bintree{}}, - "1684979808_sync_activity_center_notifications.up.sql": {_1684979808_sync_activity_center_notificationsUpSql, map[string]*bintree{}}, - "1685383829_add_communities_mute_till.up.sql": {_1685383829_add_communities_mute_tillUpSql, map[string]*bintree{}}, - "1685964183_add_chainids_to_revealed_addresses.up.sql": {_1685964183_add_chainids_to_revealed_addressesUpSql, map[string]*bintree{}}, - "1687370421_add_communities_muted_till_new.up.sql": {_1687370421_add_communities_muted_till_newUpSql, map[string]*bintree{}}, - "1687416607_add_communities_check_channel_permission_responses_table.up.sql": {_1687416607_add_communities_check_channel_permission_responses_tableUpSql, map[string]*bintree{}}, - "1687856939_add_community_tokens_decimals.up.sql": {_1687856939_add_community_tokens_decimalsUpSql, map[string]*bintree{}}, - "1687959987_modify_community_tokens_supply_as_string.up.sql": {_1687959987_modify_community_tokens_supply_as_stringUpSql, map[string]*bintree{}}, - "1689258900_add_airdrop_address_to_revealed_addresses.up.sql": {_1689258900_add_airdrop_address_to_revealed_addressesUpSql, map[string]*bintree{}}, - "1689266326_create_communities_events_table.up.sql": {_1689266326_create_communities_events_tableUpSql, map[string]*bintree{}}, - "1689931300_add_community_tokens_deployer_and_priv_level.up.sql": {_1689931300_add_community_tokens_deployer_and_priv_levelUpSql, map[string]*bintree{}}, - "1693311881_add_unfurled_links_to_message_edits.up.sql": {_1693311881_add_unfurled_links_to_message_editsUpSql, map[string]*bintree{}}, - "1693311981_community_shard.up.sql": {_1693311981_community_shardUpSql, map[string]*bintree{}}, - "1695331492_add_status_link_previews.up.sql": {_1695331492_add_status_link_previewsUpSql, map[string]*bintree{}}, - "1695918296_add_validated_at.up.sql": {_1695918296_add_validated_atUpSql, map[string]*bintree{}}, - "1697699419_community_control_node_sync.up.sql": {_1697699419_community_control_node_syncUpSql, map[string]*bintree{}}, - "1698137561_add_profile_showcase_tables.up.sql": {_1698137561_add_profile_showcase_tablesUpSql, map[string]*bintree{}}, - "1698137562_fix_encryption_key_id.up.sql": {_1698137562_fix_encryption_key_idUpSql, map[string]*bintree{}}, - "1698414646_add_padding.up.sql": {_1698414646_add_paddingUpSql, map[string]*bintree{}}, - "README.md": {readmeMd, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "000001_init.down.db.sql": &bintree{_000001_initDownDbSql, map[string]*bintree{}}, + "000001_init.up.db.sql": &bintree{_000001_initUpDbSql, map[string]*bintree{}}, + "000002_add_last_ens_clock_value.up.sql": &bintree{_000002_add_last_ens_clock_valueUpSql, map[string]*bintree{}}, + "1586358095_add_replace.up.sql": &bintree{_1586358095_add_replaceUpSql, map[string]*bintree{}}, + "1588665364_add_image_data.up.sql": &bintree{_1588665364_add_image_dataUpSql, map[string]*bintree{}}, + "1589365189_add_pow_target.up.sql": &bintree{_1589365189_add_pow_targetUpSql, map[string]*bintree{}}, + "1591277220_add_index_messages.up.sql": &bintree{_1591277220_add_index_messagesUpSql, map[string]*bintree{}}, + "1593087212_add_mute_chat_and_raw_message_fields.up.sql": &bintree{_1593087212_add_mute_chat_and_raw_message_fieldsUpSql, map[string]*bintree{}}, + "1595862781_add_audio_data.up.sql": &bintree{_1595862781_add_audio_dataUpSql, map[string]*bintree{}}, + "1595865249_create_emoji_reactions_table.up.sql": &bintree{_1595865249_create_emoji_reactions_tableUpSql, map[string]*bintree{}}, + "1596805115_create_group_chat_invitations_table.up.sql": &bintree{_1596805115_create_group_chat_invitations_tableUpSql, map[string]*bintree{}}, + "1597322655_add_invitation_admin_chat_field.up.sql": &bintree{_1597322655_add_invitation_admin_chat_fieldUpSql, map[string]*bintree{}}, + "1597757544_add_nickname.up.sql": &bintree{_1597757544_add_nicknameUpSql, map[string]*bintree{}}, + "1598955122_add_mentions.up.sql": &bintree{_1598955122_add_mentionsUpSql, map[string]*bintree{}}, + "1599641390_add_emoji_reactions_index.up.sql": &bintree{_1599641390_add_emoji_reactions_indexUpSql, map[string]*bintree{}}, + "1599720851_add_seen_index_remove_long_messages.up.sql": &bintree{_1599720851_add_seen_index_remove_long_messagesUpSql, map[string]*bintree{}}, + "1603198582_add_profile_chat_field.up.sql": &bintree{_1603198582_add_profile_chat_fieldUpSql, map[string]*bintree{}}, + "1603816533_add_links.up.sql": &bintree{_1603816533_add_linksUpSql, map[string]*bintree{}}, + "1603888149_create_chat_identity_last_published_table.up.sql": &bintree{_1603888149_create_chat_identity_last_published_tableUpSql, map[string]*bintree{}}, + "1605075346_add_communities.up.sql": &bintree{_1605075346_add_communitiesUpSql, map[string]*bintree{}}, + "1610117927_add_message_cache.up.sql": &bintree{_1610117927_add_message_cacheUpSql, map[string]*bintree{}}, + "1610959908_add_dont_wrap_to_raw_messages.up.sql": &bintree{_1610959908_add_dont_wrap_to_raw_messagesUpSql, map[string]*bintree{}}, + "1610960912_add_send_on_personal_topic.up.sql": &bintree{_1610960912_add_send_on_personal_topicUpSql, map[string]*bintree{}}, + "1612870480_add_datasync_id.up.sql": &bintree{_1612870480_add_datasync_idUpSql, map[string]*bintree{}}, + "1614152139_add_communities_request_to_join.up.sql": &bintree{_1614152139_add_communities_request_to_joinUpSql, map[string]*bintree{}}, + "1615374373_add_confirmations.up.sql": &bintree{_1615374373_add_confirmationsUpSql, map[string]*bintree{}}, + "1617694931_add_notification_center.up.sql": &bintree{_1617694931_add_notification_centerUpSql, map[string]*bintree{}}, + "1618923660_create_pin_messages.up.sql": &bintree{_1618923660_create_pin_messagesUpSql, map[string]*bintree{}}, + "1619094007_add_joined_chat_field.up.sql": &bintree{_1619094007_add_joined_chat_fieldUpSql, map[string]*bintree{}}, + "1619099821_add_last_synced_field.up.sql": &bintree{_1619099821_add_last_synced_fieldUpSql, map[string]*bintree{}}, + "1621933219_add_mentioned.up.sql": &bintree{_1621933219_add_mentionedUpSql, map[string]*bintree{}}, + "1622010048_add_unviewed_mentions_count.up.sql": &bintree{_1622010048_add_unviewed_mentions_countUpSql, map[string]*bintree{}}, + "1622061278_add_message_activity_center_notification_field.up.sql": &bintree{_1622061278_add_message_activity_center_notification_fieldUpSql, map[string]*bintree{}}, + "1622464518_set_synced_to_from.up.sql": &bintree{_1622464518_set_synced_to_fromUpSql, map[string]*bintree{}}, + "1622464519_add_chat_description.up.sql": &bintree{_1622464519_add_chat_descriptionUpSql, map[string]*bintree{}}, + "1622622253_add_pinned_by_to_pin_messages.up.sql": &bintree{_1622622253_add_pinned_by_to_pin_messagesUpSql, map[string]*bintree{}}, + "1623938329_add_author_activity_center_notification_field.up.sql": &bintree{_1623938329_add_author_activity_center_notification_fieldUpSql, map[string]*bintree{}}, + "1623938330_add_edit_messages.up.sql": &bintree{_1623938330_add_edit_messagesUpSql, map[string]*bintree{}}, + "1624978434_add_muted_community.up.sql": &bintree{_1624978434_add_muted_communityUpSql, map[string]*bintree{}}, + "1625018910_add_repply_message_activity_center_notification_field.up.sql": &bintree{_1625018910_add_repply_message_activity_center_notification_fieldUpSql, map[string]*bintree{}}, + "1625762506_add_deleted_messages.up.sql": &bintree{_1625762506_add_deleted_messagesUpSql, map[string]*bintree{}}, + "1627388946_add_communities_synced_at.up.sql": &bintree{_1627388946_add_communities_synced_atUpSql, map[string]*bintree{}}, + "1628280060_create-usermessages-index.sql": &bintree{_1628280060_createUsermessagesIndexSql, map[string]*bintree{}}, + "1632303896_modify_contacts_table.up.sql": &bintree{_1632303896_modify_contacts_tableUpSql, map[string]*bintree{}}, + "1633349838_add_emoji_column_in_chats.up.sql": &bintree{_1633349838_add_emoji_column_in_chatsUpSql, map[string]*bintree{}}, + "1634831235_add_highlight_column_in_chats.up.sql": &bintree{_1634831235_add_highlight_column_in_chatsUpSql, map[string]*bintree{}}, + "1634896007_add_last_updated_locally_and_removed.up.sql": &bintree{_1634896007_add_last_updated_locally_and_removedUpSql, map[string]*bintree{}}, + "1635840039_add_clock_read_at_column_in_chats.up.sql": &bintree{_1635840039_add_clock_read_at_column_in_chatsUpSql, map[string]*bintree{}}, + "1637852321_add_received_invitation_admin_column_in_chats.up.sql": &bintree{_1637852321_add_received_invitation_admin_column_in_chatsUpSql, map[string]*bintree{}}, + "1645034601_display_name.up.sql": &bintree{_1645034601_display_nameUpSql, map[string]*bintree{}}, + "1645034602_add_mutual_contact_request.up.sql": &bintree{_1645034602_add_mutual_contact_requestUpSql, map[string]*bintree{}}, + "1650373957_add_contact_request_state.up.sql": &bintree{_1650373957_add_contact_request_stateUpSql, map[string]*bintree{}}, + "1656958989_contact_verification.up.sql": &bintree{_1656958989_contact_verificationUpSql, map[string]*bintree{}}, + "1658236268_add_discord_message_authors_table.up.sql": &bintree{_1658236268_add_discord_message_authors_tableUpSql, map[string]*bintree{}}, + "1659619997_add_discord_messages_table.up.sql": &bintree{_1659619997_add_discord_messages_tableUpSql, map[string]*bintree{}}, + "1660226788_create_chat_identity_social_links.up.sql": &bintree{_1660226788_create_chat_identity_social_linksUpSql, map[string]*bintree{}}, + "1660226789_add_walletconnectsessions_table.up.sql": &bintree{_1660226789_add_walletconnectsessions_tableUpSql, map[string]*bintree{}}, + "1661242854_add_communities_requests_to_leave.up.sql": &bintree{_1661242854_add_communities_requests_to_leaveUpSql, map[string]*bintree{}}, + "1662044232_add_chat_image.up.sql": &bintree{_1662044232_add_chat_imageUpSql, map[string]*bintree{}}, + "1662106895_add_chat_first_message_timestamp.up.sql": &bintree{_1662106895_add_chat_first_message_timestampUpSql, map[string]*bintree{}}, + "1662723928_add_discord_author_image_fields.up.sql": &bintree{_1662723928_add_discord_author_image_fieldsUpSql, map[string]*bintree{}}, + "1664195977_add_deleted_for_mes.up.sql": &bintree{_1664195977_add_deleted_for_mesUpSql, map[string]*bintree{}}, + "1664367420_add_discord_attachments_table.up.sql": &bintree{_1664367420_add_discord_attachments_tableUpSql, map[string]*bintree{}}, + "1665079662_add_spectated_column_in_communities.up.sql": &bintree{_1665079662_add_spectated_column_in_communitiesUpSql, map[string]*bintree{}}, + "1665479047_add_community_id_in_notifications.up.sql": &bintree{_1665479047_add_community_id_in_notificationsUpSql, map[string]*bintree{}}, + "1665484435_add_encrypted_messages.up.sql": &bintree{_1665484435_add_encrypted_messagesUpSql, map[string]*bintree{}}, + "1665560200_add_contact_verification_individual.up.sql": &bintree{_1665560200_add_contact_verification_individualUpSql, map[string]*bintree{}}, + "1670921937_add_album_id.up.sql": &bintree{_1670921937_add_album_idUpSql, map[string]*bintree{}}, + "1673373000_add_replied.up.sql": &bintree{_1673373000_add_repliedUpSql, map[string]*bintree{}}, + "1673428910_add_image_width_height.up.sql": &bintree{_1673428910_add_image_width_heightUpSql, map[string]*bintree{}}, + "1674210659_add_contact_request_local_clock.up.sql": &bintree{_1674210659_add_contact_request_local_clockUpSql, map[string]*bintree{}}, + "1675212323_add_deleted_by.up.sql": &bintree{_1675212323_add_deleted_byUpSql, map[string]*bintree{}}, + "1675247084_add_activity_center_states.up.sql": &bintree{_1675247084_add_activity_center_statesUpSql, map[string]*bintree{}}, + "1675272329_fix_protocol_migration.up.sql": &bintree{_1675272329_fix_protocol_migrationUpSql, map[string]*bintree{}}, + "1676998418_fix_activity_center_migration.up.sql": &bintree{_1676998418_fix_activity_center_migrationUpSql, map[string]*bintree{}}, + "1677278861_add_deleted_column_to_activity_center_notifications_table.up.sql": &bintree{_1677278861_add_deleted_column_to_activity_center_notifications_tableUpSql, map[string]*bintree{}}, + "1677486338_add_community_tokens_table.up.sql": &bintree{_1677486338_add_community_tokens_tableUpSql, map[string]*bintree{}}, + "1678292329_add_collapsed_categories.up.sql": &bintree{_1678292329_add_collapsed_categoriesUpSql, map[string]*bintree{}}, + "1678800760_add_index_to_raw_messages.up.sql": &bintree{_1678800760_add_index_to_raw_messagesUpSql, map[string]*bintree{}}, + "1678877478_add_communities_requests_to_join_revealed_addresses_table.up.sql": &bintree{_1678877478_add_communities_requests_to_join_revealed_addresses_tableUpSql, map[string]*bintree{}}, + "1679326850_add_community_token_owners.up.sql": &bintree{_1679326850_add_community_token_ownersUpSql, map[string]*bintree{}}, + "1680011500_add_album_images_count.up.sql": &bintree{_1680011500_add_album_images_countUpSql, map[string]*bintree{}}, + "1680114896_add_index_on_album_id.up.sql": &bintree{_1680114896_add_index_on_album_idUpSql, map[string]*bintree{}}, + "1681655289_add_mute_till.up.sql": &bintree{_1681655289_add_mute_tillUpSql, map[string]*bintree{}}, + "1681934966_add_index_response_to.up.sql": &bintree{_1681934966_add_index_response_toUpSql, map[string]*bintree{}}, + "1682528339_add_index_user_messages_unseen.up.sql": &bintree{_1682528339_add_index_user_messages_unseenUpSql, map[string]*bintree{}}, + "1683707289_recreate_deleted_for_mes.up.sql": &bintree{_1683707289_recreate_deleted_for_mesUpSql, map[string]*bintree{}}, + "1683725607_mark_discord_messages_as_seen.up.sql": &bintree{_1683725607_mark_discord_messages_as_seenUpSql, map[string]*bintree{}}, + "1684174617_add_url_previews_to_user_messages.up.sql": &bintree{_1684174617_add_url_previews_to_user_messagesUpSql, map[string]*bintree{}}, + "1684175608_add_token_balances.up.sql": &bintree{_1684175608_add_token_balancesUpSql, map[string]*bintree{}}, + "1684979808_sync_activity_center_notifications.up.sql": &bintree{_1684979808_sync_activity_center_notificationsUpSql, map[string]*bintree{}}, + "1685383829_add_communities_mute_till.up.sql": &bintree{_1685383829_add_communities_mute_tillUpSql, map[string]*bintree{}}, + "1685964183_add_chainids_to_revealed_addresses.up.sql": &bintree{_1685964183_add_chainids_to_revealed_addressesUpSql, map[string]*bintree{}}, + "1687370421_add_communities_muted_till_new.up.sql": &bintree{_1687370421_add_communities_muted_till_newUpSql, map[string]*bintree{}}, + "1687416607_add_communities_check_channel_permission_responses_table.up.sql": &bintree{_1687416607_add_communities_check_channel_permission_responses_tableUpSql, map[string]*bintree{}}, + "1687856939_add_community_tokens_decimals.up.sql": &bintree{_1687856939_add_community_tokens_decimalsUpSql, map[string]*bintree{}}, + "1687959987_modify_community_tokens_supply_as_string.up.sql": &bintree{_1687959987_modify_community_tokens_supply_as_stringUpSql, map[string]*bintree{}}, + "1689258900_add_airdrop_address_to_revealed_addresses.up.sql": &bintree{_1689258900_add_airdrop_address_to_revealed_addressesUpSql, map[string]*bintree{}}, + "1689266326_create_communities_events_table.up.sql": &bintree{_1689266326_create_communities_events_tableUpSql, map[string]*bintree{}}, + "1689931300_add_community_tokens_deployer_and_priv_level.up.sql": &bintree{_1689931300_add_community_tokens_deployer_and_priv_levelUpSql, map[string]*bintree{}}, + "1693311881_add_unfurled_links_to_message_edits.up.sql": &bintree{_1693311881_add_unfurled_links_to_message_editsUpSql, map[string]*bintree{}}, + "1693311981_community_shard.up.sql": &bintree{_1693311981_community_shardUpSql, map[string]*bintree{}}, + "1695331492_add_status_link_previews.up.sql": &bintree{_1695331492_add_status_link_previewsUpSql, map[string]*bintree{}}, + "1695918296_add_validated_at.up.sql": &bintree{_1695918296_add_validated_atUpSql, map[string]*bintree{}}, + "1697699419_community_control_node_sync.up.sql": &bintree{_1697699419_community_control_node_syncUpSql, map[string]*bintree{}}, + "1698137561_add_profile_showcase_tables.up.sql": &bintree{_1698137561_add_profile_showcase_tablesUpSql, map[string]*bintree{}}, + "1698137562_fix_encryption_key_id.up.sql": &bintree{_1698137562_fix_encryption_key_idUpSql, map[string]*bintree{}}, + "1698414646_add_padding.up.sql": &bintree{_1698414646_add_paddingUpSql, map[string]*bintree{}}, + "1698746210_add_signature_to_revealed_addresses.up.sql": &bintree{_1698746210_add_signature_to_revealed_addressesUpSql, map[string]*bintree{}}, + "README.md": &bintree{readmeMd, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -2752,7 +2881,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/protocol/migrations/sqlite/1698746210_add_signature_to_revealed_addresses.up.sql b/protocol/migrations/sqlite/1698746210_add_signature_to_revealed_addresses.up.sql new file mode 100644 index 000000000..4f3be5983 --- /dev/null +++ b/protocol/migrations/sqlite/1698746210_add_signature_to_revealed_addresses.up.sql @@ -0,0 +1 @@ +ALTER TABLE communities_requests_to_join_revealed_addresses ADD COLUMN signature BLOB; diff --git a/protocol/protobuf/anon_metrics.pb.go b/protocol/protobuf/anon_metrics.pb.go index 1fd708d64..799226b2f 100644 --- a/protocol/protobuf/anon_metrics.pb.go +++ b/protocol/protobuf/anon_metrics.pb.go @@ -1,32 +1,28 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: anon_metrics.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" + fmt "fmt" + proto "github.com/golang/protobuf/proto" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // AnonymousMetric represents a single metric data point type AnonymousMetric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // id is the unique id of the metric message Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // event is the app metric event type @@ -40,243 +36,153 @@ type AnonymousMetric struct { // session_id is the id of the session the metric was recorded in SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // created_at is the datetime at which the metric was stored in the local db - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AnonymousMetric) Reset() { - *x = AnonymousMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_anon_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AnonymousMetric) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AnonymousMetric) ProtoMessage() {} - -func (x *AnonymousMetric) ProtoReflect() protoreflect.Message { - mi := &file_anon_metrics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AnonymousMetric.ProtoReflect.Descriptor instead. +func (m *AnonymousMetric) Reset() { *m = AnonymousMetric{} } +func (m *AnonymousMetric) String() string { return proto.CompactTextString(m) } +func (*AnonymousMetric) ProtoMessage() {} func (*AnonymousMetric) Descriptor() ([]byte, []int) { - return file_anon_metrics_proto_rawDescGZIP(), []int{0} + return fileDescriptor_4be044a92fa0408c, []int{0} } -func (x *AnonymousMetric) GetId() string { - if x != nil { - return x.Id +func (m *AnonymousMetric) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnonymousMetric.Unmarshal(m, b) +} +func (m *AnonymousMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnonymousMetric.Marshal(b, m, deterministic) +} +func (m *AnonymousMetric) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnonymousMetric.Merge(m, src) +} +func (m *AnonymousMetric) XXX_Size() int { + return xxx_messageInfo_AnonymousMetric.Size(m) +} +func (m *AnonymousMetric) XXX_DiscardUnknown() { + xxx_messageInfo_AnonymousMetric.DiscardUnknown(m) +} + +var xxx_messageInfo_AnonymousMetric proto.InternalMessageInfo + +func (m *AnonymousMetric) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *AnonymousMetric) GetEvent() string { - if x != nil { - return x.Event +func (m *AnonymousMetric) GetEvent() string { + if m != nil { + return m.Event } return "" } -func (x *AnonymousMetric) GetValue() []byte { - if x != nil { - return x.Value +func (m *AnonymousMetric) GetValue() []byte { + if m != nil { + return m.Value } return nil } -func (x *AnonymousMetric) GetAppVersion() string { - if x != nil { - return x.AppVersion +func (m *AnonymousMetric) GetAppVersion() string { + if m != nil { + return m.AppVersion } return "" } -func (x *AnonymousMetric) GetOs() string { - if x != nil { - return x.Os +func (m *AnonymousMetric) GetOs() string { + if m != nil { + return m.Os } return "" } -func (x *AnonymousMetric) GetSessionId() string { - if x != nil { - return x.SessionId +func (m *AnonymousMetric) GetSessionId() string { + if m != nil { + return m.SessionId } return "" } -func (x *AnonymousMetric) GetCreatedAt() *timestamppb.Timestamp { - if x != nil { - return x.CreatedAt +func (m *AnonymousMetric) GetCreatedAt() *timestamppb.Timestamp { + if m != nil { + return m.CreatedAt } return nil } // AnonymousMetricBatch represents a batch of AnonymousMetrics allowing broadcast of AnonymousMetrics with fewer messages type AnonymousMetricBatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // metrics is an array of AnonymousMetric metrics - Metrics []*AnonymousMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` + Metrics []*AnonymousMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AnonymousMetricBatch) Reset() { - *x = AnonymousMetricBatch{} - if protoimpl.UnsafeEnabled { - mi := &file_anon_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AnonymousMetricBatch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AnonymousMetricBatch) ProtoMessage() {} - -func (x *AnonymousMetricBatch) ProtoReflect() protoreflect.Message { - mi := &file_anon_metrics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AnonymousMetricBatch.ProtoReflect.Descriptor instead. +func (m *AnonymousMetricBatch) Reset() { *m = AnonymousMetricBatch{} } +func (m *AnonymousMetricBatch) String() string { return proto.CompactTextString(m) } +func (*AnonymousMetricBatch) ProtoMessage() {} func (*AnonymousMetricBatch) Descriptor() ([]byte, []int) { - return file_anon_metrics_proto_rawDescGZIP(), []int{1} + return fileDescriptor_4be044a92fa0408c, []int{1} } -func (x *AnonymousMetricBatch) GetMetrics() []*AnonymousMetric { - if x != nil { - return x.Metrics +func (m *AnonymousMetricBatch) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AnonymousMetricBatch.Unmarshal(m, b) +} +func (m *AnonymousMetricBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AnonymousMetricBatch.Marshal(b, m, deterministic) +} +func (m *AnonymousMetricBatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnonymousMetricBatch.Merge(m, src) +} +func (m *AnonymousMetricBatch) XXX_Size() int { + return xxx_messageInfo_AnonymousMetricBatch.Size(m) +} +func (m *AnonymousMetricBatch) XXX_DiscardUnknown() { + xxx_messageInfo_AnonymousMetricBatch.DiscardUnknown(m) +} + +var xxx_messageInfo_AnonymousMetricBatch proto.InternalMessageInfo + +func (m *AnonymousMetricBatch) GetMetrics() []*AnonymousMetric { + if m != nil { + return m.Metrics } return nil } -var File_anon_metrics_proto protoreflect.FileDescriptor - -var file_anon_metrics_proto_rawDesc = []byte{ - 0x0a, 0x12, 0x61, 0x6e, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x1f, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xd8, 0x01, 0x0a, 0x0f, 0x41, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73, - 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x4b, 0x0a, 0x14, 0x41, 0x6e, - 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x61, 0x74, - 0x63, 0x68, 0x12, 0x33, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, - 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x07, - 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*AnonymousMetric)(nil), "protobuf.AnonymousMetric") + proto.RegisterType((*AnonymousMetricBatch)(nil), "protobuf.AnonymousMetricBatch") } -var ( - file_anon_metrics_proto_rawDescOnce sync.Once - file_anon_metrics_proto_rawDescData = file_anon_metrics_proto_rawDesc -) - -func file_anon_metrics_proto_rawDescGZIP() []byte { - file_anon_metrics_proto_rawDescOnce.Do(func() { - file_anon_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_anon_metrics_proto_rawDescData) - }) - return file_anon_metrics_proto_rawDescData +func init() { + proto.RegisterFile("anon_metrics.proto", fileDescriptor_4be044a92fa0408c) } -var file_anon_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_anon_metrics_proto_goTypes = []interface{}{ - (*AnonymousMetric)(nil), // 0: protobuf.AnonymousMetric - (*AnonymousMetricBatch)(nil), // 1: protobuf.AnonymousMetricBatch - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp -} -var file_anon_metrics_proto_depIdxs = []int32{ - 2, // 0: protobuf.AnonymousMetric.created_at:type_name -> google.protobuf.Timestamp - 0, // 1: protobuf.AnonymousMetricBatch.metrics:type_name -> protobuf.AnonymousMetric - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_anon_metrics_proto_init() } -func file_anon_metrics_proto_init() { - if File_anon_metrics_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_anon_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnonymousMetric); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_anon_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnonymousMetricBatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_anon_metrics_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_anon_metrics_proto_goTypes, - DependencyIndexes: file_anon_metrics_proto_depIdxs, - MessageInfos: file_anon_metrics_proto_msgTypes, - }.Build() - File_anon_metrics_proto = out.File - file_anon_metrics_proto_rawDesc = nil - file_anon_metrics_proto_goTypes = nil - file_anon_metrics_proto_depIdxs = nil +var fileDescriptor_4be044a92fa0408c = []byte{ + // 269 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x3d, 0x6b, 0xc3, 0x30, + 0x10, 0x86, 0x51, 0xd2, 0x24, 0xf5, 0xb9, 0x1f, 0x20, 0x32, 0xa8, 0x81, 0x12, 0x93, 0xc9, 0x93, + 0x0d, 0xc9, 0x54, 0x3a, 0x25, 0x5b, 0x29, 0x5d, 0x4c, 0xe9, 0xd0, 0xc5, 0x28, 0xb6, 0x9a, 0x0a, + 0x62, 0x9d, 0xb0, 0x64, 0x43, 0xff, 0x69, 0x7f, 0x4e, 0xb1, 0x64, 0x51, 0xc8, 0x24, 0xdd, 0xa3, + 0xf7, 0x5e, 0x78, 0x04, 0x94, 0x2b, 0x54, 0x65, 0x23, 0x6c, 0x2b, 0x2b, 0x93, 0xe9, 0x16, 0x2d, + 0xd2, 0x6b, 0x77, 0x1c, 0xbb, 0xaf, 0xd5, 0xfa, 0x84, 0x78, 0x3a, 0x8b, 0x3c, 0x80, 0xdc, 0xca, + 0x46, 0x18, 0xcb, 0x1b, 0xed, 0xa3, 0x9b, 0x5f, 0x02, 0xf7, 0x7b, 0x85, 0xea, 0xa7, 0xc1, 0xce, + 0xbc, 0xb9, 0x16, 0x7a, 0x07, 0x13, 0x59, 0x33, 0x92, 0x90, 0x34, 0x2a, 0x26, 0xb2, 0xa6, 0x4b, + 0x98, 0x89, 0x5e, 0x28, 0xcb, 0x26, 0x0e, 0xf9, 0x61, 0xa0, 0x3d, 0x3f, 0x77, 0x82, 0x4d, 0x13, + 0x92, 0xde, 0x14, 0x7e, 0xa0, 0x6b, 0x88, 0xb9, 0xd6, 0x65, 0x2f, 0x5a, 0x23, 0x51, 0xb1, 0x2b, + 0xb7, 0x01, 0x5c, 0xeb, 0x0f, 0x4f, 0x86, 0x72, 0x34, 0x6c, 0xe6, 0xcb, 0xd1, 0xd0, 0x47, 0x00, + 0x23, 0xcc, 0xf0, 0x54, 0xca, 0x9a, 0xcd, 0x1d, 0x8f, 0x46, 0xf2, 0x52, 0xd3, 0x27, 0x80, 0xaa, + 0x15, 0xdc, 0x8a, 0xba, 0xe4, 0x96, 0x2d, 0x12, 0x92, 0xc6, 0xdb, 0x55, 0xe6, 0xad, 0xb2, 0x60, + 0x95, 0xbd, 0x07, 0xab, 0x22, 0x1a, 0xd3, 0x7b, 0xbb, 0x79, 0x85, 0xe5, 0x85, 0xd9, 0x81, 0xdb, + 0xea, 0x9b, 0xee, 0x60, 0x31, 0x7e, 0x17, 0x23, 0xc9, 0x34, 0x8d, 0xb7, 0x0f, 0xff, 0x45, 0x17, + 0x0b, 0x45, 0x48, 0x1e, 0x6e, 0x3f, 0xe3, 0x2c, 0x7f, 0x0e, 0xb9, 0xe3, 0xdc, 0xdd, 0x76, 0x7f, + 0x01, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x86, 0xa1, 0x32, 0x7e, 0x01, 0x00, 0x00, } diff --git a/protocol/protobuf/application_metadata_message.pb.go b/protocol/protobuf/application_metadata_message.pb.go index 95891dd1c..2e731b66e 100644 --- a/protocol/protobuf/application_metadata_message.pb.go +++ b/protocol/protobuf/application_metadata_message.pb.go @@ -1,56 +1,54 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: application_metadata_message.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ApplicationMetadataMessage_Type int32 const ( - ApplicationMetadataMessage_UNKNOWN ApplicationMetadataMessage_Type = 0 - ApplicationMetadataMessage_CHAT_MESSAGE ApplicationMetadataMessage_Type = 1 - ApplicationMetadataMessage_CONTACT_UPDATE ApplicationMetadataMessage_Type = 2 - ApplicationMetadataMessage_MEMBERSHIP_UPDATE_MESSAGE ApplicationMetadataMessage_Type = 3 - ApplicationMetadataMessage_SYNC_PAIR_INSTALLATION ApplicationMetadataMessage_Type = 4 - // Deprecated: Marked as deprecated in application_metadata_message.proto. - ApplicationMetadataMessage_DEPRECATED_SYNC_INSTALLATION ApplicationMetadataMessage_Type = 5 - ApplicationMetadataMessage_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 6 - ApplicationMetadataMessage_ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 7 - ApplicationMetadataMessage_DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 8 - ApplicationMetadataMessage_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 9 - ApplicationMetadataMessage_SEND_TRANSACTION ApplicationMetadataMessage_Type = 10 - ApplicationMetadataMessage_DECLINE_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 11 - ApplicationMetadataMessage_SYNC_INSTALLATION_CONTACT_V2 ApplicationMetadataMessage_Type = 12 - ApplicationMetadataMessage_SYNC_INSTALLATION_ACCOUNT ApplicationMetadataMessage_Type = 13 - ApplicationMetadataMessage_CONTACT_CODE_ADVERTISEMENT ApplicationMetadataMessage_Type = 15 - ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION ApplicationMetadataMessage_Type = 16 - ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION_RESPONSE ApplicationMetadataMessage_Type = 17 - ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY ApplicationMetadataMessage_Type = 18 - ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY_RESPONSE ApplicationMetadataMessage_Type = 19 - ApplicationMetadataMessage_PUSH_NOTIFICATION_REQUEST ApplicationMetadataMessage_Type = 20 - ApplicationMetadataMessage_PUSH_NOTIFICATION_RESPONSE ApplicationMetadataMessage_Type = 21 - ApplicationMetadataMessage_EMOJI_REACTION ApplicationMetadataMessage_Type = 22 - ApplicationMetadataMessage_GROUP_CHAT_INVITATION ApplicationMetadataMessage_Type = 23 - ApplicationMetadataMessage_CHAT_IDENTITY ApplicationMetadataMessage_Type = 24 - ApplicationMetadataMessage_COMMUNITY_DESCRIPTION ApplicationMetadataMessage_Type = 25 - // Deprecated: Marked as deprecated in application_metadata_message.proto. - ApplicationMetadataMessage_COMMUNITY_INVITATION ApplicationMetadataMessage_Type = 26 + ApplicationMetadataMessage_UNKNOWN ApplicationMetadataMessage_Type = 0 + ApplicationMetadataMessage_CHAT_MESSAGE ApplicationMetadataMessage_Type = 1 + ApplicationMetadataMessage_CONTACT_UPDATE ApplicationMetadataMessage_Type = 2 + ApplicationMetadataMessage_MEMBERSHIP_UPDATE_MESSAGE ApplicationMetadataMessage_Type = 3 + ApplicationMetadataMessage_SYNC_PAIR_INSTALLATION ApplicationMetadataMessage_Type = 4 + ApplicationMetadataMessage_DEPRECATED_SYNC_INSTALLATION ApplicationMetadataMessage_Type = 5 // Deprecated: Do not use. + ApplicationMetadataMessage_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 6 + ApplicationMetadataMessage_ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 7 + ApplicationMetadataMessage_DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 8 + ApplicationMetadataMessage_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 9 + ApplicationMetadataMessage_SEND_TRANSACTION ApplicationMetadataMessage_Type = 10 + ApplicationMetadataMessage_DECLINE_REQUEST_TRANSACTION ApplicationMetadataMessage_Type = 11 + ApplicationMetadataMessage_SYNC_INSTALLATION_CONTACT_V2 ApplicationMetadataMessage_Type = 12 + ApplicationMetadataMessage_SYNC_INSTALLATION_ACCOUNT ApplicationMetadataMessage_Type = 13 + ApplicationMetadataMessage_CONTACT_CODE_ADVERTISEMENT ApplicationMetadataMessage_Type = 15 + ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION ApplicationMetadataMessage_Type = 16 + ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION_RESPONSE ApplicationMetadataMessage_Type = 17 + ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY ApplicationMetadataMessage_Type = 18 + ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY_RESPONSE ApplicationMetadataMessage_Type = 19 + ApplicationMetadataMessage_PUSH_NOTIFICATION_REQUEST ApplicationMetadataMessage_Type = 20 + ApplicationMetadataMessage_PUSH_NOTIFICATION_RESPONSE ApplicationMetadataMessage_Type = 21 + ApplicationMetadataMessage_EMOJI_REACTION ApplicationMetadataMessage_Type = 22 + ApplicationMetadataMessage_GROUP_CHAT_INVITATION ApplicationMetadataMessage_Type = 23 + ApplicationMetadataMessage_CHAT_IDENTITY ApplicationMetadataMessage_Type = 24 + ApplicationMetadataMessage_COMMUNITY_DESCRIPTION ApplicationMetadataMessage_Type = 25 + ApplicationMetadataMessage_COMMUNITY_INVITATION ApplicationMetadataMessage_Type = 26 // Deprecated: Do not use. ApplicationMetadataMessage_COMMUNITY_REQUEST_TO_JOIN ApplicationMetadataMessage_Type = 27 ApplicationMetadataMessage_PIN_MESSAGE ApplicationMetadataMessage_Type = 28 ApplicationMetadataMessage_EDIT_MESSAGE ApplicationMetadataMessage_Type = 29 @@ -102,484 +100,308 @@ const ( ApplicationMetadataMessage_SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION ApplicationMetadataMessage_Type = 77 ) -// Enum value maps for ApplicationMetadataMessage_Type. -var ( - ApplicationMetadataMessage_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CHAT_MESSAGE", - 2: "CONTACT_UPDATE", - 3: "MEMBERSHIP_UPDATE_MESSAGE", - 4: "SYNC_PAIR_INSTALLATION", - 5: "DEPRECATED_SYNC_INSTALLATION", - 6: "REQUEST_ADDRESS_FOR_TRANSACTION", - 7: "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION", - 8: "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION", - 9: "REQUEST_TRANSACTION", - 10: "SEND_TRANSACTION", - 11: "DECLINE_REQUEST_TRANSACTION", - 12: "SYNC_INSTALLATION_CONTACT_V2", - 13: "SYNC_INSTALLATION_ACCOUNT", - 15: "CONTACT_CODE_ADVERTISEMENT", - 16: "PUSH_NOTIFICATION_REGISTRATION", - 17: "PUSH_NOTIFICATION_REGISTRATION_RESPONSE", - 18: "PUSH_NOTIFICATION_QUERY", - 19: "PUSH_NOTIFICATION_QUERY_RESPONSE", - 20: "PUSH_NOTIFICATION_REQUEST", - 21: "PUSH_NOTIFICATION_RESPONSE", - 22: "EMOJI_REACTION", - 23: "GROUP_CHAT_INVITATION", - 24: "CHAT_IDENTITY", - 25: "COMMUNITY_DESCRIPTION", - 26: "COMMUNITY_INVITATION", - 27: "COMMUNITY_REQUEST_TO_JOIN", - 28: "PIN_MESSAGE", - 29: "EDIT_MESSAGE", - 30: "STATUS_UPDATE", - 31: "DELETE_MESSAGE", - 32: "SYNC_INSTALLATION_COMMUNITY", - 33: "ANONYMOUS_METRIC_BATCH", - 34: "SYNC_CHAT_REMOVED", - 35: "SYNC_CHAT_MESSAGES_READ", - 36: "BACKUP", - 37: "SYNC_ACTIVITY_CENTER_READ", - 38: "SYNC_ACTIVITY_CENTER_ACCEPTED", - 39: "SYNC_ACTIVITY_CENTER_DISMISSED", - 40: "SYNC_BOOKMARK", - 41: "SYNC_CLEAR_HISTORY", - 42: "SYNC_SETTING", - 43: "COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK", - 44: "SYNC_PROFILE_PICTURES", - 45: "SYNC_ACCOUNT", - 46: "ACCEPT_CONTACT_REQUEST", - 47: "RETRACT_CONTACT_REQUEST", - 48: "COMMUNITY_REQUEST_TO_JOIN_RESPONSE", - 49: "SYNC_COMMUNITY_SETTINGS", - 50: "REQUEST_CONTACT_VERIFICATION", - 51: "ACCEPT_CONTACT_VERIFICATION", - 52: "DECLINE_CONTACT_VERIFICATION", - 53: "SYNC_TRUSTED_USER", - 54: "SYNC_VERIFICATION_REQUEST", - 56: "SYNC_CONTACT_REQUEST_DECISION", - 57: "COMMUNITY_REQUEST_TO_LEAVE", - 58: "SYNC_DELETE_FOR_ME_MESSAGE", - 59: "SYNC_SAVED_ADDRESS", - 60: "COMMUNITY_CANCEL_REQUEST_TO_JOIN", - 61: "CANCEL_CONTACT_VERIFICATION", - 62: "SYNC_KEYPAIR", - 63: "SYNC_SOCIAL_LINKS", - 64: "SYNC_ENS_USERNAME_DETAIL", - 66: "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE", - 67: "COMMUNITY_EVENTS_MESSAGE", - 68: "COMMUNITY_EDIT_SHARED_ADDRESSES", - 69: "SYNC_ACCOUNT_CUSTOMIZATION_COLOR", - 70: "SYNC_ACCOUNTS_POSITIONS", - 71: "COMMUNITY_EVENTS_MESSAGE_REJECTED", - 72: "COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE", - 73: "COMMUNITY_SHARD_KEY", - 74: "SYNC_CHAT", - 75: "SYNC_ACTIVITY_CENTER_DELETED", - 76: "SYNC_ACTIVITY_CENTER_UNREAD", - 77: "SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION", - } - ApplicationMetadataMessage_Type_value = map[string]int32{ - "UNKNOWN": 0, - "CHAT_MESSAGE": 1, - "CONTACT_UPDATE": 2, - "MEMBERSHIP_UPDATE_MESSAGE": 3, - "SYNC_PAIR_INSTALLATION": 4, - "DEPRECATED_SYNC_INSTALLATION": 5, - "REQUEST_ADDRESS_FOR_TRANSACTION": 6, - "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION": 7, - "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION": 8, - "REQUEST_TRANSACTION": 9, - "SEND_TRANSACTION": 10, - "DECLINE_REQUEST_TRANSACTION": 11, - "SYNC_INSTALLATION_CONTACT_V2": 12, - "SYNC_INSTALLATION_ACCOUNT": 13, - "CONTACT_CODE_ADVERTISEMENT": 15, - "PUSH_NOTIFICATION_REGISTRATION": 16, - "PUSH_NOTIFICATION_REGISTRATION_RESPONSE": 17, - "PUSH_NOTIFICATION_QUERY": 18, - "PUSH_NOTIFICATION_QUERY_RESPONSE": 19, - "PUSH_NOTIFICATION_REQUEST": 20, - "PUSH_NOTIFICATION_RESPONSE": 21, - "EMOJI_REACTION": 22, - "GROUP_CHAT_INVITATION": 23, - "CHAT_IDENTITY": 24, - "COMMUNITY_DESCRIPTION": 25, - "COMMUNITY_INVITATION": 26, - "COMMUNITY_REQUEST_TO_JOIN": 27, - "PIN_MESSAGE": 28, - "EDIT_MESSAGE": 29, - "STATUS_UPDATE": 30, - "DELETE_MESSAGE": 31, - "SYNC_INSTALLATION_COMMUNITY": 32, - "ANONYMOUS_METRIC_BATCH": 33, - "SYNC_CHAT_REMOVED": 34, - "SYNC_CHAT_MESSAGES_READ": 35, - "BACKUP": 36, - "SYNC_ACTIVITY_CENTER_READ": 37, - "SYNC_ACTIVITY_CENTER_ACCEPTED": 38, - "SYNC_ACTIVITY_CENTER_DISMISSED": 39, - "SYNC_BOOKMARK": 40, - "SYNC_CLEAR_HISTORY": 41, - "SYNC_SETTING": 42, - "COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK": 43, - "SYNC_PROFILE_PICTURES": 44, - "SYNC_ACCOUNT": 45, - "ACCEPT_CONTACT_REQUEST": 46, - "RETRACT_CONTACT_REQUEST": 47, - "COMMUNITY_REQUEST_TO_JOIN_RESPONSE": 48, - "SYNC_COMMUNITY_SETTINGS": 49, - "REQUEST_CONTACT_VERIFICATION": 50, - "ACCEPT_CONTACT_VERIFICATION": 51, - "DECLINE_CONTACT_VERIFICATION": 52, - "SYNC_TRUSTED_USER": 53, - "SYNC_VERIFICATION_REQUEST": 54, - "SYNC_CONTACT_REQUEST_DECISION": 56, - "COMMUNITY_REQUEST_TO_LEAVE": 57, - "SYNC_DELETE_FOR_ME_MESSAGE": 58, - "SYNC_SAVED_ADDRESS": 59, - "COMMUNITY_CANCEL_REQUEST_TO_JOIN": 60, - "CANCEL_CONTACT_VERIFICATION": 61, - "SYNC_KEYPAIR": 62, - "SYNC_SOCIAL_LINKS": 63, - "SYNC_ENS_USERNAME_DETAIL": 64, - "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE": 66, - "COMMUNITY_EVENTS_MESSAGE": 67, - "COMMUNITY_EDIT_SHARED_ADDRESSES": 68, - "SYNC_ACCOUNT_CUSTOMIZATION_COLOR": 69, - "SYNC_ACCOUNTS_POSITIONS": 70, - "COMMUNITY_EVENTS_MESSAGE_REJECTED": 71, - "COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE": 72, - "COMMUNITY_SHARD_KEY": 73, - "SYNC_CHAT": 74, - "SYNC_ACTIVITY_CENTER_DELETED": 75, - "SYNC_ACTIVITY_CENTER_UNREAD": 76, - "SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION": 77, - } -) +var ApplicationMetadataMessage_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CHAT_MESSAGE", + 2: "CONTACT_UPDATE", + 3: "MEMBERSHIP_UPDATE_MESSAGE", + 4: "SYNC_PAIR_INSTALLATION", + 5: "DEPRECATED_SYNC_INSTALLATION", + 6: "REQUEST_ADDRESS_FOR_TRANSACTION", + 7: "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION", + 8: "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION", + 9: "REQUEST_TRANSACTION", + 10: "SEND_TRANSACTION", + 11: "DECLINE_REQUEST_TRANSACTION", + 12: "SYNC_INSTALLATION_CONTACT_V2", + 13: "SYNC_INSTALLATION_ACCOUNT", + 15: "CONTACT_CODE_ADVERTISEMENT", + 16: "PUSH_NOTIFICATION_REGISTRATION", + 17: "PUSH_NOTIFICATION_REGISTRATION_RESPONSE", + 18: "PUSH_NOTIFICATION_QUERY", + 19: "PUSH_NOTIFICATION_QUERY_RESPONSE", + 20: "PUSH_NOTIFICATION_REQUEST", + 21: "PUSH_NOTIFICATION_RESPONSE", + 22: "EMOJI_REACTION", + 23: "GROUP_CHAT_INVITATION", + 24: "CHAT_IDENTITY", + 25: "COMMUNITY_DESCRIPTION", + 26: "COMMUNITY_INVITATION", + 27: "COMMUNITY_REQUEST_TO_JOIN", + 28: "PIN_MESSAGE", + 29: "EDIT_MESSAGE", + 30: "STATUS_UPDATE", + 31: "DELETE_MESSAGE", + 32: "SYNC_INSTALLATION_COMMUNITY", + 33: "ANONYMOUS_METRIC_BATCH", + 34: "SYNC_CHAT_REMOVED", + 35: "SYNC_CHAT_MESSAGES_READ", + 36: "BACKUP", + 37: "SYNC_ACTIVITY_CENTER_READ", + 38: "SYNC_ACTIVITY_CENTER_ACCEPTED", + 39: "SYNC_ACTIVITY_CENTER_DISMISSED", + 40: "SYNC_BOOKMARK", + 41: "SYNC_CLEAR_HISTORY", + 42: "SYNC_SETTING", + 43: "COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK", + 44: "SYNC_PROFILE_PICTURES", + 45: "SYNC_ACCOUNT", + 46: "ACCEPT_CONTACT_REQUEST", + 47: "RETRACT_CONTACT_REQUEST", + 48: "COMMUNITY_REQUEST_TO_JOIN_RESPONSE", + 49: "SYNC_COMMUNITY_SETTINGS", + 50: "REQUEST_CONTACT_VERIFICATION", + 51: "ACCEPT_CONTACT_VERIFICATION", + 52: "DECLINE_CONTACT_VERIFICATION", + 53: "SYNC_TRUSTED_USER", + 54: "SYNC_VERIFICATION_REQUEST", + 56: "SYNC_CONTACT_REQUEST_DECISION", + 57: "COMMUNITY_REQUEST_TO_LEAVE", + 58: "SYNC_DELETE_FOR_ME_MESSAGE", + 59: "SYNC_SAVED_ADDRESS", + 60: "COMMUNITY_CANCEL_REQUEST_TO_JOIN", + 61: "CANCEL_CONTACT_VERIFICATION", + 62: "SYNC_KEYPAIR", + 63: "SYNC_SOCIAL_LINKS", + 64: "SYNC_ENS_USERNAME_DETAIL", + 66: "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE", + 67: "COMMUNITY_EVENTS_MESSAGE", + 68: "COMMUNITY_EDIT_SHARED_ADDRESSES", + 69: "SYNC_ACCOUNT_CUSTOMIZATION_COLOR", + 70: "SYNC_ACCOUNTS_POSITIONS", + 71: "COMMUNITY_EVENTS_MESSAGE_REJECTED", + 72: "COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE", + 73: "COMMUNITY_SHARD_KEY", + 74: "SYNC_CHAT", + 75: "SYNC_ACTIVITY_CENTER_DELETED", + 76: "SYNC_ACTIVITY_CENTER_UNREAD", + 77: "SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION", +} -func (x ApplicationMetadataMessage_Type) Enum() *ApplicationMetadataMessage_Type { - p := new(ApplicationMetadataMessage_Type) - *p = x - return p +var ApplicationMetadataMessage_Type_value = map[string]int32{ + "UNKNOWN": 0, + "CHAT_MESSAGE": 1, + "CONTACT_UPDATE": 2, + "MEMBERSHIP_UPDATE_MESSAGE": 3, + "SYNC_PAIR_INSTALLATION": 4, + "DEPRECATED_SYNC_INSTALLATION": 5, + "REQUEST_ADDRESS_FOR_TRANSACTION": 6, + "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION": 7, + "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION": 8, + "REQUEST_TRANSACTION": 9, + "SEND_TRANSACTION": 10, + "DECLINE_REQUEST_TRANSACTION": 11, + "SYNC_INSTALLATION_CONTACT_V2": 12, + "SYNC_INSTALLATION_ACCOUNT": 13, + "CONTACT_CODE_ADVERTISEMENT": 15, + "PUSH_NOTIFICATION_REGISTRATION": 16, + "PUSH_NOTIFICATION_REGISTRATION_RESPONSE": 17, + "PUSH_NOTIFICATION_QUERY": 18, + "PUSH_NOTIFICATION_QUERY_RESPONSE": 19, + "PUSH_NOTIFICATION_REQUEST": 20, + "PUSH_NOTIFICATION_RESPONSE": 21, + "EMOJI_REACTION": 22, + "GROUP_CHAT_INVITATION": 23, + "CHAT_IDENTITY": 24, + "COMMUNITY_DESCRIPTION": 25, + "COMMUNITY_INVITATION": 26, + "COMMUNITY_REQUEST_TO_JOIN": 27, + "PIN_MESSAGE": 28, + "EDIT_MESSAGE": 29, + "STATUS_UPDATE": 30, + "DELETE_MESSAGE": 31, + "SYNC_INSTALLATION_COMMUNITY": 32, + "ANONYMOUS_METRIC_BATCH": 33, + "SYNC_CHAT_REMOVED": 34, + "SYNC_CHAT_MESSAGES_READ": 35, + "BACKUP": 36, + "SYNC_ACTIVITY_CENTER_READ": 37, + "SYNC_ACTIVITY_CENTER_ACCEPTED": 38, + "SYNC_ACTIVITY_CENTER_DISMISSED": 39, + "SYNC_BOOKMARK": 40, + "SYNC_CLEAR_HISTORY": 41, + "SYNC_SETTING": 42, + "COMMUNITY_MESSAGE_ARCHIVE_MAGNETLINK": 43, + "SYNC_PROFILE_PICTURES": 44, + "SYNC_ACCOUNT": 45, + "ACCEPT_CONTACT_REQUEST": 46, + "RETRACT_CONTACT_REQUEST": 47, + "COMMUNITY_REQUEST_TO_JOIN_RESPONSE": 48, + "SYNC_COMMUNITY_SETTINGS": 49, + "REQUEST_CONTACT_VERIFICATION": 50, + "ACCEPT_CONTACT_VERIFICATION": 51, + "DECLINE_CONTACT_VERIFICATION": 52, + "SYNC_TRUSTED_USER": 53, + "SYNC_VERIFICATION_REQUEST": 54, + "SYNC_CONTACT_REQUEST_DECISION": 56, + "COMMUNITY_REQUEST_TO_LEAVE": 57, + "SYNC_DELETE_FOR_ME_MESSAGE": 58, + "SYNC_SAVED_ADDRESS": 59, + "COMMUNITY_CANCEL_REQUEST_TO_JOIN": 60, + "CANCEL_CONTACT_VERIFICATION": 61, + "SYNC_KEYPAIR": 62, + "SYNC_SOCIAL_LINKS": 63, + "SYNC_ENS_USERNAME_DETAIL": 64, + "SYNC_ACTIVITY_CENTER_NOTIFICATION_STATE": 66, + "COMMUNITY_EVENTS_MESSAGE": 67, + "COMMUNITY_EDIT_SHARED_ADDRESSES": 68, + "SYNC_ACCOUNT_CUSTOMIZATION_COLOR": 69, + "SYNC_ACCOUNTS_POSITIONS": 70, + "COMMUNITY_EVENTS_MESSAGE_REJECTED": 71, + "COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE": 72, + "COMMUNITY_SHARD_KEY": 73, + "SYNC_CHAT": 74, + "SYNC_ACTIVITY_CENTER_DELETED": 75, + "SYNC_ACTIVITY_CENTER_UNREAD": 76, + "SYNC_ACTIVITY_CENTER_COMMUNITY_REQUEST_DECISION": 77, } func (x ApplicationMetadataMessage_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(ApplicationMetadataMessage_Type_name, int32(x)) } -func (ApplicationMetadataMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_application_metadata_message_proto_enumTypes[0].Descriptor() -} - -func (ApplicationMetadataMessage_Type) Type() protoreflect.EnumType { - return &file_application_metadata_message_proto_enumTypes[0] -} - -func (x ApplicationMetadataMessage_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ApplicationMetadataMessage_Type.Descriptor instead. func (ApplicationMetadataMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_application_metadata_message_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_ad09a6406fcf24c7, []int{0, 0} } type ApplicationMetadataMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Signature of the payload field Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // This is the encoded protobuf of the application level message, i.e ChatMessage Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // The type of protobuf message sent - Type ApplicationMetadataMessage_Type `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"type,omitempty"` + Type ApplicationMetadataMessage_Type `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ApplicationMetadataMessage) Reset() { - *x = ApplicationMetadataMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_application_metadata_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplicationMetadataMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplicationMetadataMessage) ProtoMessage() {} - -func (x *ApplicationMetadataMessage) ProtoReflect() protoreflect.Message { - mi := &file_application_metadata_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplicationMetadataMessage.ProtoReflect.Descriptor instead. +func (m *ApplicationMetadataMessage) Reset() { *m = ApplicationMetadataMessage{} } +func (m *ApplicationMetadataMessage) String() string { return proto.CompactTextString(m) } +func (*ApplicationMetadataMessage) ProtoMessage() {} func (*ApplicationMetadataMessage) Descriptor() ([]byte, []int) { - return file_application_metadata_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_ad09a6406fcf24c7, []int{0} } -func (x *ApplicationMetadataMessage) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *ApplicationMetadataMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplicationMetadataMessage.Unmarshal(m, b) +} +func (m *ApplicationMetadataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplicationMetadataMessage.Marshal(b, m, deterministic) +} +func (m *ApplicationMetadataMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplicationMetadataMessage.Merge(m, src) +} +func (m *ApplicationMetadataMessage) XXX_Size() int { + return xxx_messageInfo_ApplicationMetadataMessage.Size(m) +} +func (m *ApplicationMetadataMessage) XXX_DiscardUnknown() { + xxx_messageInfo_ApplicationMetadataMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplicationMetadataMessage proto.InternalMessageInfo + +func (m *ApplicationMetadataMessage) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *ApplicationMetadataMessage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *ApplicationMetadataMessage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *ApplicationMetadataMessage) GetType() ApplicationMetadataMessage_Type { - if x != nil { - return x.Type +func (m *ApplicationMetadataMessage) GetType() ApplicationMetadataMessage_Type { + if m != nil { + return m.Type } return ApplicationMetadataMessage_UNKNOWN } -var File_application_metadata_message_proto protoreflect.FileDescriptor - -var file_application_metadata_message_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xa4, - 0x13, 0x0a, 0x1a, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x22, 0x8e, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, - 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x48, - 0x41, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, - 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, - 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x48, 0x49, 0x50, 0x5f, 0x55, - 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, - 0x1a, 0x0a, 0x16, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x50, 0x41, 0x49, 0x52, 0x5f, 0x49, 0x4e, 0x53, - 0x54, 0x41, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x1c, 0x44, - 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, - 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x1a, 0x02, 0x08, - 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, - 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, - 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x2a, 0x0a, 0x26, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, - 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, - 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, - 0x10, 0x07, 0x12, 0x2b, 0x0a, 0x27, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x45, - 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x4f, - 0x52, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x08, 0x12, - 0x17, 0x0a, 0x13, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x4e, 0x44, - 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x1f, - 0x0a, 0x1b, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, - 0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12, - 0x20, 0x0a, 0x1c, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x32, 0x10, - 0x0c, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, - 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x0d, - 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4f, 0x44, 0x45, - 0x5f, 0x41, 0x44, 0x56, 0x45, 0x52, 0x54, 0x49, 0x53, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x0f, - 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x2b, 0x0a, 0x27, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, - 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, - 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, - 0x11, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, - 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x12, 0x12, 0x24, - 0x0a, 0x20, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, - 0x53, 0x45, 0x10, 0x13, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, - 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, - 0x54, 0x10, 0x14, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, - 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, - 0x45, 0x10, 0x15, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4d, 0x4f, 0x4a, 0x49, 0x5f, 0x52, 0x45, 0x41, - 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x16, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x52, 0x4f, 0x55, 0x50, - 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x10, 0x17, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, - 0x49, 0x54, 0x59, 0x10, 0x18, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, - 0x54, 0x59, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x19, - 0x12, 0x1c, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x49, 0x4e, - 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x1a, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x1d, - 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, - 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x1b, 0x12, 0x0f, 0x0a, - 0x0b, 0x50, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x1c, 0x12, 0x10, - 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x1d, - 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, - 0x45, 0x10, 0x1e, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x4d, 0x45, - 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x1f, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x59, 0x4e, 0x43, 0x5f, - 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, - 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x10, 0x20, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x4e, 0x4f, 0x4e, - 0x59, 0x4d, 0x4f, 0x55, 0x53, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x42, 0x41, 0x54, - 0x43, 0x48, 0x10, 0x21, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x48, 0x41, - 0x54, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x22, 0x12, 0x1b, 0x0a, 0x17, 0x53, - 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, - 0x53, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x23, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x43, 0x4b, - 0x55, 0x50, 0x10, 0x24, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, - 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, - 0x44, 0x10, 0x25, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, - 0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x43, 0x45, - 0x50, 0x54, 0x45, 0x44, 0x10, 0x26, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, - 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x44, - 0x49, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x45, 0x44, 0x10, 0x27, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x59, - 0x4e, 0x43, 0x5f, 0x42, 0x4f, 0x4f, 0x4b, 0x4d, 0x41, 0x52, 0x4b, 0x10, 0x28, 0x12, 0x16, 0x0a, - 0x12, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x4c, 0x45, 0x41, 0x52, 0x5f, 0x48, 0x49, 0x53, 0x54, - 0x4f, 0x52, 0x59, 0x10, 0x29, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x45, - 0x54, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x2a, 0x12, 0x28, 0x0a, 0x24, 0x43, 0x4f, 0x4d, 0x4d, 0x55, - 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x52, 0x43, - 0x48, 0x49, 0x56, 0x45, 0x5f, 0x4d, 0x41, 0x47, 0x4e, 0x45, 0x54, 0x4c, 0x49, 0x4e, 0x4b, 0x10, - 0x2b, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, - 0x45, 0x5f, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x53, 0x10, 0x2c, 0x12, 0x10, 0x0a, 0x0c, - 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x2d, 0x12, 0x1a, - 0x0a, 0x16, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, - 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x2e, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, - 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x52, 0x45, - 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x2f, 0x12, 0x26, 0x0a, 0x22, 0x43, 0x4f, 0x4d, 0x4d, 0x55, - 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, - 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x30, 0x12, - 0x1b, 0x0a, 0x17, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, - 0x59, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x53, 0x10, 0x31, 0x12, 0x20, 0x0a, 0x1c, - 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, - 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x32, 0x12, 0x1f, - 0x0a, 0x1b, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, - 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x33, 0x12, - 0x20, 0x0a, 0x1c, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, - 0x43, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x34, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x54, 0x52, 0x55, 0x53, 0x54, 0x45, - 0x44, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x35, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x59, 0x4e, 0x43, - 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, - 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x36, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x59, 0x4e, 0x43, 0x5f, - 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, - 0x44, 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x38, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, - 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, - 0x54, 0x4f, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x59, - 0x4e, 0x43, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x4d, 0x45, - 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x3a, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x59, - 0x4e, 0x43, 0x5f, 0x53, 0x41, 0x56, 0x45, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, - 0x10, 0x3b, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, - 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, - 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x3c, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x41, 0x4e, 0x43, - 0x45, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, - 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x3d, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x59, 0x4e, - 0x43, 0x5f, 0x4b, 0x45, 0x59, 0x50, 0x41, 0x49, 0x52, 0x10, 0x3e, 0x12, 0x15, 0x0a, 0x11, 0x53, - 0x59, 0x4e, 0x43, 0x5f, 0x53, 0x4f, 0x43, 0x49, 0x41, 0x4c, 0x5f, 0x4c, 0x49, 0x4e, 0x4b, 0x53, - 0x10, 0x3f, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x45, 0x4e, 0x53, 0x5f, 0x55, - 0x53, 0x45, 0x52, 0x4e, 0x41, 0x4d, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x41, 0x49, 0x4c, 0x10, 0x40, - 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, - 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x42, 0x12, 0x1c, 0x0a, - 0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, - 0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x43, 0x12, 0x23, 0x0a, 0x1f, 0x43, - 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x5f, 0x53, 0x48, - 0x41, 0x52, 0x45, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x45, 0x53, 0x10, 0x44, - 0x12, 0x24, 0x0a, 0x20, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, - 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, - 0x4f, 0x4c, 0x4f, 0x52, 0x10, 0x45, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, - 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, - 0x53, 0x10, 0x46, 0x12, 0x25, 0x0a, 0x21, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, - 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, - 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x47, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x4f, - 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, - 0x45, 0x44, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x4d, 0x45, 0x53, - 0x53, 0x41, 0x47, 0x45, 0x10, 0x48, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, - 0x49, 0x54, 0x59, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x44, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x49, 0x12, - 0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x10, 0x4a, 0x12, 0x20, - 0x0a, 0x1c, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, 0x5f, - 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x4b, - 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, - 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x52, 0x45, 0x41, 0x44, 0x10, - 0x4c, 0x12, 0x33, 0x0a, 0x2f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, - 0x54, 0x59, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, - 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x44, 0x45, 0x43, 0x49, - 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x4d, 0x22, 0x04, 0x08, 0x0e, 0x10, 0x0e, 0x22, 0x04, 0x08, 0x41, - 0x10, 0x41, 0x2a, 0x1d, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x43, 0x48, 0x41, - 0x54, 0x2a, 0x22, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49, 0x54, 0x59, - 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.ApplicationMetadataMessage_Type", ApplicationMetadataMessage_Type_name, ApplicationMetadataMessage_Type_value) + proto.RegisterType((*ApplicationMetadataMessage)(nil), "protobuf.ApplicationMetadataMessage") } -var ( - file_application_metadata_message_proto_rawDescOnce sync.Once - file_application_metadata_message_proto_rawDescData = file_application_metadata_message_proto_rawDesc -) - -func file_application_metadata_message_proto_rawDescGZIP() []byte { - file_application_metadata_message_proto_rawDescOnce.Do(func() { - file_application_metadata_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_application_metadata_message_proto_rawDescData) - }) - return file_application_metadata_message_proto_rawDescData +func init() { + proto.RegisterFile("application_metadata_message.proto", fileDescriptor_ad09a6406fcf24c7) } -var file_application_metadata_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_application_metadata_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_application_metadata_message_proto_goTypes = []interface{}{ - (ApplicationMetadataMessage_Type)(0), // 0: protobuf.ApplicationMetadataMessage.Type - (*ApplicationMetadataMessage)(nil), // 1: protobuf.ApplicationMetadataMessage -} -var file_application_metadata_message_proto_depIdxs = []int32{ - 0, // 0: protobuf.ApplicationMetadataMessage.type:type_name -> protobuf.ApplicationMetadataMessage.Type - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_application_metadata_message_proto_init() } -func file_application_metadata_message_proto_init() { - if File_application_metadata_message_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_application_metadata_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplicationMetadataMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_application_metadata_message_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_application_metadata_message_proto_goTypes, - DependencyIndexes: file_application_metadata_message_proto_depIdxs, - EnumInfos: file_application_metadata_message_proto_enumTypes, - MessageInfos: file_application_metadata_message_proto_msgTypes, - }.Build() - File_application_metadata_message_proto = out.File - file_application_metadata_message_proto_rawDesc = nil - file_application_metadata_message_proto_goTypes = nil - file_application_metadata_message_proto_depIdxs = nil +var fileDescriptor_ad09a6406fcf24c7 = []byte{ + // 1121 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0x6d, 0x53, 0x1b, 0x37, + 0x17, 0x7d, 0x48, 0x78, 0x12, 0x22, 0x02, 0x51, 0xc4, 0x9b, 0x01, 0xf3, 0xe6, 0x10, 0x42, 0x48, + 0x6b, 0x5a, 0x68, 0x3b, 0x6d, 0xd3, 0xb4, 0x95, 0xa5, 0x8b, 0x2d, 0xbc, 0x2b, 0x6d, 0x24, 0xad, + 0x3b, 0xce, 0x17, 0x8d, 0xd3, 0xb8, 0x19, 0x66, 0x92, 0xe0, 0x09, 0xce, 0x07, 0xfe, 0x44, 0x7f, + 0x45, 0x7f, 0x68, 0x47, 0xfb, 0x6a, 0xb0, 0x29, 0x9f, 0x60, 0x75, 0x8f, 0xae, 0x74, 0xcf, 0x3d, + 0xf7, 0xc8, 0xa8, 0xd6, 0x1b, 0x0c, 0x3e, 0x9c, 0xfd, 0xd9, 0x1b, 0x9e, 0x9d, 0x7f, 0x72, 0x1f, + 0xfb, 0xc3, 0xde, 0xbb, 0xde, 0xb0, 0xe7, 0x3e, 0xf6, 0x2f, 0x2e, 0x7a, 0xef, 0xfb, 0xf5, 0xc1, + 0xe7, 0xf3, 0xe1, 0x39, 0x99, 0x49, 0xfe, 0xbc, 0xfd, 0xf2, 0x57, 0xed, 0x9f, 0x05, 0xb4, 0x46, + 0xcb, 0x0d, 0x61, 0x86, 0x0f, 0x53, 0x38, 0xa9, 0xa2, 0x07, 0x17, 0x67, 0xef, 0x3f, 0xf5, 0x86, + 0x5f, 0x3e, 0xf7, 0x2b, 0x53, 0xdb, 0x53, 0xfb, 0x0f, 0x75, 0xb9, 0x40, 0x2a, 0xe8, 0xfe, 0xa0, + 0x77, 0xf9, 0xe1, 0xbc, 0xf7, 0xae, 0x72, 0x27, 0x89, 0xe5, 0x9f, 0xe4, 0x15, 0x9a, 0x1e, 0x5e, + 0x0e, 0xfa, 0x95, 0xbb, 0xdb, 0x53, 0xfb, 0xf3, 0x47, 0xcf, 0xeb, 0xf9, 0x79, 0xf5, 0x9b, 0xcf, + 0xaa, 0xdb, 0xcb, 0x41, 0x5f, 0x27, 0xdb, 0x6a, 0x7f, 0x13, 0x34, 0xed, 0x3f, 0xc9, 0x2c, 0xba, + 0x1f, 0xcb, 0xb6, 0x54, 0x7f, 0x48, 0xfc, 0x3f, 0x82, 0xd1, 0x43, 0xd6, 0xa2, 0xd6, 0x85, 0x60, + 0x0c, 0x6d, 0x02, 0x9e, 0x22, 0x04, 0xcd, 0x33, 0x25, 0x2d, 0x65, 0xd6, 0xc5, 0x11, 0xa7, 0x16, + 0xf0, 0x1d, 0xb2, 0x81, 0x56, 0x43, 0x08, 0x1b, 0xa0, 0x4d, 0x4b, 0x44, 0xd9, 0x72, 0xb1, 0xe5, + 0x2e, 0x59, 0x43, 0xcb, 0xa6, 0x2b, 0x99, 0x8b, 0xa8, 0xd0, 0x4e, 0x48, 0x63, 0x69, 0x10, 0x50, + 0x2b, 0x94, 0xc4, 0xd3, 0x64, 0x17, 0x55, 0x39, 0x44, 0x1a, 0x18, 0xb5, 0xc0, 0x5d, 0x02, 0xbb, + 0x82, 0xf8, 0xff, 0xda, 0x9d, 0x99, 0x29, 0xf2, 0x04, 0x6d, 0x69, 0x78, 0x1d, 0x83, 0xb1, 0x8e, + 0x72, 0xae, 0xc1, 0x18, 0x77, 0xa2, 0xb4, 0xb3, 0x9a, 0x4a, 0x43, 0x59, 0x02, 0xbc, 0x47, 0x0e, + 0xd0, 0x1e, 0x65, 0x0c, 0x22, 0xeb, 0x6e, 0xc3, 0xde, 0x27, 0x2f, 0xd0, 0x33, 0x0e, 0x2c, 0x10, + 0x12, 0x6e, 0x05, 0xcf, 0x90, 0x15, 0xb4, 0x90, 0x83, 0x46, 0x03, 0x0f, 0xc8, 0x22, 0xc2, 0x06, + 0x24, 0xbf, 0xb2, 0x8a, 0xc8, 0x16, 0x5a, 0xbf, 0x9e, 0x7b, 0x14, 0x30, 0x4b, 0xb6, 0x51, 0x75, + 0xac, 0x50, 0x97, 0x93, 0xda, 0x39, 0xc2, 0x0f, 0x3d, 0xa1, 0xe3, 0x08, 0xca, 0x98, 0x8a, 0xa5, + 0xc5, 0x73, 0x64, 0x13, 0xad, 0xe5, 0x70, 0xa6, 0x38, 0x38, 0xca, 0x3b, 0xa0, 0xad, 0x30, 0x10, + 0x82, 0xb4, 0xf8, 0x11, 0xa9, 0xa1, 0xcd, 0x28, 0x36, 0x2d, 0x27, 0x95, 0x15, 0x27, 0x82, 0xa5, + 0xdb, 0x35, 0x34, 0x85, 0xb1, 0x3a, 0xa5, 0x15, 0x7b, 0x06, 0xfe, 0x1b, 0xe3, 0x34, 0x98, 0x48, + 0x49, 0x03, 0xf8, 0x31, 0x59, 0x47, 0x2b, 0xe3, 0xe0, 0xd7, 0x31, 0xe8, 0x2e, 0x26, 0x64, 0x17, + 0x6d, 0xdf, 0x10, 0x2c, 0x53, 0x2c, 0xf8, 0x92, 0x26, 0x9d, 0x97, 0xf0, 0x83, 0x17, 0x7d, 0x49, + 0x93, 0xc2, 0xd9, 0xf6, 0x25, 0x2f, 0x3b, 0x08, 0xd5, 0xa9, 0x70, 0x1a, 0x32, 0x1e, 0x97, 0xc9, + 0x2a, 0x5a, 0x6a, 0x6a, 0x15, 0x47, 0x2e, 0x91, 0xa8, 0x90, 0x1d, 0x61, 0xd3, 0xea, 0x56, 0xc8, + 0x63, 0x34, 0x97, 0x2e, 0x72, 0x90, 0x56, 0xd8, 0x2e, 0xae, 0x78, 0x34, 0x53, 0x61, 0x18, 0x4b, + 0x61, 0xbb, 0x8e, 0x83, 0x61, 0x5a, 0x44, 0x09, 0x7a, 0x95, 0x54, 0xd1, 0x62, 0x19, 0x1a, 0xc9, + 0xb3, 0x96, 0x88, 0x6f, 0x03, 0xad, 0x96, 0xd1, 0xa2, 0xa3, 0xca, 0x9d, 0x2a, 0x21, 0xf1, 0x3a, + 0x79, 0x84, 0x66, 0x23, 0x21, 0x0b, 0xb9, 0x57, 0xfd, 0xcc, 0x00, 0x17, 0xe5, 0xcc, 0x6c, 0xf8, + 0xdb, 0x18, 0x4b, 0x6d, 0x6c, 0xf2, 0x91, 0xd9, 0xf4, 0xf5, 0x70, 0x08, 0x60, 0x64, 0x4e, 0xb6, + 0xbc, 0x70, 0x26, 0xe9, 0x22, 0x3b, 0x1a, 0x6f, 0xfb, 0x41, 0xa2, 0x52, 0xc9, 0x6e, 0xa8, 0x62, + 0xe3, 0x42, 0xb0, 0x5a, 0x30, 0xd7, 0xa0, 0x96, 0xb5, 0xf0, 0x0e, 0x59, 0x42, 0x8f, 0x93, 0xcd, + 0x49, 0xd9, 0x1a, 0x42, 0xd5, 0x01, 0x8e, 0x6b, 0xbe, 0x73, 0xe5, 0x72, 0x76, 0x94, 0xf1, 0x24, + 0x72, 0xfc, 0x84, 0x20, 0x74, 0xaf, 0x41, 0x59, 0x3b, 0x8e, 0xf0, 0x6e, 0x21, 0x39, 0xcf, 0x6e, + 0xc7, 0x57, 0xca, 0x40, 0x5a, 0xd0, 0x29, 0xf4, 0x29, 0xd9, 0x41, 0x1b, 0x13, 0xc3, 0xe9, 0xc4, + 0x01, 0xc7, 0x7b, 0x5e, 0x75, 0x13, 0x21, 0x5c, 0x98, 0x50, 0x18, 0x03, 0x1c, 0x3f, 0x4b, 0x98, + 0xf0, 0x98, 0x86, 0x52, 0xed, 0x90, 0xea, 0x36, 0xde, 0x27, 0xcb, 0x88, 0xa4, 0x37, 0x0c, 0x80, + 0x6a, 0xd7, 0x12, 0xc6, 0x2a, 0xdd, 0xc5, 0xcf, 0x3d, 0x8d, 0xc9, 0xba, 0x01, 0x6b, 0x85, 0x6c, + 0xe2, 0x03, 0xb2, 0x8f, 0x76, 0xcb, 0x46, 0x64, 0xb5, 0x38, 0xaa, 0x59, 0x4b, 0x74, 0xc0, 0x85, + 0xb4, 0x29, 0xc1, 0x06, 0x42, 0xb6, 0xf1, 0x0b, 0xdf, 0xeb, 0xd4, 0x71, 0xb4, 0x3a, 0x11, 0x01, + 0xb8, 0x48, 0x30, 0x1b, 0x6b, 0x30, 0xf8, 0xab, 0x22, 0x6d, 0x3e, 0x4d, 0x5f, 0x27, 0xac, 0xa6, + 0xbe, 0x91, 0x0f, 0x55, 0x2e, 0xcb, 0xba, 0xa7, 0x4f, 0x83, 0xd5, 0xe9, 0xa4, 0x5d, 0x0d, 0x1e, + 0x92, 0x3d, 0x54, 0xbb, 0x51, 0x18, 0xa5, 0x76, 0xbf, 0x29, 0x7b, 0x50, 0x80, 0xb3, 0x9a, 0x0c, + 0xfe, 0xd6, 0x9b, 0x41, 0xbe, 0xb5, 0xb0, 0x00, 0xd0, 0xc5, 0x0c, 0xe0, 0x23, 0x2f, 0x8b, 0x6b, + 0xf7, 0xbb, 0x02, 0x38, 0xf6, 0x29, 0x72, 0xc3, 0x99, 0x88, 0xf8, 0xae, 0x10, 0x87, 0xd5, 0xb1, + 0xf1, 0x3e, 0x1b, 0x1b, 0xd0, 0xf8, 0xfb, 0xa2, 0xe7, 0xa3, 0xe8, 0xa2, 0xbe, 0x1f, 0x8a, 0x9e, + 0x5f, 0xab, 0xdc, 0x71, 0x60, 0xc2, 0xf8, 0xc4, 0x3f, 0xa6, 0x4e, 0x34, 0x81, 0x82, 0x00, 0x68, + 0x07, 0xf0, 0x4f, 0x3e, 0x9e, 0xa4, 0xc8, 0xb4, 0xee, 0xbd, 0x35, 0x2c, 0x25, 0xff, 0x73, 0xd1, + 0x7c, 0x43, 0x3b, 0xc0, 0x73, 0x0b, 0xc6, 0x2f, 0xbd, 0xa7, 0x94, 0x79, 0x19, 0x95, 0x0c, 0x82, + 0xb1, 0xd1, 0xfb, 0xc5, 0x33, 0x93, 0xc5, 0x26, 0xd6, 0xfd, 0xaa, 0x68, 0x76, 0x1b, 0xba, 0xfe, + 0xf1, 0xc1, 0xbf, 0x16, 0x4c, 0x18, 0xc5, 0x04, 0x0d, 0x9c, 0xd7, 0x8b, 0xc1, 0xbf, 0x91, 0x2a, + 0xaa, 0x24, 0xcb, 0x20, 0x4d, 0x42, 0x8e, 0xa4, 0x21, 0x38, 0x0e, 0x96, 0x8a, 0x00, 0xff, 0xee, + 0xbd, 0x72, 0xa2, 0xb2, 0xaf, 0x98, 0x95, 0x9f, 0x70, 0xc0, 0x0d, 0x9f, 0xaa, 0xbc, 0x3a, 0x74, + 0x40, 0x5a, 0x53, 0x14, 0xcc, 0xfc, 0x4b, 0x36, 0x12, 0xf5, 0x36, 0x61, 0x5a, 0x54, 0x97, 0xb5, + 0x83, 0xc1, 0xdc, 0x57, 0x3f, 0xaa, 0x51, 0xc7, 0x62, 0x63, 0x55, 0x28, 0xde, 0xe4, 0x8e, 0x10, + 0x28, 0x8d, 0xa1, 0x90, 0x55, 0x86, 0x32, 0x2e, 0x52, 0x46, 0x78, 0x84, 0xc1, 0x27, 0xe4, 0x29, + 0xda, 0xb9, 0xe9, 0x16, 0x4e, 0xc3, 0x29, 0x30, 0x3f, 0xb3, 0x4d, 0xff, 0x66, 0x96, 0xb0, 0x48, + 0x8b, 0x8e, 0x08, 0xa0, 0x99, 0x09, 0x24, 0x7d, 0x8d, 0xf3, 0xab, 0xb7, 0xfc, 0x33, 0x38, 0xa2, + 0xe0, 0x16, 0xd5, 0xdc, 0xf3, 0x8a, 0x05, 0x99, 0x43, 0x0f, 0x0a, 0x8f, 0xc1, 0xa7, 0xc5, 0xf3, + 0x36, 0xe6, 0x03, 0x89, 0x06, 0x38, 0x6e, 0x17, 0x46, 0x77, 0x1d, 0x11, 0xcb, 0xc4, 0x6d, 0x02, + 0x72, 0x8c, 0x0e, 0x27, 0x02, 0xc6, 0xb5, 0x56, 0x68, 0x31, 0xac, 0x4d, 0xcf, 0xcc, 0xe3, 0xf9, + 0xda, 0xf4, 0x0c, 0xc5, 0xf4, 0x60, 0x63, 0xdc, 0x48, 0xa3, 0xb8, 0x11, 0x88, 0xf4, 0x92, 0x07, + 0xb5, 0x5b, 0xdb, 0x69, 0x1a, 0x73, 0x6f, 0x66, 0xeb, 0x87, 0x2f, 0xf3, 0x5f, 0x51, 0x6f, 0xef, + 0x25, 0xff, 0x1d, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x78, 0x58, 0x18, 0xec, 0x09, 0x00, + 0x00, } diff --git a/protocol/protobuf/chat_identity.pb.go b/protocol/protobuf/chat_identity.pb.go index 0beaff61d..ffb8068a2 100644 --- a/protocol/protobuf/chat_identity.pb.go +++ b/protocol/protobuf/chat_identity.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: chat_identity.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // SourceType are the predefined types of image source allowed type IdentityImage_SourceType int32 @@ -34,53 +34,28 @@ const ( IdentityImage_ENS_AVATAR IdentityImage_SourceType = 2 ) -// Enum value maps for IdentityImage_SourceType. -var ( - IdentityImage_SourceType_name = map[int32]string{ - 0: "UNKNOWN_SOURCE_TYPE", - 1: "RAW_PAYLOAD", - 2: "ENS_AVATAR", - } - IdentityImage_SourceType_value = map[string]int32{ - "UNKNOWN_SOURCE_TYPE": 0, - "RAW_PAYLOAD": 1, - "ENS_AVATAR": 2, - } -) +var IdentityImage_SourceType_name = map[int32]string{ + 0: "UNKNOWN_SOURCE_TYPE", + 1: "RAW_PAYLOAD", + 2: "ENS_AVATAR", +} -func (x IdentityImage_SourceType) Enum() *IdentityImage_SourceType { - p := new(IdentityImage_SourceType) - *p = x - return p +var IdentityImage_SourceType_value = map[string]int32{ + "UNKNOWN_SOURCE_TYPE": 0, + "RAW_PAYLOAD": 1, + "ENS_AVATAR": 2, } func (x IdentityImage_SourceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(IdentityImage_SourceType_name, int32(x)) } -func (IdentityImage_SourceType) Descriptor() protoreflect.EnumDescriptor { - return file_chat_identity_proto_enumTypes[0].Descriptor() -} - -func (IdentityImage_SourceType) Type() protoreflect.EnumType { - return &file_chat_identity_proto_enumTypes[0] -} - -func (x IdentityImage_SourceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IdentityImage_SourceType.Descriptor instead. func (IdentityImage_SourceType) EnumDescriptor() ([]byte, []int) { - return file_chat_identity_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_7a652489000a5879, []int{1, 0} } // ChatIdentity represents the user defined identity associated with their public chat key type ChatIdentity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Lamport timestamp of the message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // ens_name is the valid ENS name associated with the chat key @@ -97,110 +72,102 @@ type ChatIdentity struct { // first known message timestamp in seconds (valid only for community chats for now) // 0 - unknown // 1 - no messages - FirstMessageTimestamp uint32 `protobuf:"varint,9,opt,name=first_message_timestamp,json=firstMessageTimestamp,proto3" json:"first_message_timestamp,omitempty"` + FirstMessageTimestamp uint32 `protobuf:"varint,9,opt,name=first_message_timestamp,json=firstMessageTimestamp,proto3" json:"first_message_timestamp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ChatIdentity) Reset() { - *x = ChatIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_identity_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChatIdentity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChatIdentity) ProtoMessage() {} - -func (x *ChatIdentity) ProtoReflect() protoreflect.Message { - mi := &file_chat_identity_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChatIdentity.ProtoReflect.Descriptor instead. +func (m *ChatIdentity) Reset() { *m = ChatIdentity{} } +func (m *ChatIdentity) String() string { return proto.CompactTextString(m) } +func (*ChatIdentity) ProtoMessage() {} func (*ChatIdentity) Descriptor() ([]byte, []int) { - return file_chat_identity_proto_rawDescGZIP(), []int{0} + return fileDescriptor_7a652489000a5879, []int{0} } -func (x *ChatIdentity) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *ChatIdentity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChatIdentity.Unmarshal(m, b) +} +func (m *ChatIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChatIdentity.Marshal(b, m, deterministic) +} +func (m *ChatIdentity) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChatIdentity.Merge(m, src) +} +func (m *ChatIdentity) XXX_Size() int { + return xxx_messageInfo_ChatIdentity.Size(m) +} +func (m *ChatIdentity) XXX_DiscardUnknown() { + xxx_messageInfo_ChatIdentity.DiscardUnknown(m) +} + +var xxx_messageInfo_ChatIdentity proto.InternalMessageInfo + +func (m *ChatIdentity) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *ChatIdentity) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *ChatIdentity) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *ChatIdentity) GetImages() map[string]*IdentityImage { - if x != nil { - return x.Images +func (m *ChatIdentity) GetImages() map[string]*IdentityImage { + if m != nil { + return m.Images } return nil } -func (x *ChatIdentity) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *ChatIdentity) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *ChatIdentity) GetDescription() string { - if x != nil { - return x.Description +func (m *ChatIdentity) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *ChatIdentity) GetColor() string { - if x != nil { - return x.Color +func (m *ChatIdentity) GetColor() string { + if m != nil { + return m.Color } return "" } -func (x *ChatIdentity) GetEmoji() string { - if x != nil { - return x.Emoji +func (m *ChatIdentity) GetEmoji() string { + if m != nil { + return m.Emoji } return "" } -func (x *ChatIdentity) GetSocialLinks() []*SocialLink { - if x != nil { - return x.SocialLinks +func (m *ChatIdentity) GetSocialLinks() []*SocialLink { + if m != nil { + return m.SocialLinks } return nil } -func (x *ChatIdentity) GetFirstMessageTimestamp() uint32 { - if x != nil { - return x.FirstMessageTimestamp +func (m *ChatIdentity) GetFirstMessageTimestamp() uint32 { + if m != nil { + return m.FirstMessageTimestamp } return 0 } // ProfileImage represents data associated with a user's profile image type IdentityImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // payload is a context based payload for the profile image data, // context is determined by the `source_type` Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` @@ -211,287 +178,165 @@ type IdentityImage struct { // encryption_keys is a list of encrypted keys that can be used to decrypted an encrypted payload EncryptionKeys [][]byte `protobuf:"bytes,4,rep,name=encryption_keys,json=encryptionKeys,proto3" json:"encryption_keys,omitempty"` // encrypted signals the encryption state of the payload, default is false. - Encrypted bool `protobuf:"varint,5,opt,name=encrypted,proto3" json:"encrypted,omitempty"` + Encrypted bool `protobuf:"varint,5,opt,name=encrypted,proto3" json:"encrypted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *IdentityImage) Reset() { - *x = IdentityImage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_identity_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IdentityImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IdentityImage) ProtoMessage() {} - -func (x *IdentityImage) ProtoReflect() protoreflect.Message { - mi := &file_chat_identity_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IdentityImage.ProtoReflect.Descriptor instead. +func (m *IdentityImage) Reset() { *m = IdentityImage{} } +func (m *IdentityImage) String() string { return proto.CompactTextString(m) } +func (*IdentityImage) ProtoMessage() {} func (*IdentityImage) Descriptor() ([]byte, []int) { - return file_chat_identity_proto_rawDescGZIP(), []int{1} + return fileDescriptor_7a652489000a5879, []int{1} } -func (x *IdentityImage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *IdentityImage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IdentityImage.Unmarshal(m, b) +} +func (m *IdentityImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IdentityImage.Marshal(b, m, deterministic) +} +func (m *IdentityImage) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdentityImage.Merge(m, src) +} +func (m *IdentityImage) XXX_Size() int { + return xxx_messageInfo_IdentityImage.Size(m) +} +func (m *IdentityImage) XXX_DiscardUnknown() { + xxx_messageInfo_IdentityImage.DiscardUnknown(m) +} + +var xxx_messageInfo_IdentityImage proto.InternalMessageInfo + +func (m *IdentityImage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *IdentityImage) GetSourceType() IdentityImage_SourceType { - if x != nil { - return x.SourceType +func (m *IdentityImage) GetSourceType() IdentityImage_SourceType { + if m != nil { + return m.SourceType } return IdentityImage_UNKNOWN_SOURCE_TYPE } -func (x *IdentityImage) GetImageType() ImageType { - if x != nil { - return x.ImageType +func (m *IdentityImage) GetImageType() ImageType { + if m != nil { + return m.ImageType } return ImageType_UNKNOWN_IMAGE_TYPE } -func (x *IdentityImage) GetEncryptionKeys() [][]byte { - if x != nil { - return x.EncryptionKeys +func (m *IdentityImage) GetEncryptionKeys() [][]byte { + if m != nil { + return m.EncryptionKeys } return nil } -func (x *IdentityImage) GetEncrypted() bool { - if x != nil { - return x.Encrypted +func (m *IdentityImage) GetEncrypted() bool { + if m != nil { + return m.Encrypted } return false } // SocialLinks represents social link assosiated with given chat identity (personal/community) type SocialLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SocialLink) Reset() { - *x = SocialLink{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_identity_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SocialLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SocialLink) ProtoMessage() {} - -func (x *SocialLink) ProtoReflect() protoreflect.Message { - mi := &file_chat_identity_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SocialLink.ProtoReflect.Descriptor instead. +func (m *SocialLink) Reset() { *m = SocialLink{} } +func (m *SocialLink) String() string { return proto.CompactTextString(m) } +func (*SocialLink) ProtoMessage() {} func (*SocialLink) Descriptor() ([]byte, []int) { - return file_chat_identity_proto_rawDescGZIP(), []int{2} + return fileDescriptor_7a652489000a5879, []int{2} } -func (x *SocialLink) GetText() string { - if x != nil { - return x.Text +func (m *SocialLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SocialLink.Unmarshal(m, b) +} +func (m *SocialLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SocialLink.Marshal(b, m, deterministic) +} +func (m *SocialLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_SocialLink.Merge(m, src) +} +func (m *SocialLink) XXX_Size() int { + return xxx_messageInfo_SocialLink.Size(m) +} +func (m *SocialLink) XXX_DiscardUnknown() { + xxx_messageInfo_SocialLink.DiscardUnknown(m) +} + +var xxx_messageInfo_SocialLink proto.InternalMessageInfo + +func (m *SocialLink) GetText() string { + if m != nil { + return m.Text } return "" } -func (x *SocialLink) GetUrl() string { - if x != nil { - return x.Url +func (m *SocialLink) GetUrl() string { + if m != nil { + return m.Url } return "" } -var File_chat_identity_proto protoreflect.FileDescriptor - -var file_chat_identity_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, - 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x03, 0x0a, - 0x0c, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, - 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x37, 0x0a, 0x0c, 0x73, - 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x63, - 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, - 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, 0x52, 0x0a, 0x0b, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0xb1, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, - 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x43, 0x0a, 0x0b, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, - 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, - 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x22, 0x46, 0x0a, 0x0a, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x41, 0x57, 0x5f, 0x50, 0x41, 0x59, 0x4c, 0x4f, - 0x41, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4e, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x54, - 0x41, 0x52, 0x10, 0x02, 0x22, 0x32, 0x0a, 0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, - 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.IdentityImage_SourceType", IdentityImage_SourceType_name, IdentityImage_SourceType_value) + proto.RegisterType((*ChatIdentity)(nil), "protobuf.ChatIdentity") + proto.RegisterMapType((map[string]*IdentityImage)(nil), "protobuf.ChatIdentity.ImagesEntry") + proto.RegisterType((*IdentityImage)(nil), "protobuf.IdentityImage") + proto.RegisterType((*SocialLink)(nil), "protobuf.SocialLink") } -var ( - file_chat_identity_proto_rawDescOnce sync.Once - file_chat_identity_proto_rawDescData = file_chat_identity_proto_rawDesc -) - -func file_chat_identity_proto_rawDescGZIP() []byte { - file_chat_identity_proto_rawDescOnce.Do(func() { - file_chat_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_identity_proto_rawDescData) - }) - return file_chat_identity_proto_rawDescData +func init() { + proto.RegisterFile("chat_identity.proto", fileDescriptor_7a652489000a5879) } -var file_chat_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_chat_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_chat_identity_proto_goTypes = []interface{}{ - (IdentityImage_SourceType)(0), // 0: protobuf.IdentityImage.SourceType - (*ChatIdentity)(nil), // 1: protobuf.ChatIdentity - (*IdentityImage)(nil), // 2: protobuf.IdentityImage - (*SocialLink)(nil), // 3: protobuf.SocialLink - nil, // 4: protobuf.ChatIdentity.ImagesEntry - (ImageType)(0), // 5: protobuf.ImageType -} -var file_chat_identity_proto_depIdxs = []int32{ - 4, // 0: protobuf.ChatIdentity.images:type_name -> protobuf.ChatIdentity.ImagesEntry - 3, // 1: protobuf.ChatIdentity.social_links:type_name -> protobuf.SocialLink - 0, // 2: protobuf.IdentityImage.source_type:type_name -> protobuf.IdentityImage.SourceType - 5, // 3: protobuf.IdentityImage.image_type:type_name -> protobuf.ImageType - 2, // 4: protobuf.ChatIdentity.ImagesEntry.value:type_name -> protobuf.IdentityImage - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_chat_identity_proto_init() } -func file_chat_identity_proto_init() { - if File_chat_identity_proto != nil { - return - } - file_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_chat_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatIdentity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityImage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_identity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SocialLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_chat_identity_proto_rawDesc, - NumEnums: 1, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_chat_identity_proto_goTypes, - DependencyIndexes: file_chat_identity_proto_depIdxs, - EnumInfos: file_chat_identity_proto_enumTypes, - MessageInfos: file_chat_identity_proto_msgTypes, - }.Build() - File_chat_identity_proto = out.File - file_chat_identity_proto_rawDesc = nil - file_chat_identity_proto_goTypes = nil - file_chat_identity_proto_depIdxs = nil +var fileDescriptor_7a652489000a5879 = []byte{ + // 520 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x52, 0x4f, 0x6f, 0xda, 0x4e, + 0x10, 0xfd, 0x19, 0x13, 0xfe, 0x8c, 0x81, 0xa0, 0x25, 0x3f, 0xe1, 0x46, 0x3d, 0xb8, 0x5c, 0xca, + 0xa5, 0xae, 0x44, 0xa5, 0xb6, 0x4a, 0x4f, 0x2e, 0xa5, 0x52, 0x94, 0x14, 0xa2, 0x85, 0x34, 0x4a, + 0x2f, 0xab, 0x8d, 0xd9, 0x24, 0x5b, 0xfc, 0x4f, 0xde, 0xa5, 0xaa, 0x3f, 0x56, 0xbe, 0x61, 0xe5, + 0xb1, 0x1d, 0x93, 0x93, 0xdf, 0xbc, 0x37, 0xfb, 0x76, 0x76, 0x9e, 0x61, 0xe4, 0x3f, 0x72, 0xcd, + 0xe4, 0x56, 0x44, 0x5a, 0xea, 0xcc, 0x4d, 0xd2, 0x58, 0xc7, 0xa4, 0x83, 0x9f, 0xbb, 0xfd, 0xfd, + 0xa9, 0x25, 0xa2, 0x7d, 0xa8, 0x0a, 0x7a, 0xf2, 0x64, 0x42, 0x6f, 0xfe, 0xc8, 0xf5, 0x79, 0xd9, + 0x4d, 0x4e, 0xe0, 0xc8, 0x0f, 0x62, 0x7f, 0x67, 0x1b, 0x8e, 0x31, 0x6d, 0xd2, 0xa2, 0x20, 0xaf, + 0xa0, 0x23, 0x22, 0xc5, 0x22, 0x1e, 0x0a, 0xbb, 0xe1, 0x18, 0xd3, 0x2e, 0x6d, 0x8b, 0x48, 0x2d, + 0x79, 0x28, 0xc8, 0x19, 0xb4, 0x64, 0xc8, 0x1f, 0x84, 0xb2, 0x4d, 0xc7, 0x9c, 0x5a, 0xb3, 0x89, + 0x5b, 0xdd, 0xe4, 0x1e, 0x1a, 0xbb, 0xe7, 0xd8, 0xb4, 0x88, 0x74, 0x9a, 0xd1, 0xf2, 0x04, 0x79, + 0x03, 0xbd, 0xad, 0x54, 0x49, 0xc0, 0xb3, 0xc2, 0xba, 0x89, 0xd6, 0x56, 0xc9, 0xa1, 0xbd, 0x03, + 0xd6, 0x56, 0x28, 0x3f, 0x95, 0x89, 0x96, 0x71, 0x64, 0x1f, 0x95, 0x1d, 0x35, 0x85, 0x13, 0xc7, + 0x41, 0x9c, 0xda, 0x2d, 0xd4, 0x8a, 0x22, 0x67, 0x45, 0x18, 0xff, 0x96, 0x76, 0xbb, 0x60, 0xb1, + 0x20, 0x9f, 0xa0, 0xa7, 0x62, 0x5f, 0xf2, 0x80, 0x05, 0x32, 0xda, 0x29, 0xbb, 0x83, 0x23, 0x9f, + 0xd4, 0x23, 0xaf, 0x51, 0xbd, 0x94, 0xd1, 0x8e, 0x5a, 0xea, 0x19, 0x2b, 0xf2, 0x11, 0xc6, 0xf7, + 0x32, 0x55, 0x9a, 0x85, 0x42, 0x29, 0xfe, 0x20, 0x98, 0x96, 0xa1, 0x50, 0x9a, 0x87, 0x89, 0xdd, + 0x75, 0x8c, 0x69, 0x9f, 0xfe, 0x8f, 0xf2, 0x8f, 0x42, 0xdd, 0x54, 0xe2, 0x29, 0x05, 0xeb, 0xe0, + 0xe1, 0x64, 0x08, 0xe6, 0x4e, 0x64, 0xb8, 0xdb, 0x2e, 0xcd, 0x21, 0x79, 0x07, 0x47, 0x7f, 0x78, + 0xb0, 0x2f, 0xd6, 0x6a, 0xcd, 0xc6, 0xf5, 0x28, 0xd5, 0xe6, 0xf0, 0x3c, 0x2d, 0xba, 0xce, 0x1a, + 0x9f, 0x8d, 0xc9, 0x53, 0x03, 0xfa, 0x2f, 0x44, 0x62, 0x43, 0x3b, 0xe1, 0x59, 0x10, 0xf3, 0x2d, + 0x5a, 0xf7, 0x68, 0x55, 0x92, 0x39, 0x58, 0x2a, 0xde, 0xa7, 0xbe, 0x60, 0x3a, 0x4b, 0x8a, 0x4b, + 0x06, 0x87, 0x11, 0xbd, 0xf0, 0x71, 0xd7, 0xd8, 0xba, 0xc9, 0x12, 0x41, 0x41, 0x3d, 0x63, 0x32, + 0x03, 0xc0, 0xc0, 0x0a, 0x0f, 0x13, 0x3d, 0x46, 0x07, 0x1e, 0xb9, 0x86, 0x87, 0xba, 0xb2, 0x82, + 0xe4, 0x2d, 0x1c, 0x8b, 0xc8, 0x4f, 0x33, 0xcc, 0x88, 0xed, 0x44, 0xa6, 0xec, 0xa6, 0x63, 0x4e, + 0x7b, 0x74, 0x50, 0xd3, 0x17, 0x22, 0x53, 0xe4, 0x35, 0x74, 0x4b, 0x46, 0x6c, 0x31, 0xde, 0x0e, + 0xad, 0x89, 0xc9, 0x77, 0x80, 0x7a, 0x28, 0x32, 0x86, 0xd1, 0xf5, 0xf2, 0x62, 0xb9, 0xba, 0x59, + 0xb2, 0xf5, 0xea, 0x9a, 0xce, 0x17, 0x6c, 0x73, 0x7b, 0xb5, 0x18, 0xfe, 0x47, 0x8e, 0xc1, 0xa2, + 0xde, 0x0d, 0xbb, 0xf2, 0x6e, 0x2f, 0x57, 0xde, 0xb7, 0xa1, 0x41, 0x06, 0x00, 0x8b, 0xe5, 0x9a, + 0x79, 0x3f, 0xbd, 0x8d, 0x47, 0x87, 0x8d, 0xc9, 0x2c, 0xf7, 0xa9, 0xe2, 0x24, 0x04, 0x9a, 0x5a, + 0xfc, 0xd5, 0x65, 0x0e, 0x88, 0xf3, 0x68, 0xf6, 0x69, 0x50, 0xfe, 0xdd, 0x39, 0xfc, 0xda, 0xff, + 0x65, 0xb9, 0xef, 0xbf, 0x54, 0xcf, 0xbc, 0x6b, 0x21, 0xfa, 0xf0, 0x2f, 0x00, 0x00, 0xff, 0xff, + 0x4e, 0xae, 0x6d, 0x0e, 0x5f, 0x03, 0x00, 0x00, } diff --git a/protocol/protobuf/chat_message.pb.go b/protocol/protobuf/chat_message.pb.go index 3df64fa66..788a34cbd 100644 --- a/protocol/protobuf/chat_message.pb.go +++ b/protocol/protobuf/chat_message.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: chat_message.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AudioMessage_AudioType int32 @@ -28,45 +28,24 @@ const ( AudioMessage_AMR AudioMessage_AudioType = 2 ) -// Enum value maps for AudioMessage_AudioType. -var ( - AudioMessage_AudioType_name = map[int32]string{ - 0: "UNKNOWN_AUDIO_TYPE", - 1: "AAC", - 2: "AMR", - } - AudioMessage_AudioType_value = map[string]int32{ - "UNKNOWN_AUDIO_TYPE": 0, - "AAC": 1, - "AMR": 2, - } -) +var AudioMessage_AudioType_name = map[int32]string{ + 0: "UNKNOWN_AUDIO_TYPE", + 1: "AAC", + 2: "AMR", +} -func (x AudioMessage_AudioType) Enum() *AudioMessage_AudioType { - p := new(AudioMessage_AudioType) - *p = x - return p +var AudioMessage_AudioType_value = map[string]int32{ + "UNKNOWN_AUDIO_TYPE": 0, + "AAC": 1, + "AMR": 2, } func (x AudioMessage_AudioType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(AudioMessage_AudioType_name, int32(x)) } -func (AudioMessage_AudioType) Descriptor() protoreflect.EnumDescriptor { - return file_chat_message_proto_enumTypes[0].Descriptor() -} - -func (AudioMessage_AudioType) Type() protoreflect.EnumType { - return &file_chat_message_proto_enumTypes[0] -} - -func (x AudioMessage_AudioType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use AudioMessage_AudioType.Descriptor instead. func (AudioMessage_AudioType) EnumDescriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{2, 0} + return fileDescriptor_263952f55fd35689, []int{2, 0} } type UnfurledLink_LinkType int32 @@ -76,43 +55,22 @@ const ( UnfurledLink_IMAGE UnfurledLink_LinkType = 1 ) -// Enum value maps for UnfurledLink_LinkType. -var ( - UnfurledLink_LinkType_name = map[int32]string{ - 0: "LINK", - 1: "IMAGE", - } - UnfurledLink_LinkType_value = map[string]int32{ - "LINK": 0, - "IMAGE": 1, - } -) +var UnfurledLink_LinkType_name = map[int32]string{ + 0: "LINK", + 1: "IMAGE", +} -func (x UnfurledLink_LinkType) Enum() *UnfurledLink_LinkType { - p := new(UnfurledLink_LinkType) - *p = x - return p +var UnfurledLink_LinkType_value = map[string]int32{ + "LINK": 0, + "IMAGE": 1, } func (x UnfurledLink_LinkType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(UnfurledLink_LinkType_name, int32(x)) } -func (UnfurledLink_LinkType) Descriptor() protoreflect.EnumDescriptor { - return file_chat_message_proto_enumTypes[1].Descriptor() -} - -func (UnfurledLink_LinkType) Type() protoreflect.EnumType { - return &file_chat_message_proto_enumTypes[1] -} - -func (x UnfurledLink_LinkType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UnfurledLink_LinkType.Descriptor instead. func (UnfurledLink_LinkType) EnumDescriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{11, 0} + return fileDescriptor_263952f55fd35689, []int{11, 0} } type ChatMessage_ContentType int32 @@ -144,287 +102,238 @@ const ( ChatMessage_SYSTEM_MESSAGE_MUTUAL_EVENT_REMOVED ChatMessage_ContentType = 17 ) -// Enum value maps for ChatMessage_ContentType. -var ( - ChatMessage_ContentType_name = map[int32]string{ - 0: "UNKNOWN_CONTENT_TYPE", - 1: "TEXT_PLAIN", - 2: "STICKER", - 3: "STATUS", - 4: "EMOJI", - 5: "TRANSACTION_COMMAND", - 6: "SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP", - 7: "IMAGE", - 8: "AUDIO", - 9: "COMMUNITY", - 10: "SYSTEM_MESSAGE_GAP", - 11: "CONTACT_REQUEST", - 12: "DISCORD_MESSAGE", - 13: "IDENTITY_VERIFICATION", - 14: "SYSTEM_MESSAGE_PINNED_MESSAGE", - 15: "SYSTEM_MESSAGE_MUTUAL_EVENT_SENT", - 16: "SYSTEM_MESSAGE_MUTUAL_EVENT_ACCEPTED", - 17: "SYSTEM_MESSAGE_MUTUAL_EVENT_REMOVED", - } - ChatMessage_ContentType_value = map[string]int32{ - "UNKNOWN_CONTENT_TYPE": 0, - "TEXT_PLAIN": 1, - "STICKER": 2, - "STATUS": 3, - "EMOJI": 4, - "TRANSACTION_COMMAND": 5, - "SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP": 6, - "IMAGE": 7, - "AUDIO": 8, - "COMMUNITY": 9, - "SYSTEM_MESSAGE_GAP": 10, - "CONTACT_REQUEST": 11, - "DISCORD_MESSAGE": 12, - "IDENTITY_VERIFICATION": 13, - "SYSTEM_MESSAGE_PINNED_MESSAGE": 14, - "SYSTEM_MESSAGE_MUTUAL_EVENT_SENT": 15, - "SYSTEM_MESSAGE_MUTUAL_EVENT_ACCEPTED": 16, - "SYSTEM_MESSAGE_MUTUAL_EVENT_REMOVED": 17, - } -) +var ChatMessage_ContentType_name = map[int32]string{ + 0: "UNKNOWN_CONTENT_TYPE", + 1: "TEXT_PLAIN", + 2: "STICKER", + 3: "STATUS", + 4: "EMOJI", + 5: "TRANSACTION_COMMAND", + 6: "SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP", + 7: "IMAGE", + 8: "AUDIO", + 9: "COMMUNITY", + 10: "SYSTEM_MESSAGE_GAP", + 11: "CONTACT_REQUEST", + 12: "DISCORD_MESSAGE", + 13: "IDENTITY_VERIFICATION", + 14: "SYSTEM_MESSAGE_PINNED_MESSAGE", + 15: "SYSTEM_MESSAGE_MUTUAL_EVENT_SENT", + 16: "SYSTEM_MESSAGE_MUTUAL_EVENT_ACCEPTED", + 17: "SYSTEM_MESSAGE_MUTUAL_EVENT_REMOVED", +} -func (x ChatMessage_ContentType) Enum() *ChatMessage_ContentType { - p := new(ChatMessage_ContentType) - *p = x - return p +var ChatMessage_ContentType_value = map[string]int32{ + "UNKNOWN_CONTENT_TYPE": 0, + "TEXT_PLAIN": 1, + "STICKER": 2, + "STATUS": 3, + "EMOJI": 4, + "TRANSACTION_COMMAND": 5, + "SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP": 6, + "IMAGE": 7, + "AUDIO": 8, + "COMMUNITY": 9, + "SYSTEM_MESSAGE_GAP": 10, + "CONTACT_REQUEST": 11, + "DISCORD_MESSAGE": 12, + "IDENTITY_VERIFICATION": 13, + "SYSTEM_MESSAGE_PINNED_MESSAGE": 14, + "SYSTEM_MESSAGE_MUTUAL_EVENT_SENT": 15, + "SYSTEM_MESSAGE_MUTUAL_EVENT_ACCEPTED": 16, + "SYSTEM_MESSAGE_MUTUAL_EVENT_REMOVED": 17, } func (x ChatMessage_ContentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(ChatMessage_ContentType_name, int32(x)) } -func (ChatMessage_ContentType) Descriptor() protoreflect.EnumDescriptor { - return file_chat_message_proto_enumTypes[2].Descriptor() -} - -func (ChatMessage_ContentType) Type() protoreflect.EnumType { - return &file_chat_message_proto_enumTypes[2] -} - -func (x ChatMessage_ContentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ChatMessage_ContentType.Descriptor instead. func (ChatMessage_ContentType) EnumDescriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{17, 0} + return fileDescriptor_263952f55fd35689, []int{17, 0} } type StickerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Pack int32 `protobuf:"varint,2,opt,name=pack,proto3" json:"pack,omitempty"` + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Pack int32 `protobuf:"varint,2,opt,name=pack,proto3" json:"pack,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StickerMessage) Reset() { - *x = StickerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StickerMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StickerMessage) ProtoMessage() {} - -func (x *StickerMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StickerMessage.ProtoReflect.Descriptor instead. +func (m *StickerMessage) Reset() { *m = StickerMessage{} } +func (m *StickerMessage) String() string { return proto.CompactTextString(m) } +func (*StickerMessage) ProtoMessage() {} func (*StickerMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_263952f55fd35689, []int{0} } -func (x *StickerMessage) GetHash() string { - if x != nil { - return x.Hash +func (m *StickerMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StickerMessage.Unmarshal(m, b) +} +func (m *StickerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StickerMessage.Marshal(b, m, deterministic) +} +func (m *StickerMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_StickerMessage.Merge(m, src) +} +func (m *StickerMessage) XXX_Size() int { + return xxx_messageInfo_StickerMessage.Size(m) +} +func (m *StickerMessage) XXX_DiscardUnknown() { + xxx_messageInfo_StickerMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_StickerMessage proto.InternalMessageInfo + +func (m *StickerMessage) GetHash() string { + if m != nil { + return m.Hash } return "" } -func (x *StickerMessage) GetPack() int32 { - if x != nil { - return x.Pack +func (m *StickerMessage) GetPack() int32 { + if m != nil { + return m.Pack } return 0 } type ImageMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Type ImageType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.ImageType" json:"type,omitempty"` - AlbumId string `protobuf:"bytes,3,opt,name=album_id,json=albumId,proto3" json:"album_id,omitempty"` - Width uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` - AlbumImagesCount uint32 `protobuf:"varint,6,opt,name=album_images_count,json=albumImagesCount,proto3" json:"album_images_count,omitempty"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Type ImageType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.ImageType" json:"type,omitempty"` + AlbumId string `protobuf:"bytes,3,opt,name=album_id,json=albumId,proto3" json:"album_id,omitempty"` + Width uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + AlbumImagesCount uint32 `protobuf:"varint,6,opt,name=album_images_count,json=albumImagesCount,proto3" json:"album_images_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ImageMessage) Reset() { - *x = ImageMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ImageMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImageMessage) ProtoMessage() {} - -func (x *ImageMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead. +func (m *ImageMessage) Reset() { *m = ImageMessage{} } +func (m *ImageMessage) String() string { return proto.CompactTextString(m) } +func (*ImageMessage) ProtoMessage() {} func (*ImageMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{1} + return fileDescriptor_263952f55fd35689, []int{1} } -func (x *ImageMessage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *ImageMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ImageMessage.Unmarshal(m, b) +} +func (m *ImageMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ImageMessage.Marshal(b, m, deterministic) +} +func (m *ImageMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_ImageMessage.Merge(m, src) +} +func (m *ImageMessage) XXX_Size() int { + return xxx_messageInfo_ImageMessage.Size(m) +} +func (m *ImageMessage) XXX_DiscardUnknown() { + xxx_messageInfo_ImageMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_ImageMessage proto.InternalMessageInfo + +func (m *ImageMessage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *ImageMessage) GetType() ImageType { - if x != nil { - return x.Type +func (m *ImageMessage) GetType() ImageType { + if m != nil { + return m.Type } return ImageType_UNKNOWN_IMAGE_TYPE } -func (x *ImageMessage) GetAlbumId() string { - if x != nil { - return x.AlbumId +func (m *ImageMessage) GetAlbumId() string { + if m != nil { + return m.AlbumId } return "" } -func (x *ImageMessage) GetWidth() uint32 { - if x != nil { - return x.Width +func (m *ImageMessage) GetWidth() uint32 { + if m != nil { + return m.Width } return 0 } -func (x *ImageMessage) GetHeight() uint32 { - if x != nil { - return x.Height +func (m *ImageMessage) GetHeight() uint32 { + if m != nil { + return m.Height } return 0 } -func (x *ImageMessage) GetAlbumImagesCount() uint32 { - if x != nil { - return x.AlbumImagesCount +func (m *ImageMessage) GetAlbumImagesCount() uint32 { + if m != nil { + return m.AlbumImagesCount } return 0 } type AudioMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Type AudioMessage_AudioType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.AudioMessage_AudioType" json:"type,omitempty"` - DurationMs uint64 `protobuf:"varint,3,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Type AudioMessage_AudioType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.AudioMessage_AudioType" json:"type,omitempty"` + DurationMs uint64 `protobuf:"varint,3,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AudioMessage) Reset() { - *x = AudioMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AudioMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AudioMessage) ProtoMessage() {} - -func (x *AudioMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AudioMessage.ProtoReflect.Descriptor instead. +func (m *AudioMessage) Reset() { *m = AudioMessage{} } +func (m *AudioMessage) String() string { return proto.CompactTextString(m) } +func (*AudioMessage) ProtoMessage() {} func (*AudioMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{2} + return fileDescriptor_263952f55fd35689, []int{2} } -func (x *AudioMessage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *AudioMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AudioMessage.Unmarshal(m, b) +} +func (m *AudioMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AudioMessage.Marshal(b, m, deterministic) +} +func (m *AudioMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_AudioMessage.Merge(m, src) +} +func (m *AudioMessage) XXX_Size() int { + return xxx_messageInfo_AudioMessage.Size(m) +} +func (m *AudioMessage) XXX_DiscardUnknown() { + xxx_messageInfo_AudioMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_AudioMessage proto.InternalMessageInfo + +func (m *AudioMessage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *AudioMessage) GetType() AudioMessage_AudioType { - if x != nil { - return x.Type +func (m *AudioMessage) GetType() AudioMessage_AudioType { + if m != nil { + return m.Type } return AudioMessage_UNKNOWN_AUDIO_TYPE } -func (x *AudioMessage) GetDurationMs() uint64 { - if x != nil { - return x.DurationMs +func (m *AudioMessage) GetDurationMs() uint64 { + if m != nil { + return m.DurationMs } return 0 } type EditMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // Text of the message Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` @@ -433,1111 +342,983 @@ type EditMessage struct { // Grant for community edit messages Grant []byte `protobuf:"bytes,5,opt,name=grant,proto3" json:"grant,omitempty"` // The type of message (public/one-to-one/private-group-chat) - MessageType MessageType `protobuf:"varint,6,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` - ContentType ChatMessage_ContentType `protobuf:"varint,7,opt,name=content_type,json=contentType,proto3,enum=protobuf.ChatMessage_ContentType" json:"content_type,omitempty"` - UnfurledLinks []*UnfurledLink `protobuf:"bytes,8,rep,name=unfurled_links,json=unfurledLinks,proto3" json:"unfurled_links,omitempty"` - UnfurledStatusLinks *UnfurledStatusLinks `protobuf:"bytes,9,opt,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` + MessageType MessageType `protobuf:"varint,6,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` + ContentType ChatMessage_ContentType `protobuf:"varint,7,opt,name=content_type,json=contentType,proto3,enum=protobuf.ChatMessage_ContentType" json:"content_type,omitempty"` + UnfurledLinks []*UnfurledLink `protobuf:"bytes,8,rep,name=unfurled_links,json=unfurledLinks,proto3" json:"unfurled_links,omitempty"` + UnfurledStatusLinks *UnfurledStatusLinks `protobuf:"bytes,9,opt,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *EditMessage) Reset() { - *x = EditMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EditMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EditMessage) ProtoMessage() {} - -func (x *EditMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EditMessage.ProtoReflect.Descriptor instead. +func (m *EditMessage) Reset() { *m = EditMessage{} } +func (m *EditMessage) String() string { return proto.CompactTextString(m) } +func (*EditMessage) ProtoMessage() {} func (*EditMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{3} + return fileDescriptor_263952f55fd35689, []int{3} } -func (x *EditMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *EditMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EditMessage.Unmarshal(m, b) +} +func (m *EditMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EditMessage.Marshal(b, m, deterministic) +} +func (m *EditMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_EditMessage.Merge(m, src) +} +func (m *EditMessage) XXX_Size() int { + return xxx_messageInfo_EditMessage.Size(m) +} +func (m *EditMessage) XXX_DiscardUnknown() { + xxx_messageInfo_EditMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_EditMessage proto.InternalMessageInfo + +func (m *EditMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *EditMessage) GetText() string { - if x != nil { - return x.Text +func (m *EditMessage) GetText() string { + if m != nil { + return m.Text } return "" } -func (x *EditMessage) GetChatId() string { - if x != nil { - return x.ChatId +func (m *EditMessage) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *EditMessage) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *EditMessage) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } -func (x *EditMessage) GetGrant() []byte { - if x != nil { - return x.Grant +func (m *EditMessage) GetGrant() []byte { + if m != nil { + return m.Grant } return nil } -func (x *EditMessage) GetMessageType() MessageType { - if x != nil { - return x.MessageType +func (m *EditMessage) GetMessageType() MessageType { + if m != nil { + return m.MessageType } return MessageType_UNKNOWN_MESSAGE_TYPE } -func (x *EditMessage) GetContentType() ChatMessage_ContentType { - if x != nil { - return x.ContentType +func (m *EditMessage) GetContentType() ChatMessage_ContentType { + if m != nil { + return m.ContentType } return ChatMessage_UNKNOWN_CONTENT_TYPE } -func (x *EditMessage) GetUnfurledLinks() []*UnfurledLink { - if x != nil { - return x.UnfurledLinks +func (m *EditMessage) GetUnfurledLinks() []*UnfurledLink { + if m != nil { + return m.UnfurledLinks } return nil } -func (x *EditMessage) GetUnfurledStatusLinks() *UnfurledStatusLinks { - if x != nil { - return x.UnfurledStatusLinks +func (m *EditMessage) GetUnfurledStatusLinks() *UnfurledStatusLinks { + if m != nil { + return m.UnfurledStatusLinks } return nil } type DeleteMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // Grant for community delete messages Grant []byte `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"` // The type of message (public/one-to-one/private-group-chat) - MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` - DeletedBy string `protobuf:"bytes,6,opt,name=deleted_by,json=deletedBy,proto3" json:"deleted_by,omitempty"` + MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` + DeletedBy string `protobuf:"bytes,6,opt,name=deleted_by,json=deletedBy,proto3" json:"deleted_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeleteMessage) Reset() { - *x = DeleteMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteMessage) ProtoMessage() {} - -func (x *DeleteMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteMessage.ProtoReflect.Descriptor instead. +func (m *DeleteMessage) Reset() { *m = DeleteMessage{} } +func (m *DeleteMessage) String() string { return proto.CompactTextString(m) } +func (*DeleteMessage) ProtoMessage() {} func (*DeleteMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{4} + return fileDescriptor_263952f55fd35689, []int{4} } -func (x *DeleteMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *DeleteMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteMessage.Unmarshal(m, b) +} +func (m *DeleteMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteMessage.Marshal(b, m, deterministic) +} +func (m *DeleteMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteMessage.Merge(m, src) +} +func (m *DeleteMessage) XXX_Size() int { + return xxx_messageInfo_DeleteMessage.Size(m) +} +func (m *DeleteMessage) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteMessage proto.InternalMessageInfo + +func (m *DeleteMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *DeleteMessage) GetChatId() string { - if x != nil { - return x.ChatId +func (m *DeleteMessage) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *DeleteMessage) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *DeleteMessage) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } -func (x *DeleteMessage) GetGrant() []byte { - if x != nil { - return x.Grant +func (m *DeleteMessage) GetGrant() []byte { + if m != nil { + return m.Grant } return nil } -func (x *DeleteMessage) GetMessageType() MessageType { - if x != nil { - return x.MessageType +func (m *DeleteMessage) GetMessageType() MessageType { + if m != nil { + return m.MessageType } return MessageType_UNKNOWN_MESSAGE_TYPE } -func (x *DeleteMessage) GetDeletedBy() string { - if x != nil { - return x.DeletedBy +func (m *DeleteMessage) GetDeletedBy() string { + if m != nil { + return m.DeletedBy } return "" } type SyncDeleteForMeMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncDeleteForMeMessage) Reset() { - *x = SyncDeleteForMeMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncDeleteForMeMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncDeleteForMeMessage) ProtoMessage() {} - -func (x *SyncDeleteForMeMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncDeleteForMeMessage.ProtoReflect.Descriptor instead. +func (m *SyncDeleteForMeMessage) Reset() { *m = SyncDeleteForMeMessage{} } +func (m *SyncDeleteForMeMessage) String() string { return proto.CompactTextString(m) } +func (*SyncDeleteForMeMessage) ProtoMessage() {} func (*SyncDeleteForMeMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{5} + return fileDescriptor_263952f55fd35689, []int{5} } -func (x *SyncDeleteForMeMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncDeleteForMeMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncDeleteForMeMessage.Unmarshal(m, b) +} +func (m *SyncDeleteForMeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncDeleteForMeMessage.Marshal(b, m, deterministic) +} +func (m *SyncDeleteForMeMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncDeleteForMeMessage.Merge(m, src) +} +func (m *SyncDeleteForMeMessage) XXX_Size() int { + return xxx_messageInfo_SyncDeleteForMeMessage.Size(m) +} +func (m *SyncDeleteForMeMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SyncDeleteForMeMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncDeleteForMeMessage proto.InternalMessageInfo + +func (m *SyncDeleteForMeMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncDeleteForMeMessage) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *SyncDeleteForMeMessage) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } type DiscordMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - TimestampEdited string `protobuf:"bytes,4,opt,name=timestampEdited,proto3" json:"timestampEdited,omitempty"` - Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` - Author *DiscordMessageAuthor `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` - Reference *DiscordMessageReference `protobuf:"bytes,7,opt,name=reference,proto3" json:"reference,omitempty"` - Attachments []*DiscordMessageAttachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + TimestampEdited string `protobuf:"bytes,4,opt,name=timestampEdited,proto3" json:"timestampEdited,omitempty"` + Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` + Author *DiscordMessageAuthor `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"` + Reference *DiscordMessageReference `protobuf:"bytes,7,opt,name=reference,proto3" json:"reference,omitempty"` + Attachments []*DiscordMessageAttachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscordMessage) Reset() { - *x = DiscordMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiscordMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiscordMessage) ProtoMessage() {} - -func (x *DiscordMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiscordMessage.ProtoReflect.Descriptor instead. +func (m *DiscordMessage) Reset() { *m = DiscordMessage{} } +func (m *DiscordMessage) String() string { return proto.CompactTextString(m) } +func (*DiscordMessage) ProtoMessage() {} func (*DiscordMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{6} + return fileDescriptor_263952f55fd35689, []int{6} } -func (x *DiscordMessage) GetId() string { - if x != nil { - return x.Id +func (m *DiscordMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscordMessage.Unmarshal(m, b) +} +func (m *DiscordMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscordMessage.Marshal(b, m, deterministic) +} +func (m *DiscordMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscordMessage.Merge(m, src) +} +func (m *DiscordMessage) XXX_Size() int { + return xxx_messageInfo_DiscordMessage.Size(m) +} +func (m *DiscordMessage) XXX_DiscardUnknown() { + xxx_messageInfo_DiscordMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscordMessage proto.InternalMessageInfo + +func (m *DiscordMessage) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *DiscordMessage) GetType() string { - if x != nil { - return x.Type +func (m *DiscordMessage) GetType() string { + if m != nil { + return m.Type } return "" } -func (x *DiscordMessage) GetTimestamp() string { - if x != nil { - return x.Timestamp +func (m *DiscordMessage) GetTimestamp() string { + if m != nil { + return m.Timestamp } return "" } -func (x *DiscordMessage) GetTimestampEdited() string { - if x != nil { - return x.TimestampEdited +func (m *DiscordMessage) GetTimestampEdited() string { + if m != nil { + return m.TimestampEdited } return "" } -func (x *DiscordMessage) GetContent() string { - if x != nil { - return x.Content +func (m *DiscordMessage) GetContent() string { + if m != nil { + return m.Content } return "" } -func (x *DiscordMessage) GetAuthor() *DiscordMessageAuthor { - if x != nil { - return x.Author +func (m *DiscordMessage) GetAuthor() *DiscordMessageAuthor { + if m != nil { + return m.Author } return nil } -func (x *DiscordMessage) GetReference() *DiscordMessageReference { - if x != nil { - return x.Reference +func (m *DiscordMessage) GetReference() *DiscordMessageReference { + if m != nil { + return m.Reference } return nil } -func (x *DiscordMessage) GetAttachments() []*DiscordMessageAttachment { - if x != nil { - return x.Attachments +func (m *DiscordMessage) GetAttachments() []*DiscordMessageAttachment { + if m != nil { + return m.Attachments } return nil } type DiscordMessageAuthor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Discriminator string `protobuf:"bytes,3,opt,name=discriminator,proto3" json:"discriminator,omitempty"` - Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` - AvatarUrl string `protobuf:"bytes,5,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty"` - AvatarImagePayload []byte `protobuf:"bytes,6,opt,name=avatarImagePayload,proto3" json:"avatarImagePayload,omitempty"` - LocalUrl string `protobuf:"bytes,7,opt,name=localUrl,proto3" json:"localUrl,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Discriminator string `protobuf:"bytes,3,opt,name=discriminator,proto3" json:"discriminator,omitempty"` + Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` + AvatarUrl string `protobuf:"bytes,5,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty"` + AvatarImagePayload []byte `protobuf:"bytes,6,opt,name=avatarImagePayload,proto3" json:"avatarImagePayload,omitempty"` + LocalUrl string `protobuf:"bytes,7,opt,name=localUrl,proto3" json:"localUrl,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscordMessageAuthor) Reset() { - *x = DiscordMessageAuthor{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiscordMessageAuthor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiscordMessageAuthor) ProtoMessage() {} - -func (x *DiscordMessageAuthor) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiscordMessageAuthor.ProtoReflect.Descriptor instead. +func (m *DiscordMessageAuthor) Reset() { *m = DiscordMessageAuthor{} } +func (m *DiscordMessageAuthor) String() string { return proto.CompactTextString(m) } +func (*DiscordMessageAuthor) ProtoMessage() {} func (*DiscordMessageAuthor) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{7} + return fileDescriptor_263952f55fd35689, []int{7} } -func (x *DiscordMessageAuthor) GetId() string { - if x != nil { - return x.Id +func (m *DiscordMessageAuthor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscordMessageAuthor.Unmarshal(m, b) +} +func (m *DiscordMessageAuthor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscordMessageAuthor.Marshal(b, m, deterministic) +} +func (m *DiscordMessageAuthor) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscordMessageAuthor.Merge(m, src) +} +func (m *DiscordMessageAuthor) XXX_Size() int { + return xxx_messageInfo_DiscordMessageAuthor.Size(m) +} +func (m *DiscordMessageAuthor) XXX_DiscardUnknown() { + xxx_messageInfo_DiscordMessageAuthor.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscordMessageAuthor proto.InternalMessageInfo + +func (m *DiscordMessageAuthor) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *DiscordMessageAuthor) GetName() string { - if x != nil { - return x.Name +func (m *DiscordMessageAuthor) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *DiscordMessageAuthor) GetDiscriminator() string { - if x != nil { - return x.Discriminator +func (m *DiscordMessageAuthor) GetDiscriminator() string { + if m != nil { + return m.Discriminator } return "" } -func (x *DiscordMessageAuthor) GetNickname() string { - if x != nil { - return x.Nickname +func (m *DiscordMessageAuthor) GetNickname() string { + if m != nil { + return m.Nickname } return "" } -func (x *DiscordMessageAuthor) GetAvatarUrl() string { - if x != nil { - return x.AvatarUrl +func (m *DiscordMessageAuthor) GetAvatarUrl() string { + if m != nil { + return m.AvatarUrl } return "" } -func (x *DiscordMessageAuthor) GetAvatarImagePayload() []byte { - if x != nil { - return x.AvatarImagePayload +func (m *DiscordMessageAuthor) GetAvatarImagePayload() []byte { + if m != nil { + return m.AvatarImagePayload } return nil } -func (x *DiscordMessageAuthor) GetLocalUrl() string { - if x != nil { - return x.LocalUrl +func (m *DiscordMessageAuthor) GetLocalUrl() string { + if m != nil { + return m.LocalUrl } return "" } type DiscordMessageReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageId string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"` - ChannelId string `protobuf:"bytes,2,opt,name=channelId,proto3" json:"channelId,omitempty"` - GuildId string `protobuf:"bytes,3,opt,name=guildId,proto3" json:"guildId,omitempty"` + MessageId string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"` + ChannelId string `protobuf:"bytes,2,opt,name=channelId,proto3" json:"channelId,omitempty"` + GuildId string `protobuf:"bytes,3,opt,name=guildId,proto3" json:"guildId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscordMessageReference) Reset() { - *x = DiscordMessageReference{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiscordMessageReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiscordMessageReference) ProtoMessage() {} - -func (x *DiscordMessageReference) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiscordMessageReference.ProtoReflect.Descriptor instead. +func (m *DiscordMessageReference) Reset() { *m = DiscordMessageReference{} } +func (m *DiscordMessageReference) String() string { return proto.CompactTextString(m) } +func (*DiscordMessageReference) ProtoMessage() {} func (*DiscordMessageReference) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{8} + return fileDescriptor_263952f55fd35689, []int{8} } -func (x *DiscordMessageReference) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *DiscordMessageReference) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscordMessageReference.Unmarshal(m, b) +} +func (m *DiscordMessageReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscordMessageReference.Marshal(b, m, deterministic) +} +func (m *DiscordMessageReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscordMessageReference.Merge(m, src) +} +func (m *DiscordMessageReference) XXX_Size() int { + return xxx_messageInfo_DiscordMessageReference.Size(m) +} +func (m *DiscordMessageReference) XXX_DiscardUnknown() { + xxx_messageInfo_DiscordMessageReference.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscordMessageReference proto.InternalMessageInfo + +func (m *DiscordMessageReference) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } -func (x *DiscordMessageReference) GetChannelId() string { - if x != nil { - return x.ChannelId +func (m *DiscordMessageReference) GetChannelId() string { + if m != nil { + return m.ChannelId } return "" } -func (x *DiscordMessageReference) GetGuildId() string { - if x != nil { - return x.GuildId +func (m *DiscordMessageReference) GetGuildId() string { + if m != nil { + return m.GuildId } return "" } type DiscordMessageAttachment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - MessageId string `protobuf:"bytes,2,opt,name=messageId,proto3" json:"messageId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"` - FileSizeBytes uint64 `protobuf:"varint,5,opt,name=fileSizeBytes,proto3" json:"fileSizeBytes,omitempty"` - ContentType string `protobuf:"bytes,6,opt,name=contentType,proto3" json:"contentType,omitempty"` - Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` - LocalUrl string `protobuf:"bytes,8,opt,name=localUrl,proto3" json:"localUrl,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + MessageId string `protobuf:"bytes,2,opt,name=messageId,proto3" json:"messageId,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + FileName string `protobuf:"bytes,4,opt,name=fileName,proto3" json:"fileName,omitempty"` + FileSizeBytes uint64 `protobuf:"varint,5,opt,name=fileSizeBytes,proto3" json:"fileSizeBytes,omitempty"` + ContentType string `protobuf:"bytes,6,opt,name=contentType,proto3" json:"contentType,omitempty"` + Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"` + LocalUrl string `protobuf:"bytes,8,opt,name=localUrl,proto3" json:"localUrl,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DiscordMessageAttachment) Reset() { - *x = DiscordMessageAttachment{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiscordMessageAttachment) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiscordMessageAttachment) ProtoMessage() {} - -func (x *DiscordMessageAttachment) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiscordMessageAttachment.ProtoReflect.Descriptor instead. +func (m *DiscordMessageAttachment) Reset() { *m = DiscordMessageAttachment{} } +func (m *DiscordMessageAttachment) String() string { return proto.CompactTextString(m) } +func (*DiscordMessageAttachment) ProtoMessage() {} func (*DiscordMessageAttachment) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{9} + return fileDescriptor_263952f55fd35689, []int{9} } -func (x *DiscordMessageAttachment) GetId() string { - if x != nil { - return x.Id +func (m *DiscordMessageAttachment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiscordMessageAttachment.Unmarshal(m, b) +} +func (m *DiscordMessageAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiscordMessageAttachment.Marshal(b, m, deterministic) +} +func (m *DiscordMessageAttachment) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscordMessageAttachment.Merge(m, src) +} +func (m *DiscordMessageAttachment) XXX_Size() int { + return xxx_messageInfo_DiscordMessageAttachment.Size(m) +} +func (m *DiscordMessageAttachment) XXX_DiscardUnknown() { + xxx_messageInfo_DiscordMessageAttachment.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscordMessageAttachment proto.InternalMessageInfo + +func (m *DiscordMessageAttachment) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *DiscordMessageAttachment) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *DiscordMessageAttachment) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } -func (x *DiscordMessageAttachment) GetUrl() string { - if x != nil { - return x.Url +func (m *DiscordMessageAttachment) GetUrl() string { + if m != nil { + return m.Url } return "" } -func (x *DiscordMessageAttachment) GetFileName() string { - if x != nil { - return x.FileName +func (m *DiscordMessageAttachment) GetFileName() string { + if m != nil { + return m.FileName } return "" } -func (x *DiscordMessageAttachment) GetFileSizeBytes() uint64 { - if x != nil { - return x.FileSizeBytes +func (m *DiscordMessageAttachment) GetFileSizeBytes() uint64 { + if m != nil { + return m.FileSizeBytes } return 0 } -func (x *DiscordMessageAttachment) GetContentType() string { - if x != nil { - return x.ContentType +func (m *DiscordMessageAttachment) GetContentType() string { + if m != nil { + return m.ContentType } return "" } -func (x *DiscordMessageAttachment) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -func (x *DiscordMessageAttachment) GetLocalUrl() string { - if x != nil { - return x.LocalUrl - } - return "" -} - -type UnfurledLinkThumbnail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` -} - -func (x *UnfurledLinkThumbnail) Reset() { - *x = UnfurledLinkThumbnail{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledLinkThumbnail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledLinkThumbnail) ProtoMessage() {} - -func (x *UnfurledLinkThumbnail) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledLinkThumbnail.ProtoReflect.Descriptor instead. -func (*UnfurledLinkThumbnail) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{10} -} - -func (x *UnfurledLinkThumbnail) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -func (x *UnfurledLinkThumbnail) GetWidth() uint32 { - if x != nil { - return x.Width - } - return 0 -} - -func (x *UnfurledLinkThumbnail) GetHeight() uint32 { - if x != nil { - return x.Height - } - return 0 -} - -type UnfurledLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // A valid URL which uniquely identifies this link. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // Website's title. - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // Description is sometimes available, but can be empty. Most mainstream - // websites provide this information. - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - ThumbnailPayload []byte `protobuf:"bytes,4,opt,name=thumbnail_payload,json=thumbnailPayload,proto3" json:"thumbnail_payload,omitempty"` - ThumbnailWidth uint32 `protobuf:"varint,5,opt,name=thumbnail_width,json=thumbnailWidth,proto3" json:"thumbnail_width,omitempty"` - ThumbnailHeight uint32 `protobuf:"varint,6,opt,name=thumbnail_height,json=thumbnailHeight,proto3" json:"thumbnail_height,omitempty"` - Type UnfurledLink_LinkType `protobuf:"varint,7,opt,name=type,proto3,enum=protobuf.UnfurledLink_LinkType" json:"type,omitempty"` -} - -func (x *UnfurledLink) Reset() { - *x = UnfurledLink{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledLink) ProtoMessage() {} - -func (x *UnfurledLink) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledLink.ProtoReflect.Descriptor instead. -func (*UnfurledLink) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{11} -} - -func (x *UnfurledLink) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *UnfurledLink) GetTitle() string { - if x != nil { - return x.Title - } - return "" -} - -func (x *UnfurledLink) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *UnfurledLink) GetThumbnailPayload() []byte { - if x != nil { - return x.ThumbnailPayload - } - return nil -} - -func (x *UnfurledLink) GetThumbnailWidth() uint32 { - if x != nil { - return x.ThumbnailWidth - } - return 0 -} - -func (x *UnfurledLink) GetThumbnailHeight() uint32 { - if x != nil { - return x.ThumbnailHeight - } - return 0 -} - -func (x *UnfurledLink) GetType() UnfurledLink_LinkType { - if x != nil { - return x.Type - } - return UnfurledLink_LINK -} - -type UnfurledStatusContactLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - Icon *UnfurledLinkThumbnail `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` -} - -func (x *UnfurledStatusContactLink) Reset() { - *x = UnfurledStatusContactLink{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledStatusContactLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledStatusContactLink) ProtoMessage() {} - -func (x *UnfurledStatusContactLink) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledStatusContactLink.ProtoReflect.Descriptor instead. -func (*UnfurledStatusContactLink) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{12} -} - -func (x *UnfurledStatusContactLink) GetPublicKey() []byte { - if x != nil { - return x.PublicKey - } - return nil -} - -func (x *UnfurledStatusContactLink) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *UnfurledStatusContactLink) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *UnfurledStatusContactLink) GetIcon() *UnfurledLinkThumbnail { - if x != nil { - return x.Icon - } - return nil -} - -type UnfurledStatusCommunityLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - MembersCount uint32 `protobuf:"varint,4,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` - Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` - Icon *UnfurledLinkThumbnail `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"` - Banner *UnfurledLinkThumbnail `protobuf:"bytes,8,opt,name=banner,proto3" json:"banner,omitempty"` -} - -func (x *UnfurledStatusCommunityLink) Reset() { - *x = UnfurledStatusCommunityLink{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledStatusCommunityLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledStatusCommunityLink) ProtoMessage() {} - -func (x *UnfurledStatusCommunityLink) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledStatusCommunityLink.ProtoReflect.Descriptor instead. -func (*UnfurledStatusCommunityLink) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{13} -} - -func (x *UnfurledStatusCommunityLink) GetCommunityId() []byte { - if x != nil { - return x.CommunityId - } - return nil -} - -func (x *UnfurledStatusCommunityLink) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *UnfurledStatusCommunityLink) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *UnfurledStatusCommunityLink) GetMembersCount() uint32 { - if x != nil { - return x.MembersCount - } - return 0 -} - -func (x *UnfurledStatusCommunityLink) GetColor() string { - if x != nil { - return x.Color - } - return "" -} - -func (x *UnfurledStatusCommunityLink) GetIcon() *UnfurledLinkThumbnail { - if x != nil { - return x.Icon - } - return nil -} - -func (x *UnfurledStatusCommunityLink) GetBanner() *UnfurledLinkThumbnail { - if x != nil { - return x.Banner - } - return nil -} - -type UnfurledStatusChannelLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChannelUuid []byte `protobuf:"bytes,1,opt,name=channel_uuid,json=channelUuid,proto3" json:"channel_uuid,omitempty"` - Emoji string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"` - DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` - Community *UnfurledStatusCommunityLink `protobuf:"bytes,6,opt,name=community,proto3" json:"community,omitempty"` -} - -func (x *UnfurledStatusChannelLink) Reset() { - *x = UnfurledStatusChannelLink{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledStatusChannelLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledStatusChannelLink) ProtoMessage() {} - -func (x *UnfurledStatusChannelLink) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledStatusChannelLink.ProtoReflect.Descriptor instead. -func (*UnfurledStatusChannelLink) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{14} -} - -func (x *UnfurledStatusChannelLink) GetChannelUuid() []byte { - if x != nil { - return x.ChannelUuid - } - return nil -} - -func (x *UnfurledStatusChannelLink) GetEmoji() string { - if x != nil { - return x.Emoji - } - return "" -} - -func (x *UnfurledStatusChannelLink) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *UnfurledStatusChannelLink) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *UnfurledStatusChannelLink) GetColor() string { - if x != nil { - return x.Color - } - return "" -} - -func (x *UnfurledStatusChannelLink) GetCommunity() *UnfurledStatusCommunityLink { - if x != nil { - return x.Community - } - return nil -} - -type UnfurledStatusLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // Types that are assignable to Payload: - // - // *UnfurledStatusLink_Contact - // *UnfurledStatusLink_Community - // *UnfurledStatusLink_Channel - Payload isUnfurledStatusLink_Payload `protobuf_oneof:"payload"` -} - -func (x *UnfurledStatusLink) Reset() { - *x = UnfurledStatusLink{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledStatusLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledStatusLink) ProtoMessage() {} - -func (x *UnfurledStatusLink) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledStatusLink.ProtoReflect.Descriptor instead. -func (*UnfurledStatusLink) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{15} -} - -func (x *UnfurledStatusLink) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (m *UnfurledStatusLink) GetPayload() isUnfurledStatusLink_Payload { +func (m *DiscordMessageAttachment) GetPayload() []byte { if m != nil { return m.Payload } return nil } -func (x *UnfurledStatusLink) GetContact() *UnfurledStatusContactLink { - if x, ok := x.GetPayload().(*UnfurledStatusLink_Contact); ok { - return x.Contact +func (m *DiscordMessageAttachment) GetLocalUrl() string { + if m != nil { + return m.LocalUrl + } + return "" +} + +type UnfurledLinkThumbnail struct { + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledLinkThumbnail) Reset() { *m = UnfurledLinkThumbnail{} } +func (m *UnfurledLinkThumbnail) String() string { return proto.CompactTextString(m) } +func (*UnfurledLinkThumbnail) ProtoMessage() {} +func (*UnfurledLinkThumbnail) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{10} +} + +func (m *UnfurledLinkThumbnail) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledLinkThumbnail.Unmarshal(m, b) +} +func (m *UnfurledLinkThumbnail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledLinkThumbnail.Marshal(b, m, deterministic) +} +func (m *UnfurledLinkThumbnail) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledLinkThumbnail.Merge(m, src) +} +func (m *UnfurledLinkThumbnail) XXX_Size() int { + return xxx_messageInfo_UnfurledLinkThumbnail.Size(m) +} +func (m *UnfurledLinkThumbnail) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledLinkThumbnail.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledLinkThumbnail proto.InternalMessageInfo + +func (m *UnfurledLinkThumbnail) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *UnfurledStatusLink) GetCommunity() *UnfurledStatusCommunityLink { - if x, ok := x.GetPayload().(*UnfurledStatusLink_Community); ok { - return x.Community +func (m *UnfurledLinkThumbnail) GetWidth() uint32 { + if m != nil { + return m.Width + } + return 0 +} + +func (m *UnfurledLinkThumbnail) GetHeight() uint32 { + if m != nil { + return m.Height + } + return 0 +} + +type UnfurledLink struct { + // A valid URL which uniquely identifies this link. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Website's title. + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + // Description is sometimes available, but can be empty. Most mainstream + // websites provide this information. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + ThumbnailPayload []byte `protobuf:"bytes,4,opt,name=thumbnail_payload,json=thumbnailPayload,proto3" json:"thumbnail_payload,omitempty"` + ThumbnailWidth uint32 `protobuf:"varint,5,opt,name=thumbnail_width,json=thumbnailWidth,proto3" json:"thumbnail_width,omitempty"` + ThumbnailHeight uint32 `protobuf:"varint,6,opt,name=thumbnail_height,json=thumbnailHeight,proto3" json:"thumbnail_height,omitempty"` + Type UnfurledLink_LinkType `protobuf:"varint,7,opt,name=type,proto3,enum=protobuf.UnfurledLink_LinkType" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledLink) Reset() { *m = UnfurledLink{} } +func (m *UnfurledLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledLink) ProtoMessage() {} +func (*UnfurledLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{11} +} + +func (m *UnfurledLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledLink.Unmarshal(m, b) +} +func (m *UnfurledLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledLink.Marshal(b, m, deterministic) +} +func (m *UnfurledLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledLink.Merge(m, src) +} +func (m *UnfurledLink) XXX_Size() int { + return xxx_messageInfo_UnfurledLink.Size(m) +} +func (m *UnfurledLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledLink proto.InternalMessageInfo + +func (m *UnfurledLink) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *UnfurledLink) GetTitle() string { + if m != nil { + return m.Title + } + return "" +} + +func (m *UnfurledLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledLink) GetThumbnailPayload() []byte { + if m != nil { + return m.ThumbnailPayload } return nil } -func (x *UnfurledStatusLink) GetChannel() *UnfurledStatusChannelLink { - if x, ok := x.GetPayload().(*UnfurledStatusLink_Channel); ok { - return x.Channel +func (m *UnfurledLink) GetThumbnailWidth() uint32 { + if m != nil { + return m.ThumbnailWidth + } + return 0 +} + +func (m *UnfurledLink) GetThumbnailHeight() uint32 { + if m != nil { + return m.ThumbnailHeight + } + return 0 +} + +func (m *UnfurledLink) GetType() UnfurledLink_LinkType { + if m != nil { + return m.Type + } + return UnfurledLink_LINK +} + +type UnfurledStatusContactLink struct { + PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Icon *UnfurledLinkThumbnail `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusContactLink) Reset() { *m = UnfurledStatusContactLink{} } +func (m *UnfurledStatusContactLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusContactLink) ProtoMessage() {} +func (*UnfurledStatusContactLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{12} +} + +func (m *UnfurledStatusContactLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusContactLink.Unmarshal(m, b) +} +func (m *UnfurledStatusContactLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusContactLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusContactLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusContactLink.Merge(m, src) +} +func (m *UnfurledStatusContactLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusContactLink.Size(m) +} +func (m *UnfurledStatusContactLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusContactLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusContactLink proto.InternalMessageInfo + +func (m *UnfurledStatusContactLink) GetPublicKey() []byte { + if m != nil { + return m.PublicKey } return nil } +func (m *UnfurledStatusContactLink) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *UnfurledStatusContactLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledStatusContactLink) GetIcon() *UnfurledLinkThumbnail { + if m != nil { + return m.Icon + } + return nil +} + +type UnfurledStatusCommunityLink struct { + CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + MembersCount uint32 `protobuf:"varint,4,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` + Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` + Icon *UnfurledLinkThumbnail `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"` + Banner *UnfurledLinkThumbnail `protobuf:"bytes,8,opt,name=banner,proto3" json:"banner,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusCommunityLink) Reset() { *m = UnfurledStatusCommunityLink{} } +func (m *UnfurledStatusCommunityLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusCommunityLink) ProtoMessage() {} +func (*UnfurledStatusCommunityLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{13} +} + +func (m *UnfurledStatusCommunityLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusCommunityLink.Unmarshal(m, b) +} +func (m *UnfurledStatusCommunityLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusCommunityLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusCommunityLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusCommunityLink.Merge(m, src) +} +func (m *UnfurledStatusCommunityLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusCommunityLink.Size(m) +} +func (m *UnfurledStatusCommunityLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusCommunityLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusCommunityLink proto.InternalMessageInfo + +func (m *UnfurledStatusCommunityLink) GetCommunityId() []byte { + if m != nil { + return m.CommunityId + } + return nil +} + +func (m *UnfurledStatusCommunityLink) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *UnfurledStatusCommunityLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledStatusCommunityLink) GetMembersCount() uint32 { + if m != nil { + return m.MembersCount + } + return 0 +} + +func (m *UnfurledStatusCommunityLink) GetColor() string { + if m != nil { + return m.Color + } + return "" +} + +func (m *UnfurledStatusCommunityLink) GetIcon() *UnfurledLinkThumbnail { + if m != nil { + return m.Icon + } + return nil +} + +func (m *UnfurledStatusCommunityLink) GetBanner() *UnfurledLinkThumbnail { + if m != nil { + return m.Banner + } + return nil +} + +type UnfurledStatusChannelLink struct { + ChannelUuid []byte `protobuf:"bytes,1,opt,name=channel_uuid,json=channelUuid,proto3" json:"channel_uuid,omitempty"` + Emoji string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"` + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` + Community *UnfurledStatusCommunityLink `protobuf:"bytes,6,opt,name=community,proto3" json:"community,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusChannelLink) Reset() { *m = UnfurledStatusChannelLink{} } +func (m *UnfurledStatusChannelLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusChannelLink) ProtoMessage() {} +func (*UnfurledStatusChannelLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{14} +} + +func (m *UnfurledStatusChannelLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusChannelLink.Unmarshal(m, b) +} +func (m *UnfurledStatusChannelLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusChannelLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusChannelLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusChannelLink.Merge(m, src) +} +func (m *UnfurledStatusChannelLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusChannelLink.Size(m) +} +func (m *UnfurledStatusChannelLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusChannelLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusChannelLink proto.InternalMessageInfo + +func (m *UnfurledStatusChannelLink) GetChannelUuid() []byte { + if m != nil { + return m.ChannelUuid + } + return nil +} + +func (m *UnfurledStatusChannelLink) GetEmoji() string { + if m != nil { + return m.Emoji + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetColor() string { + if m != nil { + return m.Color + } + return "" +} + +func (m *UnfurledStatusChannelLink) GetCommunity() *UnfurledStatusCommunityLink { + if m != nil { + return m.Community + } + return nil +} + +type UnfurledStatusLink struct { + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // Types that are valid to be assigned to Payload: + // + // *UnfurledStatusLink_Contact + // *UnfurledStatusLink_Community + // *UnfurledStatusLink_Channel + Payload isUnfurledStatusLink_Payload `protobuf_oneof:"payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnfurledStatusLink) Reset() { *m = UnfurledStatusLink{} } +func (m *UnfurledStatusLink) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusLink) ProtoMessage() {} +func (*UnfurledStatusLink) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{15} +} + +func (m *UnfurledStatusLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusLink.Unmarshal(m, b) +} +func (m *UnfurledStatusLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusLink.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusLink.Merge(m, src) +} +func (m *UnfurledStatusLink) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusLink.Size(m) +} +func (m *UnfurledStatusLink) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusLink.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusLink proto.InternalMessageInfo + +func (m *UnfurledStatusLink) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + type isUnfurledStatusLink_Payload interface { isUnfurledStatusLink_Payload() } @@ -1560,59 +1341,84 @@ func (*UnfurledStatusLink_Community) isUnfurledStatusLink_Payload() {} func (*UnfurledStatusLink_Channel) isUnfurledStatusLink_Payload() {} +func (m *UnfurledStatusLink) GetPayload() isUnfurledStatusLink_Payload { + if m != nil { + return m.Payload + } + return nil +} + +func (m *UnfurledStatusLink) GetContact() *UnfurledStatusContactLink { + if x, ok := m.GetPayload().(*UnfurledStatusLink_Contact); ok { + return x.Contact + } + return nil +} + +func (m *UnfurledStatusLink) GetCommunity() *UnfurledStatusCommunityLink { + if x, ok := m.GetPayload().(*UnfurledStatusLink_Community); ok { + return x.Community + } + return nil +} + +func (m *UnfurledStatusLink) GetChannel() *UnfurledStatusChannelLink { + if x, ok := m.GetPayload().(*UnfurledStatusLink_Channel); ok { + return x.Channel + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UnfurledStatusLink) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UnfurledStatusLink_Contact)(nil), + (*UnfurledStatusLink_Community)(nil), + (*UnfurledStatusLink_Channel)(nil), + } +} + // Create a wrapper around repeated property for proper unmarshalling type UnfurledStatusLinks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UnfurledStatusLinks []*UnfurledStatusLink `protobuf:"bytes,1,rep,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` + UnfurledStatusLinks []*UnfurledStatusLink `protobuf:"bytes,1,rep,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *UnfurledStatusLinks) Reset() { - *x = UnfurledStatusLinks{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfurledStatusLinks) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfurledStatusLinks) ProtoMessage() {} - -func (x *UnfurledStatusLinks) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfurledStatusLinks.ProtoReflect.Descriptor instead. +func (m *UnfurledStatusLinks) Reset() { *m = UnfurledStatusLinks{} } +func (m *UnfurledStatusLinks) String() string { return proto.CompactTextString(m) } +func (*UnfurledStatusLinks) ProtoMessage() {} func (*UnfurledStatusLinks) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{16} + return fileDescriptor_263952f55fd35689, []int{16} } -func (x *UnfurledStatusLinks) GetUnfurledStatusLinks() []*UnfurledStatusLink { - if x != nil { - return x.UnfurledStatusLinks +func (m *UnfurledStatusLinks) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnfurledStatusLinks.Unmarshal(m, b) +} +func (m *UnfurledStatusLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnfurledStatusLinks.Marshal(b, m, deterministic) +} +func (m *UnfurledStatusLinks) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnfurledStatusLinks.Merge(m, src) +} +func (m *UnfurledStatusLinks) XXX_Size() int { + return xxx_messageInfo_UnfurledStatusLinks.Size(m) +} +func (m *UnfurledStatusLinks) XXX_DiscardUnknown() { + xxx_messageInfo_UnfurledStatusLinks.DiscardUnknown(m) +} + +var xxx_messageInfo_UnfurledStatusLinks proto.InternalMessageInfo + +func (m *UnfurledStatusLinks) GetUnfurledStatusLinks() []*UnfurledStatusLink { + if m != nil { + return m.UnfurledStatusLinks } return nil } type ChatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Lamport timestamp of the chat message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // Unix timestamps in milliseconds, currently not used as we use whisper as @@ -1634,7 +1440,7 @@ type ChatMessage struct { MessageType MessageType `protobuf:"varint,7,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` // The type of the content of the message ContentType ChatMessage_ContentType `protobuf:"varint,8,opt,name=content_type,json=contentType,proto3,enum=protobuf.ChatMessage_ContentType" json:"content_type,omitempty"` - // Types that are assignable to Payload: + // Types that are valid to be assigned to Payload: // // *ChatMessage_Sticker // *ChatMessage_Image @@ -1650,180 +1456,92 @@ type ChatMessage struct { UnfurledLinks []*UnfurledLink `protobuf:"bytes,16,rep,name=unfurled_links,json=unfurledLinks,proto3" json:"unfurled_links,omitempty"` Shard *Shard `protobuf:"bytes,17,opt,name=shard,proto3" json:"shard,omitempty"` UnfurledStatusLinks *UnfurledStatusLinks `protobuf:"bytes,18,opt,name=unfurled_status_links,json=unfurledStatusLinks,proto3" json:"unfurled_status_links,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ChatMessage) Reset() { - *x = ChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_chat_message_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChatMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChatMessage) ProtoMessage() {} - -func (x *ChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_chat_message_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead. +func (m *ChatMessage) Reset() { *m = ChatMessage{} } +func (m *ChatMessage) String() string { return proto.CompactTextString(m) } +func (*ChatMessage) ProtoMessage() {} func (*ChatMessage) Descriptor() ([]byte, []int) { - return file_chat_message_proto_rawDescGZIP(), []int{17} + return fileDescriptor_263952f55fd35689, []int{17} } -func (x *ChatMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *ChatMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChatMessage.Unmarshal(m, b) +} +func (m *ChatMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChatMessage.Marshal(b, m, deterministic) +} +func (m *ChatMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChatMessage.Merge(m, src) +} +func (m *ChatMessage) XXX_Size() int { + return xxx_messageInfo_ChatMessage.Size(m) +} +func (m *ChatMessage) XXX_DiscardUnknown() { + xxx_messageInfo_ChatMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_ChatMessage proto.InternalMessageInfo + +func (m *ChatMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *ChatMessage) GetTimestamp() uint64 { - if x != nil { - return x.Timestamp +func (m *ChatMessage) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *ChatMessage) GetText() string { - if x != nil { - return x.Text +func (m *ChatMessage) GetText() string { + if m != nil { + return m.Text } return "" } -func (x *ChatMessage) GetResponseTo() string { - if x != nil { - return x.ResponseTo +func (m *ChatMessage) GetResponseTo() string { + if m != nil { + return m.ResponseTo } return "" } -func (x *ChatMessage) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *ChatMessage) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *ChatMessage) GetChatId() string { - if x != nil { - return x.ChatId +func (m *ChatMessage) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *ChatMessage) GetMessageType() MessageType { - if x != nil { - return x.MessageType +func (m *ChatMessage) GetMessageType() MessageType { + if m != nil { + return m.MessageType } return MessageType_UNKNOWN_MESSAGE_TYPE } -func (x *ChatMessage) GetContentType() ChatMessage_ContentType { - if x != nil { - return x.ContentType +func (m *ChatMessage) GetContentType() ChatMessage_ContentType { + if m != nil { + return m.ContentType } return ChatMessage_UNKNOWN_CONTENT_TYPE } -func (m *ChatMessage) GetPayload() isChatMessage_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (x *ChatMessage) GetSticker() *StickerMessage { - if x, ok := x.GetPayload().(*ChatMessage_Sticker); ok { - return x.Sticker - } - return nil -} - -func (x *ChatMessage) GetImage() *ImageMessage { - if x, ok := x.GetPayload().(*ChatMessage_Image); ok { - return x.Image - } - return nil -} - -func (x *ChatMessage) GetAudio() *AudioMessage { - if x, ok := x.GetPayload().(*ChatMessage_Audio); ok { - return x.Audio - } - return nil -} - -func (x *ChatMessage) GetCommunity() []byte { - if x, ok := x.GetPayload().(*ChatMessage_Community); ok { - return x.Community - } - return nil -} - -func (x *ChatMessage) GetDiscordMessage() *DiscordMessage { - if x, ok := x.GetPayload().(*ChatMessage_DiscordMessage); ok { - return x.DiscordMessage - } - return nil -} - -func (x *ChatMessage) GetGrant() []byte { - if x != nil { - return x.Grant - } - return nil -} - -func (x *ChatMessage) GetDisplayName() string { - if x != nil { - return x.DisplayName - } - return "" -} - -func (x *ChatMessage) GetContactRequestPropagatedState() *ContactRequestPropagatedState { - if x != nil { - return x.ContactRequestPropagatedState - } - return nil -} - -func (x *ChatMessage) GetUnfurledLinks() []*UnfurledLink { - if x != nil { - return x.UnfurledLinks - } - return nil -} - -func (x *ChatMessage) GetShard() *Shard { - if x != nil { - return x.Shard - } - return nil -} - -func (x *ChatMessage) GetUnfurledStatusLinks() *UnfurledStatusLinks { - if x != nil { - return x.UnfurledStatusLinks - } - return nil -} - type isChatMessage_Payload interface { isChatMessage_Payload() } @@ -1858,659 +1576,244 @@ func (*ChatMessage_Community) isChatMessage_Payload() {} func (*ChatMessage_DiscordMessage) isChatMessage_Payload() {} -var File_chat_message_proto protoreflect.FileDescriptor - -var file_chat_message_proto_rawDesc = []byte{ - 0x0a, 0x12, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, - 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x0e, 0x53, 0x74, 0x69, 0x63, 0x6b, - 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x63, - 0x6b, 0x22, 0xc8, 0x01, 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x27, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x49, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2c, - 0x0a, 0x12, 0x61, 0x6c, 0x62, 0x75, 0x6d, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x61, 0x6c, 0x62, 0x75, - 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb6, 0x01, 0x0a, - 0x0c, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x75, - 0x64, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, - 0x0b, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0a, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x22, 0x35, - 0x0a, 0x09, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x41, 0x43, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, - 0x41, 0x4d, 0x52, 0x10, 0x02, 0x22, 0x97, 0x03, 0x0a, 0x0b, 0x45, 0x64, 0x69, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, - 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x38, 0x0a, - 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, - 0x0e, 0x75, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0d, 0x75, - 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x51, 0x0a, 0x15, - 0x75, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, - 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x13, 0x75, 0x6e, 0x66, 0x75, - 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x22, - 0xcc, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, - 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, - 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0x4d, - 0x0a, 0x16, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x4d, - 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, - 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0xd5, 0x02, - 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x45, - 0x64, 0x69, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x45, 0x64, 0x69, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x3f, - 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, - 0x44, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x74, - 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, - 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x72, - 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, - 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, - 0x72, 0x6c, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, - 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x22, 0x6f, - 0x0a, 0x17, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, - 0xf4, 0x01, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, - 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20, - 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x22, 0x5f, 0x0a, 0x15, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, - 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x12, - 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, - 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, - 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xaf, 0x02, 0x0a, 0x0c, 0x55, 0x6e, 0x66, 0x75, - 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, - 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x74, - 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, - 0x27, 0x0a, 0x0f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x77, 0x69, 0x64, - 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, - 0x61, 0x69, 0x6c, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x68, 0x75, 0x6d, - 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x0f, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x48, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, - 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1f, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x6b, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x22, 0xb4, 0x01, 0x0a, 0x19, 0x55, 0x6e, - 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x69, - 0x63, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, - 0x6b, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, - 0x22, 0xae, 0x02, 0x0a, 0x1b, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x6e, 0x6b, - 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, - 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, - 0x69, 0x6c, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x06, 0x62, 0x61, 0x6e, 0x6e, - 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, - 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x06, 0x62, 0x61, 0x6e, 0x6e, 0x65, - 0x72, 0x22, 0xf4, 0x01, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, - 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x75, - 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x09, 0x63, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x22, 0xfa, 0x01, 0x0a, 0x12, 0x55, 0x6e, 0x66, - 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x12, 0x3f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, - 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, - 0x63, 0x74, 0x12, 0x45, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x09, - 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x48, - 0x00, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x67, 0x0a, 0x13, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x50, 0x0a, 0x15, - 0x75, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, - 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x13, 0x75, 0x6e, 0x66, 0x75, 0x72, - 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x22, 0xd3, - 0x0a, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x5f, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x0c, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x73, - 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x65, - 0x72, 0x12, 0x2e, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6d, 0x61, 0x67, - 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x75, 0x64, 0x69, - 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x61, 0x75, 0x64, 0x69, - 0x6f, 0x12, 0x1e, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x63, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x72, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, - 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x70, 0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x52, 0x1d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x3d, 0x0a, 0x0e, 0x75, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x69, - 0x6e, 0x6b, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, - 0x6b, 0x52, 0x0d, 0x75, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x73, - 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x51, 0x0a, 0x15, 0x75, 0x6e, 0x66, 0x75, 0x72, - 0x6c, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, - 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x55, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x13, 0x75, 0x6e, 0x66, 0x75, 0x72, 0x6c, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x22, 0xbc, 0x03, 0x0a, 0x0b, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x50, 0x4c, 0x41, - 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x10, - 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x10, 0x03, 0x12, 0x09, 0x0a, - 0x05, 0x45, 0x4d, 0x4f, 0x4a, 0x49, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x52, 0x41, 0x4e, - 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x10, - 0x05, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, - 0x41, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, 0x49, 0x56, - 0x41, 0x54, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05, 0x49, - 0x4d, 0x41, 0x47, 0x45, 0x10, 0x07, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, - 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x10, 0x09, - 0x12, 0x16, 0x0a, 0x12, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, - 0x47, 0x45, 0x5f, 0x47, 0x41, 0x50, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4e, 0x54, - 0x41, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x0b, 0x12, 0x13, 0x0a, - 0x0f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, - 0x10, 0x0c, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x56, - 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0d, 0x12, 0x21, 0x0a, - 0x1d, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, - 0x50, 0x49, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x0e, - 0x12, 0x24, 0x0a, 0x20, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, - 0x47, 0x45, 0x5f, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x53, 0x45, 0x4e, 0x54, 0x10, 0x0f, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, - 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, - 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x10, - 0x12, 0x27, 0x0a, 0x23, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, - 0x47, 0x45, 0x5f, 0x4d, 0x55, 0x54, 0x55, 0x41, 0x4c, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, - 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x11, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_chat_message_proto_rawDescOnce sync.Once - file_chat_message_proto_rawDescData = file_chat_message_proto_rawDesc -) - -func file_chat_message_proto_rawDescGZIP() []byte { - file_chat_message_proto_rawDescOnce.Do(func() { - file_chat_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_message_proto_rawDescData) - }) - return file_chat_message_proto_rawDescData -} - -var file_chat_message_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_chat_message_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_chat_message_proto_goTypes = []interface{}{ - (AudioMessage_AudioType)(0), // 0: protobuf.AudioMessage.AudioType - (UnfurledLink_LinkType)(0), // 1: protobuf.UnfurledLink.LinkType - (ChatMessage_ContentType)(0), // 2: protobuf.ChatMessage.ContentType - (*StickerMessage)(nil), // 3: protobuf.StickerMessage - (*ImageMessage)(nil), // 4: protobuf.ImageMessage - (*AudioMessage)(nil), // 5: protobuf.AudioMessage - (*EditMessage)(nil), // 6: protobuf.EditMessage - (*DeleteMessage)(nil), // 7: protobuf.DeleteMessage - (*SyncDeleteForMeMessage)(nil), // 8: protobuf.SyncDeleteForMeMessage - (*DiscordMessage)(nil), // 9: protobuf.DiscordMessage - (*DiscordMessageAuthor)(nil), // 10: protobuf.DiscordMessageAuthor - (*DiscordMessageReference)(nil), // 11: protobuf.DiscordMessageReference - (*DiscordMessageAttachment)(nil), // 12: protobuf.DiscordMessageAttachment - (*UnfurledLinkThumbnail)(nil), // 13: protobuf.UnfurledLinkThumbnail - (*UnfurledLink)(nil), // 14: protobuf.UnfurledLink - (*UnfurledStatusContactLink)(nil), // 15: protobuf.UnfurledStatusContactLink - (*UnfurledStatusCommunityLink)(nil), // 16: protobuf.UnfurledStatusCommunityLink - (*UnfurledStatusChannelLink)(nil), // 17: protobuf.UnfurledStatusChannelLink - (*UnfurledStatusLink)(nil), // 18: protobuf.UnfurledStatusLink - (*UnfurledStatusLinks)(nil), // 19: protobuf.UnfurledStatusLinks - (*ChatMessage)(nil), // 20: protobuf.ChatMessage - (ImageType)(0), // 21: protobuf.ImageType - (MessageType)(0), // 22: protobuf.MessageType - (*ContactRequestPropagatedState)(nil), // 23: protobuf.ContactRequestPropagatedState - (*Shard)(nil), // 24: protobuf.Shard -} -var file_chat_message_proto_depIdxs = []int32{ - 21, // 0: protobuf.ImageMessage.type:type_name -> protobuf.ImageType - 0, // 1: protobuf.AudioMessage.type:type_name -> protobuf.AudioMessage.AudioType - 22, // 2: protobuf.EditMessage.message_type:type_name -> protobuf.MessageType - 2, // 3: protobuf.EditMessage.content_type:type_name -> protobuf.ChatMessage.ContentType - 14, // 4: protobuf.EditMessage.unfurled_links:type_name -> protobuf.UnfurledLink - 19, // 5: protobuf.EditMessage.unfurled_status_links:type_name -> protobuf.UnfurledStatusLinks - 22, // 6: protobuf.DeleteMessage.message_type:type_name -> protobuf.MessageType - 10, // 7: protobuf.DiscordMessage.author:type_name -> protobuf.DiscordMessageAuthor - 11, // 8: protobuf.DiscordMessage.reference:type_name -> protobuf.DiscordMessageReference - 12, // 9: protobuf.DiscordMessage.attachments:type_name -> protobuf.DiscordMessageAttachment - 1, // 10: protobuf.UnfurledLink.type:type_name -> protobuf.UnfurledLink.LinkType - 13, // 11: protobuf.UnfurledStatusContactLink.icon:type_name -> protobuf.UnfurledLinkThumbnail - 13, // 12: protobuf.UnfurledStatusCommunityLink.icon:type_name -> protobuf.UnfurledLinkThumbnail - 13, // 13: protobuf.UnfurledStatusCommunityLink.banner:type_name -> protobuf.UnfurledLinkThumbnail - 16, // 14: protobuf.UnfurledStatusChannelLink.community:type_name -> protobuf.UnfurledStatusCommunityLink - 15, // 15: protobuf.UnfurledStatusLink.contact:type_name -> protobuf.UnfurledStatusContactLink - 16, // 16: protobuf.UnfurledStatusLink.community:type_name -> protobuf.UnfurledStatusCommunityLink - 17, // 17: protobuf.UnfurledStatusLink.channel:type_name -> protobuf.UnfurledStatusChannelLink - 18, // 18: protobuf.UnfurledStatusLinks.unfurled_status_links:type_name -> protobuf.UnfurledStatusLink - 22, // 19: protobuf.ChatMessage.message_type:type_name -> protobuf.MessageType - 2, // 20: protobuf.ChatMessage.content_type:type_name -> protobuf.ChatMessage.ContentType - 3, // 21: protobuf.ChatMessage.sticker:type_name -> protobuf.StickerMessage - 4, // 22: protobuf.ChatMessage.image:type_name -> protobuf.ImageMessage - 5, // 23: protobuf.ChatMessage.audio:type_name -> protobuf.AudioMessage - 9, // 24: protobuf.ChatMessage.discord_message:type_name -> protobuf.DiscordMessage - 23, // 25: protobuf.ChatMessage.contact_request_propagated_state:type_name -> protobuf.ContactRequestPropagatedState - 14, // 26: protobuf.ChatMessage.unfurled_links:type_name -> protobuf.UnfurledLink - 24, // 27: protobuf.ChatMessage.shard:type_name -> protobuf.Shard - 19, // 28: protobuf.ChatMessage.unfurled_status_links:type_name -> protobuf.UnfurledStatusLinks - 29, // [29:29] is the sub-list for method output_type - 29, // [29:29] is the sub-list for method input_type - 29, // [29:29] is the sub-list for extension type_name - 29, // [29:29] is the sub-list for extension extendee - 0, // [0:29] is the sub-list for field type_name -} - -func init() { file_chat_message_proto_init() } -func file_chat_message_proto_init() { - if File_chat_message_proto != nil { - return +func (m *ChatMessage) GetPayload() isChatMessage_Payload { + if m != nil { + return m.Payload } - file_enums_proto_init() - file_contact_proto_init() - file_shard_proto_init() - if !protoimpl.UnsafeEnabled { - file_chat_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AudioMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EditMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncDeleteForMeMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscordMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscordMessageAuthor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscordMessageReference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscordMessageAttachment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledLinkThumbnail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledStatusContactLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledStatusCommunityLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledStatusChannelLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledStatusLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfurledStatusLinks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_chat_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } + return nil +} + +func (m *ChatMessage) GetSticker() *StickerMessage { + if x, ok := m.GetPayload().(*ChatMessage_Sticker); ok { + return x.Sticker } - file_chat_message_proto_msgTypes[15].OneofWrappers = []interface{}{ - (*UnfurledStatusLink_Contact)(nil), - (*UnfurledStatusLink_Community)(nil), - (*UnfurledStatusLink_Channel)(nil), + return nil +} + +func (m *ChatMessage) GetImage() *ImageMessage { + if x, ok := m.GetPayload().(*ChatMessage_Image); ok { + return x.Image } - file_chat_message_proto_msgTypes[17].OneofWrappers = []interface{}{ + return nil +} + +func (m *ChatMessage) GetAudio() *AudioMessage { + if x, ok := m.GetPayload().(*ChatMessage_Audio); ok { + return x.Audio + } + return nil +} + +func (m *ChatMessage) GetCommunity() []byte { + if x, ok := m.GetPayload().(*ChatMessage_Community); ok { + return x.Community + } + return nil +} + +func (m *ChatMessage) GetDiscordMessage() *DiscordMessage { + if x, ok := m.GetPayload().(*ChatMessage_DiscordMessage); ok { + return x.DiscordMessage + } + return nil +} + +func (m *ChatMessage) GetGrant() []byte { + if m != nil { + return m.Grant + } + return nil +} + +func (m *ChatMessage) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *ChatMessage) GetContactRequestPropagatedState() *ContactRequestPropagatedState { + if m != nil { + return m.ContactRequestPropagatedState + } + return nil +} + +func (m *ChatMessage) GetUnfurledLinks() []*UnfurledLink { + if m != nil { + return m.UnfurledLinks + } + return nil +} + +func (m *ChatMessage) GetShard() *Shard { + if m != nil { + return m.Shard + } + return nil +} + +func (m *ChatMessage) GetUnfurledStatusLinks() *UnfurledStatusLinks { + if m != nil { + return m.UnfurledStatusLinks + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ChatMessage) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*ChatMessage_Sticker)(nil), (*ChatMessage_Image)(nil), (*ChatMessage_Audio)(nil), (*ChatMessage_Community)(nil), (*ChatMessage_DiscordMessage)(nil), } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_chat_message_proto_rawDesc, - NumEnums: 3, - NumMessages: 18, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_chat_message_proto_goTypes, - DependencyIndexes: file_chat_message_proto_depIdxs, - EnumInfos: file_chat_message_proto_enumTypes, - MessageInfos: file_chat_message_proto_msgTypes, - }.Build() - File_chat_message_proto = out.File - file_chat_message_proto_rawDesc = nil - file_chat_message_proto_goTypes = nil - file_chat_message_proto_depIdxs = nil +} + +func init() { + proto.RegisterEnum("protobuf.AudioMessage_AudioType", AudioMessage_AudioType_name, AudioMessage_AudioType_value) + proto.RegisterEnum("protobuf.UnfurledLink_LinkType", UnfurledLink_LinkType_name, UnfurledLink_LinkType_value) + proto.RegisterEnum("protobuf.ChatMessage_ContentType", ChatMessage_ContentType_name, ChatMessage_ContentType_value) + proto.RegisterType((*StickerMessage)(nil), "protobuf.StickerMessage") + proto.RegisterType((*ImageMessage)(nil), "protobuf.ImageMessage") + proto.RegisterType((*AudioMessage)(nil), "protobuf.AudioMessage") + proto.RegisterType((*EditMessage)(nil), "protobuf.EditMessage") + proto.RegisterType((*DeleteMessage)(nil), "protobuf.DeleteMessage") + proto.RegisterType((*SyncDeleteForMeMessage)(nil), "protobuf.SyncDeleteForMeMessage") + proto.RegisterType((*DiscordMessage)(nil), "protobuf.DiscordMessage") + proto.RegisterType((*DiscordMessageAuthor)(nil), "protobuf.DiscordMessageAuthor") + proto.RegisterType((*DiscordMessageReference)(nil), "protobuf.DiscordMessageReference") + proto.RegisterType((*DiscordMessageAttachment)(nil), "protobuf.DiscordMessageAttachment") + proto.RegisterType((*UnfurledLinkThumbnail)(nil), "protobuf.UnfurledLinkThumbnail") + proto.RegisterType((*UnfurledLink)(nil), "protobuf.UnfurledLink") + proto.RegisterType((*UnfurledStatusContactLink)(nil), "protobuf.UnfurledStatusContactLink") + proto.RegisterType((*UnfurledStatusCommunityLink)(nil), "protobuf.UnfurledStatusCommunityLink") + proto.RegisterType((*UnfurledStatusChannelLink)(nil), "protobuf.UnfurledStatusChannelLink") + proto.RegisterType((*UnfurledStatusLink)(nil), "protobuf.UnfurledStatusLink") + proto.RegisterType((*UnfurledStatusLinks)(nil), "protobuf.UnfurledStatusLinks") + proto.RegisterType((*ChatMessage)(nil), "protobuf.ChatMessage") +} + +func init() { + proto.RegisterFile("chat_message.proto", fileDescriptor_263952f55fd35689) +} + +var fileDescriptor_263952f55fd35689 = []byte{ + // 1840 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x92, 0xdb, 0x58, + 0x11, 0x1e, 0xff, 0x8f, 0x5a, 0xb6, 0x47, 0x39, 0x33, 0x99, 0x38, 0x21, 0xb3, 0x71, 0x94, 0x6c, + 0x65, 0x28, 0xa8, 0xa1, 0x6a, 0xb2, 0xc0, 0x56, 0x51, 0xd4, 0x96, 0x62, 0x6b, 0x13, 0x91, 0xd8, + 0xe3, 0x95, 0xe5, 0x2c, 0xe1, 0x46, 0xa5, 0x91, 0x4e, 0xc6, 0x62, 0xf4, 0x63, 0xf4, 0x03, 0x98, + 0x17, 0xe1, 0x2d, 0xe0, 0x86, 0xe2, 0x8a, 0x07, 0xe0, 0x82, 0x3b, 0x8a, 0x57, 0xe0, 0x09, 0xb8, + 0xe2, 0x8a, 0x3a, 0x3f, 0xfa, 0xf3, 0xd8, 0x93, 0x4d, 0x8a, 0x2b, 0xab, 0xfb, 0x74, 0x9f, 0xd3, + 0xfd, 0x75, 0x9f, 0x3e, 0xdd, 0x06, 0x64, 0x2f, 0xad, 0xc4, 0xf4, 0x71, 0x1c, 0x5b, 0x57, 0xf8, + 0x6c, 0x15, 0x85, 0x49, 0x88, 0xf6, 0xe9, 0xcf, 0x65, 0xfa, 0xfe, 0x81, 0x88, 0x83, 0xd4, 0x8f, + 0x19, 0xfb, 0x41, 0xcf, 0x0e, 0x83, 0xc4, 0xb2, 0x13, 0x4e, 0x8a, 0xf1, 0xd2, 0x8a, 0x1c, 0x46, + 0xc8, 0x5f, 0x42, 0x7f, 0x9e, 0xb8, 0xf6, 0x35, 0x8e, 0x26, 0x6c, 0x2b, 0x84, 0xa0, 0xb9, 0xb4, + 0xe2, 0xe5, 0xa0, 0x36, 0xac, 0x9d, 0x0a, 0x3a, 0xfd, 0x26, 0xbc, 0x95, 0x65, 0x5f, 0x0f, 0xea, + 0xc3, 0xda, 0x69, 0x4b, 0xa7, 0xdf, 0xf2, 0xdf, 0x6b, 0xd0, 0xd5, 0x7c, 0xeb, 0x0a, 0x67, 0x8a, + 0x03, 0xe8, 0xac, 0xac, 0xb5, 0x17, 0x5a, 0x0e, 0xd5, 0xed, 0xea, 0x19, 0x89, 0x9e, 0x41, 0x33, + 0x59, 0xaf, 0x30, 0x55, 0xef, 0x9f, 0x1f, 0x9e, 0x65, 0x66, 0x9e, 0x51, 0x7d, 0x63, 0xbd, 0xc2, + 0x3a, 0x15, 0x40, 0xf7, 0x61, 0xdf, 0xf2, 0x2e, 0x53, 0xdf, 0x74, 0x9d, 0x41, 0x83, 0x9e, 0xdf, + 0xa1, 0xb4, 0xe6, 0xa0, 0x23, 0x68, 0xfd, 0xce, 0x75, 0x92, 0xe5, 0xa0, 0x39, 0xac, 0x9d, 0xf6, + 0x74, 0x46, 0xa0, 0x63, 0x68, 0x2f, 0xb1, 0x7b, 0xb5, 0x4c, 0x06, 0x2d, 0xca, 0xe6, 0x14, 0xfa, + 0x21, 0x20, 0xbe, 0x11, 0x39, 0x21, 0x36, 0xed, 0x30, 0x0d, 0x92, 0x41, 0x9b, 0xca, 0x48, 0x6c, + 0x4b, 0xba, 0x30, 0x22, 0x7c, 0xf9, 0xaf, 0x35, 0xe8, 0x2a, 0xa9, 0xe3, 0x86, 0x1f, 0x76, 0xe5, + 0x8b, 0x8a, 0x2b, 0xc3, 0xc2, 0x95, 0xb2, 0x3e, 0x23, 0x4a, 0x7e, 0x3d, 0x02, 0xd1, 0x49, 0x23, + 0x2b, 0x71, 0xc3, 0xc0, 0xf4, 0x63, 0xea, 0x5a, 0x53, 0x87, 0x8c, 0x35, 0x89, 0xe5, 0x1f, 0x83, + 0x90, 0xeb, 0xa0, 0x63, 0x40, 0x8b, 0xe9, 0xeb, 0xe9, 0xc5, 0xb7, 0x53, 0x53, 0x59, 0x8c, 0xb5, + 0x0b, 0xd3, 0x78, 0x37, 0x53, 0xa5, 0x3d, 0xd4, 0x81, 0x86, 0xa2, 0x8c, 0xa4, 0x1a, 0xfd, 0x98, + 0xe8, 0x52, 0x5d, 0xfe, 0x63, 0x03, 0x44, 0xd5, 0x71, 0x93, 0xcc, 0xee, 0x23, 0x68, 0xd9, 0x5e, + 0x68, 0x5f, 0x53, 0xab, 0x9b, 0x3a, 0x23, 0x48, 0xf4, 0x12, 0xfc, 0xfb, 0x84, 0xda, 0x2c, 0xe8, + 0xf4, 0x1b, 0xdd, 0x83, 0x0e, 0x4d, 0xa0, 0x1c, 0xe8, 0x36, 0x21, 0x35, 0x07, 0x9d, 0x00, 0xf0, + 0xa4, 0x22, 0x6b, 0x4d, 0xba, 0x26, 0x70, 0x0e, 0x0b, 0xc3, 0x55, 0x64, 0x05, 0x0c, 0xef, 0xae, + 0xce, 0x08, 0xf4, 0x25, 0x74, 0x33, 0x25, 0x8a, 0x4e, 0x9b, 0xa2, 0x73, 0xb7, 0x40, 0x87, 0x1b, + 0x48, 0x21, 0x11, 0xfd, 0x82, 0x40, 0x63, 0xe8, 0x92, 0xec, 0xc4, 0x41, 0xc2, 0x34, 0x3b, 0x54, + 0xf3, 0x71, 0xa1, 0x39, 0x5a, 0x5a, 0x99, 0x7b, 0x67, 0x23, 0x26, 0xc9, 0x76, 0xb1, 0x0b, 0x02, + 0xfd, 0x1c, 0xfa, 0x69, 0xf0, 0x3e, 0x8d, 0x3c, 0xec, 0x98, 0x9e, 0x1b, 0x5c, 0xc7, 0x83, 0xfd, + 0x61, 0xe3, 0x54, 0x3c, 0x3f, 0x2e, 0xf6, 0x59, 0xf0, 0xf5, 0x37, 0x6e, 0x70, 0xad, 0xf7, 0xd2, + 0x12, 0x15, 0xa3, 0x6f, 0xe0, 0x6e, 0xae, 0x1e, 0x27, 0x56, 0x92, 0xc6, 0x7c, 0x17, 0x61, 0x58, + 0x3b, 0x15, 0xcf, 0x4f, 0x6e, 0xee, 0x32, 0xa7, 0x52, 0x54, 0x5b, 0x3f, 0x4c, 0x6f, 0x32, 0xe5, + 0x7f, 0xd4, 0xa0, 0x37, 0xc6, 0x1e, 0x4e, 0xf0, 0xed, 0xb1, 0x29, 0xc5, 0xa1, 0x7e, 0x4b, 0x1c, + 0x1a, 0x3b, 0xe3, 0xd0, 0xbc, 0x2d, 0x0e, 0xad, 0xef, 0x1c, 0x87, 0x13, 0x00, 0x87, 0x9a, 0xeb, + 0x98, 0x97, 0x6b, 0x1a, 0x3f, 0x41, 0x17, 0x38, 0xe7, 0xc5, 0x5a, 0x9e, 0xc0, 0xf1, 0x7c, 0x1d, + 0xd8, 0xcc, 0xa3, 0xaf, 0xc3, 0x68, 0xf2, 0x01, 0xb7, 0xaa, 0xd6, 0xd7, 0x37, 0xac, 0x97, 0xff, + 0x55, 0x87, 0xfe, 0xd8, 0x8d, 0xed, 0x30, 0x72, 0xb2, 0x7d, 0xfa, 0x50, 0x77, 0x1d, 0x5e, 0x74, + 0xea, 0xae, 0x43, 0x93, 0x36, 0xbb, 0x68, 0x02, 0xbf, 0x46, 0x0f, 0x41, 0x48, 0x5c, 0x1f, 0xc7, + 0x89, 0xe5, 0xaf, 0x32, 0x48, 0x72, 0x06, 0x3a, 0x85, 0x83, 0x9c, 0x20, 0x97, 0x02, 0x67, 0xe9, + 0xbb, 0xc9, 0x26, 0xd7, 0x9b, 0x67, 0x0f, 0x45, 0x48, 0xd0, 0x33, 0x12, 0xfd, 0x04, 0xda, 0x56, + 0x9a, 0x2c, 0xc3, 0x88, 0x42, 0x20, 0x9e, 0x7f, 0x56, 0x40, 0x57, 0xb5, 0x57, 0xa1, 0x52, 0x3a, + 0x97, 0x46, 0x5f, 0x81, 0x10, 0xe1, 0xf7, 0x38, 0xc2, 0x81, 0xcd, 0x72, 0x58, 0x2c, 0xe7, 0x70, + 0x55, 0x55, 0xcf, 0x04, 0xf5, 0x42, 0x07, 0x8d, 0x41, 0xb4, 0x92, 0xc4, 0xb2, 0x97, 0x3e, 0x0e, + 0x92, 0x2c, 0x7d, 0xe5, 0x9d, 0xa7, 0xe7, 0xa2, 0x7a, 0x59, 0x4d, 0xfe, 0x77, 0x0d, 0x8e, 0xb6, + 0xd9, 0xb9, 0x0d, 0xdd, 0xc0, 0xf2, 0x73, 0x74, 0xc9, 0x37, 0x7a, 0x0a, 0x3d, 0xc7, 0x8d, 0xed, + 0xc8, 0xf5, 0xdd, 0xc0, 0x4a, 0xc2, 0x88, 0x23, 0x5c, 0x65, 0xa2, 0x07, 0xb0, 0x1f, 0xb8, 0xf6, + 0x35, 0xd5, 0x66, 0xf0, 0xe6, 0x34, 0x89, 0x8f, 0xf5, 0x5b, 0x2b, 0xb1, 0xa2, 0x45, 0xe4, 0x71, + 0x64, 0x0b, 0x06, 0x3a, 0x03, 0xc4, 0x08, 0x5a, 0x7a, 0x67, 0xbc, 0xbe, 0xb6, 0x69, 0xfe, 0x6e, + 0x59, 0x21, 0x27, 0x79, 0xa1, 0x6d, 0x79, 0x64, 0xb3, 0x0e, 0x3b, 0x29, 0xa3, 0xe5, 0x10, 0xee, + 0xed, 0x00, 0x95, 0x18, 0x91, 0x27, 0x1a, 0xf7, 0xb8, 0x74, 0x6f, 0x1e, 0x82, 0x60, 0x2f, 0xad, + 0x20, 0xc0, 0x9e, 0x96, 0xe7, 0x65, 0xce, 0x20, 0x89, 0x71, 0x95, 0xba, 0x9e, 0xa3, 0xe5, 0xcf, + 0x0f, 0x27, 0xe5, 0xff, 0xd4, 0x60, 0xb0, 0x2b, 0x06, 0x37, 0xd0, 0xad, 0x98, 0xb0, 0x99, 0xfc, + 0x48, 0x82, 0x46, 0x1a, 0x79, 0xfc, 0x00, 0xf2, 0x49, 0x3c, 0x7d, 0xef, 0x7a, 0x78, 0x5a, 0xc2, + 0x34, 0xa3, 0x49, 0x54, 0xc8, 0xf7, 0xdc, 0xfd, 0x03, 0x7e, 0xb1, 0x4e, 0x70, 0x4c, 0x71, 0x6d, + 0xea, 0x55, 0x26, 0x1a, 0x42, 0xb9, 0x1e, 0xf2, 0xfb, 0x5b, 0x29, 0x91, 0xa5, 0x27, 0xad, 0x53, + 0x7d, 0xd2, 0xca, 0x38, 0xef, 0x6f, 0xe0, 0x6c, 0xc2, 0xdd, 0x72, 0xe1, 0x34, 0x96, 0xa9, 0x7f, + 0x19, 0x58, 0xae, 0x77, 0xcb, 0x0b, 0x99, 0x3f, 0xd4, 0xf5, 0xed, 0x0f, 0x75, 0xa3, 0xfc, 0x50, + 0xcb, 0x7f, 0xae, 0x43, 0xb7, 0x7c, 0x42, 0x86, 0x4e, 0xad, 0x40, 0xe7, 0x08, 0x5a, 0x89, 0x9b, + 0x78, 0x59, 0xb2, 0x32, 0x82, 0x78, 0xec, 0x60, 0x92, 0x98, 0x2b, 0xf2, 0x84, 0x72, 0x34, 0xcb, + 0x2c, 0xf4, 0x03, 0xb8, 0x93, 0x64, 0xf6, 0x9a, 0x99, 0xb1, 0xac, 0x5c, 0x4a, 0xf9, 0xc2, 0x2c, + 0x6f, 0x51, 0x0e, 0x0a, 0x61, 0x66, 0x3f, 0xeb, 0x28, 0xfa, 0x39, 0xfb, 0x5b, 0xea, 0xc8, 0xf7, + 0xa1, 0x50, 0x36, 0xb9, 0x4b, 0xac, 0xaf, 0x28, 0x36, 0x78, 0xc5, 0x9a, 0x90, 0xe7, 0xbc, 0x84, + 0xb1, 0x37, 0xed, 0xd1, 0xf6, 0xb7, 0xe8, 0x8c, 0xe2, 0x9a, 0xb7, 0x0a, 0xf2, 0x23, 0xd8, 0xcf, + 0x38, 0x68, 0x1f, 0x9a, 0x6f, 0xb4, 0xe9, 0x6b, 0x69, 0x0f, 0x09, 0xd0, 0xd2, 0x26, 0xca, 0x4b, + 0x55, 0xaa, 0xc9, 0x7f, 0xa9, 0xc1, 0xfd, 0xea, 0x33, 0x34, 0x62, 0xed, 0x1d, 0x85, 0xef, 0x04, + 0x60, 0x95, 0x5e, 0x7a, 0xae, 0x6d, 0x5e, 0xe3, 0x35, 0x0f, 0x8d, 0xc0, 0x38, 0xaf, 0xf1, 0x1a, + 0x3d, 0x86, 0xae, 0xe3, 0xc6, 0x2b, 0xcf, 0x5a, 0x9b, 0xa5, 0xfb, 0x2f, 0x72, 0x1e, 0x4d, 0xb8, + 0x0f, 0x03, 0xfb, 0x1c, 0x9a, 0xae, 0x1d, 0x06, 0x14, 0x4b, 0x71, 0x97, 0x5f, 0x79, 0xaa, 0xe8, + 0x54, 0x58, 0xfe, 0x53, 0x1d, 0xbe, 0xb7, 0x69, 0xb6, 0xef, 0xa7, 0x81, 0x9b, 0xac, 0xa9, 0xe1, + 0x8f, 0x49, 0x23, 0xc0, 0x19, 0xa6, 0x9b, 0x65, 0x95, 0x98, 0xf3, 0x34, 0xe7, 0xff, 0x63, 0xfc, + 0x13, 0xe8, 0xf9, 0xd8, 0xbf, 0xc4, 0x51, 0xd6, 0x14, 0xb2, 0x7e, 0xb2, 0xcb, 0x99, 0xb4, 0x21, + 0xa4, 0x8f, 0x5a, 0xe8, 0x85, 0x11, 0x2f, 0x62, 0x8c, 0xc8, 0xfd, 0xee, 0x7c, 0x84, 0xdf, 0xe8, + 0xa7, 0xd0, 0xbe, 0x24, 0xe5, 0x25, 0xa2, 0x77, 0xeb, 0x3b, 0xa8, 0x71, 0x71, 0x52, 0x71, 0x36, + 0xe3, 0xcc, 0xea, 0x54, 0x0e, 0x17, 0x23, 0xcd, 0x34, 0x2d, 0xc1, 0xc5, 0x78, 0x8b, 0xd4, 0xa5, + 0x17, 0x11, 0xfb, 0xe1, 0xaf, 0xdd, 0xec, 0xde, 0x50, 0xe2, 0x06, 0x88, 0x8d, 0x0f, 0x82, 0xd8, + 0xbc, 0x09, 0xe2, 0x76, 0x7c, 0x46, 0x20, 0xe4, 0xe1, 0xe2, 0xef, 0xe7, 0xe7, 0xbb, 0x5a, 0xa7, + 0x4a, 0xf0, 0xf5, 0x42, 0x4f, 0xfe, 0x6f, 0x0d, 0xd0, 0xcd, 0x2e, 0x6b, 0x4b, 0x59, 0xf8, 0x8a, + 0x3d, 0xe2, 0x96, 0xcd, 0x1a, 0x5b, 0xf1, 0xfc, 0xc9, 0xee, 0xb3, 0xf2, 0xfb, 0xf1, 0x6a, 0x4f, + 0xcf, 0xb4, 0x90, 0x5a, 0x36, 0xb7, 0xf1, 0x11, 0xe6, 0xbe, 0xda, 0x2b, 0x19, 0x4c, 0xed, 0x60, + 0xa8, 0xf3, 0x0b, 0xb1, 0xdb, 0x8e, 0x22, 0x7e, 0xd4, 0x0e, 0x46, 0xbe, 0x10, 0xf2, 0x52, 0x2a, + 0x5f, 0xc1, 0xe1, 0x96, 0x0e, 0x13, 0xcd, 0x76, 0xf5, 0xa7, 0x35, 0xda, 0x26, 0x3c, 0xbc, 0xad, + 0x3f, 0xdd, 0xde, 0x9e, 0xfe, 0x13, 0x40, 0x2c, 0x75, 0xd6, 0x3b, 0xba, 0xb8, 0x4a, 0xbf, 0x55, + 0xa7, 0x2b, 0xa5, 0x7e, 0x2b, 0x1b, 0x2b, 0x1a, 0xa5, 0xb1, 0xe2, 0x11, 0x88, 0x11, 0x8e, 0x57, + 0x61, 0x10, 0x63, 0x33, 0x09, 0x79, 0xea, 0x40, 0xc6, 0x32, 0x42, 0x32, 0xe1, 0xe1, 0x20, 0x66, + 0xa9, 0xc7, 0x7b, 0x2f, 0x1c, 0xc4, 0x34, 0xed, 0x4a, 0xad, 0x70, 0xbb, 0xd2, 0x0a, 0x6f, 0x76, + 0xb5, 0x9d, 0x4f, 0x9e, 0x2e, 0xf6, 0x3f, 0x69, 0xba, 0xf8, 0x02, 0x3a, 0x31, 0x9b, 0x91, 0xf9, + 0x40, 0x30, 0x28, 0x36, 0xa8, 0x0e, 0xcf, 0x24, 0xac, 0x5c, 0x14, 0x9d, 0x41, 0x8b, 0x0e, 0x9f, + 0x03, 0xa0, 0x3a, 0xc7, 0x1b, 0x53, 0x6f, 0xa1, 0xc1, 0xc4, 0x88, 0xbc, 0x45, 0x46, 0xc0, 0x81, + 0xb8, 0x29, 0x5f, 0x1e, 0x2d, 0x89, 0x3c, 0x15, 0x43, 0x9f, 0x95, 0xd3, 0xb7, 0x4b, 0xae, 0x7f, + 0x35, 0x2f, 0x47, 0x70, 0xe0, 0xb0, 0x86, 0x25, 0xfb, 0x97, 0x60, 0x60, 0x6f, 0x5a, 0x5f, 0xed, + 0x68, 0x5e, 0xed, 0xe9, 0x7d, 0xa7, 0xda, 0x95, 0xe7, 0x63, 0x46, 0xaf, 0x3c, 0x66, 0x6c, 0xd6, + 0x90, 0xfe, 0xcd, 0x1a, 0xb2, 0x82, 0x21, 0xbf, 0x67, 0x66, 0x84, 0x7f, 0x93, 0xe2, 0x38, 0x31, + 0x57, 0x51, 0xb8, 0xb2, 0xae, 0xac, 0x84, 0x27, 0x31, 0x1e, 0x1c, 0x50, 0x73, 0x9e, 0x95, 0xa2, + 0xc1, 0x34, 0x74, 0xa6, 0x30, 0xcb, 0xe5, 0x49, 0xe6, 0x62, 0xfd, 0xc4, 0xbe, 0x6d, 0x79, 0xcb, + 0x0c, 0x28, 0x7d, 0xcc, 0x0c, 0xf8, 0x39, 0xb4, 0xe8, 0xff, 0x22, 0x83, 0x3b, 0xd4, 0xaa, 0x83, + 0x52, 0x88, 0x09, 0x5b, 0x67, 0xab, 0xbb, 0x47, 0x45, 0xf4, 0xc9, 0xa3, 0xe2, 0xdf, 0x1a, 0x20, + 0x8e, 0x2a, 0x9d, 0xda, 0x51, 0x36, 0xfe, 0x8f, 0x2e, 0xa6, 0x86, 0x3a, 0x35, 0xb2, 0x3f, 0x00, + 0xfa, 0x00, 0x86, 0xfa, 0x4b, 0xc3, 0x9c, 0xbd, 0x51, 0xb4, 0xa9, 0x54, 0x43, 0x22, 0x74, 0xe6, + 0x86, 0x36, 0x7a, 0xad, 0xea, 0x52, 0x1d, 0x01, 0xb4, 0xe7, 0x86, 0x62, 0x2c, 0xe6, 0x52, 0x83, + 0xb4, 0x0b, 0xea, 0xe4, 0xe2, 0x17, 0x9a, 0xd4, 0x44, 0xf7, 0xe0, 0xd0, 0xd0, 0x95, 0xe9, 0x5c, + 0x19, 0x19, 0xda, 0x05, 0xd9, 0x71, 0x32, 0x51, 0xa6, 0x63, 0xa9, 0x85, 0x4e, 0xe1, 0xe9, 0xfc, + 0xdd, 0xdc, 0x50, 0x27, 0xe6, 0x44, 0x9d, 0xcf, 0x95, 0x97, 0x6a, 0x7e, 0xda, 0x4c, 0xd7, 0xde, + 0x2a, 0x86, 0x6a, 0xbe, 0xd4, 0x2f, 0x16, 0x33, 0xa9, 0x5d, 0x34, 0x1f, 0x1d, 0xf2, 0x49, 0xff, + 0x92, 0x90, 0xf6, 0x51, 0x0f, 0x04, 0xb2, 0xd9, 0x62, 0xaa, 0x19, 0xef, 0x24, 0x01, 0x1d, 0x03, + 0xda, 0xd8, 0xee, 0xa5, 0x32, 0x93, 0x00, 0x1d, 0xc2, 0x01, 0xd9, 0x57, 0x19, 0x19, 0xa6, 0xae, + 0x7e, 0xb3, 0x50, 0xe7, 0x86, 0x24, 0x12, 0xe6, 0x58, 0x9b, 0x8f, 0x2e, 0xf4, 0x71, 0x26, 0x2d, + 0x75, 0xd1, 0x7d, 0xb8, 0xab, 0x8d, 0xd5, 0xa9, 0xa1, 0x19, 0xef, 0xcc, 0xb7, 0xaa, 0xae, 0x7d, + 0xad, 0x8d, 0x14, 0x62, 0xb3, 0xd4, 0x43, 0x8f, 0xe1, 0x64, 0x63, 0xf3, 0x99, 0x36, 0x9d, 0xaa, + 0x85, 0x76, 0x1f, 0x3d, 0x85, 0xe1, 0x86, 0xc8, 0x64, 0x61, 0x2c, 0x94, 0x37, 0xa6, 0xfa, 0x96, + 0xf8, 0x34, 0x57, 0xa7, 0x86, 0x74, 0xb0, 0xc5, 0xe9, 0x8a, 0x94, 0x32, 0x1a, 0xa9, 0x33, 0x43, + 0x1d, 0x4b, 0x12, 0x7a, 0x06, 0x4f, 0x6e, 0x93, 0xd4, 0xd5, 0xc9, 0xc5, 0x5b, 0x75, 0x2c, 0xdd, + 0x29, 0x95, 0xef, 0x17, 0xbd, 0x5f, 0x89, 0x67, 0x3f, 0xfa, 0x59, 0x96, 0x01, 0x97, 0x6d, 0xfa, + 0xf5, 0xfc, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x26, 0x1f, 0x1a, 0xab, 0x13, 0x00, 0x00, } diff --git a/protocol/protobuf/command.pb.go b/protocol/protobuf/command.pb.go index 3257dc63c..8864b4b70 100644 --- a/protocol/protobuf/command.pb.go +++ b/protocol/protobuf/command.pb.go @@ -1,630 +1,435 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: command.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type RequestAddressForTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` - ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` + ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RequestAddressForTransaction) Reset() { - *x = RequestAddressForTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestAddressForTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestAddressForTransaction) ProtoMessage() {} - -func (x *RequestAddressForTransaction) ProtoReflect() protoreflect.Message { - mi := &file_command_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestAddressForTransaction.ProtoReflect.Descriptor instead. +func (m *RequestAddressForTransaction) Reset() { *m = RequestAddressForTransaction{} } +func (m *RequestAddressForTransaction) String() string { return proto.CompactTextString(m) } +func (*RequestAddressForTransaction) ProtoMessage() {} func (*RequestAddressForTransaction) Descriptor() ([]byte, []int) { - return file_command_proto_rawDescGZIP(), []int{0} + return fileDescriptor_213c0bb044472049, []int{0} } -func (x *RequestAddressForTransaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *RequestAddressForTransaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RequestAddressForTransaction.Unmarshal(m, b) +} +func (m *RequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RequestAddressForTransaction.Marshal(b, m, deterministic) +} +func (m *RequestAddressForTransaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestAddressForTransaction.Merge(m, src) +} +func (m *RequestAddressForTransaction) XXX_Size() int { + return xxx_messageInfo_RequestAddressForTransaction.Size(m) +} +func (m *RequestAddressForTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_RequestAddressForTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestAddressForTransaction proto.InternalMessageInfo + +func (m *RequestAddressForTransaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *RequestAddressForTransaction) GetValue() string { - if x != nil { - return x.Value +func (m *RequestAddressForTransaction) GetValue() string { + if m != nil { + return m.Value } return "" } -func (x *RequestAddressForTransaction) GetContract() string { - if x != nil { - return x.Contract +func (m *RequestAddressForTransaction) GetContract() string { + if m != nil { + return m.Contract } return "" } -func (x *RequestAddressForTransaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *RequestAddressForTransaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } type AcceptRequestAddressForTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` - ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + ChatId string `protobuf:"bytes,4,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AcceptRequestAddressForTransaction) Reset() { - *x = AcceptRequestAddressForTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AcceptRequestAddressForTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AcceptRequestAddressForTransaction) ProtoMessage() {} - -func (x *AcceptRequestAddressForTransaction) ProtoReflect() protoreflect.Message { - mi := &file_command_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AcceptRequestAddressForTransaction.ProtoReflect.Descriptor instead. +func (m *AcceptRequestAddressForTransaction) Reset() { *m = AcceptRequestAddressForTransaction{} } +func (m *AcceptRequestAddressForTransaction) String() string { return proto.CompactTextString(m) } +func (*AcceptRequestAddressForTransaction) ProtoMessage() {} func (*AcceptRequestAddressForTransaction) Descriptor() ([]byte, []int) { - return file_command_proto_rawDescGZIP(), []int{1} + return fileDescriptor_213c0bb044472049, []int{1} } -func (x *AcceptRequestAddressForTransaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *AcceptRequestAddressForTransaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AcceptRequestAddressForTransaction.Unmarshal(m, b) +} +func (m *AcceptRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AcceptRequestAddressForTransaction.Marshal(b, m, deterministic) +} +func (m *AcceptRequestAddressForTransaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptRequestAddressForTransaction.Merge(m, src) +} +func (m *AcceptRequestAddressForTransaction) XXX_Size() int { + return xxx_messageInfo_AcceptRequestAddressForTransaction.Size(m) +} +func (m *AcceptRequestAddressForTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptRequestAddressForTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptRequestAddressForTransaction proto.InternalMessageInfo + +func (m *AcceptRequestAddressForTransaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *AcceptRequestAddressForTransaction) GetId() string { - if x != nil { - return x.Id +func (m *AcceptRequestAddressForTransaction) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *AcceptRequestAddressForTransaction) GetAddress() string { - if x != nil { - return x.Address +func (m *AcceptRequestAddressForTransaction) GetAddress() string { + if m != nil { + return m.Address } return "" } -func (x *AcceptRequestAddressForTransaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *AcceptRequestAddressForTransaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } type DeclineRequestAddressForTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeclineRequestAddressForTransaction) Reset() { - *x = DeclineRequestAddressForTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeclineRequestAddressForTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeclineRequestAddressForTransaction) ProtoMessage() {} - -func (x *DeclineRequestAddressForTransaction) ProtoReflect() protoreflect.Message { - mi := &file_command_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeclineRequestAddressForTransaction.ProtoReflect.Descriptor instead. +func (m *DeclineRequestAddressForTransaction) Reset() { *m = DeclineRequestAddressForTransaction{} } +func (m *DeclineRequestAddressForTransaction) String() string { return proto.CompactTextString(m) } +func (*DeclineRequestAddressForTransaction) ProtoMessage() {} func (*DeclineRequestAddressForTransaction) Descriptor() ([]byte, []int) { - return file_command_proto_rawDescGZIP(), []int{2} + return fileDescriptor_213c0bb044472049, []int{2} } -func (x *DeclineRequestAddressForTransaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *DeclineRequestAddressForTransaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeclineRequestAddressForTransaction.Unmarshal(m, b) +} +func (m *DeclineRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeclineRequestAddressForTransaction.Marshal(b, m, deterministic) +} +func (m *DeclineRequestAddressForTransaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeclineRequestAddressForTransaction.Merge(m, src) +} +func (m *DeclineRequestAddressForTransaction) XXX_Size() int { + return xxx_messageInfo_DeclineRequestAddressForTransaction.Size(m) +} +func (m *DeclineRequestAddressForTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_DeclineRequestAddressForTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_DeclineRequestAddressForTransaction proto.InternalMessageInfo + +func (m *DeclineRequestAddressForTransaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *DeclineRequestAddressForTransaction) GetId() string { - if x != nil { - return x.Id +func (m *DeclineRequestAddressForTransaction) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *DeclineRequestAddressForTransaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *DeclineRequestAddressForTransaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } type DeclineRequestTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeclineRequestTransaction) Reset() { - *x = DeclineRequestTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeclineRequestTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeclineRequestTransaction) ProtoMessage() {} - -func (x *DeclineRequestTransaction) ProtoReflect() protoreflect.Message { - mi := &file_command_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeclineRequestTransaction.ProtoReflect.Descriptor instead. +func (m *DeclineRequestTransaction) Reset() { *m = DeclineRequestTransaction{} } +func (m *DeclineRequestTransaction) String() string { return proto.CompactTextString(m) } +func (*DeclineRequestTransaction) ProtoMessage() {} func (*DeclineRequestTransaction) Descriptor() ([]byte, []int) { - return file_command_proto_rawDescGZIP(), []int{3} + return fileDescriptor_213c0bb044472049, []int{3} } -func (x *DeclineRequestTransaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *DeclineRequestTransaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeclineRequestTransaction.Unmarshal(m, b) +} +func (m *DeclineRequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeclineRequestTransaction.Marshal(b, m, deterministic) +} +func (m *DeclineRequestTransaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeclineRequestTransaction.Merge(m, src) +} +func (m *DeclineRequestTransaction) XXX_Size() int { + return xxx_messageInfo_DeclineRequestTransaction.Size(m) +} +func (m *DeclineRequestTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_DeclineRequestTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_DeclineRequestTransaction proto.InternalMessageInfo + +func (m *DeclineRequestTransaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *DeclineRequestTransaction) GetId() string { - if x != nil { - return x.Id +func (m *DeclineRequestTransaction) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *DeclineRequestTransaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *DeclineRequestTransaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } type RequestTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` - Contract string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"` - ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Contract string `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"` + ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RequestTransaction) Reset() { - *x = RequestTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestTransaction) ProtoMessage() {} - -func (x *RequestTransaction) ProtoReflect() protoreflect.Message { - mi := &file_command_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestTransaction.ProtoReflect.Descriptor instead. +func (m *RequestTransaction) Reset() { *m = RequestTransaction{} } +func (m *RequestTransaction) String() string { return proto.CompactTextString(m) } +func (*RequestTransaction) ProtoMessage() {} func (*RequestTransaction) Descriptor() ([]byte, []int) { - return file_command_proto_rawDescGZIP(), []int{4} + return fileDescriptor_213c0bb044472049, []int{4} } -func (x *RequestTransaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *RequestTransaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RequestTransaction.Unmarshal(m, b) +} +func (m *RequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RequestTransaction.Marshal(b, m, deterministic) +} +func (m *RequestTransaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestTransaction.Merge(m, src) +} +func (m *RequestTransaction) XXX_Size() int { + return xxx_messageInfo_RequestTransaction.Size(m) +} +func (m *RequestTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_RequestTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestTransaction proto.InternalMessageInfo + +func (m *RequestTransaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *RequestTransaction) GetAddress() string { - if x != nil { - return x.Address +func (m *RequestTransaction) GetAddress() string { + if m != nil { + return m.Address } return "" } -func (x *RequestTransaction) GetValue() string { - if x != nil { - return x.Value +func (m *RequestTransaction) GetValue() string { + if m != nil { + return m.Value } return "" } -func (x *RequestTransaction) GetContract() string { - if x != nil { - return x.Contract +func (m *RequestTransaction) GetContract() string { + if m != nil { + return m.Contract } return "" } -func (x *RequestTransaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *RequestTransaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } type SendTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - TransactionHash string `protobuf:"bytes,3,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` - ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + TransactionHash string `protobuf:"bytes,3,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SendTransaction) Reset() { - *x = SendTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_command_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendTransaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendTransaction) ProtoMessage() {} - -func (x *SendTransaction) ProtoReflect() protoreflect.Message { - mi := &file_command_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendTransaction.ProtoReflect.Descriptor instead. +func (m *SendTransaction) Reset() { *m = SendTransaction{} } +func (m *SendTransaction) String() string { return proto.CompactTextString(m) } +func (*SendTransaction) ProtoMessage() {} func (*SendTransaction) Descriptor() ([]byte, []int) { - return file_command_proto_rawDescGZIP(), []int{5} + return fileDescriptor_213c0bb044472049, []int{5} } -func (x *SendTransaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SendTransaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SendTransaction.Unmarshal(m, b) +} +func (m *SendTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SendTransaction.Marshal(b, m, deterministic) +} +func (m *SendTransaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_SendTransaction.Merge(m, src) +} +func (m *SendTransaction) XXX_Size() int { + return xxx_messageInfo_SendTransaction.Size(m) +} +func (m *SendTransaction) XXX_DiscardUnknown() { + xxx_messageInfo_SendTransaction.DiscardUnknown(m) +} + +var xxx_messageInfo_SendTransaction proto.InternalMessageInfo + +func (m *SendTransaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SendTransaction) GetId() string { - if x != nil { - return x.Id +func (m *SendTransaction) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SendTransaction) GetTransactionHash() string { - if x != nil { - return x.TransactionHash +func (m *SendTransaction) GetTransactionHash() string { + if m != nil { + return m.TransactionHash } return "" } -func (x *SendTransaction) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *SendTransaction) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *SendTransaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *SendTransaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -var File_command_proto protoreflect.FileDescriptor - -var file_command_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x7f, 0x0a, 0x1c, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x22, 0x41, 0x63, - 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x23, 0x44, 0x65, 0x63, - 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, - 0x5a, 0x0a, 0x19, 0x44, 0x65, 0x63, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x12, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x22, 0x99, 0x01, - 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, - 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*RequestAddressForTransaction)(nil), "protobuf.RequestAddressForTransaction") + proto.RegisterType((*AcceptRequestAddressForTransaction)(nil), "protobuf.AcceptRequestAddressForTransaction") + proto.RegisterType((*DeclineRequestAddressForTransaction)(nil), "protobuf.DeclineRequestAddressForTransaction") + proto.RegisterType((*DeclineRequestTransaction)(nil), "protobuf.DeclineRequestTransaction") + proto.RegisterType((*RequestTransaction)(nil), "protobuf.RequestTransaction") + proto.RegisterType((*SendTransaction)(nil), "protobuf.SendTransaction") } -var ( - file_command_proto_rawDescOnce sync.Once - file_command_proto_rawDescData = file_command_proto_rawDesc -) - -func file_command_proto_rawDescGZIP() []byte { - file_command_proto_rawDescOnce.Do(func() { - file_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_command_proto_rawDescData) - }) - return file_command_proto_rawDescData +func init() { + proto.RegisterFile("command.proto", fileDescriptor_213c0bb044472049) } -var file_command_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_command_proto_goTypes = []interface{}{ - (*RequestAddressForTransaction)(nil), // 0: protobuf.RequestAddressForTransaction - (*AcceptRequestAddressForTransaction)(nil), // 1: protobuf.AcceptRequestAddressForTransaction - (*DeclineRequestAddressForTransaction)(nil), // 2: protobuf.DeclineRequestAddressForTransaction - (*DeclineRequestTransaction)(nil), // 3: protobuf.DeclineRequestTransaction - (*RequestTransaction)(nil), // 4: protobuf.RequestTransaction - (*SendTransaction)(nil), // 5: protobuf.SendTransaction -} -var file_command_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_command_proto_init() } -func file_command_proto_init() { - if File_command_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestAddressForTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AcceptRequestAddressForTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeclineRequestAddressForTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeclineRequestTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_command_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_command_proto_goTypes, - DependencyIndexes: file_command_proto_depIdxs, - MessageInfos: file_command_proto_msgTypes, - }.Build() - File_command_proto = out.File - file_command_proto_rawDesc = nil - file_command_proto_goTypes = nil - file_command_proto_depIdxs = nil +var fileDescriptor_213c0bb044472049 = []byte{ + // 301 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0x3d, 0x4f, 0xf3, 0x30, + 0x10, 0xc7, 0x95, 0x97, 0xbe, 0xdd, 0xf3, 0x94, 0x22, 0x0b, 0x89, 0x80, 0x3a, 0x54, 0x61, 0x29, + 0x4b, 0x19, 0x18, 0x99, 0x8a, 0x10, 0x82, 0x35, 0x30, 0x75, 0xa9, 0xdc, 0xb3, 0x21, 0x16, 0xa9, + 0x5d, 0x6c, 0x87, 0x0d, 0xf1, 0x11, 0x98, 0xf9, 0xb6, 0xa8, 0x4e, 0xda, 0x26, 0x43, 0x24, 0x40, + 0x9d, 0xec, 0xff, 0x9d, 0xee, 0xfe, 0x3f, 0xdf, 0x19, 0xfa, 0xa8, 0x96, 0x4b, 0x2a, 0xd9, 0x64, + 0xa5, 0x95, 0x55, 0xa4, 0xeb, 0x8e, 0x45, 0xfe, 0x14, 0x7f, 0xc0, 0x30, 0xe1, 0xaf, 0x39, 0x37, + 0x76, 0xca, 0x98, 0xe6, 0xc6, 0xdc, 0x2a, 0xfd, 0xa8, 0xa9, 0x34, 0x14, 0xad, 0x50, 0x92, 0x1c, + 0x41, 0x0b, 0x33, 0x85, 0x2f, 0x91, 0x37, 0xf2, 0xc6, 0x61, 0x52, 0x88, 0x75, 0xf4, 0x8d, 0x66, + 0x39, 0x8f, 0xfc, 0x91, 0x37, 0xee, 0x25, 0x85, 0x20, 0xa7, 0xd0, 0x45, 0x25, 0xad, 0xa6, 0x68, + 0xa3, 0xc0, 0x25, 0xb6, 0x9a, 0x1c, 0x43, 0x07, 0x53, 0x6a, 0xe7, 0x82, 0x45, 0xa1, 0x4b, 0xb5, + 0xd7, 0xf2, 0x9e, 0xc5, 0xef, 0x10, 0x4f, 0x11, 0xf9, 0xca, 0xfe, 0x01, 0xe3, 0x00, 0x7c, 0xc1, + 0x4a, 0x06, 0x5f, 0x30, 0x12, 0x41, 0x87, 0x16, 0xe5, 0xa5, 0xff, 0x46, 0x36, 0xdb, 0x33, 0x38, + 0xbb, 0xe1, 0x98, 0x09, 0xc9, 0xf7, 0xe0, 0x5f, 0x71, 0x09, 0x6a, 0x2e, 0x33, 0x38, 0xa9, 0xbb, + 0xec, 0xb1, 0xf7, 0xa7, 0x07, 0xe4, 0xc7, 0x5d, 0x2b, 0x13, 0xf2, 0xeb, 0x13, 0xda, 0xae, 0x34, + 0x68, 0x5a, 0x69, 0xd8, 0xbc, 0xd2, 0x56, 0x8d, 0xe8, 0xcb, 0x83, 0xc1, 0x03, 0x97, 0xec, 0xf7, + 0x8f, 0x3c, 0x87, 0x43, 0xbb, 0x2b, 0x9a, 0xa7, 0xd4, 0xa4, 0x25, 0xcf, 0xa0, 0x12, 0xbf, 0xa3, + 0x26, 0x25, 0x43, 0xe8, 0x19, 0xf1, 0x2c, 0xa9, 0xcd, 0x35, 0x77, 0x68, 0xff, 0x93, 0x5d, 0xa0, + 0x91, 0xed, 0xba, 0x3f, 0xfb, 0x37, 0xb9, 0xb8, 0xda, 0x7c, 0xff, 0x45, 0xdb, 0xdd, 0x2e, 0xbf, + 0x03, 0x00, 0x00, 0xff, 0xff, 0x88, 0x09, 0x02, 0x5a, 0x20, 0x03, 0x00, 0x00, } diff --git a/protocol/protobuf/communities.pb.go b/protocol/protobuf/communities.pb.go index 9d67cd227..87adf34ff 100644 --- a/protocol/protobuf/communities.pb.go +++ b/protocol/protobuf/communities.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: communities.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CommunityMember_Roles int32 @@ -29,100 +29,57 @@ const ( CommunityMember_ROLE_TOKEN_MASTER CommunityMember_Roles = 5 ) -// Enum value maps for CommunityMember_Roles. -var ( - CommunityMember_Roles_name = map[int32]string{ - 0: "ROLE_NONE", - 1: "ROLE_OWNER", - 4: "ROLE_ADMIN", - 5: "ROLE_TOKEN_MASTER", - } - CommunityMember_Roles_value = map[string]int32{ - "ROLE_NONE": 0, - "ROLE_OWNER": 1, - "ROLE_ADMIN": 4, - "ROLE_TOKEN_MASTER": 5, - } -) +var CommunityMember_Roles_name = map[int32]string{ + 0: "ROLE_NONE", + 1: "ROLE_OWNER", + 4: "ROLE_ADMIN", + 5: "ROLE_TOKEN_MASTER", +} -func (x CommunityMember_Roles) Enum() *CommunityMember_Roles { - p := new(CommunityMember_Roles) - *p = x - return p +var CommunityMember_Roles_value = map[string]int32{ + "ROLE_NONE": 0, + "ROLE_OWNER": 1, + "ROLE_ADMIN": 4, + "ROLE_TOKEN_MASTER": 5, } func (x CommunityMember_Roles) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityMember_Roles_name, int32(x)) } -func (CommunityMember_Roles) Descriptor() protoreflect.EnumDescriptor { - return file_communities_proto_enumTypes[0].Descriptor() -} - -func (CommunityMember_Roles) Type() protoreflect.EnumType { - return &file_communities_proto_enumTypes[0] -} - -func (x CommunityMember_Roles) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityMember_Roles.Descriptor instead. func (CommunityMember_Roles) EnumDescriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_f937943d74c1cd8b, []int{1, 0} } type CommunityPermissions_Access int32 const ( - CommunityPermissions_UNKNOWN_ACCESS CommunityPermissions_Access = 0 - CommunityPermissions_AUTO_ACCEPT CommunityPermissions_Access = 1 - // Deprecated: Marked as deprecated in communities.proto. - CommunityPermissions_INVITATION_ONLY CommunityPermissions_Access = 2 + CommunityPermissions_UNKNOWN_ACCESS CommunityPermissions_Access = 0 + CommunityPermissions_AUTO_ACCEPT CommunityPermissions_Access = 1 + CommunityPermissions_INVITATION_ONLY CommunityPermissions_Access = 2 // Deprecated: Do not use. CommunityPermissions_MANUAL_ACCEPT CommunityPermissions_Access = 3 ) -// Enum value maps for CommunityPermissions_Access. -var ( - CommunityPermissions_Access_name = map[int32]string{ - 0: "UNKNOWN_ACCESS", - 1: "AUTO_ACCEPT", - 2: "INVITATION_ONLY", - 3: "MANUAL_ACCEPT", - } - CommunityPermissions_Access_value = map[string]int32{ - "UNKNOWN_ACCESS": 0, - "AUTO_ACCEPT": 1, - "INVITATION_ONLY": 2, - "MANUAL_ACCEPT": 3, - } -) +var CommunityPermissions_Access_name = map[int32]string{ + 0: "UNKNOWN_ACCESS", + 1: "AUTO_ACCEPT", + 2: "INVITATION_ONLY", + 3: "MANUAL_ACCEPT", +} -func (x CommunityPermissions_Access) Enum() *CommunityPermissions_Access { - p := new(CommunityPermissions_Access) - *p = x - return p +var CommunityPermissions_Access_value = map[string]int32{ + "UNKNOWN_ACCESS": 0, + "AUTO_ACCEPT": 1, + "INVITATION_ONLY": 2, + "MANUAL_ACCEPT": 3, } func (x CommunityPermissions_Access) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityPermissions_Access_name, int32(x)) } -func (CommunityPermissions_Access) Descriptor() protoreflect.EnumDescriptor { - return file_communities_proto_enumTypes[1].Descriptor() -} - -func (CommunityPermissions_Access) Type() protoreflect.EnumType { - return &file_communities_proto_enumTypes[1] -} - -func (x CommunityPermissions_Access) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityPermissions_Access.Descriptor instead. func (CommunityPermissions_Access) EnumDescriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{3, 0} + return fileDescriptor_f937943d74c1cd8b, []int{3, 0} } type CommunityTokenPermission_Type int32 @@ -137,1203 +94,1064 @@ const ( CommunityTokenPermission_BECOME_TOKEN_OWNER CommunityTokenPermission_Type = 6 ) -// Enum value maps for CommunityTokenPermission_Type. -var ( - CommunityTokenPermission_Type_name = map[int32]string{ - 0: "UNKNOWN_TOKEN_PERMISSION", - 1: "BECOME_ADMIN", - 2: "BECOME_MEMBER", - 3: "CAN_VIEW_CHANNEL", - 4: "CAN_VIEW_AND_POST_CHANNEL", - 5: "BECOME_TOKEN_MASTER", - 6: "BECOME_TOKEN_OWNER", - } - CommunityTokenPermission_Type_value = map[string]int32{ - "UNKNOWN_TOKEN_PERMISSION": 0, - "BECOME_ADMIN": 1, - "BECOME_MEMBER": 2, - "CAN_VIEW_CHANNEL": 3, - "CAN_VIEW_AND_POST_CHANNEL": 4, - "BECOME_TOKEN_MASTER": 5, - "BECOME_TOKEN_OWNER": 6, - } -) +var CommunityTokenPermission_Type_name = map[int32]string{ + 0: "UNKNOWN_TOKEN_PERMISSION", + 1: "BECOME_ADMIN", + 2: "BECOME_MEMBER", + 3: "CAN_VIEW_CHANNEL", + 4: "CAN_VIEW_AND_POST_CHANNEL", + 5: "BECOME_TOKEN_MASTER", + 6: "BECOME_TOKEN_OWNER", +} -func (x CommunityTokenPermission_Type) Enum() *CommunityTokenPermission_Type { - p := new(CommunityTokenPermission_Type) - *p = x - return p +var CommunityTokenPermission_Type_value = map[string]int32{ + "UNKNOWN_TOKEN_PERMISSION": 0, + "BECOME_ADMIN": 1, + "BECOME_MEMBER": 2, + "CAN_VIEW_CHANNEL": 3, + "CAN_VIEW_AND_POST_CHANNEL": 4, + "BECOME_TOKEN_MASTER": 5, + "BECOME_TOKEN_OWNER": 6, } func (x CommunityTokenPermission_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityTokenPermission_Type_name, int32(x)) } -func (CommunityTokenPermission_Type) Descriptor() protoreflect.EnumDescriptor { - return file_communities_proto_enumTypes[2].Descriptor() -} - -func (CommunityTokenPermission_Type) Type() protoreflect.EnumType { - return &file_communities_proto_enumTypes[2] -} - -func (x CommunityTokenPermission_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityTokenPermission_Type.Descriptor instead. func (CommunityTokenPermission_Type) EnumDescriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{5, 0} + return fileDescriptor_f937943d74c1cd8b, []int{5, 0} } type Grant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - MemberId []byte `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` - ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - Clock uint64 `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"` + CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + MemberId []byte `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` + ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + Clock uint64 `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Grant) Reset() { - *x = Grant{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Grant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Grant) ProtoMessage() {} - -func (x *Grant) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Grant.ProtoReflect.Descriptor instead. +func (m *Grant) Reset() { *m = Grant{} } +func (m *Grant) String() string { return proto.CompactTextString(m) } +func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{0} + return fileDescriptor_f937943d74c1cd8b, []int{0} } -func (x *Grant) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *Grant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Grant.Unmarshal(m, b) +} +func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Grant.Marshal(b, m, deterministic) +} +func (m *Grant) XXX_Merge(src proto.Message) { + xxx_messageInfo_Grant.Merge(m, src) +} +func (m *Grant) XXX_Size() int { + return xxx_messageInfo_Grant.Size(m) +} +func (m *Grant) XXX_DiscardUnknown() { + xxx_messageInfo_Grant.DiscardUnknown(m) +} + +var xxx_messageInfo_Grant proto.InternalMessageInfo + +func (m *Grant) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *Grant) GetMemberId() []byte { - if x != nil { - return x.MemberId +func (m *Grant) GetMemberId() []byte { + if m != nil { + return m.MemberId } return nil } -func (x *Grant) GetChatId() string { - if x != nil { - return x.ChatId +func (m *Grant) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *Grant) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *Grant) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type CommunityMember struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"` - // Deprecated: Marked as deprecated in communities.proto. - RevealedAccounts []*RevealedAccount `protobuf:"bytes,2,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` - LastUpdateClock uint64 `protobuf:"varint,3,opt,name=last_update_clock,json=lastUpdateClock,proto3" json:"last_update_clock,omitempty"` + Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"` + RevealedAccounts []*RevealedAccount `protobuf:"bytes,2,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` // Deprecated: Do not use. + LastUpdateClock uint64 `protobuf:"varint,3,opt,name=last_update_clock,json=lastUpdateClock,proto3" json:"last_update_clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityMember) Reset() { - *x = CommunityMember{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityMember) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityMember) ProtoMessage() {} - -func (x *CommunityMember) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityMember.ProtoReflect.Descriptor instead. +func (m *CommunityMember) Reset() { *m = CommunityMember{} } +func (m *CommunityMember) String() string { return proto.CompactTextString(m) } +func (*CommunityMember) ProtoMessage() {} func (*CommunityMember) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{1} + return fileDescriptor_f937943d74c1cd8b, []int{1} } -func (x *CommunityMember) GetRoles() []CommunityMember_Roles { - if x != nil { - return x.Roles +func (m *CommunityMember) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityMember.Unmarshal(m, b) +} +func (m *CommunityMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityMember.Marshal(b, m, deterministic) +} +func (m *CommunityMember) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityMember.Merge(m, src) +} +func (m *CommunityMember) XXX_Size() int { + return xxx_messageInfo_CommunityMember.Size(m) +} +func (m *CommunityMember) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityMember.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityMember proto.InternalMessageInfo + +func (m *CommunityMember) GetRoles() []CommunityMember_Roles { + if m != nil { + return m.Roles } return nil } -// Deprecated: Marked as deprecated in communities.proto. -func (x *CommunityMember) GetRevealedAccounts() []*RevealedAccount { - if x != nil { - return x.RevealedAccounts +// Deprecated: Do not use. +func (m *CommunityMember) GetRevealedAccounts() []*RevealedAccount { + if m != nil { + return m.RevealedAccounts } return nil } -func (x *CommunityMember) GetLastUpdateClock() uint64 { - if x != nil { - return x.LastUpdateClock +func (m *CommunityMember) GetLastUpdateClock() uint64 { + if m != nil { + return m.LastUpdateClock } return 0 } type CommunityTokenMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` - TokenType CommunityTokenType `protobuf:"varint,4,opt,name=tokenType,proto3,enum=protobuf.CommunityTokenType" json:"tokenType,omitempty"` - Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - Decimals uint32 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"` + ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` + TokenType CommunityTokenType `protobuf:"varint,4,opt,name=tokenType,proto3,enum=protobuf.CommunityTokenType" json:"tokenType,omitempty"` + Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + Decimals uint32 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityTokenMetadata) Reset() { - *x = CommunityTokenMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityTokenMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityTokenMetadata) ProtoMessage() {} - -func (x *CommunityTokenMetadata) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityTokenMetadata.ProtoReflect.Descriptor instead. +func (m *CommunityTokenMetadata) Reset() { *m = CommunityTokenMetadata{} } +func (m *CommunityTokenMetadata) String() string { return proto.CompactTextString(m) } +func (*CommunityTokenMetadata) ProtoMessage() {} func (*CommunityTokenMetadata) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{2} + return fileDescriptor_f937943d74c1cd8b, []int{2} } -func (x *CommunityTokenMetadata) GetContractAddresses() map[uint64]string { - if x != nil { - return x.ContractAddresses +func (m *CommunityTokenMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityTokenMetadata.Unmarshal(m, b) +} +func (m *CommunityTokenMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityTokenMetadata.Marshal(b, m, deterministic) +} +func (m *CommunityTokenMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityTokenMetadata.Merge(m, src) +} +func (m *CommunityTokenMetadata) XXX_Size() int { + return xxx_messageInfo_CommunityTokenMetadata.Size(m) +} +func (m *CommunityTokenMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityTokenMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityTokenMetadata proto.InternalMessageInfo + +func (m *CommunityTokenMetadata) GetContractAddresses() map[uint64]string { + if m != nil { + return m.ContractAddresses } return nil } -func (x *CommunityTokenMetadata) GetDescription() string { - if x != nil { - return x.Description +func (m *CommunityTokenMetadata) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *CommunityTokenMetadata) GetImage() string { - if x != nil { - return x.Image +func (m *CommunityTokenMetadata) GetImage() string { + if m != nil { + return m.Image } return "" } -func (x *CommunityTokenMetadata) GetTokenType() CommunityTokenType { - if x != nil { - return x.TokenType +func (m *CommunityTokenMetadata) GetTokenType() CommunityTokenType { + if m != nil { + return m.TokenType } return CommunityTokenType_UNKNOWN_TOKEN_TYPE } -func (x *CommunityTokenMetadata) GetSymbol() string { - if x != nil { - return x.Symbol +func (m *CommunityTokenMetadata) GetSymbol() string { + if m != nil { + return m.Symbol } return "" } -func (x *CommunityTokenMetadata) GetName() string { - if x != nil { - return x.Name +func (m *CommunityTokenMetadata) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *CommunityTokenMetadata) GetDecimals() uint32 { - if x != nil { - return x.Decimals +func (m *CommunityTokenMetadata) GetDecimals() uint32 { + if m != nil { + return m.Decimals } return 0 } type CommunityPermissions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - EnsOnly bool `protobuf:"varint,1,opt,name=ens_only,json=ensOnly,proto3" json:"ens_only,omitempty"` // https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md is a candidate for the algorithm to be used in case we want to have private communityal chats, lighter than pairwise encryption using the DR, less secure, but more efficient for large number of participants - Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` - Access CommunityPermissions_Access `protobuf:"varint,3,opt,name=access,proto3,enum=protobuf.CommunityPermissions_Access" json:"access,omitempty"` + Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` + Access CommunityPermissions_Access `protobuf:"varint,3,opt,name=access,proto3,enum=protobuf.CommunityPermissions_Access" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityPermissions) Reset() { - *x = CommunityPermissions{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityPermissions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityPermissions) ProtoMessage() {} - -func (x *CommunityPermissions) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityPermissions.ProtoReflect.Descriptor instead. +func (m *CommunityPermissions) Reset() { *m = CommunityPermissions{} } +func (m *CommunityPermissions) String() string { return proto.CompactTextString(m) } +func (*CommunityPermissions) ProtoMessage() {} func (*CommunityPermissions) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{3} + return fileDescriptor_f937943d74c1cd8b, []int{3} } -func (x *CommunityPermissions) GetEnsOnly() bool { - if x != nil { - return x.EnsOnly +func (m *CommunityPermissions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityPermissions.Unmarshal(m, b) +} +func (m *CommunityPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityPermissions.Marshal(b, m, deterministic) +} +func (m *CommunityPermissions) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPermissions.Merge(m, src) +} +func (m *CommunityPermissions) XXX_Size() int { + return xxx_messageInfo_CommunityPermissions.Size(m) +} +func (m *CommunityPermissions) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPermissions.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityPermissions proto.InternalMessageInfo + +func (m *CommunityPermissions) GetEnsOnly() bool { + if m != nil { + return m.EnsOnly } return false } -func (x *CommunityPermissions) GetPrivate() bool { - if x != nil { - return x.Private +func (m *CommunityPermissions) GetPrivate() bool { + if m != nil { + return m.Private } return false } -func (x *CommunityPermissions) GetAccess() CommunityPermissions_Access { - if x != nil { - return x.Access +func (m *CommunityPermissions) GetAccess() CommunityPermissions_Access { + if m != nil { + return m.Access } return CommunityPermissions_UNKNOWN_ACCESS } type TokenCriteria struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Type CommunityTokenType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenType" json:"type,omitempty"` - Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` - TokenIds []uint64 `protobuf:"varint,6,rep,packed,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` - EnsPattern string `protobuf:"bytes,7,opt,name=ens_pattern,json=ensPattern,proto3" json:"ens_pattern,omitempty"` - Decimals uint64 `protobuf:"varint,8,opt,name=decimals,proto3" json:"decimals,omitempty"` + ContractAddresses map[uint64]string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Type CommunityTokenType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenType" json:"type,omitempty"` + Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"` + TokenIds []uint64 `protobuf:"varint,6,rep,packed,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` + EnsPattern string `protobuf:"bytes,7,opt,name=ens_pattern,json=ensPattern,proto3" json:"ens_pattern,omitempty"` + Decimals uint64 `protobuf:"varint,8,opt,name=decimals,proto3" json:"decimals,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TokenCriteria) Reset() { - *x = TokenCriteria{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TokenCriteria) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TokenCriteria) ProtoMessage() {} - -func (x *TokenCriteria) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TokenCriteria.ProtoReflect.Descriptor instead. +func (m *TokenCriteria) Reset() { *m = TokenCriteria{} } +func (m *TokenCriteria) String() string { return proto.CompactTextString(m) } +func (*TokenCriteria) ProtoMessage() {} func (*TokenCriteria) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{4} + return fileDescriptor_f937943d74c1cd8b, []int{4} } -func (x *TokenCriteria) GetContractAddresses() map[uint64]string { - if x != nil { - return x.ContractAddresses +func (m *TokenCriteria) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TokenCriteria.Unmarshal(m, b) +} +func (m *TokenCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TokenCriteria.Marshal(b, m, deterministic) +} +func (m *TokenCriteria) XXX_Merge(src proto.Message) { + xxx_messageInfo_TokenCriteria.Merge(m, src) +} +func (m *TokenCriteria) XXX_Size() int { + return xxx_messageInfo_TokenCriteria.Size(m) +} +func (m *TokenCriteria) XXX_DiscardUnknown() { + xxx_messageInfo_TokenCriteria.DiscardUnknown(m) +} + +var xxx_messageInfo_TokenCriteria proto.InternalMessageInfo + +func (m *TokenCriteria) GetContractAddresses() map[uint64]string { + if m != nil { + return m.ContractAddresses } return nil } -func (x *TokenCriteria) GetType() CommunityTokenType { - if x != nil { - return x.Type +func (m *TokenCriteria) GetType() CommunityTokenType { + if m != nil { + return m.Type } return CommunityTokenType_UNKNOWN_TOKEN_TYPE } -func (x *TokenCriteria) GetSymbol() string { - if x != nil { - return x.Symbol +func (m *TokenCriteria) GetSymbol() string { + if m != nil { + return m.Symbol } return "" } -func (x *TokenCriteria) GetName() string { - if x != nil { - return x.Name +func (m *TokenCriteria) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *TokenCriteria) GetAmount() string { - if x != nil { - return x.Amount +func (m *TokenCriteria) GetAmount() string { + if m != nil { + return m.Amount } return "" } -func (x *TokenCriteria) GetTokenIds() []uint64 { - if x != nil { - return x.TokenIds +func (m *TokenCriteria) GetTokenIds() []uint64 { + if m != nil { + return m.TokenIds } return nil } -func (x *TokenCriteria) GetEnsPattern() string { - if x != nil { - return x.EnsPattern +func (m *TokenCriteria) GetEnsPattern() string { + if m != nil { + return m.EnsPattern } return "" } -func (x *TokenCriteria) GetDecimals() uint64 { - if x != nil { - return x.Decimals +func (m *TokenCriteria) GetDecimals() uint64 { + if m != nil { + return m.Decimals } return 0 } type CommunityTokenPermission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Type CommunityTokenPermission_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenPermission_Type" json:"type,omitempty"` - TokenCriteria []*TokenCriteria `protobuf:"bytes,3,rep,name=token_criteria,json=tokenCriteria,proto3" json:"token_criteria,omitempty"` - ChatIds []string `protobuf:"bytes,4,rep,name=chat_ids,json=chatIds,proto3" json:"chat_ids,omitempty"` - IsPrivate bool `protobuf:"varint,5,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Type CommunityTokenPermission_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityTokenPermission_Type" json:"type,omitempty"` + TokenCriteria []*TokenCriteria `protobuf:"bytes,3,rep,name=token_criteria,json=tokenCriteria,proto3" json:"token_criteria,omitempty"` + ChatIds []string `protobuf:"bytes,4,rep,name=chat_ids,json=chatIds,proto3" json:"chat_ids,omitempty"` + IsPrivate bool `protobuf:"varint,5,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityTokenPermission) Reset() { - *x = CommunityTokenPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityTokenPermission) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityTokenPermission) ProtoMessage() {} - -func (x *CommunityTokenPermission) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityTokenPermission.ProtoReflect.Descriptor instead. +func (m *CommunityTokenPermission) Reset() { *m = CommunityTokenPermission{} } +func (m *CommunityTokenPermission) String() string { return proto.CompactTextString(m) } +func (*CommunityTokenPermission) ProtoMessage() {} func (*CommunityTokenPermission) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{5} + return fileDescriptor_f937943d74c1cd8b, []int{5} } -func (x *CommunityTokenPermission) GetId() string { - if x != nil { - return x.Id +func (m *CommunityTokenPermission) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityTokenPermission.Unmarshal(m, b) +} +func (m *CommunityTokenPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityTokenPermission.Marshal(b, m, deterministic) +} +func (m *CommunityTokenPermission) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityTokenPermission.Merge(m, src) +} +func (m *CommunityTokenPermission) XXX_Size() int { + return xxx_messageInfo_CommunityTokenPermission.Size(m) +} +func (m *CommunityTokenPermission) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityTokenPermission.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityTokenPermission proto.InternalMessageInfo + +func (m *CommunityTokenPermission) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *CommunityTokenPermission) GetType() CommunityTokenPermission_Type { - if x != nil { - return x.Type +func (m *CommunityTokenPermission) GetType() CommunityTokenPermission_Type { + if m != nil { + return m.Type } return CommunityTokenPermission_UNKNOWN_TOKEN_PERMISSION } -func (x *CommunityTokenPermission) GetTokenCriteria() []*TokenCriteria { - if x != nil { - return x.TokenCriteria +func (m *CommunityTokenPermission) GetTokenCriteria() []*TokenCriteria { + if m != nil { + return m.TokenCriteria } return nil } -func (x *CommunityTokenPermission) GetChatIds() []string { - if x != nil { - return x.ChatIds +func (m *CommunityTokenPermission) GetChatIds() []string { + if m != nil { + return m.ChatIds } return nil } -func (x *CommunityTokenPermission) GetIsPrivate() bool { - if x != nil { - return x.IsPrivate +func (m *CommunityTokenPermission) GetIsPrivate() bool { + if m != nil { + return m.IsPrivate } return false } type CommunityDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Members map[string]*CommunityMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Permissions *CommunityPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` - Identity *ChatIdentity `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` - Chats map[string]*CommunityChat `protobuf:"bytes,6,rep,name=chats,proto3" json:"chats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - BanList []string `protobuf:"bytes,7,rep,name=ban_list,json=banList,proto3" json:"ban_list,omitempty"` - Categories map[string]*CommunityCategory `protobuf:"bytes,8,rep,name=categories,proto3" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ArchiveMagnetlinkClock uint64 `protobuf:"varint,9,opt,name=archive_magnetlink_clock,json=archiveMagnetlinkClock,proto3" json:"archive_magnetlink_clock,omitempty"` - AdminSettings *CommunityAdminSettings `protobuf:"bytes,10,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"` - IntroMessage string `protobuf:"bytes,11,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"` - OutroMessage string `protobuf:"bytes,12,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"` - // Deprecated: Marked as deprecated in communities.proto. - Encrypted bool `protobuf:"varint,13,opt,name=encrypted,proto3" json:"encrypted,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Members map[string]*CommunityMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Permissions *CommunityPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` + Identity *ChatIdentity `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + Chats map[string]*CommunityChat `protobuf:"bytes,6,rep,name=chats,proto3" json:"chats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + BanList []string `protobuf:"bytes,7,rep,name=ban_list,json=banList,proto3" json:"ban_list,omitempty"` + Categories map[string]*CommunityCategory `protobuf:"bytes,8,rep,name=categories,proto3" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ArchiveMagnetlinkClock uint64 `protobuf:"varint,9,opt,name=archive_magnetlink_clock,json=archiveMagnetlinkClock,proto3" json:"archive_magnetlink_clock,omitempty"` + AdminSettings *CommunityAdminSettings `protobuf:"bytes,10,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"` + IntroMessage string `protobuf:"bytes,11,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"` + OutroMessage string `protobuf:"bytes,12,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"` + Encrypted bool `protobuf:"varint,13,opt,name=encrypted,proto3" json:"encrypted,omitempty"` // Deprecated: Do not use. Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` TokenPermissions map[string]*CommunityTokenPermission `protobuf:"bytes,15,rep,name=token_permissions,json=tokenPermissions,proto3" json:"token_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` CommunityTokensMetadata []*CommunityTokenMetadata `protobuf:"bytes,16,rep,name=community_tokens_metadata,json=communityTokensMetadata,proto3" json:"community_tokens_metadata,omitempty"` ActiveMembersCount uint64 `protobuf:"varint,17,opt,name=active_members_count,json=activeMembersCount,proto3" json:"active_members_count,omitempty"` ID string `protobuf:"bytes,18,opt,name=ID,proto3" json:"ID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityDescription) Reset() { - *x = CommunityDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityDescription) ProtoMessage() {} - -func (x *CommunityDescription) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityDescription.ProtoReflect.Descriptor instead. +func (m *CommunityDescription) Reset() { *m = CommunityDescription{} } +func (m *CommunityDescription) String() string { return proto.CompactTextString(m) } +func (*CommunityDescription) ProtoMessage() {} func (*CommunityDescription) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{6} + return fileDescriptor_f937943d74c1cd8b, []int{6} } -func (x *CommunityDescription) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityDescription) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityDescription.Unmarshal(m, b) +} +func (m *CommunityDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityDescription.Marshal(b, m, deterministic) +} +func (m *CommunityDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityDescription.Merge(m, src) +} +func (m *CommunityDescription) XXX_Size() int { + return xxx_messageInfo_CommunityDescription.Size(m) +} +func (m *CommunityDescription) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityDescription proto.InternalMessageInfo + +func (m *CommunityDescription) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityDescription) GetMembers() map[string]*CommunityMember { - if x != nil { - return x.Members +func (m *CommunityDescription) GetMembers() map[string]*CommunityMember { + if m != nil { + return m.Members } return nil } -func (x *CommunityDescription) GetPermissions() *CommunityPermissions { - if x != nil { - return x.Permissions +func (m *CommunityDescription) GetPermissions() *CommunityPermissions { + if m != nil { + return m.Permissions } return nil } -func (x *CommunityDescription) GetIdentity() *ChatIdentity { - if x != nil { - return x.Identity +func (m *CommunityDescription) GetIdentity() *ChatIdentity { + if m != nil { + return m.Identity } return nil } -func (x *CommunityDescription) GetChats() map[string]*CommunityChat { - if x != nil { - return x.Chats +func (m *CommunityDescription) GetChats() map[string]*CommunityChat { + if m != nil { + return m.Chats } return nil } -func (x *CommunityDescription) GetBanList() []string { - if x != nil { - return x.BanList +func (m *CommunityDescription) GetBanList() []string { + if m != nil { + return m.BanList } return nil } -func (x *CommunityDescription) GetCategories() map[string]*CommunityCategory { - if x != nil { - return x.Categories +func (m *CommunityDescription) GetCategories() map[string]*CommunityCategory { + if m != nil { + return m.Categories } return nil } -func (x *CommunityDescription) GetArchiveMagnetlinkClock() uint64 { - if x != nil { - return x.ArchiveMagnetlinkClock +func (m *CommunityDescription) GetArchiveMagnetlinkClock() uint64 { + if m != nil { + return m.ArchiveMagnetlinkClock } return 0 } -func (x *CommunityDescription) GetAdminSettings() *CommunityAdminSettings { - if x != nil { - return x.AdminSettings +func (m *CommunityDescription) GetAdminSettings() *CommunityAdminSettings { + if m != nil { + return m.AdminSettings } return nil } -func (x *CommunityDescription) GetIntroMessage() string { - if x != nil { - return x.IntroMessage +func (m *CommunityDescription) GetIntroMessage() string { + if m != nil { + return m.IntroMessage } return "" } -func (x *CommunityDescription) GetOutroMessage() string { - if x != nil { - return x.OutroMessage +func (m *CommunityDescription) GetOutroMessage() string { + if m != nil { + return m.OutroMessage } return "" } -// Deprecated: Marked as deprecated in communities.proto. -func (x *CommunityDescription) GetEncrypted() bool { - if x != nil { - return x.Encrypted +// Deprecated: Do not use. +func (m *CommunityDescription) GetEncrypted() bool { + if m != nil { + return m.Encrypted } return false } -func (x *CommunityDescription) GetTags() []string { - if x != nil { - return x.Tags +func (m *CommunityDescription) GetTags() []string { + if m != nil { + return m.Tags } return nil } -func (x *CommunityDescription) GetTokenPermissions() map[string]*CommunityTokenPermission { - if x != nil { - return x.TokenPermissions +func (m *CommunityDescription) GetTokenPermissions() map[string]*CommunityTokenPermission { + if m != nil { + return m.TokenPermissions } return nil } -func (x *CommunityDescription) GetCommunityTokensMetadata() []*CommunityTokenMetadata { - if x != nil { - return x.CommunityTokensMetadata +func (m *CommunityDescription) GetCommunityTokensMetadata() []*CommunityTokenMetadata { + if m != nil { + return m.CommunityTokensMetadata } return nil } -func (x *CommunityDescription) GetActiveMembersCount() uint64 { - if x != nil { - return x.ActiveMembersCount +func (m *CommunityDescription) GetActiveMembersCount() uint64 { + if m != nil { + return m.ActiveMembersCount } return 0 } -func (x *CommunityDescription) GetID() string { - if x != nil { - return x.ID +func (m *CommunityDescription) GetID() string { + if m != nil { + return m.ID } return "" } type CommunityAdminSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PinMessageAllMembersEnabled bool `protobuf:"varint,1,opt,name=pin_message_all_members_enabled,json=pinMessageAllMembersEnabled,proto3" json:"pin_message_all_members_enabled,omitempty"` + PinMessageAllMembersEnabled bool `protobuf:"varint,1,opt,name=pin_message_all_members_enabled,json=pinMessageAllMembersEnabled,proto3" json:"pin_message_all_members_enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityAdminSettings) Reset() { - *x = CommunityAdminSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityAdminSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityAdminSettings) ProtoMessage() {} - -func (x *CommunityAdminSettings) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityAdminSettings.ProtoReflect.Descriptor instead. +func (m *CommunityAdminSettings) Reset() { *m = CommunityAdminSettings{} } +func (m *CommunityAdminSettings) String() string { return proto.CompactTextString(m) } +func (*CommunityAdminSettings) ProtoMessage() {} func (*CommunityAdminSettings) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{7} + return fileDescriptor_f937943d74c1cd8b, []int{7} } -func (x *CommunityAdminSettings) GetPinMessageAllMembersEnabled() bool { - if x != nil { - return x.PinMessageAllMembersEnabled +func (m *CommunityAdminSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityAdminSettings.Unmarshal(m, b) +} +func (m *CommunityAdminSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityAdminSettings.Marshal(b, m, deterministic) +} +func (m *CommunityAdminSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityAdminSettings.Merge(m, src) +} +func (m *CommunityAdminSettings) XXX_Size() int { + return xxx_messageInfo_CommunityAdminSettings.Size(m) +} +func (m *CommunityAdminSettings) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityAdminSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityAdminSettings proto.InternalMessageInfo + +func (m *CommunityAdminSettings) GetPinMessageAllMembersEnabled() bool { + if m != nil { + return m.PinMessageAllMembersEnabled } return false } type CommunityChat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Members map[string]*CommunityMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` - Identity *ChatIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` - CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` - Position int32 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"` + Members map[string]*CommunityMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` + Identity *ChatIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` + Position int32 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityChat) Reset() { - *x = CommunityChat{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityChat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityChat) ProtoMessage() {} - -func (x *CommunityChat) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityChat.ProtoReflect.Descriptor instead. +func (m *CommunityChat) Reset() { *m = CommunityChat{} } +func (m *CommunityChat) String() string { return proto.CompactTextString(m) } +func (*CommunityChat) ProtoMessage() {} func (*CommunityChat) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{8} + return fileDescriptor_f937943d74c1cd8b, []int{8} } -func (x *CommunityChat) GetMembers() map[string]*CommunityMember { - if x != nil { - return x.Members +func (m *CommunityChat) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityChat.Unmarshal(m, b) +} +func (m *CommunityChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityChat.Marshal(b, m, deterministic) +} +func (m *CommunityChat) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityChat.Merge(m, src) +} +func (m *CommunityChat) XXX_Size() int { + return xxx_messageInfo_CommunityChat.Size(m) +} +func (m *CommunityChat) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityChat.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityChat proto.InternalMessageInfo + +func (m *CommunityChat) GetMembers() map[string]*CommunityMember { + if m != nil { + return m.Members } return nil } -func (x *CommunityChat) GetPermissions() *CommunityPermissions { - if x != nil { - return x.Permissions +func (m *CommunityChat) GetPermissions() *CommunityPermissions { + if m != nil { + return m.Permissions } return nil } -func (x *CommunityChat) GetIdentity() *ChatIdentity { - if x != nil { - return x.Identity +func (m *CommunityChat) GetIdentity() *ChatIdentity { + if m != nil { + return m.Identity } return nil } -func (x *CommunityChat) GetCategoryId() string { - if x != nil { - return x.CategoryId +func (m *CommunityChat) GetCategoryId() string { + if m != nil { + return m.CategoryId } return "" } -func (x *CommunityChat) GetPosition() int32 { - if x != nil { - return x.Position +func (m *CommunityChat) GetPosition() int32 { + if m != nil { + return m.Position } return 0 } type CommunityCategory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` + CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityCategory) Reset() { - *x = CommunityCategory{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityCategory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityCategory) ProtoMessage() {} - -func (x *CommunityCategory) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityCategory.ProtoReflect.Descriptor instead. +func (m *CommunityCategory) Reset() { *m = CommunityCategory{} } +func (m *CommunityCategory) String() string { return proto.CompactTextString(m) } +func (*CommunityCategory) ProtoMessage() {} func (*CommunityCategory) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{9} + return fileDescriptor_f937943d74c1cd8b, []int{9} } -func (x *CommunityCategory) GetCategoryId() string { - if x != nil { - return x.CategoryId +func (m *CommunityCategory) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityCategory.Unmarshal(m, b) +} +func (m *CommunityCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityCategory.Marshal(b, m, deterministic) +} +func (m *CommunityCategory) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityCategory.Merge(m, src) +} +func (m *CommunityCategory) XXX_Size() int { + return xxx_messageInfo_CommunityCategory.Size(m) +} +func (m *CommunityCategory) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityCategory.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityCategory proto.InternalMessageInfo + +func (m *CommunityCategory) GetCategoryId() string { + if m != nil { + return m.CategoryId } return "" } -func (x *CommunityCategory) GetName() string { - if x != nil { - return x.Name +func (m *CommunityCategory) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *CommunityCategory) GetPosition() int32 { - if x != nil { - return x.Position +func (m *CommunityCategory) GetPosition() int32 { + if m != nil { + return m.Position } return 0 } type RevealedAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` - ChainIds []uint64 `protobuf:"varint,3,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` - IsAirdropAddress bool `protobuf:"varint,4,opt,name=isAirdropAddress,proto3" json:"isAirdropAddress,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + ChainIds []uint64 `protobuf:"varint,3,rep,packed,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"` + IsAirdropAddress bool `protobuf:"varint,4,opt,name=isAirdropAddress,proto3" json:"isAirdropAddress,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RevealedAccount) Reset() { - *x = RevealedAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RevealedAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RevealedAccount) ProtoMessage() {} - -func (x *RevealedAccount) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RevealedAccount.ProtoReflect.Descriptor instead. +func (m *RevealedAccount) Reset() { *m = RevealedAccount{} } +func (m *RevealedAccount) String() string { return proto.CompactTextString(m) } +func (*RevealedAccount) ProtoMessage() {} func (*RevealedAccount) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{10} + return fileDescriptor_f937943d74c1cd8b, []int{10} } -func (x *RevealedAccount) GetAddress() string { - if x != nil { - return x.Address +func (m *RevealedAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RevealedAccount.Unmarshal(m, b) +} +func (m *RevealedAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RevealedAccount.Marshal(b, m, deterministic) +} +func (m *RevealedAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevealedAccount.Merge(m, src) +} +func (m *RevealedAccount) XXX_Size() int { + return xxx_messageInfo_RevealedAccount.Size(m) +} +func (m *RevealedAccount) XXX_DiscardUnknown() { + xxx_messageInfo_RevealedAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_RevealedAccount proto.InternalMessageInfo + +func (m *RevealedAccount) GetAddress() string { + if m != nil { + return m.Address } return "" } -func (x *RevealedAccount) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *RevealedAccount) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *RevealedAccount) GetChainIds() []uint64 { - if x != nil { - return x.ChainIds +func (m *RevealedAccount) GetChainIds() []uint64 { + if m != nil { + return m.ChainIds } return nil } -func (x *RevealedAccount) GetIsAirdropAddress() bool { - if x != nil { - return x.IsAirdropAddress +func (m *RevealedAccount) GetIsAirdropAddress() bool { + if m != nil { + return m.IsAirdropAddress } return false } type CommunityRequestToJoin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` - ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - RevealedAccounts []*RevealedAccount `protobuf:"bytes,6,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` + ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + RevealedAccounts []*RevealedAccount `protobuf:"bytes,6,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityRequestToJoin) Reset() { - *x = CommunityRequestToJoin{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityRequestToJoin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityRequestToJoin) ProtoMessage() {} - -func (x *CommunityRequestToJoin) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityRequestToJoin.ProtoReflect.Descriptor instead. +func (m *CommunityRequestToJoin) Reset() { *m = CommunityRequestToJoin{} } +func (m *CommunityRequestToJoin) String() string { return proto.CompactTextString(m) } +func (*CommunityRequestToJoin) ProtoMessage() {} func (*CommunityRequestToJoin) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{11} + return fileDescriptor_f937943d74c1cd8b, []int{11} } -func (x *CommunityRequestToJoin) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityRequestToJoin) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityRequestToJoin.Unmarshal(m, b) +} +func (m *CommunityRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityRequestToJoin.Marshal(b, m, deterministic) +} +func (m *CommunityRequestToJoin) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityRequestToJoin.Merge(m, src) +} +func (m *CommunityRequestToJoin) XXX_Size() int { + return xxx_messageInfo_CommunityRequestToJoin.Size(m) +} +func (m *CommunityRequestToJoin) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityRequestToJoin.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityRequestToJoin proto.InternalMessageInfo + +func (m *CommunityRequestToJoin) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityRequestToJoin) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *CommunityRequestToJoin) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *CommunityRequestToJoin) GetChatId() string { - if x != nil { - return x.ChatId +func (m *CommunityRequestToJoin) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *CommunityRequestToJoin) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityRequestToJoin) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityRequestToJoin) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *CommunityRequestToJoin) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *CommunityRequestToJoin) GetRevealedAccounts() []*RevealedAccount { - if x != nil { - return x.RevealedAccounts +func (m *CommunityRequestToJoin) GetRevealedAccounts() []*RevealedAccount { + if m != nil { + return m.RevealedAccounts } return nil } type CommunityEditSharedAddresses struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - RevealedAccounts []*RevealedAccount `protobuf:"bytes,3,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + RevealedAccounts []*RevealedAccount `protobuf:"bytes,3,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityEditSharedAddresses) Reset() { - *x = CommunityEditSharedAddresses{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityEditSharedAddresses) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityEditSharedAddresses) ProtoMessage() {} - -func (x *CommunityEditSharedAddresses) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityEditSharedAddresses.ProtoReflect.Descriptor instead. +func (m *CommunityEditSharedAddresses) Reset() { *m = CommunityEditSharedAddresses{} } +func (m *CommunityEditSharedAddresses) String() string { return proto.CompactTextString(m) } +func (*CommunityEditSharedAddresses) ProtoMessage() {} func (*CommunityEditSharedAddresses) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{12} + return fileDescriptor_f937943d74c1cd8b, []int{12} } -func (x *CommunityEditSharedAddresses) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityEditSharedAddresses) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityEditSharedAddresses.Unmarshal(m, b) +} +func (m *CommunityEditSharedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityEditSharedAddresses.Marshal(b, m, deterministic) +} +func (m *CommunityEditSharedAddresses) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityEditSharedAddresses.Merge(m, src) +} +func (m *CommunityEditSharedAddresses) XXX_Size() int { + return xxx_messageInfo_CommunityEditSharedAddresses.Size(m) +} +func (m *CommunityEditSharedAddresses) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityEditSharedAddresses.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityEditSharedAddresses proto.InternalMessageInfo + +func (m *CommunityEditSharedAddresses) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityEditSharedAddresses) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityEditSharedAddresses) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityEditSharedAddresses) GetRevealedAccounts() []*RevealedAccount { - if x != nil { - return x.RevealedAccounts +func (m *CommunityEditSharedAddresses) GetRevealedAccounts() []*RevealedAccount { + if m != nil { + return m.RevealedAccounts } return nil } type CommunityCancelRequestToJoin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` - ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` + ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityCancelRequestToJoin) Reset() { - *x = CommunityCancelRequestToJoin{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityCancelRequestToJoin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityCancelRequestToJoin) ProtoMessage() {} - -func (x *CommunityCancelRequestToJoin) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityCancelRequestToJoin.ProtoReflect.Descriptor instead. +func (m *CommunityCancelRequestToJoin) Reset() { *m = CommunityCancelRequestToJoin{} } +func (m *CommunityCancelRequestToJoin) String() string { return proto.CompactTextString(m) } +func (*CommunityCancelRequestToJoin) ProtoMessage() {} func (*CommunityCancelRequestToJoin) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{13} + return fileDescriptor_f937943d74c1cd8b, []int{13} } -func (x *CommunityCancelRequestToJoin) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityCancelRequestToJoin) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityCancelRequestToJoin.Unmarshal(m, b) +} +func (m *CommunityCancelRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityCancelRequestToJoin.Marshal(b, m, deterministic) +} +func (m *CommunityCancelRequestToJoin) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityCancelRequestToJoin.Merge(m, src) +} +func (m *CommunityCancelRequestToJoin) XXX_Size() int { + return xxx_messageInfo_CommunityCancelRequestToJoin.Size(m) +} +func (m *CommunityCancelRequestToJoin) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityCancelRequestToJoin.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityCancelRequestToJoin proto.InternalMessageInfo + +func (m *CommunityCancelRequestToJoin) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityCancelRequestToJoin) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *CommunityCancelRequestToJoin) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *CommunityCancelRequestToJoin) GetChatId() string { - if x != nil { - return x.ChatId +func (m *CommunityCancelRequestToJoin) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *CommunityCancelRequestToJoin) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityCancelRequestToJoin) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityCancelRequestToJoin) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *CommunityCancelRequestToJoin) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } type CommunityRequestToJoinResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Community *CommunityDescription `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"` Accepted bool `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"` @@ -1342,1323 +1160,675 @@ type CommunityRequestToJoinResponse struct { MagnetUri string `protobuf:"bytes,6,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"` ProtectedTopicPrivateKey []byte `protobuf:"bytes,7,opt,name=protected_topic_private_key,json=protectedTopicPrivateKey,proto3" json:"protected_topic_private_key,omitempty"` Shard *Shard `protobuf:"bytes,8,opt,name=shard,proto3" json:"shard,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityRequestToJoinResponse) Reset() { - *x = CommunityRequestToJoinResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityRequestToJoinResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityRequestToJoinResponse) ProtoMessage() {} - -func (x *CommunityRequestToJoinResponse) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityRequestToJoinResponse.ProtoReflect.Descriptor instead. +func (m *CommunityRequestToJoinResponse) Reset() { *m = CommunityRequestToJoinResponse{} } +func (m *CommunityRequestToJoinResponse) String() string { return proto.CompactTextString(m) } +func (*CommunityRequestToJoinResponse) ProtoMessage() {} func (*CommunityRequestToJoinResponse) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{14} + return fileDescriptor_f937943d74c1cd8b, []int{14} } -func (x *CommunityRequestToJoinResponse) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityRequestToJoinResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityRequestToJoinResponse.Unmarshal(m, b) +} +func (m *CommunityRequestToJoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityRequestToJoinResponse.Marshal(b, m, deterministic) +} +func (m *CommunityRequestToJoinResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityRequestToJoinResponse.Merge(m, src) +} +func (m *CommunityRequestToJoinResponse) XXX_Size() int { + return xxx_messageInfo_CommunityRequestToJoinResponse.Size(m) +} +func (m *CommunityRequestToJoinResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityRequestToJoinResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityRequestToJoinResponse proto.InternalMessageInfo + +func (m *CommunityRequestToJoinResponse) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription { - if x != nil { - return x.Community +func (m *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription { + if m != nil { + return m.Community } return nil } -func (x *CommunityRequestToJoinResponse) GetAccepted() bool { - if x != nil { - return x.Accepted +func (m *CommunityRequestToJoinResponse) GetAccepted() bool { + if m != nil { + return m.Accepted } return false } -func (x *CommunityRequestToJoinResponse) GetGrant() []byte { - if x != nil { - return x.Grant +func (m *CommunityRequestToJoinResponse) GetGrant() []byte { + if m != nil { + return m.Grant } return nil } -func (x *CommunityRequestToJoinResponse) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityRequestToJoinResponse) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityRequestToJoinResponse) GetMagnetUri() string { - if x != nil { - return x.MagnetUri +func (m *CommunityRequestToJoinResponse) GetMagnetUri() string { + if m != nil { + return m.MagnetUri } return "" } -func (x *CommunityRequestToJoinResponse) GetProtectedTopicPrivateKey() []byte { - if x != nil { - return x.ProtectedTopicPrivateKey +func (m *CommunityRequestToJoinResponse) GetProtectedTopicPrivateKey() []byte { + if m != nil { + return m.ProtectedTopicPrivateKey } return nil } -func (x *CommunityRequestToJoinResponse) GetShard() *Shard { - if x != nil { - return x.Shard +func (m *CommunityRequestToJoinResponse) GetShard() *Shard { + if m != nil { + return m.Shard } return nil } type CommunityRequestToLeave struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityRequestToLeave) Reset() { - *x = CommunityRequestToLeave{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityRequestToLeave) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityRequestToLeave) ProtoMessage() {} - -func (x *CommunityRequestToLeave) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityRequestToLeave.ProtoReflect.Descriptor instead. +func (m *CommunityRequestToLeave) Reset() { *m = CommunityRequestToLeave{} } +func (m *CommunityRequestToLeave) String() string { return proto.CompactTextString(m) } +func (*CommunityRequestToLeave) ProtoMessage() {} func (*CommunityRequestToLeave) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{15} + return fileDescriptor_f937943d74c1cd8b, []int{15} } -func (x *CommunityRequestToLeave) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityRequestToLeave) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityRequestToLeave.Unmarshal(m, b) +} +func (m *CommunityRequestToLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityRequestToLeave.Marshal(b, m, deterministic) +} +func (m *CommunityRequestToLeave) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityRequestToLeave.Merge(m, src) +} +func (m *CommunityRequestToLeave) XXX_Size() int { + return xxx_messageInfo_CommunityRequestToLeave.Size(m) +} +func (m *CommunityRequestToLeave) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityRequestToLeave.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityRequestToLeave proto.InternalMessageInfo + +func (m *CommunityRequestToLeave) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityRequestToLeave) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityRequestToLeave) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } type CommunityMessageArchiveMagnetlink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - MagnetUri string `protobuf:"bytes,2,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + MagnetUri string `protobuf:"bytes,2,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityMessageArchiveMagnetlink) Reset() { - *x = CommunityMessageArchiveMagnetlink{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityMessageArchiveMagnetlink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityMessageArchiveMagnetlink) ProtoMessage() {} - -func (x *CommunityMessageArchiveMagnetlink) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityMessageArchiveMagnetlink.ProtoReflect.Descriptor instead. +func (m *CommunityMessageArchiveMagnetlink) Reset() { *m = CommunityMessageArchiveMagnetlink{} } +func (m *CommunityMessageArchiveMagnetlink) String() string { return proto.CompactTextString(m) } +func (*CommunityMessageArchiveMagnetlink) ProtoMessage() {} func (*CommunityMessageArchiveMagnetlink) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{16} + return fileDescriptor_f937943d74c1cd8b, []int{16} } -func (x *CommunityMessageArchiveMagnetlink) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityMessageArchiveMagnetlink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Unmarshal(m, b) +} +func (m *CommunityMessageArchiveMagnetlink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Marshal(b, m, deterministic) +} +func (m *CommunityMessageArchiveMagnetlink) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityMessageArchiveMagnetlink.Merge(m, src) +} +func (m *CommunityMessageArchiveMagnetlink) XXX_Size() int { + return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Size(m) +} +func (m *CommunityMessageArchiveMagnetlink) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityMessageArchiveMagnetlink.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityMessageArchiveMagnetlink proto.InternalMessageInfo + +func (m *CommunityMessageArchiveMagnetlink) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityMessageArchiveMagnetlink) GetMagnetUri() string { - if x != nil { - return x.MagnetUri +func (m *CommunityMessageArchiveMagnetlink) GetMagnetUri() string { + if m != nil { + return m.MagnetUri } return "" } type WakuMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"` - Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Topic []byte `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` - Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` - Padding []byte `protobuf:"bytes,5,opt,name=padding,proto3" json:"padding,omitempty"` - Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` - ThirdPartyId string `protobuf:"bytes,7,opt,name=thirdPartyId,proto3" json:"thirdPartyId,omitempty"` + Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"` + Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Topic []byte `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` + Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` + Padding []byte `protobuf:"bytes,5,opt,name=padding,proto3" json:"padding,omitempty"` + Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` + ThirdPartyId string `protobuf:"bytes,7,opt,name=thirdPartyId,proto3" json:"thirdPartyId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WakuMessage) Reset() { - *x = WakuMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WakuMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WakuMessage) ProtoMessage() {} - -func (x *WakuMessage) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WakuMessage.ProtoReflect.Descriptor instead. +func (m *WakuMessage) Reset() { *m = WakuMessage{} } +func (m *WakuMessage) String() string { return proto.CompactTextString(m) } +func (*WakuMessage) ProtoMessage() {} func (*WakuMessage) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{17} + return fileDescriptor_f937943d74c1cd8b, []int{17} } -func (x *WakuMessage) GetSig() []byte { - if x != nil { - return x.Sig +func (m *WakuMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WakuMessage.Unmarshal(m, b) +} +func (m *WakuMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WakuMessage.Marshal(b, m, deterministic) +} +func (m *WakuMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_WakuMessage.Merge(m, src) +} +func (m *WakuMessage) XXX_Size() int { + return xxx_messageInfo_WakuMessage.Size(m) +} +func (m *WakuMessage) XXX_DiscardUnknown() { + xxx_messageInfo_WakuMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_WakuMessage proto.InternalMessageInfo + +func (m *WakuMessage) GetSig() []byte { + if m != nil { + return m.Sig } return nil } -func (x *WakuMessage) GetTimestamp() uint64 { - if x != nil { - return x.Timestamp +func (m *WakuMessage) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *WakuMessage) GetTopic() []byte { - if x != nil { - return x.Topic +func (m *WakuMessage) GetTopic() []byte { + if m != nil { + return m.Topic } return nil } -func (x *WakuMessage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *WakuMessage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *WakuMessage) GetPadding() []byte { - if x != nil { - return x.Padding +func (m *WakuMessage) GetPadding() []byte { + if m != nil { + return m.Padding } return nil } -func (x *WakuMessage) GetHash() []byte { - if x != nil { - return x.Hash +func (m *WakuMessage) GetHash() []byte { + if m != nil { + return m.Hash } return nil } -func (x *WakuMessage) GetThirdPartyId() string { - if x != nil { - return x.ThirdPartyId +func (m *WakuMessage) GetThirdPartyId() string { + if m != nil { + return m.ThirdPartyId } return "" } type WakuMessageArchiveMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` - From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` - To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` - ContentTopic [][]byte `protobuf:"bytes,4,rep,name=contentTopic,proto3" json:"contentTopic,omitempty"` + Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` + From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"` + To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"` + ContentTopic [][]byte `protobuf:"bytes,4,rep,name=contentTopic,proto3" json:"contentTopic,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WakuMessageArchiveMetadata) Reset() { - *x = WakuMessageArchiveMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WakuMessageArchiveMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WakuMessageArchiveMetadata) ProtoMessage() {} - -func (x *WakuMessageArchiveMetadata) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WakuMessageArchiveMetadata.ProtoReflect.Descriptor instead. +func (m *WakuMessageArchiveMetadata) Reset() { *m = WakuMessageArchiveMetadata{} } +func (m *WakuMessageArchiveMetadata) String() string { return proto.CompactTextString(m) } +func (*WakuMessageArchiveMetadata) ProtoMessage() {} func (*WakuMessageArchiveMetadata) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{18} + return fileDescriptor_f937943d74c1cd8b, []int{18} } -func (x *WakuMessageArchiveMetadata) GetVersion() uint32 { - if x != nil { - return x.Version +func (m *WakuMessageArchiveMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WakuMessageArchiveMetadata.Unmarshal(m, b) +} +func (m *WakuMessageArchiveMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WakuMessageArchiveMetadata.Marshal(b, m, deterministic) +} +func (m *WakuMessageArchiveMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_WakuMessageArchiveMetadata.Merge(m, src) +} +func (m *WakuMessageArchiveMetadata) XXX_Size() int { + return xxx_messageInfo_WakuMessageArchiveMetadata.Size(m) +} +func (m *WakuMessageArchiveMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_WakuMessageArchiveMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_WakuMessageArchiveMetadata proto.InternalMessageInfo + +func (m *WakuMessageArchiveMetadata) GetVersion() uint32 { + if m != nil { + return m.Version } return 0 } -func (x *WakuMessageArchiveMetadata) GetFrom() uint64 { - if x != nil { - return x.From +func (m *WakuMessageArchiveMetadata) GetFrom() uint64 { + if m != nil { + return m.From } return 0 } -func (x *WakuMessageArchiveMetadata) GetTo() uint64 { - if x != nil { - return x.To +func (m *WakuMessageArchiveMetadata) GetTo() uint64 { + if m != nil { + return m.To } return 0 } -func (x *WakuMessageArchiveMetadata) GetContentTopic() [][]byte { - if x != nil { - return x.ContentTopic +func (m *WakuMessageArchiveMetadata) GetContentTopic() [][]byte { + if m != nil { + return m.ContentTopic } return nil } type WakuMessageArchive struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` - Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - Messages []*WakuMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` + Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` + Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Messages []*WakuMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WakuMessageArchive) Reset() { - *x = WakuMessageArchive{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WakuMessageArchive) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WakuMessageArchive) ProtoMessage() {} - -func (x *WakuMessageArchive) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WakuMessageArchive.ProtoReflect.Descriptor instead. +func (m *WakuMessageArchive) Reset() { *m = WakuMessageArchive{} } +func (m *WakuMessageArchive) String() string { return proto.CompactTextString(m) } +func (*WakuMessageArchive) ProtoMessage() {} func (*WakuMessageArchive) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{19} + return fileDescriptor_f937943d74c1cd8b, []int{19} } -func (x *WakuMessageArchive) GetVersion() uint32 { - if x != nil { - return x.Version +func (m *WakuMessageArchive) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WakuMessageArchive.Unmarshal(m, b) +} +func (m *WakuMessageArchive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WakuMessageArchive.Marshal(b, m, deterministic) +} +func (m *WakuMessageArchive) XXX_Merge(src proto.Message) { + xxx_messageInfo_WakuMessageArchive.Merge(m, src) +} +func (m *WakuMessageArchive) XXX_Size() int { + return xxx_messageInfo_WakuMessageArchive.Size(m) +} +func (m *WakuMessageArchive) XXX_DiscardUnknown() { + xxx_messageInfo_WakuMessageArchive.DiscardUnknown(m) +} + +var xxx_messageInfo_WakuMessageArchive proto.InternalMessageInfo + +func (m *WakuMessageArchive) GetVersion() uint32 { + if m != nil { + return m.Version } return 0 } -func (x *WakuMessageArchive) GetMetadata() *WakuMessageArchiveMetadata { - if x != nil { - return x.Metadata +func (m *WakuMessageArchive) GetMetadata() *WakuMessageArchiveMetadata { + if m != nil { + return m.Metadata } return nil } -func (x *WakuMessageArchive) GetMessages() []*WakuMessage { - if x != nil { - return x.Messages +func (m *WakuMessageArchive) GetMessages() []*WakuMessage { + if m != nil { + return m.Messages } return nil } type WakuMessageArchiveIndexMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` - Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` - Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` - Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - Padding uint64 `protobuf:"varint,5,opt,name=padding,proto3" json:"padding,omitempty"` + Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` + Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Padding uint64 `protobuf:"varint,5,opt,name=padding,proto3" json:"padding,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WakuMessageArchiveIndexMetadata) Reset() { - *x = WakuMessageArchiveIndexMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WakuMessageArchiveIndexMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WakuMessageArchiveIndexMetadata) ProtoMessage() {} - -func (x *WakuMessageArchiveIndexMetadata) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WakuMessageArchiveIndexMetadata.ProtoReflect.Descriptor instead. +func (m *WakuMessageArchiveIndexMetadata) Reset() { *m = WakuMessageArchiveIndexMetadata{} } +func (m *WakuMessageArchiveIndexMetadata) String() string { return proto.CompactTextString(m) } +func (*WakuMessageArchiveIndexMetadata) ProtoMessage() {} func (*WakuMessageArchiveIndexMetadata) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{20} + return fileDescriptor_f937943d74c1cd8b, []int{20} } -func (x *WakuMessageArchiveIndexMetadata) GetVersion() uint32 { - if x != nil { - return x.Version +func (m *WakuMessageArchiveIndexMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Unmarshal(m, b) +} +func (m *WakuMessageArchiveIndexMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Marshal(b, m, deterministic) +} +func (m *WakuMessageArchiveIndexMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_WakuMessageArchiveIndexMetadata.Merge(m, src) +} +func (m *WakuMessageArchiveIndexMetadata) XXX_Size() int { + return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Size(m) +} +func (m *WakuMessageArchiveIndexMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_WakuMessageArchiveIndexMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_WakuMessageArchiveIndexMetadata proto.InternalMessageInfo + +func (m *WakuMessageArchiveIndexMetadata) GetVersion() uint32 { + if m != nil { + return m.Version } return 0 } -func (x *WakuMessageArchiveIndexMetadata) GetMetadata() *WakuMessageArchiveMetadata { - if x != nil { - return x.Metadata +func (m *WakuMessageArchiveIndexMetadata) GetMetadata() *WakuMessageArchiveMetadata { + if m != nil { + return m.Metadata } return nil } -func (x *WakuMessageArchiveIndexMetadata) GetOffset() uint64 { - if x != nil { - return x.Offset +func (m *WakuMessageArchiveIndexMetadata) GetOffset() uint64 { + if m != nil { + return m.Offset } return 0 } -func (x *WakuMessageArchiveIndexMetadata) GetSize() uint64 { - if x != nil { - return x.Size +func (m *WakuMessageArchiveIndexMetadata) GetSize() uint64 { + if m != nil { + return m.Size } return 0 } -func (x *WakuMessageArchiveIndexMetadata) GetPadding() uint64 { - if x != nil { - return x.Padding +func (m *WakuMessageArchiveIndexMetadata) GetPadding() uint64 { + if m != nil { + return m.Padding } return 0 } type WakuMessageArchiveIndex struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Archives map[string]*WakuMessageArchiveIndexMetadata `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Archives map[string]*WakuMessageArchiveIndexMetadata `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *WakuMessageArchiveIndex) Reset() { - *x = WakuMessageArchiveIndex{} - if protoimpl.UnsafeEnabled { - mi := &file_communities_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WakuMessageArchiveIndex) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WakuMessageArchiveIndex) ProtoMessage() {} - -func (x *WakuMessageArchiveIndex) ProtoReflect() protoreflect.Message { - mi := &file_communities_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WakuMessageArchiveIndex.ProtoReflect.Descriptor instead. +func (m *WakuMessageArchiveIndex) Reset() { *m = WakuMessageArchiveIndex{} } +func (m *WakuMessageArchiveIndex) String() string { return proto.CompactTextString(m) } +func (*WakuMessageArchiveIndex) ProtoMessage() {} func (*WakuMessageArchiveIndex) Descriptor() ([]byte, []int) { - return file_communities_proto_rawDescGZIP(), []int{21} + return fileDescriptor_f937943d74c1cd8b, []int{21} } -func (x *WakuMessageArchiveIndex) GetArchives() map[string]*WakuMessageArchiveIndexMetadata { - if x != nil { - return x.Archives +func (m *WakuMessageArchiveIndex) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WakuMessageArchiveIndex.Unmarshal(m, b) +} +func (m *WakuMessageArchiveIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WakuMessageArchiveIndex.Marshal(b, m, deterministic) +} +func (m *WakuMessageArchiveIndex) XXX_Merge(src proto.Message) { + xxx_messageInfo_WakuMessageArchiveIndex.Merge(m, src) +} +func (m *WakuMessageArchiveIndex) XXX_Size() int { + return xxx_messageInfo_WakuMessageArchiveIndex.Size(m) +} +func (m *WakuMessageArchiveIndex) XXX_DiscardUnknown() { + xxx_messageInfo_WakuMessageArchiveIndex.DiscardUnknown(m) +} + +var xxx_messageInfo_WakuMessageArchiveIndex proto.InternalMessageInfo + +func (m *WakuMessageArchiveIndex) GetArchives() map[string]*WakuMessageArchiveIndexMetadata { + if m != nil { + return m.Archives } return nil } -var File_communities_proto protoreflect.FileDescriptor - -var file_communities_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x13, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x05, - 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, - 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xc6, 0x02, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, - 0x4a, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x61, - 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6c, - 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x83, 0x01, 0x0a, 0x05, 0x52, 0x6f, 0x6c, 0x65, - 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, - 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, - 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x04, - 0x12, 0x15, 0x0a, 0x11, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4d, - 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x05, 0x22, 0x04, 0x08, 0x02, 0x10, 0x02, 0x22, 0x04, 0x08, - 0x03, 0x10, 0x03, 0x2a, 0x11, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, - 0x5f, 0x55, 0x53, 0x45, 0x52, 0x53, 0x2a, 0x15, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x4f, 0x44, - 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x22, 0x82, 0x03, - 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x66, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x1a, 0x44, 0x0a, 0x16, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0xe5, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x65, - 0x6e, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, - 0x6e, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x12, 0x3d, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, - 0x59, 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0f, 0x0a, - 0x0b, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 0x17, - 0x0a, 0x0f, 0x49, 0x4e, 0x56, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x4e, 0x4c, - 0x59, 0x10, 0x02, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x41, 0x4e, 0x55, 0x41, - 0x4c, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x03, 0x22, 0x84, 0x03, 0x0a, 0x0d, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x5d, 0x0a, 0x12, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, - 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, - 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x1f, - 0x0a, 0x0b, 0x65, 0x6e, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x73, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, - 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x1a, 0x44, 0x0a, 0x16, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0x93, 0x03, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x63, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x0d, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x63, - 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, - 0x68, 0x61, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, - 0x0a, 0x18, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, - 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, - 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x11, - 0x0a, 0x0d, 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, - 0x02, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x41, 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x43, 0x48, - 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x4e, 0x5f, 0x56, - 0x49, 0x45, 0x57, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x48, 0x41, - 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, - 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4d, 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x05, 0x12, - 0x16, 0x0a, 0x12, 0x42, 0x45, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, - 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x06, 0x22, 0x8a, 0x0a, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x45, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x40, 0x0a, - 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x32, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, - 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x63, - 0x68, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, - 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x4e, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, - 0x38, 0x0a, 0x18, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x61, 0x67, 0x6e, 0x65, - 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x16, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x67, 0x6e, 0x65, 0x74, - 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x47, 0x0a, 0x0e, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x72, 0x6f, - 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x6f, 0x75, 0x74, 0x72, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x09, - 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, - 0x67, 0x73, 0x12, 0x61, 0x0a, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x10, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5c, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x17, 0x63, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x49, 0x44, 0x1a, 0x55, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x51, 0x0a, 0x0a, - 0x43, 0x68, 0x61, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x43, 0x68, 0x61, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, - 0x5a, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x67, 0x0a, 0x15, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x44, - 0x0a, 0x1f, 0x70, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x6c, - 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x70, 0x69, 0x6e, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x22, 0xd9, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x43, 0x68, 0x61, 0x74, 0x12, 0x3e, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x74, - 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, - 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x0a, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x55, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x64, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x61, 0x74, - 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, - 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, - 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x92, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x76, 0x65, 0x61, - 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x73, 0x12, - 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x41, 0x69, 0x72, 0x64, 0x72, 0x6f, 0x70, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x41, 0x69, 0x72, - 0x64, 0x72, 0x6f, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xf0, 0x01, 0x0a, 0x16, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, - 0x65, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x65, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, - 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, - 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x76, - 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x72, 0x65, - 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x9f, - 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x64, 0x69, 0x74, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, - 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, - 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, - 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, - 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, - 0x22, 0xae, 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, - 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x21, - 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0xce, 0x02, 0x0a, 0x1e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3c, 0x0a, 0x09, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x55, 0x72, 0x69, 0x12, 0x3d, 0x0a, 0x1b, - 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, - 0x63, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, - 0x72, 0x64, 0x22, 0x52, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x21, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x4d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x67, 0x6e, 0x65, 0x74, 0x55, 0x72, 0x69, - 0x22, 0xbf, 0x01, 0x0a, 0x0b, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, - 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, - 0x73, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x22, - 0x0a, 0x0c, 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x49, 0x64, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, - 0x49, 0x64, 0x22, 0x7e, 0x0a, 0x1a, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, - 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, - 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x22, - 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, - 0x69, 0x63, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x1f, 0x57, 0x61, 0x6b, - 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xce, - 0x01, 0x0a, 0x17, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x72, - 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x4b, 0x0a, 0x08, 0x61, 0x72, - 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x2e, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x73, 0x1a, 0x66, 0x0a, 0x0d, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x61, 0x6b, 0x75, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, - 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.CommunityMember_Roles", CommunityMember_Roles_name, CommunityMember_Roles_value) + proto.RegisterEnum("protobuf.CommunityPermissions_Access", CommunityPermissions_Access_name, CommunityPermissions_Access_value) + proto.RegisterEnum("protobuf.CommunityTokenPermission_Type", CommunityTokenPermission_Type_name, CommunityTokenPermission_Type_value) + proto.RegisterType((*Grant)(nil), "protobuf.Grant") + proto.RegisterType((*CommunityMember)(nil), "protobuf.CommunityMember") + proto.RegisterType((*CommunityTokenMetadata)(nil), "protobuf.CommunityTokenMetadata") + proto.RegisterMapType((map[uint64]string)(nil), "protobuf.CommunityTokenMetadata.ContractAddressesEntry") + proto.RegisterType((*CommunityPermissions)(nil), "protobuf.CommunityPermissions") + proto.RegisterType((*TokenCriteria)(nil), "protobuf.TokenCriteria") + proto.RegisterMapType((map[uint64]string)(nil), "protobuf.TokenCriteria.ContractAddressesEntry") + proto.RegisterType((*CommunityTokenPermission)(nil), "protobuf.CommunityTokenPermission") + proto.RegisterType((*CommunityDescription)(nil), "protobuf.CommunityDescription") + proto.RegisterMapType((map[string]*CommunityCategory)(nil), "protobuf.CommunityDescription.CategoriesEntry") + proto.RegisterMapType((map[string]*CommunityChat)(nil), "protobuf.CommunityDescription.ChatsEntry") + proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityDescription.MembersEntry") + proto.RegisterMapType((map[string]*CommunityTokenPermission)(nil), "protobuf.CommunityDescription.TokenPermissionsEntry") + proto.RegisterType((*CommunityAdminSettings)(nil), "protobuf.CommunityAdminSettings") + proto.RegisterType((*CommunityChat)(nil), "protobuf.CommunityChat") + proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityChat.MembersEntry") + proto.RegisterType((*CommunityCategory)(nil), "protobuf.CommunityCategory") + proto.RegisterType((*RevealedAccount)(nil), "protobuf.RevealedAccount") + proto.RegisterType((*CommunityRequestToJoin)(nil), "protobuf.CommunityRequestToJoin") + proto.RegisterType((*CommunityEditSharedAddresses)(nil), "protobuf.CommunityEditSharedAddresses") + proto.RegisterType((*CommunityCancelRequestToJoin)(nil), "protobuf.CommunityCancelRequestToJoin") + proto.RegisterType((*CommunityRequestToJoinResponse)(nil), "protobuf.CommunityRequestToJoinResponse") + proto.RegisterType((*CommunityRequestToLeave)(nil), "protobuf.CommunityRequestToLeave") + proto.RegisterType((*CommunityMessageArchiveMagnetlink)(nil), "protobuf.CommunityMessageArchiveMagnetlink") + proto.RegisterType((*WakuMessage)(nil), "protobuf.WakuMessage") + proto.RegisterType((*WakuMessageArchiveMetadata)(nil), "protobuf.WakuMessageArchiveMetadata") + proto.RegisterType((*WakuMessageArchive)(nil), "protobuf.WakuMessageArchive") + proto.RegisterType((*WakuMessageArchiveIndexMetadata)(nil), "protobuf.WakuMessageArchiveIndexMetadata") + proto.RegisterType((*WakuMessageArchiveIndex)(nil), "protobuf.WakuMessageArchiveIndex") + proto.RegisterMapType((map[string]*WakuMessageArchiveIndexMetadata)(nil), "protobuf.WakuMessageArchiveIndex.ArchivesEntry") } -var ( - file_communities_proto_rawDescOnce sync.Once - file_communities_proto_rawDescData = file_communities_proto_rawDesc -) - -func file_communities_proto_rawDescGZIP() []byte { - file_communities_proto_rawDescOnce.Do(func() { - file_communities_proto_rawDescData = protoimpl.X.CompressGZIP(file_communities_proto_rawDescData) - }) - return file_communities_proto_rawDescData +func init() { + proto.RegisterFile("communities.proto", fileDescriptor_f937943d74c1cd8b) } -var file_communities_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_communities_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_communities_proto_goTypes = []interface{}{ - (CommunityMember_Roles)(0), // 0: protobuf.CommunityMember.Roles - (CommunityPermissions_Access)(0), // 1: protobuf.CommunityPermissions.Access - (CommunityTokenPermission_Type)(0), // 2: protobuf.CommunityTokenPermission.Type - (*Grant)(nil), // 3: protobuf.Grant - (*CommunityMember)(nil), // 4: protobuf.CommunityMember - (*CommunityTokenMetadata)(nil), // 5: protobuf.CommunityTokenMetadata - (*CommunityPermissions)(nil), // 6: protobuf.CommunityPermissions - (*TokenCriteria)(nil), // 7: protobuf.TokenCriteria - (*CommunityTokenPermission)(nil), // 8: protobuf.CommunityTokenPermission - (*CommunityDescription)(nil), // 9: protobuf.CommunityDescription - (*CommunityAdminSettings)(nil), // 10: protobuf.CommunityAdminSettings - (*CommunityChat)(nil), // 11: protobuf.CommunityChat - (*CommunityCategory)(nil), // 12: protobuf.CommunityCategory - (*RevealedAccount)(nil), // 13: protobuf.RevealedAccount - (*CommunityRequestToJoin)(nil), // 14: protobuf.CommunityRequestToJoin - (*CommunityEditSharedAddresses)(nil), // 15: protobuf.CommunityEditSharedAddresses - (*CommunityCancelRequestToJoin)(nil), // 16: protobuf.CommunityCancelRequestToJoin - (*CommunityRequestToJoinResponse)(nil), // 17: protobuf.CommunityRequestToJoinResponse - (*CommunityRequestToLeave)(nil), // 18: protobuf.CommunityRequestToLeave - (*CommunityMessageArchiveMagnetlink)(nil), // 19: protobuf.CommunityMessageArchiveMagnetlink - (*WakuMessage)(nil), // 20: protobuf.WakuMessage - (*WakuMessageArchiveMetadata)(nil), // 21: protobuf.WakuMessageArchiveMetadata - (*WakuMessageArchive)(nil), // 22: protobuf.WakuMessageArchive - (*WakuMessageArchiveIndexMetadata)(nil), // 23: protobuf.WakuMessageArchiveIndexMetadata - (*WakuMessageArchiveIndex)(nil), // 24: protobuf.WakuMessageArchiveIndex - nil, // 25: protobuf.CommunityTokenMetadata.ContractAddressesEntry - nil, // 26: protobuf.TokenCriteria.ContractAddressesEntry - nil, // 27: protobuf.CommunityDescription.MembersEntry - nil, // 28: protobuf.CommunityDescription.ChatsEntry - nil, // 29: protobuf.CommunityDescription.CategoriesEntry - nil, // 30: protobuf.CommunityDescription.TokenPermissionsEntry - nil, // 31: protobuf.CommunityChat.MembersEntry - nil, // 32: protobuf.WakuMessageArchiveIndex.ArchivesEntry - (CommunityTokenType)(0), // 33: protobuf.CommunityTokenType - (*ChatIdentity)(nil), // 34: protobuf.ChatIdentity - (*Shard)(nil), // 35: protobuf.Shard -} -var file_communities_proto_depIdxs = []int32{ - 0, // 0: protobuf.CommunityMember.roles:type_name -> protobuf.CommunityMember.Roles - 13, // 1: protobuf.CommunityMember.revealed_accounts:type_name -> protobuf.RevealedAccount - 25, // 2: protobuf.CommunityTokenMetadata.contract_addresses:type_name -> protobuf.CommunityTokenMetadata.ContractAddressesEntry - 33, // 3: protobuf.CommunityTokenMetadata.tokenType:type_name -> protobuf.CommunityTokenType - 1, // 4: protobuf.CommunityPermissions.access:type_name -> protobuf.CommunityPermissions.Access - 26, // 5: protobuf.TokenCriteria.contract_addresses:type_name -> protobuf.TokenCriteria.ContractAddressesEntry - 33, // 6: protobuf.TokenCriteria.type:type_name -> protobuf.CommunityTokenType - 2, // 7: protobuf.CommunityTokenPermission.type:type_name -> protobuf.CommunityTokenPermission.Type - 7, // 8: protobuf.CommunityTokenPermission.token_criteria:type_name -> protobuf.TokenCriteria - 27, // 9: protobuf.CommunityDescription.members:type_name -> protobuf.CommunityDescription.MembersEntry - 6, // 10: protobuf.CommunityDescription.permissions:type_name -> protobuf.CommunityPermissions - 34, // 11: protobuf.CommunityDescription.identity:type_name -> protobuf.ChatIdentity - 28, // 12: protobuf.CommunityDescription.chats:type_name -> protobuf.CommunityDescription.ChatsEntry - 29, // 13: protobuf.CommunityDescription.categories:type_name -> protobuf.CommunityDescription.CategoriesEntry - 10, // 14: protobuf.CommunityDescription.admin_settings:type_name -> protobuf.CommunityAdminSettings - 30, // 15: protobuf.CommunityDescription.token_permissions:type_name -> protobuf.CommunityDescription.TokenPermissionsEntry - 5, // 16: protobuf.CommunityDescription.community_tokens_metadata:type_name -> protobuf.CommunityTokenMetadata - 31, // 17: protobuf.CommunityChat.members:type_name -> protobuf.CommunityChat.MembersEntry - 6, // 18: protobuf.CommunityChat.permissions:type_name -> protobuf.CommunityPermissions - 34, // 19: protobuf.CommunityChat.identity:type_name -> protobuf.ChatIdentity - 13, // 20: protobuf.CommunityRequestToJoin.revealed_accounts:type_name -> protobuf.RevealedAccount - 13, // 21: protobuf.CommunityEditSharedAddresses.revealed_accounts:type_name -> protobuf.RevealedAccount - 9, // 22: protobuf.CommunityRequestToJoinResponse.community:type_name -> protobuf.CommunityDescription - 35, // 23: protobuf.CommunityRequestToJoinResponse.shard:type_name -> protobuf.Shard - 21, // 24: protobuf.WakuMessageArchive.metadata:type_name -> protobuf.WakuMessageArchiveMetadata - 20, // 25: protobuf.WakuMessageArchive.messages:type_name -> protobuf.WakuMessage - 21, // 26: protobuf.WakuMessageArchiveIndexMetadata.metadata:type_name -> protobuf.WakuMessageArchiveMetadata - 32, // 27: protobuf.WakuMessageArchiveIndex.archives:type_name -> protobuf.WakuMessageArchiveIndex.ArchivesEntry - 4, // 28: protobuf.CommunityDescription.MembersEntry.value:type_name -> protobuf.CommunityMember - 11, // 29: protobuf.CommunityDescription.ChatsEntry.value:type_name -> protobuf.CommunityChat - 12, // 30: protobuf.CommunityDescription.CategoriesEntry.value:type_name -> protobuf.CommunityCategory - 8, // 31: protobuf.CommunityDescription.TokenPermissionsEntry.value:type_name -> protobuf.CommunityTokenPermission - 4, // 32: protobuf.CommunityChat.MembersEntry.value:type_name -> protobuf.CommunityMember - 23, // 33: protobuf.WakuMessageArchiveIndex.ArchivesEntry.value:type_name -> protobuf.WakuMessageArchiveIndexMetadata - 34, // [34:34] is the sub-list for method output_type - 34, // [34:34] is the sub-list for method input_type - 34, // [34:34] is the sub-list for extension type_name - 34, // [34:34] is the sub-list for extension extendee - 0, // [0:34] is the sub-list for field type_name -} - -func init() { file_communities_proto_init() } -func file_communities_proto_init() { - if File_communities_proto != nil { - return - } - file_chat_identity_proto_init() - file_enums_proto_init() - file_shard_proto_init() - if !protoimpl.UnsafeEnabled { - file_communities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Grant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityMember); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityTokenMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityPermissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenCriteria); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityTokenPermission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityAdminSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityChat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityCategory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RevealedAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityRequestToJoin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityEditSharedAddresses); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityCancelRequestToJoin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityRequestToJoinResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityRequestToLeave); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityMessageArchiveMagnetlink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WakuMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WakuMessageArchiveMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WakuMessageArchive); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WakuMessageArchiveIndexMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_communities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WakuMessageArchiveIndex); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_communities_proto_rawDesc, - NumEnums: 3, - NumMessages: 30, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_communities_proto_goTypes, - DependencyIndexes: file_communities_proto_depIdxs, - EnumInfos: file_communities_proto_enumTypes, - MessageInfos: file_communities_proto_msgTypes, - }.Build() - File_communities_proto = out.File - file_communities_proto_rawDesc = nil - file_communities_proto_goTypes = nil - file_communities_proto_depIdxs = nil +var fileDescriptor_f937943d74c1cd8b = []byte{ + // 2130 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x73, 0x23, 0x47, + 0x15, 0xcf, 0x68, 0x24, 0x59, 0x7a, 0x92, 0x6c, 0xb9, 0xb3, 0x6b, 0xcf, 0x7a, 0x37, 0x59, 0xed, + 0x40, 0x0a, 0x67, 0x29, 0xb4, 0x89, 0x81, 0x62, 0x2b, 0x21, 0x7f, 0xb4, 0xb2, 0x58, 0x94, 0xb5, + 0x46, 0xa6, 0x2d, 0x67, 0x49, 0x0a, 0x98, 0x6a, 0xcf, 0xb4, 0xed, 0xae, 0x95, 0x66, 0xc4, 0x74, + 0xcb, 0x85, 0x38, 0x70, 0x00, 0x4e, 0x1c, 0xe1, 0x03, 0x70, 0xe0, 0x0e, 0x1f, 0x81, 0x03, 0x55, + 0x1c, 0x73, 0xe7, 0x03, 0x70, 0xe7, 0x23, 0x50, 0xdd, 0x3d, 0x33, 0x9a, 0x91, 0xe4, 0xf5, 0x86, + 0x40, 0x15, 0x27, 0xcd, 0x7b, 0xfd, 0xfa, 0xf5, 0xeb, 0xf7, 0x7e, 0xfd, 0xfa, 0xd7, 0x82, 0x6d, + 0x2f, 0x9c, 0x4c, 0x66, 0x01, 0x13, 0x8c, 0xf2, 0xf6, 0x34, 0x0a, 0x45, 0x88, 0x2a, 0xea, 0xe7, + 0x6c, 0x76, 0xbe, 0xf7, 0xba, 0x77, 0x49, 0x84, 0xcb, 0x7c, 0x1a, 0x08, 0x26, 0xe6, 0x7a, 0x78, + 0xaf, 0x46, 0x83, 0xd9, 0x84, 0x27, 0x02, 0xbf, 0x24, 0x91, 0xaf, 0x05, 0xfb, 0x0a, 0x4a, 0x4f, + 0x23, 0x12, 0x08, 0xf4, 0x00, 0xea, 0x89, 0xdb, 0xb9, 0xcb, 0x7c, 0xcb, 0x68, 0x19, 0xfb, 0x75, + 0x5c, 0x4b, 0x75, 0x7d, 0x1f, 0xdd, 0x85, 0xea, 0x84, 0x4e, 0xce, 0x68, 0x24, 0xc7, 0x0b, 0x6a, + 0xbc, 0xa2, 0x15, 0x7d, 0x1f, 0xed, 0xc2, 0x46, 0xbc, 0xb2, 0x65, 0xb6, 0x8c, 0xfd, 0x2a, 0x2e, + 0x4b, 0xb1, 0xef, 0xa3, 0x5b, 0x50, 0xf2, 0xc6, 0xa1, 0xf7, 0xc2, 0x2a, 0xb6, 0x8c, 0xfd, 0x22, + 0xd6, 0x82, 0xfd, 0xf7, 0x02, 0x6c, 0x75, 0x13, 0xdf, 0x03, 0xe5, 0x04, 0x7d, 0x17, 0x4a, 0x51, + 0x38, 0xa6, 0xdc, 0x32, 0x5a, 0xe6, 0xfe, 0xe6, 0xc1, 0xfd, 0x76, 0xb2, 0xa9, 0xf6, 0x92, 0x65, + 0x1b, 0x4b, 0x33, 0xac, 0xad, 0xd1, 0x27, 0xb0, 0x1d, 0xd1, 0x2b, 0x4a, 0xc6, 0xd4, 0x77, 0x89, + 0xe7, 0x85, 0xb3, 0x40, 0x70, 0xab, 0xd0, 0x32, 0xf7, 0x6b, 0x07, 0x77, 0x16, 0x2e, 0x70, 0x6c, + 0xd2, 0xd1, 0x16, 0x4f, 0x0a, 0x96, 0x81, 0x9b, 0x51, 0x5e, 0xc9, 0xd1, 0x43, 0xd8, 0x1e, 0x13, + 0x2e, 0xdc, 0xd9, 0xd4, 0x27, 0x82, 0xba, 0x3a, 0x70, 0x53, 0x05, 0xbe, 0x25, 0x07, 0x4e, 0x95, + 0xbe, 0xab, 0xb6, 0xf0, 0x1b, 0x03, 0x4a, 0x2a, 0x10, 0xd4, 0x80, 0x2a, 0x1e, 0x1e, 0xf5, 0x5c, + 0x67, 0xe8, 0xf4, 0x9a, 0xaf, 0xa1, 0x4d, 0x00, 0x25, 0x0e, 0x9f, 0x3b, 0x3d, 0xdc, 0x34, 0x52, + 0xb9, 0x73, 0x38, 0xe8, 0x3b, 0xcd, 0x22, 0xba, 0x0d, 0xdb, 0x4a, 0x1e, 0x0d, 0x9f, 0xf5, 0x1c, + 0x77, 0xd0, 0x39, 0x19, 0xf5, 0x70, 0xb3, 0x64, 0x17, 0x2b, 0x85, 0x66, 0xc1, 0x2e, 0x56, 0xcc, + 0xa6, 0xf9, 0x50, 0x1b, 0x0c, 0x3a, 0x4e, 0xe7, 0x69, 0xcf, 0x3d, 0x3d, 0xe9, 0xe1, 0x93, 0x87, + 0xb7, 0xb5, 0x6a, 0x78, 0xd8, 0xc3, 0x9d, 0x51, 0xcf, 0xed, 0x0e, 0x9d, 0x51, 0xcf, 0x19, 0xd9, + 0xbf, 0x36, 0x61, 0x27, 0x4d, 0xcf, 0x28, 0x7c, 0x41, 0x83, 0x01, 0x15, 0xc4, 0x27, 0x82, 0xa0, + 0x73, 0x40, 0x5e, 0x18, 0x88, 0x88, 0x78, 0xc2, 0x25, 0xbe, 0x1f, 0x51, 0xce, 0xe3, 0xe4, 0xd6, + 0x0e, 0xbe, 0xb7, 0x26, 0xb9, 0xb9, 0xd9, 0xed, 0x6e, 0x3c, 0xb5, 0x93, 0xcc, 0xec, 0x05, 0x22, + 0x9a, 0xe3, 0x6d, 0x6f, 0x59, 0x8f, 0x5a, 0x50, 0xf3, 0x29, 0xf7, 0x22, 0x36, 0x15, 0x2c, 0x0c, + 0x14, 0x32, 0xaa, 0x38, 0xab, 0x92, 0x18, 0x60, 0x13, 0x72, 0x41, 0x63, 0x68, 0x68, 0x01, 0xbd, + 0x07, 0x55, 0x21, 0x97, 0x1c, 0xcd, 0xa7, 0x54, 0xa1, 0x63, 0xf3, 0xe0, 0xde, 0x75, 0x61, 0x49, + 0x1b, 0xbc, 0x30, 0x47, 0x3b, 0x50, 0xe6, 0xf3, 0xc9, 0x59, 0x38, 0xb6, 0x4a, 0x1a, 0x6d, 0x5a, + 0x42, 0x08, 0x8a, 0x01, 0x99, 0x50, 0xab, 0xac, 0xb4, 0xea, 0x1b, 0xed, 0x41, 0xc5, 0xa7, 0x1e, + 0x9b, 0x90, 0x31, 0xb7, 0x36, 0x5a, 0xc6, 0x7e, 0x03, 0xa7, 0xf2, 0xde, 0xa1, 0xcc, 0xde, 0xba, + 0x8d, 0xa2, 0x26, 0x98, 0x2f, 0xe8, 0x5c, 0x9d, 0x83, 0x22, 0x96, 0x9f, 0x72, 0x17, 0x57, 0x64, + 0x3c, 0xa3, 0xf1, 0x0e, 0xb5, 0xf0, 0x5e, 0xe1, 0xb1, 0x61, 0xff, 0xd3, 0x80, 0x5b, 0x69, 0xbc, + 0xc7, 0x34, 0x9a, 0x30, 0xce, 0x59, 0x18, 0x70, 0x74, 0x07, 0x2a, 0x34, 0xe0, 0x6e, 0x18, 0x8c, + 0xb5, 0xa7, 0x0a, 0xde, 0xa0, 0x01, 0x1f, 0x06, 0xe3, 0x39, 0xb2, 0x60, 0x63, 0x1a, 0xb1, 0x2b, + 0x22, 0xb4, 0xbf, 0x0a, 0x4e, 0x44, 0xf4, 0x01, 0x94, 0x89, 0xe7, 0x51, 0xce, 0x55, 0xba, 0x36, + 0x0f, 0xde, 0x5a, 0x93, 0x94, 0xcc, 0x22, 0xed, 0x8e, 0x32, 0xc6, 0xf1, 0x24, 0xfb, 0x33, 0x28, + 0x6b, 0x0d, 0x42, 0xb0, 0x79, 0xea, 0x3c, 0x73, 0x86, 0xcf, 0x1d, 0xb7, 0xd3, 0xed, 0xf6, 0x4e, + 0x4e, 0x9a, 0xaf, 0xa1, 0x2d, 0xa8, 0x75, 0x4e, 0x47, 0x43, 0xa5, 0x38, 0x1e, 0x35, 0x0d, 0xb4, + 0x0b, 0x5b, 0x7d, 0xe7, 0xd3, 0xfe, 0xa8, 0x33, 0xea, 0x0f, 0x1d, 0x77, 0xe8, 0x1c, 0x7d, 0xd6, + 0x2c, 0xec, 0x15, 0x2a, 0x06, 0xda, 0x86, 0xc6, 0xa0, 0xe3, 0x9c, 0x76, 0x8e, 0x12, 0x5b, 0xd3, + 0xfe, 0xad, 0x09, 0x0d, 0x55, 0x8e, 0x6e, 0xc4, 0x04, 0x8d, 0x18, 0x41, 0x3f, 0x7d, 0x09, 0xc6, + 0xda, 0x8b, 0xb8, 0x73, 0x93, 0xbe, 0x04, 0xb4, 0xde, 0x81, 0xa2, 0x90, 0xe8, 0x28, 0xbc, 0x02, + 0x3a, 0x94, 0x65, 0x06, 0x18, 0xe6, 0x5a, 0x60, 0x14, 0x33, 0xc0, 0xd8, 0x81, 0x32, 0x99, 0xc8, + 0x83, 0x9f, 0x80, 0x48, 0x4b, 0xb2, 0xd1, 0x29, 0xa4, 0xb9, 0xcc, 0xe7, 0x56, 0xb9, 0x65, 0xee, + 0x17, 0x71, 0x45, 0x29, 0xfa, 0x3e, 0x47, 0xf7, 0xa1, 0x26, 0x4b, 0x3a, 0x25, 0x42, 0xd0, 0x28, + 0x50, 0x80, 0xaa, 0x62, 0xa0, 0x01, 0x3f, 0xd6, 0x9a, 0x1c, 0xdc, 0x2a, 0x0a, 0x3d, 0xff, 0x6d, + 0xb8, 0xfd, 0xc1, 0x04, 0x2b, 0x9f, 0x80, 0x05, 0x1c, 0xd0, 0x26, 0x14, 0xe2, 0xf6, 0x5d, 0xc5, + 0x05, 0xe6, 0xa3, 0xf7, 0x73, 0x29, 0xfc, 0xc6, 0x75, 0x29, 0x5c, 0x78, 0x68, 0x67, 0xb2, 0xf9, + 0x21, 0x6c, 0xea, 0x4c, 0x78, 0x71, 0xed, 0x2c, 0x53, 0x95, 0x76, 0xf7, 0x9a, 0xd2, 0xe2, 0x86, + 0xc8, 0xc1, 0xe3, 0x0e, 0x54, 0xe2, 0x5b, 0x81, 0x5b, 0xc5, 0x96, 0xb9, 0x5f, 0xc5, 0x1b, 0xfa, + 0x5a, 0xe0, 0xe8, 0x0d, 0x00, 0xc6, 0xdd, 0xe4, 0x08, 0x94, 0xd4, 0x11, 0xa8, 0x32, 0x7e, 0xac, + 0x15, 0xf6, 0x5f, 0x0c, 0x28, 0xaa, 0x93, 0x7e, 0x0f, 0xac, 0x04, 0xc4, 0xba, 0x61, 0x1e, 0xf7, + 0xf0, 0xa0, 0x7f, 0x72, 0xd2, 0x1f, 0x3a, 0xcd, 0xd7, 0x50, 0x13, 0xea, 0x4f, 0x7a, 0xdd, 0xe1, + 0x20, 0xe9, 0xae, 0x0a, 0xb6, 0xb1, 0x66, 0xd0, 0x1b, 0x3c, 0xe9, 0xe1, 0x66, 0x01, 0xdd, 0x82, + 0x66, 0xb7, 0xe3, 0xb8, 0x9f, 0xf6, 0x7b, 0xcf, 0xdd, 0xee, 0x0f, 0x3b, 0x8e, 0xd3, 0x3b, 0x6a, + 0x9a, 0xe8, 0x0d, 0xb8, 0x93, 0x6a, 0x3b, 0xce, 0xa1, 0x7b, 0x3c, 0x3c, 0x19, 0xa5, 0xc3, 0x45, + 0xb4, 0x0b, 0xaf, 0xc7, 0x7e, 0xf2, 0x7d, 0x1a, 0xed, 0x00, 0xca, 0x0d, 0xe8, 0x36, 0x5f, 0xb6, + 0x7f, 0x07, 0x99, 0x26, 0x70, 0x98, 0xef, 0x7e, 0xfa, 0x22, 0x31, 0x32, 0x37, 0x20, 0xea, 0xc1, + 0x86, 0xbe, 0x3c, 0x93, 0xcb, 0xea, 0x9b, 0x6b, 0x4a, 0x93, 0x71, 0xd3, 0xd6, 0x77, 0x5f, 0x7c, + 0x56, 0x92, 0xb9, 0xe8, 0x63, 0xa8, 0x4d, 0x17, 0xbd, 0x40, 0x81, 0xbe, 0x76, 0xf0, 0xe6, 0xcb, + 0x3b, 0x06, 0xce, 0x4e, 0x41, 0x07, 0x50, 0x49, 0xe8, 0x82, 0x2a, 0x43, 0xed, 0x60, 0x27, 0x33, + 0x5d, 0x55, 0x4b, 0x8f, 0xe2, 0xd4, 0x0e, 0x7d, 0x04, 0x25, 0x59, 0x47, 0x7d, 0x3a, 0x6a, 0x07, + 0x6f, 0xdf, 0x10, 0xba, 0xf4, 0x12, 0x07, 0xae, 0xe7, 0x49, 0x60, 0x9c, 0x91, 0xc0, 0x1d, 0x33, + 0x2e, 0xac, 0x0d, 0x0d, 0x8c, 0x33, 0x12, 0x1c, 0x31, 0x2e, 0x90, 0x03, 0xe0, 0x11, 0x41, 0x2f, + 0xc2, 0x88, 0x51, 0x79, 0x82, 0x96, 0x5a, 0xc9, 0xfa, 0x05, 0xd2, 0x09, 0x7a, 0x95, 0x8c, 0x07, + 0xf4, 0x18, 0x2c, 0x12, 0x79, 0x97, 0xec, 0x8a, 0xba, 0x13, 0x72, 0x11, 0x50, 0x31, 0x66, 0xc1, + 0x8b, 0xf8, 0x6a, 0xaf, 0xaa, 0x8a, 0xec, 0xc4, 0xe3, 0x83, 0x74, 0x58, 0xdd, 0xf0, 0xe8, 0x29, + 0x6c, 0x12, 0x7f, 0xc2, 0x02, 0x97, 0x53, 0x21, 0x58, 0x70, 0xc1, 0x2d, 0x50, 0xf9, 0x69, 0xad, + 0x89, 0xa6, 0x23, 0x0d, 0x4f, 0x62, 0x3b, 0xdc, 0x20, 0x59, 0x11, 0x7d, 0x0d, 0x1a, 0x2c, 0x10, + 0x51, 0xe8, 0x4e, 0x28, 0xe7, 0xf2, 0x1e, 0xac, 0xa9, 0xe3, 0x59, 0x57, 0xca, 0x81, 0xd6, 0x49, + 0xa3, 0x70, 0x96, 0x35, 0xaa, 0x6b, 0x23, 0xa5, 0x4c, 0x8c, 0x5a, 0x50, 0xa5, 0x81, 0x17, 0xcd, + 0xa7, 0x82, 0xfa, 0x56, 0x43, 0x1e, 0x1a, 0xc5, 0x64, 0x16, 0x4a, 0xd9, 0xe8, 0x04, 0xb9, 0xe0, + 0xd6, 0xa6, 0xca, 0xaa, 0xfa, 0x46, 0x04, 0xb6, 0xf5, 0x31, 0xce, 0x42, 0x65, 0x4b, 0x65, 0xf6, + 0x3b, 0x37, 0x64, 0x76, 0xa9, 0x39, 0xc4, 0xf9, 0x6d, 0x8a, 0x25, 0x35, 0xfa, 0x09, 0xdc, 0x59, + 0xf0, 0x47, 0x35, 0xca, 0xdd, 0x49, 0xcc, 0x25, 0xac, 0xa6, 0x5a, 0xaa, 0x75, 0x13, 0xe7, 0xc0, + 0xbb, 0x5e, 0x4e, 0xcf, 0x53, 0x2a, 0xf3, 0x0e, 0xdc, 0x22, 0x9e, 0x50, 0x25, 0xd4, 0xb8, 0x77, + 0x15, 0x61, 0xb3, 0xb6, 0x55, 0xfd, 0x90, 0x1e, 0x8b, 0x0f, 0x48, 0x57, 0xf5, 0xf0, 0x4d, 0x28, + 0xf4, 0x0f, 0x2d, 0xa4, 0xdb, 0x60, 0xff, 0x70, 0xef, 0x14, 0xea, 0xd9, 0x03, 0x94, 0xed, 0xb7, + 0x55, 0xdd, 0x6f, 0x1f, 0x65, 0xfb, 0x6d, 0x8e, 0x3b, 0x2e, 0xd1, 0xcf, 0x4c, 0x2b, 0xde, 0xfb, + 0x11, 0xc0, 0x02, 0xdc, 0x6b, 0x9c, 0x7e, 0x2b, 0xef, 0x74, 0x77, 0x8d, 0x53, 0x39, 0x3f, 0xeb, + 0xf2, 0x73, 0xd8, 0x5a, 0x82, 0xf3, 0x1a, 0xbf, 0xef, 0xe6, 0xfd, 0xde, 0x5d, 0xe7, 0x57, 0x3b, + 0x99, 0x67, 0x7d, 0x5f, 0xc0, 0xed, 0xb5, 0x05, 0x5d, 0xb3, 0xc2, 0xe3, 0xfc, 0x0a, 0xf6, 0xcd, + 0x17, 0x47, 0xf6, 0x8a, 0xfa, 0x59, 0x86, 0x95, 0xe6, 0x8e, 0x06, 0x3a, 0x84, 0xfb, 0x53, 0x16, + 0x24, 0x20, 0x77, 0xc9, 0x78, 0x9c, 0xd6, 0x94, 0x06, 0xe4, 0x6c, 0x4c, 0xfd, 0x98, 0x29, 0xdd, + 0x9d, 0xb2, 0x20, 0x86, 0x7d, 0x67, 0x3c, 0x4e, 0x8b, 0xa7, 0x4c, 0xec, 0x7f, 0x14, 0xa0, 0x91, + 0xcb, 0x20, 0xfa, 0x70, 0xd1, 0x4f, 0x35, 0xfd, 0xf8, 0xfa, 0x35, 0xb9, 0x7e, 0xb5, 0x46, 0x5a, + 0xf8, 0x6a, 0x8d, 0xd4, 0x7c, 0xc5, 0x46, 0x7a, 0x1f, 0x6a, 0x71, 0xab, 0x52, 0xaf, 0x2e, 0xcd, + 0x4e, 0x92, 0xee, 0x25, 0x1f, 0x5d, 0x7b, 0x50, 0x99, 0x86, 0x9c, 0x29, 0x66, 0x2d, 0xbb, 0x73, + 0x09, 0xa7, 0xf2, 0xff, 0x08, 0xd3, 0xb6, 0x0f, 0xdb, 0x2b, 0x20, 0x5a, 0x0e, 0xd4, 0x58, 0x09, + 0x34, 0x21, 0x58, 0x85, 0x3c, 0xf3, 0x4e, 0x83, 0x37, 0xf3, 0xc1, 0xdb, 0xbf, 0x37, 0x60, 0x6b, + 0xe9, 0x51, 0x26, 0x39, 0x71, 0x4c, 0x22, 0xe3, 0x05, 0x12, 0x11, 0xdd, 0x83, 0x2a, 0x67, 0x17, + 0x01, 0x11, 0xb3, 0x88, 0xc6, 0x6f, 0xcf, 0x85, 0x42, 0x12, 0x36, 0xef, 0x92, 0x30, 0x4d, 0xd8, + 0x4c, 0x4d, 0xd8, 0x94, 0x42, 0x12, 0x8d, 0x87, 0xd0, 0x64, 0xbc, 0xc3, 0x22, 0x3f, 0x0a, 0xa7, + 0x31, 0xe9, 0x52, 0x79, 0xae, 0xe0, 0x15, 0xbd, 0xfd, 0x2f, 0x23, 0x83, 0x5b, 0x4c, 0x7f, 0x3e, + 0xa3, 0x5c, 0x8c, 0xc2, 0x4f, 0x42, 0x76, 0xdd, 0x2d, 0x1e, 0x13, 0xfc, 0xcc, 0xce, 0x25, 0xc1, + 0x77, 0xe4, 0xe6, 0xaf, 0x7d, 0x11, 0x2f, 0x3f, 0xb5, 0x8b, 0xab, 0x4f, 0xed, 0x07, 0x50, 0xf7, + 0x19, 0x9f, 0x8e, 0xc9, 0x5c, 0xbb, 0x2e, 0xc5, 0x6f, 0x2a, 0xad, 0x53, 0xee, 0x7f, 0xb0, 0xee, + 0xd9, 0x5b, 0xbe, 0xe1, 0xd9, 0xbb, 0xfa, 0xe4, 0xb5, 0xff, 0x68, 0xc0, 0xbd, 0x74, 0xcb, 0x3d, + 0x9f, 0x89, 0x93, 0x4b, 0x12, 0x51, 0x7f, 0xc1, 0xc1, 0xd7, 0x6f, 0x7c, 0x79, 0x13, 0x85, 0xd5, + 0x4d, 0xac, 0x8d, 0xd0, 0xfc, 0xf2, 0x11, 0xfe, 0x39, 0x1b, 0x61, 0x97, 0x04, 0x1e, 0x1d, 0xff, + 0x5f, 0x97, 0xc6, 0xfe, 0xa2, 0x00, 0x6f, 0xae, 0x47, 0x11, 0xa6, 0x7c, 0x1a, 0x06, 0x9c, 0x5e, + 0x13, 0xf2, 0xf7, 0xa1, 0x9a, 0x2e, 0xf5, 0x92, 0x0e, 0x94, 0xb9, 0x9f, 0xf1, 0x62, 0x82, 0x3c, + 0x6d, 0xf2, 0x09, 0xa8, 0xa8, 0x81, 0xa9, 0x00, 0x9e, 0xca, 0x72, 0xbd, 0x8b, 0x88, 0x04, 0x22, + 0xde, 0x91, 0x16, 0x56, 0xb6, 0x5b, 0x5a, 0xdd, 0xee, 0x1b, 0x00, 0x9a, 0x35, 0xb9, 0xb3, 0x88, + 0xc5, 0xcf, 0xea, 0xaa, 0xd6, 0x9c, 0x46, 0x0c, 0x7d, 0x00, 0x77, 0x65, 0x7c, 0xd4, 0x13, 0xd4, + 0x77, 0x45, 0x38, 0x65, 0x5e, 0x42, 0xe9, 0x5d, 0xd9, 0x8a, 0x36, 0x94, 0x43, 0x2b, 0x35, 0x19, + 0x49, 0x8b, 0x98, 0xe2, 0x3f, 0xa3, 0x73, 0xf4, 0x16, 0x94, 0xd4, 0xbf, 0x51, 0xea, 0xa1, 0x54, + 0x3b, 0xd8, 0x5a, 0x6c, 0x56, 0xa2, 0xd0, 0xc7, 0x7a, 0xd4, 0xc6, 0xb0, 0xbb, 0x9a, 0xcf, 0x23, + 0x4a, 0xae, 0xe8, 0x7f, 0x8c, 0x4e, 0xfb, 0xc7, 0xf0, 0x20, 0xd3, 0x03, 0xf5, 0x35, 0xb3, 0x4c, + 0x03, 0xaf, 0xf1, 0x9e, 0xcf, 0x49, 0x61, 0x29, 0x27, 0xf6, 0x5f, 0x0d, 0xa8, 0x3d, 0x27, 0x2f, + 0x66, 0x09, 0x67, 0x6b, 0x82, 0xc9, 0xd9, 0x45, 0xfc, 0x8f, 0x9a, 0xfc, 0x94, 0xdd, 0x4c, 0xb0, + 0x09, 0xe5, 0x82, 0x4c, 0xa6, 0x6a, 0x7e, 0x11, 0x2f, 0x14, 0x72, 0x51, 0x95, 0x49, 0x55, 0xc4, + 0x3a, 0xd6, 0x82, 0xfa, 0xbf, 0x80, 0xcc, 0xc7, 0x21, 0x49, 0x50, 0x99, 0x88, 0x7a, 0xc4, 0xf7, + 0x59, 0x70, 0x11, 0x17, 0x30, 0x11, 0x65, 0x4f, 0xbe, 0x24, 0xfc, 0x52, 0x95, 0xad, 0x8e, 0xd5, + 0x37, 0xb2, 0xa1, 0x2e, 0x2e, 0x59, 0xe4, 0x1f, 0x93, 0x48, 0xe6, 0x21, 0x7e, 0xc0, 0xe6, 0x74, + 0xf6, 0xaf, 0x60, 0x2f, 0xb3, 0x81, 0x24, 0x2d, 0x09, 0x19, 0xb3, 0x60, 0xe3, 0x8a, 0x46, 0xf2, + 0xce, 0x53, 0x7b, 0x6a, 0xe0, 0x44, 0x94, 0xeb, 0x9d, 0x47, 0xe1, 0x24, 0xde, 0x92, 0xfa, 0x96, + 0x44, 0x4c, 0x84, 0xf1, 0x7f, 0x68, 0x05, 0x11, 0xca, 0xf5, 0xe5, 0x3b, 0x9f, 0x06, 0x42, 0x81, + 0x41, 0x3d, 0x0b, 0xeb, 0x38, 0xa7, 0xb3, 0xff, 0x64, 0x00, 0x5a, 0x0d, 0xe0, 0x25, 0x0b, 0x7f, + 0x0c, 0x95, 0x94, 0x6c, 0xea, 0x73, 0x93, 0xb9, 0xfd, 0xaf, 0xdf, 0x0a, 0x4e, 0x67, 0xa1, 0x77, + 0xa5, 0x07, 0x65, 0x93, 0xf4, 0xa8, 0xdb, 0x6b, 0x3d, 0xe0, 0xd4, 0xcc, 0xfe, 0x9b, 0x01, 0xf7, + 0x57, 0x7d, 0xf7, 0x03, 0x9f, 0xfe, 0xe2, 0x15, 0x72, 0xf5, 0xd5, 0x43, 0xde, 0x81, 0x72, 0x78, + 0x7e, 0xce, 0xa9, 0x88, 0xb3, 0x1b, 0x4b, 0xb2, 0x0a, 0x9c, 0xfd, 0x92, 0xc6, 0x7f, 0xb8, 0xaa, + 0xef, 0x65, 0x8c, 0x14, 0x53, 0x8c, 0xd8, 0x5f, 0x18, 0xb0, 0x7b, 0xcd, 0x2e, 0xd0, 0x33, 0xa8, + 0xc4, 0x4f, 0xa3, 0x84, 0x54, 0x3d, 0x7a, 0x59, 0x8c, 0x6a, 0x52, 0x3b, 0x16, 0x62, 0x7e, 0x95, + 0x3a, 0xd8, 0x3b, 0x87, 0x46, 0x6e, 0x68, 0x0d, 0x5d, 0xf9, 0x28, 0x4f, 0x57, 0xde, 0xbe, 0x71, + 0xb1, 0x34, 0x2b, 0x0b, 0xfa, 0xf2, 0xa4, 0xf1, 0x79, 0xad, 0xfd, 0xe8, 0xfd, 0x64, 0xe6, 0x59, + 0x59, 0x7d, 0x7d, 0xfb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xcb, 0x13, 0x4d, 0x36, 0x17, + 0x00, 0x00, } diff --git a/protocol/protobuf/community_privileged_user_sync_message.pb.go b/protocol/protobuf/community_privileged_user_sync_message.pb.go index c1b24be1f..f8cd1119a 100644 --- a/protocol/protobuf/community_privileged_user_sync_message.pb.go +++ b/protocol/protobuf/community_privileged_user_sync_message.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: community_privileged_user_sync_message.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CommunityPrivilegedUserSyncMessage_EventType int32 @@ -29,250 +29,135 @@ const ( CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 3 ) -// Enum value maps for CommunityPrivilegedUserSyncMessage_EventType. -var ( - CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN", - 2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN", - 3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN", - } - CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{ - "UNKNOWN": 0, - "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1, - "CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2, - "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3, - } -) +var CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN", + 2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN", + 3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN", +} -func (x CommunityPrivilegedUserSyncMessage_EventType) Enum() *CommunityPrivilegedUserSyncMessage_EventType { - p := new(CommunityPrivilegedUserSyncMessage_EventType) - *p = x - return p +var CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{ + "UNKNOWN": 0, + "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1, + "CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2, + "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3, } func (x CommunityPrivilegedUserSyncMessage_EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityPrivilegedUserSyncMessage_EventType_name, int32(x)) } -func (CommunityPrivilegedUserSyncMessage_EventType) Descriptor() protoreflect.EnumDescriptor { - return file_community_privileged_user_sync_message_proto_enumTypes[0].Descriptor() -} - -func (CommunityPrivilegedUserSyncMessage_EventType) Type() protoreflect.EnumType { - return &file_community_privileged_user_sync_message_proto_enumTypes[0] -} - -func (x CommunityPrivilegedUserSyncMessage_EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityPrivilegedUserSyncMessage_EventType.Descriptor instead. func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) { - return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_158595055b4cfee2, []int{0, 0} } type CommunityPrivilegedUserSyncMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"` - CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"` + CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityPrivilegedUserSyncMessage) Reset() { - *x = CommunityPrivilegedUserSyncMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_community_privileged_user_sync_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityPrivilegedUserSyncMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {} - -func (x *CommunityPrivilegedUserSyncMessage) ProtoReflect() protoreflect.Message { - mi := &file_community_privileged_user_sync_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityPrivilegedUserSyncMessage.ProtoReflect.Descriptor instead. +func (m *CommunityPrivilegedUserSyncMessage) Reset() { *m = CommunityPrivilegedUserSyncMessage{} } +func (m *CommunityPrivilegedUserSyncMessage) String() string { return proto.CompactTextString(m) } +func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {} func (*CommunityPrivilegedUserSyncMessage) Descriptor() ([]byte, []int) { - return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_158595055b4cfee2, []int{0} } -func (x *CommunityPrivilegedUserSyncMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityPrivilegedUserSyncMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Unmarshal(m, b) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Marshal(b, m, deterministic) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Merge(m, src) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_Size() int { + return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Size(m) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPrivilegedUserSyncMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityPrivilegedUserSyncMessage proto.InternalMessageInfo + +func (m *CommunityPrivilegedUserSyncMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType { - if x != nil { - return x.Type +func (m *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType { + if m != nil { + return m.Type } return CommunityPrivilegedUserSyncMessage_UNKNOWN } -func (x *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin { - if x != nil { - return x.RequestToJoin +func (m *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin { + if m != nil { + return m.RequestToJoin } return nil } -func (x *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin { - if x != nil { - return x.SyncRequestsToJoin +func (m *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin { + if m != nil { + return m.SyncRequestsToJoin } return nil } -var File_community_privileged_user_sync_message_proto protoreflect.FileDescriptor - -var file_community_privileged_user_sync_message_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x76, - 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x79, 0x6e, 0x63, - 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x70, 0x61, 0x69, - 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x04, 0x0a, 0x22, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, - 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, - 0x65, 0x67, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x67, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, - 0x58, 0x0a, 0x15, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, - 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x12, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x1a, 0x62, 0x0a, 0x12, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, - 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x01, - 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54, - 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, - 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, - 0x01, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, - 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, - 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x53, - 0x59, 0x4e, 0x43, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x53, 0x5f, 0x54, 0x4f, 0x5f, - 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x03, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.CommunityPrivilegedUserSyncMessage_EventType", CommunityPrivilegedUserSyncMessage_EventType_name, CommunityPrivilegedUserSyncMessage_EventType_value) + proto.RegisterType((*CommunityPrivilegedUserSyncMessage)(nil), "protobuf.CommunityPrivilegedUserSyncMessage") + proto.RegisterMapType((map[string]*CommunityRequestToJoin)(nil), "protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry") } -var ( - file_community_privileged_user_sync_message_proto_rawDescOnce sync.Once - file_community_privileged_user_sync_message_proto_rawDescData = file_community_privileged_user_sync_message_proto_rawDesc -) - -func file_community_privileged_user_sync_message_proto_rawDescGZIP() []byte { - file_community_privileged_user_sync_message_proto_rawDescOnce.Do(func() { - file_community_privileged_user_sync_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_privileged_user_sync_message_proto_rawDescData) - }) - return file_community_privileged_user_sync_message_proto_rawDescData +func init() { + proto.RegisterFile("community_privileged_user_sync_message.proto", fileDescriptor_158595055b4cfee2) } -var file_community_privileged_user_sync_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_community_privileged_user_sync_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_community_privileged_user_sync_message_proto_goTypes = []interface{}{ - (CommunityPrivilegedUserSyncMessage_EventType)(0), // 0: protobuf.CommunityPrivilegedUserSyncMessage.EventType - (*CommunityPrivilegedUserSyncMessage)(nil), // 1: protobuf.CommunityPrivilegedUserSyncMessage - nil, // 2: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry - (*SyncCommunityRequestsToJoin)(nil), // 3: protobuf.SyncCommunityRequestsToJoin - (*CommunityRequestToJoin)(nil), // 4: protobuf.CommunityRequestToJoin -} -var file_community_privileged_user_sync_message_proto_depIdxs = []int32{ - 0, // 0: protobuf.CommunityPrivilegedUserSyncMessage.type:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.EventType - 2, // 1: protobuf.CommunityPrivilegedUserSyncMessage.request_to_join:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry - 3, // 2: protobuf.CommunityPrivilegedUserSyncMessage.sync_requests_to_join:type_name -> protobuf.SyncCommunityRequestsToJoin - 4, // 3: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_community_privileged_user_sync_message_proto_init() } -func file_community_privileged_user_sync_message_proto_init() { - if File_community_privileged_user_sync_message_proto != nil { - return - } - file_communities_proto_init() - file_pairing_proto_init() - if !protoimpl.UnsafeEnabled { - file_community_privileged_user_sync_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityPrivilegedUserSyncMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_community_privileged_user_sync_message_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_community_privileged_user_sync_message_proto_goTypes, - DependencyIndexes: file_community_privileged_user_sync_message_proto_depIdxs, - EnumInfos: file_community_privileged_user_sync_message_proto_enumTypes, - MessageInfos: file_community_privileged_user_sync_message_proto_msgTypes, - }.Build() - File_community_privileged_user_sync_message_proto = out.File - file_community_privileged_user_sync_message_proto_rawDesc = nil - file_community_privileged_user_sync_message_proto_goTypes = nil - file_community_privileged_user_sync_message_proto_depIdxs = nil +var fileDescriptor_158595055b4cfee2 = []byte{ + // 407 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x5f, 0xab, 0xd3, 0x30, + 0x18, 0xc6, 0xed, 0xda, 0xa9, 0x27, 0x3d, 0xd3, 0x19, 0x14, 0xca, 0xae, 0xea, 0x44, 0x2d, 0x22, + 0x15, 0x26, 0x1c, 0x44, 0x2f, 0x44, 0x6b, 0x2e, 0x4e, 0x9d, 0xed, 0x31, 0xed, 0xf0, 0xcf, 0x4d, + 0xd8, 0xba, 0x58, 0xe2, 0xb6, 0xa4, 0x26, 0xed, 0xa0, 0x5f, 0xc4, 0xef, 0xe8, 0xb7, 0x90, 0x35, + 0x6b, 0xe7, 0x98, 0x20, 0x5e, 0xf5, 0x7d, 0x9f, 0x3e, 0xf9, 0x3d, 0xbc, 0x0f, 0x78, 0x9a, 0x89, + 0xcd, 0xa6, 0xe2, 0xac, 0xac, 0x49, 0x21, 0xd9, 0x96, 0xad, 0x69, 0x4e, 0x97, 0xa4, 0x52, 0x54, + 0x12, 0x55, 0xf3, 0x8c, 0x6c, 0xa8, 0x52, 0xf3, 0x9c, 0xfa, 0x85, 0x14, 0xa5, 0x80, 0x37, 0x9b, + 0xcf, 0xa2, 0xfa, 0x36, 0xba, 0xd3, 0xbe, 0x63, 0x54, 0xe9, 0x9f, 0xa3, 0x41, 0x31, 0x67, 0x92, + 0xf1, 0x5c, 0xaf, 0xe3, 0x5f, 0x16, 0x18, 0x07, 0x2d, 0xfc, 0xaa, 0x63, 0xcf, 0x14, 0x95, 0x49, + 0xcd, 0xb3, 0x0f, 0x1a, 0x0c, 0xef, 0x82, 0x7e, 0xb6, 0x16, 0xd9, 0xca, 0x31, 0x5c, 0xc3, 0xb3, + 0xb0, 0x5e, 0x60, 0x08, 0xac, 0xb2, 0x2e, 0xa8, 0xd3, 0x73, 0x0d, 0xef, 0xd6, 0xe4, 0xc2, 0x6f, + 0x73, 0xfd, 0x7f, 0x13, 0x7d, 0xb4, 0xa5, 0xbc, 0x4c, 0xeb, 0x82, 0xe2, 0x86, 0x01, 0xef, 0x83, + 0xf3, 0xc3, 0x91, 0x6c, 0xe9, 0x98, 0xae, 0xe1, 0x9d, 0x63, 0xbb, 0xd3, 0x2e, 0x97, 0x30, 0x07, + 0xb7, 0x25, 0xfd, 0x51, 0x51, 0x55, 0x92, 0x52, 0x90, 0xef, 0x82, 0x71, 0xc7, 0x72, 0x4d, 0xcf, + 0x9e, 0xbc, 0xfe, 0xaf, 0x64, 0xac, 0x19, 0xa9, 0x08, 0x05, 0xe3, 0x88, 0x97, 0xb2, 0xc6, 0x03, + 0xf9, 0xa7, 0x06, 0x3f, 0x83, 0x7b, 0x4d, 0xad, 0x7b, 0x55, 0x75, 0x71, 0xfd, 0x26, 0xee, 0xe1, + 0x21, 0x6e, 0xc7, 0xed, 0x22, 0xf7, 0x60, 0xa5, 0x29, 0x18, 0xee, 0x18, 0xc7, 0xda, 0x68, 0x01, + 0xe0, 0x69, 0x3c, 0x1c, 0x02, 0x73, 0x45, 0xeb, 0xa6, 0xdb, 0x33, 0xbc, 0x1b, 0xe1, 0x05, 0xe8, + 0x6f, 0xe7, 0xeb, 0x4a, 0x57, 0x6b, 0x4f, 0xdc, 0xbf, 0x1c, 0x78, 0xc4, 0xc1, 0xda, 0xfe, 0xb2, + 0xf7, 0xc2, 0x18, 0xff, 0x34, 0xc0, 0x59, 0xd7, 0x2e, 0xb4, 0xc1, 0x8d, 0x59, 0xf4, 0x3e, 0x8a, + 0x3f, 0x45, 0xc3, 0x6b, 0xf0, 0x31, 0x78, 0x10, 0xc4, 0x51, 0x8a, 0xe3, 0x29, 0x89, 0xe2, 0x77, + 0x88, 0xbc, 0x09, 0x02, 0x74, 0x95, 0x12, 0x8c, 0x3e, 0xce, 0x50, 0x92, 0x92, 0x34, 0x26, 0x61, + 0x7c, 0x19, 0x0d, 0x8d, 0x13, 0x23, 0x46, 0x21, 0x0a, 0x4e, 0x8d, 0x3d, 0xf8, 0x04, 0x3c, 0x3a, + 0x26, 0x4e, 0xa7, 0x24, 0xf9, 0x12, 0x05, 0xad, 0x35, 0xe9, 0xbc, 0xe6, 0xdb, 0xc1, 0x57, 0xdb, + 0x7f, 0xf6, 0xaa, 0xbd, 0x64, 0x71, 0xbd, 0x99, 0x9e, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x83, + 0x24, 0x18, 0xbe, 0xdd, 0x02, 0x00, 0x00, } diff --git a/protocol/protobuf/community_shard_key.pb.go b/protocol/protobuf/community_shard_key.pb.go index 1b2e6cbd7..60c1c3500 100644 --- a/protocol/protobuf/community_shard_key.pb.go +++ b/protocol/protobuf/community_shard_key.pb.go @@ -1,177 +1,107 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: community_shard_key.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CommunityShardKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` - Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"` - Shard *Shard `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` + CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` + Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"` + Shard *Shard `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityShardKey) Reset() { - *x = CommunityShardKey{} - if protoimpl.UnsafeEnabled { - mi := &file_community_shard_key_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityShardKey) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityShardKey) ProtoMessage() {} - -func (x *CommunityShardKey) ProtoReflect() protoreflect.Message { - mi := &file_community_shard_key_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityShardKey.ProtoReflect.Descriptor instead. +func (m *CommunityShardKey) Reset() { *m = CommunityShardKey{} } +func (m *CommunityShardKey) String() string { return proto.CompactTextString(m) } +func (*CommunityShardKey) ProtoMessage() {} func (*CommunityShardKey) Descriptor() ([]byte, []int) { - return file_community_shard_key_proto_rawDescGZIP(), []int{0} + return fileDescriptor_03da8310cde9b7b2, []int{0} } -func (x *CommunityShardKey) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityShardKey) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityShardKey.Unmarshal(m, b) +} +func (m *CommunityShardKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityShardKey.Marshal(b, m, deterministic) +} +func (m *CommunityShardKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityShardKey.Merge(m, src) +} +func (m *CommunityShardKey) XXX_Size() int { + return xxx_messageInfo_CommunityShardKey.Size(m) +} +func (m *CommunityShardKey) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityShardKey.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityShardKey proto.InternalMessageInfo + +func (m *CommunityShardKey) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityShardKey) GetPrivateKey() []byte { - if x != nil { - return x.PrivateKey +func (m *CommunityShardKey) GetPrivateKey() []byte { + if m != nil { + return m.PrivateKey } return nil } -func (x *CommunityShardKey) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityShardKey) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityShardKey) GetShard() *Shard { - if x != nil { - return x.Shard +func (m *CommunityShardKey) GetShard() *Shard { + if m != nil { + return m.Shard } return nil } -var File_community_shard_key_proto protoreflect.FileDescriptor - -var file_community_shard_key_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x53, 0x68, 0x61, 0x72, 0x64, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, - 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*CommunityShardKey)(nil), "protobuf.CommunityShardKey") } -var ( - file_community_shard_key_proto_rawDescOnce sync.Once - file_community_shard_key_proto_rawDescData = file_community_shard_key_proto_rawDesc -) - -func file_community_shard_key_proto_rawDescGZIP() []byte { - file_community_shard_key_proto_rawDescOnce.Do(func() { - file_community_shard_key_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_shard_key_proto_rawDescData) - }) - return file_community_shard_key_proto_rawDescData +func init() { + proto.RegisterFile("community_shard_key.proto", fileDescriptor_03da8310cde9b7b2) } -var file_community_shard_key_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_community_shard_key_proto_goTypes = []interface{}{ - (*CommunityShardKey)(nil), // 0: protobuf.CommunityShardKey - (*Shard)(nil), // 1: protobuf.Shard -} -var file_community_shard_key_proto_depIdxs = []int32{ - 1, // 0: protobuf.CommunityShardKey.shard:type_name -> protobuf.Shard - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_community_shard_key_proto_init() } -func file_community_shard_key_proto_init() { - if File_community_shard_key_proto != nil { - return - } - file_shard_proto_init() - if !protoimpl.UnsafeEnabled { - file_community_shard_key_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityShardKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_community_shard_key_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_community_shard_key_proto_goTypes, - DependencyIndexes: file_community_shard_key_proto_depIdxs, - MessageInfos: file_community_shard_key_proto_msgTypes, - }.Build() - File_community_shard_key_proto = out.File - file_community_shard_key_proto_rawDesc = nil - file_community_shard_key_proto_goTypes = nil - file_community_shard_key_proto_depIdxs = nil +var fileDescriptor_03da8310cde9b7b2 = []byte{ + // 173 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xce, 0xcf, 0xcd, + 0x2d, 0xcd, 0xcb, 0x2c, 0xa9, 0x8c, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x89, 0xcf, 0x4e, 0xad, 0xd4, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x52, 0xdc, 0x60, 0x29, + 0x88, 0xb0, 0xd2, 0x14, 0x46, 0x2e, 0x41, 0x67, 0x98, 0xa6, 0x60, 0x90, 0x84, 0x77, 0x6a, 0xa5, + 0x90, 0x22, 0x17, 0x0f, 0xc2, 0xa4, 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x6e, + 0xb8, 0x98, 0x67, 0x8a, 0x90, 0x3c, 0x17, 0x77, 0x41, 0x51, 0x66, 0x59, 0x62, 0x49, 0x2a, 0xc8, + 0x12, 0x09, 0x26, 0xb0, 0x0a, 0x2e, 0xa8, 0x10, 0xc8, 0x0c, 0x11, 0x2e, 0xd6, 0xe4, 0x9c, 0xfc, + 0xe4, 0x6c, 0x09, 0x66, 0x05, 0x46, 0x0d, 0x96, 0x20, 0x08, 0x47, 0x48, 0x95, 0x8b, 0x15, 0x6c, + 0xbd, 0x04, 0x8b, 0x02, 0xa3, 0x06, 0xb7, 0x11, 0xbf, 0x1e, 0xcc, 0x59, 0x7a, 0x60, 0xcb, 0x83, + 0x20, 0xb2, 0x4e, 0xbc, 0x51, 0xdc, 0x7a, 0xfa, 0xd6, 0x30, 0xb9, 0x24, 0x36, 0x30, 0xcb, 0x18, + 0x10, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xda, 0x17, 0x6d, 0xe0, 0x00, 0x00, 0x00, } diff --git a/protocol/protobuf/community_update.pb.go b/protocol/protobuf/community_update.pb.go index 385e3e964..a53e842b9 100644 --- a/protocol/protobuf/community_update.pb.go +++ b/protocol/protobuf/community_update.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: community_update.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CommunityEvent_EventType int32 @@ -43,82 +43,57 @@ const ( CommunityEvent_COMMUNITY_TOKEN_ADD CommunityEvent_EventType = 17 ) -// Enum value maps for CommunityEvent_EventType. -var ( - CommunityEvent_EventType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "COMMUNITY_EDIT", - 2: "COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE", - 3: "COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE", - 4: "COMMUNITY_CATEGORY_CREATE", - 5: "COMMUNITY_CATEGORY_DELETE", - 6: "COMMUNITY_CATEGORY_EDIT", - 7: "COMMUNITY_CHANNEL_CREATE", - 8: "COMMUNITY_CHANNEL_DELETE", - 9: "COMMUNITY_CHANNEL_EDIT", - 10: "COMMUNITY_CATEGORY_REORDER", - 11: "COMMUNITY_CHANNEL_REORDER", - 12: "COMMUNITY_REQUEST_TO_JOIN_ACCEPT", - 13: "COMMUNITY_REQUEST_TO_JOIN_REJECT", - 14: "COMMUNITY_MEMBER_KICK", - 15: "COMMUNITY_MEMBER_BAN", - 16: "COMMUNITY_MEMBER_UNBAN", - 17: "COMMUNITY_TOKEN_ADD", - } - CommunityEvent_EventType_value = map[string]int32{ - "UNKNOWN": 0, - "COMMUNITY_EDIT": 1, - "COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE": 2, - "COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE": 3, - "COMMUNITY_CATEGORY_CREATE": 4, - "COMMUNITY_CATEGORY_DELETE": 5, - "COMMUNITY_CATEGORY_EDIT": 6, - "COMMUNITY_CHANNEL_CREATE": 7, - "COMMUNITY_CHANNEL_DELETE": 8, - "COMMUNITY_CHANNEL_EDIT": 9, - "COMMUNITY_CATEGORY_REORDER": 10, - "COMMUNITY_CHANNEL_REORDER": 11, - "COMMUNITY_REQUEST_TO_JOIN_ACCEPT": 12, - "COMMUNITY_REQUEST_TO_JOIN_REJECT": 13, - "COMMUNITY_MEMBER_KICK": 14, - "COMMUNITY_MEMBER_BAN": 15, - "COMMUNITY_MEMBER_UNBAN": 16, - "COMMUNITY_TOKEN_ADD": 17, - } -) +var CommunityEvent_EventType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "COMMUNITY_EDIT", + 2: "COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE", + 3: "COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE", + 4: "COMMUNITY_CATEGORY_CREATE", + 5: "COMMUNITY_CATEGORY_DELETE", + 6: "COMMUNITY_CATEGORY_EDIT", + 7: "COMMUNITY_CHANNEL_CREATE", + 8: "COMMUNITY_CHANNEL_DELETE", + 9: "COMMUNITY_CHANNEL_EDIT", + 10: "COMMUNITY_CATEGORY_REORDER", + 11: "COMMUNITY_CHANNEL_REORDER", + 12: "COMMUNITY_REQUEST_TO_JOIN_ACCEPT", + 13: "COMMUNITY_REQUEST_TO_JOIN_REJECT", + 14: "COMMUNITY_MEMBER_KICK", + 15: "COMMUNITY_MEMBER_BAN", + 16: "COMMUNITY_MEMBER_UNBAN", + 17: "COMMUNITY_TOKEN_ADD", +} -func (x CommunityEvent_EventType) Enum() *CommunityEvent_EventType { - p := new(CommunityEvent_EventType) - *p = x - return p +var CommunityEvent_EventType_value = map[string]int32{ + "UNKNOWN": 0, + "COMMUNITY_EDIT": 1, + "COMMUNITY_MEMBER_TOKEN_PERMISSION_CHANGE": 2, + "COMMUNITY_MEMBER_TOKEN_PERMISSION_DELETE": 3, + "COMMUNITY_CATEGORY_CREATE": 4, + "COMMUNITY_CATEGORY_DELETE": 5, + "COMMUNITY_CATEGORY_EDIT": 6, + "COMMUNITY_CHANNEL_CREATE": 7, + "COMMUNITY_CHANNEL_DELETE": 8, + "COMMUNITY_CHANNEL_EDIT": 9, + "COMMUNITY_CATEGORY_REORDER": 10, + "COMMUNITY_CHANNEL_REORDER": 11, + "COMMUNITY_REQUEST_TO_JOIN_ACCEPT": 12, + "COMMUNITY_REQUEST_TO_JOIN_REJECT": 13, + "COMMUNITY_MEMBER_KICK": 14, + "COMMUNITY_MEMBER_BAN": 15, + "COMMUNITY_MEMBER_UNBAN": 16, + "COMMUNITY_TOKEN_ADD": 17, } func (x CommunityEvent_EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityEvent_EventType_name, int32(x)) } -func (CommunityEvent_EventType) Descriptor() protoreflect.EnumDescriptor { - return file_community_update_proto_enumTypes[0].Descriptor() -} - -func (CommunityEvent_EventType) Type() protoreflect.EnumType { - return &file_community_update_proto_enumTypes[0] -} - -func (x CommunityEvent_EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityEvent_EventType.Descriptor instead. func (CommunityEvent_EventType) EnumDescriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_52ed23dfc73918ab, []int{0, 0} } type CommunityEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - CommunityEventClock uint64 `protobuf:"varint,1,opt,name=community_event_clock,json=communityEventClock,proto3" json:"community_event_clock,omitempty"` Type CommunityEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityEvent_EventType" json:"type,omitempty"` CommunityConfig *CommunityConfig `protobuf:"bytes,3,opt,name=community_config,json=communityConfig,proto3" json:"community_config,omitempty"` @@ -130,399 +105,363 @@ type CommunityEvent struct { RejectedRequestsToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,9,rep,name=rejectedRequestsToJoin,proto3" json:"rejectedRequestsToJoin,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` AcceptedRequestsToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,10,rep,name=acceptedRequestsToJoin,proto3" json:"acceptedRequestsToJoin,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` TokenMetadata *CommunityTokenMetadata `protobuf:"bytes,11,opt,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityEvent) Reset() { - *x = CommunityEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityEvent) ProtoMessage() {} - -func (x *CommunityEvent) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityEvent.ProtoReflect.Descriptor instead. +func (m *CommunityEvent) Reset() { *m = CommunityEvent{} } +func (m *CommunityEvent) String() string { return proto.CompactTextString(m) } +func (*CommunityEvent) ProtoMessage() {} func (*CommunityEvent) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{0} + return fileDescriptor_52ed23dfc73918ab, []int{0} } -func (x *CommunityEvent) GetCommunityEventClock() uint64 { - if x != nil { - return x.CommunityEventClock +func (m *CommunityEvent) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityEvent.Unmarshal(m, b) +} +func (m *CommunityEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityEvent.Marshal(b, m, deterministic) +} +func (m *CommunityEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityEvent.Merge(m, src) +} +func (m *CommunityEvent) XXX_Size() int { + return xxx_messageInfo_CommunityEvent.Size(m) +} +func (m *CommunityEvent) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityEvent proto.InternalMessageInfo + +func (m *CommunityEvent) GetCommunityEventClock() uint64 { + if m != nil { + return m.CommunityEventClock } return 0 } -func (x *CommunityEvent) GetType() CommunityEvent_EventType { - if x != nil { - return x.Type +func (m *CommunityEvent) GetType() CommunityEvent_EventType { + if m != nil { + return m.Type } return CommunityEvent_UNKNOWN } -func (x *CommunityEvent) GetCommunityConfig() *CommunityConfig { - if x != nil { - return x.CommunityConfig +func (m *CommunityEvent) GetCommunityConfig() *CommunityConfig { + if m != nil { + return m.CommunityConfig } return nil } -func (x *CommunityEvent) GetTokenPermission() *CommunityTokenPermission { - if x != nil { - return x.TokenPermission +func (m *CommunityEvent) GetTokenPermission() *CommunityTokenPermission { + if m != nil { + return m.TokenPermission } return nil } -func (x *CommunityEvent) GetCategoryData() *CategoryData { - if x != nil { - return x.CategoryData +func (m *CommunityEvent) GetCategoryData() *CategoryData { + if m != nil { + return m.CategoryData } return nil } -func (x *CommunityEvent) GetChannelData() *ChannelData { - if x != nil { - return x.ChannelData +func (m *CommunityEvent) GetChannelData() *ChannelData { + if m != nil { + return m.ChannelData } return nil } -func (x *CommunityEvent) GetMemberToAction() string { - if x != nil { - return x.MemberToAction +func (m *CommunityEvent) GetMemberToAction() string { + if m != nil { + return m.MemberToAction } return "" } -func (x *CommunityEvent) GetMembersAdded() map[string]*CommunityMember { - if x != nil { - return x.MembersAdded +func (m *CommunityEvent) GetMembersAdded() map[string]*CommunityMember { + if m != nil { + return m.MembersAdded } return nil } -func (x *CommunityEvent) GetRejectedRequestsToJoin() map[string]*CommunityRequestToJoin { - if x != nil { - return x.RejectedRequestsToJoin +func (m *CommunityEvent) GetRejectedRequestsToJoin() map[string]*CommunityRequestToJoin { + if m != nil { + return m.RejectedRequestsToJoin } return nil } -func (x *CommunityEvent) GetAcceptedRequestsToJoin() map[string]*CommunityRequestToJoin { - if x != nil { - return x.AcceptedRequestsToJoin +func (m *CommunityEvent) GetAcceptedRequestsToJoin() map[string]*CommunityRequestToJoin { + if m != nil { + return m.AcceptedRequestsToJoin } return nil } -func (x *CommunityEvent) GetTokenMetadata() *CommunityTokenMetadata { - if x != nil { - return x.TokenMetadata +func (m *CommunityEvent) GetTokenMetadata() *CommunityTokenMetadata { + if m != nil { + return m.TokenMetadata } return nil } type CommunityConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Identity *ChatIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` - Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` - AdminSettings *CommunityAdminSettings `protobuf:"bytes,3,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"` - IntroMessage string `protobuf:"bytes,4,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"` - OutroMessage string `protobuf:"bytes,5,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"` - Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` + Identity *ChatIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` + Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` + AdminSettings *CommunityAdminSettings `protobuf:"bytes,3,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"` + IntroMessage string `protobuf:"bytes,4,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"` + OutroMessage string `protobuf:"bytes,5,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"` + Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityConfig) Reset() { - *x = CommunityConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityConfig) ProtoMessage() {} - -func (x *CommunityConfig) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityConfig.ProtoReflect.Descriptor instead. +func (m *CommunityConfig) Reset() { *m = CommunityConfig{} } +func (m *CommunityConfig) String() string { return proto.CompactTextString(m) } +func (*CommunityConfig) ProtoMessage() {} func (*CommunityConfig) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{1} + return fileDescriptor_52ed23dfc73918ab, []int{1} } -func (x *CommunityConfig) GetIdentity() *ChatIdentity { - if x != nil { - return x.Identity +func (m *CommunityConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityConfig.Unmarshal(m, b) +} +func (m *CommunityConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityConfig.Marshal(b, m, deterministic) +} +func (m *CommunityConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityConfig.Merge(m, src) +} +func (m *CommunityConfig) XXX_Size() int { + return xxx_messageInfo_CommunityConfig.Size(m) +} +func (m *CommunityConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityConfig proto.InternalMessageInfo + +func (m *CommunityConfig) GetIdentity() *ChatIdentity { + if m != nil { + return m.Identity } return nil } -func (x *CommunityConfig) GetPermissions() *CommunityPermissions { - if x != nil { - return x.Permissions +func (m *CommunityConfig) GetPermissions() *CommunityPermissions { + if m != nil { + return m.Permissions } return nil } -func (x *CommunityConfig) GetAdminSettings() *CommunityAdminSettings { - if x != nil { - return x.AdminSettings +func (m *CommunityConfig) GetAdminSettings() *CommunityAdminSettings { + if m != nil { + return m.AdminSettings } return nil } -func (x *CommunityConfig) GetIntroMessage() string { - if x != nil { - return x.IntroMessage +func (m *CommunityConfig) GetIntroMessage() string { + if m != nil { + return m.IntroMessage } return "" } -func (x *CommunityConfig) GetOutroMessage() string { - if x != nil { - return x.OutroMessage +func (m *CommunityConfig) GetOutroMessage() string { + if m != nil { + return m.OutroMessage } return "" } -func (x *CommunityConfig) GetTags() []string { - if x != nil { - return x.Tags +func (m *CommunityConfig) GetTags() []string { + if m != nil { + return m.Tags } return nil } type CategoryData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - ChannelsIds []string `protobuf:"bytes,3,rep,name=channels_ids,json=channelsIds,proto3" json:"channels_ids,omitempty"` - Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` + CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + ChannelsIds []string `protobuf:"bytes,3,rep,name=channels_ids,json=channelsIds,proto3" json:"channels_ids,omitempty"` + Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CategoryData) Reset() { - *x = CategoryData{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CategoryData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CategoryData) ProtoMessage() {} - -func (x *CategoryData) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CategoryData.ProtoReflect.Descriptor instead. +func (m *CategoryData) Reset() { *m = CategoryData{} } +func (m *CategoryData) String() string { return proto.CompactTextString(m) } +func (*CategoryData) ProtoMessage() {} func (*CategoryData) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{2} + return fileDescriptor_52ed23dfc73918ab, []int{2} } -func (x *CategoryData) GetCategoryId() string { - if x != nil { - return x.CategoryId +func (m *CategoryData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CategoryData.Unmarshal(m, b) +} +func (m *CategoryData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CategoryData.Marshal(b, m, deterministic) +} +func (m *CategoryData) XXX_Merge(src proto.Message) { + xxx_messageInfo_CategoryData.Merge(m, src) +} +func (m *CategoryData) XXX_Size() int { + return xxx_messageInfo_CategoryData.Size(m) +} +func (m *CategoryData) XXX_DiscardUnknown() { + xxx_messageInfo_CategoryData.DiscardUnknown(m) +} + +var xxx_messageInfo_CategoryData proto.InternalMessageInfo + +func (m *CategoryData) GetCategoryId() string { + if m != nil { + return m.CategoryId } return "" } -func (x *CategoryData) GetName() string { - if x != nil { - return x.Name +func (m *CategoryData) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *CategoryData) GetChannelsIds() []string { - if x != nil { - return x.ChannelsIds +func (m *CategoryData) GetChannelsIds() []string { + if m != nil { + return m.ChannelsIds } return nil } -func (x *CategoryData) GetPosition() int32 { - if x != nil { - return x.Position +func (m *CategoryData) GetPosition() int32 { + if m != nil { + return m.Position } return 0 } type ChannelData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` - ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` - Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` - Channel *CommunityChat `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` + CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` + Channel *CommunityChat `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ChannelData) Reset() { - *x = ChannelData{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChannelData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChannelData) ProtoMessage() {} - -func (x *ChannelData) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChannelData.ProtoReflect.Descriptor instead. +func (m *ChannelData) Reset() { *m = ChannelData{} } +func (m *ChannelData) String() string { return proto.CompactTextString(m) } +func (*ChannelData) ProtoMessage() {} func (*ChannelData) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{3} + return fileDescriptor_52ed23dfc73918ab, []int{3} } -func (x *ChannelData) GetCategoryId() string { - if x != nil { - return x.CategoryId +func (m *ChannelData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ChannelData.Unmarshal(m, b) +} +func (m *ChannelData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ChannelData.Marshal(b, m, deterministic) +} +func (m *ChannelData) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChannelData.Merge(m, src) +} +func (m *ChannelData) XXX_Size() int { + return xxx_messageInfo_ChannelData.Size(m) +} +func (m *ChannelData) XXX_DiscardUnknown() { + xxx_messageInfo_ChannelData.DiscardUnknown(m) +} + +var xxx_messageInfo_ChannelData proto.InternalMessageInfo + +func (m *ChannelData) GetCategoryId() string { + if m != nil { + return m.CategoryId } return "" } -func (x *ChannelData) GetChannelId() string { - if x != nil { - return x.ChannelId +func (m *ChannelData) GetChannelId() string { + if m != nil { + return m.ChannelId } return "" } -func (x *ChannelData) GetPosition() int32 { - if x != nil { - return x.Position +func (m *ChannelData) GetPosition() int32 { + if m != nil { + return m.Position } return 0 } -func (x *ChannelData) GetChannel() *CommunityChat { - if x != nil { - return x.Channel +func (m *ChannelData) GetChannel() *CommunityChat { + if m != nil { + return m.Channel } return nil } type SignedCommunityEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Signature of the payload field Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // Marshaled CommunityEvent - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SignedCommunityEvent) Reset() { - *x = SignedCommunityEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SignedCommunityEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SignedCommunityEvent) ProtoMessage() {} - -func (x *SignedCommunityEvent) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SignedCommunityEvent.ProtoReflect.Descriptor instead. +func (m *SignedCommunityEvent) Reset() { *m = SignedCommunityEvent{} } +func (m *SignedCommunityEvent) String() string { return proto.CompactTextString(m) } +func (*SignedCommunityEvent) ProtoMessage() {} func (*SignedCommunityEvent) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{4} + return fileDescriptor_52ed23dfc73918ab, []int{4} } -func (x *SignedCommunityEvent) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *SignedCommunityEvent) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SignedCommunityEvent.Unmarshal(m, b) +} +func (m *SignedCommunityEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SignedCommunityEvent.Marshal(b, m, deterministic) +} +func (m *SignedCommunityEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignedCommunityEvent.Merge(m, src) +} +func (m *SignedCommunityEvent) XXX_Size() int { + return xxx_messageInfo_SignedCommunityEvent.Size(m) +} +func (m *SignedCommunityEvent) XXX_DiscardUnknown() { + xxx_messageInfo_SignedCommunityEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_SignedCommunityEvent proto.InternalMessageInfo + +func (m *SignedCommunityEvent) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *SignedCommunityEvent) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *SignedCommunityEvent) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } @@ -530,480 +469,199 @@ func (x *SignedCommunityEvent) GetPayload() []byte { // CommunityEventsMessage is a message used to propagate information // about community changes. type CommunityEventsMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` // Events base CommunityDescription with owner signature on top of which events were generated EventsBaseCommunityDescription []byte `protobuf:"bytes,2,opt,name=events_base_community_description,json=eventsBaseCommunityDescription,proto3" json:"events_base_community_description,omitempty"` // A list of admins events for the channel in bytes // Deprecated: use signed_events instead. - // - // Deprecated: Marked as deprecated in community_update.proto. - Events [][]byte `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` + Events [][]byte `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // Deprecated: Do not use. // A list of signed community events - SignedEvents []*SignedCommunityEvent `protobuf:"bytes,4,rep,name=signed_events,json=signedEvents,proto3" json:"signed_events,omitempty"` + SignedEvents []*SignedCommunityEvent `protobuf:"bytes,4,rep,name=signed_events,json=signedEvents,proto3" json:"signed_events,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityEventsMessage) Reset() { - *x = CommunityEventsMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityEventsMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityEventsMessage) ProtoMessage() {} - -func (x *CommunityEventsMessage) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityEventsMessage.ProtoReflect.Descriptor instead. +func (m *CommunityEventsMessage) Reset() { *m = CommunityEventsMessage{} } +func (m *CommunityEventsMessage) String() string { return proto.CompactTextString(m) } +func (*CommunityEventsMessage) ProtoMessage() {} func (*CommunityEventsMessage) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{5} + return fileDescriptor_52ed23dfc73918ab, []int{5} } -func (x *CommunityEventsMessage) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityEventsMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityEventsMessage.Unmarshal(m, b) +} +func (m *CommunityEventsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityEventsMessage.Marshal(b, m, deterministic) +} +func (m *CommunityEventsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityEventsMessage.Merge(m, src) +} +func (m *CommunityEventsMessage) XXX_Size() int { + return xxx_messageInfo_CommunityEventsMessage.Size(m) +} +func (m *CommunityEventsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityEventsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityEventsMessage proto.InternalMessageInfo + +func (m *CommunityEventsMessage) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityEventsMessage) GetEventsBaseCommunityDescription() []byte { - if x != nil { - return x.EventsBaseCommunityDescription +func (m *CommunityEventsMessage) GetEventsBaseCommunityDescription() []byte { + if m != nil { + return m.EventsBaseCommunityDescription } return nil } -// Deprecated: Marked as deprecated in community_update.proto. -func (x *CommunityEventsMessage) GetEvents() [][]byte { - if x != nil { - return x.Events +// Deprecated: Do not use. +func (m *CommunityEventsMessage) GetEvents() [][]byte { + if m != nil { + return m.Events } return nil } -func (x *CommunityEventsMessage) GetSignedEvents() []*SignedCommunityEvent { - if x != nil { - return x.SignedEvents +func (m *CommunityEventsMessage) GetSignedEvents() []*SignedCommunityEvent { + if m != nil { + return m.SignedEvents } return nil } type CommunityEventsMessageRejected struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg *CommunityEventsMessage `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` + Msg *CommunityEventsMessage `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityEventsMessageRejected) Reset() { - *x = CommunityEventsMessageRejected{} - if protoimpl.UnsafeEnabled { - mi := &file_community_update_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityEventsMessageRejected) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityEventsMessageRejected) ProtoMessage() {} - -func (x *CommunityEventsMessageRejected) ProtoReflect() protoreflect.Message { - mi := &file_community_update_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityEventsMessageRejected.ProtoReflect.Descriptor instead. +func (m *CommunityEventsMessageRejected) Reset() { *m = CommunityEventsMessageRejected{} } +func (m *CommunityEventsMessageRejected) String() string { return proto.CompactTextString(m) } +func (*CommunityEventsMessageRejected) ProtoMessage() {} func (*CommunityEventsMessageRejected) Descriptor() ([]byte, []int) { - return file_community_update_proto_rawDescGZIP(), []int{6} + return fileDescriptor_52ed23dfc73918ab, []int{6} } -func (x *CommunityEventsMessageRejected) GetMsg() *CommunityEventsMessage { - if x != nil { - return x.Msg +func (m *CommunityEventsMessageRejected) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityEventsMessageRejected.Unmarshal(m, b) +} +func (m *CommunityEventsMessageRejected) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityEventsMessageRejected.Marshal(b, m, deterministic) +} +func (m *CommunityEventsMessageRejected) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityEventsMessageRejected.Merge(m, src) +} +func (m *CommunityEventsMessageRejected) XXX_Size() int { + return xxx_messageInfo_CommunityEventsMessageRejected.Size(m) +} +func (m *CommunityEventsMessageRejected) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityEventsMessageRejected.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityEventsMessageRejected proto.InternalMessageInfo + +func (m *CommunityEventsMessageRejected) GetMsg() *CommunityEventsMessage { + if m != nil { + return m.Msg } return nil } -var File_community_update_proto protoreflect.FileDescriptor - -var file_community_update_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x1a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x0d, 0x0a, 0x0e, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, - 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x63, 0x6f, 0x6d, - 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, - 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x4d, 0x0a, 0x10, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, - 0x0a, 0x0d, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x63, - 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x0c, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, - 0x74, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x4e, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, - 0x6c, 0x0a, 0x16, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x6c, 0x0a, - 0x16, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x16, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x47, 0x0a, 0x0e, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x1a, 0x5a, 0x0a, 0x11, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x41, - 0x64, 0x64, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x6b, 0x0a, 0x1b, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, - 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, - 0x1b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb0, 0x04, 0x0a, 0x09, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, - 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, - 0x54, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x01, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, - 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x4f, - 0x4b, 0x45, 0x4e, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, - 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x2c, 0x0a, 0x28, 0x43, 0x4f, 0x4d, 0x4d, 0x55, - 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, - 0x4e, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, - 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, - 0x54, 0x59, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x43, 0x52, 0x45, 0x41, - 0x54, 0x45, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, - 0x59, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, - 0x45, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, - 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x06, - 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, - 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x07, 0x12, 0x1c, - 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, - 0x4e, 0x45, 0x4c, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x08, 0x12, 0x1a, 0x0a, 0x16, - 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, - 0x4c, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x10, 0x09, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4f, 0x4d, 0x4d, - 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x52, - 0x45, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x4f, 0x4d, 0x4d, - 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x52, 0x45, - 0x4f, 0x52, 0x44, 0x45, 0x52, 0x10, 0x0b, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 0x4d, 0x4d, 0x55, - 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, - 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x0c, 0x12, 0x24, 0x0a, - 0x20, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, - 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, - 0x54, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, - 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x4b, 0x49, 0x43, 0x4b, 0x10, 0x0e, 0x12, 0x18, - 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, - 0x45, 0x52, 0x5f, 0x42, 0x41, 0x4e, 0x10, 0x0f, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4d, 0x4d, - 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x42, - 0x41, 0x4e, 0x10, 0x10, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, - 0x59, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x10, 0x11, 0x22, 0xae, 0x02, - 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x32, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, - 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x72, 0x6f, 0x5f, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, - 0x74, 0x72, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, - 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x82, - 0x01, 0x0a, 0x0c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, - 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x73, 0x49, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x9c, 0x01, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x44, - 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, - 0x72, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, - 0x6c, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x31, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x68, 0x61, 0x74, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x22, 0x4e, 0x0a, 0x14, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, - 0x12, 0x49, 0x0a, 0x21, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, - 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x73, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x06, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x43, 0x0a, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x65, - 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0c, - 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x54, 0x0a, 0x1e, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x32, - 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, - 0x73, 0x67, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.CommunityEvent_EventType", CommunityEvent_EventType_name, CommunityEvent_EventType_value) + proto.RegisterType((*CommunityEvent)(nil), "protobuf.CommunityEvent") + proto.RegisterMapType((map[string]*CommunityRequestToJoin)(nil), "protobuf.CommunityEvent.AcceptedRequestsToJoinEntry") + proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityEvent.MembersAddedEntry") + proto.RegisterMapType((map[string]*CommunityRequestToJoin)(nil), "protobuf.CommunityEvent.RejectedRequestsToJoinEntry") + proto.RegisterType((*CommunityConfig)(nil), "protobuf.CommunityConfig") + proto.RegisterType((*CategoryData)(nil), "protobuf.CategoryData") + proto.RegisterType((*ChannelData)(nil), "protobuf.ChannelData") + proto.RegisterType((*SignedCommunityEvent)(nil), "protobuf.SignedCommunityEvent") + proto.RegisterType((*CommunityEventsMessage)(nil), "protobuf.CommunityEventsMessage") + proto.RegisterType((*CommunityEventsMessageRejected)(nil), "protobuf.CommunityEventsMessageRejected") } -var ( - file_community_update_proto_rawDescOnce sync.Once - file_community_update_proto_rawDescData = file_community_update_proto_rawDesc -) - -func file_community_update_proto_rawDescGZIP() []byte { - file_community_update_proto_rawDescOnce.Do(func() { - file_community_update_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_update_proto_rawDescData) - }) - return file_community_update_proto_rawDescData +func init() { + proto.RegisterFile("community_update.proto", fileDescriptor_52ed23dfc73918ab) } -var file_community_update_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_community_update_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_community_update_proto_goTypes = []interface{}{ - (CommunityEvent_EventType)(0), // 0: protobuf.CommunityEvent.EventType - (*CommunityEvent)(nil), // 1: protobuf.CommunityEvent - (*CommunityConfig)(nil), // 2: protobuf.CommunityConfig - (*CategoryData)(nil), // 3: protobuf.CategoryData - (*ChannelData)(nil), // 4: protobuf.ChannelData - (*SignedCommunityEvent)(nil), // 5: protobuf.SignedCommunityEvent - (*CommunityEventsMessage)(nil), // 6: protobuf.CommunityEventsMessage - (*CommunityEventsMessageRejected)(nil), // 7: protobuf.CommunityEventsMessageRejected - nil, // 8: protobuf.CommunityEvent.MembersAddedEntry - nil, // 9: protobuf.CommunityEvent.RejectedRequestsToJoinEntry - nil, // 10: protobuf.CommunityEvent.AcceptedRequestsToJoinEntry - (*CommunityTokenPermission)(nil), // 11: protobuf.CommunityTokenPermission - (*CommunityTokenMetadata)(nil), // 12: protobuf.CommunityTokenMetadata - (*ChatIdentity)(nil), // 13: protobuf.ChatIdentity - (*CommunityPermissions)(nil), // 14: protobuf.CommunityPermissions - (*CommunityAdminSettings)(nil), // 15: protobuf.CommunityAdminSettings - (*CommunityChat)(nil), // 16: protobuf.CommunityChat - (*CommunityMember)(nil), // 17: protobuf.CommunityMember - (*CommunityRequestToJoin)(nil), // 18: protobuf.CommunityRequestToJoin -} -var file_community_update_proto_depIdxs = []int32{ - 0, // 0: protobuf.CommunityEvent.type:type_name -> protobuf.CommunityEvent.EventType - 2, // 1: protobuf.CommunityEvent.community_config:type_name -> protobuf.CommunityConfig - 11, // 2: protobuf.CommunityEvent.token_permission:type_name -> protobuf.CommunityTokenPermission - 3, // 3: protobuf.CommunityEvent.category_data:type_name -> protobuf.CategoryData - 4, // 4: protobuf.CommunityEvent.channel_data:type_name -> protobuf.ChannelData - 8, // 5: protobuf.CommunityEvent.membersAdded:type_name -> protobuf.CommunityEvent.MembersAddedEntry - 9, // 6: protobuf.CommunityEvent.rejectedRequestsToJoin:type_name -> protobuf.CommunityEvent.RejectedRequestsToJoinEntry - 10, // 7: protobuf.CommunityEvent.acceptedRequestsToJoin:type_name -> protobuf.CommunityEvent.AcceptedRequestsToJoinEntry - 12, // 8: protobuf.CommunityEvent.token_metadata:type_name -> protobuf.CommunityTokenMetadata - 13, // 9: protobuf.CommunityConfig.identity:type_name -> protobuf.ChatIdentity - 14, // 10: protobuf.CommunityConfig.permissions:type_name -> protobuf.CommunityPermissions - 15, // 11: protobuf.CommunityConfig.admin_settings:type_name -> protobuf.CommunityAdminSettings - 16, // 12: protobuf.ChannelData.channel:type_name -> protobuf.CommunityChat - 5, // 13: protobuf.CommunityEventsMessage.signed_events:type_name -> protobuf.SignedCommunityEvent - 6, // 14: protobuf.CommunityEventsMessageRejected.msg:type_name -> protobuf.CommunityEventsMessage - 17, // 15: protobuf.CommunityEvent.MembersAddedEntry.value:type_name -> protobuf.CommunityMember - 18, // 16: protobuf.CommunityEvent.RejectedRequestsToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin - 18, // 17: protobuf.CommunityEvent.AcceptedRequestsToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin - 18, // [18:18] is the sub-list for method output_type - 18, // [18:18] is the sub-list for method input_type - 18, // [18:18] is the sub-list for extension type_name - 18, // [18:18] is the sub-list for extension extendee - 0, // [0:18] is the sub-list for field type_name -} - -func init() { file_community_update_proto_init() } -func file_community_update_proto_init() { - if File_community_update_proto != nil { - return - } - file_chat_identity_proto_init() - file_communities_proto_init() - if !protoimpl.UnsafeEnabled { - file_community_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_community_update_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_community_update_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CategoryData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_community_update_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChannelData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_community_update_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SignedCommunityEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_community_update_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityEventsMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_community_update_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityEventsMessageRejected); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_community_update_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_community_update_proto_goTypes, - DependencyIndexes: file_community_update_proto_depIdxs, - EnumInfos: file_community_update_proto_enumTypes, - MessageInfos: file_community_update_proto_msgTypes, - }.Build() - File_community_update_proto = out.File - file_community_update_proto_rawDesc = nil - file_community_update_proto_goTypes = nil - file_community_update_proto_depIdxs = nil +var fileDescriptor_52ed23dfc73918ab = []byte{ + // 1095 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcb, 0x6e, 0xdb, 0x46, + 0x14, 0xad, 0x2c, 0xf9, 0xa1, 0xab, 0x87, 0xe9, 0x71, 0x6c, 0xd3, 0x4a, 0xe2, 0x2a, 0x6a, 0x17, + 0x42, 0x51, 0x38, 0xa8, 0x5a, 0x04, 0x41, 0xb3, 0xa9, 0x4c, 0x0d, 0x1c, 0xda, 0x11, 0xe5, 0x8e, + 0x69, 0x14, 0xc9, 0x86, 0x18, 0x93, 0x13, 0x99, 0xb5, 0x45, 0xaa, 0x9a, 0x51, 0x00, 0x6d, 0xfb, + 0x05, 0xfd, 0x80, 0x7e, 0x43, 0xd1, 0xbf, 0xea, 0x6f, 0x14, 0x9c, 0x21, 0x45, 0xd2, 0xa6, 0x9c, + 0x2e, 0xba, 0x91, 0x38, 0xf7, 0x9c, 0x7b, 0xce, 0xdc, 0x79, 0xf0, 0x12, 0xf6, 0xdd, 0x70, 0x32, + 0x99, 0x07, 0xbe, 0x58, 0x38, 0xf3, 0xa9, 0x47, 0x05, 0x3b, 0x9e, 0xce, 0x42, 0x11, 0xa2, 0x2d, + 0xf9, 0x77, 0x3d, 0xff, 0xd8, 0xda, 0x75, 0x6f, 0xa8, 0x70, 0x7c, 0x8f, 0x05, 0xc2, 0x17, 0x0b, + 0x05, 0xb7, 0x76, 0x92, 0x34, 0x9f, 0x71, 0x15, 0xea, 0xfc, 0xd1, 0x80, 0xa6, 0x91, 0x88, 0xe1, + 0x4f, 0x2c, 0x10, 0xa8, 0x07, 0x7b, 0xa9, 0x3c, 0x8b, 0x42, 0x8e, 0x7b, 0x17, 0xba, 0xb7, 0x7a, + 0xa9, 0x5d, 0xea, 0x56, 0xc8, 0xae, 0x9b, 0xa3, 0x1b, 0x11, 0x84, 0x5e, 0x41, 0x45, 0x2c, 0xa6, + 0x4c, 0x5f, 0x6b, 0x97, 0xba, 0xcd, 0x5e, 0xe7, 0x38, 0x99, 0xc7, 0x71, 0x5e, 0xfb, 0x58, 0xfe, + 0xda, 0x8b, 0x29, 0x23, 0x92, 0x8f, 0x06, 0xa0, 0xa5, 0x5e, 0x6e, 0x18, 0x7c, 0xf4, 0xc7, 0x7a, + 0xb9, 0x5d, 0xea, 0xd6, 0x7a, 0x87, 0x05, 0x1a, 0x86, 0x24, 0x90, 0x6d, 0x37, 0x1f, 0x40, 0x43, + 0xd0, 0x44, 0x78, 0xcb, 0x02, 0x67, 0xca, 0x66, 0x13, 0x9f, 0x73, 0x3f, 0x0c, 0xf4, 0x8a, 0x54, + 0x29, 0x9a, 0x89, 0x1d, 0x51, 0x2f, 0x96, 0x4c, 0xb2, 0x2d, 0xf2, 0x01, 0xf4, 0x06, 0x1a, 0x2e, + 0x15, 0x6c, 0x1c, 0xce, 0x16, 0x8e, 0x47, 0x05, 0xd5, 0xd7, 0xa5, 0xd6, 0x7e, 0x46, 0x2b, 0x86, + 0x07, 0x54, 0x50, 0x52, 0x77, 0x33, 0x23, 0xf4, 0x1a, 0xea, 0xee, 0x0d, 0x0d, 0x02, 0x76, 0xa7, + 0x72, 0x37, 0x64, 0xee, 0x5e, 0x26, 0x57, 0xa1, 0x32, 0xb5, 0xe6, 0xa6, 0x03, 0xd4, 0x05, 0x6d, + 0xc2, 0x26, 0xd7, 0x6c, 0xe6, 0x88, 0xd0, 0xa1, 0xae, 0x88, 0xaa, 0xd8, 0x6c, 0x97, 0xba, 0x55, + 0xd2, 0x54, 0x71, 0x3b, 0xec, 0xcb, 0x28, 0xb2, 0xa0, 0xae, 0x22, 0xbc, 0xef, 0x79, 0xcc, 0xd3, + 0xb7, 0xda, 0xe5, 0x6e, 0xad, 0xf7, 0xcd, 0xca, 0x55, 0x1f, 0x66, 0xc8, 0x38, 0x10, 0xb3, 0x05, + 0xc9, 0xe5, 0xa3, 0x3b, 0xd8, 0x9f, 0xb1, 0x5f, 0x99, 0x2b, 0x98, 0x47, 0xd8, 0x6f, 0x73, 0xc6, + 0x05, 0xb7, 0xc3, 0xb3, 0xd0, 0x0f, 0xf4, 0xaa, 0x54, 0xfe, 0x61, 0xa5, 0x32, 0x29, 0x4c, 0x53, + 0x1e, 0x2b, 0x34, 0x23, 0x37, 0xea, 0xba, 0x6c, 0xfa, 0xd0, 0x0d, 0x3e, 0xe3, 0xd6, 0x2f, 0x4c, + 0x8b, 0xdd, 0x8a, 0x35, 0xd1, 0x29, 0x34, 0xd5, 0xd9, 0x98, 0x30, 0x41, 0xe5, 0x8e, 0xd4, 0xe4, + 0x8e, 0xb4, 0x57, 0x9d, 0x8c, 0x61, 0xcc, 0x23, 0x0d, 0x91, 0x1d, 0xb6, 0x3e, 0xc0, 0xce, 0x83, + 0x75, 0x44, 0x1a, 0x94, 0x6f, 0xd9, 0x42, 0xde, 0x8c, 0x2a, 0x89, 0x1e, 0xd1, 0x4b, 0x58, 0xff, + 0x44, 0xef, 0xe6, 0xea, 0x2a, 0x14, 0x1f, 0x63, 0x25, 0x43, 0x14, 0xef, 0xc7, 0xb5, 0xd7, 0xa5, + 0xd6, 0x2d, 0x3c, 0x7d, 0x64, 0x25, 0x0b, 0x5c, 0x5e, 0xe5, 0x5d, 0x8a, 0x8a, 0x89, 0x85, 0x94, + 0xce, 0x3d, 0xb3, 0x47, 0x16, 0xf2, 0xff, 0x35, 0xeb, 0xfc, 0x5d, 0x81, 0xea, 0xf2, 0xd2, 0xa3, + 0x1a, 0x6c, 0x5e, 0x59, 0xe7, 0xd6, 0xe8, 0x17, 0x4b, 0xfb, 0x02, 0x21, 0x68, 0x1a, 0xa3, 0xe1, + 0xf0, 0xca, 0x32, 0xed, 0xf7, 0x0e, 0x1e, 0x98, 0xb6, 0x56, 0x42, 0xdf, 0x42, 0x37, 0x8d, 0x0d, + 0xf1, 0xf0, 0x04, 0x13, 0xc7, 0x1e, 0x9d, 0x63, 0xcb, 0xb9, 0xc0, 0x64, 0x68, 0x5e, 0x5e, 0x9a, + 0x23, 0xcb, 0x31, 0xde, 0xf6, 0xad, 0x53, 0xac, 0xad, 0xfd, 0x37, 0xf6, 0x00, 0xbf, 0xc3, 0x36, + 0xd6, 0xca, 0xe8, 0x39, 0x1c, 0xa6, 0x6c, 0xa3, 0x6f, 0xe3, 0xd3, 0x11, 0x79, 0xef, 0x18, 0x04, + 0xf7, 0x6d, 0xac, 0x55, 0x56, 0xc0, 0x71, 0xf6, 0x3a, 0x7a, 0x0a, 0x07, 0x05, 0xb0, 0x9c, 0xf6, + 0x06, 0x7a, 0x06, 0x7a, 0x06, 0x7c, 0xdb, 0xb7, 0x2c, 0xfc, 0x2e, 0x51, 0xde, 0x2c, 0x46, 0x63, + 0xe1, 0x2d, 0xd4, 0x82, 0xfd, 0x87, 0xa8, 0xd4, 0xad, 0xa2, 0x23, 0x68, 0x15, 0x98, 0x12, 0x3c, + 0x22, 0x03, 0x4c, 0x34, 0xb8, 0x37, 0xe7, 0x38, 0x37, 0x81, 0x6b, 0xe8, 0x6b, 0x68, 0xa7, 0x30, + 0xc1, 0x3f, 0x5f, 0xe1, 0x4b, 0xdb, 0xb1, 0x47, 0xce, 0xd9, 0xc8, 0xb4, 0x9c, 0xbe, 0x61, 0xe0, + 0x0b, 0x5b, 0xab, 0x3f, 0xce, 0x22, 0xf8, 0x0c, 0x1b, 0xb6, 0xd6, 0x40, 0x87, 0xb0, 0xf7, 0x60, + 0xad, 0xcf, 0x4d, 0xe3, 0x5c, 0x6b, 0x22, 0x1d, 0x9e, 0x3c, 0x80, 0x4e, 0xfa, 0x96, 0xb6, 0x9d, + 0xaf, 0x2d, 0x46, 0xae, 0xac, 0x08, 0xd3, 0xd0, 0x01, 0xec, 0xa6, 0x98, 0xda, 0xb5, 0xfe, 0x60, + 0xa0, 0xed, 0x74, 0xfe, 0x5a, 0x83, 0xed, 0x7b, 0xaf, 0x7c, 0xd4, 0x83, 0xad, 0xa4, 0x97, 0xc9, + 0x93, 0x99, 0x7f, 0x1b, 0xdf, 0x50, 0x61, 0xc6, 0x28, 0x59, 0xf2, 0xd0, 0x4f, 0x50, 0x4b, 0xfb, + 0x01, 0x8f, 0x0f, 0xef, 0x51, 0xc1, 0xe1, 0x4d, 0x5f, 0xfd, 0x9c, 0x64, 0x53, 0xa2, 0x77, 0x07, + 0xf5, 0x26, 0x7e, 0xe0, 0x70, 0x26, 0x84, 0x1f, 0x8c, 0x79, 0xdc, 0x9b, 0x8a, 0x6e, 0x40, 0x3f, + 0x22, 0x5e, 0xc6, 0x3c, 0xd2, 0xa0, 0xd9, 0x21, 0xfa, 0x0a, 0x1a, 0x7e, 0x20, 0x66, 0xa1, 0x33, + 0x61, 0x9c, 0xd3, 0x31, 0x93, 0xdd, 0xa9, 0x4a, 0xea, 0x32, 0x38, 0x54, 0xb1, 0x88, 0x14, 0xce, + 0xb3, 0xa4, 0x75, 0x45, 0x92, 0xc1, 0x84, 0x84, 0xa0, 0x22, 0xe8, 0x98, 0xeb, 0x1b, 0xed, 0x72, + 0xb7, 0x4a, 0xe4, 0x73, 0xe7, 0xf7, 0x12, 0xd4, 0xb3, 0x1d, 0x09, 0x7d, 0x09, 0xb5, 0x65, 0x03, + 0xf3, 0xbd, 0xf8, 0x2a, 0x43, 0x12, 0x32, 0xbd, 0x48, 0x25, 0xa0, 0x13, 0x75, 0xa1, 0xab, 0x44, + 0x3e, 0xa3, 0x17, 0xcb, 0xc6, 0xc5, 0x1d, 0xdf, 0x8b, 0x4a, 0x8d, 0x1c, 0x92, 0x0e, 0xc5, 0x4d, + 0x8f, 0xa3, 0x16, 0x6c, 0x4d, 0x43, 0xee, 0x8b, 0xa4, 0xbf, 0xae, 0x93, 0xe5, 0xb8, 0xf3, 0x67, + 0x09, 0x6a, 0x99, 0xd6, 0xf6, 0xf9, 0x39, 0x3c, 0x07, 0x48, 0x1a, 0xa5, 0xef, 0xc5, 0x33, 0xa9, + 0xc6, 0x11, 0xd3, 0xcb, 0x79, 0x95, 0xf3, 0x5e, 0xe8, 0x3b, 0xd8, 0x8c, 0x89, 0x71, 0x9b, 0x3f, + 0x28, 0xfa, 0x58, 0xb8, 0xa1, 0x82, 0x24, 0xbc, 0x8e, 0x05, 0x4f, 0x2e, 0xfd, 0x71, 0xc0, 0xbc, + 0x7b, 0x1f, 0x3b, 0xcf, 0xa0, 0xca, 0xfd, 0x71, 0x40, 0xc5, 0x7c, 0xc6, 0xe4, 0x24, 0xeb, 0x24, + 0x0d, 0x20, 0x1d, 0x36, 0xa7, 0x74, 0x71, 0x17, 0x52, 0x35, 0xc1, 0x3a, 0x49, 0x86, 0x9d, 0x7f, + 0x4a, 0xb0, 0x9f, 0x97, 0xe2, 0xc9, 0x16, 0x45, 0x0b, 0xb9, 0xfc, 0xa6, 0x89, 0x4b, 0xaf, 0x93, + 0xda, 0x32, 0x66, 0x7a, 0xc8, 0x84, 0x17, 0xf2, 0xc3, 0x8a, 0x3b, 0xd7, 0x94, 0x33, 0x27, 0xa5, + 0x7b, 0x8c, 0xbb, 0x33, 0x7f, 0x2a, 0xab, 0x56, 0x8e, 0x47, 0x8a, 0x78, 0x42, 0x39, 0x5b, 0xfa, + 0x0d, 0x52, 0x16, 0x6a, 0xc1, 0x86, 0x62, 0xc8, 0x0d, 0xab, 0x9f, 0xac, 0xe9, 0x25, 0x12, 0x47, + 0x90, 0x01, 0x0d, 0x2e, 0x8b, 0x76, 0x62, 0x4a, 0x45, 0x36, 0xd8, 0xcc, 0x1d, 0x28, 0x5a, 0x13, + 0x52, 0x57, 0x49, 0xaa, 0xaa, 0x8e, 0x0d, 0x47, 0xc5, 0x85, 0x26, 0x1d, 0x0b, 0xf5, 0xa0, 0x3c, + 0xe1, 0xe3, 0xf8, 0x5e, 0xb6, 0x57, 0x75, 0xef, 0x65, 0x5a, 0x44, 0x3e, 0x69, 0x7c, 0xa8, 0x1d, + 0xbf, 0x7c, 0x93, 0x50, 0xaf, 0x37, 0xe4, 0xd3, 0xf7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x92, + 0x1f, 0x8f, 0xf4, 0xd9, 0x0a, 0x00, 0x00, } diff --git a/protocol/protobuf/contact.pb.go b/protocol/protobuf/contact.pb.go index 3eedcc001..8d4213ba7 100644 --- a/protocol/protobuf/contact.pb.go +++ b/protocol/protobuf/contact.pb.go @@ -1,101 +1,89 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: contact.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ContactRequestPropagatedState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LocalClock uint64 `protobuf:"varint,1,opt,name=local_clock,json=localClock,proto3" json:"local_clock,omitempty"` - LocalState uint64 `protobuf:"varint,2,opt,name=local_state,json=localState,proto3" json:"local_state,omitempty"` - RemoteClock uint64 `protobuf:"varint,3,opt,name=remote_clock,json=remoteClock,proto3" json:"remote_clock,omitempty"` - RemoteState uint64 `protobuf:"varint,4,opt,name=remote_state,json=remoteState,proto3" json:"remote_state,omitempty"` + LocalClock uint64 `protobuf:"varint,1,opt,name=local_clock,json=localClock,proto3" json:"local_clock,omitempty"` + LocalState uint64 `protobuf:"varint,2,opt,name=local_state,json=localState,proto3" json:"local_state,omitempty"` + RemoteClock uint64 `protobuf:"varint,3,opt,name=remote_clock,json=remoteClock,proto3" json:"remote_clock,omitempty"` + RemoteState uint64 `protobuf:"varint,4,opt,name=remote_state,json=remoteState,proto3" json:"remote_state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ContactRequestPropagatedState) Reset() { - *x = ContactRequestPropagatedState{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContactRequestPropagatedState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContactRequestPropagatedState) ProtoMessage() {} - -func (x *ContactRequestPropagatedState) ProtoReflect() protoreflect.Message { - mi := &file_contact_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContactRequestPropagatedState.ProtoReflect.Descriptor instead. +func (m *ContactRequestPropagatedState) Reset() { *m = ContactRequestPropagatedState{} } +func (m *ContactRequestPropagatedState) String() string { return proto.CompactTextString(m) } +func (*ContactRequestPropagatedState) ProtoMessage() {} func (*ContactRequestPropagatedState) Descriptor() ([]byte, []int) { - return file_contact_proto_rawDescGZIP(), []int{0} + return fileDescriptor_a5036fff2565fb15, []int{0} } -func (x *ContactRequestPropagatedState) GetLocalClock() uint64 { - if x != nil { - return x.LocalClock +func (m *ContactRequestPropagatedState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContactRequestPropagatedState.Unmarshal(m, b) +} +func (m *ContactRequestPropagatedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContactRequestPropagatedState.Marshal(b, m, deterministic) +} +func (m *ContactRequestPropagatedState) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContactRequestPropagatedState.Merge(m, src) +} +func (m *ContactRequestPropagatedState) XXX_Size() int { + return xxx_messageInfo_ContactRequestPropagatedState.Size(m) +} +func (m *ContactRequestPropagatedState) XXX_DiscardUnknown() { + xxx_messageInfo_ContactRequestPropagatedState.DiscardUnknown(m) +} + +var xxx_messageInfo_ContactRequestPropagatedState proto.InternalMessageInfo + +func (m *ContactRequestPropagatedState) GetLocalClock() uint64 { + if m != nil { + return m.LocalClock } return 0 } -func (x *ContactRequestPropagatedState) GetLocalState() uint64 { - if x != nil { - return x.LocalState +func (m *ContactRequestPropagatedState) GetLocalState() uint64 { + if m != nil { + return m.LocalState } return 0 } -func (x *ContactRequestPropagatedState) GetRemoteClock() uint64 { - if x != nil { - return x.RemoteClock +func (m *ContactRequestPropagatedState) GetRemoteClock() uint64 { + if m != nil { + return m.RemoteClock } return 0 } -func (x *ContactRequestPropagatedState) GetRemoteState() uint64 { - if x != nil { - return x.RemoteState +func (m *ContactRequestPropagatedState) GetRemoteState() uint64 { + if m != nil { + return m.RemoteState } return 0 } type ContactUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` ProfileImage string `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"` @@ -103,346 +91,212 @@ type ContactUpdate struct { ContactRequestClock uint64 `protobuf:"varint,5,opt,name=contact_request_clock,json=contactRequestClock,proto3" json:"contact_request_clock,omitempty"` ContactRequestPropagatedState *ContactRequestPropagatedState `protobuf:"bytes,6,opt,name=contact_request_propagated_state,json=contactRequestPropagatedState,proto3" json:"contact_request_propagated_state,omitempty"` PublicKey string `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ContactUpdate) Reset() { - *x = ContactUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContactUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContactUpdate) ProtoMessage() {} - -func (x *ContactUpdate) ProtoReflect() protoreflect.Message { - mi := &file_contact_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContactUpdate.ProtoReflect.Descriptor instead. +func (m *ContactUpdate) Reset() { *m = ContactUpdate{} } +func (m *ContactUpdate) String() string { return proto.CompactTextString(m) } +func (*ContactUpdate) ProtoMessage() {} func (*ContactUpdate) Descriptor() ([]byte, []int) { - return file_contact_proto_rawDescGZIP(), []int{1} + return fileDescriptor_a5036fff2565fb15, []int{1} } -func (x *ContactUpdate) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *ContactUpdate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContactUpdate.Unmarshal(m, b) +} +func (m *ContactUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContactUpdate.Marshal(b, m, deterministic) +} +func (m *ContactUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContactUpdate.Merge(m, src) +} +func (m *ContactUpdate) XXX_Size() int { + return xxx_messageInfo_ContactUpdate.Size(m) +} +func (m *ContactUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_ContactUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_ContactUpdate proto.InternalMessageInfo + +func (m *ContactUpdate) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *ContactUpdate) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *ContactUpdate) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *ContactUpdate) GetProfileImage() string { - if x != nil { - return x.ProfileImage +func (m *ContactUpdate) GetProfileImage() string { + if m != nil { + return m.ProfileImage } return "" } -func (x *ContactUpdate) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *ContactUpdate) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *ContactUpdate) GetContactRequestClock() uint64 { - if x != nil { - return x.ContactRequestClock +func (m *ContactUpdate) GetContactRequestClock() uint64 { + if m != nil { + return m.ContactRequestClock } return 0 } -func (x *ContactUpdate) GetContactRequestPropagatedState() *ContactRequestPropagatedState { - if x != nil { - return x.ContactRequestPropagatedState +func (m *ContactUpdate) GetContactRequestPropagatedState() *ContactRequestPropagatedState { + if m != nil { + return m.ContactRequestPropagatedState } return nil } -func (x *ContactUpdate) GetPublicKey() string { - if x != nil { - return x.PublicKey +func (m *ContactUpdate) GetPublicKey() string { + if m != nil { + return m.PublicKey } return "" } type AcceptContactRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AcceptContactRequest) Reset() { - *x = AcceptContactRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AcceptContactRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AcceptContactRequest) ProtoMessage() {} - -func (x *AcceptContactRequest) ProtoReflect() protoreflect.Message { - mi := &file_contact_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AcceptContactRequest.ProtoReflect.Descriptor instead. +func (m *AcceptContactRequest) Reset() { *m = AcceptContactRequest{} } +func (m *AcceptContactRequest) String() string { return proto.CompactTextString(m) } +func (*AcceptContactRequest) ProtoMessage() {} func (*AcceptContactRequest) Descriptor() ([]byte, []int) { - return file_contact_proto_rawDescGZIP(), []int{2} + return fileDescriptor_a5036fff2565fb15, []int{2} } -func (x *AcceptContactRequest) GetId() string { - if x != nil { - return x.Id +func (m *AcceptContactRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AcceptContactRequest.Unmarshal(m, b) +} +func (m *AcceptContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AcceptContactRequest.Marshal(b, m, deterministic) +} +func (m *AcceptContactRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptContactRequest.Merge(m, src) +} +func (m *AcceptContactRequest) XXX_Size() int { + return xxx_messageInfo_AcceptContactRequest.Size(m) +} +func (m *AcceptContactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptContactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptContactRequest proto.InternalMessageInfo + +func (m *AcceptContactRequest) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *AcceptContactRequest) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *AcceptContactRequest) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type RetractContactRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RetractContactRequest) Reset() { - *x = RetractContactRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RetractContactRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RetractContactRequest) ProtoMessage() {} - -func (x *RetractContactRequest) ProtoReflect() protoreflect.Message { - mi := &file_contact_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RetractContactRequest.ProtoReflect.Descriptor instead. +func (m *RetractContactRequest) Reset() { *m = RetractContactRequest{} } +func (m *RetractContactRequest) String() string { return proto.CompactTextString(m) } +func (*RetractContactRequest) ProtoMessage() {} func (*RetractContactRequest) Descriptor() ([]byte, []int) { - return file_contact_proto_rawDescGZIP(), []int{3} + return fileDescriptor_a5036fff2565fb15, []int{3} } -func (x *RetractContactRequest) GetId() string { - if x != nil { - return x.Id +func (m *RetractContactRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RetractContactRequest.Unmarshal(m, b) +} +func (m *RetractContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RetractContactRequest.Marshal(b, m, deterministic) +} +func (m *RetractContactRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RetractContactRequest.Merge(m, src) +} +func (m *RetractContactRequest) XXX_Size() int { + return xxx_messageInfo_RetractContactRequest.Size(m) +} +func (m *RetractContactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RetractContactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RetractContactRequest proto.InternalMessageInfo + +func (m *RetractContactRequest) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *RetractContactRequest) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *RetractContactRequest) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -var File_contact_proto protoreflect.FileDescriptor - -var file_contact_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xa7, 0x01, 0x0a, 0x1d, 0x43, 0x6f, - 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, - 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, - 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x22, 0xcd, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, - 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, - 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, - 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, - 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63, - 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x70, 0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x1d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, - 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x4b, 0x65, 0x79, 0x22, 0x3c, 0x0a, 0x14, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x22, 0x3d, 0x0a, 0x15, 0x52, 0x65, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*ContactRequestPropagatedState)(nil), "protobuf.ContactRequestPropagatedState") + proto.RegisterType((*ContactUpdate)(nil), "protobuf.ContactUpdate") + proto.RegisterType((*AcceptContactRequest)(nil), "protobuf.AcceptContactRequest") + proto.RegisterType((*RetractContactRequest)(nil), "protobuf.RetractContactRequest") } -var ( - file_contact_proto_rawDescOnce sync.Once - file_contact_proto_rawDescData = file_contact_proto_rawDesc -) - -func file_contact_proto_rawDescGZIP() []byte { - file_contact_proto_rawDescOnce.Do(func() { - file_contact_proto_rawDescData = protoimpl.X.CompressGZIP(file_contact_proto_rawDescData) - }) - return file_contact_proto_rawDescData +func init() { + proto.RegisterFile("contact.proto", fileDescriptor_a5036fff2565fb15) } -var file_contact_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_contact_proto_goTypes = []interface{}{ - (*ContactRequestPropagatedState)(nil), // 0: protobuf.ContactRequestPropagatedState - (*ContactUpdate)(nil), // 1: protobuf.ContactUpdate - (*AcceptContactRequest)(nil), // 2: protobuf.AcceptContactRequest - (*RetractContactRequest)(nil), // 3: protobuf.RetractContactRequest -} -var file_contact_proto_depIdxs = []int32{ - 0, // 0: protobuf.ContactUpdate.contact_request_propagated_state:type_name -> protobuf.ContactRequestPropagatedState - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_contact_proto_init() } -func file_contact_proto_init() { - if File_contact_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_contact_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactRequestPropagatedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contact_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contact_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AcceptContactRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contact_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RetractContactRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_contact_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_contact_proto_goTypes, - DependencyIndexes: file_contact_proto_depIdxs, - MessageInfos: file_contact_proto_msgTypes, - }.Build() - File_contact_proto = out.File - file_contact_proto_rawDesc = nil - file_contact_proto_goTypes = nil - file_contact_proto_depIdxs = nil +var fileDescriptor_a5036fff2565fb15 = []byte{ + // 348 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x51, 0x3f, 0x4f, 0xfb, 0x30, + 0x14, 0x54, 0xf2, 0xeb, 0xbf, 0xbc, 0x34, 0xbf, 0x21, 0xb4, 0x52, 0x19, 0x2a, 0x4a, 0x18, 0xe8, + 0x14, 0xa4, 0x32, 0x02, 0x03, 0x74, 0x42, 0x48, 0x08, 0x19, 0xb1, 0xb0, 0x44, 0xae, 0xf3, 0x5a, + 0x45, 0x4d, 0x62, 0xe3, 0xb8, 0x43, 0x3f, 0x11, 0x9f, 0x86, 0xef, 0x84, 0x62, 0xbb, 0x34, 0x65, + 0xe8, 0xc0, 0x94, 0xf8, 0x7c, 0xef, 0x7c, 0x77, 0x0f, 0x02, 0xc6, 0x4b, 0x45, 0x99, 0x8a, 0x85, + 0xe4, 0x8a, 0x87, 0x3d, 0xfd, 0x59, 0x6c, 0x96, 0xd1, 0xa7, 0x03, 0xe3, 0xb9, 0xb9, 0x23, 0xf8, + 0xb1, 0xc1, 0x4a, 0xbd, 0x48, 0x2e, 0xe8, 0x8a, 0x2a, 0x4c, 0x5f, 0x15, 0x55, 0x18, 0x9e, 0x81, + 0x9f, 0x73, 0x46, 0xf3, 0x84, 0xe5, 0x9c, 0xad, 0x47, 0xce, 0xc4, 0x99, 0xb6, 0x08, 0x68, 0x68, + 0x5e, 0x23, 0x7b, 0x42, 0x55, 0xf3, 0x47, 0x6e, 0x83, 0x60, 0x14, 0xce, 0xa1, 0x2f, 0xb1, 0xe0, + 0x0a, 0xad, 0xc4, 0x3f, 0xcd, 0xf0, 0x0d, 0x66, 0x34, 0xf6, 0x14, 0x23, 0xd2, 0x6a, 0x52, 0xb4, + 0x4a, 0xf4, 0xe5, 0x42, 0x60, 0x9d, 0xbe, 0x89, 0xb4, 0xd6, 0x1d, 0x40, 0xbb, 0xe9, 0xc9, 0x1c, + 0xc2, 0x53, 0xe8, 0x61, 0x59, 0x25, 0x25, 0x2d, 0x8c, 0x17, 0x8f, 0x74, 0xb1, 0xac, 0x9e, 0x69, + 0x81, 0xe1, 0x05, 0x04, 0x42, 0xf2, 0x65, 0x96, 0x63, 0x92, 0x15, 0x74, 0x85, 0xda, 0x89, 0x47, + 0xfa, 0x16, 0x7c, 0xac, 0xb1, 0xda, 0x4a, 0x9a, 0x55, 0x22, 0xa7, 0x5b, 0xa3, 0xd1, 0xd2, 0x1c, + 0xdf, 0x62, 0x5a, 0x67, 0x06, 0x43, 0xdb, 0x67, 0x22, 0x4d, 0x69, 0x36, 0x59, 0x5b, 0x1b, 0x39, + 0x61, 0x07, 0x85, 0x9a, 0x84, 0x02, 0x26, 0xbf, 0x67, 0xc4, 0x4f, 0xd3, 0x36, 0x75, 0x67, 0xe2, + 0x4c, 0xfd, 0xd9, 0x65, 0xbc, 0xdb, 0x4e, 0x7c, 0x74, 0x33, 0x64, 0xcc, 0x8e, 0x2e, 0x6e, 0x0c, + 0x20, 0x36, 0x8b, 0x3c, 0x63, 0xc9, 0x1a, 0xb7, 0xa3, 0xae, 0x8e, 0xe1, 0x19, 0xe4, 0x09, 0xb7, + 0xd1, 0x2d, 0x0c, 0xee, 0x19, 0x43, 0xa1, 0x0e, 0x1f, 0x09, 0xff, 0x83, 0x9b, 0xa5, 0xba, 0x52, + 0x8f, 0xb8, 0x59, 0xba, 0x6f, 0xd9, 0x6d, 0xb4, 0x1c, 0xdd, 0xc1, 0x90, 0xa0, 0x92, 0x94, 0xfd, + 0x69, 0xfc, 0x21, 0x78, 0xf7, 0xe3, 0xab, 0x9b, 0x5d, 0xce, 0x45, 0x47, 0xff, 0x5d, 0x7f, 0x07, + 0x00, 0x00, 0xff, 0xff, 0xec, 0x6f, 0x01, 0xce, 0xa7, 0x02, 0x00, 0x00, } diff --git a/protocol/protobuf/contact_verification.pb.go b/protocol/protobuf/contact_verification.pb.go index 44c129dcd..db8442919 100644 --- a/protocol/protobuf/contact_verification.pb.go +++ b/protocol/protobuf/contact_verification.pb.go @@ -1,380 +1,245 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: contact_verification.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type RequestContactVerification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Challenge string `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Challenge string `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RequestContactVerification) Reset() { - *x = RequestContactVerification{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_verification_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestContactVerification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestContactVerification) ProtoMessage() {} - -func (x *RequestContactVerification) ProtoReflect() protoreflect.Message { - mi := &file_contact_verification_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestContactVerification.ProtoReflect.Descriptor instead. +func (m *RequestContactVerification) Reset() { *m = RequestContactVerification{} } +func (m *RequestContactVerification) String() string { return proto.CompactTextString(m) } +func (*RequestContactVerification) ProtoMessage() {} func (*RequestContactVerification) Descriptor() ([]byte, []int) { - return file_contact_verification_proto_rawDescGZIP(), []int{0} + return fileDescriptor_d6997df64de39454, []int{0} } -func (x *RequestContactVerification) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *RequestContactVerification) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RequestContactVerification.Unmarshal(m, b) +} +func (m *RequestContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RequestContactVerification.Marshal(b, m, deterministic) +} +func (m *RequestContactVerification) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestContactVerification.Merge(m, src) +} +func (m *RequestContactVerification) XXX_Size() int { + return xxx_messageInfo_RequestContactVerification.Size(m) +} +func (m *RequestContactVerification) XXX_DiscardUnknown() { + xxx_messageInfo_RequestContactVerification.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestContactVerification proto.InternalMessageInfo + +func (m *RequestContactVerification) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *RequestContactVerification) GetChallenge() string { - if x != nil { - return x.Challenge +func (m *RequestContactVerification) GetChallenge() string { + if m != nil { + return m.Challenge } return "" } type AcceptContactVerification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *AcceptContactVerification) Reset() { - *x = AcceptContactVerification{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_verification_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AcceptContactVerification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AcceptContactVerification) ProtoMessage() {} - -func (x *AcceptContactVerification) ProtoReflect() protoreflect.Message { - mi := &file_contact_verification_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AcceptContactVerification.ProtoReflect.Descriptor instead. +func (m *AcceptContactVerification) Reset() { *m = AcceptContactVerification{} } +func (m *AcceptContactVerification) String() string { return proto.CompactTextString(m) } +func (*AcceptContactVerification) ProtoMessage() {} func (*AcceptContactVerification) Descriptor() ([]byte, []int) { - return file_contact_verification_proto_rawDescGZIP(), []int{1} + return fileDescriptor_d6997df64de39454, []int{1} } -func (x *AcceptContactVerification) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *AcceptContactVerification) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AcceptContactVerification.Unmarshal(m, b) +} +func (m *AcceptContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AcceptContactVerification.Marshal(b, m, deterministic) +} +func (m *AcceptContactVerification) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptContactVerification.Merge(m, src) +} +func (m *AcceptContactVerification) XXX_Size() int { + return xxx_messageInfo_AcceptContactVerification.Size(m) +} +func (m *AcceptContactVerification) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptContactVerification.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptContactVerification proto.InternalMessageInfo + +func (m *AcceptContactVerification) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *AcceptContactVerification) GetId() string { - if x != nil { - return x.Id +func (m *AcceptContactVerification) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *AcceptContactVerification) GetResponse() string { - if x != nil { - return x.Response +func (m *AcceptContactVerification) GetResponse() string { + if m != nil { + return m.Response } return "" } type DeclineContactVerification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *DeclineContactVerification) Reset() { - *x = DeclineContactVerification{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_verification_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeclineContactVerification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeclineContactVerification) ProtoMessage() {} - -func (x *DeclineContactVerification) ProtoReflect() protoreflect.Message { - mi := &file_contact_verification_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeclineContactVerification.ProtoReflect.Descriptor instead. +func (m *DeclineContactVerification) Reset() { *m = DeclineContactVerification{} } +func (m *DeclineContactVerification) String() string { return proto.CompactTextString(m) } +func (*DeclineContactVerification) ProtoMessage() {} func (*DeclineContactVerification) Descriptor() ([]byte, []int) { - return file_contact_verification_proto_rawDescGZIP(), []int{2} + return fileDescriptor_d6997df64de39454, []int{2} } -func (x *DeclineContactVerification) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *DeclineContactVerification) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeclineContactVerification.Unmarshal(m, b) +} +func (m *DeclineContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeclineContactVerification.Marshal(b, m, deterministic) +} +func (m *DeclineContactVerification) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeclineContactVerification.Merge(m, src) +} +func (m *DeclineContactVerification) XXX_Size() int { + return xxx_messageInfo_DeclineContactVerification.Size(m) +} +func (m *DeclineContactVerification) XXX_DiscardUnknown() { + xxx_messageInfo_DeclineContactVerification.DiscardUnknown(m) +} + +var xxx_messageInfo_DeclineContactVerification proto.InternalMessageInfo + +func (m *DeclineContactVerification) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *DeclineContactVerification) GetId() string { - if x != nil { - return x.Id +func (m *DeclineContactVerification) GetId() string { + if m != nil { + return m.Id } return "" } type CancelContactVerification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CancelContactVerification) Reset() { - *x = CancelContactVerification{} - if protoimpl.UnsafeEnabled { - mi := &file_contact_verification_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CancelContactVerification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelContactVerification) ProtoMessage() {} - -func (x *CancelContactVerification) ProtoReflect() protoreflect.Message { - mi := &file_contact_verification_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelContactVerification.ProtoReflect.Descriptor instead. +func (m *CancelContactVerification) Reset() { *m = CancelContactVerification{} } +func (m *CancelContactVerification) String() string { return proto.CompactTextString(m) } +func (*CancelContactVerification) ProtoMessage() {} func (*CancelContactVerification) Descriptor() ([]byte, []int) { - return file_contact_verification_proto_rawDescGZIP(), []int{3} + return fileDescriptor_d6997df64de39454, []int{3} } -func (x *CancelContactVerification) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CancelContactVerification) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CancelContactVerification.Unmarshal(m, b) +} +func (m *CancelContactVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CancelContactVerification.Marshal(b, m, deterministic) +} +func (m *CancelContactVerification) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelContactVerification.Merge(m, src) +} +func (m *CancelContactVerification) XXX_Size() int { + return xxx_messageInfo_CancelContactVerification.Size(m) +} +func (m *CancelContactVerification) XXX_DiscardUnknown() { + xxx_messageInfo_CancelContactVerification.DiscardUnknown(m) +} + +var xxx_messageInfo_CancelContactVerification proto.InternalMessageInfo + +func (m *CancelContactVerification) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CancelContactVerification) GetId() string { - if x != nil { - return x.Id +func (m *CancelContactVerification) GetId() string { + if m != nil { + return m.Id } return "" } -var File_contact_verification_proto protoreflect.FileDescriptor - -var file_contact_verification_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x50, 0x0a, 0x1a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, - 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, - 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x5d, 0x0a, 0x19, 0x41, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x0a, 0x1a, 0x44, 0x65, 0x63, 0x6c, 0x69, - 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x41, 0x0a, 0x19, 0x43, - 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0x0d, - 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*RequestContactVerification)(nil), "protobuf.RequestContactVerification") + proto.RegisterType((*AcceptContactVerification)(nil), "protobuf.AcceptContactVerification") + proto.RegisterType((*DeclineContactVerification)(nil), "protobuf.DeclineContactVerification") + proto.RegisterType((*CancelContactVerification)(nil), "protobuf.CancelContactVerification") } -var ( - file_contact_verification_proto_rawDescOnce sync.Once - file_contact_verification_proto_rawDescData = file_contact_verification_proto_rawDesc -) - -func file_contact_verification_proto_rawDescGZIP() []byte { - file_contact_verification_proto_rawDescOnce.Do(func() { - file_contact_verification_proto_rawDescData = protoimpl.X.CompressGZIP(file_contact_verification_proto_rawDescData) - }) - return file_contact_verification_proto_rawDescData +func init() { + proto.RegisterFile("contact_verification.proto", fileDescriptor_d6997df64de39454) } -var file_contact_verification_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_contact_verification_proto_goTypes = []interface{}{ - (*RequestContactVerification)(nil), // 0: protobuf.RequestContactVerification - (*AcceptContactVerification)(nil), // 1: protobuf.AcceptContactVerification - (*DeclineContactVerification)(nil), // 2: protobuf.DeclineContactVerification - (*CancelContactVerification)(nil), // 3: protobuf.CancelContactVerification -} -var file_contact_verification_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_contact_verification_proto_init() } -func file_contact_verification_proto_init() { - if File_contact_verification_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_contact_verification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestContactVerification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contact_verification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AcceptContactVerification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contact_verification_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeclineContactVerification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_contact_verification_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelContactVerification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_contact_verification_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_contact_verification_proto_goTypes, - DependencyIndexes: file_contact_verification_proto_depIdxs, - MessageInfos: file_contact_verification_proto_msgTypes, - }.Build() - File_contact_verification_proto = out.File - file_contact_verification_proto_rawDesc = nil - file_contact_verification_proto_goTypes = nil - file_contact_verification_proto_depIdxs = nil +var fileDescriptor_d6997df64de39454 = []byte{ + // 194 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xce, 0xcf, 0x2b, + 0x49, 0x4c, 0x2e, 0x89, 0x2f, 0x4b, 0x2d, 0xca, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0xc9, 0xcc, 0xcf, + 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0x01, 0x5c, + 0x52, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0xce, 0x10, 0xe5, 0x61, 0x48, 0xaa, 0x85, 0x44, + 0xb8, 0x58, 0x93, 0x73, 0xf2, 0x93, 0xb3, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0x20, 0x1c, + 0x21, 0x19, 0x2e, 0xce, 0xe4, 0x8c, 0xc4, 0x9c, 0x9c, 0xd4, 0xbc, 0xf4, 0x54, 0x09, 0x66, 0x05, + 0x46, 0x0d, 0xce, 0x20, 0x84, 0x80, 0x52, 0x2c, 0x97, 0xa4, 0x63, 0x72, 0x72, 0x6a, 0x01, 0x09, + 0x06, 0xf2, 0x71, 0x31, 0x65, 0xa6, 0x48, 0x30, 0x81, 0x4d, 0x62, 0xca, 0x4c, 0x11, 0x92, 0xe2, + 0xe2, 0x28, 0x4a, 0x2d, 0x2e, 0xc8, 0xcf, 0x2b, 0x86, 0x99, 0x0f, 0xe7, 0x2b, 0x39, 0x71, 0x49, + 0xb9, 0xa4, 0x26, 0xe7, 0x64, 0xe6, 0xa5, 0x92, 0x6d, 0xbe, 0x92, 0x23, 0x97, 0xa4, 0x73, 0x62, + 0x5e, 0x72, 0x6a, 0x0e, 0xd9, 0x46, 0x38, 0xf1, 0x46, 0x71, 0xeb, 0xe9, 0x5b, 0xc3, 0x82, 0x31, + 0x89, 0x0d, 0xcc, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x2b, 0x89, 0x8f, 0x75, 0x01, + 0x00, 0x00, } diff --git a/protocol/protobuf/emoji_reaction.pb.go b/protocol/protobuf/emoji_reaction.pb.go index 710c9426c..069147fca 100644 --- a/protocol/protobuf/emoji_reaction.pb.go +++ b/protocol/protobuf/emoji_reaction.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: emoji_reaction.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type EmojiReaction_Type int32 @@ -32,60 +32,35 @@ const ( EmojiReaction_ANGRY EmojiReaction_Type = 6 ) -// Enum value maps for EmojiReaction_Type. -var ( - EmojiReaction_Type_name = map[int32]string{ - 0: "UNKNOWN_EMOJI_REACTION_TYPE", - 1: "LOVE", - 2: "THUMBS_UP", - 3: "THUMBS_DOWN", - 4: "LAUGH", - 5: "SAD", - 6: "ANGRY", - } - EmojiReaction_Type_value = map[string]int32{ - "UNKNOWN_EMOJI_REACTION_TYPE": 0, - "LOVE": 1, - "THUMBS_UP": 2, - "THUMBS_DOWN": 3, - "LAUGH": 4, - "SAD": 5, - "ANGRY": 6, - } -) +var EmojiReaction_Type_name = map[int32]string{ + 0: "UNKNOWN_EMOJI_REACTION_TYPE", + 1: "LOVE", + 2: "THUMBS_UP", + 3: "THUMBS_DOWN", + 4: "LAUGH", + 5: "SAD", + 6: "ANGRY", +} -func (x EmojiReaction_Type) Enum() *EmojiReaction_Type { - p := new(EmojiReaction_Type) - *p = x - return p +var EmojiReaction_Type_value = map[string]int32{ + "UNKNOWN_EMOJI_REACTION_TYPE": 0, + "LOVE": 1, + "THUMBS_UP": 2, + "THUMBS_DOWN": 3, + "LAUGH": 4, + "SAD": 5, + "ANGRY": 6, } func (x EmojiReaction_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(EmojiReaction_Type_name, int32(x)) } -func (EmojiReaction_Type) Descriptor() protoreflect.EnumDescriptor { - return file_emoji_reaction_proto_enumTypes[0].Descriptor() -} - -func (EmojiReaction_Type) Type() protoreflect.EnumType { - return &file_emoji_reaction_proto_enumTypes[0] -} - -func (x EmojiReaction_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use EmojiReaction_Type.Descriptor instead. func (EmojiReaction_Type) EnumDescriptor() ([]byte, []int) { - return file_emoji_reaction_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_0a088c907bbc7ed6, []int{0, 0} } type EmojiReaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // clock Lamport timestamp of the chat message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // chat_id the ID of the chat the message belongs to, for query efficiency the chat_id is stored in the db even though the @@ -100,189 +75,116 @@ type EmojiReaction struct { // whether this is a rectraction of a previously sent emoji Retracted bool `protobuf:"varint,6,opt,name=retracted,proto3" json:"retracted,omitempty"` // Grant for organisation chat messages - Grant []byte `protobuf:"bytes,7,opt,name=grant,proto3" json:"grant,omitempty"` + Grant []byte `protobuf:"bytes,7,opt,name=grant,proto3" json:"grant,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *EmojiReaction) Reset() { - *x = EmojiReaction{} - if protoimpl.UnsafeEnabled { - mi := &file_emoji_reaction_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EmojiReaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EmojiReaction) ProtoMessage() {} - -func (x *EmojiReaction) ProtoReflect() protoreflect.Message { - mi := &file_emoji_reaction_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EmojiReaction.ProtoReflect.Descriptor instead. +func (m *EmojiReaction) Reset() { *m = EmojiReaction{} } +func (m *EmojiReaction) String() string { return proto.CompactTextString(m) } +func (*EmojiReaction) ProtoMessage() {} func (*EmojiReaction) Descriptor() ([]byte, []int) { - return file_emoji_reaction_proto_rawDescGZIP(), []int{0} + return fileDescriptor_0a088c907bbc7ed6, []int{0} } -func (x *EmojiReaction) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *EmojiReaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EmojiReaction.Unmarshal(m, b) +} +func (m *EmojiReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EmojiReaction.Marshal(b, m, deterministic) +} +func (m *EmojiReaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_EmojiReaction.Merge(m, src) +} +func (m *EmojiReaction) XXX_Size() int { + return xxx_messageInfo_EmojiReaction.Size(m) +} +func (m *EmojiReaction) XXX_DiscardUnknown() { + xxx_messageInfo_EmojiReaction.DiscardUnknown(m) +} + +var xxx_messageInfo_EmojiReaction proto.InternalMessageInfo + +func (m *EmojiReaction) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *EmojiReaction) GetChatId() string { - if x != nil { - return x.ChatId +func (m *EmojiReaction) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *EmojiReaction) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *EmojiReaction) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } -func (x *EmojiReaction) GetMessageType() MessageType { - if x != nil { - return x.MessageType +func (m *EmojiReaction) GetMessageType() MessageType { + if m != nil { + return m.MessageType } return MessageType_UNKNOWN_MESSAGE_TYPE } -func (x *EmojiReaction) GetType() EmojiReaction_Type { - if x != nil { - return x.Type +func (m *EmojiReaction) GetType() EmojiReaction_Type { + if m != nil { + return m.Type } return EmojiReaction_UNKNOWN_EMOJI_REACTION_TYPE } -func (x *EmojiReaction) GetRetracted() bool { - if x != nil { - return x.Retracted +func (m *EmojiReaction) GetRetracted() bool { + if m != nil { + return m.Retracted } return false } -func (x *EmojiReaction) GetGrant() []byte { - if x != nil { - return x.Grant +func (m *EmojiReaction) GetGrant() []byte { + if m != nil { + return m.Grant } return nil } -var File_emoji_reaction_proto protoreflect.FileDescriptor - -var file_emoji_reaction_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x1a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x02, - 0x0a, 0x0d, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1d, - 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, - 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0x70, 0x0a, - 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x5f, 0x45, 0x4d, 0x4f, 0x4a, 0x49, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x56, 0x45, 0x10, 0x01, - 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x55, 0x50, 0x10, 0x02, 0x12, - 0x0f, 0x0a, 0x0b, 0x54, 0x48, 0x55, 0x4d, 0x42, 0x53, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x03, - 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x55, 0x47, 0x48, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x53, - 0x41, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4e, 0x47, 0x52, 0x59, 0x10, 0x06, 0x42, - 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.EmojiReaction_Type", EmojiReaction_Type_name, EmojiReaction_Type_value) + proto.RegisterType((*EmojiReaction)(nil), "protobuf.EmojiReaction") } -var ( - file_emoji_reaction_proto_rawDescOnce sync.Once - file_emoji_reaction_proto_rawDescData = file_emoji_reaction_proto_rawDesc -) - -func file_emoji_reaction_proto_rawDescGZIP() []byte { - file_emoji_reaction_proto_rawDescOnce.Do(func() { - file_emoji_reaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_emoji_reaction_proto_rawDescData) - }) - return file_emoji_reaction_proto_rawDescData +func init() { + proto.RegisterFile("emoji_reaction.proto", fileDescriptor_0a088c907bbc7ed6) } -var file_emoji_reaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_emoji_reaction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_emoji_reaction_proto_goTypes = []interface{}{ - (EmojiReaction_Type)(0), // 0: protobuf.EmojiReaction.Type - (*EmojiReaction)(nil), // 1: protobuf.EmojiReaction - (MessageType)(0), // 2: protobuf.MessageType -} -var file_emoji_reaction_proto_depIdxs = []int32{ - 2, // 0: protobuf.EmojiReaction.message_type:type_name -> protobuf.MessageType - 0, // 1: protobuf.EmojiReaction.type:type_name -> protobuf.EmojiReaction.Type - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_emoji_reaction_proto_init() } -func file_emoji_reaction_proto_init() { - if File_emoji_reaction_proto != nil { - return - } - file_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_emoji_reaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmojiReaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_emoji_reaction_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_emoji_reaction_proto_goTypes, - DependencyIndexes: file_emoji_reaction_proto_depIdxs, - EnumInfos: file_emoji_reaction_proto_enumTypes, - MessageInfos: file_emoji_reaction_proto_msgTypes, - }.Build() - File_emoji_reaction_proto = out.File - file_emoji_reaction_proto_rawDesc = nil - file_emoji_reaction_proto_goTypes = nil - file_emoji_reaction_proto_depIdxs = nil +var fileDescriptor_0a088c907bbc7ed6 = []byte{ + // 330 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xcd, 0x6e, 0xaa, 0x40, + 0x14, 0xc7, 0x2f, 0x0a, 0x28, 0x07, 0xbd, 0x77, 0x32, 0xf1, 0xa6, 0xa4, 0xb5, 0x29, 0x71, 0xc5, + 0x8a, 0x36, 0xed, 0xa6, 0x49, 0x57, 0x58, 0x89, 0xd2, 0x2a, 0x98, 0x11, 0x6a, 0xec, 0x86, 0x20, + 0x4c, 0xad, 0x6d, 0x11, 0x82, 0xe3, 0xc2, 0xa7, 0xee, 0x2b, 0x34, 0x0c, 0x1a, 0xd3, 0xd5, 0xcc, + 0xef, 0xff, 0x91, 0x73, 0x0e, 0x74, 0x68, 0x9a, 0x7d, 0xac, 0xc3, 0x82, 0x46, 0x31, 0x5b, 0x67, + 0x1b, 0x33, 0x2f, 0x32, 0x96, 0xe1, 0x26, 0x7f, 0x96, 0xbb, 0xb7, 0x73, 0x95, 0x6e, 0x76, 0xe9, + 0xb6, 0x92, 0x7b, 0xdf, 0x35, 0x68, 0xdb, 0x65, 0x9e, 0x1c, 0xe2, 0xb8, 0x03, 0x52, 0xfc, 0x95, + 0xc5, 0x9f, 0x9a, 0xa0, 0x0b, 0x86, 0x48, 0x2a, 0xc0, 0x67, 0xd0, 0x88, 0xdf, 0x23, 0x16, 0xae, + 0x13, 0xad, 0xa6, 0x0b, 0x86, 0x42, 0xe4, 0x12, 0x9d, 0x04, 0x5f, 0x02, 0xa4, 0x74, 0xbb, 0x8d, + 0x56, 0xb4, 0xf4, 0xea, 0xdc, 0x53, 0x0e, 0x8a, 0x93, 0xe0, 0x7b, 0x68, 0x1d, 0x6d, 0xb6, 0xcf, + 0xa9, 0x26, 0xea, 0x82, 0xf1, 0xf7, 0xf6, 0xbf, 0x79, 0xdc, 0xc6, 0x9c, 0x54, 0xae, 0xbf, 0xcf, + 0x29, 0x51, 0xd3, 0x13, 0xe0, 0x1b, 0x10, 0x79, 0x43, 0xe2, 0x8d, 0xee, 0xa9, 0xf1, 0x6b, 0x5d, + 0x93, 0x17, 0x79, 0x12, 0x77, 0x41, 0x29, 0x28, 0x2b, 0xa2, 0x98, 0xd1, 0x44, 0x93, 0x75, 0xc1, + 0x68, 0x92, 0x93, 0x50, 0xde, 0xb5, 0x2a, 0xa2, 0x0d, 0xd3, 0x1a, 0xba, 0x60, 0xb4, 0x48, 0x05, + 0xbd, 0x1c, 0x44, 0x3e, 0xed, 0x0a, 0x2e, 0x02, 0xf7, 0xd9, 0xf5, 0xe6, 0x6e, 0x68, 0x4f, 0xbc, + 0x27, 0x27, 0x24, 0xb6, 0xf5, 0xe8, 0x3b, 0x9e, 0x1b, 0xfa, 0x8b, 0xa9, 0x8d, 0xfe, 0xe0, 0x26, + 0x88, 0x63, 0xef, 0xc5, 0x46, 0x02, 0x6e, 0x83, 0xe2, 0x8f, 0x82, 0x49, 0x7f, 0x16, 0x06, 0x53, + 0x54, 0xc3, 0xff, 0x40, 0x3d, 0xe0, 0xc0, 0x9b, 0xbb, 0xa8, 0x8e, 0x15, 0x90, 0xc6, 0x56, 0x30, + 0x1c, 0x21, 0x11, 0x37, 0xa0, 0x3e, 0xb3, 0x06, 0x48, 0x2a, 0x35, 0xcb, 0x1d, 0x92, 0x05, 0x92, + 0xfb, 0xed, 0x57, 0xd5, 0xbc, 0x7e, 0x38, 0x5e, 0xb3, 0x94, 0xf9, 0xef, 0xee, 0x27, 0x00, 0x00, + 0xff, 0xff, 0x7e, 0x57, 0x12, 0xd9, 0xb6, 0x01, 0x00, 0x00, } diff --git a/protocol/protobuf/enums.pb.go b/protocol/protobuf/enums.pb.go index 78cc7607b..62121fc53 100644 --- a/protocol/protobuf/enums.pb.go +++ b/protocol/protobuf/enums.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: enums.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type MessageType int32 @@ -34,53 +34,32 @@ const ( MessageType_SYSTEM_MESSAGE_GAP MessageType = 6 ) -// Enum value maps for MessageType. -var ( - MessageType_name = map[int32]string{ - 0: "UNKNOWN_MESSAGE_TYPE", - 1: "ONE_TO_ONE", - 2: "PUBLIC_GROUP", - 3: "PRIVATE_GROUP", - 4: "SYSTEM_MESSAGE_PRIVATE_GROUP", - 5: "COMMUNITY_CHAT", - 6: "SYSTEM_MESSAGE_GAP", - } - MessageType_value = map[string]int32{ - "UNKNOWN_MESSAGE_TYPE": 0, - "ONE_TO_ONE": 1, - "PUBLIC_GROUP": 2, - "PRIVATE_GROUP": 3, - "SYSTEM_MESSAGE_PRIVATE_GROUP": 4, - "COMMUNITY_CHAT": 5, - "SYSTEM_MESSAGE_GAP": 6, - } -) +var MessageType_name = map[int32]string{ + 0: "UNKNOWN_MESSAGE_TYPE", + 1: "ONE_TO_ONE", + 2: "PUBLIC_GROUP", + 3: "PRIVATE_GROUP", + 4: "SYSTEM_MESSAGE_PRIVATE_GROUP", + 5: "COMMUNITY_CHAT", + 6: "SYSTEM_MESSAGE_GAP", +} -func (x MessageType) Enum() *MessageType { - p := new(MessageType) - *p = x - return p +var MessageType_value = map[string]int32{ + "UNKNOWN_MESSAGE_TYPE": 0, + "ONE_TO_ONE": 1, + "PUBLIC_GROUP": 2, + "PRIVATE_GROUP": 3, + "SYSTEM_MESSAGE_PRIVATE_GROUP": 4, + "COMMUNITY_CHAT": 5, + "SYSTEM_MESSAGE_GAP": 6, } func (x MessageType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(MessageType_name, int32(x)) } -func (MessageType) Descriptor() protoreflect.EnumDescriptor { - return file_enums_proto_enumTypes[0].Descriptor() -} - -func (MessageType) Type() protoreflect.EnumType { - return &file_enums_proto_enumTypes[0] -} - -func (x MessageType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MessageType.Descriptor instead. func (MessageType) EnumDescriptor() ([]byte, []int) { - return file_enums_proto_rawDescGZIP(), []int{0} + return fileDescriptor_888b6bd9597961ff, []int{0} } type ImageType int32 @@ -94,49 +73,28 @@ const ( ImageType_GIF ImageType = 4 ) -// Enum value maps for ImageType. -var ( - ImageType_name = map[int32]string{ - 0: "UNKNOWN_IMAGE_TYPE", - 1: "PNG", - 2: "JPEG", - 3: "WEBP", - 4: "GIF", - } - ImageType_value = map[string]int32{ - "UNKNOWN_IMAGE_TYPE": 0, - "PNG": 1, - "JPEG": 2, - "WEBP": 3, - "GIF": 4, - } -) +var ImageType_name = map[int32]string{ + 0: "UNKNOWN_IMAGE_TYPE", + 1: "PNG", + 2: "JPEG", + 3: "WEBP", + 4: "GIF", +} -func (x ImageType) Enum() *ImageType { - p := new(ImageType) - *p = x - return p +var ImageType_value = map[string]int32{ + "UNKNOWN_IMAGE_TYPE": 0, + "PNG": 1, + "JPEG": 2, + "WEBP": 3, + "GIF": 4, } func (x ImageType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(ImageType_name, int32(x)) } -func (ImageType) Descriptor() protoreflect.EnumDescriptor { - return file_enums_proto_enumTypes[1].Descriptor() -} - -func (ImageType) Type() protoreflect.EnumType { - return &file_enums_proto_enumTypes[1] -} - -func (x ImageType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ImageType.Descriptor instead. func (ImageType) EnumDescriptor() ([]byte, []int) { - return file_enums_proto_rawDescGZIP(), []int{1} + return fileDescriptor_888b6bd9597961ff, []int{1} } type CommunityTokenType int32 @@ -148,125 +106,56 @@ const ( CommunityTokenType_ENS CommunityTokenType = 3 ) -// Enum value maps for CommunityTokenType. -var ( - CommunityTokenType_name = map[int32]string{ - 0: "UNKNOWN_TOKEN_TYPE", - 1: "ERC20", - 2: "ERC721", - 3: "ENS", - } - CommunityTokenType_value = map[string]int32{ - "UNKNOWN_TOKEN_TYPE": 0, - "ERC20": 1, - "ERC721": 2, - "ENS": 3, - } -) +var CommunityTokenType_name = map[int32]string{ + 0: "UNKNOWN_TOKEN_TYPE", + 1: "ERC20", + 2: "ERC721", + 3: "ENS", +} -func (x CommunityTokenType) Enum() *CommunityTokenType { - p := new(CommunityTokenType) - *p = x - return p +var CommunityTokenType_value = map[string]int32{ + "UNKNOWN_TOKEN_TYPE": 0, + "ERC20": 1, + "ERC721": 2, + "ENS": 3, } func (x CommunityTokenType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityTokenType_name, int32(x)) } -func (CommunityTokenType) Descriptor() protoreflect.EnumDescriptor { - return file_enums_proto_enumTypes[2].Descriptor() -} - -func (CommunityTokenType) Type() protoreflect.EnumType { - return &file_enums_proto_enumTypes[2] -} - -func (x CommunityTokenType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityTokenType.Descriptor instead. func (CommunityTokenType) EnumDescriptor() ([]byte, []int) { - return file_enums_proto_rawDescGZIP(), []int{2} + return fileDescriptor_888b6bd9597961ff, []int{2} } -var File_enums_proto protoreflect.FileDescriptor - -var file_enums_proto_rawDesc = []byte{ - 0x0a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2a, 0xaa, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, - 0x57, 0x4e, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, - 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x4e, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x4f, 0x4e, 0x45, 0x10, - 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x47, 0x52, 0x4f, 0x55, - 0x50, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x47, - 0x52, 0x4f, 0x55, 0x50, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, - 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, - 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d, - 0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, - 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x47, - 0x41, 0x50, 0x10, 0x06, 0x2a, 0x49, 0x0a, 0x09, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49, 0x4d, 0x41, - 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x4e, 0x47, - 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, - 0x57, 0x45, 0x42, 0x50, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x49, 0x46, 0x10, 0x04, 0x2a, - 0x4c, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, - 0x05, 0x45, 0x52, 0x43, 0x32, 0x30, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x52, 0x43, 0x37, - 0x32, 0x31, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x53, 0x10, 0x03, 0x42, 0x0d, 0x5a, - 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value) + proto.RegisterEnum("protobuf.ImageType", ImageType_name, ImageType_value) + proto.RegisterEnum("protobuf.CommunityTokenType", CommunityTokenType_name, CommunityTokenType_value) } -var ( - file_enums_proto_rawDescOnce sync.Once - file_enums_proto_rawDescData = file_enums_proto_rawDesc -) - -func file_enums_proto_rawDescGZIP() []byte { - file_enums_proto_rawDescOnce.Do(func() { - file_enums_proto_rawDescData = protoimpl.X.CompressGZIP(file_enums_proto_rawDescData) - }) - return file_enums_proto_rawDescData +func init() { + proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff) } -var file_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_enums_proto_goTypes = []interface{}{ - (MessageType)(0), // 0: protobuf.MessageType - (ImageType)(0), // 1: protobuf.ImageType - (CommunityTokenType)(0), // 2: protobuf.CommunityTokenType -} -var file_enums_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_enums_proto_init() } -func file_enums_proto_init() { - if File_enums_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_enums_proto_rawDesc, - NumEnums: 3, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_enums_proto_goTypes, - DependencyIndexes: file_enums_proto_depIdxs, - EnumInfos: file_enums_proto_enumTypes, - }.Build() - File_enums_proto = out.File - file_enums_proto_rawDesc = nil - file_enums_proto_goTypes = nil - file_enums_proto_depIdxs = nil +var fileDescriptor_888b6bd9597961ff = []byte{ + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x4d, 0x4f, 0xc2, 0x40, + 0x10, 0x86, 0x2d, 0xe5, 0x73, 0x10, 0x32, 0x4e, 0x0c, 0xf1, 0xe0, 0xc1, 0x33, 0x07, 0x54, 0x3c, + 0x78, 0xf0, 0x54, 0x9a, 0xb1, 0xae, 0xb0, 0x1f, 0x69, 0xb7, 0x12, 0xbc, 0x6c, 0x24, 0xa9, 0xc6, + 0x98, 0x52, 0x22, 0x70, 0xe0, 0x2f, 0xf9, 0x2b, 0x0d, 0xc4, 0x1a, 0xe5, 0x34, 0x6f, 0x26, 0x33, + 0x4f, 0x9e, 0xbc, 0xd0, 0xce, 0x16, 0x9b, 0x7c, 0x35, 0x58, 0x7e, 0x16, 0xeb, 0x82, 0x9a, 0xfb, + 0x31, 0xdf, 0xbc, 0xf6, 0xbf, 0x3c, 0x68, 0xcb, 0x6c, 0xb5, 0x7a, 0x79, 0xcb, 0xec, 0x76, 0x99, + 0xd1, 0x19, 0x9c, 0xa6, 0x6a, 0xac, 0xf4, 0x54, 0x39, 0xc9, 0x49, 0x12, 0x44, 0xec, 0xec, 0xcc, + 0x30, 0x1e, 0x51, 0x17, 0x40, 0x2b, 0x76, 0x56, 0x3b, 0xad, 0x18, 0x3d, 0x42, 0x38, 0x36, 0xe9, + 0x68, 0x22, 0x42, 0x17, 0xc5, 0x3a, 0x35, 0x58, 0xa1, 0x13, 0xe8, 0x98, 0x58, 0x3c, 0x05, 0x96, + 0x7f, 0x56, 0x3e, 0x5d, 0xc0, 0x79, 0x32, 0x4b, 0x2c, 0xcb, 0x5f, 0xda, 0xff, 0x8b, 0x2a, 0x11, + 0x74, 0x43, 0x2d, 0x65, 0xaa, 0x84, 0x9d, 0xb9, 0xf0, 0x21, 0xb0, 0x58, 0xa3, 0x1e, 0xd0, 0xc1, + 0x57, 0x14, 0x18, 0xac, 0xf7, 0x05, 0xb4, 0x44, 0x5e, 0x9a, 0xf6, 0x80, 0x4a, 0x53, 0x21, 0xff, + 0x78, 0x36, 0xc0, 0x37, 0x2a, 0x42, 0x8f, 0x9a, 0x50, 0x7d, 0x34, 0x1c, 0x61, 0x65, 0x97, 0xa6, + 0x3c, 0xda, 0xf9, 0x34, 0xc0, 0x8f, 0xc4, 0x3d, 0x56, 0xfb, 0x13, 0xa0, 0xb0, 0xc8, 0xf3, 0xcd, + 0xe2, 0x7d, 0xbd, 0xb5, 0xc5, 0x47, 0xb6, 0x38, 0x64, 0x5a, 0x3d, 0x66, 0x55, 0x32, 0x5b, 0x50, + 0xe3, 0x38, 0x1c, 0x5e, 0xa1, 0x47, 0x00, 0x75, 0x8e, 0xc3, 0xdb, 0xe1, 0x35, 0x56, 0x76, 0x34, + 0x56, 0x09, 0xfa, 0xa3, 0xce, 0x73, 0x7b, 0x70, 0x79, 0x57, 0x96, 0x3a, 0xaf, 0xef, 0xd3, 0xcd, + 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0xd8, 0x58, 0xde, 0x74, 0x01, 0x00, 0x00, } diff --git a/protocol/protobuf/group_chat_invitation.pb.go b/protocol/protobuf/group_chat_invitation.pb.go index ed1a98a2d..fffce089d 100644 --- a/protocol/protobuf/group_chat_invitation.pb.go +++ b/protocol/protobuf/group_chat_invitation.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: group_chat_invitation.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GroupChatInvitation_State int32 @@ -29,54 +29,29 @@ const ( GroupChatInvitation_APPROVED GroupChatInvitation_State = 3 ) -// Enum value maps for GroupChatInvitation_State. -var ( - GroupChatInvitation_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "REQUEST", - 2: "REJECTED", - 3: "APPROVED", - } - GroupChatInvitation_State_value = map[string]int32{ - "UNKNOWN": 0, - "REQUEST": 1, - "REJECTED": 2, - "APPROVED": 3, - } -) +var GroupChatInvitation_State_name = map[int32]string{ + 0: "UNKNOWN", + 1: "REQUEST", + 2: "REJECTED", + 3: "APPROVED", +} -func (x GroupChatInvitation_State) Enum() *GroupChatInvitation_State { - p := new(GroupChatInvitation_State) - *p = x - return p +var GroupChatInvitation_State_value = map[string]int32{ + "UNKNOWN": 0, + "REQUEST": 1, + "REJECTED": 2, + "APPROVED": 3, } func (x GroupChatInvitation_State) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(GroupChatInvitation_State_name, int32(x)) } -func (GroupChatInvitation_State) Descriptor() protoreflect.EnumDescriptor { - return file_group_chat_invitation_proto_enumTypes[0].Descriptor() -} - -func (GroupChatInvitation_State) Type() protoreflect.EnumType { - return &file_group_chat_invitation_proto_enumTypes[0] -} - -func (x GroupChatInvitation_State) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GroupChatInvitation_State.Descriptor instead. func (GroupChatInvitation_State) EnumDescriptor() ([]byte, []int) { - return file_group_chat_invitation_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_a6a73333de6a8ebe, []int{0, 0} } type GroupChatInvitation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // clock Lamport timestamp of the chat message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // chat_id the ID of the private group chat the message belongs to, for query efficiency the chat_id is stored in the db even though the @@ -84,157 +59,90 @@ type GroupChatInvitation struct { ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` IntroductionMessage string `protobuf:"bytes,3,opt,name=introduction_message,json=introductionMessage,proto3" json:"introduction_message,omitempty"` // state of invitation - State GroupChatInvitation_State `protobuf:"varint,4,opt,name=state,proto3,enum=protobuf.GroupChatInvitation_State" json:"state,omitempty"` + State GroupChatInvitation_State `protobuf:"varint,4,opt,name=state,proto3,enum=protobuf.GroupChatInvitation_State" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *GroupChatInvitation) Reset() { - *x = GroupChatInvitation{} - if protoimpl.UnsafeEnabled { - mi := &file_group_chat_invitation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupChatInvitation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupChatInvitation) ProtoMessage() {} - -func (x *GroupChatInvitation) ProtoReflect() protoreflect.Message { - mi := &file_group_chat_invitation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupChatInvitation.ProtoReflect.Descriptor instead. +func (m *GroupChatInvitation) Reset() { *m = GroupChatInvitation{} } +func (m *GroupChatInvitation) String() string { return proto.CompactTextString(m) } +func (*GroupChatInvitation) ProtoMessage() {} func (*GroupChatInvitation) Descriptor() ([]byte, []int) { - return file_group_chat_invitation_proto_rawDescGZIP(), []int{0} + return fileDescriptor_a6a73333de6a8ebe, []int{0} } -func (x *GroupChatInvitation) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *GroupChatInvitation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GroupChatInvitation.Unmarshal(m, b) +} +func (m *GroupChatInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GroupChatInvitation.Marshal(b, m, deterministic) +} +func (m *GroupChatInvitation) XXX_Merge(src proto.Message) { + xxx_messageInfo_GroupChatInvitation.Merge(m, src) +} +func (m *GroupChatInvitation) XXX_Size() int { + return xxx_messageInfo_GroupChatInvitation.Size(m) +} +func (m *GroupChatInvitation) XXX_DiscardUnknown() { + xxx_messageInfo_GroupChatInvitation.DiscardUnknown(m) +} + +var xxx_messageInfo_GroupChatInvitation proto.InternalMessageInfo + +func (m *GroupChatInvitation) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *GroupChatInvitation) GetChatId() string { - if x != nil { - return x.ChatId +func (m *GroupChatInvitation) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *GroupChatInvitation) GetIntroductionMessage() string { - if x != nil { - return x.IntroductionMessage +func (m *GroupChatInvitation) GetIntroductionMessage() string { + if m != nil { + return m.IntroductionMessage } return "" } -func (x *GroupChatInvitation) GetState() GroupChatInvitation_State { - if x != nil { - return x.State +func (m *GroupChatInvitation) GetState() GroupChatInvitation_State { + if m != nil { + return m.State } return GroupChatInvitation_UNKNOWN } -var File_group_chat_invitation_proto protoreflect.FileDescriptor - -var file_group_chat_invitation_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x76, - 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xf1, 0x01, 0x0a, 0x13, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x31, - 0x0a, 0x14, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x69, 0x6e, - 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x43, 0x68, 0x61, 0x74, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3d, 0x0a, 0x05, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, - 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x03, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, - 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.GroupChatInvitation_State", GroupChatInvitation_State_name, GroupChatInvitation_State_value) + proto.RegisterType((*GroupChatInvitation)(nil), "protobuf.GroupChatInvitation") } -var ( - file_group_chat_invitation_proto_rawDescOnce sync.Once - file_group_chat_invitation_proto_rawDescData = file_group_chat_invitation_proto_rawDesc -) - -func file_group_chat_invitation_proto_rawDescGZIP() []byte { - file_group_chat_invitation_proto_rawDescOnce.Do(func() { - file_group_chat_invitation_proto_rawDescData = protoimpl.X.CompressGZIP(file_group_chat_invitation_proto_rawDescData) - }) - return file_group_chat_invitation_proto_rawDescData +func init() { + proto.RegisterFile("group_chat_invitation.proto", fileDescriptor_a6a73333de6a8ebe) } -var file_group_chat_invitation_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_group_chat_invitation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_group_chat_invitation_proto_goTypes = []interface{}{ - (GroupChatInvitation_State)(0), // 0: protobuf.GroupChatInvitation.State - (*GroupChatInvitation)(nil), // 1: protobuf.GroupChatInvitation -} -var file_group_chat_invitation_proto_depIdxs = []int32{ - 0, // 0: protobuf.GroupChatInvitation.state:type_name -> protobuf.GroupChatInvitation.State - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_group_chat_invitation_proto_init() } -func file_group_chat_invitation_proto_init() { - if File_group_chat_invitation_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_group_chat_invitation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupChatInvitation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_group_chat_invitation_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_group_chat_invitation_proto_goTypes, - DependencyIndexes: file_group_chat_invitation_proto_depIdxs, - EnumInfos: file_group_chat_invitation_proto_enumTypes, - MessageInfos: file_group_chat_invitation_proto_msgTypes, - }.Build() - File_group_chat_invitation_proto = out.File - file_group_chat_invitation_proto_rawDesc = nil - file_group_chat_invitation_proto_goTypes = nil - file_group_chat_invitation_proto_depIdxs = nil +var fileDescriptor_a6a73333de6a8ebe = []byte{ + // 243 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0x2f, 0xca, 0x2f, + 0x2d, 0x88, 0x4f, 0xce, 0x48, 0x2c, 0x89, 0xcf, 0xcc, 0x2b, 0xcb, 0x2c, 0x49, 0x2c, 0xc9, 0xcc, + 0xcf, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0x1f, + 0x19, 0xb9, 0x84, 0xdd, 0x41, 0x2a, 0x9d, 0x33, 0x12, 0x4b, 0x3c, 0xe1, 0xea, 0x84, 0x44, 0xb8, + 0x58, 0x93, 0x73, 0xf2, 0x93, 0xb3, 0x25, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0x20, 0x1c, 0x21, + 0x71, 0x2e, 0x76, 0x88, 0x81, 0x29, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x6c, 0x20, 0xae, + 0x67, 0x8a, 0x90, 0x21, 0x97, 0x48, 0x66, 0x5e, 0x49, 0x51, 0x7e, 0x4a, 0x69, 0x32, 0x48, 0x7b, + 0x7c, 0x6e, 0x6a, 0x71, 0x71, 0x62, 0x7a, 0xaa, 0x04, 0x33, 0x58, 0x95, 0x30, 0xb2, 0x9c, 0x2f, + 0x44, 0x4a, 0xc8, 0x92, 0x8b, 0xb5, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0x82, 0x45, 0x81, 0x51, 0x83, + 0xcf, 0x48, 0x59, 0x0f, 0xe6, 0x26, 0x3d, 0x2c, 0xee, 0xd1, 0x0b, 0x06, 0x29, 0x0d, 0x82, 0xe8, + 0x50, 0xb2, 0xe5, 0x62, 0x05, 0xf3, 0x85, 0xb8, 0xb9, 0xd8, 0x43, 0xfd, 0xbc, 0xfd, 0xfc, 0xc3, + 0xfd, 0x04, 0x18, 0x40, 0x9c, 0x20, 0xd7, 0xc0, 0x50, 0xd7, 0xe0, 0x10, 0x01, 0x46, 0x21, 0x1e, + 0x2e, 0x8e, 0x20, 0x57, 0x2f, 0x57, 0xe7, 0x10, 0x57, 0x17, 0x01, 0x26, 0x10, 0xcf, 0x31, 0x20, + 0x20, 0xc8, 0x3f, 0xcc, 0xd5, 0x45, 0x80, 0xd9, 0x89, 0x37, 0x8a, 0x5b, 0x4f, 0xdf, 0x1a, 0x66, + 0x5d, 0x12, 0x1b, 0x98, 0x65, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x4c, 0x19, 0xcd, 0x32, + 0x01, 0x00, 0x00, } diff --git a/protocol/protobuf/membership_update_message.pb.go b/protocol/protobuf/membership_update_message.pb.go index 27cd0a0ba..f49cfcd0e 100644 --- a/protocol/protobuf/membership_update_message.pb.go +++ b/protocol/protobuf/membership_update_message.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: membership_update_message.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type MembershipUpdateEvent_EventType int32 @@ -35,66 +35,41 @@ const ( MembershipUpdateEvent_IMAGE_CHANGED MembershipUpdateEvent_EventType = 9 ) -// Enum value maps for MembershipUpdateEvent_EventType. -var ( - MembershipUpdateEvent_EventType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CHAT_CREATED", - 2: "NAME_CHANGED", - 3: "MEMBERS_ADDED", - 4: "MEMBER_JOINED", - 5: "MEMBER_REMOVED", - 6: "ADMINS_ADDED", - 7: "ADMIN_REMOVED", - 8: "COLOR_CHANGED", - 9: "IMAGE_CHANGED", - } - MembershipUpdateEvent_EventType_value = map[string]int32{ - "UNKNOWN": 0, - "CHAT_CREATED": 1, - "NAME_CHANGED": 2, - "MEMBERS_ADDED": 3, - "MEMBER_JOINED": 4, - "MEMBER_REMOVED": 5, - "ADMINS_ADDED": 6, - "ADMIN_REMOVED": 7, - "COLOR_CHANGED": 8, - "IMAGE_CHANGED": 9, - } -) +var MembershipUpdateEvent_EventType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CHAT_CREATED", + 2: "NAME_CHANGED", + 3: "MEMBERS_ADDED", + 4: "MEMBER_JOINED", + 5: "MEMBER_REMOVED", + 6: "ADMINS_ADDED", + 7: "ADMIN_REMOVED", + 8: "COLOR_CHANGED", + 9: "IMAGE_CHANGED", +} -func (x MembershipUpdateEvent_EventType) Enum() *MembershipUpdateEvent_EventType { - p := new(MembershipUpdateEvent_EventType) - *p = x - return p +var MembershipUpdateEvent_EventType_value = map[string]int32{ + "UNKNOWN": 0, + "CHAT_CREATED": 1, + "NAME_CHANGED": 2, + "MEMBERS_ADDED": 3, + "MEMBER_JOINED": 4, + "MEMBER_REMOVED": 5, + "ADMINS_ADDED": 6, + "ADMIN_REMOVED": 7, + "COLOR_CHANGED": 8, + "IMAGE_CHANGED": 9, } func (x MembershipUpdateEvent_EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(MembershipUpdateEvent_EventType_name, int32(x)) } -func (MembershipUpdateEvent_EventType) Descriptor() protoreflect.EnumDescriptor { - return file_membership_update_message_proto_enumTypes[0].Descriptor() -} - -func (MembershipUpdateEvent_EventType) Type() protoreflect.EnumType { - return &file_membership_update_message_proto_enumTypes[0] -} - -func (x MembershipUpdateEvent_EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MembershipUpdateEvent_EventType.Descriptor instead. func (MembershipUpdateEvent_EventType) EnumDescriptor() ([]byte, []int) { - return file_membership_update_message_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_8d37dd0dc857a6be, []int{0, 0} } type MembershipUpdateEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Lamport timestamp of the event Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // List of public keys of objects of the action @@ -106,79 +81,75 @@ type MembershipUpdateEvent struct { // Color of the chat for the CHAT_CREATED/COLOR_CHANGED event types Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` // Chat image - Image []byte `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` + Image []byte `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MembershipUpdateEvent) Reset() { - *x = MembershipUpdateEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_membership_update_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MembershipUpdateEvent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MembershipUpdateEvent) ProtoMessage() {} - -func (x *MembershipUpdateEvent) ProtoReflect() protoreflect.Message { - mi := &file_membership_update_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MembershipUpdateEvent.ProtoReflect.Descriptor instead. +func (m *MembershipUpdateEvent) Reset() { *m = MembershipUpdateEvent{} } +func (m *MembershipUpdateEvent) String() string { return proto.CompactTextString(m) } +func (*MembershipUpdateEvent) ProtoMessage() {} func (*MembershipUpdateEvent) Descriptor() ([]byte, []int) { - return file_membership_update_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_8d37dd0dc857a6be, []int{0} } -func (x *MembershipUpdateEvent) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *MembershipUpdateEvent) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MembershipUpdateEvent.Unmarshal(m, b) +} +func (m *MembershipUpdateEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MembershipUpdateEvent.Marshal(b, m, deterministic) +} +func (m *MembershipUpdateEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_MembershipUpdateEvent.Merge(m, src) +} +func (m *MembershipUpdateEvent) XXX_Size() int { + return xxx_messageInfo_MembershipUpdateEvent.Size(m) +} +func (m *MembershipUpdateEvent) XXX_DiscardUnknown() { + xxx_messageInfo_MembershipUpdateEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_MembershipUpdateEvent proto.InternalMessageInfo + +func (m *MembershipUpdateEvent) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *MembershipUpdateEvent) GetMembers() []string { - if x != nil { - return x.Members +func (m *MembershipUpdateEvent) GetMembers() []string { + if m != nil { + return m.Members } return nil } -func (x *MembershipUpdateEvent) GetName() string { - if x != nil { - return x.Name +func (m *MembershipUpdateEvent) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *MembershipUpdateEvent) GetType() MembershipUpdateEvent_EventType { - if x != nil { - return x.Type +func (m *MembershipUpdateEvent) GetType() MembershipUpdateEvent_EventType { + if m != nil { + return m.Type } return MembershipUpdateEvent_UNKNOWN } -func (x *MembershipUpdateEvent) GetColor() string { - if x != nil { - return x.Color +func (m *MembershipUpdateEvent) GetColor() string { + if m != nil { + return m.Color } return "" } -func (x *MembershipUpdateEvent) GetImage() []byte { - if x != nil { - return x.Image +func (m *MembershipUpdateEvent) GetImage() []byte { + if m != nil { + return m.Image } return nil } @@ -187,10 +158,6 @@ func (x *MembershipUpdateEvent) GetImage() []byte { // about group membership changes. // For more information, see https://github.com/status-im/specs/blob/master/status-group-chats-spec.md. type MembershipUpdateMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // The chat id of the private group chat ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // A list of events for this group chat, first x bytes are the signature, then is a @@ -198,76 +165,51 @@ type MembershipUpdateMessage struct { Events [][]byte `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` // An optional chat message // - // Types that are assignable to ChatEntity: + // Types that are valid to be assigned to ChatEntity: // // *MembershipUpdateMessage_Message // *MembershipUpdateMessage_EmojiReaction - ChatEntity isMembershipUpdateMessage_ChatEntity `protobuf_oneof:"chat_entity"` + ChatEntity isMembershipUpdateMessage_ChatEntity `protobuf_oneof:"chat_entity"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MembershipUpdateMessage) Reset() { - *x = MembershipUpdateMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_membership_update_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MembershipUpdateMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MembershipUpdateMessage) ProtoMessage() {} - -func (x *MembershipUpdateMessage) ProtoReflect() protoreflect.Message { - mi := &file_membership_update_message_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MembershipUpdateMessage.ProtoReflect.Descriptor instead. +func (m *MembershipUpdateMessage) Reset() { *m = MembershipUpdateMessage{} } +func (m *MembershipUpdateMessage) String() string { return proto.CompactTextString(m) } +func (*MembershipUpdateMessage) ProtoMessage() {} func (*MembershipUpdateMessage) Descriptor() ([]byte, []int) { - return file_membership_update_message_proto_rawDescGZIP(), []int{1} + return fileDescriptor_8d37dd0dc857a6be, []int{1} } -func (x *MembershipUpdateMessage) GetChatId() string { - if x != nil { - return x.ChatId +func (m *MembershipUpdateMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MembershipUpdateMessage.Unmarshal(m, b) +} +func (m *MembershipUpdateMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MembershipUpdateMessage.Marshal(b, m, deterministic) +} +func (m *MembershipUpdateMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MembershipUpdateMessage.Merge(m, src) +} +func (m *MembershipUpdateMessage) XXX_Size() int { + return xxx_messageInfo_MembershipUpdateMessage.Size(m) +} +func (m *MembershipUpdateMessage) XXX_DiscardUnknown() { + xxx_messageInfo_MembershipUpdateMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_MembershipUpdateMessage proto.InternalMessageInfo + +func (m *MembershipUpdateMessage) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *MembershipUpdateMessage) GetEvents() [][]byte { - if x != nil { - return x.Events - } - return nil -} - -func (m *MembershipUpdateMessage) GetChatEntity() isMembershipUpdateMessage_ChatEntity { +func (m *MembershipUpdateMessage) GetEvents() [][]byte { if m != nil { - return m.ChatEntity - } - return nil -} - -func (x *MembershipUpdateMessage) GetMessage() *ChatMessage { - if x, ok := x.GetChatEntity().(*MembershipUpdateMessage_Message); ok { - return x.Message - } - return nil -} - -func (x *MembershipUpdateMessage) GetEmojiReaction() *EmojiReaction { - if x, ok := x.GetChatEntity().(*MembershipUpdateMessage_EmojiReaction); ok { - return x.EmojiReaction + return m.Events } return nil } @@ -288,142 +230,73 @@ func (*MembershipUpdateMessage_Message) isMembershipUpdateMessage_ChatEntity() { func (*MembershipUpdateMessage_EmojiReaction) isMembershipUpdateMessage_ChatEntity() {} -var File_membership_update_message_proto protoreflect.FileDescriptor - -var file_membership_update_message_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x12, 0x63, 0x68, 0x61, - 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x14, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x03, 0x0a, 0x15, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xc1, - 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x48, 0x41, - 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, - 0x41, 0x4d, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, - 0x0d, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x03, - 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x45, - 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x52, 0x45, - 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x44, 0x4d, 0x49, 0x4e, - 0x53, 0x5f, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x44, 0x4d, - 0x49, 0x4e, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, - 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x08, 0x12, - 0x11, 0x0a, 0x0d, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, - 0x10, 0x09, 0x22, 0xce, 0x01, 0x0a, 0x17, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, - 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, - 0x31, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x5f, 0x72, 0x65, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_membership_update_message_proto_rawDescOnce sync.Once - file_membership_update_message_proto_rawDescData = file_membership_update_message_proto_rawDesc -) - -func file_membership_update_message_proto_rawDescGZIP() []byte { - file_membership_update_message_proto_rawDescOnce.Do(func() { - file_membership_update_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_membership_update_message_proto_rawDescData) - }) - return file_membership_update_message_proto_rawDescData -} - -var file_membership_update_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_membership_update_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_membership_update_message_proto_goTypes = []interface{}{ - (MembershipUpdateEvent_EventType)(0), // 0: protobuf.MembershipUpdateEvent.EventType - (*MembershipUpdateEvent)(nil), // 1: protobuf.MembershipUpdateEvent - (*MembershipUpdateMessage)(nil), // 2: protobuf.MembershipUpdateMessage - (*ChatMessage)(nil), // 3: protobuf.ChatMessage - (*EmojiReaction)(nil), // 4: protobuf.EmojiReaction -} -var file_membership_update_message_proto_depIdxs = []int32{ - 0, // 0: protobuf.MembershipUpdateEvent.type:type_name -> protobuf.MembershipUpdateEvent.EventType - 3, // 1: protobuf.MembershipUpdateMessage.message:type_name -> protobuf.ChatMessage - 4, // 2: protobuf.MembershipUpdateMessage.emoji_reaction:type_name -> protobuf.EmojiReaction - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_membership_update_message_proto_init() } -func file_membership_update_message_proto_init() { - if File_membership_update_message_proto != nil { - return +func (m *MembershipUpdateMessage) GetChatEntity() isMembershipUpdateMessage_ChatEntity { + if m != nil { + return m.ChatEntity } - file_chat_message_proto_init() - file_emoji_reaction_proto_init() - if !protoimpl.UnsafeEnabled { - file_membership_update_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MembershipUpdateEvent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_membership_update_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MembershipUpdateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } + return nil +} + +func (m *MembershipUpdateMessage) GetMessage() *ChatMessage { + if x, ok := m.GetChatEntity().(*MembershipUpdateMessage_Message); ok { + return x.Message } - file_membership_update_message_proto_msgTypes[1].OneofWrappers = []interface{}{ + return nil +} + +func (m *MembershipUpdateMessage) GetEmojiReaction() *EmojiReaction { + if x, ok := m.GetChatEntity().(*MembershipUpdateMessage_EmojiReaction); ok { + return x.EmojiReaction + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*MembershipUpdateMessage) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*MembershipUpdateMessage_Message)(nil), (*MembershipUpdateMessage_EmojiReaction)(nil), } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_membership_update_message_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_membership_update_message_proto_goTypes, - DependencyIndexes: file_membership_update_message_proto_depIdxs, - EnumInfos: file_membership_update_message_proto_enumTypes, - MessageInfos: file_membership_update_message_proto_msgTypes, - }.Build() - File_membership_update_message_proto = out.File - file_membership_update_message_proto_rawDesc = nil - file_membership_update_message_proto_goTypes = nil - file_membership_update_message_proto_depIdxs = nil +} + +func init() { + proto.RegisterEnum("protobuf.MembershipUpdateEvent_EventType", MembershipUpdateEvent_EventType_name, MembershipUpdateEvent_EventType_value) + proto.RegisterType((*MembershipUpdateEvent)(nil), "protobuf.MembershipUpdateEvent") + proto.RegisterType((*MembershipUpdateMessage)(nil), "protobuf.MembershipUpdateMessage") +} + +func init() { + proto.RegisterFile("membership_update_message.proto", fileDescriptor_8d37dd0dc857a6be) +} + +var fileDescriptor_8d37dd0dc857a6be = []byte{ + // 443 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xd1, 0x8e, 0x93, 0x40, + 0x14, 0x2d, 0x5b, 0x4a, 0x97, 0x4b, 0xdb, 0xe0, 0xcd, 0xae, 0x25, 0xfb, 0x22, 0xe9, 0x13, 0xbe, + 0x60, 0xac, 0x8f, 0xc6, 0x44, 0x0a, 0x93, 0x6d, 0x55, 0x20, 0x19, 0xbb, 0x9a, 0xf8, 0x42, 0x68, + 0x3b, 0x6e, 0xd1, 0xa5, 0x90, 0x76, 0xd6, 0xa4, 0xbf, 0xe0, 0x5f, 0xf9, 0x03, 0x7e, 0x93, 0x99, + 0x01, 0x8a, 0x35, 0xbe, 0xc0, 0x9c, 0x73, 0xe7, 0x9c, 0x39, 0xcc, 0x01, 0x9e, 0xe5, 0x2c, 0x5f, + 0xb1, 0xfd, 0x61, 0x9b, 0x95, 0xc9, 0x63, 0xb9, 0x49, 0x39, 0x4b, 0x72, 0x76, 0x38, 0xa4, 0xf7, + 0xcc, 0x2d, 0xf7, 0x05, 0x2f, 0xf0, 0x52, 0xbe, 0x56, 0x8f, 0x5f, 0x6f, 0x70, 0xbd, 0x4d, 0xf9, + 0xf9, 0xf4, 0xe6, 0x8a, 0xe5, 0xc5, 0xb7, 0x2c, 0xd9, 0xb3, 0x74, 0xcd, 0xb3, 0x62, 0x57, 0xb1, + 0x93, 0x9f, 0x5d, 0xb8, 0x0e, 0x4f, 0xbe, 0x77, 0xd2, 0x96, 0xfc, 0x60, 0x3b, 0x8e, 0x57, 0xd0, + 0x5b, 0x3f, 0x14, 0xeb, 0xef, 0x96, 0x62, 0x2b, 0x8e, 0x4a, 0x2b, 0x80, 0x16, 0xf4, 0xeb, 0x18, + 0xd6, 0x85, 0xdd, 0x75, 0x74, 0xda, 0x40, 0x44, 0x50, 0x77, 0x69, 0xce, 0xac, 0xae, 0xad, 0x38, + 0x3a, 0x95, 0x6b, 0x7c, 0x03, 0x2a, 0x3f, 0x96, 0xcc, 0x52, 0x6d, 0xc5, 0x19, 0x4d, 0x9f, 0xbb, + 0x4d, 0x40, 0xf7, 0xbf, 0x47, 0xba, 0xf2, 0xb9, 0x3c, 0x96, 0x8c, 0x4a, 0x99, 0x8c, 0x50, 0x3c, + 0x14, 0x7b, 0xab, 0x27, 0x3d, 0x2b, 0x20, 0xd8, 0x2c, 0x4f, 0xef, 0x99, 0xa5, 0xd9, 0x8a, 0x33, + 0xa0, 0x15, 0x98, 0xfc, 0x52, 0x40, 0x3f, 0xe9, 0xd1, 0x80, 0xfe, 0x5d, 0xf4, 0x3e, 0x8a, 0x3f, + 0x47, 0x66, 0x07, 0x4d, 0x18, 0xf8, 0x73, 0x6f, 0x99, 0xf8, 0x94, 0x78, 0x4b, 0x12, 0x98, 0x8a, + 0x60, 0x22, 0x2f, 0x24, 0x89, 0x3f, 0xf7, 0xa2, 0x5b, 0x12, 0x98, 0x17, 0xf8, 0x04, 0x86, 0x21, + 0x09, 0x67, 0x84, 0x7e, 0x4c, 0xbc, 0x20, 0x20, 0x81, 0xd9, 0x6d, 0xa9, 0xe4, 0x5d, 0xbc, 0x88, + 0x48, 0x60, 0xaa, 0x88, 0x30, 0xaa, 0x29, 0x4a, 0xc2, 0xf8, 0x13, 0x09, 0xcc, 0x9e, 0xf0, 0xf2, + 0x82, 0x70, 0x11, 0x35, 0x42, 0x4d, 0x08, 0x25, 0x73, 0xda, 0xd4, 0x17, 0x94, 0x1f, 0x7f, 0x88, + 0xe9, 0xe9, 0xc4, 0x4b, 0x41, 0x2d, 0x42, 0xef, 0xb6, 0x0d, 0xa1, 0x4f, 0x7e, 0x2b, 0x30, 0xfe, + 0xf7, 0x66, 0xc2, 0xaa, 0x44, 0x1c, 0x43, 0x5f, 0x96, 0x9a, 0x6d, 0x64, 0x21, 0x3a, 0xd5, 0x04, + 0x5c, 0x6c, 0xf0, 0x29, 0x68, 0x4c, 0x7c, 0x77, 0x55, 0xc8, 0x80, 0xd6, 0x08, 0x5f, 0x8a, 0xa6, + 0xa4, 0x56, 0x56, 0x62, 0x4c, 0xaf, 0xdb, 0xeb, 0xf7, 0xb7, 0x29, 0xaf, 0x8d, 0xe7, 0x1d, 0xda, + 0xec, 0xc3, 0xb7, 0x30, 0x3a, 0xff, 0x49, 0x64, 0x71, 0xc6, 0x74, 0xdc, 0x2a, 0x89, 0x98, 0xd3, + 0x7a, 0x3c, 0xef, 0xd0, 0x21, 0xfb, 0x9b, 0x98, 0x0d, 0xc1, 0x90, 0x29, 0xd9, 0x8e, 0x67, 0xfc, + 0x38, 0x1b, 0x7e, 0x31, 0xdc, 0x17, 0xaf, 0x1b, 0xf1, 0x4a, 0x93, 0xab, 0x57, 0x7f, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x1e, 0xc9, 0x99, 0x52, 0xca, 0x02, 0x00, 0x00, } diff --git a/protocol/protobuf/pairing.pb.go b/protocol/protobuf/pairing.pb.go index 726859f65..7a88b4a42 100644 --- a/protocol/protobuf/pairing.pb.go +++ b/protocol/protobuf/pairing.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: pairing.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision int32 @@ -27,43 +27,22 @@ const ( SyncActivityCenterCommunityRequestDecision_DECLINED SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision = 1 ) -// Enum value maps for SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision. -var ( - SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name = map[int32]string{ - 0: "ACCEPTED", - 1: "DECLINED", - } - SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_value = map[string]int32{ - "ACCEPTED": 0, - "DECLINED": 1, - } -) +var SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name = map[int32]string{ + 0: "ACCEPTED", + 1: "DECLINED", +} -func (x SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Enum() *SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision { - p := new(SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) - *p = x - return p +var SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_value = map[string]int32{ + "ACCEPTED": 0, + "DECLINED": 1, } func (x SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name, int32(x)) } -func (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[0].Descriptor() -} - -func (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[0] -} - -func (x SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision.Descriptor instead. func (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{21, 0} + return fileDescriptor_d61ab7221f0b5518, []int{21, 0} } type SyncTrustedUser_TrustStatus int32 @@ -74,45 +53,24 @@ const ( SyncTrustedUser_UNTRUSTWORTHY SyncTrustedUser_TrustStatus = 2 ) -// Enum value maps for SyncTrustedUser_TrustStatus. -var ( - SyncTrustedUser_TrustStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TRUSTED", - 2: "UNTRUSTWORTHY", - } - SyncTrustedUser_TrustStatus_value = map[string]int32{ - "UNKNOWN": 0, - "TRUSTED": 1, - "UNTRUSTWORTHY": 2, - } -) +var SyncTrustedUser_TrustStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "TRUSTED", + 2: "UNTRUSTWORTHY", +} -func (x SyncTrustedUser_TrustStatus) Enum() *SyncTrustedUser_TrustStatus { - p := new(SyncTrustedUser_TrustStatus) - *p = x - return p +var SyncTrustedUser_TrustStatus_value = map[string]int32{ + "UNKNOWN": 0, + "TRUSTED": 1, + "UNTRUSTWORTHY": 2, } func (x SyncTrustedUser_TrustStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncTrustedUser_TrustStatus_name, int32(x)) } -func (SyncTrustedUser_TrustStatus) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[1].Descriptor() -} - -func (SyncTrustedUser_TrustStatus) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[1] -} - -func (x SyncTrustedUser_TrustStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncTrustedUser_TrustStatus.Descriptor instead. func (SyncTrustedUser_TrustStatus) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{32, 0} + return fileDescriptor_d61ab7221f0b5518, []int{32, 0} } type SyncVerificationRequest_VerificationStatus int32 @@ -125,49 +83,28 @@ const ( SyncVerificationRequest_CANCELED SyncVerificationRequest_VerificationStatus = 4 ) -// Enum value maps for SyncVerificationRequest_VerificationStatus. -var ( - SyncVerificationRequest_VerificationStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING", - 2: "ACCEPTED", - 3: "DECLINED", - 4: "CANCELED", - } - SyncVerificationRequest_VerificationStatus_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING": 1, - "ACCEPTED": 2, - "DECLINED": 3, - "CANCELED": 4, - } -) +var SyncVerificationRequest_VerificationStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PENDING", + 2: "ACCEPTED", + 3: "DECLINED", + 4: "CANCELED", +} -func (x SyncVerificationRequest_VerificationStatus) Enum() *SyncVerificationRequest_VerificationStatus { - p := new(SyncVerificationRequest_VerificationStatus) - *p = x - return p +var SyncVerificationRequest_VerificationStatus_value = map[string]int32{ + "UNKNOWN": 0, + "PENDING": 1, + "ACCEPTED": 2, + "DECLINED": 3, + "CANCELED": 4, } func (x SyncVerificationRequest_VerificationStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncVerificationRequest_VerificationStatus_name, int32(x)) } -func (SyncVerificationRequest_VerificationStatus) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[2].Descriptor() -} - -func (SyncVerificationRequest_VerificationStatus) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[2] -} - -func (x SyncVerificationRequest_VerificationStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncVerificationRequest_VerificationStatus.Descriptor instead. func (SyncVerificationRequest_VerificationStatus) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{33, 0} + return fileDescriptor_d61ab7221f0b5518, []int{33, 0} } type SyncContactRequestDecision_DecisionStatus int32 @@ -177,106 +114,73 @@ const ( SyncContactRequestDecision_DECLINED SyncContactRequestDecision_DecisionStatus = 1 ) -// Enum value maps for SyncContactRequestDecision_DecisionStatus. -var ( - SyncContactRequestDecision_DecisionStatus_name = map[int32]string{ - 0: "ACCEPTED", - 1: "DECLINED", - } - SyncContactRequestDecision_DecisionStatus_value = map[string]int32{ - "ACCEPTED": 0, - "DECLINED": 1, - } -) +var SyncContactRequestDecision_DecisionStatus_name = map[int32]string{ + 0: "ACCEPTED", + 1: "DECLINED", +} -func (x SyncContactRequestDecision_DecisionStatus) Enum() *SyncContactRequestDecision_DecisionStatus { - p := new(SyncContactRequestDecision_DecisionStatus) - *p = x - return p +var SyncContactRequestDecision_DecisionStatus_value = map[string]int32{ + "ACCEPTED": 0, + "DECLINED": 1, } func (x SyncContactRequestDecision_DecisionStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncContactRequestDecision_DecisionStatus_name, int32(x)) } -func (SyncContactRequestDecision_DecisionStatus) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[3].Descriptor() -} - -func (SyncContactRequestDecision_DecisionStatus) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[3] -} - -func (x SyncContactRequestDecision_DecisionStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncContactRequestDecision_DecisionStatus.Descriptor instead. func (SyncContactRequestDecision_DecisionStatus) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{34, 0} + return fileDescriptor_d61ab7221f0b5518, []int{34, 0} } // `FetchingBackedUpDataDetails` is used to describe how many messages a single backup data structure consists of type FetchingBackedUpDataDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DataNumber uint32 `protobuf:"varint,1,opt,name=data_number,json=dataNumber,proto3" json:"data_number,omitempty"` - TotalNumber uint32 `protobuf:"varint,2,opt,name=total_number,json=totalNumber,proto3" json:"total_number,omitempty"` + DataNumber uint32 `protobuf:"varint,1,opt,name=data_number,json=dataNumber,proto3" json:"data_number,omitempty"` + TotalNumber uint32 `protobuf:"varint,2,opt,name=total_number,json=totalNumber,proto3" json:"total_number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FetchingBackedUpDataDetails) Reset() { - *x = FetchingBackedUpDataDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchingBackedUpDataDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchingBackedUpDataDetails) ProtoMessage() {} - -func (x *FetchingBackedUpDataDetails) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchingBackedUpDataDetails.ProtoReflect.Descriptor instead. +func (m *FetchingBackedUpDataDetails) Reset() { *m = FetchingBackedUpDataDetails{} } +func (m *FetchingBackedUpDataDetails) String() string { return proto.CompactTextString(m) } +func (*FetchingBackedUpDataDetails) ProtoMessage() {} func (*FetchingBackedUpDataDetails) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{0} + return fileDescriptor_d61ab7221f0b5518, []int{0} } -func (x *FetchingBackedUpDataDetails) GetDataNumber() uint32 { - if x != nil { - return x.DataNumber +func (m *FetchingBackedUpDataDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchingBackedUpDataDetails.Unmarshal(m, b) +} +func (m *FetchingBackedUpDataDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchingBackedUpDataDetails.Marshal(b, m, deterministic) +} +func (m *FetchingBackedUpDataDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchingBackedUpDataDetails.Merge(m, src) +} +func (m *FetchingBackedUpDataDetails) XXX_Size() int { + return xxx_messageInfo_FetchingBackedUpDataDetails.Size(m) +} +func (m *FetchingBackedUpDataDetails) XXX_DiscardUnknown() { + xxx_messageInfo_FetchingBackedUpDataDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchingBackedUpDataDetails proto.InternalMessageInfo + +func (m *FetchingBackedUpDataDetails) GetDataNumber() uint32 { + if m != nil { + return m.DataNumber } return 0 } -func (x *FetchingBackedUpDataDetails) GetTotalNumber() uint32 { - if x != nil { - return x.TotalNumber +func (m *FetchingBackedUpDataDetails) GetTotalNumber() uint32 { + if m != nil { + return m.TotalNumber } return 0 } type Backup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // this is what we already had @@ -295,157 +199,149 @@ type Backup struct { WatchOnlyAccountDetails *FetchingBackedUpDataDetails `protobuf:"bytes,14,opt,name=watchOnlyAccountDetails,proto3" json:"watchOnlyAccountDetails,omitempty"` Chats []*SyncChat `protobuf:"bytes,15,rep,name=chats,proto3" json:"chats,omitempty"` ChatsDetails *FetchingBackedUpDataDetails `protobuf:"bytes,16,opt,name=chatsDetails,proto3" json:"chatsDetails,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Backup) Reset() { - *x = Backup{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Backup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Backup) ProtoMessage() {} - -func (x *Backup) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Backup.ProtoReflect.Descriptor instead. +func (m *Backup) Reset() { *m = Backup{} } +func (m *Backup) String() string { return proto.CompactTextString(m) } +func (*Backup) ProtoMessage() {} func (*Backup) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{1} + return fileDescriptor_d61ab7221f0b5518, []int{1} } -func (x *Backup) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *Backup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Backup.Unmarshal(m, b) +} +func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Backup.Marshal(b, m, deterministic) +} +func (m *Backup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Backup.Merge(m, src) +} +func (m *Backup) XXX_Size() int { + return xxx_messageInfo_Backup.Size(m) +} +func (m *Backup) XXX_DiscardUnknown() { + xxx_messageInfo_Backup.DiscardUnknown(m) +} + +var xxx_messageInfo_Backup proto.InternalMessageInfo + +func (m *Backup) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *Backup) GetId() string { - if x != nil { - return x.Id +func (m *Backup) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *Backup) GetContacts() []*SyncInstallationContactV2 { - if x != nil { - return x.Contacts +func (m *Backup) GetContacts() []*SyncInstallationContactV2 { + if m != nil { + return m.Contacts } return nil } -func (x *Backup) GetCommunities() []*SyncInstallationCommunity { - if x != nil { - return x.Communities +func (m *Backup) GetCommunities() []*SyncInstallationCommunity { + if m != nil { + return m.Communities } return nil } -func (x *Backup) GetContactsDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.ContactsDetails +func (m *Backup) GetContactsDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.ContactsDetails } return nil } -func (x *Backup) GetCommunitiesDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.CommunitiesDetails +func (m *Backup) GetCommunitiesDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.CommunitiesDetails } return nil } -func (x *Backup) GetProfile() *BackedUpProfile { - if x != nil { - return x.Profile +func (m *Backup) GetProfile() *BackedUpProfile { + if m != nil { + return m.Profile } return nil } -func (x *Backup) GetProfileDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.ProfileDetails +func (m *Backup) GetProfileDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.ProfileDetails } return nil } -func (x *Backup) GetSetting() *SyncSetting { - if x != nil { - return x.Setting +func (m *Backup) GetSetting() *SyncSetting { + if m != nil { + return m.Setting } return nil } -func (x *Backup) GetSettingsDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.SettingsDetails +func (m *Backup) GetSettingsDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.SettingsDetails } return nil } -func (x *Backup) GetKeypair() *SyncKeypair { - if x != nil { - return x.Keypair +func (m *Backup) GetKeypair() *SyncKeypair { + if m != nil { + return m.Keypair } return nil } -func (x *Backup) GetKeypairDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.KeypairDetails +func (m *Backup) GetKeypairDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.KeypairDetails } return nil } -func (x *Backup) GetWatchOnlyAccount() *SyncAccount { - if x != nil { - return x.WatchOnlyAccount +func (m *Backup) GetWatchOnlyAccount() *SyncAccount { + if m != nil { + return m.WatchOnlyAccount } return nil } -func (x *Backup) GetWatchOnlyAccountDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.WatchOnlyAccountDetails +func (m *Backup) GetWatchOnlyAccountDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.WatchOnlyAccountDetails } return nil } -func (x *Backup) GetChats() []*SyncChat { - if x != nil { - return x.Chats +func (m *Backup) GetChats() []*SyncChat { + if m != nil { + return m.Chats } return nil } -func (x *Backup) GetChatsDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.ChatsDetails +func (m *Backup) GetChatsDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.ChatsDetails } return nil } type MultiAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Identicon string `protobuf:"bytes,3,opt,name=identicon,proto3" json:"identicon,omitempty"` @@ -456,353 +352,502 @@ type MultiAccount struct { Images []*MultiAccount_IdentityImage `protobuf:"bytes,8,rep,name=images,proto3" json:"images,omitempty"` CustomizationColor string `protobuf:"bytes,9,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` CustomizationColorClock uint64 `protobuf:"varint,10,opt,name=customization_color_clock,json=customizationColorClock,proto3" json:"customization_color_clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MultiAccount) Reset() { - *x = MultiAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiAccount) ProtoMessage() {} - -func (x *MultiAccount) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiAccount.ProtoReflect.Descriptor instead. +func (m *MultiAccount) Reset() { *m = MultiAccount{} } +func (m *MultiAccount) String() string { return proto.CompactTextString(m) } +func (*MultiAccount) ProtoMessage() {} func (*MultiAccount) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{2} + return fileDescriptor_d61ab7221f0b5518, []int{2} } -func (x *MultiAccount) GetName() string { - if x != nil { - return x.Name +func (m *MultiAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiAccount.Unmarshal(m, b) +} +func (m *MultiAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiAccount.Marshal(b, m, deterministic) +} +func (m *MultiAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiAccount.Merge(m, src) +} +func (m *MultiAccount) XXX_Size() int { + return xxx_messageInfo_MultiAccount.Size(m) +} +func (m *MultiAccount) XXX_DiscardUnknown() { + xxx_messageInfo_MultiAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiAccount proto.InternalMessageInfo + +func (m *MultiAccount) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *MultiAccount) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *MultiAccount) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *MultiAccount) GetIdenticon() string { - if x != nil { - return x.Identicon +func (m *MultiAccount) GetIdenticon() string { + if m != nil { + return m.Identicon } return "" } -func (x *MultiAccount) GetColorHash() []*MultiAccount_ColorHash { - if x != nil { - return x.ColorHash +func (m *MultiAccount) GetColorHash() []*MultiAccount_ColorHash { + if m != nil { + return m.ColorHash } return nil } -func (x *MultiAccount) GetColorId() int64 { - if x != nil { - return x.ColorId +func (m *MultiAccount) GetColorId() int64 { + if m != nil { + return m.ColorId } return 0 } -func (x *MultiAccount) GetKeycardPairing() string { - if x != nil { - return x.KeycardPairing +func (m *MultiAccount) GetKeycardPairing() string { + if m != nil { + return m.KeycardPairing } return "" } -func (x *MultiAccount) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *MultiAccount) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *MultiAccount) GetImages() []*MultiAccount_IdentityImage { - if x != nil { - return x.Images +func (m *MultiAccount) GetImages() []*MultiAccount_IdentityImage { + if m != nil { + return m.Images } return nil } -func (x *MultiAccount) GetCustomizationColor() string { - if x != nil { - return x.CustomizationColor +func (m *MultiAccount) GetCustomizationColor() string { + if m != nil { + return m.CustomizationColor } return "" } -func (x *MultiAccount) GetCustomizationColorClock() uint64 { - if x != nil { - return x.CustomizationColorClock +func (m *MultiAccount) GetCustomizationColorClock() uint64 { + if m != nil { + return m.CustomizationColorClock + } + return 0 +} + +type MultiAccount_ColorHash struct { + Index []int64 `protobuf:"varint,1,rep,packed,name=index,proto3" json:"index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MultiAccount_ColorHash) Reset() { *m = MultiAccount_ColorHash{} } +func (m *MultiAccount_ColorHash) String() string { return proto.CompactTextString(m) } +func (*MultiAccount_ColorHash) ProtoMessage() {} +func (*MultiAccount_ColorHash) Descriptor() ([]byte, []int) { + return fileDescriptor_d61ab7221f0b5518, []int{2, 0} +} + +func (m *MultiAccount_ColorHash) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiAccount_ColorHash.Unmarshal(m, b) +} +func (m *MultiAccount_ColorHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiAccount_ColorHash.Marshal(b, m, deterministic) +} +func (m *MultiAccount_ColorHash) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiAccount_ColorHash.Merge(m, src) +} +func (m *MultiAccount_ColorHash) XXX_Size() int { + return xxx_messageInfo_MultiAccount_ColorHash.Size(m) +} +func (m *MultiAccount_ColorHash) XXX_DiscardUnknown() { + xxx_messageInfo_MultiAccount_ColorHash.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiAccount_ColorHash proto.InternalMessageInfo + +func (m *MultiAccount_ColorHash) GetIndex() []int64 { + if m != nil { + return m.Index + } + return nil +} + +type MultiAccount_IdentityImage struct { + KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + Width int64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` + Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + Filesize int64 `protobuf:"varint,6,opt,name=filesize,proto3" json:"filesize,omitempty"` + ResizeTarget int64 `protobuf:"varint,7,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` + Clock uint64 `protobuf:"varint,8,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MultiAccount_IdentityImage) Reset() { *m = MultiAccount_IdentityImage{} } +func (m *MultiAccount_IdentityImage) String() string { return proto.CompactTextString(m) } +func (*MultiAccount_IdentityImage) ProtoMessage() {} +func (*MultiAccount_IdentityImage) Descriptor() ([]byte, []int) { + return fileDescriptor_d61ab7221f0b5518, []int{2, 1} +} + +func (m *MultiAccount_IdentityImage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiAccount_IdentityImage.Unmarshal(m, b) +} +func (m *MultiAccount_IdentityImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiAccount_IdentityImage.Marshal(b, m, deterministic) +} +func (m *MultiAccount_IdentityImage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiAccount_IdentityImage.Merge(m, src) +} +func (m *MultiAccount_IdentityImage) XXX_Size() int { + return xxx_messageInfo_MultiAccount_IdentityImage.Size(m) +} +func (m *MultiAccount_IdentityImage) XXX_DiscardUnknown() { + xxx_messageInfo_MultiAccount_IdentityImage.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiAccount_IdentityImage proto.InternalMessageInfo + +func (m *MultiAccount_IdentityImage) GetKeyUid() string { + if m != nil { + return m.KeyUid + } + return "" +} + +func (m *MultiAccount_IdentityImage) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *MultiAccount_IdentityImage) GetPayload() []byte { + if m != nil { + return m.Payload + } + return nil +} + +func (m *MultiAccount_IdentityImage) GetWidth() int64 { + if m != nil { + return m.Width + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetHeight() int64 { + if m != nil { + return m.Height + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetFilesize() int64 { + if m != nil { + return m.Filesize + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetResizeTarget() int64 { + if m != nil { + return m.ResizeTarget + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type LocalPairingPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keys []*LocalPairingPayload_Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - Multiaccount *MultiAccount `protobuf:"bytes,2,opt,name=multiaccount,proto3" json:"multiaccount,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - ChatKey string `protobuf:"bytes,4,opt,name=chatKey,proto3" json:"chatKey,omitempty"` - KeycardPairings string `protobuf:"bytes,5,opt,name=keycardPairings,proto3" json:"keycardPairings,omitempty"` + Keys []*LocalPairingPayload_Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` + Multiaccount *MultiAccount `protobuf:"bytes,2,opt,name=multiaccount,proto3" json:"multiaccount,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + ChatKey string `protobuf:"bytes,4,opt,name=chatKey,proto3" json:"chatKey,omitempty"` + KeycardPairings string `protobuf:"bytes,5,opt,name=keycardPairings,proto3" json:"keycardPairings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LocalPairingPayload) Reset() { - *x = LocalPairingPayload{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalPairingPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalPairingPayload) ProtoMessage() {} - -func (x *LocalPairingPayload) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalPairingPayload.ProtoReflect.Descriptor instead. +func (m *LocalPairingPayload) Reset() { *m = LocalPairingPayload{} } +func (m *LocalPairingPayload) String() string { return proto.CompactTextString(m) } +func (*LocalPairingPayload) ProtoMessage() {} func (*LocalPairingPayload) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{3} + return fileDescriptor_d61ab7221f0b5518, []int{3} } -func (x *LocalPairingPayload) GetKeys() []*LocalPairingPayload_Key { - if x != nil { - return x.Keys +func (m *LocalPairingPayload) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPairingPayload.Unmarshal(m, b) +} +func (m *LocalPairingPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPairingPayload.Marshal(b, m, deterministic) +} +func (m *LocalPairingPayload) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPairingPayload.Merge(m, src) +} +func (m *LocalPairingPayload) XXX_Size() int { + return xxx_messageInfo_LocalPairingPayload.Size(m) +} +func (m *LocalPairingPayload) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPairingPayload.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPairingPayload proto.InternalMessageInfo + +func (m *LocalPairingPayload) GetKeys() []*LocalPairingPayload_Key { + if m != nil { + return m.Keys } return nil } -func (x *LocalPairingPayload) GetMultiaccount() *MultiAccount { - if x != nil { - return x.Multiaccount +func (m *LocalPairingPayload) GetMultiaccount() *MultiAccount { + if m != nil { + return m.Multiaccount } return nil } -func (x *LocalPairingPayload) GetPassword() string { - if x != nil { - return x.Password +func (m *LocalPairingPayload) GetPassword() string { + if m != nil { + return m.Password } return "" } -func (x *LocalPairingPayload) GetChatKey() string { - if x != nil { - return x.ChatKey +func (m *LocalPairingPayload) GetChatKey() string { + if m != nil { + return m.ChatKey } return "" } -func (x *LocalPairingPayload) GetKeycardPairings() string { - if x != nil { - return x.KeycardPairings +func (m *LocalPairingPayload) GetKeycardPairings() string { + if m != nil { + return m.KeycardPairings } return "" } +type LocalPairingPayload_Key struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalPairingPayload_Key) Reset() { *m = LocalPairingPayload_Key{} } +func (m *LocalPairingPayload_Key) String() string { return proto.CompactTextString(m) } +func (*LocalPairingPayload_Key) ProtoMessage() {} +func (*LocalPairingPayload_Key) Descriptor() ([]byte, []int) { + return fileDescriptor_d61ab7221f0b5518, []int{3, 0} +} + +func (m *LocalPairingPayload_Key) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPairingPayload_Key.Unmarshal(m, b) +} +func (m *LocalPairingPayload_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPairingPayload_Key.Marshal(b, m, deterministic) +} +func (m *LocalPairingPayload_Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPairingPayload_Key.Merge(m, src) +} +func (m *LocalPairingPayload_Key) XXX_Size() int { + return xxx_messageInfo_LocalPairingPayload_Key.Size(m) +} +func (m *LocalPairingPayload_Key) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPairingPayload_Key.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPairingPayload_Key proto.InternalMessageInfo + +func (m *LocalPairingPayload_Key) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *LocalPairingPayload_Key) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + type LocalPairingPeerHello struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PairingVersion int32 `protobuf:"varint,1,opt,name=pairing_version,json=pairingVersion,proto3" json:"pairing_version,omitempty"` - PeerId []byte `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` - DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` - Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + PairingVersion int32 `protobuf:"varint,1,opt,name=pairing_version,json=pairingVersion,proto3" json:"pairing_version,omitempty"` + PeerId []byte `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` + DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LocalPairingPeerHello) Reset() { - *x = LocalPairingPeerHello{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalPairingPeerHello) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalPairingPeerHello) ProtoMessage() {} - -func (x *LocalPairingPeerHello) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalPairingPeerHello.ProtoReflect.Descriptor instead. +func (m *LocalPairingPeerHello) Reset() { *m = LocalPairingPeerHello{} } +func (m *LocalPairingPeerHello) String() string { return proto.CompactTextString(m) } +func (*LocalPairingPeerHello) ProtoMessage() {} func (*LocalPairingPeerHello) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{4} + return fileDescriptor_d61ab7221f0b5518, []int{4} } -func (x *LocalPairingPeerHello) GetPairingVersion() int32 { - if x != nil { - return x.PairingVersion +func (m *LocalPairingPeerHello) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPairingPeerHello.Unmarshal(m, b) +} +func (m *LocalPairingPeerHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPairingPeerHello.Marshal(b, m, deterministic) +} +func (m *LocalPairingPeerHello) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPairingPeerHello.Merge(m, src) +} +func (m *LocalPairingPeerHello) XXX_Size() int { + return xxx_messageInfo_LocalPairingPeerHello.Size(m) +} +func (m *LocalPairingPeerHello) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPairingPeerHello.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPairingPeerHello proto.InternalMessageInfo + +func (m *LocalPairingPeerHello) GetPairingVersion() int32 { + if m != nil { + return m.PairingVersion } return 0 } -func (x *LocalPairingPeerHello) GetPeerId() []byte { - if x != nil { - return x.PeerId +func (m *LocalPairingPeerHello) GetPeerId() []byte { + if m != nil { + return m.PeerId } return nil } -func (x *LocalPairingPeerHello) GetDeviceName() string { - if x != nil { - return x.DeviceName +func (m *LocalPairingPeerHello) GetDeviceName() string { + if m != nil { + return m.DeviceName } return "" } -func (x *LocalPairingPeerHello) GetDeviceType() string { - if x != nil { - return x.DeviceType +func (m *LocalPairingPeerHello) GetDeviceType() string { + if m != nil { + return m.DeviceType } return "" } -func (x *LocalPairingPeerHello) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *LocalPairingPeerHello) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } type SyncPairInstallation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` DeviceType string `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // following fields used for local pairing - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncPairInstallation) Reset() { - *x = SyncPairInstallation{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncPairInstallation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncPairInstallation) ProtoMessage() {} - -func (x *SyncPairInstallation) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncPairInstallation.ProtoReflect.Descriptor instead. +func (m *SyncPairInstallation) Reset() { *m = SyncPairInstallation{} } +func (m *SyncPairInstallation) String() string { return proto.CompactTextString(m) } +func (*SyncPairInstallation) ProtoMessage() {} func (*SyncPairInstallation) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{5} + return fileDescriptor_d61ab7221f0b5518, []int{5} } -func (x *SyncPairInstallation) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncPairInstallation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncPairInstallation.Unmarshal(m, b) +} +func (m *SyncPairInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncPairInstallation.Marshal(b, m, deterministic) +} +func (m *SyncPairInstallation) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncPairInstallation.Merge(m, src) +} +func (m *SyncPairInstallation) XXX_Size() int { + return xxx_messageInfo_SyncPairInstallation.Size(m) +} +func (m *SyncPairInstallation) XXX_DiscardUnknown() { + xxx_messageInfo_SyncPairInstallation.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncPairInstallation proto.InternalMessageInfo + +func (m *SyncPairInstallation) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncPairInstallation) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *SyncPairInstallation) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } -func (x *SyncPairInstallation) GetDeviceType() string { - if x != nil { - return x.DeviceType +func (m *SyncPairInstallation) GetDeviceType() string { + if m != nil { + return m.DeviceType } return "" } -func (x *SyncPairInstallation) GetName() string { - if x != nil { - return x.Name +func (m *SyncPairInstallation) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncPairInstallation) GetVersion() uint32 { - if x != nil { - return x.Version +func (m *SyncPairInstallation) GetVersion() uint32 { + if m != nil { + return m.Version } return 0 } type SyncInstallationContactV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - LastUpdatedLocally uint64 `protobuf:"varint,1,opt,name=last_updated_locally,json=lastUpdatedLocally,proto3" json:"last_updated_locally,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ProfileImage string `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"` @@ -822,549 +867,507 @@ type SyncInstallationContactV2 struct { ContactRequestRemoteState int64 `protobuf:"varint,18,opt,name=contact_request_remote_state,json=contactRequestRemoteState,proto3" json:"contact_request_remote_state,omitempty"` ContactRequestRemoteClock int64 `protobuf:"varint,19,opt,name=contact_request_remote_clock,json=contactRequestRemoteClock,proto3" json:"contact_request_remote_clock,omitempty"` DisplayName string `protobuf:"bytes,20,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncInstallationContactV2) Reset() { - *x = SyncInstallationContactV2{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncInstallationContactV2) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncInstallationContactV2) ProtoMessage() {} - -func (x *SyncInstallationContactV2) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncInstallationContactV2.ProtoReflect.Descriptor instead. +func (m *SyncInstallationContactV2) Reset() { *m = SyncInstallationContactV2{} } +func (m *SyncInstallationContactV2) String() string { return proto.CompactTextString(m) } +func (*SyncInstallationContactV2) ProtoMessage() {} func (*SyncInstallationContactV2) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{6} + return fileDescriptor_d61ab7221f0b5518, []int{6} } -func (x *SyncInstallationContactV2) GetLastUpdatedLocally() uint64 { - if x != nil { - return x.LastUpdatedLocally +func (m *SyncInstallationContactV2) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncInstallationContactV2.Unmarshal(m, b) +} +func (m *SyncInstallationContactV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncInstallationContactV2.Marshal(b, m, deterministic) +} +func (m *SyncInstallationContactV2) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncInstallationContactV2.Merge(m, src) +} +func (m *SyncInstallationContactV2) XXX_Size() int { + return xxx_messageInfo_SyncInstallationContactV2.Size(m) +} +func (m *SyncInstallationContactV2) XXX_DiscardUnknown() { + xxx_messageInfo_SyncInstallationContactV2.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncInstallationContactV2 proto.InternalMessageInfo + +func (m *SyncInstallationContactV2) GetLastUpdatedLocally() uint64 { + if m != nil { + return m.LastUpdatedLocally } return 0 } -func (x *SyncInstallationContactV2) GetId() string { - if x != nil { - return x.Id +func (m *SyncInstallationContactV2) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SyncInstallationContactV2) GetProfileImage() string { - if x != nil { - return x.ProfileImage +func (m *SyncInstallationContactV2) GetProfileImage() string { + if m != nil { + return m.ProfileImage } return "" } -func (x *SyncInstallationContactV2) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *SyncInstallationContactV2) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *SyncInstallationContactV2) GetLastUpdated() uint64 { - if x != nil { - return x.LastUpdated +func (m *SyncInstallationContactV2) GetLastUpdated() uint64 { + if m != nil { + return m.LastUpdated } return 0 } -func (x *SyncInstallationContactV2) GetSystemTags() []string { - if x != nil { - return x.SystemTags +func (m *SyncInstallationContactV2) GetSystemTags() []string { + if m != nil { + return m.SystemTags } return nil } -func (x *SyncInstallationContactV2) GetLocalNickname() string { - if x != nil { - return x.LocalNickname +func (m *SyncInstallationContactV2) GetLocalNickname() string { + if m != nil { + return m.LocalNickname } return "" } -func (x *SyncInstallationContactV2) GetAdded() bool { - if x != nil { - return x.Added +func (m *SyncInstallationContactV2) GetAdded() bool { + if m != nil { + return m.Added } return false } -func (x *SyncInstallationContactV2) GetBlocked() bool { - if x != nil { - return x.Blocked +func (m *SyncInstallationContactV2) GetBlocked() bool { + if m != nil { + return m.Blocked } return false } -func (x *SyncInstallationContactV2) GetMuted() bool { - if x != nil { - return x.Muted +func (m *SyncInstallationContactV2) GetMuted() bool { + if m != nil { + return m.Muted } return false } -func (x *SyncInstallationContactV2) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncInstallationContactV2) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncInstallationContactV2) GetHasAddedUs() bool { - if x != nil { - return x.HasAddedUs +func (m *SyncInstallationContactV2) GetHasAddedUs() bool { + if m != nil { + return m.HasAddedUs } return false } -func (x *SyncInstallationContactV2) GetVerificationStatus() int64 { - if x != nil { - return x.VerificationStatus +func (m *SyncInstallationContactV2) GetVerificationStatus() int64 { + if m != nil { + return m.VerificationStatus } return 0 } -func (x *SyncInstallationContactV2) GetTrustStatus() int64 { - if x != nil { - return x.TrustStatus +func (m *SyncInstallationContactV2) GetTrustStatus() int64 { + if m != nil { + return m.TrustStatus } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestLocalState() int64 { - if x != nil { - return x.ContactRequestLocalState +func (m *SyncInstallationContactV2) GetContactRequestLocalState() int64 { + if m != nil { + return m.ContactRequestLocalState } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestLocalClock() int64 { - if x != nil { - return x.ContactRequestLocalClock +func (m *SyncInstallationContactV2) GetContactRequestLocalClock() int64 { + if m != nil { + return m.ContactRequestLocalClock } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestRemoteState() int64 { - if x != nil { - return x.ContactRequestRemoteState +func (m *SyncInstallationContactV2) GetContactRequestRemoteState() int64 { + if m != nil { + return m.ContactRequestRemoteState } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestRemoteClock() int64 { - if x != nil { - return x.ContactRequestRemoteClock +func (m *SyncInstallationContactV2) GetContactRequestRemoteClock() int64 { + if m != nil { + return m.ContactRequestRemoteClock } return 0 } -func (x *SyncInstallationContactV2) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *SyncInstallationContactV2) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } type SyncInstallationAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - ProfileImage string `protobuf:"bytes,2,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"` - LastUpdated uint64 `protobuf:"varint,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + ProfileImage string `protobuf:"bytes,2,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"` + LastUpdated uint64 `protobuf:"varint,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncInstallationAccount) Reset() { - *x = SyncInstallationAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncInstallationAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncInstallationAccount) ProtoMessage() {} - -func (x *SyncInstallationAccount) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncInstallationAccount.ProtoReflect.Descriptor instead. +func (m *SyncInstallationAccount) Reset() { *m = SyncInstallationAccount{} } +func (m *SyncInstallationAccount) String() string { return proto.CompactTextString(m) } +func (*SyncInstallationAccount) ProtoMessage() {} func (*SyncInstallationAccount) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{7} + return fileDescriptor_d61ab7221f0b5518, []int{7} } -func (x *SyncInstallationAccount) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncInstallationAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncInstallationAccount.Unmarshal(m, b) +} +func (m *SyncInstallationAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncInstallationAccount.Marshal(b, m, deterministic) +} +func (m *SyncInstallationAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncInstallationAccount.Merge(m, src) +} +func (m *SyncInstallationAccount) XXX_Size() int { + return xxx_messageInfo_SyncInstallationAccount.Size(m) +} +func (m *SyncInstallationAccount) XXX_DiscardUnknown() { + xxx_messageInfo_SyncInstallationAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncInstallationAccount proto.InternalMessageInfo + +func (m *SyncInstallationAccount) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncInstallationAccount) GetProfileImage() string { - if x != nil { - return x.ProfileImage +func (m *SyncInstallationAccount) GetProfileImage() string { + if m != nil { + return m.ProfileImage } return "" } -func (x *SyncInstallationAccount) GetLastUpdated() uint64 { - if x != nil { - return x.LastUpdated +func (m *SyncInstallationAccount) GetLastUpdated() uint64 { + if m != nil { + return m.LastUpdated } return 0 } type SyncInstallationCommunity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Don't sync private_key because we want to have only one control node - // - // Deprecated: Marked as deprecated in pairing.proto. - PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` - Description []byte `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - Joined bool `protobuf:"varint,5,opt,name=joined,proto3" json:"joined,omitempty"` - Verified bool `protobuf:"varint,6,opt,name=verified,proto3" json:"verified,omitempty"` - Muted bool `protobuf:"varint,7,opt,name=muted,proto3" json:"muted,omitempty"` - RequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,8,rep,name=requests_to_join,json=requestsToJoin,proto3" json:"requests_to_join,omitempty"` - Settings *SyncCommunitySettings `protobuf:"bytes,9,opt,name=settings,proto3" json:"settings,omitempty"` - Encrypted bool `protobuf:"varint,10,opt,name=encrypted,proto3" json:"encrypted,omitempty"` - Spectated bool `protobuf:"varint,11,opt,name=spectated,proto3" json:"spectated,omitempty"` - EncryptionKeys []byte `protobuf:"bytes,12,opt,name=encryption_keys,json=encryptionKeys,proto3" json:"encryption_keys,omitempty"` - ControlNode *SyncCommunityControlNode `protobuf:"bytes,13,opt,name=control_node,json=controlNode,proto3" json:"control_node,omitempty"` + PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Deprecated: Do not use. + Description []byte `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Joined bool `protobuf:"varint,5,opt,name=joined,proto3" json:"joined,omitempty"` + Verified bool `protobuf:"varint,6,opt,name=verified,proto3" json:"verified,omitempty"` + Muted bool `protobuf:"varint,7,opt,name=muted,proto3" json:"muted,omitempty"` + RequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,8,rep,name=requests_to_join,json=requestsToJoin,proto3" json:"requests_to_join,omitempty"` + Settings *SyncCommunitySettings `protobuf:"bytes,9,opt,name=settings,proto3" json:"settings,omitempty"` + Encrypted bool `protobuf:"varint,10,opt,name=encrypted,proto3" json:"encrypted,omitempty"` + Spectated bool `protobuf:"varint,11,opt,name=spectated,proto3" json:"spectated,omitempty"` + EncryptionKeys []byte `protobuf:"bytes,12,opt,name=encryption_keys,json=encryptionKeys,proto3" json:"encryption_keys,omitempty"` + ControlNode *SyncCommunityControlNode `protobuf:"bytes,13,opt,name=control_node,json=controlNode,proto3" json:"control_node,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncInstallationCommunity) Reset() { - *x = SyncInstallationCommunity{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncInstallationCommunity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncInstallationCommunity) ProtoMessage() {} - -func (x *SyncInstallationCommunity) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncInstallationCommunity.ProtoReflect.Descriptor instead. +func (m *SyncInstallationCommunity) Reset() { *m = SyncInstallationCommunity{} } +func (m *SyncInstallationCommunity) String() string { return proto.CompactTextString(m) } +func (*SyncInstallationCommunity) ProtoMessage() {} func (*SyncInstallationCommunity) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{8} + return fileDescriptor_d61ab7221f0b5518, []int{8} } -func (x *SyncInstallationCommunity) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncInstallationCommunity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncInstallationCommunity.Unmarshal(m, b) +} +func (m *SyncInstallationCommunity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncInstallationCommunity.Marshal(b, m, deterministic) +} +func (m *SyncInstallationCommunity) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncInstallationCommunity.Merge(m, src) +} +func (m *SyncInstallationCommunity) XXX_Size() int { + return xxx_messageInfo_SyncInstallationCommunity.Size(m) +} +func (m *SyncInstallationCommunity) XXX_DiscardUnknown() { + xxx_messageInfo_SyncInstallationCommunity.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncInstallationCommunity proto.InternalMessageInfo + +func (m *SyncInstallationCommunity) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncInstallationCommunity) GetId() []byte { - if x != nil { - return x.Id +func (m *SyncInstallationCommunity) GetId() []byte { + if m != nil { + return m.Id } return nil } -// Deprecated: Marked as deprecated in pairing.proto. -func (x *SyncInstallationCommunity) GetPrivateKey() []byte { - if x != nil { - return x.PrivateKey +// Deprecated: Do not use. +func (m *SyncInstallationCommunity) GetPrivateKey() []byte { + if m != nil { + return m.PrivateKey } return nil } -func (x *SyncInstallationCommunity) GetDescription() []byte { - if x != nil { - return x.Description +func (m *SyncInstallationCommunity) GetDescription() []byte { + if m != nil { + return m.Description } return nil } -func (x *SyncInstallationCommunity) GetJoined() bool { - if x != nil { - return x.Joined +func (m *SyncInstallationCommunity) GetJoined() bool { + if m != nil { + return m.Joined } return false } -func (x *SyncInstallationCommunity) GetVerified() bool { - if x != nil { - return x.Verified +func (m *SyncInstallationCommunity) GetVerified() bool { + if m != nil { + return m.Verified } return false } -func (x *SyncInstallationCommunity) GetMuted() bool { - if x != nil { - return x.Muted +func (m *SyncInstallationCommunity) GetMuted() bool { + if m != nil { + return m.Muted } return false } -func (x *SyncInstallationCommunity) GetRequestsToJoin() []*SyncCommunityRequestsToJoin { - if x != nil { - return x.RequestsToJoin +func (m *SyncInstallationCommunity) GetRequestsToJoin() []*SyncCommunityRequestsToJoin { + if m != nil { + return m.RequestsToJoin } return nil } -func (x *SyncInstallationCommunity) GetSettings() *SyncCommunitySettings { - if x != nil { - return x.Settings +func (m *SyncInstallationCommunity) GetSettings() *SyncCommunitySettings { + if m != nil { + return m.Settings } return nil } -func (x *SyncInstallationCommunity) GetEncrypted() bool { - if x != nil { - return x.Encrypted +func (m *SyncInstallationCommunity) GetEncrypted() bool { + if m != nil { + return m.Encrypted } return false } -func (x *SyncInstallationCommunity) GetSpectated() bool { - if x != nil { - return x.Spectated +func (m *SyncInstallationCommunity) GetSpectated() bool { + if m != nil { + return m.Spectated } return false } -func (x *SyncInstallationCommunity) GetEncryptionKeys() []byte { - if x != nil { - return x.EncryptionKeys +func (m *SyncInstallationCommunity) GetEncryptionKeys() []byte { + if m != nil { + return m.EncryptionKeys } return nil } -func (x *SyncInstallationCommunity) GetControlNode() *SyncCommunityControlNode { - if x != nil { - return x.ControlNode +func (m *SyncInstallationCommunity) GetControlNode() *SyncCommunityControlNode { + if m != nil { + return m.ControlNode } return nil } type SyncCommunityRequestsToJoin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"` - EnsName string `protobuf:"bytes,4,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` - ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - CommunityId []byte `protobuf:"bytes,6,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - State uint64 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"` - RevealedAccounts []*RevealedAccount `protobuf:"bytes,8,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"` + EnsName string `protobuf:"bytes,4,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` + ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + CommunityId []byte `protobuf:"bytes,6,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + State uint64 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"` + RevealedAccounts []*RevealedAccount `protobuf:"bytes,8,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCommunityRequestsToJoin) Reset() { - *x = SyncCommunityRequestsToJoin{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCommunityRequestsToJoin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCommunityRequestsToJoin) ProtoMessage() {} - -func (x *SyncCommunityRequestsToJoin) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCommunityRequestsToJoin.ProtoReflect.Descriptor instead. +func (m *SyncCommunityRequestsToJoin) Reset() { *m = SyncCommunityRequestsToJoin{} } +func (m *SyncCommunityRequestsToJoin) String() string { return proto.CompactTextString(m) } +func (*SyncCommunityRequestsToJoin) ProtoMessage() {} func (*SyncCommunityRequestsToJoin) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{9} + return fileDescriptor_d61ab7221f0b5518, []int{9} } -func (x *SyncCommunityRequestsToJoin) GetId() []byte { - if x != nil { - return x.Id +func (m *SyncCommunityRequestsToJoin) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncCommunityRequestsToJoin.Unmarshal(m, b) +} +func (m *SyncCommunityRequestsToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncCommunityRequestsToJoin.Marshal(b, m, deterministic) +} +func (m *SyncCommunityRequestsToJoin) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncCommunityRequestsToJoin.Merge(m, src) +} +func (m *SyncCommunityRequestsToJoin) XXX_Size() int { + return xxx_messageInfo_SyncCommunityRequestsToJoin.Size(m) +} +func (m *SyncCommunityRequestsToJoin) XXX_DiscardUnknown() { + xxx_messageInfo_SyncCommunityRequestsToJoin.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncCommunityRequestsToJoin proto.InternalMessageInfo + +func (m *SyncCommunityRequestsToJoin) GetId() []byte { + if m != nil { + return m.Id } return nil } -func (x *SyncCommunityRequestsToJoin) GetPublicKey() string { - if x != nil { - return x.PublicKey +func (m *SyncCommunityRequestsToJoin) GetPublicKey() string { + if m != nil { + return m.PublicKey } return "" } -func (x *SyncCommunityRequestsToJoin) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCommunityRequestsToJoin) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCommunityRequestsToJoin) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *SyncCommunityRequestsToJoin) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *SyncCommunityRequestsToJoin) GetChatId() string { - if x != nil { - return x.ChatId +func (m *SyncCommunityRequestsToJoin) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *SyncCommunityRequestsToJoin) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *SyncCommunityRequestsToJoin) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *SyncCommunityRequestsToJoin) GetState() uint64 { - if x != nil { - return x.State +func (m *SyncCommunityRequestsToJoin) GetState() uint64 { + if m != nil { + return m.State } return 0 } -func (x *SyncCommunityRequestsToJoin) GetRevealedAccounts() []*RevealedAccount { - if x != nil { - return x.RevealedAccounts +func (m *SyncCommunityRequestsToJoin) GetRevealedAccounts() []*RevealedAccount { + if m != nil { + return m.RevealedAccounts } return nil } type SyncCommunityControlNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Lamport timestamp of control node change Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // The device id of the control node // Empty if there is no control node - InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCommunityControlNode) Reset() { - *x = SyncCommunityControlNode{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCommunityControlNode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCommunityControlNode) ProtoMessage() {} - -func (x *SyncCommunityControlNode) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCommunityControlNode.ProtoReflect.Descriptor instead. +func (m *SyncCommunityControlNode) Reset() { *m = SyncCommunityControlNode{} } +func (m *SyncCommunityControlNode) String() string { return proto.CompactTextString(m) } +func (*SyncCommunityControlNode) ProtoMessage() {} func (*SyncCommunityControlNode) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{10} + return fileDescriptor_d61ab7221f0b5518, []int{10} } -func (x *SyncCommunityControlNode) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCommunityControlNode) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncCommunityControlNode.Unmarshal(m, b) +} +func (m *SyncCommunityControlNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncCommunityControlNode.Marshal(b, m, deterministic) +} +func (m *SyncCommunityControlNode) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncCommunityControlNode.Merge(m, src) +} +func (m *SyncCommunityControlNode) XXX_Size() int { + return xxx_messageInfo_SyncCommunityControlNode.Size(m) +} +func (m *SyncCommunityControlNode) XXX_DiscardUnknown() { + xxx_messageInfo_SyncCommunityControlNode.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncCommunityControlNode proto.InternalMessageInfo + +func (m *SyncCommunityControlNode) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCommunityControlNode) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *SyncCommunityControlNode) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } type SyncChat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ChatType uint32 `protobuf:"varint,2,opt,name=chat_type,json=chatType,proto3" json:"chat_type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -1372,1254 +1375,1122 @@ type SyncChat struct { Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"` Clock uint64 `protobuf:"varint,6,opt,name=clock,proto3" json:"clock,omitempty"` Muted bool `protobuf:"varint,7,opt,name=muted,proto3" json:"muted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncChat) Reset() { - *x = SyncChat{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncChat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncChat) ProtoMessage() {} - -func (x *SyncChat) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncChat.ProtoReflect.Descriptor instead. +func (m *SyncChat) Reset() { *m = SyncChat{} } +func (m *SyncChat) String() string { return proto.CompactTextString(m) } +func (*SyncChat) ProtoMessage() {} func (*SyncChat) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{11} + return fileDescriptor_d61ab7221f0b5518, []int{11} } -func (x *SyncChat) GetId() string { - if x != nil { - return x.Id +func (m *SyncChat) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncChat.Unmarshal(m, b) +} +func (m *SyncChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncChat.Marshal(b, m, deterministic) +} +func (m *SyncChat) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncChat.Merge(m, src) +} +func (m *SyncChat) XXX_Size() int { + return xxx_messageInfo_SyncChat.Size(m) +} +func (m *SyncChat) XXX_DiscardUnknown() { + xxx_messageInfo_SyncChat.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncChat proto.InternalMessageInfo + +func (m *SyncChat) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SyncChat) GetChatType() uint32 { - if x != nil { - return x.ChatType +func (m *SyncChat) GetChatType() uint32 { + if m != nil { + return m.ChatType } return 0 } -func (x *SyncChat) GetName() string { - if x != nil { - return x.Name +func (m *SyncChat) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncChat) GetMembershipUpdateEvents() []*MembershipUpdateEvents { - if x != nil { - return x.MembershipUpdateEvents +func (m *SyncChat) GetMembershipUpdateEvents() []*MembershipUpdateEvents { + if m != nil { + return m.MembershipUpdateEvents } return nil } -func (x *SyncChat) GetActive() bool { - if x != nil { - return x.Active +func (m *SyncChat) GetActive() bool { + if m != nil { + return m.Active } return false } -func (x *SyncChat) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncChat) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncChat) GetMuted() bool { - if x != nil { - return x.Muted +func (m *SyncChat) GetMuted() bool { + if m != nil { + return m.Muted } return false } type MembershipUpdateEvents struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` - Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` - ChatId string `protobuf:"bytes,6,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - From string `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"` - RawPayload []byte `protobuf:"bytes,8,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"` - Color string `protobuf:"bytes,9,opt,name=color,proto3" json:"color,omitempty"` - Image []byte `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` + Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + ChatId string `protobuf:"bytes,6,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + From string `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"` + RawPayload []byte `protobuf:"bytes,8,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"` + Color string `protobuf:"bytes,9,opt,name=color,proto3" json:"color,omitempty"` + Image []byte `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MembershipUpdateEvents) Reset() { - *x = MembershipUpdateEvents{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MembershipUpdateEvents) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MembershipUpdateEvents) ProtoMessage() {} - -func (x *MembershipUpdateEvents) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MembershipUpdateEvents.ProtoReflect.Descriptor instead. +func (m *MembershipUpdateEvents) Reset() { *m = MembershipUpdateEvents{} } +func (m *MembershipUpdateEvents) String() string { return proto.CompactTextString(m) } +func (*MembershipUpdateEvents) ProtoMessage() {} func (*MembershipUpdateEvents) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{12} + return fileDescriptor_d61ab7221f0b5518, []int{12} } -func (x *MembershipUpdateEvents) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *MembershipUpdateEvents) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MembershipUpdateEvents.Unmarshal(m, b) +} +func (m *MembershipUpdateEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MembershipUpdateEvents.Marshal(b, m, deterministic) +} +func (m *MembershipUpdateEvents) XXX_Merge(src proto.Message) { + xxx_messageInfo_MembershipUpdateEvents.Merge(m, src) +} +func (m *MembershipUpdateEvents) XXX_Size() int { + return xxx_messageInfo_MembershipUpdateEvents.Size(m) +} +func (m *MembershipUpdateEvents) XXX_DiscardUnknown() { + xxx_messageInfo_MembershipUpdateEvents.DiscardUnknown(m) +} + +var xxx_messageInfo_MembershipUpdateEvents proto.InternalMessageInfo + +func (m *MembershipUpdateEvents) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *MembershipUpdateEvents) GetType() uint32 { - if x != nil { - return x.Type +func (m *MembershipUpdateEvents) GetType() uint32 { + if m != nil { + return m.Type } return 0 } -func (x *MembershipUpdateEvents) GetMembers() []string { - if x != nil { - return x.Members +func (m *MembershipUpdateEvents) GetMembers() []string { + if m != nil { + return m.Members } return nil } -func (x *MembershipUpdateEvents) GetName() string { - if x != nil { - return x.Name +func (m *MembershipUpdateEvents) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *MembershipUpdateEvents) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *MembershipUpdateEvents) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *MembershipUpdateEvents) GetChatId() string { - if x != nil { - return x.ChatId +func (m *MembershipUpdateEvents) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *MembershipUpdateEvents) GetFrom() string { - if x != nil { - return x.From +func (m *MembershipUpdateEvents) GetFrom() string { + if m != nil { + return m.From } return "" } -func (x *MembershipUpdateEvents) GetRawPayload() []byte { - if x != nil { - return x.RawPayload +func (m *MembershipUpdateEvents) GetRawPayload() []byte { + if m != nil { + return m.RawPayload } return nil } -func (x *MembershipUpdateEvents) GetColor() string { - if x != nil { - return x.Color +func (m *MembershipUpdateEvents) GetColor() string { + if m != nil { + return m.Color } return "" } -func (x *MembershipUpdateEvents) GetImage() []byte { - if x != nil { - return x.Image +func (m *MembershipUpdateEvents) GetImage() []byte { + if m != nil { + return m.Image } return nil } type SyncChatRemoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncChatRemoved) Reset() { - *x = SyncChatRemoved{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncChatRemoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncChatRemoved) ProtoMessage() {} - -func (x *SyncChatRemoved) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncChatRemoved.ProtoReflect.Descriptor instead. +func (m *SyncChatRemoved) Reset() { *m = SyncChatRemoved{} } +func (m *SyncChatRemoved) String() string { return proto.CompactTextString(m) } +func (*SyncChatRemoved) ProtoMessage() {} func (*SyncChatRemoved) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{13} + return fileDescriptor_d61ab7221f0b5518, []int{13} } -func (x *SyncChatRemoved) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncChatRemoved) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncChatRemoved.Unmarshal(m, b) +} +func (m *SyncChatRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncChatRemoved.Marshal(b, m, deterministic) +} +func (m *SyncChatRemoved) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncChatRemoved.Merge(m, src) +} +func (m *SyncChatRemoved) XXX_Size() int { + return xxx_messageInfo_SyncChatRemoved.Size(m) +} +func (m *SyncChatRemoved) XXX_DiscardUnknown() { + xxx_messageInfo_SyncChatRemoved.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncChatRemoved proto.InternalMessageInfo + +func (m *SyncChatRemoved) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncChatRemoved) GetId() string { - if x != nil { - return x.Id +func (m *SyncChatRemoved) GetId() string { + if m != nil { + return m.Id } return "" } type SyncChatMessagesRead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncChatMessagesRead) Reset() { - *x = SyncChatMessagesRead{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncChatMessagesRead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncChatMessagesRead) ProtoMessage() {} - -func (x *SyncChatMessagesRead) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncChatMessagesRead.ProtoReflect.Descriptor instead. +func (m *SyncChatMessagesRead) Reset() { *m = SyncChatMessagesRead{} } +func (m *SyncChatMessagesRead) String() string { return proto.CompactTextString(m) } +func (*SyncChatMessagesRead) ProtoMessage() {} func (*SyncChatMessagesRead) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{14} + return fileDescriptor_d61ab7221f0b5518, []int{14} } -func (x *SyncChatMessagesRead) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncChatMessagesRead) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncChatMessagesRead.Unmarshal(m, b) +} +func (m *SyncChatMessagesRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncChatMessagesRead.Marshal(b, m, deterministic) +} +func (m *SyncChatMessagesRead) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncChatMessagesRead.Merge(m, src) +} +func (m *SyncChatMessagesRead) XXX_Size() int { + return xxx_messageInfo_SyncChatMessagesRead.Size(m) +} +func (m *SyncChatMessagesRead) XXX_DiscardUnknown() { + xxx_messageInfo_SyncChatMessagesRead.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncChatMessagesRead proto.InternalMessageInfo + +func (m *SyncChatMessagesRead) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncChatMessagesRead) GetId() string { - if x != nil { - return x.Id +func (m *SyncChatMessagesRead) GetId() string { + if m != nil { + return m.Id } return "" } type SyncActivityCenterRead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterRead) Reset() { - *x = SyncActivityCenterRead{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterRead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterRead) ProtoMessage() {} - -func (x *SyncActivityCenterRead) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterRead.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterRead) Reset() { *m = SyncActivityCenterRead{} } +func (m *SyncActivityCenterRead) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterRead) ProtoMessage() {} func (*SyncActivityCenterRead) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{15} + return fileDescriptor_d61ab7221f0b5518, []int{15} } -func (x *SyncActivityCenterRead) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterRead) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterRead.Unmarshal(m, b) +} +func (m *SyncActivityCenterRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterRead.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterRead) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterRead.Merge(m, src) +} +func (m *SyncActivityCenterRead) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterRead.Size(m) +} +func (m *SyncActivityCenterRead) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterRead.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterRead proto.InternalMessageInfo + +func (m *SyncActivityCenterRead) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterRead) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterRead) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterAccepted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterAccepted) Reset() { - *x = SyncActivityCenterAccepted{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterAccepted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterAccepted) ProtoMessage() {} - -func (x *SyncActivityCenterAccepted) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterAccepted.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterAccepted) Reset() { *m = SyncActivityCenterAccepted{} } +func (m *SyncActivityCenterAccepted) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterAccepted) ProtoMessage() {} func (*SyncActivityCenterAccepted) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{16} + return fileDescriptor_d61ab7221f0b5518, []int{16} } -func (x *SyncActivityCenterAccepted) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterAccepted) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterAccepted.Unmarshal(m, b) +} +func (m *SyncActivityCenterAccepted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterAccepted.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterAccepted) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterAccepted.Merge(m, src) +} +func (m *SyncActivityCenterAccepted) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterAccepted.Size(m) +} +func (m *SyncActivityCenterAccepted) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterAccepted.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterAccepted proto.InternalMessageInfo + +func (m *SyncActivityCenterAccepted) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterAccepted) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterAccepted) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterDismissed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterDismissed) Reset() { - *x = SyncActivityCenterDismissed{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterDismissed) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterDismissed) ProtoMessage() {} - -func (x *SyncActivityCenterDismissed) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterDismissed.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterDismissed) Reset() { *m = SyncActivityCenterDismissed{} } +func (m *SyncActivityCenterDismissed) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterDismissed) ProtoMessage() {} func (*SyncActivityCenterDismissed) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{17} + return fileDescriptor_d61ab7221f0b5518, []int{17} } -func (x *SyncActivityCenterDismissed) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterDismissed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterDismissed.Unmarshal(m, b) +} +func (m *SyncActivityCenterDismissed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterDismissed.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterDismissed) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterDismissed.Merge(m, src) +} +func (m *SyncActivityCenterDismissed) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterDismissed.Size(m) +} +func (m *SyncActivityCenterDismissed) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterDismissed.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterDismissed proto.InternalMessageInfo + +func (m *SyncActivityCenterDismissed) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterDismissed) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterDismissed) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterDeleted) Reset() { - *x = SyncActivityCenterDeleted{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterDeleted) ProtoMessage() {} - -func (x *SyncActivityCenterDeleted) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterDeleted.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterDeleted) Reset() { *m = SyncActivityCenterDeleted{} } +func (m *SyncActivityCenterDeleted) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterDeleted) ProtoMessage() {} func (*SyncActivityCenterDeleted) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{18} + return fileDescriptor_d61ab7221f0b5518, []int{18} } -func (x *SyncActivityCenterDeleted) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterDeleted) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterDeleted.Unmarshal(m, b) +} +func (m *SyncActivityCenterDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterDeleted.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterDeleted) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterDeleted.Merge(m, src) +} +func (m *SyncActivityCenterDeleted) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterDeleted.Size(m) +} +func (m *SyncActivityCenterDeleted) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterDeleted.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterDeleted proto.InternalMessageInfo + +func (m *SyncActivityCenterDeleted) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterDeleted) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterDeleted) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterUnread struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterUnread) Reset() { - *x = SyncActivityCenterUnread{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterUnread) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterUnread) ProtoMessage() {} - -func (x *SyncActivityCenterUnread) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterUnread.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterUnread) Reset() { *m = SyncActivityCenterUnread{} } +func (m *SyncActivityCenterUnread) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterUnread) ProtoMessage() {} func (*SyncActivityCenterUnread) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{19} + return fileDescriptor_d61ab7221f0b5518, []int{19} } -func (x *SyncActivityCenterUnread) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterUnread) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterUnread.Unmarshal(m, b) +} +func (m *SyncActivityCenterUnread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterUnread.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterUnread) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterUnread.Merge(m, src) +} +func (m *SyncActivityCenterUnread) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterUnread.Size(m) +} +func (m *SyncActivityCenterUnread) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterUnread.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterUnread proto.InternalMessageInfo + +func (m *SyncActivityCenterUnread) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterUnread) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterUnread) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterNotificationState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UpdatedAt uint64 `protobuf:"varint,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - HasSeen bool `protobuf:"varint,2,opt,name=has_seen,json=hasSeen,proto3" json:"has_seen,omitempty"` + UpdatedAt uint64 `protobuf:"varint,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + HasSeen bool `protobuf:"varint,2,opt,name=has_seen,json=hasSeen,proto3" json:"has_seen,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterNotificationState) Reset() { - *x = SyncActivityCenterNotificationState{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterNotificationState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterNotificationState) ProtoMessage() {} - -func (x *SyncActivityCenterNotificationState) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterNotificationState.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterNotificationState) Reset() { *m = SyncActivityCenterNotificationState{} } +func (m *SyncActivityCenterNotificationState) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterNotificationState) ProtoMessage() {} func (*SyncActivityCenterNotificationState) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{20} + return fileDescriptor_d61ab7221f0b5518, []int{20} } -func (x *SyncActivityCenterNotificationState) GetUpdatedAt() uint64 { - if x != nil { - return x.UpdatedAt +func (m *SyncActivityCenterNotificationState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterNotificationState.Unmarshal(m, b) +} +func (m *SyncActivityCenterNotificationState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterNotificationState.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterNotificationState) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterNotificationState.Merge(m, src) +} +func (m *SyncActivityCenterNotificationState) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterNotificationState.Size(m) +} +func (m *SyncActivityCenterNotificationState) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterNotificationState.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterNotificationState proto.InternalMessageInfo + +func (m *SyncActivityCenterNotificationState) GetUpdatedAt() uint64 { + if m != nil { + return m.UpdatedAt } return 0 } -func (x *SyncActivityCenterNotificationState) GetHasSeen() bool { - if x != nil { - return x.HasSeen +func (m *SyncActivityCenterNotificationState) GetHasSeen() bool { + if m != nil { + return m.HasSeen } return false } type SyncActivityCenterCommunityRequestDecision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - MembershipStatus uint32 `protobuf:"varint,3,opt,name=membership_status,json=membershipStatus,proto3" json:"membership_status,omitempty"` - Decision SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision `protobuf:"varint,4,opt,name=decision,proto3,enum=protobuf.SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision" json:"decision,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + MembershipStatus uint32 `protobuf:"varint,3,opt,name=membership_status,json=membershipStatus,proto3" json:"membership_status,omitempty"` + Decision SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision `protobuf:"varint,4,opt,name=decision,proto3,enum=protobuf.SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision" json:"decision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterCommunityRequestDecision) Reset() { - *x = SyncActivityCenterCommunityRequestDecision{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SyncActivityCenterCommunityRequestDecision) Reset() { + *m = SyncActivityCenterCommunityRequestDecision{} } - -func (x *SyncActivityCenterCommunityRequestDecision) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SyncActivityCenterCommunityRequestDecision) String() string { + return proto.CompactTextString(m) } - func (*SyncActivityCenterCommunityRequestDecision) ProtoMessage() {} - -func (x *SyncActivityCenterCommunityRequestDecision) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterCommunityRequestDecision.ProtoReflect.Descriptor instead. func (*SyncActivityCenterCommunityRequestDecision) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{21} + return fileDescriptor_d61ab7221f0b5518, []int{21} } -func (x *SyncActivityCenterCommunityRequestDecision) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Unmarshal(m, b) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Merge(m, src) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Size(m) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterCommunityRequestDecision proto.InternalMessageInfo + +func (m *SyncActivityCenterCommunityRequestDecision) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterCommunityRequestDecision) GetId() []byte { - if x != nil { - return x.Id +func (m *SyncActivityCenterCommunityRequestDecision) GetId() []byte { + if m != nil { + return m.Id } return nil } -func (x *SyncActivityCenterCommunityRequestDecision) GetMembershipStatus() uint32 { - if x != nil { - return x.MembershipStatus +func (m *SyncActivityCenterCommunityRequestDecision) GetMembershipStatus() uint32 { + if m != nil { + return m.MembershipStatus } return 0 } -func (x *SyncActivityCenterCommunityRequestDecision) GetDecision() SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision { - if x != nil { - return x.Decision +func (m *SyncActivityCenterCommunityRequestDecision) GetDecision() SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision { + if m != nil { + return m.Decision } return SyncActivityCenterCommunityRequestDecision_ACCEPTED } type SyncBookmark struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` - Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` - DeletedAt uint64 `protobuf:"varint,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` + Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` + DeletedAt uint64 `protobuf:"varint,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncBookmark) Reset() { - *x = SyncBookmark{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncBookmark) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncBookmark) ProtoMessage() {} - -func (x *SyncBookmark) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncBookmark.ProtoReflect.Descriptor instead. +func (m *SyncBookmark) Reset() { *m = SyncBookmark{} } +func (m *SyncBookmark) String() string { return proto.CompactTextString(m) } +func (*SyncBookmark) ProtoMessage() {} func (*SyncBookmark) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{22} + return fileDescriptor_d61ab7221f0b5518, []int{22} } -func (x *SyncBookmark) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncBookmark) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncBookmark.Unmarshal(m, b) +} +func (m *SyncBookmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncBookmark.Marshal(b, m, deterministic) +} +func (m *SyncBookmark) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncBookmark.Merge(m, src) +} +func (m *SyncBookmark) XXX_Size() int { + return xxx_messageInfo_SyncBookmark.Size(m) +} +func (m *SyncBookmark) XXX_DiscardUnknown() { + xxx_messageInfo_SyncBookmark.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncBookmark proto.InternalMessageInfo + +func (m *SyncBookmark) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncBookmark) GetUrl() string { - if x != nil { - return x.Url +func (m *SyncBookmark) GetUrl() string { + if m != nil { + return m.Url } return "" } -func (x *SyncBookmark) GetName() string { - if x != nil { - return x.Name +func (m *SyncBookmark) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncBookmark) GetImageUrl() string { - if x != nil { - return x.ImageUrl +func (m *SyncBookmark) GetImageUrl() string { + if m != nil { + return m.ImageUrl } return "" } -func (x *SyncBookmark) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncBookmark) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncBookmark) GetDeletedAt() uint64 { - if x != nil { - return x.DeletedAt +func (m *SyncBookmark) GetDeletedAt() uint64 { + if m != nil { + return m.DeletedAt } return 0 } type SyncEnsUsernameDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - ChainId uint64 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - Removed bool `protobuf:"varint,4,opt,name=removed,proto3" json:"removed,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + ChainId uint64 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + Removed bool `protobuf:"varint,4,opt,name=removed,proto3" json:"removed,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncEnsUsernameDetail) Reset() { - *x = SyncEnsUsernameDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncEnsUsernameDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncEnsUsernameDetail) ProtoMessage() {} - -func (x *SyncEnsUsernameDetail) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncEnsUsernameDetail.ProtoReflect.Descriptor instead. +func (m *SyncEnsUsernameDetail) Reset() { *m = SyncEnsUsernameDetail{} } +func (m *SyncEnsUsernameDetail) String() string { return proto.CompactTextString(m) } +func (*SyncEnsUsernameDetail) ProtoMessage() {} func (*SyncEnsUsernameDetail) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{23} + return fileDescriptor_d61ab7221f0b5518, []int{23} } -func (x *SyncEnsUsernameDetail) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncEnsUsernameDetail) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncEnsUsernameDetail.Unmarshal(m, b) +} +func (m *SyncEnsUsernameDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncEnsUsernameDetail.Marshal(b, m, deterministic) +} +func (m *SyncEnsUsernameDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncEnsUsernameDetail.Merge(m, src) +} +func (m *SyncEnsUsernameDetail) XXX_Size() int { + return xxx_messageInfo_SyncEnsUsernameDetail.Size(m) +} +func (m *SyncEnsUsernameDetail) XXX_DiscardUnknown() { + xxx_messageInfo_SyncEnsUsernameDetail.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncEnsUsernameDetail proto.InternalMessageInfo + +func (m *SyncEnsUsernameDetail) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncEnsUsernameDetail) GetUsername() string { - if x != nil { - return x.Username +func (m *SyncEnsUsernameDetail) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *SyncEnsUsernameDetail) GetChainId() uint64 { - if x != nil { - return x.ChainId +func (m *SyncEnsUsernameDetail) GetChainId() uint64 { + if m != nil { + return m.ChainId } return 0 } -func (x *SyncEnsUsernameDetail) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncEnsUsernameDetail) GetRemoved() bool { + if m != nil { + return m.Removed } return false } type SyncClearHistory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - ClearedAt uint64 `protobuf:"varint,2,opt,name=cleared_at,json=clearedAt,proto3" json:"cleared_at,omitempty"` + ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + ClearedAt uint64 `protobuf:"varint,2,opt,name=cleared_at,json=clearedAt,proto3" json:"cleared_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncClearHistory) Reset() { - *x = SyncClearHistory{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncClearHistory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncClearHistory) ProtoMessage() {} - -func (x *SyncClearHistory) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncClearHistory.ProtoReflect.Descriptor instead. +func (m *SyncClearHistory) Reset() { *m = SyncClearHistory{} } +func (m *SyncClearHistory) String() string { return proto.CompactTextString(m) } +func (*SyncClearHistory) ProtoMessage() {} func (*SyncClearHistory) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{24} + return fileDescriptor_d61ab7221f0b5518, []int{24} } -func (x *SyncClearHistory) GetChatId() string { - if x != nil { - return x.ChatId +func (m *SyncClearHistory) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncClearHistory.Unmarshal(m, b) +} +func (m *SyncClearHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncClearHistory.Marshal(b, m, deterministic) +} +func (m *SyncClearHistory) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncClearHistory.Merge(m, src) +} +func (m *SyncClearHistory) XXX_Size() int { + return xxx_messageInfo_SyncClearHistory.Size(m) +} +func (m *SyncClearHistory) XXX_DiscardUnknown() { + xxx_messageInfo_SyncClearHistory.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncClearHistory proto.InternalMessageInfo + +func (m *SyncClearHistory) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *SyncClearHistory) GetClearedAt() uint64 { - if x != nil { - return x.ClearedAt +func (m *SyncClearHistory) GetClearedAt() uint64 { + if m != nil { + return m.ClearedAt } return 0 } type SyncProfilePicture struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - FileSize uint32 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` - ResizeTarget uint32 `protobuf:"varint,6,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` - Clock uint64 `protobuf:"varint,7,opt,name=clock,proto3" json:"clock,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + FileSize uint32 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` + ResizeTarget uint32 `protobuf:"varint,6,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` + Clock uint64 `protobuf:"varint,7,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncProfilePicture) Reset() { - *x = SyncProfilePicture{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncProfilePicture) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncProfilePicture) ProtoMessage() {} - -func (x *SyncProfilePicture) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncProfilePicture.ProtoReflect.Descriptor instead. +func (m *SyncProfilePicture) Reset() { *m = SyncProfilePicture{} } +func (m *SyncProfilePicture) String() string { return proto.CompactTextString(m) } +func (*SyncProfilePicture) ProtoMessage() {} func (*SyncProfilePicture) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{25} + return fileDescriptor_d61ab7221f0b5518, []int{25} } -func (x *SyncProfilePicture) GetName() string { - if x != nil { - return x.Name +func (m *SyncProfilePicture) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncProfilePicture.Unmarshal(m, b) +} +func (m *SyncProfilePicture) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncProfilePicture.Marshal(b, m, deterministic) +} +func (m *SyncProfilePicture) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncProfilePicture.Merge(m, src) +} +func (m *SyncProfilePicture) XXX_Size() int { + return xxx_messageInfo_SyncProfilePicture.Size(m) +} +func (m *SyncProfilePicture) XXX_DiscardUnknown() { + xxx_messageInfo_SyncProfilePicture.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncProfilePicture proto.InternalMessageInfo + +func (m *SyncProfilePicture) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncProfilePicture) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *SyncProfilePicture) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *SyncProfilePicture) GetWidth() uint32 { - if x != nil { - return x.Width +func (m *SyncProfilePicture) GetWidth() uint32 { + if m != nil { + return m.Width } return 0 } -func (x *SyncProfilePicture) GetHeight() uint32 { - if x != nil { - return x.Height +func (m *SyncProfilePicture) GetHeight() uint32 { + if m != nil { + return m.Height } return 0 } -func (x *SyncProfilePicture) GetFileSize() uint32 { - if x != nil { - return x.FileSize +func (m *SyncProfilePicture) GetFileSize() uint32 { + if m != nil { + return m.FileSize } return 0 } -func (x *SyncProfilePicture) GetResizeTarget() uint32 { - if x != nil { - return x.ResizeTarget +func (m *SyncProfilePicture) GetResizeTarget() uint32 { + if m != nil { + return m.ResizeTarget } return 0 } -func (x *SyncProfilePicture) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncProfilePicture) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type SyncProfilePictures struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - Pictures []*SyncProfilePicture `protobuf:"bytes,2,rep,name=pictures,proto3" json:"pictures,omitempty"` + KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + Pictures []*SyncProfilePicture `protobuf:"bytes,2,rep,name=pictures,proto3" json:"pictures,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncProfilePictures) Reset() { - *x = SyncProfilePictures{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncProfilePictures) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncProfilePictures) ProtoMessage() {} - -func (x *SyncProfilePictures) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncProfilePictures.ProtoReflect.Descriptor instead. +func (m *SyncProfilePictures) Reset() { *m = SyncProfilePictures{} } +func (m *SyncProfilePictures) String() string { return proto.CompactTextString(m) } +func (*SyncProfilePictures) ProtoMessage() {} func (*SyncProfilePictures) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{26} + return fileDescriptor_d61ab7221f0b5518, []int{26} } -func (x *SyncProfilePictures) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncProfilePictures) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncProfilePictures.Unmarshal(m, b) +} +func (m *SyncProfilePictures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncProfilePictures.Marshal(b, m, deterministic) +} +func (m *SyncProfilePictures) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncProfilePictures.Merge(m, src) +} +func (m *SyncProfilePictures) XXX_Size() int { + return xxx_messageInfo_SyncProfilePictures.Size(m) +} +func (m *SyncProfilePictures) XXX_DiscardUnknown() { + xxx_messageInfo_SyncProfilePictures.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncProfilePictures proto.InternalMessageInfo + +func (m *SyncProfilePictures) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncProfilePictures) GetPictures() []*SyncProfilePicture { - if x != nil { - return x.Pictures +func (m *SyncProfilePictures) GetPictures() []*SyncProfilePicture { + if m != nil { + return m.Pictures } return nil } type SyncAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - ColorId string `protobuf:"bytes,7,opt,name=color_id,json=colorId,proto3" json:"color_id,omitempty"` - Emoji string `protobuf:"bytes,8,opt,name=emoji,proto3" json:"emoji,omitempty"` - Wallet bool `protobuf:"varint,9,opt,name=wallet,proto3" json:"wallet,omitempty"` - Chat bool `protobuf:"varint,10,opt,name=chat,proto3" json:"chat,omitempty"` - Hidden bool `protobuf:"varint,11,opt,name=hidden,proto3" json:"hidden,omitempty"` - Removed bool `protobuf:"varint,12,opt,name=removed,proto3" json:"removed,omitempty"` - Position int64 `protobuf:"varint,13,opt,name=position,proto3" json:"position,omitempty"` - ProdPreferredChainIDs string `protobuf:"bytes,14,opt,name=prodPreferredChainIDs,proto3" json:"prodPreferredChainIDs,omitempty"` - TestPreferredChainIDs string `protobuf:"bytes,15,opt,name=testPreferredChainIDs,proto3" json:"testPreferredChainIDs,omitempty"` - Operable string `protobuf:"bytes,16,opt,name=operable,proto3" json:"operable,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + ColorId string `protobuf:"bytes,7,opt,name=color_id,json=colorId,proto3" json:"color_id,omitempty"` + Emoji string `protobuf:"bytes,8,opt,name=emoji,proto3" json:"emoji,omitempty"` + Wallet bool `protobuf:"varint,9,opt,name=wallet,proto3" json:"wallet,omitempty"` + Chat bool `protobuf:"varint,10,opt,name=chat,proto3" json:"chat,omitempty"` + Hidden bool `protobuf:"varint,11,opt,name=hidden,proto3" json:"hidden,omitempty"` + Removed bool `protobuf:"varint,12,opt,name=removed,proto3" json:"removed,omitempty"` + Position int64 `protobuf:"varint,13,opt,name=position,proto3" json:"position,omitempty"` + ProdPreferredChainIDs string `protobuf:"bytes,14,opt,name=prodPreferredChainIDs,proto3" json:"prodPreferredChainIDs,omitempty"` + TestPreferredChainIDs string `protobuf:"bytes,15,opt,name=testPreferredChainIDs,proto3" json:"testPreferredChainIDs,omitempty"` + Operable string `protobuf:"bytes,16,opt,name=operable,proto3" json:"operable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncAccount) Reset() { - *x = SyncAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncAccount) ProtoMessage() {} - -func (x *SyncAccount) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncAccount.ProtoReflect.Descriptor instead. +func (m *SyncAccount) Reset() { *m = SyncAccount{} } +func (m *SyncAccount) String() string { return proto.CompactTextString(m) } +func (*SyncAccount) ProtoMessage() {} func (*SyncAccount) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{27} + return fileDescriptor_d61ab7221f0b5518, []int{27} } -func (x *SyncAccount) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncAccount.Unmarshal(m, b) +} +func (m *SyncAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncAccount.Marshal(b, m, deterministic) +} +func (m *SyncAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncAccount.Merge(m, src) +} +func (m *SyncAccount) XXX_Size() int { + return xxx_messageInfo_SyncAccount.Size(m) +} +func (m *SyncAccount) XXX_DiscardUnknown() { + xxx_messageInfo_SyncAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncAccount proto.InternalMessageInfo + +func (m *SyncAccount) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncAccount) GetAddress() []byte { - if x != nil { - return x.Address +func (m *SyncAccount) GetAddress() []byte { + if m != nil { + return m.Address } return nil } -func (x *SyncAccount) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncAccount) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncAccount) GetPublicKey() []byte { - if x != nil { - return x.PublicKey +func (m *SyncAccount) GetPublicKey() []byte { + if m != nil { + return m.PublicKey } return nil } -func (x *SyncAccount) GetPath() string { - if x != nil { - return x.Path +func (m *SyncAccount) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *SyncAccount) GetName() string { - if x != nil { - return x.Name +func (m *SyncAccount) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncAccount) GetColorId() string { - if x != nil { - return x.ColorId +func (m *SyncAccount) GetColorId() string { + if m != nil { + return m.ColorId } return "" } -func (x *SyncAccount) GetEmoji() string { - if x != nil { - return x.Emoji +func (m *SyncAccount) GetEmoji() string { + if m != nil { + return m.Emoji } return "" } -func (x *SyncAccount) GetWallet() bool { - if x != nil { - return x.Wallet +func (m *SyncAccount) GetWallet() bool { + if m != nil { + return m.Wallet } return false } -func (x *SyncAccount) GetChat() bool { - if x != nil { - return x.Chat +func (m *SyncAccount) GetChat() bool { + if m != nil { + return m.Chat } return false } -func (x *SyncAccount) GetHidden() bool { - if x != nil { - return x.Hidden +func (m *SyncAccount) GetHidden() bool { + if m != nil { + return m.Hidden } return false } -func (x *SyncAccount) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncAccount) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncAccount) GetPosition() int64 { - if x != nil { - return x.Position +func (m *SyncAccount) GetPosition() int64 { + if m != nil { + return m.Position } return 0 } -func (x *SyncAccount) GetProdPreferredChainIDs() string { - if x != nil { - return x.ProdPreferredChainIDs +func (m *SyncAccount) GetProdPreferredChainIDs() string { + if m != nil { + return m.ProdPreferredChainIDs } return "" } -func (x *SyncAccount) GetTestPreferredChainIDs() string { - if x != nil { - return x.TestPreferredChainIDs +func (m *SyncAccount) GetTestPreferredChainIDs() string { + if m != nil { + return m.TestPreferredChainIDs } return "" } -func (x *SyncAccount) GetOperable() string { - if x != nil { - return x.Operable +func (m *SyncAccount) GetOperable() string { + if m != nil { + return m.Operable } return "" } type SyncKeypair struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` KeyUid string `protobuf:"bytes,2,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -2631,113 +2502,109 @@ type SyncKeypair struct { Keycards []*SyncKeycard `protobuf:"bytes,9,rep,name=keycards,proto3" json:"keycards,omitempty"` Removed bool `protobuf:"varint,10,opt,name=removed,proto3" json:"removed,omitempty"` KeycardPairings []byte `protobuf:"bytes,11,opt,name=keycard_pairings,json=keycardPairings,proto3" json:"keycard_pairings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncKeypair) Reset() { - *x = SyncKeypair{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncKeypair) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncKeypair) ProtoMessage() {} - -func (x *SyncKeypair) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncKeypair.ProtoReflect.Descriptor instead. +func (m *SyncKeypair) Reset() { *m = SyncKeypair{} } +func (m *SyncKeypair) String() string { return proto.CompactTextString(m) } +func (*SyncKeypair) ProtoMessage() {} func (*SyncKeypair) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{28} + return fileDescriptor_d61ab7221f0b5518, []int{28} } -func (x *SyncKeypair) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncKeypair) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncKeypair.Unmarshal(m, b) +} +func (m *SyncKeypair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncKeypair.Marshal(b, m, deterministic) +} +func (m *SyncKeypair) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncKeypair.Merge(m, src) +} +func (m *SyncKeypair) XXX_Size() int { + return xxx_messageInfo_SyncKeypair.Size(m) +} +func (m *SyncKeypair) XXX_DiscardUnknown() { + xxx_messageInfo_SyncKeypair.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncKeypair proto.InternalMessageInfo + +func (m *SyncKeypair) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncKeypair) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncKeypair) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncKeypair) GetName() string { - if x != nil { - return x.Name +func (m *SyncKeypair) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncKeypair) GetType() string { - if x != nil { - return x.Type +func (m *SyncKeypair) GetType() string { + if m != nil { + return m.Type } return "" } -func (x *SyncKeypair) GetDerivedFrom() string { - if x != nil { - return x.DerivedFrom +func (m *SyncKeypair) GetDerivedFrom() string { + if m != nil { + return m.DerivedFrom } return "" } -func (x *SyncKeypair) GetLastUsedDerivationIndex() uint64 { - if x != nil { - return x.LastUsedDerivationIndex +func (m *SyncKeypair) GetLastUsedDerivationIndex() uint64 { + if m != nil { + return m.LastUsedDerivationIndex } return 0 } -func (x *SyncKeypair) GetSyncedFrom() string { - if x != nil { - return x.SyncedFrom +func (m *SyncKeypair) GetSyncedFrom() string { + if m != nil { + return m.SyncedFrom } return "" } -func (x *SyncKeypair) GetAccounts() []*SyncAccount { - if x != nil { - return x.Accounts +func (m *SyncKeypair) GetAccounts() []*SyncAccount { + if m != nil { + return m.Accounts } return nil } -func (x *SyncKeypair) GetKeycards() []*SyncKeycard { - if x != nil { - return x.Keycards +func (m *SyncKeypair) GetKeycards() []*SyncKeycard { + if m != nil { + return m.Keycards } return nil } -func (x *SyncKeypair) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncKeypair) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncKeypair) GetKeycardPairings() []byte { - if x != nil { - return x.KeycardPairings +func (m *SyncKeypair) GetKeycardPairings() []byte { + if m != nil { + return m.KeycardPairings } return nil } @@ -2745,2356 +2612,1039 @@ func (x *SyncKeypair) GetKeycardPairings() []byte { // this message is used for syncing accounts positions only, for syncing any other info consider // `SyncAccount` or `SyncKeypair` message type SyncAccountsPositions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Accounts []*SyncAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Accounts []*SyncAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncAccountsPositions) Reset() { - *x = SyncAccountsPositions{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncAccountsPositions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncAccountsPositions) ProtoMessage() {} - -func (x *SyncAccountsPositions) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncAccountsPositions.ProtoReflect.Descriptor instead. +func (m *SyncAccountsPositions) Reset() { *m = SyncAccountsPositions{} } +func (m *SyncAccountsPositions) String() string { return proto.CompactTextString(m) } +func (*SyncAccountsPositions) ProtoMessage() {} func (*SyncAccountsPositions) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{29} + return fileDescriptor_d61ab7221f0b5518, []int{29} } -func (x *SyncAccountsPositions) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncAccountsPositions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncAccountsPositions.Unmarshal(m, b) +} +func (m *SyncAccountsPositions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncAccountsPositions.Marshal(b, m, deterministic) +} +func (m *SyncAccountsPositions) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncAccountsPositions.Merge(m, src) +} +func (m *SyncAccountsPositions) XXX_Size() int { + return xxx_messageInfo_SyncAccountsPositions.Size(m) +} +func (m *SyncAccountsPositions) XXX_DiscardUnknown() { + xxx_messageInfo_SyncAccountsPositions.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncAccountsPositions proto.InternalMessageInfo + +func (m *SyncAccountsPositions) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncAccountsPositions) GetAccounts() []*SyncAccount { - if x != nil { - return x.Accounts +func (m *SyncAccountsPositions) GetAccounts() []*SyncAccount { + if m != nil { + return m.Accounts } return nil } type SyncSavedAddress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Favourite bool `protobuf:"varint,3,opt,name=favourite,proto3" json:"favourite,omitempty"` - Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` - UpdateClock uint64 `protobuf:"varint,7,opt,name=update_clock,json=updateClock,proto3" json:"update_clock,omitempty"` - ChainShortNames string `protobuf:"bytes,8,opt,name=chain_short_names,json=chainShortNames,proto3" json:"chain_short_names,omitempty"` - Ens string `protobuf:"bytes,9,opt,name=ens,proto3" json:"ens,omitempty"` - IsTest bool `protobuf:"varint,10,opt,name=is_test,json=isTest,proto3" json:"is_test,omitempty"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Favourite bool `protobuf:"varint,3,opt,name=favourite,proto3" json:"favourite,omitempty"` + Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` + UpdateClock uint64 `protobuf:"varint,7,opt,name=update_clock,json=updateClock,proto3" json:"update_clock,omitempty"` + ChainShortNames string `protobuf:"bytes,8,opt,name=chain_short_names,json=chainShortNames,proto3" json:"chain_short_names,omitempty"` + Ens string `protobuf:"bytes,9,opt,name=ens,proto3" json:"ens,omitempty"` + IsTest bool `protobuf:"varint,10,opt,name=is_test,json=isTest,proto3" json:"is_test,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncSavedAddress) Reset() { - *x = SyncSavedAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncSavedAddress) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncSavedAddress) ProtoMessage() {} - -func (x *SyncSavedAddress) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncSavedAddress.ProtoReflect.Descriptor instead. +func (m *SyncSavedAddress) Reset() { *m = SyncSavedAddress{} } +func (m *SyncSavedAddress) String() string { return proto.CompactTextString(m) } +func (*SyncSavedAddress) ProtoMessage() {} func (*SyncSavedAddress) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{30} + return fileDescriptor_d61ab7221f0b5518, []int{30} } -func (x *SyncSavedAddress) GetAddress() []byte { - if x != nil { - return x.Address +func (m *SyncSavedAddress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncSavedAddress.Unmarshal(m, b) +} +func (m *SyncSavedAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncSavedAddress.Marshal(b, m, deterministic) +} +func (m *SyncSavedAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncSavedAddress.Merge(m, src) +} +func (m *SyncSavedAddress) XXX_Size() int { + return xxx_messageInfo_SyncSavedAddress.Size(m) +} +func (m *SyncSavedAddress) XXX_DiscardUnknown() { + xxx_messageInfo_SyncSavedAddress.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncSavedAddress proto.InternalMessageInfo + +func (m *SyncSavedAddress) GetAddress() []byte { + if m != nil { + return m.Address } return nil } -func (x *SyncSavedAddress) GetName() string { - if x != nil { - return x.Name +func (m *SyncSavedAddress) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncSavedAddress) GetFavourite() bool { - if x != nil { - return x.Favourite +func (m *SyncSavedAddress) GetFavourite() bool { + if m != nil { + return m.Favourite } return false } -func (x *SyncSavedAddress) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncSavedAddress) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncSavedAddress) GetUpdateClock() uint64 { - if x != nil { - return x.UpdateClock +func (m *SyncSavedAddress) GetUpdateClock() uint64 { + if m != nil { + return m.UpdateClock } return 0 } -func (x *SyncSavedAddress) GetChainShortNames() string { - if x != nil { - return x.ChainShortNames +func (m *SyncSavedAddress) GetChainShortNames() string { + if m != nil { + return m.ChainShortNames } return "" } -func (x *SyncSavedAddress) GetEns() string { - if x != nil { - return x.Ens +func (m *SyncSavedAddress) GetEns() string { + if m != nil { + return m.Ens } return "" } -func (x *SyncSavedAddress) GetIsTest() bool { - if x != nil { - return x.IsTest +func (m *SyncSavedAddress) GetIsTest() bool { + if m != nil { + return m.IsTest } return false } type SyncCommunitySettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - CommunityId string `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - HistoryArchiveSupportEnabled bool `protobuf:"varint,3,opt,name=history_archive_support_enabled,json=historyArchiveSupportEnabled,proto3" json:"history_archive_support_enabled,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + CommunityId string `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + HistoryArchiveSupportEnabled bool `protobuf:"varint,3,opt,name=history_archive_support_enabled,json=historyArchiveSupportEnabled,proto3" json:"history_archive_support_enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCommunitySettings) Reset() { - *x = SyncCommunitySettings{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCommunitySettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCommunitySettings) ProtoMessage() {} - -func (x *SyncCommunitySettings) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCommunitySettings.ProtoReflect.Descriptor instead. +func (m *SyncCommunitySettings) Reset() { *m = SyncCommunitySettings{} } +func (m *SyncCommunitySettings) String() string { return proto.CompactTextString(m) } +func (*SyncCommunitySettings) ProtoMessage() {} func (*SyncCommunitySettings) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{31} + return fileDescriptor_d61ab7221f0b5518, []int{31} } -func (x *SyncCommunitySettings) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCommunitySettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncCommunitySettings.Unmarshal(m, b) +} +func (m *SyncCommunitySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncCommunitySettings.Marshal(b, m, deterministic) +} +func (m *SyncCommunitySettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncCommunitySettings.Merge(m, src) +} +func (m *SyncCommunitySettings) XXX_Size() int { + return xxx_messageInfo_SyncCommunitySettings.Size(m) +} +func (m *SyncCommunitySettings) XXX_DiscardUnknown() { + xxx_messageInfo_SyncCommunitySettings.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncCommunitySettings proto.InternalMessageInfo + +func (m *SyncCommunitySettings) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCommunitySettings) GetCommunityId() string { - if x != nil { - return x.CommunityId +func (m *SyncCommunitySettings) GetCommunityId() string { + if m != nil { + return m.CommunityId } return "" } -func (x *SyncCommunitySettings) GetHistoryArchiveSupportEnabled() bool { - if x != nil { - return x.HistoryArchiveSupportEnabled +func (m *SyncCommunitySettings) GetHistoryArchiveSupportEnabled() bool { + if m != nil { + return m.HistoryArchiveSupportEnabled } return false } type SyncTrustedUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Status SyncTrustedUser_TrustStatus `protobuf:"varint,3,opt,name=status,proto3,enum=protobuf.SyncTrustedUser_TrustStatus" json:"status,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Status SyncTrustedUser_TrustStatus `protobuf:"varint,3,opt,name=status,proto3,enum=protobuf.SyncTrustedUser_TrustStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncTrustedUser) Reset() { - *x = SyncTrustedUser{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncTrustedUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncTrustedUser) ProtoMessage() {} - -func (x *SyncTrustedUser) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncTrustedUser.ProtoReflect.Descriptor instead. +func (m *SyncTrustedUser) Reset() { *m = SyncTrustedUser{} } +func (m *SyncTrustedUser) String() string { return proto.CompactTextString(m) } +func (*SyncTrustedUser) ProtoMessage() {} func (*SyncTrustedUser) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{32} + return fileDescriptor_d61ab7221f0b5518, []int{32} } -func (x *SyncTrustedUser) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncTrustedUser) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncTrustedUser.Unmarshal(m, b) +} +func (m *SyncTrustedUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncTrustedUser.Marshal(b, m, deterministic) +} +func (m *SyncTrustedUser) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncTrustedUser.Merge(m, src) +} +func (m *SyncTrustedUser) XXX_Size() int { + return xxx_messageInfo_SyncTrustedUser.Size(m) +} +func (m *SyncTrustedUser) XXX_DiscardUnknown() { + xxx_messageInfo_SyncTrustedUser.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncTrustedUser proto.InternalMessageInfo + +func (m *SyncTrustedUser) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncTrustedUser) GetId() string { - if x != nil { - return x.Id +func (m *SyncTrustedUser) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SyncTrustedUser) GetStatus() SyncTrustedUser_TrustStatus { - if x != nil { - return x.Status +func (m *SyncTrustedUser) GetStatus() SyncTrustedUser_TrustStatus { + if m != nil { + return m.Status } return SyncTrustedUser_UNKNOWN } type SyncVerificationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` - RequestedAt uint64 `protobuf:"varint,5,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` - Response string `protobuf:"bytes,6,opt,name=response,proto3" json:"response,omitempty"` - RepliedAt uint64 `protobuf:"varint,7,opt,name=replied_at,json=repliedAt,proto3" json:"replied_at,omitempty"` - VerificationStatus SyncVerificationRequest_VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=protobuf.SyncVerificationRequest_VerificationStatus" json:"verification_status,omitempty"` - Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` + RequestedAt uint64 `protobuf:"varint,5,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` + Response string `protobuf:"bytes,6,opt,name=response,proto3" json:"response,omitempty"` + RepliedAt uint64 `protobuf:"varint,7,opt,name=replied_at,json=repliedAt,proto3" json:"replied_at,omitempty"` + VerificationStatus SyncVerificationRequest_VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=protobuf.SyncVerificationRequest_VerificationStatus" json:"verification_status,omitempty"` + Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncVerificationRequest) Reset() { - *x = SyncVerificationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncVerificationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncVerificationRequest) ProtoMessage() {} - -func (x *SyncVerificationRequest) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncVerificationRequest.ProtoReflect.Descriptor instead. +func (m *SyncVerificationRequest) Reset() { *m = SyncVerificationRequest{} } +func (m *SyncVerificationRequest) String() string { return proto.CompactTextString(m) } +func (*SyncVerificationRequest) ProtoMessage() {} func (*SyncVerificationRequest) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{33} + return fileDescriptor_d61ab7221f0b5518, []int{33} } -func (x *SyncVerificationRequest) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncVerificationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncVerificationRequest.Unmarshal(m, b) +} +func (m *SyncVerificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncVerificationRequest.Marshal(b, m, deterministic) +} +func (m *SyncVerificationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncVerificationRequest.Merge(m, src) +} +func (m *SyncVerificationRequest) XXX_Size() int { + return xxx_messageInfo_SyncVerificationRequest.Size(m) +} +func (m *SyncVerificationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SyncVerificationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncVerificationRequest proto.InternalMessageInfo + +func (m *SyncVerificationRequest) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncVerificationRequest) GetFrom() string { - if x != nil { - return x.From +func (m *SyncVerificationRequest) GetFrom() string { + if m != nil { + return m.From } return "" } -func (x *SyncVerificationRequest) GetTo() string { - if x != nil { - return x.To +func (m *SyncVerificationRequest) GetTo() string { + if m != nil { + return m.To } return "" } -func (x *SyncVerificationRequest) GetChallenge() string { - if x != nil { - return x.Challenge +func (m *SyncVerificationRequest) GetChallenge() string { + if m != nil { + return m.Challenge } return "" } -func (x *SyncVerificationRequest) GetRequestedAt() uint64 { - if x != nil { - return x.RequestedAt +func (m *SyncVerificationRequest) GetRequestedAt() uint64 { + if m != nil { + return m.RequestedAt } return 0 } -func (x *SyncVerificationRequest) GetResponse() string { - if x != nil { - return x.Response +func (m *SyncVerificationRequest) GetResponse() string { + if m != nil { + return m.Response } return "" } -func (x *SyncVerificationRequest) GetRepliedAt() uint64 { - if x != nil { - return x.RepliedAt +func (m *SyncVerificationRequest) GetRepliedAt() uint64 { + if m != nil { + return m.RepliedAt } return 0 } -func (x *SyncVerificationRequest) GetVerificationStatus() SyncVerificationRequest_VerificationStatus { - if x != nil { - return x.VerificationStatus +func (m *SyncVerificationRequest) GetVerificationStatus() SyncVerificationRequest_VerificationStatus { + if m != nil { + return m.VerificationStatus } return SyncVerificationRequest_UNKNOWN } -func (x *SyncVerificationRequest) GetId() string { - if x != nil { - return x.Id +func (m *SyncVerificationRequest) GetId() string { + if m != nil { + return m.Id } return "" } type SyncContactRequestDecision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"` - DecisionStatus SyncContactRequestDecision_DecisionStatus `protobuf:"varint,3,opt,name=decision_status,json=decisionStatus,proto3,enum=protobuf.SyncContactRequestDecision_DecisionStatus" json:"decision_status,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"` + DecisionStatus SyncContactRequestDecision_DecisionStatus `protobuf:"varint,3,opt,name=decision_status,json=decisionStatus,proto3,enum=protobuf.SyncContactRequestDecision_DecisionStatus" json:"decision_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncContactRequestDecision) Reset() { - *x = SyncContactRequestDecision{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncContactRequestDecision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncContactRequestDecision) ProtoMessage() {} - -func (x *SyncContactRequestDecision) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncContactRequestDecision.ProtoReflect.Descriptor instead. +func (m *SyncContactRequestDecision) Reset() { *m = SyncContactRequestDecision{} } +func (m *SyncContactRequestDecision) String() string { return proto.CompactTextString(m) } +func (*SyncContactRequestDecision) ProtoMessage() {} func (*SyncContactRequestDecision) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{34} + return fileDescriptor_d61ab7221f0b5518, []int{34} } -func (x *SyncContactRequestDecision) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncContactRequestDecision) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncContactRequestDecision.Unmarshal(m, b) +} +func (m *SyncContactRequestDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncContactRequestDecision.Marshal(b, m, deterministic) +} +func (m *SyncContactRequestDecision) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncContactRequestDecision.Merge(m, src) +} +func (m *SyncContactRequestDecision) XXX_Size() int { + return xxx_messageInfo_SyncContactRequestDecision.Size(m) +} +func (m *SyncContactRequestDecision) XXX_DiscardUnknown() { + xxx_messageInfo_SyncContactRequestDecision.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncContactRequestDecision proto.InternalMessageInfo + +func (m *SyncContactRequestDecision) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncContactRequestDecision) GetRequestId() string { - if x != nil { - return x.RequestId +func (m *SyncContactRequestDecision) GetRequestId() string { + if m != nil { + return m.RequestId } return "" } -func (x *SyncContactRequestDecision) GetDecisionStatus() SyncContactRequestDecision_DecisionStatus { - if x != nil { - return x.DecisionStatus +func (m *SyncContactRequestDecision) GetDecisionStatus() SyncContactRequestDecision_DecisionStatus { + if m != nil { + return m.DecisionStatus } return SyncContactRequestDecision_ACCEPTED } // `BackedUpProfile` is used to describe profile of logged in user type BackedUpProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - DisplayNameClock uint64 `protobuf:"varint,3,opt,name=display_name_clock,json=displayNameClock,proto3" json:"display_name_clock,omitempty"` - Pictures []*SyncProfilePicture `protobuf:"bytes,4,rep,name=pictures,proto3" json:"pictures,omitempty"` - SocialLinks *SyncSocialLinks `protobuf:"bytes,5,opt,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` - EnsUsernameDetails []*SyncEnsUsernameDetail `protobuf:"bytes,6,rep,name=ens_username_details,json=ensUsernameDetails,proto3" json:"ens_username_details,omitempty"` + KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + DisplayNameClock uint64 `protobuf:"varint,3,opt,name=display_name_clock,json=displayNameClock,proto3" json:"display_name_clock,omitempty"` + Pictures []*SyncProfilePicture `protobuf:"bytes,4,rep,name=pictures,proto3" json:"pictures,omitempty"` + SocialLinks *SyncSocialLinks `protobuf:"bytes,5,opt,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` + EnsUsernameDetails []*SyncEnsUsernameDetail `protobuf:"bytes,6,rep,name=ens_username_details,json=ensUsernameDetails,proto3" json:"ens_username_details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *BackedUpProfile) Reset() { - *x = BackedUpProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BackedUpProfile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BackedUpProfile) ProtoMessage() {} - -func (x *BackedUpProfile) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BackedUpProfile.ProtoReflect.Descriptor instead. +func (m *BackedUpProfile) Reset() { *m = BackedUpProfile{} } +func (m *BackedUpProfile) String() string { return proto.CompactTextString(m) } +func (*BackedUpProfile) ProtoMessage() {} func (*BackedUpProfile) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{35} + return fileDescriptor_d61ab7221f0b5518, []int{35} } -func (x *BackedUpProfile) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *BackedUpProfile) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackedUpProfile.Unmarshal(m, b) +} +func (m *BackedUpProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackedUpProfile.Marshal(b, m, deterministic) +} +func (m *BackedUpProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackedUpProfile.Merge(m, src) +} +func (m *BackedUpProfile) XXX_Size() int { + return xxx_messageInfo_BackedUpProfile.Size(m) +} +func (m *BackedUpProfile) XXX_DiscardUnknown() { + xxx_messageInfo_BackedUpProfile.DiscardUnknown(m) +} + +var xxx_messageInfo_BackedUpProfile proto.InternalMessageInfo + +func (m *BackedUpProfile) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *BackedUpProfile) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *BackedUpProfile) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *BackedUpProfile) GetDisplayNameClock() uint64 { - if x != nil { - return x.DisplayNameClock +func (m *BackedUpProfile) GetDisplayNameClock() uint64 { + if m != nil { + return m.DisplayNameClock } return 0 } -func (x *BackedUpProfile) GetPictures() []*SyncProfilePicture { - if x != nil { - return x.Pictures +func (m *BackedUpProfile) GetPictures() []*SyncProfilePicture { + if m != nil { + return m.Pictures } return nil } -func (x *BackedUpProfile) GetSocialLinks() *SyncSocialLinks { - if x != nil { - return x.SocialLinks +func (m *BackedUpProfile) GetSocialLinks() *SyncSocialLinks { + if m != nil { + return m.SocialLinks } return nil } -func (x *BackedUpProfile) GetEnsUsernameDetails() []*SyncEnsUsernameDetail { - if x != nil { - return x.EnsUsernameDetails +func (m *BackedUpProfile) GetEnsUsernameDetails() []*SyncEnsUsernameDetail { + if m != nil { + return m.EnsUsernameDetails } return nil } type RawMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - MessageType ApplicationMetadataMessage_Type `protobuf:"varint,2,opt,name=messageType,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"messageType,omitempty"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + MessageType ApplicationMetadataMessage_Type `protobuf:"varint,2,opt,name=messageType,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"messageType,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RawMessage) Reset() { - *x = RawMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawMessage) ProtoMessage() {} - -func (x *RawMessage) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawMessage.ProtoReflect.Descriptor instead. +func (m *RawMessage) Reset() { *m = RawMessage{} } +func (m *RawMessage) String() string { return proto.CompactTextString(m) } +func (*RawMessage) ProtoMessage() {} func (*RawMessage) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{36} + return fileDescriptor_d61ab7221f0b5518, []int{36} } -func (x *RawMessage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *RawMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawMessage.Unmarshal(m, b) +} +func (m *RawMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawMessage.Marshal(b, m, deterministic) +} +func (m *RawMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawMessage.Merge(m, src) +} +func (m *RawMessage) XXX_Size() int { + return xxx_messageInfo_RawMessage.Size(m) +} +func (m *RawMessage) XXX_DiscardUnknown() { + xxx_messageInfo_RawMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_RawMessage proto.InternalMessageInfo + +func (m *RawMessage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *RawMessage) GetMessageType() ApplicationMetadataMessage_Type { - if x != nil { - return x.MessageType +func (m *RawMessage) GetMessageType() ApplicationMetadataMessage_Type { + if m != nil { + return m.MessageType } return ApplicationMetadataMessage_UNKNOWN } type SyncRawMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - RawMessages []*RawMessage `protobuf:"bytes,1,rep,name=rawMessages,proto3" json:"rawMessages,omitempty"` // we need these to be able to login - SubAccountsJsonBytes []byte `protobuf:"bytes,2,opt,name=subAccountsJsonBytes,proto3" json:"subAccountsJsonBytes,omitempty"` - SettingsJsonBytes []byte `protobuf:"bytes,3,opt,name=settingsJsonBytes,proto3" json:"settingsJsonBytes,omitempty"` + SubAccountsJsonBytes []byte `protobuf:"bytes,2,opt,name=subAccountsJsonBytes,proto3" json:"subAccountsJsonBytes,omitempty"` + SettingsJsonBytes []byte `protobuf:"bytes,3,opt,name=settingsJsonBytes,proto3" json:"settingsJsonBytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncRawMessage) Reset() { - *x = SyncRawMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncRawMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncRawMessage) ProtoMessage() {} - -func (x *SyncRawMessage) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncRawMessage.ProtoReflect.Descriptor instead. +func (m *SyncRawMessage) Reset() { *m = SyncRawMessage{} } +func (m *SyncRawMessage) String() string { return proto.CompactTextString(m) } +func (*SyncRawMessage) ProtoMessage() {} func (*SyncRawMessage) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{37} + return fileDescriptor_d61ab7221f0b5518, []int{37} } -func (x *SyncRawMessage) GetRawMessages() []*RawMessage { - if x != nil { - return x.RawMessages +func (m *SyncRawMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncRawMessage.Unmarshal(m, b) +} +func (m *SyncRawMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncRawMessage.Marshal(b, m, deterministic) +} +func (m *SyncRawMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncRawMessage.Merge(m, src) +} +func (m *SyncRawMessage) XXX_Size() int { + return xxx_messageInfo_SyncRawMessage.Size(m) +} +func (m *SyncRawMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SyncRawMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncRawMessage proto.InternalMessageInfo + +func (m *SyncRawMessage) GetRawMessages() []*RawMessage { + if m != nil { + return m.RawMessages } return nil } -func (x *SyncRawMessage) GetSubAccountsJsonBytes() []byte { - if x != nil { - return x.SubAccountsJsonBytes +func (m *SyncRawMessage) GetSubAccountsJsonBytes() []byte { + if m != nil { + return m.SubAccountsJsonBytes } return nil } -func (x *SyncRawMessage) GetSettingsJsonBytes() []byte { - if x != nil { - return x.SettingsJsonBytes +func (m *SyncRawMessage) GetSettingsJsonBytes() []byte { + if m != nil { + return m.SettingsJsonBytes } return nil } type SyncKeycard struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` - KeyUid string `protobuf:"bytes,4,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - Addresses [][]byte `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` - Position uint64 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` + KeyUid string `protobuf:"bytes,4,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + Addresses [][]byte `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` + Position uint64 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncKeycard) Reset() { - *x = SyncKeycard{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncKeycard) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncKeycard) ProtoMessage() {} - -func (x *SyncKeycard) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncKeycard.ProtoReflect.Descriptor instead. +func (m *SyncKeycard) Reset() { *m = SyncKeycard{} } +func (m *SyncKeycard) String() string { return proto.CompactTextString(m) } +func (*SyncKeycard) ProtoMessage() {} func (*SyncKeycard) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{38} + return fileDescriptor_d61ab7221f0b5518, []int{38} } -func (x *SyncKeycard) GetUid() string { - if x != nil { - return x.Uid +func (m *SyncKeycard) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncKeycard.Unmarshal(m, b) +} +func (m *SyncKeycard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncKeycard.Marshal(b, m, deterministic) +} +func (m *SyncKeycard) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncKeycard.Merge(m, src) +} +func (m *SyncKeycard) XXX_Size() int { + return xxx_messageInfo_SyncKeycard.Size(m) +} +func (m *SyncKeycard) XXX_DiscardUnknown() { + xxx_messageInfo_SyncKeycard.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncKeycard proto.InternalMessageInfo + +func (m *SyncKeycard) GetUid() string { + if m != nil { + return m.Uid } return "" } -func (x *SyncKeycard) GetName() string { - if x != nil { - return x.Name +func (m *SyncKeycard) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncKeycard) GetLocked() bool { - if x != nil { - return x.Locked +func (m *SyncKeycard) GetLocked() bool { + if m != nil { + return m.Locked } return false } -func (x *SyncKeycard) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncKeycard) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncKeycard) GetAddresses() [][]byte { - if x != nil { - return x.Addresses +func (m *SyncKeycard) GetAddresses() [][]byte { + if m != nil { + return m.Addresses } return nil } -func (x *SyncKeycard) GetPosition() uint64 { - if x != nil { - return x.Position +func (m *SyncKeycard) GetPosition() uint64 { + if m != nil { + return m.Position } return 0 } type SyncSocialLinks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SocialLinks []*SocialLink `protobuf:"bytes,1,rep,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` - Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + SocialLinks []*SocialLink `protobuf:"bytes,1,rep,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` + Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncSocialLinks) Reset() { - *x = SyncSocialLinks{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncSocialLinks) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncSocialLinks) ProtoMessage() {} - -func (x *SyncSocialLinks) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncSocialLinks.ProtoReflect.Descriptor instead. +func (m *SyncSocialLinks) Reset() { *m = SyncSocialLinks{} } +func (m *SyncSocialLinks) String() string { return proto.CompactTextString(m) } +func (*SyncSocialLinks) ProtoMessage() {} func (*SyncSocialLinks) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{39} + return fileDescriptor_d61ab7221f0b5518, []int{39} } -func (x *SyncSocialLinks) GetSocialLinks() []*SocialLink { - if x != nil { - return x.SocialLinks +func (m *SyncSocialLinks) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncSocialLinks.Unmarshal(m, b) +} +func (m *SyncSocialLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncSocialLinks.Marshal(b, m, deterministic) +} +func (m *SyncSocialLinks) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncSocialLinks.Merge(m, src) +} +func (m *SyncSocialLinks) XXX_Size() int { + return xxx_messageInfo_SyncSocialLinks.Size(m) +} +func (m *SyncSocialLinks) XXX_DiscardUnknown() { + xxx_messageInfo_SyncSocialLinks.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncSocialLinks proto.InternalMessageInfo + +func (m *SyncSocialLinks) GetSocialLinks() []*SocialLink { + if m != nil { + return m.SocialLinks } return nil } -func (x *SyncSocialLinks) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncSocialLinks) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type SyncAccountCustomizationColor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UpdatedAt uint64 `protobuf:"varint,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - CustomizationColor string `protobuf:"bytes,2,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` - KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + UpdatedAt uint64 `protobuf:"varint,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + CustomizationColor string `protobuf:"bytes,2,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` + KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncAccountCustomizationColor) Reset() { - *x = SyncAccountCustomizationColor{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncAccountCustomizationColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncAccountCustomizationColor) ProtoMessage() {} - -func (x *SyncAccountCustomizationColor) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncAccountCustomizationColor.ProtoReflect.Descriptor instead. +func (m *SyncAccountCustomizationColor) Reset() { *m = SyncAccountCustomizationColor{} } +func (m *SyncAccountCustomizationColor) String() string { return proto.CompactTextString(m) } +func (*SyncAccountCustomizationColor) ProtoMessage() {} func (*SyncAccountCustomizationColor) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{40} + return fileDescriptor_d61ab7221f0b5518, []int{40} } -func (x *SyncAccountCustomizationColor) GetUpdatedAt() uint64 { - if x != nil { - return x.UpdatedAt +func (m *SyncAccountCustomizationColor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncAccountCustomizationColor.Unmarshal(m, b) +} +func (m *SyncAccountCustomizationColor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncAccountCustomizationColor.Marshal(b, m, deterministic) +} +func (m *SyncAccountCustomizationColor) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncAccountCustomizationColor.Merge(m, src) +} +func (m *SyncAccountCustomizationColor) XXX_Size() int { + return xxx_messageInfo_SyncAccountCustomizationColor.Size(m) +} +func (m *SyncAccountCustomizationColor) XXX_DiscardUnknown() { + xxx_messageInfo_SyncAccountCustomizationColor.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncAccountCustomizationColor proto.InternalMessageInfo + +func (m *SyncAccountCustomizationColor) GetUpdatedAt() uint64 { + if m != nil { + return m.UpdatedAt } return 0 } -func (x *SyncAccountCustomizationColor) GetCustomizationColor() string { - if x != nil { - return x.CustomizationColor +func (m *SyncAccountCustomizationColor) GetCustomizationColor() string { + if m != nil { + return m.CustomizationColor } return "" } -func (x *SyncAccountCustomizationColor) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncAccountCustomizationColor) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -type MultiAccount_ColorHash struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index []int64 `protobuf:"varint,1,rep,packed,name=index,proto3" json:"index,omitempty"` +func init() { + proto.RegisterEnum("protobuf.SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision", SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name, SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_value) + proto.RegisterEnum("protobuf.SyncTrustedUser_TrustStatus", SyncTrustedUser_TrustStatus_name, SyncTrustedUser_TrustStatus_value) + proto.RegisterEnum("protobuf.SyncVerificationRequest_VerificationStatus", SyncVerificationRequest_VerificationStatus_name, SyncVerificationRequest_VerificationStatus_value) + proto.RegisterEnum("protobuf.SyncContactRequestDecision_DecisionStatus", SyncContactRequestDecision_DecisionStatus_name, SyncContactRequestDecision_DecisionStatus_value) + proto.RegisterType((*FetchingBackedUpDataDetails)(nil), "protobuf.FetchingBackedUpDataDetails") + proto.RegisterType((*Backup)(nil), "protobuf.Backup") + proto.RegisterType((*MultiAccount)(nil), "protobuf.MultiAccount") + proto.RegisterType((*MultiAccount_ColorHash)(nil), "protobuf.MultiAccount.ColorHash") + proto.RegisterType((*MultiAccount_IdentityImage)(nil), "protobuf.MultiAccount.IdentityImage") + proto.RegisterType((*LocalPairingPayload)(nil), "protobuf.LocalPairingPayload") + proto.RegisterType((*LocalPairingPayload_Key)(nil), "protobuf.LocalPairingPayload.Key") + proto.RegisterType((*LocalPairingPeerHello)(nil), "protobuf.LocalPairingPeerHello") + proto.RegisterType((*SyncPairInstallation)(nil), "protobuf.SyncPairInstallation") + proto.RegisterType((*SyncInstallationContactV2)(nil), "protobuf.SyncInstallationContactV2") + proto.RegisterType((*SyncInstallationAccount)(nil), "protobuf.SyncInstallationAccount") + proto.RegisterType((*SyncInstallationCommunity)(nil), "protobuf.SyncInstallationCommunity") + proto.RegisterType((*SyncCommunityRequestsToJoin)(nil), "protobuf.SyncCommunityRequestsToJoin") + proto.RegisterType((*SyncCommunityControlNode)(nil), "protobuf.SyncCommunityControlNode") + proto.RegisterType((*SyncChat)(nil), "protobuf.SyncChat") + proto.RegisterType((*MembershipUpdateEvents)(nil), "protobuf.MembershipUpdateEvents") + proto.RegisterType((*SyncChatRemoved)(nil), "protobuf.SyncChatRemoved") + proto.RegisterType((*SyncChatMessagesRead)(nil), "protobuf.SyncChatMessagesRead") + proto.RegisterType((*SyncActivityCenterRead)(nil), "protobuf.SyncActivityCenterRead") + proto.RegisterType((*SyncActivityCenterAccepted)(nil), "protobuf.SyncActivityCenterAccepted") + proto.RegisterType((*SyncActivityCenterDismissed)(nil), "protobuf.SyncActivityCenterDismissed") + proto.RegisterType((*SyncActivityCenterDeleted)(nil), "protobuf.SyncActivityCenterDeleted") + proto.RegisterType((*SyncActivityCenterUnread)(nil), "protobuf.SyncActivityCenterUnread") + proto.RegisterType((*SyncActivityCenterNotificationState)(nil), "protobuf.SyncActivityCenterNotificationState") + proto.RegisterType((*SyncActivityCenterCommunityRequestDecision)(nil), "protobuf.SyncActivityCenterCommunityRequestDecision") + proto.RegisterType((*SyncBookmark)(nil), "protobuf.SyncBookmark") + proto.RegisterType((*SyncEnsUsernameDetail)(nil), "protobuf.SyncEnsUsernameDetail") + proto.RegisterType((*SyncClearHistory)(nil), "protobuf.SyncClearHistory") + proto.RegisterType((*SyncProfilePicture)(nil), "protobuf.SyncProfilePicture") + proto.RegisterType((*SyncProfilePictures)(nil), "protobuf.SyncProfilePictures") + proto.RegisterType((*SyncAccount)(nil), "protobuf.SyncAccount") + proto.RegisterType((*SyncKeypair)(nil), "protobuf.SyncKeypair") + proto.RegisterType((*SyncAccountsPositions)(nil), "protobuf.SyncAccountsPositions") + proto.RegisterType((*SyncSavedAddress)(nil), "protobuf.SyncSavedAddress") + proto.RegisterType((*SyncCommunitySettings)(nil), "protobuf.SyncCommunitySettings") + proto.RegisterType((*SyncTrustedUser)(nil), "protobuf.SyncTrustedUser") + proto.RegisterType((*SyncVerificationRequest)(nil), "protobuf.SyncVerificationRequest") + proto.RegisterType((*SyncContactRequestDecision)(nil), "protobuf.SyncContactRequestDecision") + proto.RegisterType((*BackedUpProfile)(nil), "protobuf.BackedUpProfile") + proto.RegisterType((*RawMessage)(nil), "protobuf.RawMessage") + proto.RegisterType((*SyncRawMessage)(nil), "protobuf.SyncRawMessage") + proto.RegisterType((*SyncKeycard)(nil), "protobuf.SyncKeycard") + proto.RegisterType((*SyncSocialLinks)(nil), "protobuf.SyncSocialLinks") + proto.RegisterType((*SyncAccountCustomizationColor)(nil), "protobuf.SyncAccountCustomizationColor") } -func (x *MultiAccount_ColorHash) Reset() { - *x = MultiAccount_ColorHash{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func init() { + proto.RegisterFile("pairing.proto", fileDescriptor_d61ab7221f0b5518) } -func (x *MultiAccount_ColorHash) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiAccount_ColorHash) ProtoMessage() {} - -func (x *MultiAccount_ColorHash) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiAccount_ColorHash.ProtoReflect.Descriptor instead. -func (*MultiAccount_ColorHash) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *MultiAccount_ColorHash) GetIndex() []int64 { - if x != nil { - return x.Index - } - return nil -} - -type MultiAccount_IdentityImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - Width int64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` - Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` - Filesize int64 `protobuf:"varint,6,opt,name=filesize,proto3" json:"filesize,omitempty"` - ResizeTarget int64 `protobuf:"varint,7,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` - Clock uint64 `protobuf:"varint,8,opt,name=clock,proto3" json:"clock,omitempty"` -} - -func (x *MultiAccount_IdentityImage) Reset() { - *x = MultiAccount_IdentityImage{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiAccount_IdentityImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiAccount_IdentityImage) ProtoMessage() {} - -func (x *MultiAccount_IdentityImage) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiAccount_IdentityImage.ProtoReflect.Descriptor instead. -func (*MultiAccount_IdentityImage) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{2, 1} -} - -func (x *MultiAccount_IdentityImage) GetKeyUid() string { - if x != nil { - return x.KeyUid - } - return "" -} - -func (x *MultiAccount_IdentityImage) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *MultiAccount_IdentityImage) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -func (x *MultiAccount_IdentityImage) GetWidth() int64 { - if x != nil { - return x.Width - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetHeight() int64 { - if x != nil { - return x.Height - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetFilesize() int64 { - if x != nil { - return x.Filesize - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetResizeTarget() int64 { - if x != nil { - return x.ResizeTarget - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetClock() uint64 { - if x != nil { - return x.Clock - } - return 0 -} - -type LocalPairingPayload_Key struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *LocalPairingPayload_Key) Reset() { - *x = LocalPairingPayload_Key{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalPairingPayload_Key) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalPairingPayload_Key) ProtoMessage() {} - -func (x *LocalPairingPayload_Key) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalPairingPayload_Key.ProtoReflect.Descriptor instead. -func (*LocalPairingPayload_Key) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *LocalPairingPayload_Key) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *LocalPairingPayload_Key) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -var File_pairing_proto protoreflect.FileDescriptor - -var file_pairing_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, - 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x1b, 0x46, 0x65, - 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, - 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, - 0x61, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, - 0x64, 0x61, 0x74, 0x61, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xfd, 0x07, - 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, - 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x56, 0x32, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, - 0x45, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x55, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, - 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x12, 0x63, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x33, - 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, - 0x64, 0x55, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, - 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x12, 0x4f, 0x0a, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, - 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x52, 0x07, 0x6b, 0x65, - 0x79, 0x70, 0x61, 0x69, 0x72, 0x12, 0x4d, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, - 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x41, 0x0a, 0x10, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, - 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x5f, 0x0a, 0x17, 0x77, 0x61, 0x74, 0x63, 0x68, - 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, - 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x17, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x74, - 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x68, 0x61, 0x74, 0x52, 0x05, 0x63, 0x68, 0x61, - 0x74, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x74, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, - 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x0c, 0x63, 0x68, 0x61, 0x74, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xa8, 0x05, - 0x0a, 0x0c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x3f, - 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, - 0x48, 0x61, 0x73, 0x68, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, - 0x19, 0x0a, 0x08, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, - 0x79, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, - 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x06, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, - 0x67, 0x65, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, - 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x3a, 0x0a, 0x19, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, - 0x6f, 0x72, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, - 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, - 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x21, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x6f, 0x72, - 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0xdb, 0x01, 0x0a, 0x0d, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, - 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, - 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x97, 0x02, 0x0a, 0x13, 0x4c, 0x6f, 0x63, - 0x61, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x12, 0x35, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, - 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x4b, 0x65, - 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x68, 0x61, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x6b, 0x65, 0x79, - 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x69, - 0x6e, 0x67, 0x73, 0x1a, 0x2d, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x69, 0x72, - 0x69, 0x6e, 0x67, 0x50, 0x65, 0x65, 0x72, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x27, 0x0a, 0x0f, - 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, - 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xa4, - 0x01, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x61, 0x69, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x27, 0x0a, - 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x06, 0x0a, 0x19, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x56, 0x32, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x6f, - 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, - 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, - 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, - 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, - 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x61, 0x67, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, - 0x61, 0x6c, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, - 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, - 0x12, 0x20, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x75, 0x73, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, - 0x55, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x75, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x72, 0x75, 0x73, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x77, 0x0a, 0x17, 0x53, 0x79, 0x6e, - 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, - 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x22, 0x8c, 0x04, 0x0a, 0x19, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, - 0x06, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6a, - 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, - 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x74, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x70, 0x65, 0x63, 0x74, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x65, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x45, 0x0a, 0x0c, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4e, 0x6f, 0x64, - 0x65, 0x22, 0x97, 0x02, 0x0a, 0x1b, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, - 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x5f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x61, 0x6c, - 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x61, - 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x59, 0x0a, 0x18, 0x53, - 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x27, 0x0a, - 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x08, 0x53, 0x79, 0x6e, 0x63, 0x43, - 0x68, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x68, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x16, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, - 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x16, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, - 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, - 0x6d, 0x75, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x75, 0x74, - 0x65, 0x64, 0x22, 0x88, 0x02, 0x0a, 0x16, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, - 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x61, 0x77, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x37, 0x0a, - 0x0f, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3c, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x68, - 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x22, 0x40, 0x0a, 0x16, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, - 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x61, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x45, 0x0a, 0x1b, - 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, - 0x69, 0x64, 0x73, 0x22, 0x43, 0x0a, 0x19, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x42, 0x0a, 0x18, 0x53, 0x79, 0x6e, 0x63, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x55, 0x6e, - 0x72, 0x65, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x5f, 0x0a, 0x23, - 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x73, 0x65, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x53, 0x65, 0x65, 0x6e, 0x22, 0xa6, 0x02, - 0x0a, 0x2a, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x6b, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, - 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, - 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x1a, - 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, - 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x43, 0x4c, - 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x42, - 0x6f, 0x6f, 0x6b, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, - 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, - 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x7e, 0x0a, 0x15, 0x53, 0x79, 0x6e, - 0x63, 0x45, 0x6e, 0x73, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x4a, 0x0a, 0x10, 0x53, 0x79, 0x6e, - 0x63, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, - 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x6c, 0x65, 0x61, - 0x72, 0x65, 0x64, 0x41, 0x74, 0x22, 0xc8, 0x01, 0x0a, 0x12, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, - 0x73, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x22, 0x68, 0x0a, 0x13, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, - 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, - 0x12, 0x38, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, - 0x6e, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, - 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xd0, 0x03, 0x0a, 0x0b, 0x53, - 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, - 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, - 0x55, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, - 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, - 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x68, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x04, 0x63, 0x68, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, - 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x50, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x73, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x74, - 0x65, 0x73, 0x74, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, - 0x6e, 0x49, 0x44, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x74, 0x65, 0x73, 0x74, - 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, - 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x90, 0x03, - 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x4b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x5f, - 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x72, 0x69, - 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x3b, 0x0a, 0x1a, 0x6c, 0x61, 0x73, 0x74, 0x5f, - 0x75, 0x73, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6c, 0x61, 0x73, - 0x74, 0x55, 0x73, 0x65, 0x64, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x66, - 0x72, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6e, 0x63, 0x65, - 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x63, - 0x61, 0x72, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4b, 0x65, 0x79, 0x63, 0x61, 0x72, - 0x64, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, - 0x5f, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0f, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x73, - 0x22, 0x60, 0x0a, 0x15, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x31, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, - 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x22, 0xf8, 0x01, 0x0a, 0x10, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x61, 0x76, 0x65, 0x64, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x61, 0x76, 0x6f, 0x75, 0x72, 0x69, - 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x61, 0x76, 0x6f, 0x75, 0x72, - 0x69, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x21, 0x0a, - 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x68, 0x61, - 0x69, 0x6e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, - 0x65, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x73, 0x12, 0x17, - 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x69, 0x73, 0x54, 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x97, 0x01, - 0x0a, 0x15, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, - 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, - 0x12, 0x45, 0x0a, 0x1f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x61, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xb2, 0x01, 0x0a, 0x0f, 0x53, 0x79, 0x6e, 0x63, - 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, - 0x63, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x54, 0x72, 0x75, - 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x22, 0x3a, 0x0a, 0x0b, 0x54, 0x72, 0x75, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, - 0x54, 0x52, 0x55, 0x53, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x54, - 0x52, 0x55, 0x53, 0x54, 0x57, 0x4f, 0x52, 0x54, 0x48, 0x59, 0x10, 0x02, 0x22, 0xa0, 0x03, 0x0a, - 0x17, 0x53, 0x79, 0x6e, 0x63, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, - 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, - 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x74, 0x12, 0x65, - 0x0a, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x56, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, - 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x12, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, - 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, - 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, - 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x22, - 0xdc, 0x01, 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x49, 0x64, 0x12, 0x5c, 0x0a, 0x0f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x61, - 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x0e, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x22, 0x2c, 0x0a, 0x0e, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x22, 0xc6, - 0x02, 0x0a, 0x0f, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, - 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, - 0x0a, 0x12, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x38, 0x0a, 0x08, - 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x70, 0x69, - 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, - 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6f, 0x63, 0x69, - 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, - 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x51, 0x0a, 0x14, 0x65, 0x6e, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x72, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, - 0x6e, 0x63, 0x45, 0x6e, 0x73, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x52, 0x12, 0x65, 0x6e, 0x73, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x73, 0x0a, 0x0a, 0x52, 0x61, 0x77, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, - 0x4b, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xaa, 0x01, 0x0a, - 0x0e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x36, 0x0a, 0x0b, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x52, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x72, 0x61, 0x77, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x73, 0x75, 0x62, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x73, 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x73, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x9e, 0x01, 0x0a, 0x0b, 0x53, 0x79, - 0x6e, 0x63, 0x4b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, - 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x0f, 0x53, 0x79, - 0x6e, 0x63, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x37, 0x0a, - 0x0c, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, - 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x88, 0x01, 0x0a, - 0x1d, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1d, - 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2f, 0x0a, - 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, - 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x17, - 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_pairing_proto_rawDescOnce sync.Once - file_pairing_proto_rawDescData = file_pairing_proto_rawDesc -) - -func file_pairing_proto_rawDescGZIP() []byte { - file_pairing_proto_rawDescOnce.Do(func() { - file_pairing_proto_rawDescData = protoimpl.X.CompressGZIP(file_pairing_proto_rawDescData) - }) - return file_pairing_proto_rawDescData -} - -var file_pairing_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_pairing_proto_msgTypes = make([]protoimpl.MessageInfo, 44) -var file_pairing_proto_goTypes = []interface{}{ - (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision)(0), // 0: protobuf.SyncActivityCenterCommunityRequestDecision.community_request_decision - (SyncTrustedUser_TrustStatus)(0), // 1: protobuf.SyncTrustedUser.TrustStatus - (SyncVerificationRequest_VerificationStatus)(0), // 2: protobuf.SyncVerificationRequest.VerificationStatus - (SyncContactRequestDecision_DecisionStatus)(0), // 3: protobuf.SyncContactRequestDecision.DecisionStatus - (*FetchingBackedUpDataDetails)(nil), // 4: protobuf.FetchingBackedUpDataDetails - (*Backup)(nil), // 5: protobuf.Backup - (*MultiAccount)(nil), // 6: protobuf.MultiAccount - (*LocalPairingPayload)(nil), // 7: protobuf.LocalPairingPayload - (*LocalPairingPeerHello)(nil), // 8: protobuf.LocalPairingPeerHello - (*SyncPairInstallation)(nil), // 9: protobuf.SyncPairInstallation - (*SyncInstallationContactV2)(nil), // 10: protobuf.SyncInstallationContactV2 - (*SyncInstallationAccount)(nil), // 11: protobuf.SyncInstallationAccount - (*SyncInstallationCommunity)(nil), // 12: protobuf.SyncInstallationCommunity - (*SyncCommunityRequestsToJoin)(nil), // 13: protobuf.SyncCommunityRequestsToJoin - (*SyncCommunityControlNode)(nil), // 14: protobuf.SyncCommunityControlNode - (*SyncChat)(nil), // 15: protobuf.SyncChat - (*MembershipUpdateEvents)(nil), // 16: protobuf.MembershipUpdateEvents - (*SyncChatRemoved)(nil), // 17: protobuf.SyncChatRemoved - (*SyncChatMessagesRead)(nil), // 18: protobuf.SyncChatMessagesRead - (*SyncActivityCenterRead)(nil), // 19: protobuf.SyncActivityCenterRead - (*SyncActivityCenterAccepted)(nil), // 20: protobuf.SyncActivityCenterAccepted - (*SyncActivityCenterDismissed)(nil), // 21: protobuf.SyncActivityCenterDismissed - (*SyncActivityCenterDeleted)(nil), // 22: protobuf.SyncActivityCenterDeleted - (*SyncActivityCenterUnread)(nil), // 23: protobuf.SyncActivityCenterUnread - (*SyncActivityCenterNotificationState)(nil), // 24: protobuf.SyncActivityCenterNotificationState - (*SyncActivityCenterCommunityRequestDecision)(nil), // 25: protobuf.SyncActivityCenterCommunityRequestDecision - (*SyncBookmark)(nil), // 26: protobuf.SyncBookmark - (*SyncEnsUsernameDetail)(nil), // 27: protobuf.SyncEnsUsernameDetail - (*SyncClearHistory)(nil), // 28: protobuf.SyncClearHistory - (*SyncProfilePicture)(nil), // 29: protobuf.SyncProfilePicture - (*SyncProfilePictures)(nil), // 30: protobuf.SyncProfilePictures - (*SyncAccount)(nil), // 31: protobuf.SyncAccount - (*SyncKeypair)(nil), // 32: protobuf.SyncKeypair - (*SyncAccountsPositions)(nil), // 33: protobuf.SyncAccountsPositions - (*SyncSavedAddress)(nil), // 34: protobuf.SyncSavedAddress - (*SyncCommunitySettings)(nil), // 35: protobuf.SyncCommunitySettings - (*SyncTrustedUser)(nil), // 36: protobuf.SyncTrustedUser - (*SyncVerificationRequest)(nil), // 37: protobuf.SyncVerificationRequest - (*SyncContactRequestDecision)(nil), // 38: protobuf.SyncContactRequestDecision - (*BackedUpProfile)(nil), // 39: protobuf.BackedUpProfile - (*RawMessage)(nil), // 40: protobuf.RawMessage - (*SyncRawMessage)(nil), // 41: protobuf.SyncRawMessage - (*SyncKeycard)(nil), // 42: protobuf.SyncKeycard - (*SyncSocialLinks)(nil), // 43: protobuf.SyncSocialLinks - (*SyncAccountCustomizationColor)(nil), // 44: protobuf.SyncAccountCustomizationColor - (*MultiAccount_ColorHash)(nil), // 45: protobuf.MultiAccount.ColorHash - (*MultiAccount_IdentityImage)(nil), // 46: protobuf.MultiAccount.IdentityImage - (*LocalPairingPayload_Key)(nil), // 47: protobuf.LocalPairingPayload.Key - (*SyncSetting)(nil), // 48: protobuf.SyncSetting - (*RevealedAccount)(nil), // 49: protobuf.RevealedAccount - (ApplicationMetadataMessage_Type)(0), // 50: protobuf.ApplicationMetadataMessage.Type - (*SocialLink)(nil), // 51: protobuf.SocialLink -} -var file_pairing_proto_depIdxs = []int32{ - 10, // 0: protobuf.Backup.contacts:type_name -> protobuf.SyncInstallationContactV2 - 12, // 1: protobuf.Backup.communities:type_name -> protobuf.SyncInstallationCommunity - 4, // 2: protobuf.Backup.contactsDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 4, // 3: protobuf.Backup.communitiesDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 39, // 4: protobuf.Backup.profile:type_name -> protobuf.BackedUpProfile - 4, // 5: protobuf.Backup.profileDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 48, // 6: protobuf.Backup.setting:type_name -> protobuf.SyncSetting - 4, // 7: protobuf.Backup.settingsDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 32, // 8: protobuf.Backup.keypair:type_name -> protobuf.SyncKeypair - 4, // 9: protobuf.Backup.keypairDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 31, // 10: protobuf.Backup.watchOnlyAccount:type_name -> protobuf.SyncAccount - 4, // 11: protobuf.Backup.watchOnlyAccountDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 15, // 12: protobuf.Backup.chats:type_name -> protobuf.SyncChat - 4, // 13: protobuf.Backup.chatsDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 45, // 14: protobuf.MultiAccount.color_hash:type_name -> protobuf.MultiAccount.ColorHash - 46, // 15: protobuf.MultiAccount.images:type_name -> protobuf.MultiAccount.IdentityImage - 47, // 16: protobuf.LocalPairingPayload.keys:type_name -> protobuf.LocalPairingPayload.Key - 6, // 17: protobuf.LocalPairingPayload.multiaccount:type_name -> protobuf.MultiAccount - 13, // 18: protobuf.SyncInstallationCommunity.requests_to_join:type_name -> protobuf.SyncCommunityRequestsToJoin - 35, // 19: protobuf.SyncInstallationCommunity.settings:type_name -> protobuf.SyncCommunitySettings - 14, // 20: protobuf.SyncInstallationCommunity.control_node:type_name -> protobuf.SyncCommunityControlNode - 49, // 21: protobuf.SyncCommunityRequestsToJoin.revealed_accounts:type_name -> protobuf.RevealedAccount - 16, // 22: protobuf.SyncChat.membershipUpdateEvents:type_name -> protobuf.MembershipUpdateEvents - 0, // 23: protobuf.SyncActivityCenterCommunityRequestDecision.decision:type_name -> protobuf.SyncActivityCenterCommunityRequestDecision.community_request_decision - 29, // 24: protobuf.SyncProfilePictures.pictures:type_name -> protobuf.SyncProfilePicture - 31, // 25: protobuf.SyncKeypair.accounts:type_name -> protobuf.SyncAccount - 42, // 26: protobuf.SyncKeypair.keycards:type_name -> protobuf.SyncKeycard - 31, // 27: protobuf.SyncAccountsPositions.accounts:type_name -> protobuf.SyncAccount - 1, // 28: protobuf.SyncTrustedUser.status:type_name -> protobuf.SyncTrustedUser.TrustStatus - 2, // 29: protobuf.SyncVerificationRequest.verification_status:type_name -> protobuf.SyncVerificationRequest.VerificationStatus - 3, // 30: protobuf.SyncContactRequestDecision.decision_status:type_name -> protobuf.SyncContactRequestDecision.DecisionStatus - 29, // 31: protobuf.BackedUpProfile.pictures:type_name -> protobuf.SyncProfilePicture - 43, // 32: protobuf.BackedUpProfile.social_links:type_name -> protobuf.SyncSocialLinks - 27, // 33: protobuf.BackedUpProfile.ens_username_details:type_name -> protobuf.SyncEnsUsernameDetail - 50, // 34: protobuf.RawMessage.messageType:type_name -> protobuf.ApplicationMetadataMessage.Type - 40, // 35: protobuf.SyncRawMessage.rawMessages:type_name -> protobuf.RawMessage - 51, // 36: protobuf.SyncSocialLinks.social_links:type_name -> protobuf.SocialLink - 37, // [37:37] is the sub-list for method output_type - 37, // [37:37] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name -} - -func init() { file_pairing_proto_init() } -func file_pairing_proto_init() { - if File_pairing_proto != nil { - return - } - file_chat_identity_proto_init() - file_sync_settings_proto_init() - file_application_metadata_message_proto_init() - file_communities_proto_init() - if !protoimpl.UnsafeEnabled { - file_pairing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchingBackedUpDataDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Backup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalPairingPayload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalPairingPeerHello); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncPairInstallation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInstallationContactV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInstallationAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInstallationCommunity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCommunityRequestsToJoin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCommunityControlNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncChat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MembershipUpdateEvents); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncChatRemoved); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncChatMessagesRead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterRead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterAccepted); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterDismissed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterDeleted); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterUnread); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterNotificationState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterCommunityRequestDecision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncBookmark); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncEnsUsernameDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncClearHistory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncProfilePicture); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncProfilePictures); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncKeypair); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncAccountsPositions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncSavedAddress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCommunitySettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncTrustedUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncVerificationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncContactRequestDecision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackedUpProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncRawMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncKeycard); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncSocialLinks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncAccountCustomizationColor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiAccount_ColorHash); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiAccount_IdentityImage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalPairingPayload_Key); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pairing_proto_rawDesc, - NumEnums: 4, - NumMessages: 44, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pairing_proto_goTypes, - DependencyIndexes: file_pairing_proto_depIdxs, - EnumInfos: file_pairing_proto_enumTypes, - MessageInfos: file_pairing_proto_msgTypes, - }.Build() - File_pairing_proto = out.File - file_pairing_proto_rawDesc = nil - file_pairing_proto_goTypes = nil - file_pairing_proto_depIdxs = nil +var fileDescriptor_d61ab7221f0b5518 = []byte{ + // 3276 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x3a, 0x4b, 0x6f, 0x1c, 0xc7, + 0xd1, 0xde, 0x07, 0xf7, 0x51, 0xbb, 0x5c, 0xae, 0x5a, 0x94, 0xb4, 0xa2, 0x24, 0x98, 0x1a, 0x7d, + 0x86, 0x69, 0x7f, 0x0e, 0x9d, 0xd0, 0x4e, 0x6c, 0xf8, 0x01, 0x87, 0x22, 0xe9, 0x88, 0x7a, 0x50, + 0x4c, 0x93, 0x94, 0xed, 0x20, 0xc0, 0xb8, 0x39, 0xd3, 0xe2, 0x8e, 0x39, 0x3b, 0x33, 0x99, 0xee, + 0x25, 0xb3, 0x3e, 0x04, 0xc8, 0xcd, 0x87, 0x1c, 0x72, 0xf3, 0x2d, 0xf0, 0x21, 0x08, 0x82, 0x1c, + 0x73, 0xcb, 0x1f, 0x08, 0x72, 0xcc, 0x3d, 0xf9, 0x03, 0xf9, 0x07, 0xb9, 0x04, 0x08, 0xba, 0xba, + 0xe7, 0xb5, 0xbb, 0x43, 0x89, 0xc8, 0x89, 0x53, 0xd5, 0xd5, 0xd5, 0xd5, 0x5d, 0xef, 0x5a, 0xc2, + 0x62, 0xc4, 0xbc, 0xd8, 0x0b, 0x4e, 0xd6, 0xa3, 0x38, 0x94, 0x21, 0x69, 0xe1, 0x9f, 0xe3, 0xf1, + 0xf3, 0x95, 0xab, 0xce, 0x90, 0x49, 0xdb, 0x73, 0x79, 0x20, 0x3d, 0x39, 0xd1, 0xcb, 0x2b, 0x57, + 0xc5, 0x24, 0x70, 0x6c, 0xc1, 0xa5, 0xf4, 0x82, 0x13, 0x61, 0x90, 0x16, 0x8b, 0x22, 0xdf, 0x73, + 0x98, 0xf4, 0xc2, 0xc0, 0x1e, 0x71, 0xc9, 0x5c, 0x26, 0x99, 0x3d, 0xe2, 0x42, 0xb0, 0x13, 0x6e, + 0x68, 0xae, 0x38, 0xe1, 0x68, 0x34, 0x0e, 0x3c, 0xe9, 0x71, 0xb3, 0xcd, 0x62, 0x70, 0xeb, 0x53, + 0x2e, 0x9d, 0xa1, 0x17, 0x9c, 0xdc, 0x67, 0xce, 0x29, 0x77, 0x8f, 0xa2, 0x6d, 0x26, 0xd9, 0x36, + 0x97, 0xcc, 0xf3, 0x05, 0x79, 0x15, 0x3a, 0xc8, 0x27, 0x18, 0x8f, 0x8e, 0x79, 0x3c, 0xa8, 0xac, + 0x56, 0xd6, 0x16, 0x29, 0x28, 0xd4, 0x1e, 0x62, 0xc8, 0x5d, 0xe8, 0xca, 0x50, 0x32, 0x3f, 0xa1, + 0xa8, 0x22, 0x45, 0x07, 0x71, 0x9a, 0xc4, 0xfa, 0x4f, 0x13, 0x1a, 0x8a, 0xf7, 0x38, 0x22, 0xcb, + 0xb0, 0xe0, 0xf8, 0xa1, 0x73, 0x8a, 0x8c, 0xea, 0x54, 0x03, 0xa4, 0x07, 0x55, 0xcf, 0xc5, 0x9d, + 0x6d, 0x5a, 0xf5, 0x5c, 0xf2, 0x09, 0xb4, 0x9c, 0x30, 0x90, 0xcc, 0x91, 0x62, 0x50, 0x5b, 0xad, + 0xad, 0x75, 0x36, 0xee, 0xad, 0x27, 0x2f, 0xb2, 0x7e, 0x30, 0x09, 0x9c, 0xdd, 0x40, 0x48, 0xe6, + 0xfb, 0x78, 0xd7, 0x2d, 0x4d, 0xf9, 0x6c, 0x83, 0xa6, 0x9b, 0xc8, 0x0e, 0x74, 0x72, 0x37, 0x1d, + 0xd4, 0x5f, 0xcc, 0x43, 0x13, 0x4f, 0x68, 0x7e, 0x1f, 0x79, 0x0a, 0x4b, 0x09, 0x4b, 0xf3, 0x1e, + 0x83, 0x85, 0xd5, 0xca, 0x5a, 0x67, 0xe3, 0xb5, 0x8c, 0xd5, 0x05, 0x8f, 0x47, 0xa7, 0x77, 0x93, + 0x23, 0x20, 0x39, 0xfe, 0x09, 0xcf, 0xc6, 0x65, 0x78, 0xce, 0x61, 0x40, 0xde, 0x81, 0x66, 0x14, + 0x87, 0xcf, 0x3d, 0x9f, 0x0f, 0x9a, 0xc8, 0xeb, 0x66, 0xc6, 0x2b, 0xe1, 0xb1, 0xaf, 0x09, 0x68, + 0x42, 0x49, 0x9e, 0x40, 0xcf, 0x7c, 0x26, 0x72, 0xb4, 0x2e, 0x23, 0xc7, 0xd4, 0x66, 0xf2, 0x36, + 0x34, 0x8d, 0x41, 0x0e, 0xda, 0xc8, 0xe7, 0x5a, 0xf1, 0xb9, 0x0f, 0xf4, 0x22, 0x4d, 0xa8, 0xd4, + 0xe3, 0x26, 0x16, 0x9c, 0x08, 0x00, 0x97, 0x7a, 0xdc, 0xa9, 0xdd, 0x4a, 0x82, 0x53, 0x3e, 0x51, + 0x8e, 0x34, 0xe8, 0xcc, 0x93, 0xe0, 0x91, 0x5e, 0xa4, 0x09, 0x95, 0x7a, 0x01, 0xf3, 0x99, 0x08, + 0xd0, 0xbd, 0xd4, 0x0b, 0x14, 0x37, 0x93, 0x4d, 0xe8, 0x9f, 0x33, 0xe9, 0x0c, 0x9f, 0x06, 0xfe, + 0x64, 0xd3, 0x71, 0xc2, 0x71, 0x20, 0x07, 0x8b, 0xf3, 0x04, 0x31, 0x8b, 0x74, 0x86, 0x9c, 0xd8, + 0x70, 0x63, 0x1a, 0x97, 0x88, 0xd6, 0xbb, 0x8c, 0x68, 0x65, 0x5c, 0xc8, 0x1a, 0x2c, 0xa8, 0x80, + 0x22, 0x06, 0x4b, 0xe8, 0x12, 0xa4, 0x28, 0xd8, 0xd6, 0x90, 0x49, 0xaa, 0x09, 0xc8, 0x2e, 0x74, + 0xf1, 0x23, 0x39, 0xbf, 0x7f, 0x99, 0xf3, 0x0b, 0x5b, 0xad, 0x3f, 0x2e, 0x40, 0xf7, 0xc9, 0xd8, + 0x97, 0x5e, 0x72, 0x4d, 0x02, 0xf5, 0x80, 0x8d, 0x38, 0x06, 0x81, 0x36, 0xc5, 0x6f, 0x72, 0x1b, + 0xda, 0xd2, 0x1b, 0x71, 0x21, 0xd9, 0x28, 0xc2, 0x50, 0x50, 0xa3, 0x19, 0x42, 0xad, 0xea, 0x18, + 0xe8, 0x84, 0xc1, 0xa0, 0x86, 0xdb, 0x32, 0x04, 0xf9, 0x04, 0xc0, 0x09, 0xfd, 0x30, 0xb6, 0x87, + 0x4c, 0x0c, 0x8d, 0xb7, 0xaf, 0x66, 0x92, 0xe6, 0xcf, 0x5e, 0xdf, 0x52, 0x84, 0x0f, 0x98, 0x18, + 0xd2, 0xb6, 0x93, 0x7c, 0x92, 0x9b, 0x2a, 0xe0, 0x28, 0x06, 0x9e, 0x8b, 0x1e, 0x5e, 0xa3, 0x4d, + 0x84, 0x77, 0x5d, 0xf2, 0x3a, 0x2c, 0x9d, 0xf2, 0x89, 0xc3, 0x62, 0xd7, 0x36, 0x31, 0x1a, 0xfd, + 0xb5, 0x8d, 0xea, 0x57, 0xe8, 0x7d, 0x8d, 0x25, 0x37, 0xd0, 0xfc, 0xec, 0xb1, 0xe7, 0xa2, 0x13, + 0xb6, 0x69, 0xe3, 0x94, 0x4f, 0x8e, 0x3c, 0x97, 0x7c, 0x04, 0x0d, 0x6f, 0xc4, 0x4e, 0xb8, 0x72, + 0x30, 0x25, 0xd9, 0xff, 0x95, 0x48, 0xb6, 0x6b, 0x82, 0xfc, 0xae, 0x22, 0xa6, 0x66, 0x0f, 0x79, + 0x1b, 0xae, 0x3a, 0x63, 0x21, 0xc3, 0x91, 0xf7, 0xb5, 0x0e, 0xed, 0x28, 0x18, 0xfa, 0x58, 0x9b, + 0x92, 0xc2, 0x12, 0x5e, 0x8d, 0x7c, 0x00, 0x37, 0xe7, 0x6c, 0xb0, 0x75, 0xd8, 0x05, 0x0c, 0xbb, + 0x37, 0x66, 0xb7, 0x6d, 0xa9, 0xe5, 0x95, 0xbb, 0xd0, 0x4e, 0xdf, 0x47, 0xc5, 0x6a, 0x2f, 0x70, + 0xf9, 0x2f, 0x07, 0x95, 0xd5, 0xda, 0x5a, 0x8d, 0x6a, 0x60, 0xe5, 0x1f, 0x15, 0x58, 0x2c, 0x48, + 0x9a, 0xbf, 0x78, 0xa5, 0x70, 0xf1, 0x44, 0xcd, 0xd5, 0x9c, 0x9a, 0x07, 0xd0, 0x8c, 0xd8, 0xc4, + 0x0f, 0x99, 0x8b, 0x6a, 0xec, 0xd2, 0x04, 0x54, 0xc7, 0x9d, 0x7b, 0xae, 0x54, 0xfa, 0x53, 0x0a, + 0xd0, 0x00, 0xb9, 0x0e, 0x8d, 0x21, 0xf7, 0x4e, 0x86, 0xd2, 0xe8, 0xc5, 0x40, 0x64, 0x05, 0x5a, + 0x2a, 0xfa, 0x08, 0xef, 0x6b, 0x8e, 0xfa, 0xa8, 0xd1, 0x14, 0x26, 0xf7, 0x60, 0x31, 0xc6, 0x2f, + 0x5b, 0xb2, 0xf8, 0x84, 0x4b, 0xd4, 0x47, 0x8d, 0x76, 0x35, 0xf2, 0x10, 0x71, 0x59, 0x26, 0x6a, + 0xe5, 0x32, 0x91, 0xf5, 0x6d, 0x15, 0xae, 0x3e, 0x0e, 0x1d, 0xe6, 0x1b, 0xad, 0xee, 0x1b, 0xe1, + 0x7e, 0x08, 0xf5, 0x53, 0x3e, 0x11, 0xf8, 0x14, 0x9d, 0x8d, 0xbb, 0x99, 0x06, 0xe7, 0x10, 0xaf, + 0x3f, 0xe2, 0x13, 0x8a, 0xe4, 0xe4, 0x03, 0xe8, 0x8e, 0x94, 0x8a, 0x99, 0x09, 0x07, 0x55, 0x74, + 0xa2, 0xeb, 0xf3, 0x0d, 0x80, 0x16, 0x68, 0xd5, 0x0d, 0x23, 0x26, 0xc4, 0x79, 0x18, 0xbb, 0xc6, + 0xe2, 0x53, 0x58, 0xbd, 0xa2, 0xf2, 0xb0, 0x47, 0x7c, 0x82, 0xaf, 0xd5, 0xa6, 0x09, 0x48, 0xd6, + 0x52, 0x73, 0x35, 0x42, 0xe9, 0x94, 0xd5, 0xa6, 0xd3, 0xe8, 0x95, 0xef, 0x41, 0x4d, 0x6d, 0x98, + 0xe7, 0x8b, 0x04, 0xea, 0x2a, 0xc3, 0xa3, 0xb8, 0x5d, 0x8a, 0xdf, 0xd6, 0x5f, 0x2a, 0x70, 0xad, + 0x70, 0x59, 0xce, 0xe3, 0x07, 0xdc, 0xf7, 0x43, 0xe5, 0x21, 0xc6, 0x33, 0xec, 0x33, 0x1e, 0x0b, + 0x2f, 0x0c, 0x90, 0xd9, 0x02, 0xed, 0x19, 0xf4, 0x33, 0x8d, 0x55, 0x86, 0x12, 0x71, 0x8e, 0x4e, + 0xa6, 0x39, 0x37, 0x14, 0xb8, 0xeb, 0x62, 0x91, 0xc1, 0xcf, 0x3c, 0x87, 0xdb, 0x28, 0x8a, 0xbe, + 0x2d, 0x68, 0xd4, 0x9e, 0x12, 0x28, 0x23, 0x90, 0x93, 0x88, 0x9b, 0x3b, 0x1b, 0x82, 0xc3, 0x49, + 0x84, 0xd1, 0x43, 0x78, 0x27, 0x01, 0x93, 0xe3, 0x98, 0xe3, 0x85, 0xbb, 0x34, 0x43, 0x58, 0xbf, + 0xaf, 0xc0, 0xb2, 0x8a, 0x6f, 0x4a, 0xf4, 0x7c, 0xda, 0x2f, 0x29, 0x47, 0x5e, 0x87, 0x25, 0x2f, + 0x47, 0x65, 0xa7, 0xb5, 0x49, 0x2f, 0x8f, 0x2e, 0xc8, 0x8d, 0x62, 0xd5, 0x66, 0xc4, 0x4a, 0x1e, + 0xb7, 0x5e, 0xf4, 0x80, 0xe4, 0x99, 0x16, 0xb0, 0x56, 0x4a, 0x40, 0xeb, 0xd7, 0x0d, 0xb8, 0x59, + 0x5a, 0xdd, 0x90, 0xef, 0xc3, 0xb2, 0xcf, 0x84, 0xb4, 0xc7, 0x91, 0xcb, 0x24, 0x77, 0x6d, 0x5f, + 0x29, 0xc3, 0x9f, 0x18, 0xd1, 0x89, 0x5a, 0x3b, 0xd2, 0x4b, 0x8f, 0xf5, 0xca, 0x4c, 0x59, 0x75, + 0x0f, 0x16, 0x4d, 0xd2, 0xb6, 0x31, 0xb8, 0x18, 0x81, 0xbb, 0x06, 0xa9, 0xbd, 0xf9, 0x26, 0xb4, + 0x78, 0x20, 0xec, 0x9c, 0xd8, 0x4d, 0x1e, 0x08, 0xd4, 0xc2, 0x5d, 0xe8, 0xe6, 0x25, 0x40, 0xf1, + 0xeb, 0xb4, 0x93, 0x3b, 0x59, 0xbd, 0x88, 0x98, 0x08, 0xc9, 0x47, 0xb6, 0x64, 0x27, 0xaa, 0xb2, + 0xa9, 0xa9, 0x17, 0xd1, 0xa8, 0x43, 0x76, 0x22, 0xc8, 0x6b, 0xd0, 0x43, 0xc1, 0xed, 0xc0, 0x73, + 0x4e, 0xf1, 0x10, 0x1d, 0x2c, 0x17, 0x11, 0xbb, 0x67, 0x90, 0x4a, 0x31, 0xcc, 0x75, 0xb9, 0x8b, + 0x71, 0xae, 0x45, 0x35, 0xa0, 0x9e, 0xee, 0x58, 0x69, 0x88, 0xbb, 0x18, 0xc8, 0x5a, 0x34, 0x01, + 0x15, 0xfd, 0x68, 0xac, 0x64, 0xea, 0x68, 0x7a, 0x04, 0x14, 0x7d, 0xcc, 0x47, 0xe1, 0x19, 0x77, + 0x31, 0xb3, 0xb7, 0x68, 0x02, 0x92, 0x55, 0xe8, 0x0e, 0x99, 0xb0, 0x91, 0xad, 0x3d, 0x16, 0x98, + 0xa7, 0x5b, 0x14, 0x86, 0x4c, 0x6c, 0x2a, 0xd4, 0x11, 0xc6, 0xdd, 0x33, 0x1e, 0x7b, 0xcf, 0x93, + 0x8a, 0x5a, 0x48, 0x26, 0xc7, 0x3a, 0x0d, 0xd7, 0x28, 0xc9, 0x2f, 0x1d, 0xe0, 0x0a, 0x16, 0xc2, + 0xf1, 0x58, 0xc8, 0x84, 0x72, 0x09, 0x29, 0x3b, 0x88, 0x33, 0x24, 0x1f, 0xc3, 0x2d, 0x53, 0x11, + 0xda, 0x31, 0xff, 0xc5, 0x98, 0x0b, 0xa9, 0xb5, 0x88, 0x5b, 0x38, 0xa6, 0xd8, 0x1a, 0x1d, 0x18, + 0x12, 0xaa, 0x29, 0x50, 0x99, 0x6a, 0x3f, 0x2f, 0xdf, 0xae, 0x6d, 0xf8, 0x4a, 0xe9, 0x76, 0x0c, + 0xee, 0xe4, 0x13, 0xb8, 0x3d, 0xbd, 0x5d, 0x3d, 0x87, 0xe4, 0xe6, 0x78, 0x82, 0xfb, 0x6f, 0x16, + 0xf7, 0x53, 0xa4, 0xd0, 0xe7, 0x97, 0x33, 0xd0, 0x02, 0x5c, 0x2d, 0x67, 0xa0, 0x25, 0xb8, 0x0b, + 0x5d, 0xd7, 0x13, 0x91, 0xcf, 0x26, 0xda, 0xbe, 0x96, 0x51, 0xf5, 0x1d, 0x83, 0x53, 0x36, 0x66, + 0x9d, 0xc3, 0x8d, 0x69, 0x17, 0x48, 0xaa, 0x86, 0xf9, 0xce, 0x3a, 0x63, 0xd4, 0xd5, 0x39, 0x46, + 0x3d, 0x6d, 0xb9, 0xb5, 0x19, 0xcb, 0xb5, 0x7e, 0x53, 0x9f, 0xe7, 0x7c, 0xa6, 0x2d, 0x78, 0x61, + 0xdf, 0xd2, 0x35, 0x0e, 0xd6, 0x89, 0x62, 0xef, 0x8c, 0x49, 0x6e, 0x9f, 0xf2, 0x89, 0x4e, 0x70, + 0xf7, 0xab, 0x83, 0x0a, 0x05, 0x83, 0x56, 0x01, 0x77, 0x55, 0x05, 0x0d, 0xe1, 0xc4, 0x5e, 0xa4, + 0x8e, 0x40, 0x1f, 0xeb, 0xd2, 0x3c, 0x4a, 0xe5, 0xbc, 0xaf, 0x42, 0x2f, 0x30, 0x1e, 0xd6, 0xa2, + 0x06, 0x52, 0x19, 0x41, 0xdb, 0x1d, 0x77, 0x31, 0xe7, 0xb5, 0x68, 0x0a, 0x67, 0x0e, 0xd0, 0xcc, + 0x3b, 0xc0, 0x53, 0xe8, 0x1b, 0x4d, 0x09, 0x5b, 0x86, 0xb6, 0xe2, 0x63, 0x8a, 0x90, 0xd7, 0xa6, + 0x2a, 0xbf, 0xb4, 0x01, 0x32, 0xe4, 0x87, 0xe1, 0xc3, 0xd0, 0x0b, 0x68, 0x2f, 0x2e, 0xc0, 0xe4, + 0x43, 0x68, 0x25, 0x65, 0xb7, 0x29, 0xf3, 0x5f, 0x2d, 0x61, 0x64, 0xea, 0x7d, 0x41, 0xd3, 0x0d, + 0x2a, 0x48, 0xf3, 0xc0, 0x89, 0x27, 0x91, 0x4c, 0x1d, 0x38, 0x43, 0x60, 0x08, 0x8f, 0xb8, 0x23, + 0x59, 0xe6, 0xc6, 0x19, 0x42, 0xc5, 0x64, 0x43, 0xaa, 0x9c, 0x11, 0x73, 0x71, 0x17, 0x5f, 0xae, + 0x97, 0xa1, 0x1f, 0xa9, 0x94, 0xbb, 0x03, 0x5d, 0x65, 0x80, 0x71, 0xe8, 0xdb, 0x41, 0xe8, 0x72, + 0x53, 0x81, 0x5b, 0x25, 0x52, 0x6e, 0x69, 0xd2, 0xbd, 0xd0, 0xe5, 0xaa, 0xf5, 0x4b, 0x01, 0x55, + 0x08, 0xdc, 0xba, 0xe0, 0x61, 0x8c, 0xea, 0x2b, 0xa9, 0xea, 0xef, 0x00, 0x44, 0xe3, 0x63, 0xdf, + 0x73, 0x50, 0xf3, 0xda, 0x06, 0xdb, 0x1a, 0xa3, 0x94, 0x9e, 0xda, 0x4f, 0x2d, 0x6f, 0x3f, 0x17, + 0xc4, 0xda, 0x1b, 0x3a, 0xc3, 0x27, 0x05, 0x69, 0x9b, 0x36, 0x14, 0xb8, 0xeb, 0x2a, 0x53, 0x4e, + 0x3a, 0xc0, 0x89, 0x5a, 0x6d, 0x68, 0xfb, 0x49, 0x71, 0xbb, 0x68, 0x0b, 0xda, 0xa3, 0x9b, 0xfa, + 0x30, 0x04, 0xc8, 0xa7, 0x70, 0x25, 0xe6, 0x67, 0x9c, 0xf9, 0xdc, 0xb5, 0x4d, 0x8d, 0x91, 0x54, + 0xa4, 0xb9, 0x76, 0x91, 0x1a, 0x92, 0xb4, 0x47, 0x89, 0x8b, 0x08, 0x61, 0x7d, 0x01, 0x83, 0xb2, + 0x27, 0xfc, 0x1f, 0xf3, 0xa9, 0xf5, 0xaf, 0x0a, 0xb4, 0x92, 0x3e, 0x24, 0xf7, 0xc2, 0x3a, 0x7b, + 0xdd, 0x82, 0x36, 0xbe, 0x08, 0xa6, 0x5a, 0x3d, 0x65, 0x68, 0x29, 0x44, 0x21, 0xd1, 0xd6, 0x72, + 0x89, 0xf6, 0x73, 0xb8, 0x3e, 0xe2, 0xa3, 0x63, 0x1e, 0x8b, 0xa1, 0x17, 0x69, 0x37, 0xdf, 0x39, + 0xe3, 0xea, 0xd6, 0xb3, 0x1d, 0xc2, 0x5c, 0x3a, 0x5a, 0xb2, 0x5f, 0x39, 0x28, 0x73, 0xa4, 0x77, + 0xc6, 0x13, 0x07, 0xd5, 0x50, 0x76, 0xfd, 0x46, 0xfe, 0xfa, 0x73, 0x5d, 0xd3, 0xfa, 0xa6, 0x0a, + 0xd7, 0xe7, 0x1f, 0x5b, 0xf2, 0x8a, 0x04, 0xea, 0xb9, 0xab, 0xe3, 0xb7, 0x4a, 0x70, 0x46, 0x44, + 0x9c, 0x93, 0xb4, 0x69, 0x02, 0xce, 0xad, 0x3c, 0x2e, 0x2c, 0x92, 0xf2, 0x16, 0xd7, 0x28, 0x58, + 0x1c, 0x81, 0xfa, 0xf3, 0x38, 0x1c, 0x99, 0x44, 0x8d, 0xdf, 0x2a, 0xcf, 0xc7, 0xec, 0xdc, 0x4e, + 0x4a, 0xf9, 0x16, 0x32, 0x83, 0x98, 0x9d, 0xef, 0x67, 0xd5, 0x7c, 0xbe, 0x51, 0xd1, 0x00, 0xb6, + 0x14, 0x18, 0xa4, 0x01, 0x37, 0x68, 0xc0, 0x7a, 0x0f, 0x96, 0xd2, 0xee, 0xd3, 0xe4, 0xe7, 0x97, + 0x9a, 0x13, 0x59, 0x1f, 0xe9, 0xb2, 0x4e, 0x6d, 0x7c, 0xa2, 0xe7, 0x5c, 0x82, 0x72, 0xf6, 0xb2, + 0xbb, 0x7f, 0x0c, 0xd7, 0x75, 0x37, 0x2e, 0xbd, 0x33, 0x65, 0xc7, 0x3c, 0x90, 0x3c, 0xbe, 0x60, + 0x7f, 0x1f, 0x6a, 0x9e, 0x2b, 0x06, 0xd5, 0xd5, 0xda, 0x5a, 0x97, 0xaa, 0x4f, 0x6b, 0x1b, 0x56, + 0x66, 0x39, 0x6c, 0x3a, 0x0e, 0xc7, 0x80, 0xf6, 0xb2, 0x5c, 0x76, 0x74, 0xa4, 0x29, 0x72, 0xd9, + 0xf6, 0xc4, 0xc8, 0x13, 0xe2, 0x12, 0x6c, 0xb6, 0x74, 0xfe, 0x9a, 0x62, 0xc3, 0x7d, 0x7e, 0x19, + 0x59, 0xee, 0x6b, 0xe7, 0x2e, 0x32, 0x39, 0x0a, 0xe2, 0xcb, 0xbc, 0x8a, 0x0d, 0xf7, 0x66, 0x79, + 0xec, 0x85, 0xb2, 0x50, 0x30, 0x71, 0x15, 0x31, 0x93, 0x52, 0x96, 0x49, 0xc3, 0xb3, 0x6d, 0x30, + 0x9b, 0x52, 0xc5, 0x46, 0x55, 0xa1, 0x09, 0xce, 0x03, 0xd4, 0x59, 0x8b, 0x36, 0x87, 0x4c, 0x1c, + 0x70, 0x1e, 0x58, 0x7f, 0xa8, 0xc2, 0x9b, 0xb3, 0x27, 0x4c, 0x47, 0xea, 0x6d, 0xee, 0x78, 0xa2, + 0xbc, 0xc8, 0x9f, 0xce, 0xdd, 0xff, 0x0f, 0x57, 0x32, 0x6f, 0x4f, 0x6a, 0xb8, 0x1a, 0xfa, 0x5a, + 0x3f, 0x5b, 0x30, 0x85, 0xdc, 0x29, 0xb4, 0x5c, 0xc3, 0x1e, 0x3d, 0xac, 0xb7, 0xf1, 0x74, 0x7a, + 0xc4, 0xf3, 0x32, 0xa2, 0xad, 0x67, 0x91, 0x3c, 0x29, 0xa8, 0x12, 0xb6, 0x34, 0x3d, 0xc0, 0x7a, + 0x1f, 0x56, 0xca, 0xe9, 0x48, 0x17, 0x5a, 0x9b, 0x5b, 0x5b, 0x3b, 0xfb, 0x87, 0x3b, 0xdb, 0xfd, + 0x57, 0x14, 0xb4, 0xbd, 0xb3, 0xf5, 0x78, 0x77, 0x6f, 0x67, 0xbb, 0x5f, 0xb1, 0xbe, 0xab, 0x40, + 0x57, 0x49, 0x73, 0x3f, 0x0c, 0x4f, 0x47, 0x2c, 0x3e, 0x2d, 0x57, 0xe1, 0x38, 0xf6, 0x8d, 0x67, + 0xa8, 0xcf, 0xb9, 0xe1, 0xf4, 0x16, 0xb4, 0xd1, 0x5d, 0x6d, 0x45, 0xab, 0xc3, 0x4a, 0x0b, 0x11, + 0x47, 0xb1, 0x9f, 0xaf, 0xb4, 0x17, 0x8a, 0x95, 0xf6, 0x1d, 0x00, 0x57, 0x1b, 0xa1, 0x52, 0xb3, + 0x0e, 0x8c, 0x6d, 0x83, 0xd9, 0x94, 0xd6, 0xaf, 0xe0, 0x9a, 0x92, 0x70, 0x27, 0x10, 0x47, 0x82, + 0xc7, 0xea, 0x20, 0x3d, 0x35, 0x2a, 0x11, 0x75, 0x05, 0x5a, 0x63, 0x43, 0x67, 0xe4, 0x4d, 0x61, + 0x1c, 0xe2, 0x0c, 0x99, 0x87, 0xf9, 0x45, 0xa7, 0xd9, 0x26, 0xc2, 0xbb, 0x85, 0x46, 0xa0, 0x5e, + 0x10, 0xcf, 0x7a, 0x08, 0x7d, 0x0c, 0x21, 0x3e, 0x67, 0xf1, 0x03, 0x4f, 0xc8, 0x30, 0x9e, 0xe4, + 0x23, 0x61, 0xa5, 0x10, 0x09, 0xef, 0x00, 0x38, 0x8a, 0x50, 0xdf, 0xa5, 0xaa, 0xef, 0x62, 0x30, + 0x9b, 0xd2, 0xfa, 0x5b, 0x05, 0x08, 0xb6, 0x99, 0xba, 0xf4, 0xdc, 0xf7, 0x1c, 0x0c, 0xac, 0xf3, + 0x3a, 0xec, 0xdc, 0x18, 0xa4, 0x5a, 0x32, 0x06, 0xd1, 0xb6, 0x37, 0x33, 0x06, 0xa9, 0x23, 0x3a, + 0x19, 0x83, 0xdc, 0x82, 0x36, 0x96, 0xbe, 0x38, 0x07, 0xd1, 0xed, 0x24, 0xce, 0x41, 0x0e, 0xe6, + 0xce, 0x41, 0x1a, 0x48, 0x50, 0x32, 0x07, 0x69, 0xe6, 0xe7, 0x20, 0x43, 0xb8, 0x3a, 0x7b, 0x13, + 0x51, 0x3e, 0xea, 0x79, 0x1f, 0x5a, 0x91, 0x21, 0xc2, 0x50, 0xd0, 0xd9, 0xb8, 0x5d, 0x74, 0x88, + 0x22, 0x27, 0x9a, 0x52, 0x5b, 0x7f, 0xaf, 0x41, 0x27, 0x37, 0x14, 0x2d, 0xd1, 0xfb, 0x00, 0x9a, + 0xcc, 0x75, 0x63, 0x2e, 0x44, 0xf2, 0x5e, 0x06, 0xcc, 0x8b, 0x54, 0x2b, 0x88, 0x54, 0xac, 0xc8, + 0x74, 0x99, 0x9d, 0xab, 0xc8, 0x08, 0xd4, 0x23, 0x26, 0x87, 0xa6, 0xba, 0xc2, 0xef, 0x54, 0x53, + 0x8d, 0x9c, 0xa6, 0xf2, 0xa3, 0xc1, 0xa6, 0x99, 0xb5, 0x98, 0xd1, 0xe0, 0x32, 0x2c, 0xf0, 0x51, + 0xf8, 0x95, 0x87, 0xe9, 0xaf, 0x4d, 0x35, 0xa0, 0x54, 0x75, 0xce, 0x7c, 0x9f, 0x4b, 0xd3, 0xbb, + 0x1a, 0x48, 0x31, 0x57, 0x66, 0x64, 0x0a, 0x5f, 0xfc, 0x46, 0xb5, 0x7a, 0xae, 0xcb, 0x03, 0x53, + 0xf0, 0x1a, 0xe8, 0x82, 0xc6, 0x75, 0x05, 0x5a, 0x51, 0x28, 0x3c, 0x6c, 0x1d, 0x16, 0xf5, 0xdc, + 0x2b, 0x81, 0xc9, 0xbb, 0x70, 0x2d, 0x8a, 0x43, 0x77, 0x3f, 0xe6, 0xcf, 0x79, 0x1c, 0x73, 0x77, + 0x0b, 0xad, 0x7f, 0x5b, 0x37, 0xad, 0x6d, 0x3a, 0x7f, 0x51, 0xed, 0x92, 0x5c, 0xc8, 0xd9, 0x5d, + 0x4b, 0x7a, 0xd7, 0xdc, 0x45, 0x25, 0x47, 0x18, 0xf1, 0x98, 0x1d, 0xfb, 0xba, 0x6f, 0x6d, 0xd3, + 0x14, 0xb6, 0x7e, 0x6b, 0x54, 0x6a, 0x06, 0xee, 0x25, 0x2a, 0xcd, 0x29, 0xae, 0x3a, 0x77, 0x6c, + 0x58, 0x2b, 0x4e, 0xa4, 0x72, 0x93, 0x1f, 0x5d, 0xfc, 0xa8, 0x6e, 0x92, 0xc7, 0xde, 0x19, 0x77, + 0x6d, 0xac, 0x4f, 0x16, 0x4c, 0x37, 0xa9, 0x71, 0x9f, 0xaa, 0x32, 0xe5, 0x43, 0x58, 0xd1, 0x7d, + 0x9f, 0xe0, 0xae, 0x8d, 0x0b, 0xa6, 0x02, 0xc5, 0xb9, 0xa6, 0x0e, 0x46, 0x37, 0xb0, 0x0b, 0x14, + 0xdc, 0xdd, 0x4e, 0xd7, 0x77, 0xd5, 0xb2, 0x9e, 0x65, 0x04, 0x4e, 0xc2, 0x5e, 0x2b, 0x1f, 0x34, + 0x0a, 0xb9, 0xff, 0x00, 0x5a, 0x53, 0x85, 0x74, 0xc9, 0xa0, 0x3f, 0x25, 0x53, 0x5b, 0xcc, 0x1c, + 0x4e, 0xf5, 0x4f, 0xb5, 0xb9, 0x3f, 0x52, 0xa8, 0x55, 0x9a, 0x92, 0xe5, 0x6d, 0x01, 0x8a, 0xb6, + 0xf0, 0x06, 0xf4, 0xa7, 0x46, 0xd3, 0x02, 0xed, 0xa8, 0x3b, 0x33, 0xec, 0xb3, 0xbe, 0xd4, 0x61, + 0x36, 0x29, 0xe2, 0xf7, 0x8d, 0xc9, 0x94, 0xd5, 0x9a, 0xf9, 0x9b, 0x55, 0x5f, 0xea, 0x66, 0xd6, + 0xbf, 0x2b, 0x3a, 0x92, 0x1e, 0xb0, 0x33, 0xee, 0x6e, 0x1a, 0xe7, 0xcc, 0xb9, 0x6d, 0xa5, 0xe8, + 0xb6, 0xf3, 0x66, 0xc3, 0xb7, 0xa1, 0xfd, 0x9c, 0x9d, 0x85, 0xe3, 0xd8, 0x93, 0x5a, 0xfb, 0x2d, + 0x9a, 0x21, 0x2e, 0x48, 0x31, 0x77, 0xa1, 0xab, 0xeb, 0x06, 0x3b, 0x1f, 0xc9, 0x3a, 0x1a, 0xa7, + 0x27, 0x0f, 0x6f, 0xc2, 0x15, 0x9d, 0x1b, 0xc4, 0x30, 0x8c, 0x25, 0x76, 0x5c, 0xc2, 0xb8, 0xed, + 0x12, 0x2e, 0x1c, 0x28, 0xbc, 0xea, 0xbc, 0x84, 0x4a, 0x87, 0x3c, 0x10, 0xa6, 0x70, 0x55, 0x9f, + 0xca, 0x54, 0x3d, 0x61, 0x2b, 0x47, 0x30, 0x2a, 0x68, 0x78, 0xe2, 0x90, 0x0b, 0xf9, 0xb0, 0xde, + 0xaa, 0xf7, 0x17, 0xac, 0x6f, 0x2b, 0xfa, 0x75, 0x67, 0x7a, 0xdf, 0x92, 0xd7, 0x9d, 0x6e, 0xe1, + 0xf4, 0x1b, 0x14, 0x5a, 0xb8, 0x1d, 0x78, 0x75, 0xa8, 0xb3, 0x91, 0xcd, 0x62, 0x67, 0xe8, 0x9d, + 0x71, 0x5b, 0x8c, 0xa3, 0x48, 0xc9, 0xce, 0x03, 0xe5, 0x64, 0xae, 0x79, 0xa0, 0xdb, 0x86, 0x6c, + 0x53, 0x53, 0x1d, 0x68, 0xa2, 0x1d, 0x4d, 0x63, 0xfd, 0xb9, 0xa2, 0x4b, 0xeb, 0xc3, 0x78, 0x2c, + 0x24, 0x77, 0x55, 0x8a, 0x7d, 0xc9, 0x9f, 0x60, 0x3f, 0x86, 0x46, 0xae, 0x06, 0xea, 0x4d, 0xcf, + 0x0b, 0x72, 0x0c, 0xd7, 0x0f, 0xb3, 0x09, 0x17, 0x35, 0x9b, 0xac, 0x0f, 0xa0, 0x93, 0x43, 0x93, + 0x0e, 0x34, 0x8f, 0xf6, 0x1e, 0xed, 0x3d, 0xfd, 0x6c, 0xaf, 0xff, 0x8a, 0x02, 0x0e, 0xe9, 0xd1, + 0x81, 0x2a, 0x58, 0x2a, 0xe4, 0x0a, 0x2c, 0x1e, 0xed, 0x21, 0xf8, 0xd9, 0x53, 0x7a, 0xf8, 0xe0, + 0x8b, 0x7e, 0xd5, 0xfa, 0xae, 0xa6, 0x67, 0x40, 0xcf, 0x72, 0x33, 0x36, 0x53, 0x38, 0x95, 0xb7, + 0x46, 0xe8, 0xa2, 0xd5, 0x5c, 0x87, 0xd2, 0x83, 0xaa, 0x0c, 0x4d, 0x0c, 0xa9, 0xca, 0x50, 0x19, + 0x97, 0x33, 0x54, 0x91, 0x38, 0x38, 0x49, 0xc2, 0x48, 0x86, 0x50, 0x2a, 0x31, 0x95, 0x95, 0xce, + 0xed, 0x66, 0xb4, 0x99, 0xe2, 0x36, 0x71, 0x1e, 0x1f, 0x73, 0x11, 0x85, 0x81, 0x48, 0x12, 0x44, + 0x0a, 0xab, 0x5c, 0x13, 0xf3, 0xc8, 0xf7, 0xf4, 0x66, 0x6d, 0x7f, 0x6d, 0x83, 0xd9, 0x94, 0x84, + 0xcf, 0x9f, 0x25, 0xb6, 0xf0, 0x65, 0xdf, 0x2d, 0xbe, 0xec, 0x9c, 0x5b, 0xaf, 0x3f, 0x9b, 0x99, + 0x36, 0xce, 0x9d, 0x40, 0x6a, 0x1d, 0xb6, 0xd3, 0x06, 0xe7, 0x73, 0x20, 0xb3, 0x3b, 0x67, 0x74, + 0xb1, 0xbf, 0xb3, 0xb7, 0xbd, 0xbb, 0xf7, 0x93, 0x7e, 0xa5, 0x50, 0x4a, 0x56, 0x0b, 0xa5, 0x64, + 0x4d, 0x41, 0x5b, 0x9b, 0x7b, 0x5b, 0x3b, 0x8f, 0x77, 0xb6, 0xfb, 0x75, 0xeb, 0x9f, 0x15, 0xdd, + 0xf9, 0x6c, 0x15, 0x46, 0x7d, 0x2f, 0xa8, 0xb8, 0x6f, 0x43, 0xdb, 0xbc, 0xe7, 0x6e, 0x62, 0x69, + 0x19, 0x82, 0xfc, 0x1c, 0x96, 0x92, 0x9a, 0xd6, 0x2e, 0x58, 0xde, 0x3b, 0xd3, 0xa3, 0x9b, 0x79, + 0x47, 0xae, 0x27, 0x1f, 0xe6, 0x79, 0x7a, 0x6e, 0x01, 0xb6, 0xde, 0x82, 0x5e, 0x91, 0xe2, 0xc2, + 0xba, 0xf9, 0xaf, 0x55, 0x58, 0x9a, 0xfa, 0xdd, 0xbc, 0xbc, 0xf4, 0x99, 0x1e, 0x6a, 0x56, 0x67, + 0x86, 0x9a, 0xe4, 0x2d, 0x20, 0x79, 0x12, 0x3b, 0x3f, 0x0a, 0xea, 0xe7, 0x08, 0x75, 0xac, 0xca, + 0xd7, 0x52, 0xf5, 0xcb, 0xd4, 0x52, 0xe4, 0x23, 0xe8, 0x8a, 0xd0, 0xf1, 0x98, 0x6f, 0xfb, 0x5e, + 0x70, 0x9a, 0xfc, 0xb3, 0xc2, 0xcd, 0xa9, 0x1f, 0xe2, 0x91, 0xe2, 0xb1, 0x22, 0xa0, 0x1d, 0x91, + 0x01, 0xe4, 0xa7, 0xb0, 0xcc, 0x03, 0x61, 0x27, 0xf5, 0xb4, 0xed, 0xa6, 0xff, 0x9e, 0x50, 0x9b, + 0x9d, 0xf3, 0xcd, 0x14, 0xec, 0x94, 0xf0, 0x69, 0x94, 0xb0, 0x04, 0x00, 0x65, 0xe7, 0xa6, 0x37, + 0xcf, 0x17, 0xbd, 0x95, 0x62, 0xd1, 0xfb, 0x08, 0x3a, 0xe6, 0x1f, 0x55, 0x0e, 0x93, 0x11, 0x47, + 0x6f, 0xe3, 0x8d, 0xec, 0xc4, 0xcd, 0xec, 0x5f, 0x5b, 0x9e, 0x98, 0xff, 0x6c, 0x31, 0x4c, 0xd7, + 0xd5, 0x06, 0x9a, 0xdf, 0x6d, 0xfd, 0xa9, 0x02, 0x3d, 0x25, 0x62, 0xee, 0xe4, 0x1f, 0xe1, 0xb8, + 0x22, 0x99, 0x11, 0x98, 0x5f, 0xf1, 0x96, 0x73, 0x53, 0xaf, 0x74, 0x91, 0xe6, 0x09, 0xc9, 0x06, + 0x2c, 0x8b, 0xf1, 0x71, 0x92, 0x35, 0x1f, 0x8a, 0x30, 0xb8, 0x3f, 0x91, 0x3c, 0xa9, 0x41, 0xe7, + 0xae, 0x91, 0xb7, 0xe0, 0x4a, 0x32, 0xf1, 0xcc, 0x36, 0xe8, 0xdf, 0x3a, 0x67, 0x17, 0xac, 0xdf, + 0x55, 0xd2, 0x5a, 0x49, 0x25, 0x6c, 0xec, 0xc5, 0x52, 0x13, 0x53, 0x9f, 0x73, 0x33, 0xe5, 0x75, + 0x68, 0x98, 0xdf, 0x41, 0x74, 0x16, 0x30, 0x50, 0xde, 0x48, 0xeb, 0x05, 0x23, 0xbd, 0x0d, 0x6d, + 0x93, 0x79, 0xb9, 0x32, 0x0b, 0xd5, 0xab, 0x67, 0x88, 0x42, 0x51, 0xa9, 0x8b, 0xa2, 0x14, 0xb6, + 0xbe, 0xd4, 0x19, 0x24, 0x67, 0x35, 0xe4, 0xbd, 0x29, 0x33, 0x9b, 0x79, 0xce, 0x8c, 0xb8, 0x68, + 0x61, 0x69, 0x5c, 0xa8, 0xe6, 0x7b, 0x8d, 0x6f, 0x2a, 0x70, 0x27, 0x57, 0x53, 0x6c, 0xcd, 0xfe, + 0xa4, 0xfd, 0x82, 0x51, 0x41, 0xc9, 0x4f, 0xe4, 0xd5, 0xd2, 0x9f, 0xc8, 0xcb, 0x7a, 0x86, 0xfb, + 0x8b, 0x3f, 0xeb, 0xac, 0xbf, 0xfd, 0x61, 0x72, 0x8f, 0xe3, 0x06, 0x7e, 0xbd, 0xf3, 0xdf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x57, 0x94, 0xb9, 0x15, 0x9e, 0x25, 0x00, 0x00, } diff --git a/protocol/protobuf/pin_message.pb.go b/protocol/protobuf/pin_message.pb.go index b6c964129..f1267b4bb 100644 --- a/protocol/protobuf/pin_message.pb.go +++ b/protocol/protobuf/pin_message.pb.go @@ -1,187 +1,117 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: pin_message.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PinMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Pinned bool `protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty"` // The type of message (public/one-to-one/private-group-chat) - MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` + MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PinMessage) Reset() { - *x = PinMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pin_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PinMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PinMessage) ProtoMessage() {} - -func (x *PinMessage) ProtoReflect() protoreflect.Message { - mi := &file_pin_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PinMessage.ProtoReflect.Descriptor instead. +func (m *PinMessage) Reset() { *m = PinMessage{} } +func (m *PinMessage) String() string { return proto.CompactTextString(m) } +func (*PinMessage) ProtoMessage() {} func (*PinMessage) Descriptor() ([]byte, []int) { - return file_pin_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_b3c2ad1be7128a0a, []int{0} } -func (x *PinMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *PinMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PinMessage.Unmarshal(m, b) +} +func (m *PinMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PinMessage.Marshal(b, m, deterministic) +} +func (m *PinMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_PinMessage.Merge(m, src) +} +func (m *PinMessage) XXX_Size() int { + return xxx_messageInfo_PinMessage.Size(m) +} +func (m *PinMessage) XXX_DiscardUnknown() { + xxx_messageInfo_PinMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_PinMessage proto.InternalMessageInfo + +func (m *PinMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *PinMessage) GetMessageId() string { - if x != nil { - return x.MessageId +func (m *PinMessage) GetMessageId() string { + if m != nil { + return m.MessageId } return "" } -func (x *PinMessage) GetChatId() string { - if x != nil { - return x.ChatId +func (m *PinMessage) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *PinMessage) GetPinned() bool { - if x != nil { - return x.Pinned +func (m *PinMessage) GetPinned() bool { + if m != nil { + return m.Pinned } return false } -func (x *PinMessage) GetMessageType() MessageType { - if x != nil { - return x.MessageType +func (m *PinMessage) GetMessageType() MessageType { + if m != nil { + return m.MessageType } return MessageType_UNKNOWN_MESSAGE_TYPE } -var File_pin_message_proto protoreflect.FileDescriptor - -var file_pin_message_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x70, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, 0x65, - 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x0a, 0x50, - 0x69, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x17, - 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, - 0x38, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*PinMessage)(nil), "protobuf.PinMessage") } -var ( - file_pin_message_proto_rawDescOnce sync.Once - file_pin_message_proto_rawDescData = file_pin_message_proto_rawDesc -) - -func file_pin_message_proto_rawDescGZIP() []byte { - file_pin_message_proto_rawDescOnce.Do(func() { - file_pin_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_pin_message_proto_rawDescData) - }) - return file_pin_message_proto_rawDescData +func init() { + proto.RegisterFile("pin_message.proto", fileDescriptor_b3c2ad1be7128a0a) } -var file_pin_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_pin_message_proto_goTypes = []interface{}{ - (*PinMessage)(nil), // 0: protobuf.PinMessage - (MessageType)(0), // 1: protobuf.MessageType -} -var file_pin_message_proto_depIdxs = []int32{ - 1, // 0: protobuf.PinMessage.message_type:type_name -> protobuf.MessageType - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_pin_message_proto_init() } -func file_pin_message_proto_init() { - if File_pin_message_proto != nil { - return - } - file_enums_proto_init() - if !protoimpl.UnsafeEnabled { - file_pin_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pin_message_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pin_message_proto_goTypes, - DependencyIndexes: file_pin_message_proto_depIdxs, - MessageInfos: file_pin_message_proto_msgTypes, - }.Build() - File_pin_message_proto = out.File - file_pin_message_proto_rawDesc = nil - file_pin_message_proto_goTypes = nil - file_pin_message_proto_depIdxs = nil +var fileDescriptor_b3c2ad1be7128a0a = []byte{ + // 192 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2c, 0xc8, 0xcc, 0x8b, + 0xcf, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, + 0x53, 0x49, 0xa5, 0x69, 0x52, 0xdc, 0xa9, 0x79, 0xa5, 0xb9, 0xc5, 0x10, 0x61, 0xa5, 0x35, 0x8c, + 0x5c, 0x5c, 0x01, 0x99, 0x79, 0xbe, 0x10, 0xb5, 0x42, 0x22, 0x5c, 0xac, 0xc9, 0x39, 0xf9, 0xc9, + 0xd9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x2c, 0x41, 0x10, 0x8e, 0x90, 0x2c, 0x17, 0x17, 0xd4, 0xb0, + 0xf8, 0xcc, 0x14, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x4e, 0xa8, 0x88, 0x67, 0x8a, 0x90, + 0x38, 0x17, 0x7b, 0x72, 0x46, 0x62, 0x09, 0x48, 0x8e, 0x19, 0x2c, 0xc7, 0x06, 0xe2, 0x7a, 0xa6, + 0x08, 0x89, 0x71, 0xb1, 0x15, 0x64, 0xe6, 0xe5, 0xa5, 0xa6, 0x48, 0xb0, 0x28, 0x30, 0x6a, 0x70, + 0x04, 0x41, 0x79, 0x42, 0x16, 0x5c, 0x3c, 0x30, 0xf3, 0x4a, 0x2a, 0x0b, 0x52, 0x25, 0x58, 0x15, + 0x18, 0x35, 0xf8, 0x8c, 0x44, 0xf5, 0x60, 0x4e, 0xd4, 0x83, 0x3a, 0x27, 0xa4, 0xb2, 0x20, 0x35, + 0x88, 0x3b, 0x17, 0xc1, 0x71, 0xe2, 0x8d, 0xe2, 0xd6, 0xd3, 0xb7, 0x86, 0xa9, 0x4b, 0x62, 0x03, + 0xb3, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x78, 0x7a, 0xb9, 0x5d, 0xf0, 0x00, 0x00, 0x00, } diff --git a/protocol/protobuf/push_notifications.pb.go b/protocol/protobuf/push_notifications.pb.go index 210871906..9221ff0a9 100644 --- a/protocol/protobuf/push_notifications.pb.go +++ b/protocol/protobuf/push_notifications.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: push_notifications.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PushNotificationRegistration_TokenType int32 @@ -28,45 +28,24 @@ const ( PushNotificationRegistration_FIREBASE_TOKEN PushNotificationRegistration_TokenType = 2 ) -// Enum value maps for PushNotificationRegistration_TokenType. -var ( - PushNotificationRegistration_TokenType_name = map[int32]string{ - 0: "UNKNOWN_TOKEN_TYPE", - 1: "APN_TOKEN", - 2: "FIREBASE_TOKEN", - } - PushNotificationRegistration_TokenType_value = map[string]int32{ - "UNKNOWN_TOKEN_TYPE": 0, - "APN_TOKEN": 1, - "FIREBASE_TOKEN": 2, - } -) +var PushNotificationRegistration_TokenType_name = map[int32]string{ + 0: "UNKNOWN_TOKEN_TYPE", + 1: "APN_TOKEN", + 2: "FIREBASE_TOKEN", +} -func (x PushNotificationRegistration_TokenType) Enum() *PushNotificationRegistration_TokenType { - p := new(PushNotificationRegistration_TokenType) - *p = x - return p +var PushNotificationRegistration_TokenType_value = map[string]int32{ + "UNKNOWN_TOKEN_TYPE": 0, + "APN_TOKEN": 1, + "FIREBASE_TOKEN": 2, } func (x PushNotificationRegistration_TokenType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(PushNotificationRegistration_TokenType_name, int32(x)) } -func (PushNotificationRegistration_TokenType) Descriptor() protoreflect.EnumDescriptor { - return file_push_notifications_proto_enumTypes[0].Descriptor() -} - -func (PushNotificationRegistration_TokenType) Type() protoreflect.EnumType { - return &file_push_notifications_proto_enumTypes[0] -} - -func (x PushNotificationRegistration_TokenType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PushNotificationRegistration_TokenType.Descriptor instead. func (PushNotificationRegistration_TokenType) EnumDescriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_200acd86044eaa5d, []int{0, 0} } type PushNotificationRegistrationResponse_ErrorType int32 @@ -79,49 +58,28 @@ const ( PushNotificationRegistrationResponse_INTERNAL_ERROR PushNotificationRegistrationResponse_ErrorType = 4 ) -// Enum value maps for PushNotificationRegistrationResponse_ErrorType. -var ( - PushNotificationRegistrationResponse_ErrorType_name = map[int32]string{ - 0: "UNKNOWN_ERROR_TYPE", - 1: "MALFORMED_MESSAGE", - 2: "VERSION_MISMATCH", - 3: "UNSUPPORTED_TOKEN_TYPE", - 4: "INTERNAL_ERROR", - } - PushNotificationRegistrationResponse_ErrorType_value = map[string]int32{ - "UNKNOWN_ERROR_TYPE": 0, - "MALFORMED_MESSAGE": 1, - "VERSION_MISMATCH": 2, - "UNSUPPORTED_TOKEN_TYPE": 3, - "INTERNAL_ERROR": 4, - } -) +var PushNotificationRegistrationResponse_ErrorType_name = map[int32]string{ + 0: "UNKNOWN_ERROR_TYPE", + 1: "MALFORMED_MESSAGE", + 2: "VERSION_MISMATCH", + 3: "UNSUPPORTED_TOKEN_TYPE", + 4: "INTERNAL_ERROR", +} -func (x PushNotificationRegistrationResponse_ErrorType) Enum() *PushNotificationRegistrationResponse_ErrorType { - p := new(PushNotificationRegistrationResponse_ErrorType) - *p = x - return p +var PushNotificationRegistrationResponse_ErrorType_value = map[string]int32{ + "UNKNOWN_ERROR_TYPE": 0, + "MALFORMED_MESSAGE": 1, + "VERSION_MISMATCH": 2, + "UNSUPPORTED_TOKEN_TYPE": 3, + "INTERNAL_ERROR": 4, } func (x PushNotificationRegistrationResponse_ErrorType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(PushNotificationRegistrationResponse_ErrorType_name, int32(x)) } -func (PushNotificationRegistrationResponse_ErrorType) Descriptor() protoreflect.EnumDescriptor { - return file_push_notifications_proto_enumTypes[1].Descriptor() -} - -func (PushNotificationRegistrationResponse_ErrorType) Type() protoreflect.EnumType { - return &file_push_notifications_proto_enumTypes[1] -} - -func (x PushNotificationRegistrationResponse_ErrorType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PushNotificationRegistrationResponse_ErrorType.Descriptor instead. func (PushNotificationRegistrationResponse_ErrorType) EnumDescriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{1, 0} + return fileDescriptor_200acd86044eaa5d, []int{1, 0} } type PushNotification_PushNotificationType int32 @@ -133,47 +91,26 @@ const ( PushNotification_REQUEST_TO_JOIN_COMMUNITY PushNotification_PushNotificationType = 3 ) -// Enum value maps for PushNotification_PushNotificationType. -var ( - PushNotification_PushNotificationType_name = map[int32]string{ - 0: "UNKNOWN_PUSH_NOTIFICATION_TYPE", - 1: "MESSAGE", - 2: "MENTION", - 3: "REQUEST_TO_JOIN_COMMUNITY", - } - PushNotification_PushNotificationType_value = map[string]int32{ - "UNKNOWN_PUSH_NOTIFICATION_TYPE": 0, - "MESSAGE": 1, - "MENTION": 2, - "REQUEST_TO_JOIN_COMMUNITY": 3, - } -) +var PushNotification_PushNotificationType_name = map[int32]string{ + 0: "UNKNOWN_PUSH_NOTIFICATION_TYPE", + 1: "MESSAGE", + 2: "MENTION", + 3: "REQUEST_TO_JOIN_COMMUNITY", +} -func (x PushNotification_PushNotificationType) Enum() *PushNotification_PushNotificationType { - p := new(PushNotification_PushNotificationType) - *p = x - return p +var PushNotification_PushNotificationType_value = map[string]int32{ + "UNKNOWN_PUSH_NOTIFICATION_TYPE": 0, + "MESSAGE": 1, + "MENTION": 2, + "REQUEST_TO_JOIN_COMMUNITY": 3, } func (x PushNotification_PushNotificationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(PushNotification_PushNotificationType_name, int32(x)) } -func (PushNotification_PushNotificationType) Descriptor() protoreflect.EnumDescriptor { - return file_push_notifications_proto_enumTypes[2].Descriptor() -} - -func (PushNotification_PushNotificationType) Type() protoreflect.EnumType { - return &file_push_notifications_proto_enumTypes[2] -} - -func (x PushNotification_PushNotificationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PushNotification_PushNotificationType.Descriptor instead. func (PushNotification_PushNotificationType) EnumDescriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{6, 0} + return fileDescriptor_200acd86044eaa5d, []int{6, 0} } type PushNotificationReport_ErrorType int32 @@ -185,54 +122,29 @@ const ( PushNotificationReport_NOT_REGISTERED PushNotificationReport_ErrorType = 3 ) -// Enum value maps for PushNotificationReport_ErrorType. -var ( - PushNotificationReport_ErrorType_name = map[int32]string{ - 0: "UNKNOWN_ERROR_TYPE", - 1: "WRONG_TOKEN", - 2: "INTERNAL_ERROR", - 3: "NOT_REGISTERED", - } - PushNotificationReport_ErrorType_value = map[string]int32{ - "UNKNOWN_ERROR_TYPE": 0, - "WRONG_TOKEN": 1, - "INTERNAL_ERROR": 2, - "NOT_REGISTERED": 3, - } -) +var PushNotificationReport_ErrorType_name = map[int32]string{ + 0: "UNKNOWN_ERROR_TYPE", + 1: "WRONG_TOKEN", + 2: "INTERNAL_ERROR", + 3: "NOT_REGISTERED", +} -func (x PushNotificationReport_ErrorType) Enum() *PushNotificationReport_ErrorType { - p := new(PushNotificationReport_ErrorType) - *p = x - return p +var PushNotificationReport_ErrorType_value = map[string]int32{ + "UNKNOWN_ERROR_TYPE": 0, + "WRONG_TOKEN": 1, + "INTERNAL_ERROR": 2, + "NOT_REGISTERED": 3, } func (x PushNotificationReport_ErrorType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(PushNotificationReport_ErrorType_name, int32(x)) } -func (PushNotificationReport_ErrorType) Descriptor() protoreflect.EnumDescriptor { - return file_push_notifications_proto_enumTypes[3].Descriptor() -} - -func (PushNotificationReport_ErrorType) Type() protoreflect.EnumType { - return &file_push_notifications_proto_enumTypes[3] -} - -func (x PushNotificationReport_ErrorType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PushNotificationReport_ErrorType.Descriptor instead. func (PushNotificationReport_ErrorType) EnumDescriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{8, 0} + return fileDescriptor_200acd86044eaa5d, []int{8, 0} } type PushNotificationRegistration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - TokenType PushNotificationRegistration_TokenType `protobuf:"varint,1,opt,name=token_type,json=tokenType,proto3,enum=protobuf.PushNotificationRegistration_TokenType" json:"token_type,omitempty"` DeviceToken string `protobuf:"bytes,2,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"` InstallationId string `protobuf:"bytes,3,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` @@ -248,1109 +160,757 @@ type PushNotificationRegistration struct { BlockMentions bool `protobuf:"varint,13,opt,name=block_mentions,json=blockMentions,proto3" json:"block_mentions,omitempty"` AllowedMentionsChatList [][]byte `protobuf:"bytes,14,rep,name=allowed_mentions_chat_list,json=allowedMentionsChatList,proto3" json:"allowed_mentions_chat_list,omitempty"` MutedChatList [][]byte `protobuf:"bytes,15,rep,name=muted_chat_list,json=mutedChatList,proto3" json:"muted_chat_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationRegistration) Reset() { - *x = PushNotificationRegistration{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationRegistration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationRegistration) ProtoMessage() {} - -func (x *PushNotificationRegistration) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationRegistration.ProtoReflect.Descriptor instead. +func (m *PushNotificationRegistration) Reset() { *m = PushNotificationRegistration{} } +func (m *PushNotificationRegistration) String() string { return proto.CompactTextString(m) } +func (*PushNotificationRegistration) ProtoMessage() {} func (*PushNotificationRegistration) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{0} + return fileDescriptor_200acd86044eaa5d, []int{0} } -func (x *PushNotificationRegistration) GetTokenType() PushNotificationRegistration_TokenType { - if x != nil { - return x.TokenType +func (m *PushNotificationRegistration) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationRegistration.Unmarshal(m, b) +} +func (m *PushNotificationRegistration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationRegistration.Marshal(b, m, deterministic) +} +func (m *PushNotificationRegistration) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationRegistration.Merge(m, src) +} +func (m *PushNotificationRegistration) XXX_Size() int { + return xxx_messageInfo_PushNotificationRegistration.Size(m) +} +func (m *PushNotificationRegistration) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationRegistration.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationRegistration proto.InternalMessageInfo + +func (m *PushNotificationRegistration) GetTokenType() PushNotificationRegistration_TokenType { + if m != nil { + return m.TokenType } return PushNotificationRegistration_UNKNOWN_TOKEN_TYPE } -func (x *PushNotificationRegistration) GetDeviceToken() string { - if x != nil { - return x.DeviceToken +func (m *PushNotificationRegistration) GetDeviceToken() string { + if m != nil { + return m.DeviceToken } return "" } -func (x *PushNotificationRegistration) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *PushNotificationRegistration) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } -func (x *PushNotificationRegistration) GetAccessToken() string { - if x != nil { - return x.AccessToken +func (m *PushNotificationRegistration) GetAccessToken() string { + if m != nil { + return m.AccessToken } return "" } -func (x *PushNotificationRegistration) GetEnabled() bool { - if x != nil { - return x.Enabled +func (m *PushNotificationRegistration) GetEnabled() bool { + if m != nil { + return m.Enabled } return false } -func (x *PushNotificationRegistration) GetVersion() uint64 { - if x != nil { - return x.Version +func (m *PushNotificationRegistration) GetVersion() uint64 { + if m != nil { + return m.Version } return 0 } -func (x *PushNotificationRegistration) GetAllowedKeyList() [][]byte { - if x != nil { - return x.AllowedKeyList +func (m *PushNotificationRegistration) GetAllowedKeyList() [][]byte { + if m != nil { + return m.AllowedKeyList } return nil } -func (x *PushNotificationRegistration) GetBlockedChatList() [][]byte { - if x != nil { - return x.BlockedChatList +func (m *PushNotificationRegistration) GetBlockedChatList() [][]byte { + if m != nil { + return m.BlockedChatList } return nil } -func (x *PushNotificationRegistration) GetUnregister() bool { - if x != nil { - return x.Unregister +func (m *PushNotificationRegistration) GetUnregister() bool { + if m != nil { + return m.Unregister } return false } -func (x *PushNotificationRegistration) GetGrant() []byte { - if x != nil { - return x.Grant +func (m *PushNotificationRegistration) GetGrant() []byte { + if m != nil { + return m.Grant } return nil } -func (x *PushNotificationRegistration) GetAllowFromContactsOnly() bool { - if x != nil { - return x.AllowFromContactsOnly +func (m *PushNotificationRegistration) GetAllowFromContactsOnly() bool { + if m != nil { + return m.AllowFromContactsOnly } return false } -func (x *PushNotificationRegistration) GetApnTopic() string { - if x != nil { - return x.ApnTopic +func (m *PushNotificationRegistration) GetApnTopic() string { + if m != nil { + return m.ApnTopic } return "" } -func (x *PushNotificationRegistration) GetBlockMentions() bool { - if x != nil { - return x.BlockMentions +func (m *PushNotificationRegistration) GetBlockMentions() bool { + if m != nil { + return m.BlockMentions } return false } -func (x *PushNotificationRegistration) GetAllowedMentionsChatList() [][]byte { - if x != nil { - return x.AllowedMentionsChatList +func (m *PushNotificationRegistration) GetAllowedMentionsChatList() [][]byte { + if m != nil { + return m.AllowedMentionsChatList } return nil } -func (x *PushNotificationRegistration) GetMutedChatList() [][]byte { - if x != nil { - return x.MutedChatList +func (m *PushNotificationRegistration) GetMutedChatList() [][]byte { + if m != nil { + return m.MutedChatList } return nil } type PushNotificationRegistrationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Error PushNotificationRegistrationResponse_ErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=protobuf.PushNotificationRegistrationResponse_ErrorType" json:"error,omitempty"` - RequestId []byte `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Error PushNotificationRegistrationResponse_ErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=protobuf.PushNotificationRegistrationResponse_ErrorType" json:"error,omitempty"` + RequestId []byte `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationRegistrationResponse) Reset() { - *x = PushNotificationRegistrationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationRegistrationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationRegistrationResponse) ProtoMessage() {} - -func (x *PushNotificationRegistrationResponse) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationRegistrationResponse.ProtoReflect.Descriptor instead. +func (m *PushNotificationRegistrationResponse) Reset() { *m = PushNotificationRegistrationResponse{} } +func (m *PushNotificationRegistrationResponse) String() string { return proto.CompactTextString(m) } +func (*PushNotificationRegistrationResponse) ProtoMessage() {} func (*PushNotificationRegistrationResponse) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{1} + return fileDescriptor_200acd86044eaa5d, []int{1} } -func (x *PushNotificationRegistrationResponse) GetSuccess() bool { - if x != nil { - return x.Success +func (m *PushNotificationRegistrationResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationRegistrationResponse.Unmarshal(m, b) +} +func (m *PushNotificationRegistrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationRegistrationResponse.Marshal(b, m, deterministic) +} +func (m *PushNotificationRegistrationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationRegistrationResponse.Merge(m, src) +} +func (m *PushNotificationRegistrationResponse) XXX_Size() int { + return xxx_messageInfo_PushNotificationRegistrationResponse.Size(m) +} +func (m *PushNotificationRegistrationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationRegistrationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationRegistrationResponse proto.InternalMessageInfo + +func (m *PushNotificationRegistrationResponse) GetSuccess() bool { + if m != nil { + return m.Success } return false } -func (x *PushNotificationRegistrationResponse) GetError() PushNotificationRegistrationResponse_ErrorType { - if x != nil { - return x.Error +func (m *PushNotificationRegistrationResponse) GetError() PushNotificationRegistrationResponse_ErrorType { + if m != nil { + return m.Error } return PushNotificationRegistrationResponse_UNKNOWN_ERROR_TYPE } -func (x *PushNotificationRegistrationResponse) GetRequestId() []byte { - if x != nil { - return x.RequestId +func (m *PushNotificationRegistrationResponse) GetRequestId() []byte { + if m != nil { + return m.RequestId } return nil } type ContactCodeAdvertisement struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - PushNotificationInfo []*PushNotificationQueryInfo `protobuf:"bytes,1,rep,name=push_notification_info,json=pushNotificationInfo,proto3" json:"push_notification_info,omitempty"` ChatIdentity *ChatIdentity `protobuf:"bytes,2,opt,name=chat_identity,json=chatIdentity,proto3" json:"chat_identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ContactCodeAdvertisement) Reset() { - *x = ContactCodeAdvertisement{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContactCodeAdvertisement) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContactCodeAdvertisement) ProtoMessage() {} - -func (x *ContactCodeAdvertisement) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContactCodeAdvertisement.ProtoReflect.Descriptor instead. +func (m *ContactCodeAdvertisement) Reset() { *m = ContactCodeAdvertisement{} } +func (m *ContactCodeAdvertisement) String() string { return proto.CompactTextString(m) } +func (*ContactCodeAdvertisement) ProtoMessage() {} func (*ContactCodeAdvertisement) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{2} + return fileDescriptor_200acd86044eaa5d, []int{2} } -func (x *ContactCodeAdvertisement) GetPushNotificationInfo() []*PushNotificationQueryInfo { - if x != nil { - return x.PushNotificationInfo +func (m *ContactCodeAdvertisement) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContactCodeAdvertisement.Unmarshal(m, b) +} +func (m *ContactCodeAdvertisement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContactCodeAdvertisement.Marshal(b, m, deterministic) +} +func (m *ContactCodeAdvertisement) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContactCodeAdvertisement.Merge(m, src) +} +func (m *ContactCodeAdvertisement) XXX_Size() int { + return xxx_messageInfo_ContactCodeAdvertisement.Size(m) +} +func (m *ContactCodeAdvertisement) XXX_DiscardUnknown() { + xxx_messageInfo_ContactCodeAdvertisement.DiscardUnknown(m) +} + +var xxx_messageInfo_ContactCodeAdvertisement proto.InternalMessageInfo + +func (m *ContactCodeAdvertisement) GetPushNotificationInfo() []*PushNotificationQueryInfo { + if m != nil { + return m.PushNotificationInfo } return nil } -func (x *ContactCodeAdvertisement) GetChatIdentity() *ChatIdentity { - if x != nil { - return x.ChatIdentity +func (m *ContactCodeAdvertisement) GetChatIdentity() *ChatIdentity { + if m != nil { + return m.ChatIdentity } return nil } type PushNotificationQuery struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` + PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationQuery) Reset() { - *x = PushNotificationQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationQuery) ProtoMessage() {} - -func (x *PushNotificationQuery) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationQuery.ProtoReflect.Descriptor instead. +func (m *PushNotificationQuery) Reset() { *m = PushNotificationQuery{} } +func (m *PushNotificationQuery) String() string { return proto.CompactTextString(m) } +func (*PushNotificationQuery) ProtoMessage() {} func (*PushNotificationQuery) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{3} + return fileDescriptor_200acd86044eaa5d, []int{3} } -func (x *PushNotificationQuery) GetPublicKeys() [][]byte { - if x != nil { - return x.PublicKeys +func (m *PushNotificationQuery) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationQuery.Unmarshal(m, b) +} +func (m *PushNotificationQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationQuery.Marshal(b, m, deterministic) +} +func (m *PushNotificationQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationQuery.Merge(m, src) +} +func (m *PushNotificationQuery) XXX_Size() int { + return xxx_messageInfo_PushNotificationQuery.Size(m) +} +func (m *PushNotificationQuery) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationQuery.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationQuery proto.InternalMessageInfo + +func (m *PushNotificationQuery) GetPublicKeys() [][]byte { + if m != nil { + return m.PublicKeys } return nil } type PushNotificationQueryInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` - InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` - PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - AllowedKeyList [][]byte `protobuf:"bytes,4,rep,name=allowed_key_list,json=allowedKeyList,proto3" json:"allowed_key_list,omitempty"` - Grant []byte `protobuf:"bytes,5,opt,name=grant,proto3" json:"grant,omitempty"` - Version uint64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` - ServerPublicKey []byte `protobuf:"bytes,7,opt,name=server_public_key,json=serverPublicKey,proto3" json:"server_public_key,omitempty"` + AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` + InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + AllowedKeyList [][]byte `protobuf:"bytes,4,rep,name=allowed_key_list,json=allowedKeyList,proto3" json:"allowed_key_list,omitempty"` + Grant []byte `protobuf:"bytes,5,opt,name=grant,proto3" json:"grant,omitempty"` + Version uint64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"` + ServerPublicKey []byte `protobuf:"bytes,7,opt,name=server_public_key,json=serverPublicKey,proto3" json:"server_public_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationQueryInfo) Reset() { - *x = PushNotificationQueryInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationQueryInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationQueryInfo) ProtoMessage() {} - -func (x *PushNotificationQueryInfo) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationQueryInfo.ProtoReflect.Descriptor instead. +func (m *PushNotificationQueryInfo) Reset() { *m = PushNotificationQueryInfo{} } +func (m *PushNotificationQueryInfo) String() string { return proto.CompactTextString(m) } +func (*PushNotificationQueryInfo) ProtoMessage() {} func (*PushNotificationQueryInfo) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{4} + return fileDescriptor_200acd86044eaa5d, []int{4} } -func (x *PushNotificationQueryInfo) GetAccessToken() string { - if x != nil { - return x.AccessToken +func (m *PushNotificationQueryInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationQueryInfo.Unmarshal(m, b) +} +func (m *PushNotificationQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationQueryInfo.Marshal(b, m, deterministic) +} +func (m *PushNotificationQueryInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationQueryInfo.Merge(m, src) +} +func (m *PushNotificationQueryInfo) XXX_Size() int { + return xxx_messageInfo_PushNotificationQueryInfo.Size(m) +} +func (m *PushNotificationQueryInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationQueryInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationQueryInfo proto.InternalMessageInfo + +func (m *PushNotificationQueryInfo) GetAccessToken() string { + if m != nil { + return m.AccessToken } return "" } -func (x *PushNotificationQueryInfo) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *PushNotificationQueryInfo) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } -func (x *PushNotificationQueryInfo) GetPublicKey() []byte { - if x != nil { - return x.PublicKey +func (m *PushNotificationQueryInfo) GetPublicKey() []byte { + if m != nil { + return m.PublicKey } return nil } -func (x *PushNotificationQueryInfo) GetAllowedKeyList() [][]byte { - if x != nil { - return x.AllowedKeyList +func (m *PushNotificationQueryInfo) GetAllowedKeyList() [][]byte { + if m != nil { + return m.AllowedKeyList } return nil } -func (x *PushNotificationQueryInfo) GetGrant() []byte { - if x != nil { - return x.Grant +func (m *PushNotificationQueryInfo) GetGrant() []byte { + if m != nil { + return m.Grant } return nil } -func (x *PushNotificationQueryInfo) GetVersion() uint64 { - if x != nil { - return x.Version +func (m *PushNotificationQueryInfo) GetVersion() uint64 { + if m != nil { + return m.Version } return 0 } -func (x *PushNotificationQueryInfo) GetServerPublicKey() []byte { - if x != nil { - return x.ServerPublicKey +func (m *PushNotificationQueryInfo) GetServerPublicKey() []byte { + if m != nil { + return m.ServerPublicKey } return nil } type PushNotificationQueryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Info []*PushNotificationQueryInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` - MessageId []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` + Info []*PushNotificationQueryInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"` + MessageId []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationQueryResponse) Reset() { - *x = PushNotificationQueryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationQueryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationQueryResponse) ProtoMessage() {} - -func (x *PushNotificationQueryResponse) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationQueryResponse.ProtoReflect.Descriptor instead. +func (m *PushNotificationQueryResponse) Reset() { *m = PushNotificationQueryResponse{} } +func (m *PushNotificationQueryResponse) String() string { return proto.CompactTextString(m) } +func (*PushNotificationQueryResponse) ProtoMessage() {} func (*PushNotificationQueryResponse) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{5} + return fileDescriptor_200acd86044eaa5d, []int{5} } -func (x *PushNotificationQueryResponse) GetInfo() []*PushNotificationQueryInfo { - if x != nil { - return x.Info +func (m *PushNotificationQueryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationQueryResponse.Unmarshal(m, b) +} +func (m *PushNotificationQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationQueryResponse.Marshal(b, m, deterministic) +} +func (m *PushNotificationQueryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationQueryResponse.Merge(m, src) +} +func (m *PushNotificationQueryResponse) XXX_Size() int { + return xxx_messageInfo_PushNotificationQueryResponse.Size(m) +} +func (m *PushNotificationQueryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationQueryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationQueryResponse proto.InternalMessageInfo + +func (m *PushNotificationQueryResponse) GetInfo() []*PushNotificationQueryInfo { + if m != nil { + return m.Info } return nil } -func (x *PushNotificationQueryResponse) GetMessageId() []byte { - if x != nil { - return x.MessageId +func (m *PushNotificationQueryResponse) GetMessageId() []byte { + if m != nil { + return m.MessageId } return nil } -func (x *PushNotificationQueryResponse) GetSuccess() bool { - if x != nil { - return x.Success +func (m *PushNotificationQueryResponse) GetSuccess() bool { + if m != nil { + return m.Success } return false } type PushNotification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` - ChatId []byte `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - InstallationId string `protobuf:"bytes,4,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` - Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - Type PushNotification_PushNotificationType `protobuf:"varint,6,opt,name=type,proto3,enum=protobuf.PushNotification_PushNotificationType" json:"type,omitempty"` - Author []byte `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` + AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` + ChatId []byte `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + InstallationId string `protobuf:"bytes,4,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + Type PushNotification_PushNotificationType `protobuf:"varint,6,opt,name=type,proto3,enum=protobuf.PushNotification_PushNotificationType" json:"type,omitempty"` + Author []byte `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotification) Reset() { - *x = PushNotification{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotification) ProtoMessage() {} - -func (x *PushNotification) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotification.ProtoReflect.Descriptor instead. +func (m *PushNotification) Reset() { *m = PushNotification{} } +func (m *PushNotification) String() string { return proto.CompactTextString(m) } +func (*PushNotification) ProtoMessage() {} func (*PushNotification) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{6} + return fileDescriptor_200acd86044eaa5d, []int{6} } -func (x *PushNotification) GetAccessToken() string { - if x != nil { - return x.AccessToken +func (m *PushNotification) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotification.Unmarshal(m, b) +} +func (m *PushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotification.Marshal(b, m, deterministic) +} +func (m *PushNotification) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotification.Merge(m, src) +} +func (m *PushNotification) XXX_Size() int { + return xxx_messageInfo_PushNotification.Size(m) +} +func (m *PushNotification) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotification.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotification proto.InternalMessageInfo + +func (m *PushNotification) GetAccessToken() string { + if m != nil { + return m.AccessToken } return "" } -func (x *PushNotification) GetChatId() []byte { - if x != nil { - return x.ChatId +func (m *PushNotification) GetChatId() []byte { + if m != nil { + return m.ChatId } return nil } -func (x *PushNotification) GetPublicKey() []byte { - if x != nil { - return x.PublicKey +func (m *PushNotification) GetPublicKey() []byte { + if m != nil { + return m.PublicKey } return nil } -func (x *PushNotification) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *PushNotification) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } -func (x *PushNotification) GetMessage() []byte { - if x != nil { - return x.Message +func (m *PushNotification) GetMessage() []byte { + if m != nil { + return m.Message } return nil } -func (x *PushNotification) GetType() PushNotification_PushNotificationType { - if x != nil { - return x.Type +func (m *PushNotification) GetType() PushNotification_PushNotificationType { + if m != nil { + return m.Type } return PushNotification_UNKNOWN_PUSH_NOTIFICATION_TYPE } -func (x *PushNotification) GetAuthor() []byte { - if x != nil { - return x.Author +func (m *PushNotification) GetAuthor() []byte { + if m != nil { + return m.Author } return nil } type PushNotificationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Requests []*PushNotification `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` - MessageId []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + Requests []*PushNotification `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` + MessageId []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationRequest) Reset() { - *x = PushNotificationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationRequest) ProtoMessage() {} - -func (x *PushNotificationRequest) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationRequest.ProtoReflect.Descriptor instead. +func (m *PushNotificationRequest) Reset() { *m = PushNotificationRequest{} } +func (m *PushNotificationRequest) String() string { return proto.CompactTextString(m) } +func (*PushNotificationRequest) ProtoMessage() {} func (*PushNotificationRequest) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{7} + return fileDescriptor_200acd86044eaa5d, []int{7} } -func (x *PushNotificationRequest) GetRequests() []*PushNotification { - if x != nil { - return x.Requests +func (m *PushNotificationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationRequest.Unmarshal(m, b) +} +func (m *PushNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationRequest.Marshal(b, m, deterministic) +} +func (m *PushNotificationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationRequest.Merge(m, src) +} +func (m *PushNotificationRequest) XXX_Size() int { + return xxx_messageInfo_PushNotificationRequest.Size(m) +} +func (m *PushNotificationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationRequest proto.InternalMessageInfo + +func (m *PushNotificationRequest) GetRequests() []*PushNotification { + if m != nil { + return m.Requests } return nil } -func (x *PushNotificationRequest) GetMessageId() []byte { - if x != nil { - return x.MessageId +func (m *PushNotificationRequest) GetMessageId() []byte { + if m != nil { + return m.MessageId } return nil } type PushNotificationReport struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - Error PushNotificationReport_ErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=protobuf.PushNotificationReport_ErrorType" json:"error,omitempty"` - PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - InstallationId string `protobuf:"bytes,4,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Error PushNotificationReport_ErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=protobuf.PushNotificationReport_ErrorType" json:"error,omitempty"` + PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + InstallationId string `protobuf:"bytes,4,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationReport) Reset() { - *x = PushNotificationReport{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationReport) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationReport) ProtoMessage() {} - -func (x *PushNotificationReport) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationReport.ProtoReflect.Descriptor instead. +func (m *PushNotificationReport) Reset() { *m = PushNotificationReport{} } +func (m *PushNotificationReport) String() string { return proto.CompactTextString(m) } +func (*PushNotificationReport) ProtoMessage() {} func (*PushNotificationReport) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{8} + return fileDescriptor_200acd86044eaa5d, []int{8} } -func (x *PushNotificationReport) GetSuccess() bool { - if x != nil { - return x.Success +func (m *PushNotificationReport) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationReport.Unmarshal(m, b) +} +func (m *PushNotificationReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationReport.Marshal(b, m, deterministic) +} +func (m *PushNotificationReport) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationReport.Merge(m, src) +} +func (m *PushNotificationReport) XXX_Size() int { + return xxx_messageInfo_PushNotificationReport.Size(m) +} +func (m *PushNotificationReport) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationReport.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationReport proto.InternalMessageInfo + +func (m *PushNotificationReport) GetSuccess() bool { + if m != nil { + return m.Success } return false } -func (x *PushNotificationReport) GetError() PushNotificationReport_ErrorType { - if x != nil { - return x.Error +func (m *PushNotificationReport) GetError() PushNotificationReport_ErrorType { + if m != nil { + return m.Error } return PushNotificationReport_UNKNOWN_ERROR_TYPE } -func (x *PushNotificationReport) GetPublicKey() []byte { - if x != nil { - return x.PublicKey +func (m *PushNotificationReport) GetPublicKey() []byte { + if m != nil { + return m.PublicKey } return nil } -func (x *PushNotificationReport) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *PushNotificationReport) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } type PushNotificationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageId []byte `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` - Reports []*PushNotificationReport `protobuf:"bytes,2,rep,name=reports,proto3" json:"reports,omitempty"` + MessageId []byte `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + Reports []*PushNotificationReport `protobuf:"bytes,2,rep,name=reports,proto3" json:"reports,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PushNotificationResponse) Reset() { - *x = PushNotificationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_push_notifications_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNotificationResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNotificationResponse) ProtoMessage() {} - -func (x *PushNotificationResponse) ProtoReflect() protoreflect.Message { - mi := &file_push_notifications_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNotificationResponse.ProtoReflect.Descriptor instead. +func (m *PushNotificationResponse) Reset() { *m = PushNotificationResponse{} } +func (m *PushNotificationResponse) String() string { return proto.CompactTextString(m) } +func (*PushNotificationResponse) ProtoMessage() {} func (*PushNotificationResponse) Descriptor() ([]byte, []int) { - return file_push_notifications_proto_rawDescGZIP(), []int{9} + return fileDescriptor_200acd86044eaa5d, []int{9} } -func (x *PushNotificationResponse) GetMessageId() []byte { - if x != nil { - return x.MessageId +func (m *PushNotificationResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PushNotificationResponse.Unmarshal(m, b) +} +func (m *PushNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PushNotificationResponse.Marshal(b, m, deterministic) +} +func (m *PushNotificationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PushNotificationResponse.Merge(m, src) +} +func (m *PushNotificationResponse) XXX_Size() int { + return xxx_messageInfo_PushNotificationResponse.Size(m) +} +func (m *PushNotificationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PushNotificationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PushNotificationResponse proto.InternalMessageInfo + +func (m *PushNotificationResponse) GetMessageId() []byte { + if m != nil { + return m.MessageId } return nil } -func (x *PushNotificationResponse) GetReports() []*PushNotificationReport { - if x != nil { - return x.Reports +func (m *PushNotificationResponse) GetReports() []*PushNotificationReport { + if m != nil { + return m.Reports } return nil } -var File_push_notifications_proto protoreflect.FileDescriptor - -var file_push_notifications_proto_rawDesc = []byte{ - 0x0a, 0x18, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x05, 0x0a, 0x1c, 0x50, 0x75, - 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x0a, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, - 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, - 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x27, - 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, - 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x69, - 0x73, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, - 0x64, 0x4b, 0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x43, 0x68, 0x61, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, - 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x4f, - 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x6e, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, - 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4d, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x74, - 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x17, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x65, 0x64, 0x4d, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x68, 0x61, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, - 0x61, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x6d, - 0x75, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x46, 0x0a, 0x09, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, - 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x50, 0x4e, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, - 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x52, 0x45, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x54, 0x4f, 0x4b, - 0x45, 0x4e, 0x10, 0x02, 0x22, 0xb2, 0x02, 0x0a, 0x24, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4e, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x80, 0x01, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, - 0x4d, 0x41, 0x4c, 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, - 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, - 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x4e, 0x53, - 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, - 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x22, 0xb2, 0x01, 0x0a, 0x18, 0x43, 0x6f, - 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, - 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x16, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6e, - 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x14, 0x70, 0x75, 0x73, - 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x52, 0x0c, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x38, - 0x0a, 0x15, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x8c, 0x02, 0x0a, 0x19, 0x50, 0x75, 0x73, - 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, - 0x79, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, - 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x67, - 0x72, 0x61, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x91, 0x01, 0x0a, 0x1d, 0x50, 0x75, 0x73, 0x68, - 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, - 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x82, 0x03, 0x0a, 0x10, - 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x43, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x22, 0x73, 0x0a, 0x14, 0x50, - 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, - 0x55, 0x53, 0x48, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x45, 0x53, 0x53, 0x41, - 0x47, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, - 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x4e, 0x49, 0x54, 0x59, 0x10, 0x03, - 0x22, 0x70, 0x0a, 0x17, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x49, 0x64, 0x22, 0x9a, 0x02, 0x0a, 0x16, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x40, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x22, 0x5c, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, - 0x0a, 0x12, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x57, 0x52, 0x4f, 0x4e, 0x47, 0x5f, - 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, - 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4e, - 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x03, 0x22, - 0x75, 0x0a, 0x18, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x72, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x07, 0x72, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.PushNotificationRegistration_TokenType", PushNotificationRegistration_TokenType_name, PushNotificationRegistration_TokenType_value) + proto.RegisterEnum("protobuf.PushNotificationRegistrationResponse_ErrorType", PushNotificationRegistrationResponse_ErrorType_name, PushNotificationRegistrationResponse_ErrorType_value) + proto.RegisterEnum("protobuf.PushNotification_PushNotificationType", PushNotification_PushNotificationType_name, PushNotification_PushNotificationType_value) + proto.RegisterEnum("protobuf.PushNotificationReport_ErrorType", PushNotificationReport_ErrorType_name, PushNotificationReport_ErrorType_value) + proto.RegisterType((*PushNotificationRegistration)(nil), "protobuf.PushNotificationRegistration") + proto.RegisterType((*PushNotificationRegistrationResponse)(nil), "protobuf.PushNotificationRegistrationResponse") + proto.RegisterType((*ContactCodeAdvertisement)(nil), "protobuf.ContactCodeAdvertisement") + proto.RegisterType((*PushNotificationQuery)(nil), "protobuf.PushNotificationQuery") + proto.RegisterType((*PushNotificationQueryInfo)(nil), "protobuf.PushNotificationQueryInfo") + proto.RegisterType((*PushNotificationQueryResponse)(nil), "protobuf.PushNotificationQueryResponse") + proto.RegisterType((*PushNotification)(nil), "protobuf.PushNotification") + proto.RegisterType((*PushNotificationRequest)(nil), "protobuf.PushNotificationRequest") + proto.RegisterType((*PushNotificationReport)(nil), "protobuf.PushNotificationReport") + proto.RegisterType((*PushNotificationResponse)(nil), "protobuf.PushNotificationResponse") } -var ( - file_push_notifications_proto_rawDescOnce sync.Once - file_push_notifications_proto_rawDescData = file_push_notifications_proto_rawDesc -) - -func file_push_notifications_proto_rawDescGZIP() []byte { - file_push_notifications_proto_rawDescOnce.Do(func() { - file_push_notifications_proto_rawDescData = protoimpl.X.CompressGZIP(file_push_notifications_proto_rawDescData) - }) - return file_push_notifications_proto_rawDescData +func init() { + proto.RegisterFile("push_notifications.proto", fileDescriptor_200acd86044eaa5d) } -var file_push_notifications_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_push_notifications_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_push_notifications_proto_goTypes = []interface{}{ - (PushNotificationRegistration_TokenType)(0), // 0: protobuf.PushNotificationRegistration.TokenType - (PushNotificationRegistrationResponse_ErrorType)(0), // 1: protobuf.PushNotificationRegistrationResponse.ErrorType - (PushNotification_PushNotificationType)(0), // 2: protobuf.PushNotification.PushNotificationType - (PushNotificationReport_ErrorType)(0), // 3: protobuf.PushNotificationReport.ErrorType - (*PushNotificationRegistration)(nil), // 4: protobuf.PushNotificationRegistration - (*PushNotificationRegistrationResponse)(nil), // 5: protobuf.PushNotificationRegistrationResponse - (*ContactCodeAdvertisement)(nil), // 6: protobuf.ContactCodeAdvertisement - (*PushNotificationQuery)(nil), // 7: protobuf.PushNotificationQuery - (*PushNotificationQueryInfo)(nil), // 8: protobuf.PushNotificationQueryInfo - (*PushNotificationQueryResponse)(nil), // 9: protobuf.PushNotificationQueryResponse - (*PushNotification)(nil), // 10: protobuf.PushNotification - (*PushNotificationRequest)(nil), // 11: protobuf.PushNotificationRequest - (*PushNotificationReport)(nil), // 12: protobuf.PushNotificationReport - (*PushNotificationResponse)(nil), // 13: protobuf.PushNotificationResponse - (*ChatIdentity)(nil), // 14: protobuf.ChatIdentity -} -var file_push_notifications_proto_depIdxs = []int32{ - 0, // 0: protobuf.PushNotificationRegistration.token_type:type_name -> protobuf.PushNotificationRegistration.TokenType - 1, // 1: protobuf.PushNotificationRegistrationResponse.error:type_name -> protobuf.PushNotificationRegistrationResponse.ErrorType - 8, // 2: protobuf.ContactCodeAdvertisement.push_notification_info:type_name -> protobuf.PushNotificationQueryInfo - 14, // 3: protobuf.ContactCodeAdvertisement.chat_identity:type_name -> protobuf.ChatIdentity - 8, // 4: protobuf.PushNotificationQueryResponse.info:type_name -> protobuf.PushNotificationQueryInfo - 2, // 5: protobuf.PushNotification.type:type_name -> protobuf.PushNotification.PushNotificationType - 10, // 6: protobuf.PushNotificationRequest.requests:type_name -> protobuf.PushNotification - 3, // 7: protobuf.PushNotificationReport.error:type_name -> protobuf.PushNotificationReport.ErrorType - 12, // 8: protobuf.PushNotificationResponse.reports:type_name -> protobuf.PushNotificationReport - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name -} - -func init() { file_push_notifications_proto_init() } -func file_push_notifications_proto_init() { - if File_push_notifications_proto != nil { - return - } - file_chat_identity_proto_init() - if !protoimpl.UnsafeEnabled { - file_push_notifications_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationRegistration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationRegistrationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactCodeAdvertisement); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationQueryInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationQueryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationReport); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_push_notifications_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNotificationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_push_notifications_proto_rawDesc, - NumEnums: 4, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_push_notifications_proto_goTypes, - DependencyIndexes: file_push_notifications_proto_depIdxs, - EnumInfos: file_push_notifications_proto_enumTypes, - MessageInfos: file_push_notifications_proto_msgTypes, - }.Build() - File_push_notifications_proto = out.File - file_push_notifications_proto_rawDesc = nil - file_push_notifications_proto_goTypes = nil - file_push_notifications_proto_depIdxs = nil +var fileDescriptor_200acd86044eaa5d = []byte{ + // 1088 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5b, 0x4f, 0xe3, 0x46, + 0x14, 0xae, 0x93, 0x40, 0x92, 0x93, 0x2b, 0x53, 0x08, 0x5e, 0x5a, 0xb6, 0xa9, 0x7b, 0x8b, 0x78, + 0xc8, 0x56, 0x54, 0xea, 0xae, 0xca, 0x4b, 0xb3, 0xc1, 0xb0, 0x2e, 0xc4, 0xce, 0x4e, 0x9c, 0xae, + 0xa8, 0x2a, 0x8d, 0x4c, 0x32, 0x80, 0x45, 0xb0, 0x5d, 0xcf, 0x84, 0x2a, 0x6f, 0x55, 0x9f, 0xfb, + 0xd2, 0xd7, 0xfe, 0x8c, 0xfd, 0x15, 0xfd, 0x59, 0x95, 0xc7, 0xe3, 0x60, 0x48, 0xb8, 0x54, 0xda, + 0xa7, 0xf8, 0x7c, 0xe7, 0x32, 0x73, 0xce, 0xf9, 0xe6, 0x0b, 0xa8, 0xc1, 0x94, 0x5d, 0x10, 0xcf, + 0xe7, 0xee, 0x99, 0x3b, 0x72, 0xb8, 0xeb, 0x7b, 0xac, 0x1d, 0x84, 0x3e, 0xf7, 0x51, 0x41, 0xfc, + 0x9c, 0x4e, 0xcf, 0xb6, 0x3e, 0x1e, 0x5d, 0x38, 0x9c, 0xb8, 0x63, 0xea, 0x71, 0x97, 0xcf, 0x62, + 0xb7, 0xf6, 0xef, 0x0a, 0x7c, 0xda, 0x9f, 0xb2, 0x0b, 0x33, 0x95, 0x8a, 0xe9, 0xb9, 0xcb, 0x78, + 0x28, 0xbe, 0x91, 0x05, 0xc0, 0xfd, 0x4b, 0xea, 0x11, 0x3e, 0x0b, 0xa8, 0xaa, 0x34, 0x95, 0x56, + 0x75, 0xf7, 0xdb, 0x76, 0x52, 0xb4, 0xfd, 0x50, 0x6e, 0xdb, 0x8e, 0x12, 0xed, 0x59, 0x40, 0x71, + 0x91, 0x27, 0x9f, 0xe8, 0x73, 0x28, 0x8f, 0xe9, 0xb5, 0x3b, 0xa2, 0x44, 0x60, 0x6a, 0xa6, 0xa9, + 0xb4, 0x8a, 0xb8, 0x14, 0x63, 0x22, 0x03, 0x7d, 0x03, 0x35, 0xd7, 0x63, 0xdc, 0x99, 0x4c, 0x44, + 0x1d, 0xe2, 0x8e, 0xd5, 0xac, 0x88, 0xaa, 0xa6, 0x61, 0x63, 0x1c, 0xd5, 0x72, 0x46, 0x23, 0xca, + 0x98, 0xac, 0x95, 0x8b, 0x6b, 0xc5, 0x58, 0x5c, 0x4b, 0x85, 0x3c, 0xf5, 0x9c, 0xd3, 0x09, 0x1d, + 0xab, 0x2b, 0x4d, 0xa5, 0x55, 0xc0, 0x89, 0x19, 0x79, 0xae, 0x69, 0xc8, 0x5c, 0xdf, 0x53, 0x57, + 0x9b, 0x4a, 0x2b, 0x87, 0x13, 0x13, 0xb5, 0xa0, 0xee, 0x4c, 0x26, 0xfe, 0xef, 0x74, 0x4c, 0x2e, + 0xe9, 0x8c, 0x4c, 0x5c, 0xc6, 0xd5, 0x7c, 0x33, 0xdb, 0x2a, 0xe3, 0xaa, 0xc4, 0x8f, 0xe8, 0xec, + 0xd8, 0x65, 0x1c, 0xed, 0xc0, 0xda, 0xe9, 0xc4, 0x1f, 0x5d, 0xd2, 0x31, 0x11, 0xd3, 0x15, 0xa1, + 0x05, 0x11, 0x5a, 0x93, 0x8e, 0xee, 0x85, 0xc3, 0x45, 0xec, 0x73, 0x80, 0xa9, 0x17, 0x8a, 0xf9, + 0xd0, 0x50, 0x2d, 0x8a, 0xcb, 0xa4, 0x10, 0xb4, 0x0e, 0x2b, 0xe7, 0xa1, 0xe3, 0x71, 0x15, 0x9a, + 0x4a, 0xab, 0x8c, 0x63, 0x03, 0xbd, 0x04, 0x55, 0x9c, 0x49, 0xce, 0x42, 0xff, 0x8a, 0x8c, 0x7c, + 0x8f, 0x3b, 0x23, 0xce, 0x88, 0xef, 0x4d, 0x66, 0x6a, 0x49, 0xd4, 0xd8, 0x10, 0xfe, 0x83, 0xd0, + 0xbf, 0xea, 0x4a, 0xaf, 0xe5, 0x4d, 0x66, 0xe8, 0x13, 0x28, 0x3a, 0x81, 0x47, 0xb8, 0x1f, 0xb8, + 0x23, 0xb5, 0x2c, 0x06, 0x53, 0x70, 0x02, 0xcf, 0x8e, 0x6c, 0xf4, 0x15, 0x54, 0xc5, 0xf5, 0xc8, + 0x55, 0xc4, 0x06, 0xdf, 0x63, 0x6a, 0x45, 0xd4, 0xaa, 0x08, 0xb4, 0x27, 0x41, 0xb4, 0x07, 0x5b, + 0xc9, 0x20, 0x92, 0xc0, 0x54, 0x9f, 0x55, 0xd1, 0xe7, 0xa6, 0x8c, 0x48, 0x92, 0xe6, 0xfd, 0x7e, + 0x0d, 0xb5, 0xab, 0x29, 0xbf, 0x35, 0x99, 0x9a, 0xc8, 0xa8, 0x08, 0x38, 0x89, 0xd3, 0x0e, 0xa0, + 0x38, 0x27, 0x0a, 0x6a, 0x00, 0x1a, 0x9a, 0x47, 0xa6, 0xf5, 0xce, 0x24, 0xb6, 0x75, 0xa4, 0x9b, + 0xc4, 0x3e, 0xe9, 0xeb, 0xf5, 0x8f, 0x50, 0x05, 0x8a, 0x9d, 0xbe, 0xc4, 0xea, 0x0a, 0x42, 0x50, + 0x3d, 0x30, 0xb0, 0xfe, 0xba, 0x33, 0xd0, 0x25, 0x96, 0xd1, 0xde, 0x67, 0xe0, 0xcb, 0x87, 0xe8, + 0x88, 0x29, 0x0b, 0x7c, 0x8f, 0xd1, 0x68, 0xf1, 0x6c, 0x2a, 0x28, 0x22, 0xf8, 0x5c, 0xc0, 0x89, + 0x89, 0x4c, 0x58, 0xa1, 0x61, 0xe8, 0x87, 0x82, 0x94, 0xd5, 0xdd, 0x57, 0x4f, 0xe3, 0x79, 0x52, + 0xb8, 0xad, 0x47, 0xb9, 0x82, 0xef, 0x71, 0x19, 0xb4, 0x0d, 0x10, 0xd2, 0xdf, 0xa6, 0x94, 0xf1, + 0x84, 0xc3, 0x65, 0x5c, 0x94, 0x88, 0x31, 0xd6, 0xfe, 0x50, 0xa0, 0x38, 0xcf, 0x49, 0xb7, 0xae, + 0x63, 0x6c, 0xe1, 0xa4, 0xf5, 0x0d, 0x58, 0xeb, 0x75, 0x8e, 0x0f, 0x2c, 0xdc, 0xd3, 0xf7, 0x49, + 0x4f, 0x1f, 0x0c, 0x3a, 0x87, 0x7a, 0x5d, 0x41, 0xeb, 0x50, 0xff, 0x59, 0xc7, 0x03, 0xc3, 0x32, + 0x49, 0xcf, 0x18, 0xf4, 0x3a, 0x76, 0xf7, 0x4d, 0x3d, 0x83, 0xb6, 0xa0, 0x31, 0x34, 0x07, 0xc3, + 0x7e, 0xdf, 0xc2, 0xb6, 0xbe, 0x9f, 0x9e, 0x61, 0x36, 0x1a, 0x9a, 0x61, 0xda, 0x3a, 0x36, 0x3b, + 0xc7, 0xf1, 0x09, 0xf5, 0x9c, 0xf6, 0x5e, 0x01, 0x55, 0xd2, 0xa6, 0xeb, 0x8f, 0x69, 0x67, 0x7c, + 0x4d, 0x43, 0xee, 0x32, 0x1a, 0xad, 0x1b, 0x9d, 0x40, 0x63, 0x41, 0x57, 0x88, 0xeb, 0x9d, 0xf9, + 0xaa, 0xd2, 0xcc, 0xb6, 0x4a, 0xbb, 0x5f, 0xdc, 0x3f, 0x9f, 0xb7, 0x53, 0x1a, 0xce, 0x0c, 0xef, + 0xcc, 0xc7, 0xeb, 0xc1, 0x1d, 0x57, 0x84, 0xa2, 0x3d, 0xa8, 0xdc, 0x92, 0x23, 0x31, 0xf1, 0xd2, + 0x6e, 0xe3, 0xa6, 0x62, 0xc4, 0x0f, 0x43, 0x7a, 0x71, 0x79, 0x94, 0xb2, 0xb4, 0x57, 0xb0, 0xb1, + 0xf4, 0x3c, 0xf4, 0x19, 0x94, 0x82, 0xe9, 0xe9, 0xc4, 0x1d, 0x45, 0xef, 0x96, 0x89, 0x5b, 0x96, + 0x31, 0xc4, 0xd0, 0x11, 0x9d, 0x31, 0xed, 0xaf, 0x0c, 0x3c, 0xbb, 0xf7, 0xaa, 0x0b, 0x72, 0xa2, + 0x2c, 0xca, 0xc9, 0x12, 0x69, 0xca, 0x2c, 0x95, 0xa6, 0x6d, 0x80, 0x9b, 0xab, 0x24, 0xab, 0x9f, + 0xdf, 0x64, 0xa9, 0xc4, 0xe4, 0x96, 0x4a, 0xcc, 0x5c, 0x16, 0x56, 0xd2, 0xb2, 0x70, 0xbf, 0x78, + 0xed, 0xc0, 0x1a, 0xa3, 0xe1, 0x35, 0x0d, 0x49, 0xea, 0xfc, 0xbc, 0xc8, 0xad, 0xc5, 0x8e, 0x7e, + 0x72, 0x0b, 0xed, 0x6f, 0x05, 0xb6, 0x97, 0x8e, 0x63, 0xfe, 0x56, 0x5e, 0x42, 0xee, 0xff, 0x2e, + 0x5c, 0x24, 0x44, 0xfd, 0x5f, 0x51, 0xc6, 0x9c, 0x73, 0x9a, 0xcc, 0xa8, 0x8c, 0x8b, 0x12, 0x31, + 0xc6, 0xe9, 0x37, 0x98, 0xbd, 0xf5, 0x06, 0xb5, 0x3f, 0xb3, 0x50, 0xbf, 0x5b, 0xfc, 0x29, 0x9b, + 0xd9, 0x84, 0xbc, 0x64, 0x94, 0x3c, 0x6d, 0x35, 0xe6, 0xcc, 0x63, 0x9b, 0x58, 0xb2, 0xd1, 0xdc, + 0xd2, 0x8d, 0xaa, 0x90, 0x97, 0xf7, 0x97, 0xab, 0x48, 0x4c, 0xd4, 0x85, 0x9c, 0xf8, 0x77, 0x5c, + 0x15, 0xaa, 0xf1, 0xe2, 0xfe, 0x21, 0x2d, 0x00, 0x42, 0x2c, 0x44, 0x32, 0x6a, 0xc0, 0xaa, 0x33, + 0xe5, 0x17, 0x7e, 0x28, 0x97, 0x25, 0x2d, 0x8d, 0xc1, 0xfa, 0xb2, 0x2c, 0xa4, 0xc1, 0xf3, 0x44, + 0x2e, 0xfa, 0xc3, 0xc1, 0x1b, 0x62, 0x5a, 0xb6, 0x71, 0x60, 0x74, 0x3b, 0x76, 0xa4, 0x08, 0x52, + 0x3a, 0x4a, 0x90, 0xbf, 0x11, 0x0c, 0x61, 0x98, 0x91, 0xbb, 0x9e, 0x41, 0xdb, 0xf0, 0x0c, 0xeb, + 0x6f, 0x87, 0xfa, 0xc0, 0x26, 0xb6, 0x45, 0x7e, 0xb2, 0x0c, 0x93, 0x74, 0xad, 0x5e, 0x6f, 0x68, + 0x1a, 0xf6, 0x49, 0x3d, 0xab, 0x05, 0xb0, 0xb9, 0xa8, 0x78, 0x42, 0xb6, 0xd0, 0xf7, 0x50, 0x90, + 0x0a, 0xc6, 0x24, 0x2b, 0xb6, 0x1e, 0x90, 0xc9, 0x79, 0xec, 0x23, 0x84, 0xd0, 0xfe, 0xc9, 0x40, + 0x63, 0xf1, 0xc8, 0xc0, 0x0f, 0xf9, 0x03, 0x7a, 0xfd, 0xe3, 0x6d, 0xbd, 0xde, 0x79, 0x48, 0xaf, + 0xa3, 0x52, 0x4b, 0x15, 0xfa, 0x43, 0x90, 0x43, 0xfb, 0xf5, 0x29, 0x4a, 0x5e, 0x83, 0xd2, 0x3b, + 0x6c, 0x99, 0x87, 0xe9, 0xbf, 0xb1, 0x3b, 0x8a, 0x9c, 0x89, 0x30, 0xd3, 0xb2, 0x09, 0xd6, 0x0f, + 0x8d, 0x81, 0xad, 0x63, 0x7d, 0xbf, 0x9e, 0xd5, 0xa6, 0xa0, 0x2e, 0x36, 0x24, 0x5f, 0xe8, 0xed, + 0xb9, 0x2a, 0x77, 0x1f, 0xda, 0x0f, 0x90, 0x0f, 0x45, 0xef, 0x4c, 0xcd, 0x88, 0x6d, 0x35, 0x1f, + 0x1b, 0x12, 0x4e, 0x12, 0x5e, 0x57, 0x7e, 0x29, 0xb5, 0x5f, 0xec, 0x25, 0xe1, 0xa7, 0xab, 0xe2, + 0xeb, 0xbb, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x80, 0x64, 0xa2, 0x39, 0x6d, 0x0a, 0x00, 0x00, } diff --git a/protocol/protobuf/shard.pb.go b/protocol/protobuf/shard.pb.go index e12d377f2..50c2c3d98 100644 --- a/protocol/protobuf/shard.pb.go +++ b/protocol/protobuf/shard.pb.go @@ -1,151 +1,87 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: shard.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Shard struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cluster int32 `protobuf:"varint,1,opt,name=cluster,proto3" json:"cluster,omitempty"` - Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + Cluster int32 `protobuf:"varint,1,opt,name=cluster,proto3" json:"cluster,omitempty"` + Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Shard) Reset() { - *x = Shard{} - if protoimpl.UnsafeEnabled { - mi := &file_shard_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Shard) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Shard) ProtoMessage() {} - -func (x *Shard) ProtoReflect() protoreflect.Message { - mi := &file_shard_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Shard.ProtoReflect.Descriptor instead. +func (m *Shard) Reset() { *m = Shard{} } +func (m *Shard) String() string { return proto.CompactTextString(m) } +func (*Shard) ProtoMessage() {} func (*Shard) Descriptor() ([]byte, []int) { - return file_shard_proto_rawDescGZIP(), []int{0} + return fileDescriptor_319ea41e44cdc364, []int{0} } -func (x *Shard) GetCluster() int32 { - if x != nil { - return x.Cluster +func (m *Shard) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Shard.Unmarshal(m, b) +} +func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Shard.Marshal(b, m, deterministic) +} +func (m *Shard) XXX_Merge(src proto.Message) { + xxx_messageInfo_Shard.Merge(m, src) +} +func (m *Shard) XXX_Size() int { + return xxx_messageInfo_Shard.Size(m) +} +func (m *Shard) XXX_DiscardUnknown() { + xxx_messageInfo_Shard.DiscardUnknown(m) +} + +var xxx_messageInfo_Shard proto.InternalMessageInfo + +func (m *Shard) GetCluster() int32 { + if m != nil { + return m.Cluster } return 0 } -func (x *Shard) GetIndex() int32 { - if x != nil { - return x.Index +func (m *Shard) GetIndex() int32 { + if m != nil { + return m.Index } return 0 } -var File_shard_proto protoreflect.FileDescriptor - -var file_shard_proto_rawDesc = []byte{ - 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x37, 0x0a, 0x05, 0x53, 0x68, 0x61, 0x72, 0x64, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*Shard)(nil), "protobuf.Shard") } -var ( - file_shard_proto_rawDescOnce sync.Once - file_shard_proto_rawDescData = file_shard_proto_rawDesc -) - -func file_shard_proto_rawDescGZIP() []byte { - file_shard_proto_rawDescOnce.Do(func() { - file_shard_proto_rawDescData = protoimpl.X.CompressGZIP(file_shard_proto_rawDescData) - }) - return file_shard_proto_rawDescData +func init() { + proto.RegisterFile("shard.proto", fileDescriptor_319ea41e44cdc364) } -var file_shard_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_shard_proto_goTypes = []interface{}{ - (*Shard)(nil), // 0: protobuf.Shard -} -var file_shard_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_shard_proto_init() } -func file_shard_proto_init() { - if File_shard_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_shard_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Shard); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_shard_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_shard_proto_goTypes, - DependencyIndexes: file_shard_proto_depIdxs, - MessageInfos: file_shard_proto_msgTypes, - }.Build() - File_shard_proto = out.File - file_shard_proto_rawDesc = nil - file_shard_proto_goTypes = nil - file_shard_proto_depIdxs = nil +var fileDescriptor_319ea41e44cdc364 = []byte{ + // 99 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0xce, 0x48, 0x2c, + 0x4a, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0xe6, + 0x5c, 0xac, 0xc1, 0x20, 0x09, 0x21, 0x09, 0x2e, 0xf6, 0xe4, 0x9c, 0xd2, 0xe2, 0x92, 0xd4, 0x22, + 0x09, 0x46, 0x05, 0x46, 0x0d, 0xd6, 0x20, 0x18, 0x57, 0x48, 0x84, 0x8b, 0x35, 0x33, 0x2f, 0x25, + 0xb5, 0x42, 0x82, 0x09, 0x2c, 0x0e, 0xe1, 0x38, 0xf1, 0x46, 0x71, 0xeb, 0xe9, 0x5b, 0xc3, 0xcc, + 0x49, 0x62, 0x03, 0xb3, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xef, 0xcf, 0x9d, 0x21, 0x67, + 0x00, 0x00, 0x00, } diff --git a/protocol/protobuf/status_update.pb.go b/protocol/protobuf/status_update.pb.go index 409302f82..399b7d5a1 100644 --- a/protocol/protobuf/status_update.pb.go +++ b/protocol/protobuf/status_update.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: status_update.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type StatusUpdate_StatusType int32 @@ -30,49 +30,28 @@ const ( StatusUpdate_INACTIVE StatusUpdate_StatusType = 4 ) -// Enum value maps for StatusUpdate_StatusType. -var ( - StatusUpdate_StatusType_name = map[int32]string{ - 0: "UNKNOWN_STATUS_TYPE", - 1: "AUTOMATIC", - 2: "DO_NOT_DISTURB", - 3: "ALWAYS_ONLINE", - 4: "INACTIVE", - } - StatusUpdate_StatusType_value = map[string]int32{ - "UNKNOWN_STATUS_TYPE": 0, - "AUTOMATIC": 1, - "DO_NOT_DISTURB": 2, - "ALWAYS_ONLINE": 3, - "INACTIVE": 4, - } -) +var StatusUpdate_StatusType_name = map[int32]string{ + 0: "UNKNOWN_STATUS_TYPE", + 1: "AUTOMATIC", + 2: "DO_NOT_DISTURB", + 3: "ALWAYS_ONLINE", + 4: "INACTIVE", +} -func (x StatusUpdate_StatusType) Enum() *StatusUpdate_StatusType { - p := new(StatusUpdate_StatusType) - *p = x - return p +var StatusUpdate_StatusType_value = map[string]int32{ + "UNKNOWN_STATUS_TYPE": 0, + "AUTOMATIC": 1, + "DO_NOT_DISTURB": 2, + "ALWAYS_ONLINE": 3, + "INACTIVE": 4, } func (x StatusUpdate_StatusType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(StatusUpdate_StatusType_name, int32(x)) } -func (StatusUpdate_StatusType) Descriptor() protoreflect.EnumDescriptor { - return file_status_update_proto_enumTypes[0].Descriptor() -} - -func (StatusUpdate_StatusType) Type() protoreflect.EnumType { - return &file_status_update_proto_enumTypes[0] -} - -func (x StatusUpdate_StatusType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use StatusUpdate_StatusType.Descriptor instead. func (StatusUpdate_StatusType) EnumDescriptor() ([]byte, []int) { - return file_status_update_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_911acd91e62cd3d7, []int{0, 0} } // Specs: @@ -87,155 +66,85 @@ func (StatusUpdate_StatusType) EnumDescriptor() ([]byte, []int) { // Display - Offline forever // Note: Only send pings if the user interacted with the app in the last x minutes. type StatusUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - StatusType StatusUpdate_StatusType `protobuf:"varint,2,opt,name=status_type,json=statusType,proto3,enum=protobuf.StatusUpdate_StatusType" json:"status_type,omitempty"` - CustomText string `protobuf:"bytes,3,opt,name=custom_text,json=customText,proto3" json:"custom_text,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + StatusType StatusUpdate_StatusType `protobuf:"varint,2,opt,name=status_type,json=statusType,proto3,enum=protobuf.StatusUpdate_StatusType" json:"status_type,omitempty"` + CustomText string `protobuf:"bytes,3,opt,name=custom_text,json=customText,proto3" json:"custom_text,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *StatusUpdate) Reset() { - *x = StatusUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_status_update_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StatusUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StatusUpdate) ProtoMessage() {} - -func (x *StatusUpdate) ProtoReflect() protoreflect.Message { - mi := &file_status_update_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StatusUpdate.ProtoReflect.Descriptor instead. +func (m *StatusUpdate) Reset() { *m = StatusUpdate{} } +func (m *StatusUpdate) String() string { return proto.CompactTextString(m) } +func (*StatusUpdate) ProtoMessage() {} func (*StatusUpdate) Descriptor() ([]byte, []int) { - return file_status_update_proto_rawDescGZIP(), []int{0} + return fileDescriptor_911acd91e62cd3d7, []int{0} } -func (x *StatusUpdate) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *StatusUpdate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatusUpdate.Unmarshal(m, b) +} +func (m *StatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatusUpdate.Marshal(b, m, deterministic) +} +func (m *StatusUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatusUpdate.Merge(m, src) +} +func (m *StatusUpdate) XXX_Size() int { + return xxx_messageInfo_StatusUpdate.Size(m) +} +func (m *StatusUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_StatusUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_StatusUpdate proto.InternalMessageInfo + +func (m *StatusUpdate) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *StatusUpdate) GetStatusType() StatusUpdate_StatusType { - if x != nil { - return x.StatusType +func (m *StatusUpdate) GetStatusType() StatusUpdate_StatusType { + if m != nil { + return m.StatusType } return StatusUpdate_UNKNOWN_STATUS_TYPE } -func (x *StatusUpdate) GetCustomText() string { - if x != nil { - return x.CustomText +func (m *StatusUpdate) GetCustomText() string { + if m != nil { + return m.CustomText } return "" } -var File_status_update_proto protoreflect.FileDescriptor - -var file_status_update_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, - 0xf4, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x65, 0x78, 0x74, 0x22, 0x69, 0x0a, 0x0a, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, 0x41, 0x54, 0x49, 0x43, 0x10, - 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x49, 0x53, 0x54, - 0x55, 0x52, 0x42, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53, 0x5f, - 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, - 0x54, 0x49, 0x56, 0x45, 0x10, 0x04, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.StatusUpdate_StatusType", StatusUpdate_StatusType_name, StatusUpdate_StatusType_value) + proto.RegisterType((*StatusUpdate)(nil), "protobuf.StatusUpdate") } -var ( - file_status_update_proto_rawDescOnce sync.Once - file_status_update_proto_rawDescData = file_status_update_proto_rawDesc -) - -func file_status_update_proto_rawDescGZIP() []byte { - file_status_update_proto_rawDescOnce.Do(func() { - file_status_update_proto_rawDescData = protoimpl.X.CompressGZIP(file_status_update_proto_rawDescData) - }) - return file_status_update_proto_rawDescData +func init() { + proto.RegisterFile("status_update.proto", fileDescriptor_911acd91e62cd3d7) } -var file_status_update_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_status_update_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_status_update_proto_goTypes = []interface{}{ - (StatusUpdate_StatusType)(0), // 0: protobuf.StatusUpdate.StatusType - (*StatusUpdate)(nil), // 1: protobuf.StatusUpdate -} -var file_status_update_proto_depIdxs = []int32{ - 0, // 0: protobuf.StatusUpdate.status_type:type_name -> protobuf.StatusUpdate.StatusType - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_status_update_proto_init() } -func file_status_update_proto_init() { - if File_status_update_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_status_update_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_status_update_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_status_update_proto_goTypes, - DependencyIndexes: file_status_update_proto_depIdxs, - EnumInfos: file_status_update_proto_enumTypes, - MessageInfos: file_status_update_proto_msgTypes, - }.Build() - File_status_update_proto = out.File - file_status_update_proto_rawDesc = nil - file_status_update_proto_goTypes = nil - file_status_update_proto_depIdxs = nil +var fileDescriptor_911acd91e62cd3d7 = []byte{ + // 253 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8e, 0xc1, 0x4e, 0xc2, 0x40, + 0x10, 0x86, 0x5d, 0x40, 0x03, 0x53, 0x4a, 0xea, 0x60, 0x62, 0x6f, 0x56, 0x4e, 0x3d, 0xd5, 0x44, + 0x8f, 0x9e, 0xb6, 0xd0, 0x43, 0x23, 0x6e, 0x4d, 0x77, 0x56, 0x82, 0x97, 0x0d, 0xd4, 0x35, 0x31, + 0x6a, 0xda, 0xd8, 0x6d, 0x02, 0xef, 0xed, 0x03, 0x98, 0x14, 0x50, 0x4e, 0xf3, 0xff, 0x93, 0x6f, + 0xbe, 0x0c, 0x8c, 0x6b, 0xbb, 0xb2, 0x4d, 0xad, 0x9b, 0xea, 0x75, 0x65, 0x4d, 0x54, 0x7d, 0x97, + 0xb6, 0xc4, 0x7e, 0x3b, 0xd6, 0xcd, 0xdb, 0xe4, 0x87, 0xc1, 0x50, 0xb6, 0x84, 0x6a, 0x01, 0xbc, + 0x80, 0xd3, 0xe2, 0xb3, 0x2c, 0x3e, 0x7c, 0x16, 0xb0, 0xb0, 0x97, 0xef, 0x0a, 0xc6, 0xe0, 0xec, + 0x3d, 0x76, 0x5b, 0x19, 0xbf, 0x13, 0xb0, 0x70, 0x74, 0x7b, 0x1d, 0x1d, 0x34, 0xd1, 0xb1, 0x62, + 0x5f, 0x68, 0x5b, 0x99, 0x1c, 0xea, 0xbf, 0x8c, 0x57, 0xe0, 0x14, 0x4d, 0x6d, 0xcb, 0x2f, 0x6d, + 0xcd, 0xc6, 0xfa, 0xdd, 0x80, 0x85, 0x83, 0x1c, 0x76, 0x2b, 0x32, 0x1b, 0x3b, 0x79, 0x07, 0xf8, + 0x3f, 0xc5, 0x4b, 0x18, 0x2b, 0xf1, 0x20, 0xb2, 0x85, 0xd0, 0x92, 0x38, 0x29, 0xa9, 0x69, 0xf9, + 0x94, 0x78, 0x27, 0xe8, 0xc2, 0x80, 0x2b, 0xca, 0x1e, 0x39, 0xa5, 0x53, 0x8f, 0x21, 0xc2, 0x68, + 0x96, 0x69, 0x91, 0x91, 0x9e, 0xa5, 0x92, 0x54, 0x1e, 0x7b, 0x1d, 0x3c, 0x07, 0x97, 0xcf, 0x17, + 0x7c, 0x29, 0x75, 0x26, 0xe6, 0xa9, 0x48, 0xbc, 0x2e, 0x0e, 0xa1, 0x9f, 0x0a, 0x3e, 0xa5, 0xf4, + 0x39, 0xf1, 0x7a, 0xb1, 0xfb, 0xe2, 0x44, 0x37, 0xf7, 0x87, 0xf7, 0xd7, 0x67, 0x6d, 0xba, 0xfb, + 0x0d, 0x00, 0x00, 0xff, 0xff, 0xaa, 0xa1, 0x52, 0x1d, 0x2d, 0x01, 0x00, 0x00, } diff --git a/protocol/protobuf/sync_settings.pb.go b/protocol/protobuf/sync_settings.pb.go index a352db630..db11c4569 100644 --- a/protocol/protobuf/sync_settings.pb.go +++ b/protocol/protobuf/sync_settings.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: sync_settings.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SyncSetting_Type int32 @@ -42,168 +42,104 @@ const ( SyncSetting_URL_UNFURLING_MODE SyncSetting_Type = 18 ) -// Enum value maps for SyncSetting_Type. -var ( - SyncSetting_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CURRENCY", - 2: "GIF_RECENTS", - 3: "GIF_FAVOURITES", - 4: "MESSAGES_FROM_CONTACTS_ONLY", - 5: "PREFERRED_NAME", - 6: "PREVIEW_PRIVACY", - 7: "PROFILE_PICTURES_SHOW_TO", - 8: "PROFILE_PICTURES_VISIBILITY", - 9: "SEND_STATUS_UPDATES", - 10: "STICKERS_PACKS_INSTALLED", - 11: "STICKERS_PACKS_PENDING", - 12: "STICKERS_RECENT_STICKERS", - 13: "DISPLAY_NAME", - 14: "BIO", - 15: "MNEMONIC_REMOVED", - 18: "URL_UNFURLING_MODE", - } - SyncSetting_Type_value = map[string]int32{ - "UNKNOWN": 0, - "CURRENCY": 1, - "GIF_RECENTS": 2, - "GIF_FAVOURITES": 3, - "MESSAGES_FROM_CONTACTS_ONLY": 4, - "PREFERRED_NAME": 5, - "PREVIEW_PRIVACY": 6, - "PROFILE_PICTURES_SHOW_TO": 7, - "PROFILE_PICTURES_VISIBILITY": 8, - "SEND_STATUS_UPDATES": 9, - "STICKERS_PACKS_INSTALLED": 10, - "STICKERS_PACKS_PENDING": 11, - "STICKERS_RECENT_STICKERS": 12, - "DISPLAY_NAME": 13, - "BIO": 14, - "MNEMONIC_REMOVED": 15, - "URL_UNFURLING_MODE": 18, - } -) +var SyncSetting_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CURRENCY", + 2: "GIF_RECENTS", + 3: "GIF_FAVOURITES", + 4: "MESSAGES_FROM_CONTACTS_ONLY", + 5: "PREFERRED_NAME", + 6: "PREVIEW_PRIVACY", + 7: "PROFILE_PICTURES_SHOW_TO", + 8: "PROFILE_PICTURES_VISIBILITY", + 9: "SEND_STATUS_UPDATES", + 10: "STICKERS_PACKS_INSTALLED", + 11: "STICKERS_PACKS_PENDING", + 12: "STICKERS_RECENT_STICKERS", + 13: "DISPLAY_NAME", + 14: "BIO", + 15: "MNEMONIC_REMOVED", + 18: "URL_UNFURLING_MODE", +} -func (x SyncSetting_Type) Enum() *SyncSetting_Type { - p := new(SyncSetting_Type) - *p = x - return p +var SyncSetting_Type_value = map[string]int32{ + "UNKNOWN": 0, + "CURRENCY": 1, + "GIF_RECENTS": 2, + "GIF_FAVOURITES": 3, + "MESSAGES_FROM_CONTACTS_ONLY": 4, + "PREFERRED_NAME": 5, + "PREVIEW_PRIVACY": 6, + "PROFILE_PICTURES_SHOW_TO": 7, + "PROFILE_PICTURES_VISIBILITY": 8, + "SEND_STATUS_UPDATES": 9, + "STICKERS_PACKS_INSTALLED": 10, + "STICKERS_PACKS_PENDING": 11, + "STICKERS_RECENT_STICKERS": 12, + "DISPLAY_NAME": 13, + "BIO": 14, + "MNEMONIC_REMOVED": 15, + "URL_UNFURLING_MODE": 18, } func (x SyncSetting_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncSetting_Type_name, int32(x)) } -func (SyncSetting_Type) Descriptor() protoreflect.EnumDescriptor { - return file_sync_settings_proto_enumTypes[0].Descriptor() -} - -func (SyncSetting_Type) Type() protoreflect.EnumType { - return &file_sync_settings_proto_enumTypes[0] -} - -func (x SyncSetting_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncSetting_Type.Descriptor instead. func (SyncSetting_Type) EnumDescriptor() ([]byte, []int) { - return file_sync_settings_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_e2f7a0bce2873c78, []int{0, 0} } type SyncSetting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Type SyncSetting_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protobuf.SyncSetting_Type" json:"type,omitempty"` Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` - // Types that are assignable to Value: + // Types that are valid to be assigned to Value: // // *SyncSetting_ValueString // *SyncSetting_ValueBytes // *SyncSetting_ValueBool // *SyncSetting_ValueInt64 - Value isSyncSetting_Value `protobuf_oneof:"value"` + Value isSyncSetting_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncSetting) Reset() { - *x = SyncSetting{} - if protoimpl.UnsafeEnabled { - mi := &file_sync_settings_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncSetting) ProtoMessage() {} - -func (x *SyncSetting) ProtoReflect() protoreflect.Message { - mi := &file_sync_settings_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncSetting.ProtoReflect.Descriptor instead. +func (m *SyncSetting) Reset() { *m = SyncSetting{} } +func (m *SyncSetting) String() string { return proto.CompactTextString(m) } +func (*SyncSetting) ProtoMessage() {} func (*SyncSetting) Descriptor() ([]byte, []int) { - return file_sync_settings_proto_rawDescGZIP(), []int{0} + return fileDescriptor_e2f7a0bce2873c78, []int{0} } -func (x *SyncSetting) GetType() SyncSetting_Type { - if x != nil { - return x.Type +func (m *SyncSetting) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncSetting.Unmarshal(m, b) +} +func (m *SyncSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncSetting.Marshal(b, m, deterministic) +} +func (m *SyncSetting) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncSetting.Merge(m, src) +} +func (m *SyncSetting) XXX_Size() int { + return xxx_messageInfo_SyncSetting.Size(m) +} +func (m *SyncSetting) XXX_DiscardUnknown() { + xxx_messageInfo_SyncSetting.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncSetting proto.InternalMessageInfo + +func (m *SyncSetting) GetType() SyncSetting_Type { + if m != nil { + return m.Type } return SyncSetting_UNKNOWN } -func (x *SyncSetting) GetClock() uint64 { - if x != nil { - return x.Clock - } - return 0 -} - -func (m *SyncSetting) GetValue() isSyncSetting_Value { +func (m *SyncSetting) GetClock() uint64 { if m != nil { - return m.Value - } - return nil -} - -func (x *SyncSetting) GetValueString() string { - if x, ok := x.GetValue().(*SyncSetting_ValueString); ok { - return x.ValueString - } - return "" -} - -func (x *SyncSetting) GetValueBytes() []byte { - if x, ok := x.GetValue().(*SyncSetting_ValueBytes); ok { - return x.ValueBytes - } - return nil -} - -func (x *SyncSetting) GetValueBool() bool { - if x, ok := x.GetValue().(*SyncSetting_ValueBool); ok { - return x.ValueBool - } - return false -} - -func (x *SyncSetting) GetValueInt64() int64 { - if x, ok := x.GetValue().(*SyncSetting_ValueInt64); ok { - return x.ValueInt64 + return m.Clock } return 0 } @@ -236,127 +172,94 @@ func (*SyncSetting_ValueBool) isSyncSetting_Value() {} func (*SyncSetting_ValueInt64) isSyncSetting_Value() {} -var File_sync_settings_proto protoreflect.FileDescriptor - -var file_sync_settings_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, - 0xaa, 0x05, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, - 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0b, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, - 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, - 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x48, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21, - 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x74, 0x36, - 0x34, 0x22, 0xbf, 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x55, 0x52, 0x52, 0x45, - 0x4e, 0x43, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x49, 0x46, 0x5f, 0x52, 0x45, 0x43, - 0x45, 0x4e, 0x54, 0x53, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x49, 0x46, 0x5f, 0x46, 0x41, - 0x56, 0x4f, 0x55, 0x52, 0x49, 0x54, 0x45, 0x53, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x45, - 0x53, 0x53, 0x41, 0x47, 0x45, 0x53, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x43, 0x4f, 0x4e, 0x54, - 0x41, 0x43, 0x54, 0x53, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x50, - 0x52, 0x45, 0x46, 0x45, 0x52, 0x52, 0x45, 0x44, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x05, 0x12, - 0x13, 0x0a, 0x0f, 0x50, 0x52, 0x45, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, - 0x43, 0x59, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x5f, - 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x53, 0x5f, 0x53, 0x48, 0x4f, 0x57, 0x5f, 0x54, 0x4f, - 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x52, 0x4f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x49, - 0x43, 0x54, 0x55, 0x52, 0x45, 0x53, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, - 0x59, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x1c, 0x0a, 0x18, - 0x53, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x53, 0x5f, 0x49, - 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x54, - 0x49, 0x43, 0x4b, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x53, 0x5f, 0x50, 0x45, 0x4e, - 0x44, 0x49, 0x4e, 0x47, 0x10, 0x0b, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x49, 0x43, 0x4b, 0x45, - 0x52, 0x53, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x49, 0x43, 0x4b, 0x45, - 0x52, 0x53, 0x10, 0x0c, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x50, 0x4c, 0x41, 0x59, 0x5f, - 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x0d, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x49, 0x4f, 0x10, 0x0e, 0x12, - 0x14, 0x0a, 0x10, 0x4d, 0x4e, 0x45, 0x4d, 0x4f, 0x4e, 0x49, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, - 0x56, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x52, 0x4c, 0x5f, 0x55, 0x4e, 0x46, - 0x55, 0x52, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0x12, 0x22, 0x04, 0x08, - 0x10, 0x10, 0x10, 0x22, 0x04, 0x08, 0x11, 0x10, 0x11, 0x2a, 0x0d, 0x45, 0x4e, 0x53, 0x5f, 0x55, - 0x53, 0x45, 0x52, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x2a, 0x19, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, - 0x45, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x41, 0x43, 0x43, 0x4f, - 0x55, 0x4e, 0x54, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x5a, 0x0b, - 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_sync_settings_proto_rawDescOnce sync.Once - file_sync_settings_proto_rawDescData = file_sync_settings_proto_rawDesc -) - -func file_sync_settings_proto_rawDescGZIP() []byte { - file_sync_settings_proto_rawDescOnce.Do(func() { - file_sync_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_sync_settings_proto_rawDescData) - }) - return file_sync_settings_proto_rawDescData -} - -var file_sync_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_sync_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_sync_settings_proto_goTypes = []interface{}{ - (SyncSetting_Type)(0), // 0: protobuf.SyncSetting.Type - (*SyncSetting)(nil), // 1: protobuf.SyncSetting -} -var file_sync_settings_proto_depIdxs = []int32{ - 0, // 0: protobuf.SyncSetting.type:type_name -> protobuf.SyncSetting.Type - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_sync_settings_proto_init() } -func file_sync_settings_proto_init() { - if File_sync_settings_proto != nil { - return +func (m *SyncSetting) GetValue() isSyncSetting_Value { + if m != nil { + return m.Value } - if !protoimpl.UnsafeEnabled { - file_sync_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncSetting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } + return nil +} + +func (m *SyncSetting) GetValueString() string { + if x, ok := m.GetValue().(*SyncSetting_ValueString); ok { + return x.ValueString } - file_sync_settings_proto_msgTypes[0].OneofWrappers = []interface{}{ + return "" +} + +func (m *SyncSetting) GetValueBytes() []byte { + if x, ok := m.GetValue().(*SyncSetting_ValueBytes); ok { + return x.ValueBytes + } + return nil +} + +func (m *SyncSetting) GetValueBool() bool { + if x, ok := m.GetValue().(*SyncSetting_ValueBool); ok { + return x.ValueBool + } + return false +} + +func (m *SyncSetting) GetValueInt64() int64 { + if x, ok := m.GetValue().(*SyncSetting_ValueInt64); ok { + return x.ValueInt64 + } + return 0 +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SyncSetting) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*SyncSetting_ValueString)(nil), (*SyncSetting_ValueBytes)(nil), (*SyncSetting_ValueBool)(nil), (*SyncSetting_ValueInt64)(nil), } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_sync_settings_proto_rawDesc, - NumEnums: 1, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_sync_settings_proto_goTypes, - DependencyIndexes: file_sync_settings_proto_depIdxs, - EnumInfos: file_sync_settings_proto_enumTypes, - MessageInfos: file_sync_settings_proto_msgTypes, - }.Build() - File_sync_settings_proto = out.File - file_sync_settings_proto_rawDesc = nil - file_sync_settings_proto_goTypes = nil - file_sync_settings_proto_depIdxs = nil +} + +func init() { + proto.RegisterEnum("protobuf.SyncSetting_Type", SyncSetting_Type_name, SyncSetting_Type_value) + proto.RegisterType((*SyncSetting)(nil), "protobuf.SyncSetting") +} + +func init() { + proto.RegisterFile("sync_settings.proto", fileDescriptor_e2f7a0bce2873c78) +} + +var fileDescriptor_e2f7a0bce2873c78 = []byte{ + // 539 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0x4d, 0x6f, 0x1a, 0x3d, + 0x10, 0xc7, 0xd9, 0xb0, 0x04, 0x32, 0x90, 0xc4, 0x71, 0xa2, 0x3c, 0xfb, 0xa4, 0x95, 0x42, 0xe9, + 0x05, 0xe5, 0x40, 0xa5, 0xb6, 0xea, 0xa5, 0x27, 0xe3, 0x1d, 0xc0, 0xca, 0xae, 0xbd, 0xf2, 0x0b, + 0x88, 0x5e, 0xac, 0x06, 0xd1, 0x28, 0x2a, 0x62, 0xa3, 0xb0, 0xa9, 0xc4, 0x57, 0xea, 0x97, 0xe8, + 0x57, 0xab, 0x96, 0x6d, 0xfa, 0x7a, 0xb2, 0xe7, 0x3f, 0xbf, 0xf9, 0x7b, 0x3c, 0x36, 0x9c, 0x6e, + 0xb6, 0xeb, 0x85, 0xdf, 0x2c, 0x8b, 0xe2, 0x6e, 0x7d, 0xbb, 0x19, 0xdc, 0x3f, 0xe4, 0x45, 0x4e, + 0x5b, 0xbb, 0xe5, 0xe6, 0xf1, 0x53, 0xef, 0x6b, 0x03, 0xda, 0x66, 0xbb, 0x5e, 0x98, 0x0a, 0xa0, + 0x03, 0x08, 0x8b, 0xed, 0xfd, 0x32, 0x0a, 0xba, 0x41, 0xff, 0xe8, 0xf5, 0xc5, 0xe0, 0x09, 0x1c, + 0xfc, 0x06, 0x0d, 0xec, 0xf6, 0x7e, 0xa9, 0x77, 0x1c, 0x3d, 0x83, 0xc6, 0x62, 0x95, 0x2f, 0x3e, + 0x47, 0x7b, 0xdd, 0xa0, 0x1f, 0xea, 0x2a, 0xa0, 0x2f, 0xa1, 0xf3, 0xe5, 0xe3, 0xea, 0x71, 0xe9, + 0x37, 0xc5, 0xc3, 0xdd, 0xfa, 0x36, 0xaa, 0x77, 0x83, 0xfe, 0xc1, 0xa4, 0xa6, 0xdb, 0x3b, 0xd5, + 0xec, 0x44, 0xfa, 0x02, 0xaa, 0xd0, 0xdf, 0x6c, 0x8b, 0xe5, 0x26, 0x0a, 0xbb, 0x41, 0xbf, 0x33, + 0xa9, 0x69, 0xd8, 0x89, 0xc3, 0x52, 0xa3, 0x97, 0x00, 0x3f, 0x90, 0x3c, 0x5f, 0x45, 0x8d, 0x6e, + 0xd0, 0x6f, 0x4d, 0x6a, 0xfa, 0xa0, 0x22, 0xf2, 0x7c, 0xf5, 0xcb, 0xe3, 0x6e, 0x5d, 0xbc, 0x7b, + 0x1b, 0xed, 0x77, 0x83, 0x7e, 0xfd, 0xa7, 0x87, 0x28, 0xb5, 0xde, 0xb7, 0x3a, 0x84, 0x65, 0xc3, + 0xb4, 0x0d, 0x4d, 0x27, 0xaf, 0xa5, 0x9a, 0x49, 0x52, 0xa3, 0x1d, 0x68, 0x71, 0xa7, 0x35, 0x4a, + 0x3e, 0x27, 0x01, 0x3d, 0x86, 0xf6, 0x58, 0x8c, 0xbc, 0x46, 0x8e, 0xd2, 0x1a, 0xb2, 0x47, 0x29, + 0x1c, 0x95, 0xc2, 0x88, 0x4d, 0x95, 0xd3, 0xc2, 0xa2, 0x21, 0x75, 0x7a, 0x09, 0xcf, 0x52, 0x34, + 0x86, 0x8d, 0xd1, 0xf8, 0x91, 0x56, 0xa9, 0xe7, 0x4a, 0x5a, 0xc6, 0xad, 0xf1, 0x4a, 0x26, 0x73, + 0x12, 0x96, 0x45, 0x99, 0xc6, 0x11, 0x6a, 0x8d, 0xb1, 0x97, 0x2c, 0x45, 0xd2, 0xa0, 0xa7, 0x70, + 0x9c, 0x69, 0x9c, 0x0a, 0x9c, 0xf9, 0x4c, 0x8b, 0x29, 0xe3, 0x73, 0xb2, 0x4f, 0x9f, 0x43, 0x94, + 0x69, 0x35, 0x12, 0x09, 0xfa, 0x4c, 0x70, 0xeb, 0x34, 0x1a, 0x6f, 0x26, 0x6a, 0xe6, 0xad, 0x22, + 0xcd, 0xf2, 0x9c, 0x7f, 0xb2, 0x53, 0x61, 0xc4, 0x50, 0x24, 0xc2, 0xce, 0x49, 0x8b, 0xfe, 0x07, + 0xa7, 0x06, 0x65, 0xec, 0x8d, 0x65, 0xd6, 0x19, 0xef, 0xb2, 0x98, 0x95, 0x1d, 0x1e, 0x94, 0xbe, + 0xc6, 0x0a, 0x7e, 0x8d, 0xda, 0xf8, 0x8c, 0xf1, 0x6b, 0xe3, 0x85, 0x34, 0x96, 0x25, 0x09, 0xc6, + 0x04, 0xe8, 0x05, 0x9c, 0xff, 0x95, 0xcd, 0x50, 0xc6, 0x42, 0x8e, 0x49, 0xfb, 0x8f, 0xca, 0x6a, + 0x0a, 0xfe, 0x29, 0x26, 0x1d, 0x4a, 0xa0, 0x13, 0x0b, 0x93, 0x25, 0x6c, 0x5e, 0x5d, 0xeb, 0x90, + 0x36, 0xa1, 0x3e, 0x14, 0x8a, 0x1c, 0xd1, 0x33, 0x20, 0xa9, 0xc4, 0x54, 0x49, 0xc1, 0xbd, 0xc6, + 0x54, 0x4d, 0x31, 0x26, 0xc7, 0xf4, 0x1c, 0xa8, 0xd3, 0x89, 0x77, 0x72, 0xe4, 0x74, 0x22, 0xe4, + 0xd8, 0xa7, 0x2a, 0x46, 0x42, 0x7b, 0x61, 0x8b, 0x10, 0xd2, 0x0b, 0x5b, 0x27, 0xe4, 0xe4, 0xea, + 0x10, 0xa5, 0xf1, 0xce, 0xa0, 0x2e, 0x2d, 0xcd, 0xd5, 0xff, 0x42, 0xf2, 0xc4, 0xc5, 0xe8, 0x67, + 0xcc, 0xf2, 0x49, 0x39, 0x51, 0xcf, 0x38, 0x57, 0x4e, 0xda, 0x61, 0x13, 0x1a, 0xd5, 0x8b, 0x1f, + 0x7e, 0x68, 0x0f, 0x5e, 0xbd, 0x7f, 0xfa, 0x92, 0x37, 0xfb, 0xbb, 0xdd, 0x9b, 0xef, 0x01, 0x00, + 0x00, 0xff, 0xff, 0xb8, 0x4c, 0x65, 0xd1, 0xe3, 0x02, 0x00, 0x00, } diff --git a/protocol/protobuf/url_data.pb.go b/protocol/protobuf/url_data.pb.go index d8a9ee00c..5ce9fc21f 100644 --- a/protocol/protobuf/url_data.pb.go +++ b/protocol/protobuf/url_data.pb.go @@ -1,455 +1,310 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.29.1 -// protoc v3.20.3 // source: url_data.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Community struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - MembersCount uint32 `protobuf:"varint,3,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` - Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` - TagIndices []uint32 `protobuf:"varint,5,rep,packed,name=tag_indices,json=tagIndices,proto3" json:"tag_indices,omitempty"` + DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + MembersCount uint32 `protobuf:"varint,3,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"` + Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` + TagIndices []uint32 `protobuf:"varint,5,rep,packed,name=tag_indices,json=tagIndices,proto3" json:"tag_indices,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Community) Reset() { - *x = Community{} - if protoimpl.UnsafeEnabled { - mi := &file_url_data_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Community) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Community) ProtoMessage() {} - -func (x *Community) ProtoReflect() protoreflect.Message { - mi := &file_url_data_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Community.ProtoReflect.Descriptor instead. +func (m *Community) Reset() { *m = Community{} } +func (m *Community) String() string { return proto.CompactTextString(m) } +func (*Community) ProtoMessage() {} func (*Community) Descriptor() ([]byte, []int) { - return file_url_data_proto_rawDescGZIP(), []int{0} + return fileDescriptor_5f1e15b5f0115710, []int{0} } -func (x *Community) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *Community) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Community.Unmarshal(m, b) +} +func (m *Community) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Community.Marshal(b, m, deterministic) +} +func (m *Community) XXX_Merge(src proto.Message) { + xxx_messageInfo_Community.Merge(m, src) +} +func (m *Community) XXX_Size() int { + return xxx_messageInfo_Community.Size(m) +} +func (m *Community) XXX_DiscardUnknown() { + xxx_messageInfo_Community.DiscardUnknown(m) +} + +var xxx_messageInfo_Community proto.InternalMessageInfo + +func (m *Community) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *Community) GetDescription() string { - if x != nil { - return x.Description +func (m *Community) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *Community) GetMembersCount() uint32 { - if x != nil { - return x.MembersCount +func (m *Community) GetMembersCount() uint32 { + if m != nil { + return m.MembersCount } return 0 } -func (x *Community) GetColor() string { - if x != nil { - return x.Color +func (m *Community) GetColor() string { + if m != nil { + return m.Color } return "" } -func (x *Community) GetTagIndices() []uint32 { - if x != nil { - return x.TagIndices +func (m *Community) GetTagIndices() []uint32 { + if m != nil { + return m.TagIndices } return nil } type Channel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"` - Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` - Community *Community `protobuf:"bytes,5,opt,name=community,proto3" json:"community,omitempty"` - Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` + DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"` + Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` + Community *Community `protobuf:"bytes,5,opt,name=community,proto3" json:"community,omitempty"` + Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Channel) Reset() { - *x = Channel{} - if protoimpl.UnsafeEnabled { - mi := &file_url_data_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Channel) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Channel) ProtoMessage() {} - -func (x *Channel) ProtoReflect() protoreflect.Message { - mi := &file_url_data_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Channel.ProtoReflect.Descriptor instead. +func (m *Channel) Reset() { *m = Channel{} } +func (m *Channel) String() string { return proto.CompactTextString(m) } +func (*Channel) ProtoMessage() {} func (*Channel) Descriptor() ([]byte, []int) { - return file_url_data_proto_rawDescGZIP(), []int{1} + return fileDescriptor_5f1e15b5f0115710, []int{1} } -func (x *Channel) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *Channel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Channel.Unmarshal(m, b) +} +func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Channel.Marshal(b, m, deterministic) +} +func (m *Channel) XXX_Merge(src proto.Message) { + xxx_messageInfo_Channel.Merge(m, src) +} +func (m *Channel) XXX_Size() int { + return xxx_messageInfo_Channel.Size(m) +} +func (m *Channel) XXX_DiscardUnknown() { + xxx_messageInfo_Channel.DiscardUnknown(m) +} + +var xxx_messageInfo_Channel proto.InternalMessageInfo + +func (m *Channel) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *Channel) GetDescription() string { - if x != nil { - return x.Description +func (m *Channel) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *Channel) GetEmoji() string { - if x != nil { - return x.Emoji +func (m *Channel) GetEmoji() string { + if m != nil { + return m.Emoji } return "" } -func (x *Channel) GetColor() string { - if x != nil { - return x.Color +func (m *Channel) GetColor() string { + if m != nil { + return m.Color } return "" } -func (x *Channel) GetCommunity() *Community { - if x != nil { - return x.Community +func (m *Channel) GetCommunity() *Community { + if m != nil { + return m.Community } return nil } -func (x *Channel) GetUuid() string { - if x != nil { - return x.Uuid +func (m *Channel) GetUuid() string { + if m != nil { + return m.Uuid } return "" } type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` + DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *User) Reset() { - *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_url_data_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *User) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*User) ProtoMessage() {} - -func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_url_data_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (m *User) Reset() { *m = User{} } +func (m *User) String() string { return proto.CompactTextString(m) } +func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return file_url_data_proto_rawDescGZIP(), []int{2} + return fileDescriptor_5f1e15b5f0115710, []int{2} } -func (x *User) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *User) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_User.Unmarshal(m, b) +} +func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_User.Marshal(b, m, deterministic) +} +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) +} +func (m *User) XXX_Size() int { + return xxx_messageInfo_User.Size(m) +} +func (m *User) XXX_DiscardUnknown() { + xxx_messageInfo_User.DiscardUnknown(m) +} + +var xxx_messageInfo_User proto.InternalMessageInfo + +func (m *User) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *User) GetDescription() string { - if x != nil { - return x.Description +func (m *User) GetDescription() string { + if m != nil { + return m.Description } return "" } -func (x *User) GetColor() string { - if x != nil { - return x.Color +func (m *User) GetColor() string { + if m != nil { + return m.Color } return "" } type URLData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Community, Channel, or User - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - Shard *Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + Shard *Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *URLData) Reset() { - *x = URLData{} - if protoimpl.UnsafeEnabled { - mi := &file_url_data_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *URLData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*URLData) ProtoMessage() {} - -func (x *URLData) ProtoReflect() protoreflect.Message { - mi := &file_url_data_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use URLData.ProtoReflect.Descriptor instead. +func (m *URLData) Reset() { *m = URLData{} } +func (m *URLData) String() string { return proto.CompactTextString(m) } +func (*URLData) ProtoMessage() {} func (*URLData) Descriptor() ([]byte, []int) { - return file_url_data_proto_rawDescGZIP(), []int{3} + return fileDescriptor_5f1e15b5f0115710, []int{3} } -func (x *URLData) GetContent() []byte { - if x != nil { - return x.Content +func (m *URLData) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_URLData.Unmarshal(m, b) +} +func (m *URLData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_URLData.Marshal(b, m, deterministic) +} +func (m *URLData) XXX_Merge(src proto.Message) { + xxx_messageInfo_URLData.Merge(m, src) +} +func (m *URLData) XXX_Size() int { + return xxx_messageInfo_URLData.Size(m) +} +func (m *URLData) XXX_DiscardUnknown() { + xxx_messageInfo_URLData.DiscardUnknown(m) +} + +var xxx_messageInfo_URLData proto.InternalMessageInfo + +func (m *URLData) GetContent() []byte { + if m != nil { + return m.Content } return nil } -func (x *URLData) GetShard() *Shard { - if x != nil { - return x.Shard +func (m *URLData) GetShard() *Shard { + if m != nil { + return m.Shard } return nil } -var File_url_data_proto protoreflect.FileDescriptor - -var file_url_data_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x75, 0x72, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x0b, 0x73, 0x68, 0x61, 0x72, - 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x6e, 0x64, - 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x49, - 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x12, 0x31, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x09, 0x63, 0x6f, 0x6d, - 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x61, 0x0a, 0x04, 0x55, 0x73, - 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x4a, 0x0a, - 0x07, 0x55, 0x52, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x68, 0x61, - 0x72, 0x64, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterType((*Community)(nil), "protobuf.Community") + proto.RegisterType((*Channel)(nil), "protobuf.Channel") + proto.RegisterType((*User)(nil), "protobuf.User") + proto.RegisterType((*URLData)(nil), "protobuf.URLData") } -var ( - file_url_data_proto_rawDescOnce sync.Once - file_url_data_proto_rawDescData = file_url_data_proto_rawDesc -) - -func file_url_data_proto_rawDescGZIP() []byte { - file_url_data_proto_rawDescOnce.Do(func() { - file_url_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_url_data_proto_rawDescData) - }) - return file_url_data_proto_rawDescData +func init() { + proto.RegisterFile("url_data.proto", fileDescriptor_5f1e15b5f0115710) } -var file_url_data_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_url_data_proto_goTypes = []interface{}{ - (*Community)(nil), // 0: protobuf.Community - (*Channel)(nil), // 1: protobuf.Channel - (*User)(nil), // 2: protobuf.User - (*URLData)(nil), // 3: protobuf.URLData - (*Shard)(nil), // 4: protobuf.Shard -} -var file_url_data_proto_depIdxs = []int32{ - 0, // 0: protobuf.Channel.community:type_name -> protobuf.Community - 4, // 1: protobuf.URLData.shard:type_name -> protobuf.Shard - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_url_data_proto_init() } -func file_url_data_proto_init() { - if File_url_data_proto != nil { - return - } - file_shard_proto_init() - if !protoimpl.UnsafeEnabled { - file_url_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Community); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_url_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Channel); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_url_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_url_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*URLData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_url_data_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_url_data_proto_goTypes, - DependencyIndexes: file_url_data_proto_depIdxs, - MessageInfos: file_url_data_proto_msgTypes, - }.Build() - File_url_data_proto = out.File - file_url_data_proto_rawDesc = nil - file_url_data_proto_goTypes = nil - file_url_data_proto_depIdxs = nil +var fileDescriptor_5f1e15b5f0115710 = []byte{ + // 321 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xb1, 0x4e, 0xc3, 0x30, + 0x10, 0x40, 0x15, 0xda, 0xb4, 0xe4, 0xdc, 0x80, 0x64, 0x3a, 0x58, 0x2c, 0x84, 0x20, 0xa4, 0x4c, + 0x41, 0x94, 0x91, 0x8d, 0xb2, 0x80, 0x10, 0x83, 0x51, 0x17, 0x96, 0xc8, 0x4d, 0x4c, 0x6b, 0x14, + 0xdb, 0x95, 0xe3, 0x0c, 0xfd, 0x27, 0x7e, 0x82, 0x3f, 0x43, 0xb5, 0x1b, 0xc2, 0xc2, 0xd6, 0xc9, + 0x77, 0xef, 0x4e, 0xe7, 0xe7, 0x93, 0xe1, 0xa4, 0x35, 0x75, 0x51, 0x31, 0xcb, 0xf2, 0x8d, 0xd1, + 0x56, 0xe3, 0x63, 0x77, 0x2c, 0xdb, 0x8f, 0x73, 0xd4, 0xac, 0x99, 0xa9, 0x3c, 0x4e, 0xbf, 0x02, + 0x88, 0xe6, 0x5a, 0xca, 0x56, 0x09, 0xbb, 0xc5, 0x97, 0x30, 0xa9, 0x44, 0xb3, 0xa9, 0xd9, 0xb6, + 0x50, 0x4c, 0x72, 0x12, 0x24, 0x41, 0x16, 0x51, 0xb4, 0x67, 0xaf, 0x4c, 0x72, 0x9c, 0x00, 0xaa, + 0x78, 0x53, 0x1a, 0xb1, 0xb1, 0x42, 0x2b, 0x72, 0xb4, 0xef, 0xe8, 0x11, 0xbe, 0x82, 0x58, 0x72, + 0xb9, 0xe4, 0xa6, 0x29, 0x4a, 0xdd, 0x2a, 0x4b, 0x06, 0x49, 0x90, 0xc5, 0x74, 0xb2, 0x87, 0xf3, + 0x1d, 0xc3, 0x53, 0x08, 0x4b, 0x5d, 0x6b, 0x43, 0x86, 0x6e, 0x80, 0x4f, 0xf0, 0x05, 0x20, 0xcb, + 0x56, 0x85, 0x50, 0x95, 0x28, 0x79, 0x43, 0xc2, 0x64, 0x90, 0xc5, 0x14, 0x2c, 0x5b, 0x3d, 0x79, + 0x92, 0x7e, 0x07, 0x30, 0x9e, 0xaf, 0x99, 0x52, 0xbc, 0x3e, 0x8c, 0xec, 0x14, 0x42, 0x2e, 0xf5, + 0xa7, 0x70, 0x92, 0x11, 0xf5, 0xc9, 0x3f, 0x76, 0xb7, 0x10, 0x95, 0xdd, 0xaa, 0x48, 0x98, 0x04, + 0x19, 0x9a, 0x9d, 0xe5, 0xdd, 0x5a, 0xf3, 0xdf, 0x2d, 0xd2, 0xbe, 0x0b, 0x63, 0x18, 0xb6, 0xad, + 0xa8, 0xc8, 0xc8, 0xcd, 0x71, 0x71, 0xca, 0x60, 0xb8, 0x68, 0xb8, 0x39, 0x98, 0xbf, 0x37, 0x1d, + 0xfc, 0x31, 0x4d, 0x9f, 0x61, 0xbc, 0xa0, 0x2f, 0x8f, 0xcc, 0x32, 0x4c, 0x60, 0x5c, 0x6a, 0x65, + 0xb9, 0xb2, 0xee, 0x82, 0x09, 0xed, 0x52, 0x7c, 0x0d, 0xa1, 0xfb, 0x09, 0x6e, 0x2c, 0x9a, 0x9d, + 0xf6, 0x4f, 0x79, 0xdb, 0x61, 0xea, 0xab, 0x0f, 0xf1, 0x3b, 0xca, 0x6f, 0xee, 0xbb, 0xda, 0x72, + 0xe4, 0xa2, 0xbb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0x2e, 0xf3, 0xde, 0x60, 0x02, 0x00, + 0x00, } diff --git a/protocol/pushnotificationclient/migrations/migrations.go b/protocol/pushnotificationclient/migrations/migrations.go index 7e5f48e50..e698285bd 100644 --- a/protocol/pushnotificationclient/migrations/migrations.go +++ b/protocol/pushnotificationclient/migrations/migrations.go @@ -16,6 +16,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -25,7 +26,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -33,7 +34,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -89,7 +90,7 @@ func _1593601729_initial_schemaDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601729_initial_schema.down.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1593601729_initial_schema.down.sql", size: 144, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa, 0x95, 0x55, 0x64, 0x38, 0x40, 0x16, 0xbf, 0x8b, 0x1c, 0x18, 0xb4, 0xc5, 0x7f, 0xd0, 0xb8, 0xf0, 0x3c, 0xa2, 0x82, 0xf8, 0x8d, 0x5a, 0xd3, 0xb6, 0x6e, 0xa3, 0xb4, 0xc, 0x9, 0x33, 0x0}} return a, nil } @@ -109,7 +110,7 @@ func _1593601729_initial_schemaUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601729_initial_schema.up.sql", size: 1773, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1593601729_initial_schema.up.sql", size: 1773, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0x1e, 0x5, 0x35, 0x9, 0xb2, 0x2d, 0x6f, 0x33, 0x63, 0xa2, 0x7a, 0x5b, 0xd2, 0x2d, 0xcb, 0x79, 0x7e, 0x6, 0xb4, 0x9d, 0x35, 0xd8, 0x9b, 0x55, 0xe5, 0xf8, 0x44, 0xca, 0xa6, 0xf3, 0xd3}} return a, nil } @@ -129,7 +130,7 @@ func _1597909626_add_server_typeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597909626_add_server_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1597909626_add_server_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -149,7 +150,7 @@ func _1597909626_add_server_typeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1597909626_add_server_type.up.sql", size: 145, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1597909626_add_server_type.up.sql", size: 145, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc8, 0x3f, 0xe0, 0xe7, 0x57, 0x0, 0x5d, 0x60, 0xf3, 0x55, 0x64, 0x71, 0x80, 0x3c, 0xca, 0x8, 0x61, 0xb5, 0x3c, 0xe, 0xa1, 0xe4, 0x61, 0xd1, 0x4e, 0xd8, 0xb2, 0x55, 0xdd, 0x87, 0x62, 0x9b}} return a, nil } @@ -169,7 +170,7 @@ func _1599053776_add_chat_id_and_typeDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.down.sql", size: 0, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55}} return a, nil } @@ -189,7 +190,7 @@ func _1599053776_add_chat_id_and_typeUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.up.sql", size: 264, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1599053776_add_chat_id_and_type.up.sql", size: 264, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xea, 0x7a, 0xf9, 0xc4, 0xa2, 0x96, 0x2e, 0xf9, 0x8f, 0x7, 0xf1, 0x1e, 0x73, 0x8a, 0xa6, 0x3a, 0x13, 0x4, 0x73, 0x82, 0x83, 0xb, 0xe3, 0xb5, 0x3b, 0x7e, 0xd, 0x23, 0xce, 0x98, 0xd4, 0xdc}} return a, nil } @@ -209,7 +210,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0x2f, 0x1e, 0x64, 0x9, 0x93, 0xe4, 0x8b, 0xf2, 0x98, 0x5a, 0x45, 0xe2, 0x80, 0x88, 0x67, 0x7a, 0x2d, 0xd7, 0x4b, 0xd1, 0x73, 0xb6, 0x6d, 0x15, 0xc2, 0x0, 0x34, 0xcd, 0xa0, 0xdb, 0x20}} return a, nil } @@ -305,29 +306,30 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1593601729_initial_schema.down.sql": _1593601729_initial_schemaDownSql, - "1593601729_initial_schema.up.sql": _1593601729_initial_schemaUpSql, - "1597909626_add_server_type.down.sql": _1597909626_add_server_typeDownSql, - "1597909626_add_server_type.up.sql": _1597909626_add_server_typeUpSql, - "1599053776_add_chat_id_and_type.down.sql": _1599053776_add_chat_id_and_typeDownSql, - "1599053776_add_chat_id_and_type.up.sql": _1599053776_add_chat_id_and_typeUpSql, - "doc.go": docGo, -} + "1593601729_initial_schema.down.sql": _1593601729_initial_schemaDownSql, -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "1593601729_initial_schema.up.sql": _1593601729_initial_schemaUpSql, + + "1597909626_add_server_type.down.sql": _1597909626_add_server_typeDownSql, + + "1597909626_add_server_type.up.sql": _1597909626_add_server_typeUpSql, + + "1599053776_add_chat_id_and_type.down.sql": _1599053776_add_chat_id_and_typeDownSql, + + "1599053776_add_chat_id_and_type.up.sql": _1599053776_add_chat_id_and_typeUpSql, + + "doc.go": docGo, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -360,13 +362,13 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1593601729_initial_schema.down.sql": {_1593601729_initial_schemaDownSql, map[string]*bintree{}}, - "1593601729_initial_schema.up.sql": {_1593601729_initial_schemaUpSql, map[string]*bintree{}}, - "1597909626_add_server_type.down.sql": {_1597909626_add_server_typeDownSql, map[string]*bintree{}}, - "1597909626_add_server_type.up.sql": {_1597909626_add_server_typeUpSql, map[string]*bintree{}}, - "1599053776_add_chat_id_and_type.down.sql": {_1599053776_add_chat_id_and_typeDownSql, map[string]*bintree{}}, - "1599053776_add_chat_id_and_type.up.sql": {_1599053776_add_chat_id_and_typeUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1593601729_initial_schema.down.sql": &bintree{_1593601729_initial_schemaDownSql, map[string]*bintree{}}, + "1593601729_initial_schema.up.sql": &bintree{_1593601729_initial_schemaUpSql, map[string]*bintree{}}, + "1597909626_add_server_type.down.sql": &bintree{_1597909626_add_server_typeDownSql, map[string]*bintree{}}, + "1597909626_add_server_type.up.sql": &bintree{_1597909626_add_server_typeUpSql, map[string]*bintree{}}, + "1599053776_add_chat_id_and_type.down.sql": &bintree{_1599053776_add_chat_id_and_typeDownSql, map[string]*bintree{}}, + "1599053776_add_chat_id_and_type.up.sql": &bintree{_1599053776_add_chat_id_and_typeUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -383,7 +385,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/protocol/pushnotificationserver/migrations/migrations.go b/protocol/pushnotificationserver/migrations/migrations.go index ef18771ef..f2721f1ef 100644 --- a/protocol/pushnotificationserver/migrations/migrations.go +++ b/protocol/pushnotificationserver/migrations/migrations.go @@ -14,6 +14,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -23,7 +24,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -31,7 +32,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -87,7 +88,7 @@ func _1593601728_initial_schemaDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601728_initial_schema.down.sql", size: 200, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1593601728_initial_schema.down.sql", size: 200, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x88, 0x8a, 0x61, 0x81, 0x57, 0x45, 0x9b, 0x97, 0x9b, 0x1f, 0xf6, 0x94, 0x8a, 0x20, 0xb3, 0x2b, 0xff, 0x69, 0x49, 0xf4, 0x58, 0xcc, 0xd0, 0x55, 0xcc, 0x9a, 0x8b, 0xb6, 0x7f, 0x29, 0x53, 0xc1}} return a, nil } @@ -107,7 +108,7 @@ func _1593601728_initial_schemaUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1593601728_initial_schema.up.sql", size: 675, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1593601728_initial_schema.up.sql", size: 675, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x61, 0x90, 0x79, 0xd9, 0x14, 0x65, 0xe9, 0x96, 0x53, 0x17, 0x33, 0x54, 0xeb, 0x8b, 0x5d, 0x95, 0x99, 0x10, 0x36, 0x58, 0xdd, 0xb2, 0xbf, 0x45, 0xd9, 0xbb, 0xc4, 0x92, 0xe, 0xce, 0x2}} return a, nil } @@ -127,7 +128,7 @@ func _1598419937_add_push_notifications_tableDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1598419937_add_push_notifications_table.down.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1598419937_add_push_notifications_table.down.sql", size: 51, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc, 0x98, 0xc8, 0x30, 0x45, 0x5b, 0xc5, 0x7d, 0x13, 0x5d, 0xe7, 0xc8, 0x23, 0x43, 0xf7, 0xdc, 0x9c, 0xe2, 0xdd, 0x63, 0xf0, 0xb7, 0x16, 0x40, 0xc, 0xda, 0xb9, 0x16, 0x70, 0x2b, 0x5a, 0x7e}} return a, nil } @@ -147,7 +148,7 @@ func _1598419937_add_push_notifications_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1598419937_add_push_notifications_table.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1598419937_add_push_notifications_table.up.sql", size: 104, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2, 0x3e, 0xef, 0xf, 0xc2, 0xdf, 0xbc, 0x99, 0x7a, 0xc2, 0xd3, 0x64, 0x4f, 0x4c, 0x7e, 0xfc, 0x2e, 0x8c, 0xa7, 0x54, 0xd3, 0x4d, 0x25, 0x98, 0x41, 0xbc, 0xea, 0xd7, 0x2, 0xc1, 0xd0, 0x52}} return a, nil } @@ -167,7 +168,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 382, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0x2f, 0x1e, 0x64, 0x9, 0x93, 0xe4, 0x8b, 0xf2, 0x98, 0x5a, 0x45, 0xe2, 0x80, 0x88, 0x67, 0x7a, 0x2d, 0xd7, 0x4b, 0xd1, 0x73, 0xb6, 0x6d, 0x15, 0xc2, 0x0, 0x34, 0xcd, 0xa0, 0xdb, 0x20}} return a, nil } @@ -263,27 +264,26 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1593601728_initial_schema.down.sql": _1593601728_initial_schemaDownSql, - "1593601728_initial_schema.up.sql": _1593601728_initial_schemaUpSql, + "1593601728_initial_schema.down.sql": _1593601728_initial_schemaDownSql, + + "1593601728_initial_schema.up.sql": _1593601728_initial_schemaUpSql, + "1598419937_add_push_notifications_table.down.sql": _1598419937_add_push_notifications_tableDownSql, - "1598419937_add_push_notifications_table.up.sql": _1598419937_add_push_notifications_tableUpSql, + + "1598419937_add_push_notifications_table.up.sql": _1598419937_add_push_notifications_tableUpSql, + "doc.go": docGo, } -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false - // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -316,11 +316,11 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1593601728_initial_schema.down.sql": {_1593601728_initial_schemaDownSql, map[string]*bintree{}}, - "1593601728_initial_schema.up.sql": {_1593601728_initial_schemaUpSql, map[string]*bintree{}}, - "1598419937_add_push_notifications_table.down.sql": {_1598419937_add_push_notifications_tableDownSql, map[string]*bintree{}}, - "1598419937_add_push_notifications_table.up.sql": {_1598419937_add_push_notifications_tableUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1593601728_initial_schema.down.sql": &bintree{_1593601728_initial_schemaDownSql, map[string]*bintree{}}, + "1593601728_initial_schema.up.sql": &bintree{_1593601728_initial_schemaUpSql, map[string]*bintree{}}, + "1598419937_add_push_notifications_table.down.sql": &bintree{_1598419937_add_push_notifications_tableDownSql, map[string]*bintree{}}, + "1598419937_add_push_notifications_table.up.sql": &bintree{_1598419937_add_push_notifications_tableUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -337,7 +337,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/protocol/transport/migrations/migrations.go b/protocol/transport/migrations/migrations.go index aeedb2ed2..4dee6977e 100644 --- a/protocol/transport/migrations/migrations.go +++ b/protocol/transport/migrations/migrations.go @@ -15,6 +15,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -24,7 +25,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -32,7 +33,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -88,7 +89,7 @@ func _1561059284_add_waku_keysDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561059284_add_waku_keys.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1561059284_add_waku_keys.down.sql", size: 22, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x2a, 0x7e, 0x9, 0xa3, 0xdd, 0xc6, 0x3, 0xfa, 0xaa, 0x98, 0xa0, 0x26, 0x5e, 0x67, 0x43, 0xe6, 0x20, 0xfd, 0x10, 0xfd, 0x60, 0x89, 0x17, 0x13, 0x87, 0x1b, 0x44, 0x36, 0x79, 0xb6, 0x60}} return a, nil } @@ -108,7 +109,7 @@ func _1561059284_add_waku_keysUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1561059284_add_waku_keys.up.sql", size: 109, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1561059284_add_waku_keys.up.sql", size: 109, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0x5c, 0x8, 0x32, 0xef, 0x12, 0x88, 0x21, 0xd, 0x7a, 0x42, 0x4d, 0xe7, 0x2d, 0x6c, 0x99, 0xb6, 0x1, 0xf1, 0xba, 0x2c, 0x40, 0x8d, 0xa9, 0x4b, 0xe6, 0xc4, 0x21, 0xec, 0x47, 0x6b, 0xf7}} return a, nil } @@ -128,7 +129,7 @@ func _1616691080_add_wakuv2_keysDownSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.down.sql", size: 24, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x42, 0xb6, 0x23, 0x70, 0xb8, 0x63, 0x18, 0x61, 0xea, 0x35, 0x6e, 0xae, 0xe9, 0x71, 0x89, 0xa, 0xa5, 0x72, 0xa2, 0x64, 0xaa, 0x45, 0x1, 0xf, 0xfc, 0xee, 0x1b, 0xd9, 0xd2, 0x27, 0xf4, 0xe2}} return a, nil } @@ -148,7 +149,7 @@ func _1616691080_add_wakuv2_keysUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1616691080_add_wakuV2_keys.up.sql", size: 111, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0xf0, 0x97, 0x25, 0xfe, 0x96, 0x2c, 0xa8, 0x62, 0x4a, 0x71, 0x75, 0xff, 0x5f, 0x43, 0x1e, 0x71, 0x53, 0xf1, 0xde, 0xf, 0xcf, 0xcd, 0x87, 0x15, 0x61, 0x9d, 0x25, 0x2e, 0xaf, 0x18, 0x99}} return a, nil } @@ -168,7 +169,7 @@ func _1634723014_add_wakuv2_keysUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1634723014_add_wakuV2_keys.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "1634723014_add_wakuV2_keys.up.sql", size: 125, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xe1, 0x7a, 0x1e, 0x6, 0xad, 0x1b, 0x37, 0xdb, 0xea, 0x94, 0xaf, 0xe0, 0x7d, 0xc9, 0xd6, 0xda, 0x52, 0x71, 0x8a, 0x44, 0xb3, 0xa6, 0x7b, 0x1e, 0x90, 0xdb, 0x1e, 0x5a, 0xa, 0x40, 0x26}} return a, nil } @@ -188,7 +189,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 373, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "doc.go", size: 373, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x23, 0x6a, 0xc1, 0xce, 0x94, 0xf6, 0xef, 0xf1, 0x97, 0x95, 0xb, 0x35, 0xaf, 0x5f, 0xe7, 0x5f, 0xac, 0x6e, 0xb8, 0xab, 0xba, 0xb5, 0x35, 0x97, 0x22, 0x36, 0x11, 0xce, 0x44, 0xfc, 0xfa, 0xac}} return a, nil } @@ -284,28 +285,28 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1561059284_add_waku_keys.down.sql": _1561059284_add_waku_keysDownSql, - "1561059284_add_waku_keys.up.sql": _1561059284_add_waku_keysUpSql, - "1616691080_add_wakuV2_keys.down.sql": _1616691080_add_wakuv2_keysDownSql, - "1616691080_add_wakuV2_keys.up.sql": _1616691080_add_wakuv2_keysUpSql, - "1634723014_add_wakuV2_keys.up.sql": _1634723014_add_wakuv2_keysUpSql, - "doc.go": docGo, -} + "1561059284_add_waku_keys.down.sql": _1561059284_add_waku_keysDownSql, -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "1561059284_add_waku_keys.up.sql": _1561059284_add_waku_keysUpSql, + + "1616691080_add_wakuV2_keys.down.sql": _1616691080_add_wakuv2_keysDownSql, + + "1616691080_add_wakuV2_keys.up.sql": _1616691080_add_wakuv2_keysUpSql, + + "1634723014_add_wakuV2_keys.up.sql": _1634723014_add_wakuv2_keysUpSql, + + "doc.go": docGo, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -338,12 +339,12 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1561059284_add_waku_keys.down.sql": {_1561059284_add_waku_keysDownSql, map[string]*bintree{}}, - "1561059284_add_waku_keys.up.sql": {_1561059284_add_waku_keysUpSql, map[string]*bintree{}}, - "1616691080_add_wakuV2_keys.down.sql": {_1616691080_add_wakuv2_keysDownSql, map[string]*bintree{}}, - "1616691080_add_wakuV2_keys.up.sql": {_1616691080_add_wakuv2_keysUpSql, map[string]*bintree{}}, - "1634723014_add_wakuV2_keys.up.sql": {_1634723014_add_wakuv2_keysUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1561059284_add_waku_keys.down.sql": &bintree{_1561059284_add_waku_keysDownSql, map[string]*bintree{}}, + "1561059284_add_waku_keys.up.sql": &bintree{_1561059284_add_waku_keysUpSql, map[string]*bintree{}}, + "1616691080_add_wakuV2_keys.down.sql": &bintree{_1616691080_add_wakuv2_keysDownSql, map[string]*bintree{}}, + "1616691080_add_wakuV2_keys.up.sql": &bintree{_1616691080_add_wakuv2_keysUpSql, map[string]*bintree{}}, + "1634723014_add_wakuV2_keys.up.sql": &bintree{_1634723014_add_wakuv2_keysUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -360,7 +361,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/services/ext/api.go b/services/ext/api.go index bceba507a..41ba0e22c 100644 --- a/services/ext/api.go +++ b/services/ext/api.go @@ -556,6 +556,11 @@ func (api *PublicAPI) MyPendingRequestsToJoin() ([]*communities.RequestToJoin, e return api.service.messenger.MyPendingRequestsToJoin() } +// MyAwaitingAddressesRequestsToJoin returns requests to join, which must be auto-accepted when control node will be online +func (api *PublicAPI) MyAwaitingAddressesRequestsToJoin() ([]*communities.RequestToJoin, error) { + return api.service.messenger.MyAwaitingAddressesRequestsToJoin() +} + // MyCanceledRequestsToJoin returns the pending requests for the logged in user func (api *PublicAPI) MyCanceledRequestsToJoin() ([]*communities.RequestToJoin, error) { return api.service.messenger.MyCanceledRequestsToJoin() @@ -646,6 +651,10 @@ func (api *PublicAPI) DeleteCommunityCategory(request *requests.DeleteCommunityC return api.service.messenger.DeleteCommunityCategory(request) } +func (api *PublicAPI) PromoteSelfToControlNode(communityID types.HexBytes) (*protocol.MessengerResponse, error) { + return api.service.messenger.PromoteSelfToControlNode(communityID) +} + type ApplicationMessagesResponse struct { Messages []*common.Message `json:"messages"` Cursor string `json:"cursor"` diff --git a/static/bindata.go b/static/bindata.go index 456bd8ecd..e19dae027 100644 --- a/static/bindata.go +++ b/static/bindata.go @@ -30,6 +30,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -39,7 +40,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -47,7 +48,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -103,7 +104,7 @@ func emojisTxt() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "emojis.txt", size: 28134, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "emojis.txt", size: 28134, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0x28, 0xc, 0x22, 0x34, 0xa1, 0xeb, 0x8, 0x8d, 0xef, 0x38, 0x1b, 0xd8, 0xc2, 0x1a, 0x6d, 0xa2, 0x62, 0xad, 0x43, 0xfc, 0x1c, 0x38, 0xda, 0x8c, 0x3f, 0x34, 0xa, 0x8c, 0x6f, 0x5d, 0xd8}} return a, nil } @@ -123,7 +124,7 @@ func ConfigReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/README.md", size: 3031, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "../config/README.md", size: 3031, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x15, 0x44, 0x2b, 0x13, 0x14, 0x34, 0xa, 0x66, 0x62, 0x1b, 0xc6, 0x4a, 0x2c, 0x7d, 0x4d, 0x89, 0xfb, 0xc9, 0x69, 0xe4, 0x18, 0x5f, 0x3, 0x98, 0x6d, 0x3c, 0x9e, 0xa8, 0xcd, 0x53, 0x5d, 0x75}} return a, nil } @@ -143,7 +144,7 @@ func ConfigCliAnonMetricNodeClientJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/anon-metric-node-client.json", size: 857, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "../config/cli/anon-metric-node-client.json", size: 857, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x90, 0xdf, 0xcd, 0xc8, 0x92, 0x1d, 0x63, 0x5e, 0xe1, 0xf9, 0x7f, 0xed, 0xf2, 0x68, 0x6b, 0x20, 0xff, 0x1d, 0x3b, 0xc9, 0x7b, 0xb9, 0x6a, 0xba, 0xd3, 0xbd, 0xf7, 0x48, 0x7b, 0x5a, 0x52, 0x79}} return a, nil } @@ -163,7 +164,7 @@ func ConfigCliAnonMetricNodeServerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/anon-metric-node-server.json", size: 696, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "../config/cli/anon-metric-node-server.json", size: 696, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf0, 0x2f, 0x97, 0xab, 0x77, 0x61, 0x93, 0x9d, 0x1f, 0x33, 0x18, 0x72, 0xad, 0xce, 0xa3, 0x35, 0xa9, 0x44, 0xbf, 0x29, 0xa8, 0xea, 0x21, 0xb7, 0x22, 0x7f, 0x7d, 0x3a, 0x6b, 0x55, 0x3c, 0x66}} return a, nil } @@ -183,7 +184,7 @@ func ConfigCliFleetEthProdJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.prod.json", size: 3619, mode: os.FileMode(0644), modTime: time.Unix(1696933531, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-eth.prod.json", size: 3619, mode: os.FileMode(0644), modTime: time.Unix(1697500758, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x92, 0x4f, 0x86, 0x8b, 0x6e, 0x2, 0x27, 0xa3, 0x37, 0x27, 0x74, 0x51, 0xf0, 0x97, 0x5b, 0x64, 0x8e, 0xbd, 0x29, 0xba, 0x75, 0x2d, 0x75, 0x78, 0x46, 0xb9, 0x56, 0x6, 0xb1, 0xf9, 0x85, 0xdd}} return a, nil } @@ -203,7 +204,7 @@ func ConfigCliFleetEthStagingJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 2139, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-eth.staging.json", size: 2139, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb0, 0xac, 0xc9, 0x61, 0x97, 0x42, 0x0, 0x3a, 0xfc, 0x78, 0x11, 0xa1, 0xc7, 0x55, 0x71, 0x46, 0x72, 0x3e, 0x52, 0xb0, 0x89, 0x69, 0x7f, 0x8f, 0xf1, 0x26, 0x44, 0xc5, 0xfc, 0x20, 0x9f, 0xa1}} return a, nil } @@ -223,7 +224,7 @@ func ConfigCliFleetShardsTestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-shards.test.json", size: 1954, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-shards.test.json", size: 1954, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcf, 0xeb, 0x33, 0xd4, 0x3, 0x54, 0xff, 0xda, 0x1f, 0xc4, 0xc, 0x91, 0x88, 0x1e, 0x53, 0xbf, 0x49, 0xa, 0x6c, 0x45, 0xf9, 0x19, 0x91, 0xec, 0xe, 0x1a, 0xfc, 0x14, 0x86, 0x8d, 0xa3, 0x5a}} return a, nil } @@ -243,7 +244,7 @@ func ConfigCliFleetStatusProdJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-status.prod.json", size: 2338, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-status.prod.json", size: 2338, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x59, 0xea, 0x14, 0x57, 0xed, 0x60, 0x4d, 0xb6, 0x32, 0x7e, 0xd3, 0xbe, 0x1e, 0xc7, 0xfe, 0x42, 0xee, 0xfe, 0x10, 0xe4, 0x22, 0x64, 0xc1, 0xb9, 0xce, 0x34, 0xcd, 0xdd, 0xe3, 0x38, 0x43, 0xd3}} return a, nil } @@ -263,7 +264,7 @@ func ConfigCliFleetStatusTestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-status.test.json", size: 1457, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-status.test.json", size: 1457, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0x9f, 0x8f, 0x25, 0x1f, 0x31, 0xbd, 0x72, 0x26, 0xb7, 0xd, 0x7e, 0xcb, 0xbb, 0x12, 0xef, 0x9f, 0x1a, 0x2e, 0xb, 0x96, 0x64, 0x7d, 0x52, 0x9e, 0x68, 0x13, 0x55, 0xd5, 0x88, 0x38, 0x7b}} return a, nil } @@ -283,7 +284,7 @@ func ConfigCliFleetWakuv2ProdJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.prod.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.prod.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x71, 0xb9, 0x1c, 0x57, 0x50, 0xa9, 0x93, 0x70, 0xcd, 0xd7, 0x22, 0xee, 0x65, 0x72, 0x11, 0x71, 0xd3, 0x20, 0xd0, 0xf0, 0x4d, 0x53, 0x94, 0x44, 0x81, 0xbd, 0x11, 0xed, 0x5e, 0x72, 0x0, 0x12}} return a, nil } @@ -303,7 +304,7 @@ func ConfigCliFleetWakuv2TestJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.test.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1695833770, 0)} + info := bindataFileInfo{name: "../config/cli/fleet-wakuv2.test.json", size: 1264, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2c, 0x67, 0x1e, 0xd1, 0x98, 0x7b, 0xf3, 0x9f, 0x76, 0xa0, 0xbe, 0x67, 0x29, 0xdb, 0xd7, 0x3e, 0xb8, 0x7c, 0x65, 0x2d, 0x2, 0x84, 0xe0, 0xab, 0x8d, 0x3d, 0x4a, 0x53, 0xb4, 0xa7, 0x2e, 0xf0}} return a, nil } @@ -323,7 +324,7 @@ func ConfigCliLesEnabledJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "../config/cli/les-enabled.json", size: 58, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0xee, 0x27, 0xa7, 0x74, 0xa0, 0x46, 0xa1, 0x41, 0xed, 0x4d, 0x16, 0x5b, 0xf3, 0xf0, 0x7c, 0xc8, 0x2f, 0x6f, 0x47, 0xa4, 0xbb, 0x5f, 0x43, 0x33, 0xd, 0x9, 0x9d, 0xea, 0x9e, 0x15, 0xee}} return a, nil } @@ -343,7 +344,7 @@ func ConfigCliMailserverEnabledJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/cli/mailserver-enabled.json", size: 176, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "../config/cli/mailserver-enabled.json", size: 176, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x34, 0xec, 0x81, 0x8b, 0x99, 0xb6, 0xdb, 0xc0, 0x8b, 0x46, 0x97, 0x96, 0xc7, 0x58, 0x30, 0x33, 0xef, 0x54, 0x25, 0x87, 0x7b, 0xb9, 0x94, 0x6b, 0x18, 0xa4, 0x5b, 0x58, 0x67, 0x7c, 0x44, 0xa6}} return a, nil } @@ -363,7 +364,7 @@ func ConfigStatusChainGenesisJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "../config/status-chain-genesis.json", size: 612, mode: os.FileMode(0644), modTime: time.Unix(1694703774, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0xf0, 0xc, 0x1, 0x95, 0x65, 0x6, 0x55, 0x48, 0x8f, 0x83, 0xa0, 0xb4, 0x81, 0xda, 0xad, 0x30, 0x6d, 0xb2, 0x78, 0x1b, 0x26, 0x4, 0x13, 0x12, 0x9, 0x6, 0xae, 0x3a, 0x2c, 0x1, 0x71}} return a, nil } @@ -383,7 +384,7 @@ func keysBootnodeKey() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/bootnode.key", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/bootnode.key", size: 65, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x31, 0xcf, 0x27, 0xd4, 0x96, 0x2e, 0x32, 0xcd, 0x58, 0x96, 0x2a, 0xe5, 0x8c, 0xa0, 0xf1, 0x73, 0x1f, 0xd6, 0xd6, 0x8b, 0xb, 0x73, 0xd3, 0x2c, 0x84, 0x1a, 0x56, 0xa4, 0x74, 0xb6, 0x95, 0x20}} return a, nil } @@ -403,7 +404,7 @@ func keysFirebaseauthkey() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/firebaseauthkey", size: 153, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/firebaseauthkey", size: 153, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe, 0x69, 0x23, 0x64, 0x7d, 0xf9, 0x14, 0x37, 0x6f, 0x2b, 0x1, 0xf0, 0xb0, 0xa4, 0xb2, 0xd0, 0x18, 0xcd, 0xf9, 0xeb, 0x57, 0xa3, 0xfd, 0x79, 0x25, 0xa7, 0x9c, 0x3, 0xce, 0x26, 0xec, 0xe1}} return a, nil } @@ -423,7 +424,7 @@ func keysTestAccount1StatusChainPk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account1-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/test-account1-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xba, 0x35, 0x1, 0x2b, 0x9d, 0xad, 0xf0, 0x2d, 0x3c, 0x4d, 0x6, 0xb5, 0x22, 0x2, 0x47, 0xd4, 0x1c, 0xf4, 0x31, 0x2f, 0xb, 0x5b, 0x27, 0x5d, 0x43, 0x97, 0x58, 0x2d, 0xf0, 0xe1, 0xbe}} return a, nil } @@ -443,7 +444,7 @@ func keysTestAccount1Pk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account1.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/test-account1.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0x43, 0xc2, 0xf4, 0x8c, 0xc6, 0x64, 0x25, 0x8c, 0x7, 0x8c, 0xa8, 0x89, 0x2b, 0x7b, 0x9b, 0x4f, 0x81, 0xcb, 0xce, 0x3d, 0xef, 0x82, 0x9c, 0x27, 0x27, 0xa9, 0xc5, 0x46, 0x70, 0x30, 0x38}} return a, nil } @@ -463,7 +464,7 @@ func keysTestAccount2StatusChainPk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account2-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/test-account2-status-chain.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0xf8, 0x5c, 0xe9, 0x92, 0x96, 0x2d, 0x88, 0x2b, 0x8e, 0x42, 0x3f, 0xa4, 0x93, 0x6c, 0xad, 0xe9, 0xc0, 0x1b, 0x8a, 0x8, 0x8c, 0x5e, 0x7a, 0x84, 0xa2, 0xf, 0x9f, 0x77, 0x58, 0x2c, 0x2c}} return a, nil } @@ -483,7 +484,7 @@ func keysTestAccount2Pk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account2.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/test-account2.pk", size: 491, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9f, 0x72, 0xd5, 0x95, 0x5c, 0x5a, 0x99, 0x9d, 0x2f, 0x21, 0x83, 0xd7, 0x10, 0x17, 0x4a, 0x3d, 0x65, 0xc9, 0x26, 0x1a, 0x2c, 0x9d, 0x65, 0x63, 0xd2, 0xa0, 0xfc, 0x7c, 0x0, 0x87, 0x38, 0x9f}} return a, nil } @@ -503,7 +504,7 @@ func keysTestAccount3BeforeEip55Pk() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "keys/test-account3-before-eip55.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "keys/test-account3-before-eip55.pk", size: 489, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x81, 0x40, 0x56, 0xc1, 0x5e, 0x10, 0x6e, 0x28, 0x15, 0x3, 0x4e, 0xc4, 0xc4, 0x71, 0x4d, 0x16, 0x99, 0xcc, 0x1b, 0x63, 0xee, 0x10, 0x20, 0xe4, 0x59, 0x52, 0x3f, 0xc0, 0xad, 0x15, 0x13, 0x72}} return a, nil } @@ -599,43 +600,58 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "emojis.txt": emojisTxt, - "../config/README.md": ConfigReadmeMd, - "../config/cli/anon-metric-node-client.json": ConfigCliAnonMetricNodeClientJson, - "../config/cli/anon-metric-node-server.json": ConfigCliAnonMetricNodeServerJson, - "../config/cli/fleet-eth.prod.json": ConfigCliFleetEthProdJson, - "../config/cli/fleet-eth.staging.json": ConfigCliFleetEthStagingJson, - "../config/cli/fleet-shards.test.json": ConfigCliFleetShardsTestJson, - "../config/cli/fleet-status.prod.json": ConfigCliFleetStatusProdJson, - "../config/cli/fleet-status.test.json": ConfigCliFleetStatusTestJson, - "../config/cli/fleet-wakuv2.prod.json": ConfigCliFleetWakuv2ProdJson, - "../config/cli/fleet-wakuv2.test.json": ConfigCliFleetWakuv2TestJson, - "../config/cli/les-enabled.json": ConfigCliLesEnabledJson, - "../config/cli/mailserver-enabled.json": ConfigCliMailserverEnabledJson, - "../config/status-chain-genesis.json": ConfigStatusChainGenesisJson, - "keys/bootnode.key": keysBootnodeKey, - "keys/firebaseauthkey": keysFirebaseauthkey, - "keys/test-account1-status-chain.pk": keysTestAccount1StatusChainPk, - "keys/test-account1.pk": keysTestAccount1Pk, - "keys/test-account2-status-chain.pk": keysTestAccount2StatusChainPk, - "keys/test-account2.pk": keysTestAccount2Pk, - "keys/test-account3-before-eip55.pk": keysTestAccount3BeforeEip55Pk, -} + "emojis.txt": emojisTxt, -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "../config/README.md": ConfigReadmeMd, + + "../config/cli/anon-metric-node-client.json": ConfigCliAnonMetricNodeClientJson, + + "../config/cli/anon-metric-node-server.json": ConfigCliAnonMetricNodeServerJson, + + "../config/cli/fleet-eth.prod.json": ConfigCliFleetEthProdJson, + + "../config/cli/fleet-eth.staging.json": ConfigCliFleetEthStagingJson, + + "../config/cli/fleet-shards.test.json": ConfigCliFleetShardsTestJson, + + "../config/cli/fleet-status.prod.json": ConfigCliFleetStatusProdJson, + + "../config/cli/fleet-status.test.json": ConfigCliFleetStatusTestJson, + + "../config/cli/fleet-wakuv2.prod.json": ConfigCliFleetWakuv2ProdJson, + + "../config/cli/fleet-wakuv2.test.json": ConfigCliFleetWakuv2TestJson, + + "../config/cli/les-enabled.json": ConfigCliLesEnabledJson, + + "../config/cli/mailserver-enabled.json": ConfigCliMailserverEnabledJson, + + "../config/status-chain-genesis.json": ConfigStatusChainGenesisJson, + + "keys/bootnode.key": keysBootnodeKey, + + "keys/firebaseauthkey": keysFirebaseauthkey, + + "keys/test-account1-status-chain.pk": keysTestAccount1StatusChainPk, + + "keys/test-account1.pk": keysTestAccount1Pk, + + "keys/test-account2-status-chain.pk": keysTestAccount2StatusChainPk, + + "keys/test-account2.pk": keysTestAccount2Pk, + + "keys/test-account3-before-eip55.pk": keysTestAccount3BeforeEip55Pk, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -668,34 +684,34 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "..": {nil, map[string]*bintree{ - "config": {nil, map[string]*bintree{ - "README.md": {ConfigReadmeMd, map[string]*bintree{}}, - "cli": {nil, map[string]*bintree{ - "anon-metric-node-client.json": {ConfigCliAnonMetricNodeClientJson, map[string]*bintree{}}, - "anon-metric-node-server.json": {ConfigCliAnonMetricNodeServerJson, map[string]*bintree{}}, - "fleet-eth.prod.json": {ConfigCliFleetEthProdJson, map[string]*bintree{}}, - "fleet-eth.staging.json": {ConfigCliFleetEthStagingJson, map[string]*bintree{}}, - "fleet-shards.test.json": {ConfigCliFleetShardsTestJson, map[string]*bintree{}}, - "fleet-status.prod.json": {ConfigCliFleetStatusProdJson, map[string]*bintree{}}, - "fleet-status.test.json": {ConfigCliFleetStatusTestJson, map[string]*bintree{}}, - "fleet-wakuv2.prod.json": {ConfigCliFleetWakuv2ProdJson, map[string]*bintree{}}, - "fleet-wakuv2.test.json": {ConfigCliFleetWakuv2TestJson, map[string]*bintree{}}, - "les-enabled.json": {ConfigCliLesEnabledJson, map[string]*bintree{}}, - "mailserver-enabled.json": {ConfigCliMailserverEnabledJson, map[string]*bintree{}}, + "..": &bintree{nil, map[string]*bintree{ + "config": &bintree{nil, map[string]*bintree{ + "README.md": &bintree{ConfigReadmeMd, map[string]*bintree{}}, + "cli": &bintree{nil, map[string]*bintree{ + "anon-metric-node-client.json": &bintree{ConfigCliAnonMetricNodeClientJson, map[string]*bintree{}}, + "anon-metric-node-server.json": &bintree{ConfigCliAnonMetricNodeServerJson, map[string]*bintree{}}, + "fleet-eth.prod.json": &bintree{ConfigCliFleetEthProdJson, map[string]*bintree{}}, + "fleet-eth.staging.json": &bintree{ConfigCliFleetEthStagingJson, map[string]*bintree{}}, + "fleet-shards.test.json": &bintree{ConfigCliFleetShardsTestJson, map[string]*bintree{}}, + "fleet-status.prod.json": &bintree{ConfigCliFleetStatusProdJson, map[string]*bintree{}}, + "fleet-status.test.json": &bintree{ConfigCliFleetStatusTestJson, map[string]*bintree{}}, + "fleet-wakuv2.prod.json": &bintree{ConfigCliFleetWakuv2ProdJson, map[string]*bintree{}}, + "fleet-wakuv2.test.json": &bintree{ConfigCliFleetWakuv2TestJson, map[string]*bintree{}}, + "les-enabled.json": &bintree{ConfigCliLesEnabledJson, map[string]*bintree{}}, + "mailserver-enabled.json": &bintree{ConfigCliMailserverEnabledJson, map[string]*bintree{}}, }}, - "status-chain-genesis.json": {ConfigStatusChainGenesisJson, map[string]*bintree{}}, + "status-chain-genesis.json": &bintree{ConfigStatusChainGenesisJson, map[string]*bintree{}}, }}, }}, - "emojis.txt": {emojisTxt, map[string]*bintree{}}, - "keys": {nil, map[string]*bintree{ - "bootnode.key": {keysBootnodeKey, map[string]*bintree{}}, - "firebaseauthkey": {keysFirebaseauthkey, map[string]*bintree{}}, - "test-account1-status-chain.pk": {keysTestAccount1StatusChainPk, map[string]*bintree{}}, - "test-account1.pk": {keysTestAccount1Pk, map[string]*bintree{}}, - "test-account2-status-chain.pk": {keysTestAccount2StatusChainPk, map[string]*bintree{}}, - "test-account2.pk": {keysTestAccount2Pk, map[string]*bintree{}}, - "test-account3-before-eip55.pk": {keysTestAccount3BeforeEip55Pk, map[string]*bintree{}}, + "emojis.txt": &bintree{emojisTxt, map[string]*bintree{}}, + "keys": &bintree{nil, map[string]*bintree{ + "bootnode.key": &bintree{keysBootnodeKey, map[string]*bintree{}}, + "firebaseauthkey": &bintree{keysFirebaseauthkey, map[string]*bintree{}}, + "test-account1-status-chain.pk": &bintree{keysTestAccount1StatusChainPk, map[string]*bintree{}}, + "test-account1.pk": &bintree{keysTestAccount1Pk, map[string]*bintree{}}, + "test-account2-status-chain.pk": &bintree{keysTestAccount2StatusChainPk, map[string]*bintree{}}, + "test-account2.pk": &bintree{keysTestAccount2Pk, map[string]*bintree{}}, + "test-account3-before-eip55.pk": &bintree{keysTestAccount3BeforeEip55Pk, map[string]*bintree{}}, }}, }} @@ -713,7 +729,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/t/bindata.go b/t/bindata.go index f7d804828..c84d332a1 100644 --- a/t/bindata.go +++ b/t/bindata.go @@ -12,6 +12,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -21,7 +22,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -29,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -85,7 +86,7 @@ func configPublicChainAccountsJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "config/public-chain-accounts.json", size: 307, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "config/public-chain-accounts.json", size: 307, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x76, 0x5d, 0xc0, 0xfe, 0x57, 0x50, 0x18, 0xec, 0x2d, 0x61, 0x1b, 0xa9, 0x81, 0x11, 0x5f, 0x77, 0xf7, 0xb6, 0x67, 0x82, 0x1, 0x40, 0x68, 0x9d, 0xc5, 0x41, 0xaf, 0xce, 0x43, 0x81, 0x92, 0x96}} return a, nil } @@ -105,7 +106,7 @@ func configStatusChainAccountsJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "config/status-chain-accounts.json", size: 543, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "config/status-chain-accounts.json", size: 543, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0xb3, 0x61, 0x51, 0x70, 0x3c, 0x12, 0x3e, 0xf1, 0x1c, 0x81, 0xfb, 0x9a, 0x7c, 0xe3, 0x63, 0xd0, 0x8f, 0x12, 0xc5, 0x2d, 0xf4, 0xea, 0x27, 0x33, 0xef, 0xca, 0xf9, 0x3f, 0x72, 0x44, 0xbf}} return a, nil } @@ -125,7 +126,7 @@ func configTestDataJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "config/test-data.json", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1687889856, 0)} + info := bindataFileInfo{name: "config/test-data.json", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1694703775, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xce, 0x9d, 0x80, 0xf5, 0x87, 0xfa, 0x57, 0x1d, 0xa1, 0xd5, 0x7a, 0x10, 0x3, 0xac, 0xd7, 0xf4, 0x64, 0x32, 0x96, 0x2b, 0xb7, 0x21, 0xb7, 0xa6, 0x80, 0x40, 0xe9, 0x65, 0xe3, 0xd6, 0xbd, 0x40}} return a, nil } @@ -222,24 +223,21 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "config/public-chain-accounts.json": configPublicChainAccountsJson, - "config/status-chain-accounts.json": configStatusChainAccountsJson, - "config/test-data.json": configTestDataJson, -} -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false + "config/status-chain-accounts.json": configStatusChainAccountsJson, + + "config/test-data.json": configTestDataJson, +} // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -272,10 +270,10 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "config": {nil, map[string]*bintree{ - "public-chain-accounts.json": {configPublicChainAccountsJson, map[string]*bintree{}}, - "status-chain-accounts.json": {configStatusChainAccountsJson, map[string]*bintree{}}, - "test-data.json": {configTestDataJson, map[string]*bintree{}}, + "config": &bintree{nil, map[string]*bintree{ + "public-chain-accounts.json": &bintree{configPublicChainAccountsJson, map[string]*bintree{}}, + "status-chain-accounts.json": &bintree{configStatusChainAccountsJson, map[string]*bintree{}}, + "test-data.json": &bintree{configTestDataJson, map[string]*bintree{}}, }}, }} @@ -293,7 +291,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } diff --git a/walletdatabase/migrations/bindata.go b/walletdatabase/migrations/bindata.go index 6ae77abbe..ad036c6de 100644 --- a/walletdatabase/migrations/bindata.go +++ b/walletdatabase/migrations/bindata.go @@ -20,6 +20,7 @@ import ( "crypto/sha256" "fmt" "io" + "io/ioutil" "os" "path/filepath" "strings" @@ -29,7 +30,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer @@ -37,7 +38,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %w", name, err) + return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err @@ -93,7 +94,7 @@ func _1691753758_initialUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5738, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5738, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0x25, 0x31, 0xc8, 0x27, 0x3, 0x6b, 0x9f, 0x15, 0x42, 0x2f, 0x85, 0xfb, 0xe3, 0x6, 0xea, 0xf7, 0x97, 0x12, 0x56, 0x3c, 0x9a, 0x5b, 0x1a, 0xca, 0xb1, 0x23, 0xfa, 0xcd, 0x57, 0x25, 0x5c}} return a, nil } @@ -113,7 +114,7 @@ func _1692701329_add_collectibles_and_collections_data_cacheUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1808, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1808, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x51, 0xf4, 0x2b, 0x92, 0xde, 0x59, 0x65, 0xd8, 0x9b, 0x57, 0xe0, 0xfd, 0x7b, 0x12, 0xb, 0x29, 0x6e, 0x9d, 0xb5, 0x90, 0xe, 0xfa, 0x12, 0x97, 0xd, 0x61, 0x60, 0x7f, 0x32, 0x1d, 0xc3}} return a, nil } @@ -133,7 +134,7 @@ func _1692701339_add_scope_to_pendingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 576, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 576, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x8a, 0x5e, 0xe2, 0x63, 0x15, 0x37, 0xba, 0x55, 0x18, 0xf3, 0xcc, 0xe0, 0x5, 0x84, 0xe1, 0x5b, 0xe8, 0x1, 0x32, 0x6b, 0x9f, 0x7d, 0x9f, 0xd9, 0x23, 0x6c, 0xa9, 0xb5, 0xdc, 0xf4, 0x93}} return a, nil } @@ -153,7 +154,7 @@ func _1694540071_add_collectibles_ownership_update_timestampUpSql() (*asset, err return nil, err } - info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7f, 0x45, 0xc7, 0xce, 0x79, 0x63, 0xbc, 0x6f, 0x83, 0x5f, 0xe2, 0x3, 0x56, 0xcc, 0x5, 0x2f, 0x85, 0xda, 0x7e, 0xea, 0xf5, 0xd2, 0xac, 0x19, 0xd4, 0xd8, 0x5e, 0xdd, 0xed, 0xe2, 0xa9, 0x97}} return a, nil } @@ -173,7 +174,7 @@ func _1694692748_add_raw_balance_to_token_balancesUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 165, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 165, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0xe0, 0x5b, 0x42, 0xf0, 0x96, 0xa5, 0xf5, 0xed, 0xc0, 0x97, 0x88, 0xb0, 0x6d, 0xfe, 0x7d, 0x97, 0x2e, 0x17, 0xd2, 0x16, 0xbc, 0x2a, 0xf2, 0xcc, 0x67, 0x9e, 0xc5, 0x47, 0xf6, 0x69, 0x1}} return a, nil } @@ -193,7 +194,7 @@ func _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSq return nil, err } - info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 275, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 275, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x2, 0xa, 0x7f, 0x4b, 0xd1, 0x3, 0xd0, 0x3, 0x29, 0x84, 0x31, 0xed, 0x49, 0x4f, 0xb1, 0x2d, 0xd7, 0x80, 0x41, 0x5b, 0xfa, 0x6, 0xae, 0xb4, 0xf6, 0x6b, 0x49, 0xee, 0x57, 0x33, 0x76}} return a, nil } @@ -213,7 +214,7 @@ func _1695932536_balance_history_v2UpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 653, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 653, mode: os.FileMode(0644), modTime: time.Unix(1697205306, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x37, 0xf4, 0x14, 0x91, 0xf6, 0x5f, 0xc4, 0x9b, 0xb7, 0x83, 0x32, 0x72, 0xbe, 0x82, 0x42, 0x39, 0xa4, 0x3b, 0xc9, 0x78, 0x3d, 0xca, 0xd4, 0xbf, 0xfc, 0x7a, 0x33, 0x1e, 0xcd, 0x9e, 0xe4, 0x85}} return a, nil } @@ -233,7 +234,7 @@ func _1696853635_input_dataUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 23140, mode: os.FileMode(0644), modTime: time.Unix(1698231578, 0)} + info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 23140, mode: os.FileMode(0644), modTime: time.Unix(1698107690, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x89, 0x30, 0x33, 0x33, 0x55, 0xc5, 0x57, 0x2b, 0xaf, 0xef, 0x3d, 0x8d, 0x2a, 0xaa, 0x5c, 0x32, 0xd1, 0xf4, 0xd, 0x4a, 0xd0, 0x33, 0x4a, 0xe8, 0xf6, 0x8, 0x6b, 0x65, 0xcc, 0xba, 0xed, 0x42}} return a, nil } @@ -253,7 +254,7 @@ func _1698117918_add_community_id_to_tokensUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1698117918_add_community_id_to_tokens.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1698663299, 0)} + info := bindataFileInfo{name: "1698117918_add_community_id_to_tokens.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1698344993, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x82, 0xdb, 0xde, 0x3, 0x3, 0xc, 0x67, 0xf3, 0x54, 0xc4, 0xad, 0xd6, 0xce, 0x56, 0xfb, 0xc1, 0x87, 0xd7, 0xda, 0xab, 0xec, 0x1, 0xe1, 0x7d, 0xb3, 0x63, 0xd6, 0xe5, 0x5d, 0x1c, 0x15}} return a, nil } @@ -273,7 +274,7 @@ func _1698257443_add_community_metadata_to_wallet_dbUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1698257443_add_community_metadata_to_wallet_db.up.sql", size: 323, mode: os.FileMode(0644), modTime: time.Unix(1698663299, 0)} + info := bindataFileInfo{name: "1698257443_add_community_metadata_to_wallet_db.up.sql", size: 323, mode: os.FileMode(0644), modTime: time.Unix(1698415067, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x22, 0xd3, 0x4, 0x25, 0xfa, 0x23, 0x1, 0x48, 0x83, 0x26, 0x20, 0xf2, 0x3d, 0xbc, 0xc1, 0xa7, 0x7c, 0x27, 0x7c, 0x1d, 0x63, 0x3, 0xa, 0xd0, 0xce, 0x47, 0x86, 0xdc, 0xa1, 0x3c, 0x2, 0x1c}} return a, nil } @@ -293,7 +294,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694623803, 0)} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1694703777, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}} return a, nil } @@ -389,33 +390,38 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1691753758_initial.up.sql": _1691753758_initialUpSql, - "1692701329_add_collectibles_and_collections_data_cache.up.sql": _1692701329_add_collectibles_and_collections_data_cacheUpSql, - "1692701339_add_scope_to_pending.up.sql": _1692701339_add_scope_to_pendingUpSql, - "1694540071_add_collectibles_ownership_update_timestamp.up.sql": _1694540071_add_collectibles_ownership_update_timestampUpSql, - "1694692748_add_raw_balance_to_token_balances.up.sql": _1694692748_add_raw_balance_to_token_balancesUpSql, + "1691753758_initial.up.sql": _1691753758_initialUpSql, + + "1692701329_add_collectibles_and_collections_data_cache.up.sql": _1692701329_add_collectibles_and_collections_data_cacheUpSql, + + "1692701339_add_scope_to_pending.up.sql": _1692701339_add_scope_to_pendingUpSql, + + "1694540071_add_collectibles_ownership_update_timestamp.up.sql": _1694540071_add_collectibles_ownership_update_timestampUpSql, + + "1694692748_add_raw_balance_to_token_balances.up.sql": _1694692748_add_raw_balance_to_token_balancesUpSql, + "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql, - "1695932536_balance_history_v2.up.sql": _1695932536_balance_history_v2UpSql, - "1696853635_input_data.up.sql": _1696853635_input_dataUpSql, - "1698117918_add_community_id_to_tokens.up.sql": _1698117918_add_community_id_to_tokensUpSql, - "1698257443_add_community_metadata_to_wallet_db.up.sql": _1698257443_add_community_metadata_to_wallet_dbUpSql, + + "1695932536_balance_history_v2.up.sql": _1695932536_balance_history_v2UpSql, + + "1696853635_input_data.up.sql": _1696853635_input_dataUpSql, + + "1698117918_add_community_id_to_tokens.up.sql": _1698117918_add_community_id_to_tokensUpSql, + + "1698257443_add_community_metadata_to_wallet_db.up.sql": _1698257443_add_community_metadata_to_wallet_dbUpSql, + "doc.go": docGo, } -// AssetDebug is true if the assets were built with the debug flag enabled. -const AssetDebug = false - // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and @@ -448,17 +454,17 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1691753758_initial.up.sql": {_1691753758_initialUpSql, map[string]*bintree{}}, - "1692701329_add_collectibles_and_collections_data_cache.up.sql": {_1692701329_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, - "1692701339_add_scope_to_pending.up.sql": {_1692701339_add_scope_to_pendingUpSql, map[string]*bintree{}}, - "1694540071_add_collectibles_ownership_update_timestamp.up.sql": {_1694540071_add_collectibles_ownership_update_timestampUpSql, map[string]*bintree{}}, - "1694692748_add_raw_balance_to_token_balances.up.sql": {_1694692748_add_raw_balance_to_token_balancesUpSql, map[string]*bintree{}}, - "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": {_1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, - "1695932536_balance_history_v2.up.sql": {_1695932536_balance_history_v2UpSql, map[string]*bintree{}}, - "1696853635_input_data.up.sql": {_1696853635_input_dataUpSql, map[string]*bintree{}}, - "1698117918_add_community_id_to_tokens.up.sql": {_1698117918_add_community_id_to_tokensUpSql, map[string]*bintree{}}, - "1698257443_add_community_metadata_to_wallet_db.up.sql": {_1698257443_add_community_metadata_to_wallet_dbUpSql, map[string]*bintree{}}, - "doc.go": {docGo, map[string]*bintree{}}, + "1691753758_initial.up.sql": &bintree{_1691753758_initialUpSql, map[string]*bintree{}}, + "1692701329_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1692701329_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, + "1692701339_add_scope_to_pending.up.sql": &bintree{_1692701339_add_scope_to_pendingUpSql, map[string]*bintree{}}, + "1694540071_add_collectibles_ownership_update_timestamp.up.sql": &bintree{_1694540071_add_collectibles_ownership_update_timestampUpSql, map[string]*bintree{}}, + "1694692748_add_raw_balance_to_token_balances.up.sql": &bintree{_1694692748_add_raw_balance_to_token_balancesUpSql, map[string]*bintree{}}, + "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": &bintree{_1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}}, + "1695932536_balance_history_v2.up.sql": &bintree{_1695932536_balance_history_v2UpSql, map[string]*bintree{}}, + "1696853635_input_data.up.sql": &bintree{_1696853635_input_dataUpSql, map[string]*bintree{}}, + "1698117918_add_community_id_to_tokens.up.sql": &bintree{_1698117918_add_community_id_to_tokensUpSql, map[string]*bintree{}}, + "1698257443_add_community_metadata_to_wallet_db.up.sql": &bintree{_1698257443_add_community_metadata_to_wallet_dbUpSql, map[string]*bintree{}}, + "doc.go": &bintree{docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. @@ -475,7 +481,7 @@ func RestoreAsset(dir, name string) error { if err != nil { return err } - err = os.WriteFile(_filePath(dir, name), data, info.Mode()) + err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err }