1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/assistant/embedded/v1alpha2/embedded_assistant.proto
package embedded // import "google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import latlng "google.golang.org/genproto/googleapis/type/latlng"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
// Indicates the type of event.
type AssistResponse_EventType int32
const (
// No event specified.
AssistResponse_EVENT_TYPE_UNSPECIFIED AssistResponse_EventType = 0
// This event indicates that the server has detected the end of the user's
// speech utterance and expects no additional speech. Therefore, the server
// will not process additional audio (although it may subsequently return
// additional results). The client should stop sending additional audio
// data, half-close the gRPC connection, and wait for any additional results
// until the server closes the gRPC connection.
AssistResponse_END_OF_UTTERANCE AssistResponse_EventType = 1
)
var AssistResponse_EventType_name = map[int32]string{
0: "EVENT_TYPE_UNSPECIFIED",
1: "END_OF_UTTERANCE",
}
var AssistResponse_EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
"END_OF_UTTERANCE": 1,
}
func (x AssistResponse_EventType) String() string {
return proto.EnumName(AssistResponse_EventType_name, int32(x))
}
func (AssistResponse_EventType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{1, 0}
}
// Audio encoding of the data sent in the audio message.
// Audio must be one-channel (mono).
type AudioInConfig_Encoding int32
const (
// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
AudioInConfig_ENCODING_UNSPECIFIED AudioInConfig_Encoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
// This encoding includes no header, only the raw audio bytes.
AudioInConfig_LINEAR16 AudioInConfig_Encoding = 1
// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
// Codec) is the recommended encoding because it is
// lossless--therefore recognition is not compromised--and
// requires only about half the bandwidth of `LINEAR16`. This encoding
// includes the `FLAC` stream header followed by audio data. It supports
// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are
// supported.
AudioInConfig_FLAC AudioInConfig_Encoding = 2
)
var AudioInConfig_Encoding_name = map[int32]string{
0: "ENCODING_UNSPECIFIED",
1: "LINEAR16",
2: "FLAC",
}
var AudioInConfig_Encoding_value = map[string]int32{
"ENCODING_UNSPECIFIED": 0,
"LINEAR16": 1,
"FLAC": 2,
}
func (x AudioInConfig_Encoding) String() string {
return proto.EnumName(AudioInConfig_Encoding_name, int32(x))
}
func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{4, 0}
}
// Audio encoding of the data returned in the audio message. All encodings are
// raw audio bytes with no header, except as indicated below.
type AudioOutConfig_Encoding int32
const (
// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
AudioOutConfig_ENCODING_UNSPECIFIED AudioOutConfig_Encoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
AudioOutConfig_LINEAR16 AudioOutConfig_Encoding = 1
// MP3 audio encoding. The sample rate is encoded in the payload.
AudioOutConfig_MP3 AudioOutConfig_Encoding = 2
// Opus-encoded audio wrapped in an ogg container. The result will be a
// file which can be played natively on Android and in some browsers (such
// as Chrome). The quality of the encoding is considerably higher than MP3
// while using the same bitrate. The sample rate is encoded in the payload.
AudioOutConfig_OPUS_IN_OGG AudioOutConfig_Encoding = 3
)
var AudioOutConfig_Encoding_name = map[int32]string{
0: "ENCODING_UNSPECIFIED",
1: "LINEAR16",
2: "MP3",
3: "OPUS_IN_OGG",
}
var AudioOutConfig_Encoding_value = map[string]int32{
"ENCODING_UNSPECIFIED": 0,
"LINEAR16": 1,
"MP3": 2,
"OPUS_IN_OGG": 3,
}
func (x AudioOutConfig_Encoding) String() string {
return proto.EnumName(AudioOutConfig_Encoding_name, int32(x))
}
func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{5, 0}
}
// Possible modes for visual screen-output on the device.
type ScreenOutConfig_ScreenMode int32
const (
// No video mode specified.
// The Assistant may respond as if in `OFF` mode.
ScreenOutConfig_SCREEN_MODE_UNSPECIFIED ScreenOutConfig_ScreenMode = 0
// Screen is off (or has brightness or other settings set so low it is
// not visible). The Assistant will typically not return a screen response
// in this mode.
ScreenOutConfig_OFF ScreenOutConfig_ScreenMode = 1
// The Assistant will typically return a partial-screen response in this
// mode.
ScreenOutConfig_PLAYING ScreenOutConfig_ScreenMode = 3
)
var ScreenOutConfig_ScreenMode_name = map[int32]string{
0: "SCREEN_MODE_UNSPECIFIED",
1: "OFF",
3: "PLAYING",
}
var ScreenOutConfig_ScreenMode_value = map[string]int32{
"SCREEN_MODE_UNSPECIFIED": 0,
"OFF": 1,
"PLAYING": 3,
}
func (x ScreenOutConfig_ScreenMode) String() string {
return proto.EnumName(ScreenOutConfig_ScreenMode_name, int32(x))
}
func (ScreenOutConfig_ScreenMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{6, 0}
}
// Possible formats of the screen data.
type ScreenOut_Format int32
const (
// No format specified.
ScreenOut_FORMAT_UNSPECIFIED ScreenOut_Format = 0
// Data will contain a fully-formed HTML5 layout encoded in UTF-8, e.g.
// `<html><body><div>...</div></body></html>`. It is intended to be rendered
// along with the audio response. Note that HTML5 doctype should be included
// in the actual HTML data.
ScreenOut_HTML ScreenOut_Format = 1
)
var ScreenOut_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "HTML",
}
var ScreenOut_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"HTML": 1,
}
func (x ScreenOut_Format) String() string {
return proto.EnumName(ScreenOut_Format_name, int32(x))
}
func (ScreenOut_Format) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{10, 0}
}
// Possible states of the microphone after a `Assist` RPC completes.
type DialogStateOut_MicrophoneMode int32
const (
// No mode specified.
DialogStateOut_MICROPHONE_MODE_UNSPECIFIED DialogStateOut_MicrophoneMode = 0
// The service is not expecting a follow-on question from the user.
// The microphone should remain off until the user re-activates it.
DialogStateOut_CLOSE_MICROPHONE DialogStateOut_MicrophoneMode = 1
// The service is expecting a follow-on question from the user. The
// microphone should be re-opened when the `AudioOut` playback completes
// (by starting a new `Assist` RPC call to send the new audio).
DialogStateOut_DIALOG_FOLLOW_ON DialogStateOut_MicrophoneMode = 2
)
var DialogStateOut_MicrophoneMode_name = map[int32]string{
0: "MICROPHONE_MODE_UNSPECIFIED",
1: "CLOSE_MICROPHONE",
2: "DIALOG_FOLLOW_ON",
}
var DialogStateOut_MicrophoneMode_value = map[string]int32{
"MICROPHONE_MODE_UNSPECIFIED": 0,
"CLOSE_MICROPHONE": 1,
"DIALOG_FOLLOW_ON": 2,
}
func (x DialogStateOut_MicrophoneMode) String() string {
return proto.EnumName(DialogStateOut_MicrophoneMode_name, int32(x))
}
func (DialogStateOut_MicrophoneMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{13, 0}
}
// The top-level message sent by the client. Clients must send at least two, and
// typically numerous `AssistRequest` messages. The first message must
// contain a `config` message and must not contain `audio_in` data. All
// subsequent messages must contain `audio_in` data and must not contain a
// `config` message.
type AssistRequest struct {
// Exactly one of these fields must be specified in each `AssistRequest`.
//
// Types that are valid to be assigned to Type:
// *AssistRequest_Config
// *AssistRequest_AudioIn
Type isAssistRequest_Type `protobuf_oneof:"type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AssistRequest) Reset() { *m = AssistRequest{} }
func (m *AssistRequest) String() string { return proto.CompactTextString(m) }
func (*AssistRequest) ProtoMessage() {}
func (*AssistRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{0}
}
func (m *AssistRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AssistRequest.Unmarshal(m, b)
}
func (m *AssistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AssistRequest.Marshal(b, m, deterministic)
}
func (dst *AssistRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AssistRequest.Merge(dst, src)
}
func (m *AssistRequest) XXX_Size() int {
return xxx_messageInfo_AssistRequest.Size(m)
}
func (m *AssistRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AssistRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AssistRequest proto.InternalMessageInfo
type isAssistRequest_Type interface {
isAssistRequest_Type()
}
type AssistRequest_Config struct {
Config *AssistConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}
type AssistRequest_AudioIn struct {
AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"`
}
func (*AssistRequest_Config) isAssistRequest_Type() {}
func (*AssistRequest_AudioIn) isAssistRequest_Type() {}
func (m *AssistRequest) GetType() isAssistRequest_Type {
if m != nil {
return m.Type
}
return nil
}
func (m *AssistRequest) GetConfig() *AssistConfig {
if x, ok := m.GetType().(*AssistRequest_Config); ok {
return x.Config
}
return nil
}
func (m *AssistRequest) GetAudioIn() []byte {
if x, ok := m.GetType().(*AssistRequest_AudioIn); ok {
return x.AudioIn
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*AssistRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _AssistRequest_OneofMarshaler, _AssistRequest_OneofUnmarshaler, _AssistRequest_OneofSizer, []interface{}{
(*AssistRequest_Config)(nil),
(*AssistRequest_AudioIn)(nil),
}
}
func _AssistRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*AssistRequest)
// type
switch x := m.Type.(type) {
case *AssistRequest_Config:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Config); err != nil {
return err
}
case *AssistRequest_AudioIn:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeRawBytes(x.AudioIn)
case nil:
default:
return fmt.Errorf("AssistRequest.Type has unexpected type %T", x)
}
return nil
}
func _AssistRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*AssistRequest)
switch tag {
case 1: // type.config
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(AssistConfig)
err := b.DecodeMessage(msg)
m.Type = &AssistRequest_Config{msg}
return true, err
case 2: // type.audio_in
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.Type = &AssistRequest_AudioIn{x}
return true, err
default:
return false, nil
}
}
func _AssistRequest_OneofSizer(msg proto.Message) (n int) {
m := msg.(*AssistRequest)
// type
switch x := m.Type.(type) {
case *AssistRequest_Config:
s := proto.Size(x.Config)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *AssistRequest_AudioIn:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.AudioIn)))
n += len(x.AudioIn)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// The top-level message received by the client. A series of one or more
// `AssistResponse` messages are streamed back to the client.
type AssistResponse struct {
// *Output-only* Indicates the type of event.
EventType AssistResponse_EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha2.AssistResponse_EventType" json:"event_type,omitempty"`
// *Output-only* The audio containing the Assistant's response to the query.
AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3" json:"audio_out,omitempty"`
// *Output-only* Contains the Assistant's visual response to the query.
ScreenOut *ScreenOut `protobuf:"bytes,4,opt,name=screen_out,json=screenOut,proto3" json:"screen_out,omitempty"`
// *Output-only* Contains the action triggered by the query with the
// appropriate payloads and semantic parsing.
DeviceAction *DeviceAction `protobuf:"bytes,6,opt,name=device_action,json=deviceAction,proto3" json:"device_action,omitempty"`
// *Output-only* This repeated list contains zero or more speech recognition
// results that correspond to consecutive portions of the audio currently
// being processed, starting with the portion corresponding to the earliest
// audio (and most stable portion) to the portion corresponding to the most
// recent audio. The strings can be concatenated to view the full
// in-progress response. When the speech recognition completes, this list
// will contain one item with `stability` of `1.0`.
SpeechResults []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=speech_results,json=speechResults,proto3" json:"speech_results,omitempty"`
// *Output-only* Contains output related to the user's query.
DialogStateOut *DialogStateOut `protobuf:"bytes,5,opt,name=dialog_state_out,json=dialogStateOut,proto3" json:"dialog_state_out,omitempty"`
// *Output-only* Debugging info for developer. Only returned if request set
// `return_debug_info` to true.
DebugInfo *DebugInfo `protobuf:"bytes,8,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AssistResponse) Reset() { *m = AssistResponse{} }
func (m *AssistResponse) String() string { return proto.CompactTextString(m) }
func (*AssistResponse) ProtoMessage() {}
func (*AssistResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{1}
}
func (m *AssistResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AssistResponse.Unmarshal(m, b)
}
func (m *AssistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AssistResponse.Marshal(b, m, deterministic)
}
func (dst *AssistResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AssistResponse.Merge(dst, src)
}
func (m *AssistResponse) XXX_Size() int {
return xxx_messageInfo_AssistResponse.Size(m)
}
func (m *AssistResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AssistResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AssistResponse proto.InternalMessageInfo
func (m *AssistResponse) GetEventType() AssistResponse_EventType {
if m != nil {
return m.EventType
}
return AssistResponse_EVENT_TYPE_UNSPECIFIED
}
func (m *AssistResponse) GetAudioOut() *AudioOut {
if m != nil {
return m.AudioOut
}
return nil
}
func (m *AssistResponse) GetScreenOut() *ScreenOut {
if m != nil {
return m.ScreenOut
}
return nil
}
func (m *AssistResponse) GetDeviceAction() *DeviceAction {
if m != nil {
return m.DeviceAction
}
return nil
}
func (m *AssistResponse) GetSpeechResults() []*SpeechRecognitionResult {
if m != nil {
return m.SpeechResults
}
return nil
}
func (m *AssistResponse) GetDialogStateOut() *DialogStateOut {
if m != nil {
return m.DialogStateOut
}
return nil
}
func (m *AssistResponse) GetDebugInfo() *DebugInfo {
if m != nil {
return m.DebugInfo
}
return nil
}
// Debug info for developer. Only returned if request set `return_debug_info`
// to true.
type DebugInfo struct {
// The original JSON response from an Action-on-Google agent to Google server.
// See
// https://developers.google.com/actions/reference/rest/Shared.Types/AppResponse.
// It will only be populated if the request maker owns the AoG project and the
// AoG project is in preview mode.
AogAgentToAssistantJson string `protobuf:"bytes,1,opt,name=aog_agent_to_assistant_json,json=aogAgentToAssistantJson,proto3" json:"aog_agent_to_assistant_json,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DebugInfo) Reset() { *m = DebugInfo{} }
func (m *DebugInfo) String() string { return proto.CompactTextString(m) }
func (*DebugInfo) ProtoMessage() {}
func (*DebugInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{2}
}
func (m *DebugInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DebugInfo.Unmarshal(m, b)
}
func (m *DebugInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DebugInfo.Marshal(b, m, deterministic)
}
func (dst *DebugInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_DebugInfo.Merge(dst, src)
}
func (m *DebugInfo) XXX_Size() int {
return xxx_messageInfo_DebugInfo.Size(m)
}
func (m *DebugInfo) XXX_DiscardUnknown() {
xxx_messageInfo_DebugInfo.DiscardUnknown(m)
}
var xxx_messageInfo_DebugInfo proto.InternalMessageInfo
func (m *DebugInfo) GetAogAgentToAssistantJson() string {
if m != nil {
return m.AogAgentToAssistantJson
}
return ""
}
// Specifies how to process the `AssistRequest` messages.
type AssistConfig struct {
// Types that are valid to be assigned to Type:
// *AssistConfig_AudioInConfig
// *AssistConfig_TextQuery
Type isAssistConfig_Type `protobuf_oneof:"type"`
// *Required* Specifies how to format the audio that will be returned.
AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"`
// *Optional* Specifies the desired format to use when server returns a
// visual screen response.
ScreenOutConfig *ScreenOutConfig `protobuf:"bytes,8,opt,name=screen_out_config,json=screenOutConfig,proto3" json:"screen_out_config,omitempty"`
// *Required* Represents the current dialog state.
DialogStateIn *DialogStateIn `protobuf:"bytes,3,opt,name=dialog_state_in,json=dialogStateIn,proto3" json:"dialog_state_in,omitempty"`
// Device configuration that uniquely identifies a specific device.
DeviceConfig *DeviceConfig `protobuf:"bytes,4,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"`
// *Optional* Debugging parameters for the whole `Assist` RPC.
DebugConfig *DebugConfig `protobuf:"bytes,5,opt,name=debug_config,json=debugConfig,proto3" json:"debug_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AssistConfig) Reset() { *m = AssistConfig{} }
func (m *AssistConfig) String() string { return proto.CompactTextString(m) }
func (*AssistConfig) ProtoMessage() {}
func (*AssistConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{3}
}
func (m *AssistConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AssistConfig.Unmarshal(m, b)
}
func (m *AssistConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AssistConfig.Marshal(b, m, deterministic)
}
func (dst *AssistConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_AssistConfig.Merge(dst, src)
}
func (m *AssistConfig) XXX_Size() int {
return xxx_messageInfo_AssistConfig.Size(m)
}
func (m *AssistConfig) XXX_DiscardUnknown() {
xxx_messageInfo_AssistConfig.DiscardUnknown(m)
}
var xxx_messageInfo_AssistConfig proto.InternalMessageInfo
type isAssistConfig_Type interface {
isAssistConfig_Type()
}
type AssistConfig_AudioInConfig struct {
AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3,oneof"`
}
type AssistConfig_TextQuery struct {
TextQuery string `protobuf:"bytes,6,opt,name=text_query,json=textQuery,proto3,oneof"`
}
func (*AssistConfig_AudioInConfig) isAssistConfig_Type() {}
func (*AssistConfig_TextQuery) isAssistConfig_Type() {}
func (m *AssistConfig) GetType() isAssistConfig_Type {
if m != nil {
return m.Type
}
return nil
}
func (m *AssistConfig) GetAudioInConfig() *AudioInConfig {
if x, ok := m.GetType().(*AssistConfig_AudioInConfig); ok {
return x.AudioInConfig
}
return nil
}
func (m *AssistConfig) GetTextQuery() string {
if x, ok := m.GetType().(*AssistConfig_TextQuery); ok {
return x.TextQuery
}
return ""
}
func (m *AssistConfig) GetAudioOutConfig() *AudioOutConfig {
if m != nil {
return m.AudioOutConfig
}
return nil
}
func (m *AssistConfig) GetScreenOutConfig() *ScreenOutConfig {
if m != nil {
return m.ScreenOutConfig
}
return nil
}
func (m *AssistConfig) GetDialogStateIn() *DialogStateIn {
if m != nil {
return m.DialogStateIn
}
return nil
}
func (m *AssistConfig) GetDeviceConfig() *DeviceConfig {
if m != nil {
return m.DeviceConfig
}
return nil
}
func (m *AssistConfig) GetDebugConfig() *DebugConfig {
if m != nil {
return m.DebugConfig
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*AssistConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _AssistConfig_OneofMarshaler, _AssistConfig_OneofUnmarshaler, _AssistConfig_OneofSizer, []interface{}{
(*AssistConfig_AudioInConfig)(nil),
(*AssistConfig_TextQuery)(nil),
}
}
func _AssistConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*AssistConfig)
// type
switch x := m.Type.(type) {
case *AssistConfig_AudioInConfig:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.AudioInConfig); err != nil {
return err
}
case *AssistConfig_TextQuery:
b.EncodeVarint(6<<3 | proto.WireBytes)
b.EncodeStringBytes(x.TextQuery)
case nil:
default:
return fmt.Errorf("AssistConfig.Type has unexpected type %T", x)
}
return nil
}
func _AssistConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*AssistConfig)
switch tag {
case 1: // type.audio_in_config
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(AudioInConfig)
err := b.DecodeMessage(msg)
m.Type = &AssistConfig_AudioInConfig{msg}
return true, err
case 6: // type.text_query
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.Type = &AssistConfig_TextQuery{x}
return true, err
default:
return false, nil
}
}
func _AssistConfig_OneofSizer(msg proto.Message) (n int) {
m := msg.(*AssistConfig)
// type
switch x := m.Type.(type) {
case *AssistConfig_AudioInConfig:
s := proto.Size(x.AudioInConfig)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *AssistConfig_TextQuery:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(len(x.TextQuery)))
n += len(x.TextQuery)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Specifies how to process the `audio_in` data that will be provided in
// subsequent requests. For recommended settings, see the Google Assistant SDK
// [best practices](https://developers.google.com/assistant/sdk/guides/service/python/best-practices/audio).
type AudioInConfig struct {
// *Required* Encoding of audio data sent in all `audio_in` messages.
Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha2.AudioInConfig_Encoding" json:"encoding,omitempty"`
// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in`
// messages. Valid values are from 16000-24000, but 16000 is optimal.
// For best results, set the sampling rate of the audio source to 16000 Hz.
// If that's not possible, use the native sample rate of the audio source
// (instead of re-sampling).
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AudioInConfig) Reset() { *m = AudioInConfig{} }
func (m *AudioInConfig) String() string { return proto.CompactTextString(m) }
func (*AudioInConfig) ProtoMessage() {}
func (*AudioInConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{4}
}
func (m *AudioInConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AudioInConfig.Unmarshal(m, b)
}
func (m *AudioInConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AudioInConfig.Marshal(b, m, deterministic)
}
func (dst *AudioInConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_AudioInConfig.Merge(dst, src)
}
func (m *AudioInConfig) XXX_Size() int {
return xxx_messageInfo_AudioInConfig.Size(m)
}
func (m *AudioInConfig) XXX_DiscardUnknown() {
xxx_messageInfo_AudioInConfig.DiscardUnknown(m)
}
var xxx_messageInfo_AudioInConfig proto.InternalMessageInfo
func (m *AudioInConfig) GetEncoding() AudioInConfig_Encoding {
if m != nil {
return m.Encoding
}
return AudioInConfig_ENCODING_UNSPECIFIED
}
func (m *AudioInConfig) GetSampleRateHertz() int32 {
if m != nil {
return m.SampleRateHertz
}
return 0
}
// Specifies the desired format for the server to use when it returns
// `audio_out` messages.
type AudioOutConfig struct {
// *Required* The encoding of audio data to be returned in all `audio_out`
// messages.
Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha2.AudioOutConfig_Encoding" json:"encoding,omitempty"`
// *Required* The sample rate in Hertz of the audio data returned in
// `audio_out` messages. Valid values are: 16000-24000.
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
// *Required* Current volume setting of the device's audio output.
// Valid values are 1 to 100 (corresponding to 1% to 100%).
VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AudioOutConfig) Reset() { *m = AudioOutConfig{} }
func (m *AudioOutConfig) String() string { return proto.CompactTextString(m) }
func (*AudioOutConfig) ProtoMessage() {}
func (*AudioOutConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{5}
}
func (m *AudioOutConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AudioOutConfig.Unmarshal(m, b)
}
func (m *AudioOutConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AudioOutConfig.Marshal(b, m, deterministic)
}
func (dst *AudioOutConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_AudioOutConfig.Merge(dst, src)
}
func (m *AudioOutConfig) XXX_Size() int {
return xxx_messageInfo_AudioOutConfig.Size(m)
}
func (m *AudioOutConfig) XXX_DiscardUnknown() {
xxx_messageInfo_AudioOutConfig.DiscardUnknown(m)
}
var xxx_messageInfo_AudioOutConfig proto.InternalMessageInfo
func (m *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding {
if m != nil {
return m.Encoding
}
return AudioOutConfig_ENCODING_UNSPECIFIED
}
func (m *AudioOutConfig) GetSampleRateHertz() int32 {
if m != nil {
return m.SampleRateHertz
}
return 0
}
func (m *AudioOutConfig) GetVolumePercentage() int32 {
if m != nil {
return m.VolumePercentage
}
return 0
}
// Specifies the desired format for the server to use when it returns
// `screen_out` response.
type ScreenOutConfig struct {
// Current visual screen-mode for the device while issuing the query.
ScreenMode ScreenOutConfig_ScreenMode `protobuf:"varint,1,opt,name=screen_mode,json=screenMode,proto3,enum=google.assistant.embedded.v1alpha2.ScreenOutConfig_ScreenMode" json:"screen_mode,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ScreenOutConfig) Reset() { *m = ScreenOutConfig{} }
func (m *ScreenOutConfig) String() string { return proto.CompactTextString(m) }
func (*ScreenOutConfig) ProtoMessage() {}
func (*ScreenOutConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{6}
}
func (m *ScreenOutConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ScreenOutConfig.Unmarshal(m, b)
}
func (m *ScreenOutConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ScreenOutConfig.Marshal(b, m, deterministic)
}
func (dst *ScreenOutConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_ScreenOutConfig.Merge(dst, src)
}
func (m *ScreenOutConfig) XXX_Size() int {
return xxx_messageInfo_ScreenOutConfig.Size(m)
}
func (m *ScreenOutConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ScreenOutConfig.DiscardUnknown(m)
}
var xxx_messageInfo_ScreenOutConfig proto.InternalMessageInfo
func (m *ScreenOutConfig) GetScreenMode() ScreenOutConfig_ScreenMode {
if m != nil {
return m.ScreenMode
}
return ScreenOutConfig_SCREEN_MODE_UNSPECIFIED
}
// Provides information about the current dialog state.
type DialogStateIn struct {
// *Required* This field must always be set to the
// [DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state] value that was returned in the prior
// `Assist` RPC. It should only be omitted (field not set) if there was no
// prior `Assist` RPC because this is the first `Assist` RPC made by this
// device after it was first setup and/or a factory-default reset.
ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
// *Required* Language of the request in
// [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example,
// "en-US"). See [Language Support](https://developers.google.com/assistant/sdk/reference/rpc/languages)
// for more information. If you have selected a language for this `device_id`
// using the [Settings](https://developers.google.com/assistant/sdk/reference/assistant-app/assistant-settings)
// menu in your phone's Google Assistant app, that selection will override
// this value.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// *Optional* Location of the device where the query originated.
DeviceLocation *DeviceLocation `protobuf:"bytes,5,opt,name=device_location,json=deviceLocation,proto3" json:"device_location,omitempty"`
// *Optional* If true, the server will treat the request as a new conversation
// and not use state from the prior request. Set this field to true when the
// conversation should be restarted, such as after a device reboot, or after a
// significant lapse of time since the prior query.
IsNewConversation bool `protobuf:"varint,7,opt,name=is_new_conversation,json=isNewConversation,proto3" json:"is_new_conversation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DialogStateIn) Reset() { *m = DialogStateIn{} }
func (m *DialogStateIn) String() string { return proto.CompactTextString(m) }
func (*DialogStateIn) ProtoMessage() {}
func (*DialogStateIn) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{7}
}
func (m *DialogStateIn) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DialogStateIn.Unmarshal(m, b)
}
func (m *DialogStateIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DialogStateIn.Marshal(b, m, deterministic)
}
func (dst *DialogStateIn) XXX_Merge(src proto.Message) {
xxx_messageInfo_DialogStateIn.Merge(dst, src)
}
func (m *DialogStateIn) XXX_Size() int {
return xxx_messageInfo_DialogStateIn.Size(m)
}
func (m *DialogStateIn) XXX_DiscardUnknown() {
xxx_messageInfo_DialogStateIn.DiscardUnknown(m)
}
var xxx_messageInfo_DialogStateIn proto.InternalMessageInfo
func (m *DialogStateIn) GetConversationState() []byte {
if m != nil {
return m.ConversationState
}
return nil
}
func (m *DialogStateIn) GetLanguageCode() string {
if m != nil {
return m.LanguageCode
}
return ""
}
func (m *DialogStateIn) GetDeviceLocation() *DeviceLocation {
if m != nil {
return m.DeviceLocation
}
return nil
}
func (m *DialogStateIn) GetIsNewConversation() bool {
if m != nil {
return m.IsNewConversation
}
return false
}
// *Required* Fields that identify the device to the Assistant.
//
// See also:
//
// * [Register a Device - REST
// API](https://developers.google.com/assistant/sdk/reference/device-registration/register-device-manual)
// * [Device Model and Instance
// Schemas](https://developers.google.com/assistant/sdk/reference/device-registration/model-and-instance-schemas)
// * [Device
// Proto](https://developers.google.com/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#device)
type DeviceConfig struct {
// *Required* Unique identifier for the device. The id length must be 128
// characters or less. Example: DBCDW098234. This MUST match the device_id
// returned from device registration. This device_id is used to match against
// the user's registered devices to lookup the supported traits and
// capabilities of this device. This information should not change across
// device reboots. However, it should not be saved across
// factory-default resets.
DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
// *Required* Unique identifier for the device model. The combination of
// device_model_id and device_id must have been previously associated through
// device registration.
DeviceModelId string `protobuf:"bytes,3,opt,name=device_model_id,json=deviceModelId,proto3" json:"device_model_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceConfig) Reset() { *m = DeviceConfig{} }
func (m *DeviceConfig) String() string { return proto.CompactTextString(m) }
func (*DeviceConfig) ProtoMessage() {}
func (*DeviceConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{8}
}
func (m *DeviceConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceConfig.Unmarshal(m, b)
}
func (m *DeviceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceConfig.Marshal(b, m, deterministic)
}
func (dst *DeviceConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceConfig.Merge(dst, src)
}
func (m *DeviceConfig) XXX_Size() int {
return xxx_messageInfo_DeviceConfig.Size(m)
}
func (m *DeviceConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceConfig proto.InternalMessageInfo
func (m *DeviceConfig) GetDeviceId() string {
if m != nil {
return m.DeviceId
}
return ""
}
func (m *DeviceConfig) GetDeviceModelId() string {
if m != nil {
return m.DeviceModelId
}
return ""
}
// The audio containing the Assistant's response to the query. Sequential chunks
// of audio data are received in sequential `AssistResponse` messages.
type AudioOut struct {
// *Output-only* The audio data containing the Assistant's response to the
// query. Sequential chunks of audio data are received in sequential
// `AssistResponse` messages.
AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AudioOut) Reset() { *m = AudioOut{} }
func (m *AudioOut) String() string { return proto.CompactTextString(m) }
func (*AudioOut) ProtoMessage() {}
func (*AudioOut) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{9}
}
func (m *AudioOut) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AudioOut.Unmarshal(m, b)
}
func (m *AudioOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AudioOut.Marshal(b, m, deterministic)
}
func (dst *AudioOut) XXX_Merge(src proto.Message) {
xxx_messageInfo_AudioOut.Merge(dst, src)
}
func (m *AudioOut) XXX_Size() int {
return xxx_messageInfo_AudioOut.Size(m)
}
func (m *AudioOut) XXX_DiscardUnknown() {
xxx_messageInfo_AudioOut.DiscardUnknown(m)
}
var xxx_messageInfo_AudioOut proto.InternalMessageInfo
func (m *AudioOut) GetAudioData() []byte {
if m != nil {
return m.AudioData
}
return nil
}
// The Assistant's visual output response to query. Enabled by
// `screen_out_config`.
type ScreenOut struct {
// *Output-only* The format of the provided screen data.
Format ScreenOut_Format `protobuf:"varint,1,opt,name=format,proto3,enum=google.assistant.embedded.v1alpha2.ScreenOut_Format" json:"format,omitempty"`
// *Output-only* The raw screen data to be displayed as the result of the
// Assistant query.
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 *ScreenOut) Reset() { *m = ScreenOut{} }
func (m *ScreenOut) String() string { return proto.CompactTextString(m) }
func (*ScreenOut) ProtoMessage() {}
func (*ScreenOut) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{10}
}
func (m *ScreenOut) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ScreenOut.Unmarshal(m, b)
}
func (m *ScreenOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ScreenOut.Marshal(b, m, deterministic)
}
func (dst *ScreenOut) XXX_Merge(src proto.Message) {
xxx_messageInfo_ScreenOut.Merge(dst, src)
}
func (m *ScreenOut) XXX_Size() int {
return xxx_messageInfo_ScreenOut.Size(m)
}
func (m *ScreenOut) XXX_DiscardUnknown() {
xxx_messageInfo_ScreenOut.DiscardUnknown(m)
}
var xxx_messageInfo_ScreenOut proto.InternalMessageInfo
func (m *ScreenOut) GetFormat() ScreenOut_Format {
if m != nil {
return m.Format
}
return ScreenOut_FORMAT_UNSPECIFIED
}
func (m *ScreenOut) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
// The response returned to the device if the user has triggered a Device
// Action. For example, a device which supports the query *Turn on the light*
// would receive a `DeviceAction` with a JSON payload containing the semantics
// of the request.
type DeviceAction struct {
// JSON containing the device command response generated from the triggered
// Device Action grammar. The format is given by the
// `action.devices.EXECUTE` intent for a given
// [trait](https://developers.google.com/assistant/sdk/reference/traits/).
DeviceRequestJson string `protobuf:"bytes,1,opt,name=device_request_json,json=deviceRequestJson,proto3" json:"device_request_json,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceAction) Reset() { *m = DeviceAction{} }
func (m *DeviceAction) String() string { return proto.CompactTextString(m) }
func (*DeviceAction) ProtoMessage() {}
func (*DeviceAction) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{11}
}
func (m *DeviceAction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceAction.Unmarshal(m, b)
}
func (m *DeviceAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceAction.Marshal(b, m, deterministic)
}
func (dst *DeviceAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceAction.Merge(dst, src)
}
func (m *DeviceAction) XXX_Size() int {
return xxx_messageInfo_DeviceAction.Size(m)
}
func (m *DeviceAction) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceAction.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceAction proto.InternalMessageInfo
func (m *DeviceAction) GetDeviceRequestJson() string {
if m != nil {
return m.DeviceRequestJson
}
return ""
}
// The estimated transcription of a phrase the user has spoken. This could be
// a single segment or the full guess of the user's spoken query.
type SpeechRecognitionResult struct {
// *Output-only* Transcript text representing the words that the user spoke.
Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"`
// *Output-only* An estimate of the likelihood that the Assistant will not
// change its guess about this result. Values range from 0.0 (completely
// unstable) to 1.0 (completely stable and final). The default of 0.0 is a
// sentinel value indicating `stability` was not set.
Stability float32 `protobuf:"fixed32,2,opt,name=stability,proto3" json:"stability,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SpeechRecognitionResult) Reset() { *m = SpeechRecognitionResult{} }
func (m *SpeechRecognitionResult) String() string { return proto.CompactTextString(m) }
func (*SpeechRecognitionResult) ProtoMessage() {}
func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{12}
}
func (m *SpeechRecognitionResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SpeechRecognitionResult.Unmarshal(m, b)
}
func (m *SpeechRecognitionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SpeechRecognitionResult.Marshal(b, m, deterministic)
}
func (dst *SpeechRecognitionResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_SpeechRecognitionResult.Merge(dst, src)
}
func (m *SpeechRecognitionResult) XXX_Size() int {
return xxx_messageInfo_SpeechRecognitionResult.Size(m)
}
func (m *SpeechRecognitionResult) XXX_DiscardUnknown() {
xxx_messageInfo_SpeechRecognitionResult.DiscardUnknown(m)
}
var xxx_messageInfo_SpeechRecognitionResult proto.InternalMessageInfo
func (m *SpeechRecognitionResult) GetTranscript() string {
if m != nil {
return m.Transcript
}
return ""
}
func (m *SpeechRecognitionResult) GetStability() float32 {
if m != nil {
return m.Stability
}
return 0
}
// The dialog state resulting from the user's query. Multiple of these messages
// may be received.
type DialogStateOut struct {
// *Output-only* Supplemental display text from the Assistant. This could be
// the same as the speech spoken in `AssistResponse.audio_out` or it could
// be some additional information which aids the user's understanding.
SupplementalDisplayText string `protobuf:"bytes,1,opt,name=supplemental_display_text,json=supplementalDisplayText,proto3" json:"supplemental_display_text,omitempty"`
// *Output-only* State information for the subsequent `Assist` RPC. This
// value should be saved in the client and returned in the
// [`DialogStateIn.conversation_state`](#dialogstatein) field with the next
// `Assist` RPC. (The client does not need to interpret or otherwise use this
// value.) This information should be saved across device reboots. However,
// this value should be cleared (not saved in the client) during a
// factory-default reset.
ConversationState []byte `protobuf:"bytes,2,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
// *Output-only* Specifies the mode of the microphone after this `Assist`
// RPC is processed.
MicrophoneMode DialogStateOut_MicrophoneMode `protobuf:"varint,3,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha2.DialogStateOut_MicrophoneMode" json:"microphone_mode,omitempty"`
// *Output-only* Updated volume level. The value will be 0 or omitted
// (indicating no change) unless a voice command such as *Increase the volume*
// or *Set volume level 4* was recognized, in which case the value will be
// between 1 and 100 (corresponding to the new volume level of 1% to 100%).
// Typically, a client should use this volume level when playing the
// `audio_out` data, and retain this value as the current volume level and
// supply it in the `AudioOutConfig` of the next `AssistRequest`. (Some
// clients may also implement other ways to allow the current volume level to
// be changed, for example, by providing a knob that the user can turn.)
VolumePercentage int32 `protobuf:"varint,4,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DialogStateOut) Reset() { *m = DialogStateOut{} }
func (m *DialogStateOut) String() string { return proto.CompactTextString(m) }
func (*DialogStateOut) ProtoMessage() {}
func (*DialogStateOut) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{13}
}
func (m *DialogStateOut) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DialogStateOut.Unmarshal(m, b)
}
func (m *DialogStateOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DialogStateOut.Marshal(b, m, deterministic)
}
func (dst *DialogStateOut) XXX_Merge(src proto.Message) {
xxx_messageInfo_DialogStateOut.Merge(dst, src)
}
func (m *DialogStateOut) XXX_Size() int {
return xxx_messageInfo_DialogStateOut.Size(m)
}
func (m *DialogStateOut) XXX_DiscardUnknown() {
xxx_messageInfo_DialogStateOut.DiscardUnknown(m)
}
var xxx_messageInfo_DialogStateOut proto.InternalMessageInfo
func (m *DialogStateOut) GetSupplementalDisplayText() string {
if m != nil {
return m.SupplementalDisplayText
}
return ""
}
func (m *DialogStateOut) GetConversationState() []byte {
if m != nil {
return m.ConversationState
}
return nil
}
func (m *DialogStateOut) GetMicrophoneMode() DialogStateOut_MicrophoneMode {
if m != nil {
return m.MicrophoneMode
}
return DialogStateOut_MICROPHONE_MODE_UNSPECIFIED
}
func (m *DialogStateOut) GetVolumePercentage() int32 {
if m != nil {
return m.VolumePercentage
}
return 0
}
// Debugging parameters for the current request.
type DebugConfig struct {
// When this field is set to true, the `debug_info` field in `AssistResponse`
// may be populated. However it will significantly increase latency of
// responses. Do not set this field true in production code.
ReturnDebugInfo bool `protobuf:"varint,6,opt,name=return_debug_info,json=returnDebugInfo,proto3" json:"return_debug_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DebugConfig) Reset() { *m = DebugConfig{} }
func (m *DebugConfig) String() string { return proto.CompactTextString(m) }
func (*DebugConfig) ProtoMessage() {}
func (*DebugConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{14}
}
func (m *DebugConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DebugConfig.Unmarshal(m, b)
}
func (m *DebugConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DebugConfig.Marshal(b, m, deterministic)
}
func (dst *DebugConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DebugConfig.Merge(dst, src)
}
func (m *DebugConfig) XXX_Size() int {
return xxx_messageInfo_DebugConfig.Size(m)
}
func (m *DebugConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DebugConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DebugConfig proto.InternalMessageInfo
func (m *DebugConfig) GetReturnDebugInfo() bool {
if m != nil {
return m.ReturnDebugInfo
}
return false
}
// There are three sources of locations. They are used with this precedence:
//
// 1. This `DeviceLocation`, which is primarily used for mobile devices with
// GPS .
// 2. Location specified by the user during device setup; this is per-user, per
// device. This location is used if `DeviceLocation` is not specified.
// 3. Inferred location based on IP address. This is used only if neither of the
// above are specified.
type DeviceLocation struct {
// Types that are valid to be assigned to Type:
// *DeviceLocation_Coordinates
Type isDeviceLocation_Type `protobuf_oneof:"type"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceLocation) Reset() { *m = DeviceLocation{} }
func (m *DeviceLocation) String() string { return proto.CompactTextString(m) }
func (*DeviceLocation) ProtoMessage() {}
func (*DeviceLocation) Descriptor() ([]byte, []int) {
return fileDescriptor_embedded_assistant_ff6c99435b909ee5, []int{15}
}
func (m *DeviceLocation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceLocation.Unmarshal(m, b)
}
func (m *DeviceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceLocation.Marshal(b, m, deterministic)
}
func (dst *DeviceLocation) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceLocation.Merge(dst, src)
}
func (m *DeviceLocation) XXX_Size() int {
return xxx_messageInfo_DeviceLocation.Size(m)
}
func (m *DeviceLocation) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceLocation.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceLocation proto.InternalMessageInfo
type isDeviceLocation_Type interface {
isDeviceLocation_Type()
}
type DeviceLocation_Coordinates struct {
Coordinates *latlng.LatLng `protobuf:"bytes,1,opt,name=coordinates,proto3,oneof"`
}
func (*DeviceLocation_Coordinates) isDeviceLocation_Type() {}
func (m *DeviceLocation) GetType() isDeviceLocation_Type {
if m != nil {
return m.Type
}
return nil
}
func (m *DeviceLocation) GetCoordinates() *latlng.LatLng {
if x, ok := m.GetType().(*DeviceLocation_Coordinates); ok {
return x.Coordinates
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*DeviceLocation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _DeviceLocation_OneofMarshaler, _DeviceLocation_OneofUnmarshaler, _DeviceLocation_OneofSizer, []interface{}{
(*DeviceLocation_Coordinates)(nil),
}
}
func _DeviceLocation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*DeviceLocation)
// type
switch x := m.Type.(type) {
case *DeviceLocation_Coordinates:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Coordinates); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("DeviceLocation.Type has unexpected type %T", x)
}
return nil
}
func _DeviceLocation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*DeviceLocation)
switch tag {
case 1: // type.coordinates
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(latlng.LatLng)
err := b.DecodeMessage(msg)
m.Type = &DeviceLocation_Coordinates{msg}
return true, err
default:
return false, nil
}
}
func _DeviceLocation_OneofSizer(msg proto.Message) (n int) {
m := msg.(*DeviceLocation)
// type
switch x := m.Type.(type) {
case *DeviceLocation_Coordinates:
s := proto.Size(x.Coordinates)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
func init() {
proto.RegisterType((*AssistRequest)(nil), "google.assistant.embedded.v1alpha2.AssistRequest")
proto.RegisterType((*AssistResponse)(nil), "google.assistant.embedded.v1alpha2.AssistResponse")
proto.RegisterType((*DebugInfo)(nil), "google.assistant.embedded.v1alpha2.DebugInfo")
proto.RegisterType((*AssistConfig)(nil), "google.assistant.embedded.v1alpha2.AssistConfig")
proto.RegisterType((*AudioInConfig)(nil), "google.assistant.embedded.v1alpha2.AudioInConfig")
proto.RegisterType((*AudioOutConfig)(nil), "google.assistant.embedded.v1alpha2.AudioOutConfig")
proto.RegisterType((*ScreenOutConfig)(nil), "google.assistant.embedded.v1alpha2.ScreenOutConfig")
proto.RegisterType((*DialogStateIn)(nil), "google.assistant.embedded.v1alpha2.DialogStateIn")
proto.RegisterType((*DeviceConfig)(nil), "google.assistant.embedded.v1alpha2.DeviceConfig")
proto.RegisterType((*AudioOut)(nil), "google.assistant.embedded.v1alpha2.AudioOut")
proto.RegisterType((*ScreenOut)(nil), "google.assistant.embedded.v1alpha2.ScreenOut")
proto.RegisterType((*DeviceAction)(nil), "google.assistant.embedded.v1alpha2.DeviceAction")
proto.RegisterType((*SpeechRecognitionResult)(nil), "google.assistant.embedded.v1alpha2.SpeechRecognitionResult")
proto.RegisterType((*DialogStateOut)(nil), "google.assistant.embedded.v1alpha2.DialogStateOut")
proto.RegisterType((*DebugConfig)(nil), "google.assistant.embedded.v1alpha2.DebugConfig")
proto.RegisterType((*DeviceLocation)(nil), "google.assistant.embedded.v1alpha2.DeviceLocation")
proto.RegisterEnum("google.assistant.embedded.v1alpha2.AssistResponse_EventType", AssistResponse_EventType_name, AssistResponse_EventType_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha2.AudioInConfig_Encoding", AudioInConfig_Encoding_name, AudioInConfig_Encoding_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha2.AudioOutConfig_Encoding", AudioOutConfig_Encoding_name, AudioOutConfig_Encoding_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha2.ScreenOutConfig_ScreenMode", ScreenOutConfig_ScreenMode_name, ScreenOutConfig_ScreenMode_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha2.ScreenOut_Format", ScreenOut_Format_name, ScreenOut_Format_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha2.DialogStateOut_MicrophoneMode", DialogStateOut_MicrophoneMode_name, DialogStateOut_MicrophoneMode_value)
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// EmbeddedAssistantClient is the client API for EmbeddedAssistant service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type EmbeddedAssistantClient interface {
// Initiates or continues a conversation with the embedded Assistant Service.
// Each call performs one round-trip, sending an audio request to the service
// and receiving the audio response. Uses bidirectional streaming to receive
// results, such as the `END_OF_UTTERANCE` event, while sending audio.
//
// A conversation is one or more gRPC connections, each consisting of several
// streamed requests and responses.
// For example, the user says *Add to my shopping list* and the Assistant
// responds *What do you want to add?*. The sequence of streamed requests and
// responses in the first gRPC message could be:
//
// * AssistRequest.config
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistResponse.event_type.END_OF_UTTERANCE
// * AssistResponse.speech_results.transcript "add to my shopping list"
// * AssistResponse.dialog_state_out.microphone_mode.DIALOG_FOLLOW_ON
// * AssistResponse.audio_out
// * AssistResponse.audio_out
// * AssistResponse.audio_out
//
//
// The user then says *bagels* and the Assistant responds
// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
// connection call to the `Assist` method, again with streamed requests and
// responses, such as:
//
// * AssistRequest.config
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistResponse.event_type.END_OF_UTTERANCE
// * AssistResponse.dialog_state_out.microphone_mode.CLOSE_MICROPHONE
// * AssistResponse.audio_out
// * AssistResponse.audio_out
// * AssistResponse.audio_out
// * AssistResponse.audio_out
//
// Although the precise order of responses is not guaranteed, sequential
// `AssistResponse.audio_out` messages will always contain sequential portions
// of audio.
Assist(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_AssistClient, error)
}
type embeddedAssistantClient struct {
cc *grpc.ClientConn
}
func NewEmbeddedAssistantClient(cc *grpc.ClientConn) EmbeddedAssistantClient {
return &embeddedAssistantClient{cc}
}
func (c *embeddedAssistantClient) Assist(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_AssistClient, error) {
stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha2.EmbeddedAssistant/Assist", opts...)
if err != nil {
return nil, err
}
x := &embeddedAssistantAssistClient{stream}
return x, nil
}
type EmbeddedAssistant_AssistClient interface {
Send(*AssistRequest) error
Recv() (*AssistResponse, error)
grpc.ClientStream
}
type embeddedAssistantAssistClient struct {
grpc.ClientStream
}
func (x *embeddedAssistantAssistClient) Send(m *AssistRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *embeddedAssistantAssistClient) Recv() (*AssistResponse, error) {
m := new(AssistResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// EmbeddedAssistantServer is the server API for EmbeddedAssistant service.
type EmbeddedAssistantServer interface {
// Initiates or continues a conversation with the embedded Assistant Service.
// Each call performs one round-trip, sending an audio request to the service
// and receiving the audio response. Uses bidirectional streaming to receive
// results, such as the `END_OF_UTTERANCE` event, while sending audio.
//
// A conversation is one or more gRPC connections, each consisting of several
// streamed requests and responses.
// For example, the user says *Add to my shopping list* and the Assistant
// responds *What do you want to add?*. The sequence of streamed requests and
// responses in the first gRPC message could be:
//
// * AssistRequest.config
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistResponse.event_type.END_OF_UTTERANCE
// * AssistResponse.speech_results.transcript "add to my shopping list"
// * AssistResponse.dialog_state_out.microphone_mode.DIALOG_FOLLOW_ON
// * AssistResponse.audio_out
// * AssistResponse.audio_out
// * AssistResponse.audio_out
//
//
// The user then says *bagels* and the Assistant responds
// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
// connection call to the `Assist` method, again with streamed requests and
// responses, such as:
//
// * AssistRequest.config
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistRequest.audio_in
// * AssistResponse.event_type.END_OF_UTTERANCE
// * AssistResponse.dialog_state_out.microphone_mode.CLOSE_MICROPHONE
// * AssistResponse.audio_out
// * AssistResponse.audio_out
// * AssistResponse.audio_out
// * AssistResponse.audio_out
//
// Although the precise order of responses is not guaranteed, sequential
// `AssistResponse.audio_out` messages will always contain sequential portions
// of audio.
Assist(EmbeddedAssistant_AssistServer) error
}
func RegisterEmbeddedAssistantServer(s *grpc.Server, srv EmbeddedAssistantServer) {
s.RegisterService(&_EmbeddedAssistant_serviceDesc, srv)
}
func _EmbeddedAssistant_Assist_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(EmbeddedAssistantServer).Assist(&embeddedAssistantAssistServer{stream})
}
type EmbeddedAssistant_AssistServer interface {
Send(*AssistResponse) error
Recv() (*AssistRequest, error)
grpc.ServerStream
}
type embeddedAssistantAssistServer struct {
grpc.ServerStream
}
func (x *embeddedAssistantAssistServer) Send(m *AssistResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *embeddedAssistantAssistServer) Recv() (*AssistRequest, error) {
m := new(AssistRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.assistant.embedded.v1alpha2.EmbeddedAssistant",
HandlerType: (*EmbeddedAssistantServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "Assist",
Handler: _EmbeddedAssistant_Assist_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "google/assistant/embedded/v1alpha2/embedded_assistant.proto",
}
func init() {
proto.RegisterFile("google/assistant/embedded/v1alpha2/embedded_assistant.proto", fileDescriptor_embedded_assistant_ff6c99435b909ee5)
}
var fileDescriptor_embedded_assistant_ff6c99435b909ee5 = []byte{
// 1449 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x41, 0x73, 0xdb, 0xc6,
0x15, 0x16, 0x28, 0x8a, 0x22, 0x1f, 0x29, 0x92, 0x5a, 0x7b, 0x6c, 0x56, 0x72, 0x6b, 0x0d, 0x3a,
0xe3, 0x51, 0xdd, 0x9a, 0xb4, 0xe8, 0x4e, 0x3b, 0xb5, 0x5c, 0x77, 0x68, 0x12, 0x94, 0xe0, 0x52,
0x04, 0x0d, 0x52, 0xf6, 0xb8, 0x6e, 0x07, 0xb3, 0x22, 0x56, 0x10, 0x3c, 0xe0, 0x2e, 0x0d, 0x2c,
0x65, 0xab, 0xa7, 0x1c, 0x73, 0x4b, 0xae, 0xb9, 0xe6, 0x9c, 0x5b,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