Implement loading/saving multi and single select

This commit is contained in:
Benedikt Kulmann committed 2020-05-07 17:57:09 +02:00
1 parent d6cd343b62
commit 03f7c8dd7d
8 files changed
+354 -334

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2020-05-07 11:29:47.878208 +0200 CEST m=+0.030460800" from config file "embed.yml" DO NOT EDIT.
// modification hash(228ccc34c847c53c8dbe6d8a82a1eabc.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2020-05-07 17:56:15.607269 +0200 CEST m=+0.030361965" from config file "embed.yml" DO NOT EDIT.
// modification hash(50e53eb1c58842b41723424b23f9fbf0.8058aec596c5fb73022d09bb97af796e)
package assets
@@ -36,7 +36,7 @@ type HTTPFS struct {
}
// FileSettingsJs is "settings.js"
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\xe9\x96\xdb\x38\xb2\x28\x0a\xff\xfe\xf6\x53\x48\xdc\x3e\xdc\xc0\xce\x48\x96\xe4\xea\xaa\x3e\x4d\x15\xac\xb6\xd3\x43\xb9\x3c\xa5\x33\x6d\xd7\xa0\xd6\xca\xc5\x94\xa0\x14\x9c\x14\x20\x83\x50\x0e\x16\x79\xde\xe7\x7b\x8d\xfb\x64\x77\x61\xe2\x24\x2a\xed\xea\xae\xbe\xdd\xf7\xdc\x53\x6b\x95\x53\x24\x31\x06\x02\x31\x21\x10\x31\xa7\x0b\xc6\x29\x42\x8b\x0d\x9f\x29\x26\x38\xc2\xdb\x60\x93\xd1\x5e\xa6\x24\x9b\xa9\x60\x74\x95\xc8\x9e\x22\xc1\x86\xdb\x82\xf3\xa0\x4f\xd4\xed\x9a\x8a\x45\xef\x22\x15\xe7\x49\xfa\x6e\xc9\xb2\x71\xf5\x33\xee\x2a\x79\xcd\xf8\x5c\x5c\x8f\xed\x9f\xce\x12\xb6\x01\xd7\x4e\x67\x89\x8c\xa6\x8b\xb1\xfe\x27\xde\x16\x23\x3f\xd8\x1e\x45\x0a\x28\xde\x4a\xaa\x36\x92\xf7\x14\xa2\x64\x4b\x6f\xd6\x42\xaa\x2c\xde\x16\x05\xd0\xc8\x3d\xe1\xea\x67\xa1\x67\xc4\x49\x7d\xca\x0a\x6f\xf5\x4b\x4a\x76\xdf\xbc\x39\xff\x48\x67\x2a\x5a\x4b\xa1\x84\x1e\x09\x70\x42\xa3\x65\x92\xbd\xb9\xe6\xc7\x52\xac\xa9\x54\xb7\x20\x49\xe0\x2b\x06\xc4\x8f\xf7\xf4\x76\x75\x2e\xd2\xb1\xfd\x13\x6f\x0b\x10\x44\x46\x4c\x51\x99\x28\x21\xf3\x3c\xf8\xeb\x5f\xfd\x43\x00\x8c\xc8\x28\xc9\x6e\xf9\xec\x79\xfd\x7b\xe3\x4d\x00\x09\x91\x91\x12\xa7\x4a\x32\x7e\xf1\x2e\xb9\x30\x45\x6a\xcf\x41\x05\x94\x4c\x03\x05\x38\x48\x3b\x09\x41\x68\x18\xd2\x6a\x0a\x3d\xc6\x33\x95\xf0\x99\x1e\x65\x3a\xa6\x71\x0a\xcc\x4f\x73\x26\x69\xa2\x28\x12\x55\x61\x0c\x09\xe1\xf4\xba\x77\x8a\x64\x9e\x4f\xa6\x78\xe4\x40\xcd\xa2\x33\xc6\xaf\xc4\x65\x1d\x66\xba\x53\xdb\xa5\x24\x41\xb6\xc9\xd6\x94\xcf\xe9\xfc\x54\x25\x52\x05\xbe\x5e\x59\x5a\x00\xc3\x5b\xb6\x40\x01\xbd\xa1\xb3\x8d\x62\xfc\x22\x20\x84\x48\xac\x96\x52\x5c\xf7\x74\x97\x4f\xa4\x14\x12\x05\xcf\x28\xb7\x20\xe8\xb1\xac\x97\xa4\x92\x26\xf3\xdb\x9e\xdc\x70\xae\xab\xe0\x91\x6e\x62\x26\x56\xeb\x94\x2a\x3a\xb7\x4d\x98\x66\x4d\x3b\xfa\x59\xb8\x26\x99\x1f\xc2\x0d\xc2\xc5\x42\x48\xc4\xa3\x15\x55\x4b\x31\x27\x02\x78\x94\xc8\x0b\xc2\x46\x23\x3b\xfc\x84\xf0\x68\x4e\x53\x7a\x91\x28\xaa\x3b\x48\xec\xeb\x8c\x9c\xa3\x04\xb8\xe9\x33\x33\xbd\x64\x84\x90\x19\x9e\x09\xae\x18\xdf\x50\xdf\x41\x56\x14\x7a\x04\x9c\xde\x28\x3d\x00\xdf\x0f\xe6\x51\x46\xb9\x22\x3c\x3a\x73\x7f\x13\x79\x31\xa2\x69\x46\x7b\x8d\x01\x97\xe5\xcd\x3c\x5a\x70\xac\xc1\x48\x92\xda\xc4\xed\x14\x46\x3c\x9a\xb3\x6c\x9d\xa8\xd9\xf2\xc9\xcd\x8c\xae\x0d\xa4\xcd\x17\x5c\xe8\x8e\x02\x3b\xc2\x7a\x2f\x61\xc8\xa3\xe4\x5c\x6e\xd6\x0a\xf9\xaf\xb6\x2d\x3c\x92\xa4\xb6\x38\x86\x10\xa4\x64\xe3\x96\xd9\xc0\x9d\x0b\xb9\x4a\x52\xdd\x5a\x1a\x19\x64\xd1\x23\x96\x1a\x78\x82\xd3\x71\x6d\x74\x71\x35\x8d\x5f\x19\x4d\xe7\x01\xa4\x06\xe2\x1d\xd0\xdb\x5e\x25\xe9\x86\xc6\xe6\x3b\xe8\x76\x62\xdb\x5c\x51\x54\x10\xb2\xbd\x85\x21\x6a\x83\xc0\x2d\xa8\x2b\xe9\x96\x35\xb5\xf3\x2f\x0a\xa4\x80\x43\x82\x81\x15\xe5\x56\xf1\xd3\xd9\x2a\x79\xeb\xa8\xc8\x56\xb7\x1d\xfb\xb9\x41\x22\x2f\x62\x15\xcd\x92\x34\x45\xba\x60\x51\xcc\x34\x74\x35\x81\x68\x14\x77\x3d\x9a\xd2\x45\x51\xa8\xe8\x5a\x26\x6b\x92\x19\xa8\xcd\x48\x9d\x64\xa5\x08\x6f\xab\x01\x2c\x1a\x4f\x73\xfd\xa4\xab\xac\x75\x95\xf5\x44\x4c\x49\x8d\x2e\x7b\x2a\xb7\x64\x59\x61\x1a\x5e\xfa\x7d\x7b\x41\xd5\xb1\xdf\xb1\x6f\x16\x70\x45\x96\x61\xb8\x44\x4b\xf4\x04\x4d\xa6\x18\xe3\xd1\x55\x18\x5e\xf5\x89\xa6\x03\xdc\x4e\xe5\x0a\x04\x0e\x43\xb4\x26\x57\xd8\xb4\x74\x4b\xe6\xd5\x9e\x27\x69\xed\x77\x93\x32\xac\x71\x35\x91\x0b\x0d\x84\x89\x45\x73\xf0\x00\xf0\x38\x34\x8d\x16\x42\x3e\x49\x66\xcb\x1a\x99\xa5\x78\xab\x26\x74\xda\xa0\xb2\xb5\x39\x79\x8a\x82\x28\x28\x5c\x14\x18\x57\x70\x59\x59\x32\x6f\x48\xcb\xa8\x5e\x96\x34\xe9\x49\x59\x21\xa9\xc0\xa5\x49\x49\x9d\xd8\x4b\x48\xf0\xb6\x5f\x96\x94\xba\x26\x24\x90\xd9\xe6\x67\x1a\xc3\x27\x62\x0a\x0a\x98\x45\x72\x3b\xb1\x3e\x21\x33\x87\xe3\x76\x23\xcc\x0c\x82\x2e\x48\x1a\x19\x84\x2d\xe9\x5b\x18\x06\xc2\x80\xac\x62\x05\x8b\x12\xec\x0b\x08\xce\xce\x92\xeb\x84\xa9\x00\x8f\x69\x24\x69\x26\xd2\x2b\x8a\x16\x91\x7b\x8b\x23\xb5\xa4\xbc\xc9\x99\xa4\xa3\x24\xa0\xcc\x28\x0b\x0c\xed\xcf\x0e\xf4\xfe\x3b\x8e\x6b\x2d\x77\xb5\xe8\x86\x4c\x14\x24\x28\xdd\x6d\xd0\x4e\xa4\xa3\xdd\x22\x43\x33\xbb\x97\x0c\xcc\x34\x20\xf5\x5b\x5f\x81\xc8\xb1\xb4\xbd\x25\x90\xe0\x38\x41\xb8\xa8\x56\xf0\xbc\x5a\x41\x4e\x54\xc9\x08\x27\xd4\xed\xd9\xa9\x86\xf5\x95\x60\xf3\xde\x40\x13\x27\x43\x49\x68\x49\x84\x09\xdf\xa4\x29\x54\x04\x80\xd6\x49\x64\xd5\x5a\x64\x87\x12\x86\x88\x96\xa4\xc0\xd3\x34\x6a\x68\x81\xed\x01\xec\x68\xba\x1a\xc4\x6e\x36\xb3\x11\x6d\x53\x13\xdb\x82\x46\xa7\x77\xb7\x6b\xea\xb8\xd3\xbb\x25\xed\xf9\xee\x7b\x73\x41\xb3\x1e\x17\xaa\xb7\x96\xe2\x8a\xcd\x69\x2f\xe9\xfd\x97\xa9\xfc\x5f\x3d\xdb\x56\x50\x42\x6b\x56\x58\x3e\xb9\x41\x1c\xaa\x09\xd8\x3e\xea\x78\xa7\xe9\xbd\xc5\x3b\x57\x71\xcf\xb0\xa4\x41\xc7\x36\xc4\x66\x23\x2b\x00\x98\xaf\x1e\x45\xc5\x58\x58\x02\x8d\xe8\x44\x69\x4c\xd9\xa4\xea\x75\xb2\xa2\x53\x22\x2c\x62\x00\x8d\x34\xc6\x11\x65\xfe\xbc\x14\xb3\x72\x57\xf7\x2b\x48\x35\x80\x6c\x11\xb4\x0e\x62\xbc\x3b\x16\x1c\x8b\x18\x7d\x1d\x54\x4b\x88\xda\xd1\x69\xce\xaf\xc1\x9a\xf0\x9e\xdb\x5b\x5d\xcd\x57\xc8\x76\x5d\xc9\x6f\x9a\xb0\xbf\x14\xb3\x58\x4d\x06\xd3\x62\x34\xec\x31\xde\x53\x66\xe8\x86\x8c\xbf\xLine truncated
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\xe9\x96\xdb\x38\x96\x28\x0a\xff\xfe\xce\x53\x48\x6c\x1f\x36\xd0\xb1\x83\x96\x9c\x95\x59\xa7\xa8\x84\x55\x9e\xd3\x69\x87\xa7\x08\x3b\xd3\xa9\xd2\x8a\xc5\x90\xa0\x10\x1c\x14\x20\x83\x50\x0c\x16\x79\xde\xe7\x7b\x8d\xfb\x64\x77\x61\xe2\x24\x2a\xec\xac\xca\xbe\x9d\xf7\xdc\xf6\x5a\x0e\x91\x20\x66\x6c\xec\x19\x1b\x73\xba\x60\x9c\x22\xb4\xd8\xf0\x99\x62\x82\x23\xbc\x0d\x36\x19\xed\x65\x4a\xb2\x99\x0a\x46\x97\x89\xec\x29\x12\x6c\xb8\xcd\x38\x0f\xfa\x44\xdd\xac\xa9\x58\xf4\xce\x53\x71\x96\xa4\x27\x4b\x96\x8d\xab\xc7\xb8\x2b\xe7\x15\xe3\x73\x71\x35\xb6\x3f\x9d\x39\x6c\x05\xae\x9e\xce\x1c\x19\x4d\x17\x63\xfd\x27\xde\x16\x23\xdf\xd9\x1e\x45\x0a\x28\xde\x4a\xaa\x36\x92\xf7\x14\xa2\x64\x4b\xaf\xd7\x42\xaa\x2c\xde\x16\x05\xd0\xc8\xbd\xe1\xea\xb1\xd0\x23\xe2\xa4\x3e\x64\x85\xb7\x3a\x91\x92\xdd\x94\xd7\x67\x9f\xe8\x4c\x45\x6b\x29\x94\xd0\x3d\x01\x4e\x68\xb4\x4c\xb2\xd7\x57\xfc\x8d\x14\x6b\x2a\xd5\x0d\x48\x12\xf8\x82\x01\xf1\xfd\x3d\xbe\x59\x9d\x89\x74\x6c\x7f\xe2\x6d\x01\x8c\xc8\x88\x29\x2a\x13\x25\x64\x9e\x07\x7f\xff\xbb\x7f\x09\x40\x10\x19\x25\xd9\x0d\x9f\x3d\xaf\x7f\x6f\xa4\x04\x90\x10\x19\x29\x71\xac\x24\xe3\xe7\x27\xc9\xb9\xc9\x52\x7b\x0f\xaa\x49\xc9\xf4\xa4\x00\x07\x69\x07\xc1\x08\x0d\x43\x5a\x0d\xa1\xc7\x78\xa6\x12\x3e\xd3\xbd\x4c\xc7\x34\x4e\x41\xf8\x61\xce\x24\x4d\x14\x45\xac\xca\x8c\x21\x21\x9c\x5e\xf5\x8e\x91\xcc\xf3\xc9\x14\x8f\xdc\x54\x8b\xe8\x94\xf1\x4b\x71\x51\x9f\x33\xdd\xa8\x6d\x52\x92\x20\xdb\x64\x6b\xca\xe7\x74\x7e\xac\x12\xa9\x02\x5f\xae\xcc\xcd\x40\xe0\x2d\x5b\xa0\x80\x5e\xd3\xd9\x46\x31\x7e\x1e\x10\x42\x24\x56\x4b\x29\xae\x7a\xba\xc9\x27\x52\x0a\x89\x82\x67\x94\xdb\x29\xe8\xb1\xac\x97\xa4\x92\x26\xf3\x9b\x9e\xdc\x70\xae\x8b\xe0\x91\xae\x62\x26\x56\xeb\x94\x2a\x3a\xb7\x55\x98\x6a\x4d\x3d\xfa\x9d\xb9\x2a\x85\xef\xc2\x35\xc2\xc5\x42\x48\xc4\xa3\x15\x55\x4b\x31\x27\x0c\x78\x94\xc8\x73\x22\x46\x23\xdb\xfd\x84\xf0\x68\x4e\x53\x7a\x9e\x28\xaa\x1b\x48\x6c\x72\x46\xce\x50\x02\xdc\xb4\x99\x99\x56\x32\x42\xc8\x0c\xcf\x04\x57\x8c\x6f\xa8\x6f\x20\x2b\x0a\xdd\x03\x4e\xaf\x95\xee\x80\x6f\x07\xf3\x28\xa3\x5c\x11\x1e\x9d\xba\xdf\x44\x9e\x8f\x68\x9a\xd1\x5e\xa3\xc3\x65\x7e\x33\x8e\xd6\x3c\xd6\xe6\x48\x92\xda\xc0\xed\x10\x46\x3c\x9a\xb3\x6c\x9d\xa8\xd9\xf2\xc9\xf5\x8c\xae\xcd\x4c\x9b\x2f\xb8\xd0\x0d\x05\xb6\x87\xf5\x56\xc2\x90\x47\xc9\x99\xdc\xac\x15\xf2\x5f\x6d\x5d\x78\x24\x49\x6d\x71\x0c\x22\x48\xc9\xc6\x2d\xb3\x99\x77\x2e\xe4\x2a\x49\x75\x6d\x69\x64\x80\x45\xf7\x58\xea\xc9\x13\x9c\x8e\x6b\xbd\x8b\xab\x61\x7c\x64\x34\x9d\x07\x90\x9a\x19\xef\x98\xbd\xed\x65\x92\x6e\x68\x6c\xbe\x83\xae\x27\xb6\xd5\x15\x45\x35\x43\xb6\xb5\x30\x44\xed\x29\x70\x0b\xea\x72\xba\x65\x4d\xed\xf8\x8b\x02\x29\xe0\x90\x60\x10\x45\xb9\x55\xfc\x70\xb6\x4a\xde\x38\x2c\xb2\xd5\x75\xc7\x7e\x6c\x90\xc8\xf3\x58\x45\xb3\x24\x4d\x91\xce\x58\x14\x33\x3d\xbb\x1a\x41\x34\xb2\xbb\x16\x4d\xee\xa2\x28\x54\x74\x25\x93\x35\xc9\xcc\xac\xcd\x48\x1d\x65\xa5\x08\x6f\xab\x0e\x2c\x1a\x6f\x73\xfd\xa6\x8b\xac\x75\x91\xf5\x84\x4d\x49\x0d\x2f\x7b\x2c\xb7\x64\x59\x61\x2a\x5e\xfa\x7d\x7b\x4e\xd5\x1b\xbf\x63\x5f\x2f\xe0\x92\x2c\xc3\x70\x89\x96\xe8\x09\x9a\x4c\x31\xc6\xa3\xcb\x30\xbc\xec\x13\x8d\x07\xb8\x1d\xca\x25\x30\x1c\x86\x68\x4d\x2e\xb1\xa9\xe9\x86\xcc\xab\x3d\x4f\xd2\xda\x73\x13\x33\xac\x71\x35\x90\x73\x3d\x09\x13\x0b\xe6\xe0\x27\xc0\xc3\xd0\x34\x5a\x08\xf9\x24\x99\x2d\x6b\x68\x96\xe2\xad\x9a\xd0\x69\x03\xcb\xd6\xc6\xe4\x31\x0a\xa2\xa0\x70\x51\x60\x5c\xcd\xcb\xca\xa2\x79\x83\x5a\x46\xf5\xbc\xa4\x89\x4f\xca\x02\x49\x35\x5d\x1a\x95\xd4\x91\xbd\x84\x04\x6f\xfb\x65\x4e\xa9\x4b\x42\x02\x99\xad\x7e\xa6\x21\x7c\xc2\xa6\xa0\x40\x58\x20\xb7\x03\xeb\x13\x32\x73\x30\x6e\x37\xc2\xcc\x00\xe8\x82\xa4\x91\x01\xd8\x12\xbf\x85\x61\x20\xcc\x94\x55\xa4\x60\x51\x4e\xfb\x02\x82\xd3\xd3\xe4\x2a\x61\x2a\xc0\x63\x1a\x49\x9a\x89\xf4\x92\xa2\x45\xe4\x52\x71\xa4\x96\x94\x37\x29\x93\x74\x98\x04\x94\xe9\x65\x81\xa1\xfd\xd9\x4d\xbd\xff\x8e\xe3\x5a\xcd\x5d\x35\xba\x2e\x13\x05\x09\x4a\x77\x2b\xb4\x03\xe9\xa8\xb7\xc8\xd0\xcc\xee\x25\x33\x67\x7a\x22\x75\xaa\x2f\x40\xe4\x58\xda\xd6\x12\x48\x70\x9c\x20\x5c\x54\x2b\x78\x56\xad\x20\x27\xaa\x24\x84\x13\xea\xf6\xec\x54\xcf\xf5\xa5\x60\xf3\xde\x40\x23\x27\x83\x49\x68\x89\x84\x09\xdf\xa4\x29\x54\x08\x80\xd6\x51\x64\x55\x5b\x64\xbb\x12\x86\x88\x96\xa8\xc0\xe3\x34\x6a\x70\x81\x6d\x01\x6c\x6f\xba\x2a\xc4\x6e\x34\xb3\x11\x6d\x63\x13\x5b\x83\x06\xa7\x93\x9b\x35\x75\xd4\xe9\x64\x49\x7b\xbe\xf9\xde\x5c\xd0\xac\xc7\x85\xea\xad\xa5\xb8\x64\x73\xda\x4b\x7a\xff\x6e\x0a\xff\x7b\xcf\xd6\x15\x94\xb3\x35\x2b\x2c\x9d\xdc\x20\x0e\xd5\x00\x6c\x1b\x75\xb8\xd3\xf8\xde\xc2\x9d\x2b\xb8\xa7\x5b\xd2\x80\x63\x7b\xc6\x66\x23\xcb\x00\x98\xaf\x1e\x44\xd9\x98\x59\x04\x8d\xe8\x44\x69\x48\xd9\xa4\xea\x55\xb2\xa2\x53\xc2\x2c\x60\x00\x8d\x34\xc4\x11\x65\x7e\x5e\x8a\x59\xb9\xab\xfb\xd5\x4c\x35\x26\xd9\x02\x68\x7d\x8a\xf1\x6e\x5f\x70\xcc\x62\xf4\x6d\xb3\x5a\xce\xa8\xed\x9d\xa6\xfc\x7a\x5a\x13\xde\x73\x7b\xab\xab\xfa\x0a\xd8\xae\x2a\xfe\x4d\x23\xf6\x97\x62\x16\xab\xc9\x60\x5a\x8c\x86\x3d\xc6\x7b\xca\x74\xdd\xa0\xf1\x97\xLine truncated
// FileSettingsJsMap is "settings.js.map"
var FileSettingsJsMap = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xbd\x89\x76\x1b\xb9\xd1\x30\xfa\x2a\xb0\x32\xbf\x49\x8e\xb9\x58\xe3\xd9\x42\x45\x71\x1c\x5b\xf6\x28\xb1\x2d\xff\x96\xc6\xf9\x72\x25\x1d\x19\x64\x83\x24\x46\xcd\x06\xd3\x68\x4a\x66\x6c\x7d\xef\x73\x5f\xe3\x3e\xd9\x3d\xa8\x2a\x6c\xbd\x50\xa4\xe4\xf9\x96\xc9\x39\xb1\x88\x06\x0a\x40\xa1\x50\x28\xd4\x86\xcf\x3b\x57\x22\xd7\x52\x65\x3b\xc3\x27\xdd\x9d\x89\x4c\xc5\xce\x70\x47\x8b\xa2\x90\xd9\x54\xf7\x7f\xd3\x3b\xdd\x1d\xad\x96\xf9\x58\xe8\x9d\xe1\xe9\x4e\xbf\x3f\xc8\x54\x22\x2e\xe6\x2a\x59\xa6\x42\x0f\x72\x31\x15\x99\xc8\x79\xa1\xf2\x5e\xbe\xcc\x0a\x39\x17\x03\xfa\x17\xdb\x96\x1b\x8c\x55\x2e\x7a\xbf\xe9\x81\xcc\x0a\x91\x67\x3c\xd5\x83\x69\xaa\x46\x3c\xdd\xb4\xf6\x84\xcb\x54\x6f\x5a\x39\x11\x7a\x9c\xcb\x45\xa1\xf2\x8d\x9b\xa8\xd1\x6f\x62\x5c\xf4\x16\xb9\x5a\x88\xbc\x58\xf5\xa4\xee\x89\x6c\x39\x17\x39\x1f\xa5\x1b\x4f\x69\x9c\x0b\x5e\x08\x0f\xc4\x8f\x63\x63\x08\x29\xd7\x5a\x4d\x7a\x39\xbf\xde\xb4\x89\xcc\x12\xf1\x49\x24\x3d\x9c\xc1\xa6\xad\x72\xf1\xaf\xa5\xcc\x05\xb5\xea\x8d\x95\xc8\xc7\x72\x8b\xa9\x16\xaa\x77\xb7\x8e\xa5\xde\xb2\x41\xa1\x7a\x8b\x5c\xce\x65\x21\xaf\x36\x1e\xdd\x8c\x6f\x4e\x2b\x6a\xbc\x9c\x8b\xac\xe8\xd1\xe2\x89\x54\x98\x9f\x1b\x4f\x47\xfc\xdc\x4b\xd4\xbc\x97\x88\x89\xcc\x36\x1e\x1f\x61\x7d\x2a\x8a\x9e\xba\xce\xee\x43\x30\x3c\xdb\x12\x9d\xd4\x35\x8e\xd7\xf5\xbc\x25\x85\x67\x2a\x0b\xb6\xc7\xd6\x50\xb4\x28\x7a\xdb\x6d\x7f\x3d\xe3\xb9\x48\x7a\xba\x50\xf9\xc6\x48\x96\x99\x5e\x98\xa9\x22\x1b\xdb\xb4\x55\xc6\x0d\xa1\xf5\xae\x05\xbf\xec\xcd\xf9\x62\xbb\x01\x6e\x5a\x7b\x29\x37\xae\x4a\x33\xbf\x14\x1b\x63\x77\x26\x93\x44\x64\xa6\xc5\xc6\x9b\xc0\xfe\xd5\xd3\x05\x2f\x36\x46\x55\x2e\xb6\xa3\xfa\x05\x2f\x66\x1b\x9f\x0e\xa2\xe8\x8d\x96\x32\x2d\x7a\x32\xdb\x8a\x27\x15\x62\x2a\x36\xde\x3d\x85\xea\xa5\x22\x9b\x6e\x3e\xac\x42\xf5\xf8\x48\xab\x74\x59\x08\xe4\x7f\x1b\xef\xd3\x3c\xe7\xab\x9e\xcc\xc6\xe9\x32\x11\xdb\x9e\x4a\x66\x29\x7b\xb6\x74\xd3\xb6\x66\x7f\xf6\x46\xcb\xe9\x56\x84\xd0\xc4\x98\x32\x3e\xdf\x7a\xd4\x15\x20\x7a\x35\x1f\xa9\xcd\x4f\x71\xd3\x76\x9b\xb1\x8f\xd5\x62\xd5\x1b\xab\x4c\x17\xf9\x72\x6c\x04\x13\xea\x58\x6e\x3e\x72\xa9\x7b\x13\x95\x8f\x37\xdf\xc8\xe2\xd3\x42\xe5\x1b\xf3\x5e\xe2\x2d\x88\x87\x8d\x79\x85\xb6\x2d\x7a\x5c\xf7\xb6\xe0\x1c\x52\xf7\x80\xea\xb6\xa0\xed\x3b\x1d\x25\x77\xa0\xaf\xf8\xf4\xd9\x62\x81\x66\xc5\x7c\x63\xc4\x59\xd1\x06\x8e\xac\xaf\xb2\x01\x7a\xe2\xd3\x76\x7b\xf0\x5a\xa4\x69\xef\x32\x33\x90\xb6\x5b\xf4\x4a\xc3\xde\x75\xce\x17\x8b\xcd\x09\x93\x30\x7c\xe7\x01\x98\x23\xba\x50\x3d\x5d\xe4\x32\x9b\xf6\x0a\x3e\xdd\x98\xd1\xf5\x26\xcb\x6c\x5c\x48\xb5\x31\xdb\xb6\xf5\x7b\x23\x99\x25\x66\x03\x17\xe2\xd3\xc6\x34\x88\x7c\xd5\x1c\xf4\x52\xe8\x2d\xd7\x9a\x78\x72\x61\xee\x31\xb7\x8e\xd7\xfe\x16\xba\xbf\x1d\x26\x45\x36\x35\x2b\xb1\xd4\x22\xef\xf1\xe9\x16\xa2\x25\x35\xbc\xfa\xb9\x47\x37\xb5\xed\xe6\x35\x17\xc5\x4c\x25\xbd\x19\xd7\x0e\x3d\x7a\xb9\xd8\x86\x5d\x45\x70\x96\x5a\xe8\xde\x86\xe7\x65\x80\x2b\xe4\x40\x13\x99\x16\x9b\x9f\xca\x51\xbf\x52\x03\x11\x6e\xce\x95\xb0\xf5\x44\xe5\x3d\xc1\xc7\x5b\x0f\x74\xdb\x66\xc4\x31\xbf\x82\x24\x5f\xba\x3c\x7e\xc5\x11\xdc\xc2\x5d\xab\xb0\xb6\xe1\xe8\xe6\xf2\x03\x5b\x68\x94\xde\xc6\xc6\xed\xef\x6b\x31\xea\x9b\x66\x63\x95\xa6\x02\xb6\xbe\xbe\x05\xf1\x7f\x19\xf1\x91\x48\x07\x4e\xd3\xe0\xb5\x0f\x83\x35\x52\x58\xa9\xd5\x4c\xa4\x0b\x91\xeb\x01\xd7\xab\x6c\x7c\xa2\x5e\x59\x10\x5b\x35\x46\xbe\xfa\x6e\xed\x22\xe5\x2a\x4d\x97\x8b\xde\x22\x5d\x4e\x65\xd6\x33\x9f\xe8\xb6\xa3\x07\x3a\x1f\xaf\x55\x7c\x5c\x2d\xc5\xa7\x41\x22\x75\x01\x7f\xf5\x85\x9e\xbb\x7a\x4b\x39\x18\xab\xf9\x42\x65\x22\x2b\xf4\xe0\x98\x34\x35\xcf\x16\x8b\xfe\xd5\x52\xd4\x83\xb2\xaa\x99\x9e\x1b\xbd\x81\x9c\xa9\x7c\xce\x53\xf9\x6f\xd1\x73\xf0\xfa\xf3\x4d\x89\x94\xa7\x69\xef\x5a\x16\xb3\x9e\xe6\x13\xe1\x79\x67\x6f\x9c\x2a\x2d\xb3\x8d\x4f\x09\x6c\xb8\x85\x7e\xc6\x0a\x33\x3d\xdb\x92\xf8\xc3\x16\xc2\x8d\x3f\xcb\xb6\x65\x84\xa4\x95\xd9\xe6\xee\x72\xc7\x61\x12\xf3\xca\xd5\x7c\xe3\xb1\xcd\xc4\xf8\xb2\x37\x56\x79\x2e\xc6\x45\x26\xb4\xee\xa9\xc9\x1d\xce\x34\x62\x7f\x5b\x74\xcc\x93\xc4\x9c\x07\xcb\x4c\x8f\xd5\x62\x83\xdd\x1f\x0a\xea\x30\x58\xc3\xaa\x0a\x55\xac\x16\xc2\x88\x5b\x5b\x9c\x0f\x81\x8c\xe6\x41\x6c\xbe\x3c\x8e\xf6\x0c\xd6\xb6\xd5\xed\xb9\x75\x0d\x2e\x1a\x9b\x8b\x46\x0b\xa5\xb5\x24\x8d\x09\x8e\x7b\xcb\x39\xeb\x3b\xce\x99\xc4\x41\x3b\xfa\x2d\xc9\xe2\x8e\xcd\xb6\x50\x9f\xd0\xf4\xdc\x2e\xdd\xf6\xc4\xda\xb0\x61\x20\x74\xe6\x42\xfc\x7b\x1b\x86\x65\x35\x24\x73\x51\xf0\x84\x17\x7c\x3b\x6a\xdb\x5c\x26\xcd\x7a\x32\xd3\x05\xcf\x36\xd7\x58\xc9\x6c\x26\x72\x59\xf4\xe4\xa4\x47\x5a\xdd\x8d\xd9\x8d\x3f\x81\xb7\xd5\xf9\xf4\x78\xba\xd5\x5d\x82\x44\xd0\xed\x07\x66\xd6\x55\x6d\x41\x10\x5a\x6c\xcc\xd6\xe9\x40\x98\x2f\xd3\x42\x8e\x56\xb7\xad\x51\xd8\x07\x92\xda\x76\xdb\xa2\x4e\xea\x59\x0f\xa1\x49\x7e\x31\x9b\xeb\xb5\xbc\x14\x27\xea\x59\xf3\xfd\x7e\x5d\xe3\x7f\xc8\x62\xa6\x96\xc5\x2f\xaa\x91\x69\x37\xb4\xb6\x82\xde\x5d\x7a\x5e\x66\x74\xea\x8a\xe4\xf0\x1e\x60\x32\x95\xd9\xe6\xc7\x8b\x5c\xf0\x06\x5a\x6f\x68\x5d\xa8\xe7\x2a\xd3\xcb\xb9\x69\xbe\xa6\xef\x46\x96\xf6\x9Line truncated
+210 -226
View File
@@ -1187,12 +1187,9 @@ type ListOption struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Option:
// *ListOption_StringValue
// *ListOption_IntValue
Option isListOption_Option `protobuf_oneof:"option"`
Default bool `protobuf:"varint,3,opt,name=default,proto3" json:"default,omitempty"`
DisplayValue string `protobuf:"bytes,4,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
Value *ListOptionValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"`
DisplayValue string `protobuf:"bytes,3,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
}
func (x *ListOption) Reset() {
@@ -1227,27 +1224,13 @@ func (*ListOption) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{20}
}
func (m *ListOption) GetOption() isListOption_Option {
if m != nil {
return m.Option
func (x *ListOption) GetValue() *ListOptionValue {
if x != nil {
return x.Value
}
return nil
}
func (x *ListOption) GetStringValue() string {
if x, ok := x.GetOption().(*ListOption_StringValue); ok {
return x.StringValue
}
return ""
}
func (x *ListOption) GetIntValue() int64 {
if x, ok := x.GetOption().(*ListOption_IntValue); ok {
return x.IntValue
}
return 0
}
func (x *ListOption) GetDefault() bool {
if x != nil {
return x.Default
@@ -1262,22 +1245,6 @@ func (x *ListOption) GetDisplayValue() string {
return ""
}
type isListOption_Option interface {
isListOption_Option()
}
type ListOption_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type ListOption_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
func (*ListOption_StringValue) isListOption_Option() {}
func (*ListOption_IntValue) isListOption_Option() {}
// payloads for settings values
type SettingsValue struct {
state protoimpl.MessageState
@@ -1289,8 +1256,7 @@ type SettingsValue struct {
// *SettingsValue_BoolValue
// *SettingsValue_IntValue
// *SettingsValue_StringValue
// *SettingsValue_IntListValue
// *SettingsValue_StringListValue
// *SettingsValue_ListValue
Value isSettingsValue_Value `protobuf_oneof:"value"`
}
@@ -1361,16 +1327,9 @@ func (x *SettingsValue) GetStringValue() string {
return ""
}
func (x *SettingsValue) GetIntListValue() *IntListValue {
if x, ok := x.GetValue().(*SettingsValue_IntListValue); ok {
return x.IntListValue
}
return nil
}
func (x *SettingsValue) GetStringListValue() *StringListValue {
if x, ok := x.GetValue().(*SettingsValue_StringListValue); ok {
return x.StringListValue
func (x *SettingsValue) GetListValue() *ListValue {
if x, ok := x.GetValue().(*SettingsValue_ListValue); ok {
return x.ListValue
}
return nil
}
@@ -1391,12 +1350,8 @@ type SettingsValue_StringValue struct {
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type SettingsValue_IntListValue struct {
IntListValue *IntListValue `protobuf:"bytes,5,opt,name=int_list_value,json=intListValue,proto3,oneof"`
}
type SettingsValue_StringListValue struct {
StringListValue *StringListValue `protobuf:"bytes,6,opt,name=string_list_value,json=stringListValue,proto3,oneof"`
type SettingsValue_ListValue struct {
ListValue *ListValue `protobuf:"bytes,5,opt,name=list_value,json=listValue,proto3,oneof"`
}
func (*SettingsValue_BoolValue) isSettingsValue_Value() {}
@@ -1405,20 +1360,18 @@ func (*SettingsValue_IntValue) isSettingsValue_Value() {}
func (*SettingsValue_StringValue) isSettingsValue_Value() {}
func (*SettingsValue_IntListValue) isSettingsValue_Value() {}
func (*SettingsValue_ListValue) isSettingsValue_Value() {}
func (*SettingsValue_StringListValue) isSettingsValue_Value() {}
type IntListValue struct {
type ListValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
Values []*ListOptionValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
}
func (x *IntListValue) Reset() {
*x = IntListValue{}
func (x *ListValue) Reset() {
*x = ListValue{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1426,13 +1379,13 @@ func (x *IntListValue) Reset() {
}
}
func (x *IntListValue) String() string {
func (x *ListValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IntListValue) ProtoMessage() {}
func (*ListValue) ProtoMessage() {}
func (x *IntListValue) ProtoReflect() protoreflect.Message {
func (x *ListValue) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1444,28 +1397,31 @@ func (x *IntListValue) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use IntListValue.ProtoReflect.Descriptor instead.
func (*IntListValue) Descriptor() ([]byte, []int) {
// Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
func (*ListValue) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{22}
}
func (x *IntListValue) GetValue() []int64 {
func (x *ListValue) GetValues() []*ListOptionValue {
if x != nil {
return x.Value
return x.Values
}
return nil
}
type StringListValue struct {
type ListOptionValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
// Types that are assignable to Option:
// *ListOptionValue_StringValue
// *ListOptionValue_IntValue
Option isListOptionValue_Option `protobuf_oneof:"option"`
}
func (x *StringListValue) Reset() {
*x = StringListValue{}
func (x *ListOptionValue) Reset() {
*x = ListOptionValue{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1473,13 +1429,13 @@ func (x *StringListValue) Reset() {
}
}
func (x *StringListValue) String() string {
func (x *ListOptionValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StringListValue) ProtoMessage() {}
func (*ListOptionValue) ProtoMessage() {}
func (x *StringListValue) ProtoReflect() protoreflect.Message {
func (x *ListOptionValue) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1491,18 +1447,48 @@ func (x *StringListValue) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
// Deprecated: Use StringListValue.ProtoReflect.Descriptor instead.
func (*StringListValue) Descriptor() ([]byte, []int) {
// Deprecated: Use ListOptionValue.ProtoReflect.Descriptor instead.
func (*ListOptionValue) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{23}
}
func (x *StringListValue) GetValue() []string {
if x != nil {
return x.Value
func (m *ListOptionValue) GetOption() isListOptionValue_Option {
if m != nil {
return m.Option
}
return nil
}
func (x *ListOptionValue) GetStringValue() string {
if x, ok := x.GetOption().(*ListOptionValue_StringValue); ok {
return x.StringValue
}
return ""
}
func (x *ListOptionValue) GetIntValue() int64 {
if x, ok := x.GetOption().(*ListOptionValue_IntValue); ok {
return x.IntValue
}
return 0
}
type isListOptionValue_Option interface {
isListOptionValue_Option()
}
type ListOptionValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type ListOptionValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
func (*ListOptionValue_StringValue) isListOptionValue_Option() {}
func (*ListOptionValue_IntValue) isListOptionValue_Option() {}
// only meant for serialization
type SettingsValues struct {
state protoimpl.MessageState
@@ -1704,121 +1690,119 @@ var file_settings_proto_rawDesc = []byte{
0x6e, 0x67, 0x12, 0x2b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
0x99, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23,
0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d,
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75,
0x65, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb3, 0x02, 0x0a, 0x0d,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x31, 0x0a,
0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x66, 0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75,
0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x79, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56,
0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64,
0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65,
0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69,
0x73, 0x70, 0x6c, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe3, 0x01, 0x0a, 0x0d, 0x53,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x31, 0x0a, 0x0a,
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
0x69, 0x65, 0x72, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12,
0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56,
0x61, 0x6c, 0x75, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69,
0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x22, 0x3b, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a,
0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x5f, 0x0a,
0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x73,
0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x12, 0x44, 0x0a, 0x11, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x69, 0x73,
0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74,
0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c,
0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x22, 0x24, 0x0a, 0x0c, 0x49, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75,
0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x27, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x69, 0x6e,
0x67, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x22, 0x9c, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x4f,
0x0a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 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,
0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56,
0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32,
0x9d, 0x03, 0x0a, 0x0d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x12, 0x82, 0x01, 0x0a, 0x12, 0x53, 0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56,
0x61, 0x6c, 0x75, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9c,
0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x73, 0x12, 0x39, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x4f, 0x0a, 0x0b,
0x56, 0x61, 0x6c, 0x75, 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, 0x2a, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x9d, 0x03,
0x0a, 0x0d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x82, 0x01, 0x0a, 0x12, 0x53, 0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53,
0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c,
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e,
0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42,
0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82,
0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2d, 0x73,
0x61, 0x76, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x7e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42,
0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26,
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f,
0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2d,
0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x12, 0x21,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f,
0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x32,
0x8f, 0x03, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x12, 0x7e, 0x0a, 0x11, 0x53, 0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x61,
0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53,
0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20,
0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2d, 0x73, 0x61, 0x76, 0x65, 0x3a, 0x01, 0x2a,
0x12, 0x7a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56,
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74,
0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4,
0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2d, 0x73, 0x61, 0x76,
0x65, 0x3a, 0x01, 0x2a, 0x12, 0x7e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e,
0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75,
0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3,
0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x2d, 0x67, 0x65,
0x74, 0x3a, 0x01, 0x2a, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x61, 0x70,
0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x75,
0x6e, 0x64, 0x6c, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x32, 0x8f, 0x03,
0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7e,
0x0a, 0x11, 0x53, 0x61, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x61, 0x76, 0x65,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x2d, 0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x01, 0x0a,
0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x61, 0x76,
0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b,
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2d, 0x73, 0x61, 0x76, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x7a,
0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x70,
0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x2d, 0x67, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x01, 0x0a, 0x12, 0x4c,
0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x73, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21,
0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01,
0x2a, 0x42, 0xaf, 0x02, 0x5a, 0x07, 0x2e, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x92, 0x41, 0xa2,
0x02, 0x12, 0xae, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x50,
0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x47, 0x6d, 0x62, 0x48, 0x12,
0x29, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69,
0x73, 0x2d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x14, 0x73, 0x75, 0x70, 0x70,
0x6f, 0x72, 0x74, 0x40, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d,
0x2a, 0x4b, 0x0a, 0x0a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2d, 0x32, 0x2e, 0x30, 0x12, 0x3d,
0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73,
0x2d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d,
0x61, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x03, 0x31,
0x2e, 0x30, 0x2a, 0x02, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x72, 0x47, 0x0a, 0x10, 0x44, 0x65,
0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x72, 0x20, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x12, 0x33,
0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c,
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2d, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x42,
0xaf, 0x02, 0x5a, 0x07, 0x2e, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x92, 0x41, 0xa2, 0x02, 0x12,
0xae, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x50, 0x0a, 0x0d,
0x6f, 0x77, 0x6e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x47, 0x6d, 0x62, 0x48, 0x12, 0x29, 0x68,
0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2d,
0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x14, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
0x74, 0x40, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6d, 0x2a, 0x4b,
0x0a, 0x0a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2d, 0x32, 0x2e, 0x30, 0x12, 0x3d, 0x68, 0x74,
0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x2d, 0x73,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x73,
0x74, 0x65, 0x72, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x03, 0x31, 0x2e, 0x30,
0x2a, 0x02, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x72, 0x47, 0x0a, 0x10, 0x44, 0x65, 0x76, 0x65,
0x6c, 0x6f, 0x70, 0x65, 0x72, 0x20, 0x4d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x12, 0x33, 0x68, 0x74,
0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x6f, 0x77, 0x6e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x69, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
0x6e, 0x73, 0x2f, 0x6f, 0x63, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -1857,8 +1841,8 @@ var file_settings_proto_goTypes = []interface{}{
(*MultiChoiceListSetting)(nil), // 19: proto.MultiChoiceListSetting
(*ListOption)(nil), // 20: proto.ListOption
(*SettingsValue)(nil), // 21: proto.SettingsValue
(*IntListValue)(nil), // 22: proto.IntListValue
(*StringListValue)(nil), // 23: proto.StringListValue
(*ListValue)(nil), // 22: proto.ListValue
(*ListOptionValue)(nil), // 23: proto.ListOptionValue
(*SettingsValues)(nil), // 24: proto.SettingsValues
nil, // 25: proto.SettingsValues.ValuesEntry
}
@@ -1884,28 +1868,29 @@ var file_settings_proto_depIdxs = []int32{
19, // 18: proto.Setting.multi_choice_value:type_name -> proto.MultiChoiceListSetting
20, // 19: proto.SingleChoiceListSetting.options:type_name -> proto.ListOption
20, // 20: proto.MultiChoiceListSetting.options:type_name -> proto.ListOption
12, // 21: proto.SettingsValue.identifier:type_name -> proto.Identifier
22, // 22: proto.SettingsValue.int_list_value:type_name -> proto.IntListValue
23, // 23: proto.SettingsValue.string_list_value:type_name -> proto.StringListValue
25, // 24: proto.SettingsValues.values:type_name -> proto.SettingsValues.ValuesEntry
21, // 25: proto.SettingsValues.ValuesEntry.value:type_name -> proto.SettingsValue
0, // 26: proto.BundleService.SaveSettingsBundle:input_type -> proto.SaveSettingsBundleRequest
2, // 27: proto.BundleService.GetSettingsBundle:input_type -> proto.GetSettingsBundleRequest
4, // 28: proto.BundleService.ListSettingsBundles:input_type -> proto.ListSettingsBundlesRequest
6, // 29: proto.ValueService.SaveSettingsValue:input_type -> proto.SaveSettingsValueRequest
8, // 30: proto.ValueService.GetSettingsValue:input_type -> proto.GetSettingsValueRequest
10, // 31: proto.ValueService.ListSettingsValues:input_type -> proto.ListSettingsValuesRequest
1, // 32: proto.BundleService.SaveSettingsBundle:output_type -> proto.SaveSettingsBundleResponse
3, // 33: proto.BundleService.GetSettingsBundle:output_type -> proto.GetSettingsBundleResponse
5, // 34: proto.BundleService.ListSettingsBundles:output_type -> proto.ListSettingsBundlesResponse
7, // 35: proto.ValueService.SaveSettingsValue:output_type -> proto.SaveSettingsValueResponse
9, // 36: proto.ValueService.GetSettingsValue:output_type -> proto.GetSettingsValueResponse
11, // 37: proto.ValueService.ListSettingsValues:output_type -> proto.ListSettingsValuesResponse
32, // [32:38] is the sub-list for method output_type
26, // [26:32] is the sub-list for method input_type
26, // [26:26] is the sub-list for extension type_name
26, // [26:26] is the sub-list for extension extendee
0, // [0:26] is the sub-list for field type_name
23, // 21: proto.ListOption.value:type_name -> proto.ListOptionValue
12, // 22: proto.SettingsValue.identifier:type_name -> proto.Identifier
22, // 23: proto.SettingsValue.list_value:type_name -> proto.ListValue
23, // 24: proto.ListValue.values:type_name -> proto.ListOptionValue
25, // 25: proto.SettingsValues.values:type_name -> proto.SettingsValues.ValuesEntry
21, // 26: proto.SettingsValues.ValuesEntry.value:type_name -> proto.SettingsValue
0, // 27: proto.BundleService.SaveSettingsBundle:input_type -> proto.SaveSettingsBundleRequest
2, // 28: proto.BundleService.GetSettingsBundle:input_type -> proto.GetSettingsBundleRequest
4, // 29: proto.BundleService.ListSettingsBundles:input_type -> proto.ListSettingsBundlesRequest
6, // 30: proto.ValueService.SaveSettingsValue:input_type -> proto.SaveSettingsValueRequest
8, // 31: proto.ValueService.GetSettingsValue:input_type -> proto.GetSettingsValueRequest
10, // 32: proto.ValueService.ListSettingsValues:input_type -> proto.ListSettingsValuesRequest
1, // 33: proto.BundleService.SaveSettingsBundle:output_type -> proto.SaveSettingsBundleResponse
3, // 34: proto.BundleService.GetSettingsBundle:output_type -> proto.GetSettingsBundleResponse
5, // 35: proto.BundleService.ListSettingsBundles:output_type -> proto.ListSettingsBundlesResponse
7, // 36: proto.ValueService.SaveSettingsValue:output_type -> proto.SaveSettingsValueResponse
9, // 37: proto.ValueService.GetSettingsValue:output_type -> proto.GetSettingsValueResponse
11, // 38: proto.ValueService.ListSettingsValues:output_type -> proto.ListSettingsValuesResponse
33, // [33:39] is the sub-list for method output_type
27, // [27:33] is the sub-list for method input_type
27, // [27:27] is the sub-list for extension type_name
27, // [27:27] is the sub-list for extension extendee
0, // [0:27] is the sub-list for field type_name
}
func init() { file_settings_proto_init() }
@@ -2179,7 +2164,7 @@ func file_settings_proto_init() {
}
}
file_settings_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IntListValue); i {
switch v := v.(*ListValue); i {
case 0:
return &v.state
case 1:
@@ -2191,7 +2176,7 @@ func file_settings_proto_init() {
}
}
file_settings_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StringListValue); i {
switch v := v.(*ListOptionValue); i {
case 0:
return &v.state
case 1:
@@ -2222,16 +2207,15 @@ func file_settings_proto_init() {
(*Setting_SingleChoiceValue)(nil),
(*Setting_MultiChoiceValue)(nil),
}
file_settings_proto_msgTypes[20].OneofWrappers = []interface{}{
(*ListOption_StringValue)(nil),
(*ListOption_IntValue)(nil),
}
file_settings_proto_msgTypes[21].OneofWrappers = []interface{}{
(*SettingsValue_BoolValue)(nil),
(*SettingsValue_IntValue)(nil),
(*SettingsValue_StringValue)(nil),
(*SettingsValue_IntListValue)(nil),
(*SettingsValue_StringListValue)(nil),
(*SettingsValue_ListValue)(nil),
}
file_settings_proto_msgTypes[23].OneofWrappers = []interface{}{
(*ListOptionValue_StringValue)(nil),
(*ListOptionValue_IntValue)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
+24 -24
View File
@@ -990,77 +990,77 @@ func (m *SettingsValue) UnmarshalJSON(b []byte) error {
var _ json.Unmarshaler = (*SettingsValue)(nil)
// IntListValueJSONMarshaler describes the default jsonpb.Marshaler used by all
// instances of IntListValue. This struct is safe to replace or modify but
// ListValueJSONMarshaler describes the default jsonpb.Marshaler used by all
// instances of ListValue. This struct is safe to replace or modify but
// should not be done so concurrently.
var IntListValueJSONMarshaler = new(jsonpb.Marshaler)
var ListValueJSONMarshaler = new(jsonpb.Marshaler)
// MarshalJSON satisfies the encoding/json Marshaler interface. This method
// uses the more correct jsonpb package to correctly marshal the message.
func (m *IntListValue) MarshalJSON() ([]byte, error) {
func (m *ListValue) MarshalJSON() ([]byte, error) {
if m == nil {
return json.Marshal(nil)
}
buf := &bytes.Buffer{}
if err := IntListValueJSONMarshaler.Marshal(buf, m); err != nil {
if err := ListValueJSONMarshaler.Marshal(buf, m); err != nil {
return nil, err
}
return buf.Bytes(), nil
}
var _ json.Marshaler = (*IntListValue)(nil)
var _ json.Marshaler = (*ListValue)(nil)
// IntListValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all
// instances of IntListValue. This struct is safe to replace or modify but
// ListValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all
// instances of ListValue. This struct is safe to replace or modify but
// should not be done so concurrently.
var IntListValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
var ListValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
// UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method
// uses the more correct jsonpb package to correctly unmarshal the message.
func (m *IntListValue) UnmarshalJSON(b []byte) error {
return IntListValueJSONUnmarshaler.Unmarshal(bytes.NewReader(b), m)
func (m *ListValue) UnmarshalJSON(b []byte) error {
return ListValueJSONUnmarshaler.Unmarshal(bytes.NewReader(b), m)
}
var _ json.Unmarshaler = (*IntListValue)(nil)
var _ json.Unmarshaler = (*ListValue)(nil)
// StringListValueJSONMarshaler describes the default jsonpb.Marshaler used by all
// instances of StringListValue. This struct is safe to replace or modify but
// ListOptionValueJSONMarshaler describes the default jsonpb.Marshaler used by all
// instances of ListOptionValue. This struct is safe to replace or modify but
// should not be done so concurrently.
var StringListValueJSONMarshaler = new(jsonpb.Marshaler)
var ListOptionValueJSONMarshaler = new(jsonpb.Marshaler)
// MarshalJSON satisfies the encoding/json Marshaler interface. This method
// uses the more correct jsonpb package to correctly marshal the message.
func (m *StringListValue) MarshalJSON() ([]byte, error) {
func (m *ListOptionValue) MarshalJSON() ([]byte, error) {
if m == nil {
return json.Marshal(nil)
}
buf := &bytes.Buffer{}
if err := StringListValueJSONMarshaler.Marshal(buf, m); err != nil {
if err := ListOptionValueJSONMarshaler.Marshal(buf, m); err != nil {
return nil, err
}
return buf.Bytes(), nil
}
var _ json.Marshaler = (*StringListValue)(nil)
var _ json.Marshaler = (*ListOptionValue)(nil)
// StringListValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all
// instances of StringListValue. This struct is safe to replace or modify but
// ListOptionValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all
// instances of ListOptionValue. This struct is safe to replace or modify but
// should not be done so concurrently.
var StringListValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
var ListOptionValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
// UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method
// uses the more correct jsonpb package to correctly unmarshal the message.
func (m *StringListValue) UnmarshalJSON(b []byte) error {
return StringListValueJSONUnmarshaler.Unmarshal(bytes.NewReader(b), m)
func (m *ListOptionValue) UnmarshalJSON(b []byte) error {
return ListOptionValueJSONUnmarshaler.Unmarshal(bytes.NewReader(b), m)
}
var _ json.Unmarshaler = (*StringListValue)(nil)
var _ json.Unmarshaler = (*ListOptionValue)(nil)
// SettingsValuesJSONMarshaler describes the default jsonpb.Marshaler used by all
// instances of SettingsValues. This struct is safe to replace or modify but
+11 -12
View File
@@ -180,12 +180,9 @@ message MultiChoiceListSetting {
}
message ListOption {
oneof option {
string string_value = 1;
int64 int_value = 2;
}
bool default = 3;
string display_value = 4;
ListOptionValue value = 1;
bool default = 2;
string display_value = 3;
}
// payloads for settings values
@@ -195,17 +192,19 @@ message SettingsValue {
bool bool_value = 2;
int64 int_value = 3;
string string_value = 4;
IntListValue int_list_value = 5;
StringListValue string_list_value = 6;
ListValue list_value = 5;
}
}
message IntListValue {
repeated int64 value = 1;
message ListValue {
repeated ListOptionValue values = 1;
}
message StringListValue {
repeated string value = 1;
message ListOptionValue {
oneof option {
string string_value = 1;
int64 int_value = 2;
}
}
// only meant for serialization
+27 -34
View File
@@ -280,18 +280,6 @@
},
"title": "generic payloads"
},
"protoIntListValue": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string",
"format": "int64"
}
}
}
},
"protoIntSetting": {
"type": "object",
"properties": {
@@ -319,12 +307,8 @@
"protoListOption": {
"type": "object",
"properties": {
"string_value": {
"type": "string"
},
"int_value": {
"type": "string",
"format": "int64"
"value": {
"$ref": "#/definitions/protoListOptionValue"
},
"default": {
"type": "boolean",
@@ -335,6 +319,18 @@
}
}
},
"protoListOptionValue": {
"type": "object",
"properties": {
"string_value": {
"type": "string"
},
"int_value": {
"type": "string",
"format": "int64"
}
}
},
"protoListSettingsBundlesRequest": {
"type": "object",
"properties": {
@@ -373,6 +369,17 @@
}
}
},
"protoListValue": {
"type": "object",
"properties": {
"values": {
"type": "array",
"items": {
"$ref": "#/definitions/protoListOptionValue"
}
}
}
},
"protoMultiChoiceListSetting": {
"type": "object",
"properties": {
@@ -482,11 +489,8 @@
"string_value": {
"type": "string"
},
"int_list_value": {
"$ref": "#/definitions/protoIntListValue"
},
"string_list_value": {
"$ref": "#/definitions/protoStringListValue"
"list_value": {
"$ref": "#/definitions/protoListValue"
}
},
"title": "payloads for settings values"
@@ -502,17 +506,6 @@
}
}
},
"protoStringListValue": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"protoStringSetting": {
"type": "object",
"properties": {
+1 -1
View File
@@ -32,7 +32,7 @@ func (s Store) ReadValue(identifier *proto.Identifier) (*proto.SettingsValue, er
// Writes the given SettingsValue into a file within the mountPath
func (s Store) WriteValue(value *proto.SettingsValue) (*proto.SettingsValue, error) {
if len(value.Identifier.AccountUuid) < 1 || len(value.Identifier.Extension) < 1 || len(value.Identifier.BundleKey) < 1 || len(value.Identifier.SettingKey) < 1 {
s.Logger.Error().Msg("account-uuid, extension, bundle and setting are required")
s.Logger.Error().Msg("all identifier keys are required")
return nil, gstatus.Errorf(codes.InvalidArgument, "Missing a required identifier attribute")
}
+56 -11
View File
@@ -27,7 +27,7 @@
class="oc-checkbox"
:value="option"
v-model="selectedOptions"
@input="onSelectedOption"
@change="onSelectedOption"
/>
{{ option.displayValue }}
</label>
@@ -38,6 +38,7 @@
</template>
<script>
import isNil from 'lodash/isNil'
export default {
name: 'SettingMultiChoice',
props: {
@@ -54,33 +55,77 @@ export default {
required: false
}
},
data() {
data () {
return {
selectedOptions: null
}
},
computed: {
selectedOptionsDisplayValues() {
selectedOptionsDisplayValues () {
return Array.from(this.selectedOptions).map(option => option.displayValue).join(', ')
},
dropElementId() {
dropElementId () {
return `multi-choice-drop-${this.bundle.identifier.bundleKey}-${this.setting.settingKey}`
},
buttonElementId() {
buttonElementId () {
return `multi-choice-toggle-${this.bundle.identifier.bundleKey}-${this.setting.settingKey}`
},
}
},
methods: {
getOptionElementId(index) {
getOptionElementId (index) {
return `${this.bundle.identifier.bundleKey}-${this.setting.settingKey}-${index}`
},
onSelectedOption() {
// TODO: propagate selection to parent
async onSelectedOption () {
const values = []
if (!isNil(this.selectedOptions)) {
this.selectedOptions.forEach(option => {
if (option.value.intValue) {
values.push({ intValue: option.value.intValue })
}
if (option.value.stringValue) {
values.push({ stringValue: option.value.stringValue })
}
})
}
await this.$emit('onSave', {
bundle: this.bundle,
setting: this.setting,
value: {
listValue: {
values
}
}
})
// TODO: show a spinner while the request for saving the value is running!
}
},
mounted() {
this.selectedOptions = null
mounted () {
if (!isNil(this.persistedValue) && !isNil(this.persistedValue.listValue)) {
const selectedValues = []
if (this.persistedValue.listValue.values) {
this.persistedValue.listValue.values.forEach(value => {
if (value.intValue) {
selectedValues.push(value.intValue)
}
if (value.stringValue) {
selectedValues.push(value.stringValue)
}
})
}
if (selectedValues.length === 0) {
this.selectedOptions = []
} else {
this.selectedOptions = this.setting.multiChoiceValue.options.filter(option => {
if (option.value.intValue) {
return selectedValues.includes(option.value.intValue)
}
if (option.value.stringValue) {
return selectedValues.includes(option.value.stringValue)
}
return false
})
}
}
// TODO: load the settings value of the authenticated user and set it in `selectedOptions`
// if not set, yet, apply defaults from settings bundle definition
if (this.selectedOptions === null) {
+22 -23
View File
@@ -74,40 +74,39 @@ export default {
return `${this.bundle.identifier.bundleKey}-${this.setting.settingKey}-${index}`
},
async onSelectedOption () {
const value = {}
if (this.selectedOption) {
if (!isNil(this.selectedOption.intValue)) {
value.intListValue = {
value: [this.selectedOption ? this.selectedOption.intValue : null]
}
} else {
value.stringListValue = {
value: [this.selectedOption ? this.selectedOption.stringValue : null]
}
const values = []
if (!isNil(this.selectedOption)) {
if (this.selectedOption.value.intValue) {
values.push({ intValue: this.selectedOption.value.intValue })
}
if (this.selectedOption.value.stringValue) {
values.push({ stringValue: this.selectedOption.value.stringValue })
}
}
await this.$emit('onSave', {
bundle: this.bundle,
setting: this.setting,
value
value: {
listValue: {
values
}
}
})
// TODO: show a spinner while the request for saving the value is running!
}
},
mounted () {
if (!isNil(this.persistedValue)) {
if (!isNil(this.persistedValue.intListValue)) {
const selected = this.persistedValue.intListValue.value[0]
const filtered = this.setting.singleChoiceValue.options.filter(option => option.intValue === selected)
if (filtered.length > 0) {
this.selectedOption = filtered[0]
}
} else {
const selected = this.persistedValue.stringListValue.value[0]
const filtered = this.setting.singleChoiceValue.options.filter(option => option.stringValue === selected)
if (filtered.length > 0) {
this.selectedOption = filtered[0]
if (!isNil(this.persistedValue) && !isNil(this.persistedValue.listValue)) {
const selected = this.persistedValue.listValue.values[0]
const filtered = this.setting.singleChoiceValue.options.filter(option => {
if (selected.intValue) {
return option.value.intValue === selected.intValue
} else {
return option.value.stringValue === selected.stringValue
}
})
if (filtered.length > 0) {
this.selectedOption = filtered[0]
}
}
// if not set, yet, apply default from settings bundle definition