Bumping k8s dependencies to 1.13
This commit is contained in:
@@ -1,33 +1,16 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/assistant/embedded/v1alpha1/embedded_assistant.proto
|
||||
|
||||
/*
|
||||
Package embedded is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/assistant/embedded/v1alpha1/embedded_assistant.proto
|
||||
|
||||
It has these top-level messages:
|
||||
ConverseConfig
|
||||
AudioInConfig
|
||||
AudioOutConfig
|
||||
ConverseState
|
||||
AudioOut
|
||||
ConverseResult
|
||||
ConverseRequest
|
||||
ConverseResponse
|
||||
*/
|
||||
package embedded
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -66,6 +49,7 @@ var AudioInConfig_Encoding_name = map[int32]string{
|
||||
1: "LINEAR16",
|
||||
2: "FLAC",
|
||||
}
|
||||
|
||||
var AudioInConfig_Encoding_value = map[string]int32{
|
||||
"ENCODING_UNSPECIFIED": 0,
|
||||
"LINEAR16": 1,
|
||||
@@ -75,7 +59,10 @@ var AudioInConfig_Encoding_value = map[string]int32{
|
||||
func (x AudioInConfig_Encoding) String() string {
|
||||
return proto.EnumName(AudioInConfig_Encoding_name, int32(x))
|
||||
}
|
||||
func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
|
||||
func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{1, 0}
|
||||
}
|
||||
|
||||
// Audio encoding of the data returned in the audio message. All encodings are
|
||||
// raw audio bytes with no header, except as indicated below.
|
||||
@@ -101,6 +88,7 @@ var AudioOutConfig_Encoding_name = map[int32]string{
|
||||
2: "MP3",
|
||||
3: "OPUS_IN_OGG",
|
||||
}
|
||||
|
||||
var AudioOutConfig_Encoding_value = map[string]int32{
|
||||
"ENCODING_UNSPECIFIED": 0,
|
||||
"LINEAR16": 1,
|
||||
@@ -111,7 +99,10 @@ var AudioOutConfig_Encoding_value = map[string]int32{
|
||||
func (x AudioOutConfig_Encoding) String() string {
|
||||
return proto.EnumName(AudioOutConfig_Encoding_name, int32(x))
|
||||
}
|
||||
func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
|
||||
func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{2, 0}
|
||||
}
|
||||
|
||||
// Possible states of the microphone after a `Converse` RPC completes.
|
||||
type ConverseResult_MicrophoneMode int32
|
||||
@@ -133,6 +124,7 @@ var ConverseResult_MicrophoneMode_name = map[int32]string{
|
||||
1: "CLOSE_MICROPHONE",
|
||||
2: "DIALOG_FOLLOW_ON",
|
||||
}
|
||||
|
||||
var ConverseResult_MicrophoneMode_value = map[string]int32{
|
||||
"MICROPHONE_MODE_UNSPECIFIED": 0,
|
||||
"CLOSE_MICROPHONE": 1,
|
||||
@@ -142,8 +134,9 @@ var ConverseResult_MicrophoneMode_value = map[string]int32{
|
||||
func (x ConverseResult_MicrophoneMode) String() string {
|
||||
return proto.EnumName(ConverseResult_MicrophoneMode_name, int32(x))
|
||||
}
|
||||
|
||||
func (ConverseResult_MicrophoneMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{5, 0}
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{5, 0}
|
||||
}
|
||||
|
||||
// Indicates the type of event.
|
||||
@@ -165,6 +158,7 @@ var ConverseResponse_EventType_name = map[int32]string{
|
||||
0: "EVENT_TYPE_UNSPECIFIED",
|
||||
1: "END_OF_UTTERANCE",
|
||||
}
|
||||
|
||||
var ConverseResponse_EventType_value = map[string]int32{
|
||||
"EVENT_TYPE_UNSPECIFIED": 0,
|
||||
"END_OF_UTTERANCE": 1,
|
||||
@@ -173,24 +167,48 @@ var ConverseResponse_EventType_value = map[string]int32{
|
||||
func (x ConverseResponse_EventType) String() string {
|
||||
return proto.EnumName(ConverseResponse_EventType_name, int32(x))
|
||||
}
|
||||
|
||||
func (ConverseResponse_EventType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{7, 0}
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{7, 0}
|
||||
}
|
||||
|
||||
// Specifies how to process the `ConverseRequest` messages.
|
||||
type ConverseConfig struct {
|
||||
// *Required* Specifies how to process the subsequent incoming audio.
|
||||
AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig" json:"audio_in_config,omitempty"`
|
||||
AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3" json:"audio_in_config,omitempty"`
|
||||
// *Required* Specifies how to format the audio that will be returned.
|
||||
AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig" json:"audio_out_config,omitempty"`
|
||||
AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"`
|
||||
// *Required* Represents the current dialog state.
|
||||
ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState" json:"converse_state,omitempty"`
|
||||
ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState,proto3" json:"converse_state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseConfig) Reset() { *m = ConverseConfig{} }
|
||||
func (m *ConverseConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseConfig) ProtoMessage() {}
|
||||
func (*ConverseConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *ConverseConfig) Reset() { *m = ConverseConfig{} }
|
||||
func (m *ConverseConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseConfig) ProtoMessage() {}
|
||||
func (*ConverseConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{0}
|
||||
}
|
||||
|
||||
func (m *ConverseConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseConfig.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseConfig.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseConfig.Merge(m, src)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseConfig.Size(m)
|
||||
}
|
||||
func (m *ConverseConfig) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseConfig.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseConfig proto.InternalMessageInfo
|
||||
|
||||
func (m *ConverseConfig) GetAudioInConfig() *AudioInConfig {
|
||||
if m != nil {
|
||||
@@ -218,19 +236,42 @@ func (m *ConverseConfig) GetConverseState() *ConverseState {
|
||||
// [best practices](https://developers.google.com/assistant/sdk/develop/grpc/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,enum=google.assistant.embedded.v1alpha1.AudioInConfig_Encoding" json:"encoding,omitempty"`
|
||||
Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.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" json:"sample_rate_hertz,omitempty"`
|
||||
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 fileDescriptor0, []int{1} }
|
||||
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_2a6c80cea3f0c886, []int{1}
|
||||
}
|
||||
|
||||
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 (m *AudioInConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AudioInConfig.Merge(m, 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 {
|
||||
@@ -251,19 +292,42 @@ func (m *AudioInConfig) GetSampleRateHertz() int32 {
|
||||
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,enum=google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding" json:"encoding,omitempty"`
|
||||
Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.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" json:"sample_rate_hertz,omitempty"`
|
||||
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" json:"volume_percentage,omitempty"`
|
||||
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 fileDescriptor0, []int{2} }
|
||||
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_2a6c80cea3f0c886, []int{2}
|
||||
}
|
||||
|
||||
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 (m *AudioOutConfig) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AudioOutConfig.Merge(m, 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 {
|
||||
@@ -293,13 +357,36 @@ type ConverseState struct {
|
||||
// `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit
|
||||
// this field; doing so will end that conversation (and this new request will
|
||||
// start a new conversation).
|
||||
ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
|
||||
ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseState) Reset() { *m = ConverseState{} }
|
||||
func (m *ConverseState) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseState) ProtoMessage() {}
|
||||
func (*ConverseState) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *ConverseState) Reset() { *m = ConverseState{} }
|
||||
func (m *ConverseState) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseState) ProtoMessage() {}
|
||||
func (*ConverseState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{3}
|
||||
}
|
||||
|
||||
func (m *ConverseState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConverseState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseState.Merge(m, src)
|
||||
}
|
||||
func (m *ConverseState) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseState.Size(m)
|
||||
}
|
||||
func (m *ConverseState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseState proto.InternalMessageInfo
|
||||
|
||||
func (m *ConverseState) GetConversationState() []byte {
|
||||
if m != nil {
|
||||
@@ -314,13 +401,36 @@ 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
|
||||
// `ConverseResponse` messages.
|
||||
AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
|
||||
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 fileDescriptor0, []int{4} }
|
||||
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_2a6c80cea3f0c886, []int{4}
|
||||
}
|
||||
|
||||
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 (m *AudioOut) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AudioOut.Merge(m, 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 {
|
||||
@@ -332,10 +442,10 @@ func (m *AudioOut) GetAudioData() []byte {
|
||||
// The semantic result for the user's spoken query.
|
||||
type ConverseResult struct {
|
||||
// *Output-only* The recognized transcript of what the user said.
|
||||
SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText" json:"spoken_request_text,omitempty"`
|
||||
SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText,proto3" json:"spoken_request_text,omitempty"`
|
||||
// *Output-only* The text of the assistant's spoken response. This is only
|
||||
// returned for an IFTTT action.
|
||||
SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText" json:"spoken_response_text,omitempty"`
|
||||
SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText,proto3" json:"spoken_response_text,omitempty"`
|
||||
// *Output-only* State information for subsequent `ConverseRequest`. This
|
||||
// value should be saved in the client and returned in the
|
||||
// `conversation_state` with the next `ConverseRequest`. (The client does not
|
||||
@@ -344,7 +454,7 @@ type ConverseResult struct {
|
||||
ConversationState []byte `protobuf:"bytes,3,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
|
||||
// *Output-only* Specifies the mode of the microphone after this `Converse`
|
||||
// RPC is processed.
|
||||
MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,enum=google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode" json:"microphone_mode,omitempty"`
|
||||
MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResult_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
|
||||
@@ -354,13 +464,36 @@ type ConverseResult struct {
|
||||
// supply it in the `AudioOutConfig` of the next `ConverseRequest`. (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,5,opt,name=volume_percentage,json=volumePercentage" json:"volume_percentage,omitempty"`
|
||||
VolumePercentage int32 `protobuf:"varint,5,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 *ConverseResult) Reset() { *m = ConverseResult{} }
|
||||
func (m *ConverseResult) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResult) ProtoMessage() {}
|
||||
func (*ConverseResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *ConverseResult) Reset() { *m = ConverseResult{} }
|
||||
func (m *ConverseResult) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResult) ProtoMessage() {}
|
||||
func (*ConverseResult) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{5}
|
||||
}
|
||||
|
||||
func (m *ConverseResult) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseResult.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseResult.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConverseResult) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseResult.Merge(m, src)
|
||||
}
|
||||
func (m *ConverseResult) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseResult.Size(m)
|
||||
}
|
||||
func (m *ConverseResult) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseResult.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseResult proto.InternalMessageInfo
|
||||
|
||||
func (m *ConverseResult) GetSpokenRequestText() string {
|
||||
if m != nil {
|
||||
@@ -408,26 +541,51 @@ type ConverseRequest struct {
|
||||
// Types that are valid to be assigned to ConverseRequest:
|
||||
// *ConverseRequest_Config
|
||||
// *ConverseRequest_AudioIn
|
||||
ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"`
|
||||
ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseRequest) Reset() { *m = ConverseRequest{} }
|
||||
func (m *ConverseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseRequest) ProtoMessage() {}
|
||||
func (*ConverseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *ConverseRequest) Reset() { *m = ConverseRequest{} }
|
||||
func (m *ConverseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseRequest) ProtoMessage() {}
|
||||
func (*ConverseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{6}
|
||||
}
|
||||
|
||||
func (m *ConverseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseRequest.Merge(m, src)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseRequest.Size(m)
|
||||
}
|
||||
func (m *ConverseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseRequest proto.InternalMessageInfo
|
||||
|
||||
type isConverseRequest_ConverseRequest interface {
|
||||
isConverseRequest_ConverseRequest()
|
||||
}
|
||||
|
||||
type ConverseRequest_Config struct {
|
||||
Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,oneof"`
|
||||
Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ConverseRequest_AudioIn struct {
|
||||
AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {}
|
||||
func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {}
|
||||
|
||||
func (*ConverseRequest_AudioIn) isConverseRequest_ConverseRequest() {}
|
||||
|
||||
func (m *ConverseRequest) GetConverseRequest() isConverseRequest_ConverseRequest {
|
||||
@@ -507,11 +665,11 @@ func _ConverseRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.ConverseRequest.(type) {
|
||||
case *ConverseRequest_Config:
|
||||
s := proto.Size(x.Config)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ConverseRequest_AudioIn:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.AudioIn)))
|
||||
n += len(x.AudioIn)
|
||||
case nil:
|
||||
@@ -531,35 +689,64 @@ type ConverseResponse struct {
|
||||
// *ConverseResponse_EventType_
|
||||
// *ConverseResponse_AudioOut
|
||||
// *ConverseResponse_Result
|
||||
ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"`
|
||||
ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConverseResponse) Reset() { *m = ConverseResponse{} }
|
||||
func (m *ConverseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResponse) ProtoMessage() {}
|
||||
func (*ConverseResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *ConverseResponse) Reset() { *m = ConverseResponse{} }
|
||||
func (m *ConverseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConverseResponse) ProtoMessage() {}
|
||||
func (*ConverseResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2a6c80cea3f0c886, []int{7}
|
||||
}
|
||||
|
||||
func (m *ConverseResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConverseResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConverseResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConverseResponse.Merge(m, src)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ConverseResponse.Size(m)
|
||||
}
|
||||
func (m *ConverseResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConverseResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConverseResponse proto.InternalMessageInfo
|
||||
|
||||
type isConverseResponse_ConverseResponse interface {
|
||||
isConverseResponse_ConverseResponse()
|
||||
}
|
||||
|
||||
type ConverseResponse_Error struct {
|
||||
Error *google_rpc.Status `protobuf:"bytes,1,opt,name=error,oneof"`
|
||||
}
|
||||
type ConverseResponse_EventType_ struct {
|
||||
EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"`
|
||||
}
|
||||
type ConverseResponse_AudioOut struct {
|
||||
AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,oneof"`
|
||||
}
|
||||
type ConverseResponse_Result struct {
|
||||
Result *ConverseResult `protobuf:"bytes,5,opt,name=result,oneof"`
|
||||
Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {}
|
||||
type ConverseResponse_EventType_ struct {
|
||||
EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"`
|
||||
}
|
||||
|
||||
type ConverseResponse_AudioOut struct {
|
||||
AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ConverseResponse_Result struct {
|
||||
Result *ConverseResult `protobuf:"bytes,5,opt,name=result,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (*ConverseResponse_EventType_) isConverseResponse_ConverseResponse() {}
|
||||
func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {}
|
||||
func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {}
|
||||
|
||||
func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResponse {
|
||||
if m != nil {
|
||||
@@ -568,7 +755,7 @@ func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResp
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ConverseResponse) GetError() *google_rpc.Status {
|
||||
func (m *ConverseResponse) GetError() *status.Status {
|
||||
if x, ok := m.GetConverseResponse().(*ConverseResponse_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
@@ -642,7 +829,7 @@ func _ConverseResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *pro
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_rpc.Status)
|
||||
msg := new(status.Status)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ConverseResponse = &ConverseResponse_Error{msg}
|
||||
return true, err
|
||||
@@ -680,20 +867,20 @@ func _ConverseResponse_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.ConverseResponse.(type) {
|
||||
case *ConverseResponse_Error:
|
||||
s := proto.Size(x.Error)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ConverseResponse_EventType_:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.EventType))
|
||||
case *ConverseResponse_AudioOut:
|
||||
s := proto.Size(x.AudioOut)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ConverseResponse_Result:
|
||||
s := proto.Size(x.Result)
|
||||
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -704,6 +891,10 @@ func _ConverseResponse_OneofSizer(msg proto.Message) (n int) {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioInConfig_Encoding", AudioInConfig_Encoding_name, AudioInConfig_Encoding_value)
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding", AudioOutConfig_Encoding_name, AudioOutConfig_Encoding_value)
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode", ConverseResult_MicrophoneMode_name, ConverseResult_MicrophoneMode_value)
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResponse_EventType", ConverseResponse_EventType_name, ConverseResponse_EventType_value)
|
||||
proto.RegisterType((*ConverseConfig)(nil), "google.assistant.embedded.v1alpha1.ConverseConfig")
|
||||
proto.RegisterType((*AudioInConfig)(nil), "google.assistant.embedded.v1alpha1.AudioInConfig")
|
||||
proto.RegisterType((*AudioOutConfig)(nil), "google.assistant.embedded.v1alpha1.AudioOutConfig")
|
||||
@@ -712,10 +903,70 @@ func init() {
|
||||
proto.RegisterType((*ConverseResult)(nil), "google.assistant.embedded.v1alpha1.ConverseResult")
|
||||
proto.RegisterType((*ConverseRequest)(nil), "google.assistant.embedded.v1alpha1.ConverseRequest")
|
||||
proto.RegisterType((*ConverseResponse)(nil), "google.assistant.embedded.v1alpha1.ConverseResponse")
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioInConfig_Encoding", AudioInConfig_Encoding_name, AudioInConfig_Encoding_value)
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding", AudioOutConfig_Encoding_name, AudioOutConfig_Encoding_value)
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode", ConverseResult_MicrophoneMode_name, ConverseResult_MicrophoneMode_value)
|
||||
proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResponse_EventType", ConverseResponse_EventType_name, ConverseResponse_EventType_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor_2a6c80cea3f0c886)
|
||||
}
|
||||
|
||||
var fileDescriptor_2a6c80cea3f0c886 = []byte{
|
||||
// 892 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x51, 0x73, 0xdb, 0x44,
|
||||
0x10, 0xb6, 0xec, 0xa6, 0xb5, 0xb7, 0x89, 0x2c, 0x5f, 0x33, 0x90, 0x49, 0x61, 0x60, 0xf4, 0xc0,
|
||||
0x94, 0x02, 0x72, 0xe3, 0x30, 0x3c, 0x10, 0xe8, 0x8c, 0x63, 0x2b, 0xb1, 0xc1, 0x96, 0x3c, 0x67,
|
||||
0xa7, 0xa5, 0x0c, 0xcc, 0xcd, 0x55, 0x3e, 0x1c, 0x81, 0x7d, 0x27, 0xa4, 0x73, 0xa6, 0xe1, 0x07,
|
||||
0xf0, 0xd8, 0xe1, 0x95, 0x67, 0x7e, 0x11, 0xff, 0x88, 0xd1, 0x9d, 0xa4, 0xd8, 0x90, 0x42, 0x1c,
|
||||
0x1e, 0x6f, 0xf7, 0xbe, 0x4f, 0xbb, 0xdf, 0x7e, 0xb7, 0x23, 0x38, 0x9a, 0x09, 0x31, 0x9b, 0xb3,
|
||||
0x26, 0x4d, 0x92, 0x30, 0x91, 0x94, 0xcb, 0x26, 0x5b, 0xbc, 0x64, 0xd3, 0x29, 0x9b, 0x36, 0x2f,
|
||||
0x0e, 0xe8, 0x3c, 0x3a, 0xa7, 0x07, 0x45, 0x84, 0x14, 0x97, 0x9c, 0x28, 0x16, 0x52, 0x20, 0x5b,
|
||||
0x83, 0x9d, 0xab, 0x78, 0x7e, 0xd5, 0xc9, 0xc1, 0xfb, 0xef, 0xe4, 0x1f, 0x88, 0xc2, 0x26, 0xe5,
|
||||
0x5c, 0x48, 0x2a, 0x43, 0xc1, 0x13, 0xcd, 0xb0, 0xff, 0x76, 0x96, 0x8d, 0xa3, 0xa0, 0x99, 0x48,
|
||||
0x2a, 0x97, 0x59, 0xc2, 0xfe, 0xa3, 0x0c, 0x66, 0x47, 0xf0, 0x0b, 0x16,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 0xe0, 0x33, 0xcb, 0x40, 0x55, 0xb8, 0x73,
|
||||
0x32, 0x68, 0x77, 0xac, 0xb2, 0xfd, 0x5b, 0x19, 0xcc, 0x75, 0x41, 0xd1, 0xf3, 0x7f, 0x34, 0x75,
|
||||
0xb4, 0xf9, 0x58, 0xfe, 0x67, 0x57, 0xe8, 0x23, 0x68, 0x5c, 0x88, 0xf9, 0x72, 0xc1, 0x48, 0xc4,
|
||||
0xe2, 0x80, 0x71, 0x49, 0x67, 0x7a, 0x90, 0x5b, 0xd8, 0xd2, 0x89, 0x51, 0x11, 0xb7, 0x07, 0xb7,
|
||||
0x90, 0xe0, 0x1e, 0x54, 0x86, 0xa3, 0x43, 0xab, 0x8c, 0xea, 0x70, 0xdf, 0x1f, 0x9d, 0x8d, 0x49,
|
||||
0xdf, 0x23, 0xfe, 0xe9, 0xa9, 0x55, 0xb1, 0x9f, 0xc2, 0xce, 0x9a, 0x0d, 0xd0, 0x27, 0x80, 0x32,
|
||||
0x23, 0xa8, 0xd7, 0x94, 0xb9, 0x2a, 0x95, 0x66, 0x1b, 0x37, 0x56, 0x33, 0xda, 0x26, 0x1f, 0x42,
|
||||
0x35, 0xd7, 0x02, 0xbd, 0x0b, 0xa0, 0xad, 0x3e, 0xa5, 0x92, 0x66, 0x90, 0x9a, 0x8a, 0x74, 0xa9,
|
||||
0xa4, 0xf6, 0xef, 0x95, 0xab, 0x77, 0x87, 0x59, 0xb2, 0x9c, 0x4b, 0xe4, 0xc0, 0x83, 0x24, 0x12,
|
||||
0x3f, 0x31, 0x4e, 0x62, 0xf6, 0xf3, 0x92, 0x25, 0x92, 0x48, 0xf6, 0x4a, 0x2a, 0x68, 0x0d, 0x37,
|
||||
0x74, 0x0a, 0xeb, 0xcc, 0x84, 0xbd, 0x92, 0xe8, 0x09, 0xec, 0x16, 0xf7, 0x93, 0x48, 0xf0, 0x84,
|
||||
0x69, 0x40, 0x59, 0x01, 0x50, 0x0e, 0xd0, 0x29, 0x85, 0xb8, 0xbe, 0x9d, 0xca, 0x1b, 0xda, 0x41,
|
||||
0x3f, 0x42, 0x7d, 0x11, 0x06, 0xb1, 0x88, 0xce, 0x05, 0x67, 0x64, 0x21, 0xa6, 0x6c, 0xef, 0x8e,
|
||||
0x72, 0x45, 0x7b, 0x93, 0x07, 0xa5, 0xbb, 0x73, 0x86, 0x05, 0xd3, 0x50, 0x4c, 0x19, 0x36, 0x17,
|
||||
0x6b, 0xe7, 0xeb, 0xa7, 0xbe, 0xf5, 0x86, 0xa9, 0x7f, 0x0f, 0xe6, 0x3a, 0x1d, 0x7a, 0x0f, 0x1e,
|
||||
0x0e, 0xfb, 0x1d, 0xec, 0x8f, 0x7a, 0xbe, 0xe7, 0x92, 0xa1, 0xdf, 0x75, 0xff, 0x66, 0x81, 0x5d,
|
||||
0xb0, 0x3a, 0x03, 0x7f, 0xec, 0x92, 0xab, 0x6b, 0x96, 0x91, 0x46, 0xbb, 0xfd, 0xf6, 0xc0, 0x3f,
|
||||
0x25, 0x27, 0xfe, 0x60, 0xe0, 0x3f, 0x27, 0xbe, 0x97, 0xbe, 0x0c, 0x03, 0xea, 0x57, 0xd5, 0x2b,
|
||||
0xc1, 0xd1, 0x00, 0xee, 0xae, 0xed, 0xc2, 0xd6, 0x26, 0x12, 0xe8, 0x87, 0xd1, 0x2b, 0xe1, 0x8c,
|
||||
0x03, 0x3d, 0x84, 0x6a, 0xbe, 0x62, 0xd5, 0xb8, 0xb6, 0x7b, 0x25, 0x7c, 0x2f, 0x5b, 0x95, 0xc7,
|
||||
0x08, 0xac, 0x62, 0x8d, 0x65, 0x4e, 0xb0, 0x5f, 0x57, 0xc0, 0x5a, 0x11, 0x54, 0x8d, 0x14, 0x3d,
|
||||
0x86, 0x2d, 0x16, 0xc7, 0x22, 0xce, 0x4a, 0x42, 0x79, 0x49, 0x71, 0x14, 0x38, 0x63, 0xb5, 0xe4,
|
||||
0x7b, 0x25, 0xac, 0xaf, 0x20, 0x02, 0xc0, 0x2e, 0x18, 0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 0xe5, 0x28, 0x8f, 0xbc, 0xbc, 0xab, 0x60, 0x87, 0x7f, 0x05,
|
||||
0x00, 0x00, 0xff, 0xff, 0xec, 0x7a, 0x68, 0xfa, 0xf2, 0x08, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -726,8 +977,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for EmbeddedAssistant service
|
||||
|
||||
// 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
|
||||
@@ -782,7 +1034,7 @@ func NewEmbeddedAssistantClient(cc *grpc.ClientConn) EmbeddedAssistantClient {
|
||||
}
|
||||
|
||||
func (c *embeddedAssistantClient) Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], c.cc, "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...)
|
||||
stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -812,8 +1064,7 @@ func (x *embeddedAssistantConverseClient) Recv() (*ConverseResponse, error) {
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// Server API for EmbeddedAssistant service
|
||||
|
||||
// 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
|
||||
@@ -903,67 +1154,3 @@ var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{
|
||||
},
|
||||
Metadata: "google/assistant/embedded/v1alpha1/embedded_assistant.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor0)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 892 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x51, 0x73, 0xdb, 0x44,
|
||||
0x10, 0xb6, 0xec, 0xa6, 0xb5, 0xb7, 0x89, 0x2c, 0x5f, 0x33, 0x90, 0x49, 0x61, 0x60, 0xf4, 0xc0,
|
||||
0x94, 0x02, 0x72, 0xe3, 0x30, 0x3c, 0x10, 0xe8, 0x8c, 0x63, 0x2b, 0xb1, 0xc1, 0x96, 0x3c, 0x67,
|
||||
0xa7, 0xa5, 0x0c, 0xcc, 0xcd, 0x55, 0x3e, 0x1c, 0x81, 0x7d, 0x27, 0xa4, 0x73, 0xa6, 0xe1, 0x07,
|
||||
0xf0, 0xd8, 0xe1, 0x95, 0x67, 0x7e, 0x11, 0xff, 0x88, 0xd1, 0x9d, 0xa4, 0xd8, 0x90, 0x42, 0x1c,
|
||||
0x1e, 0x6f, 0xf7, 0xbe, 0x4f, 0xbb, 0xdf, 0x7e, 0xb7, 0x23, 0x38, 0x9a, 0x09, 0x31, 0x9b, 0xb3,
|
||||
0x26, 0x4d, 0x92, 0x30, 0x91, 0x94, 0xcb, 0x26, 0x5b, 0xbc, 0x64, 0xd3, 0x29, 0x9b, 0x36, 0x2f,
|
||||
0x0e, 0xe8, 0x3c, 0x3a, 0xa7, 0x07, 0x45, 0x84, 0x14, 0x97, 0x9c, 0x28, 0x16, 0x52, 0x20, 0x5b,
|
||||
0x83, 0x9d, 0xab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4e, 0x60, 0x2a, 0x59, 0x2f, 0x0d, 0xdb, 0x5f, 0x40, 0x35, 0x67, 0x40, 0x7b, 0xb0, 0xeb, 0x7a,
|
||||
0x1d, 0xbf, 0xdb, 0xf7, 0x4e, 0xc9, 0x99, 0x37, 0x1e, 0xb9, 0x9d, 0xfe, 0x49, 0xdf, 0xed, 0x5a,
|
||||
0x25, 0xb4, 0x0d, 0xd5, 0x41, 0xdf, 0x73, 0xdb, 0xf8, 0xe0, 0x33, 0xcb, 0x40, 0x55, 0xb8, 0x73,
|
||||
0x32, 0x68, 0x77, 0xac, 0xb2, 0xfd, 0x5b, 0x19, 0xcc, 0x75, 0x41, 0xd1, 0xf3, 0x7f, 0x34, 0x75,
|
||||
0xb4, 0xf9, 0x58, 0xfe, 0x67, 0x57, 0xe8, 0x23, 0x68, 0x5c, 0x88, 0xf9, 0x72, 0xc1, 0x48, 0xc4,
|
||||
0xe2, 0x80, 0x71, 0x49, 0x67, 0x7a, 0x90, 0x5b, 0xd8, 0xd2, 0x89, 0x51, 0x11, 0xb7, 0x07, 0xb7,
|
||||
0x90, 0xe0, 0x1e, 0x54, 0x86, 0xa3, 0x43, 0xab, 0x8c, 0xea, 0x70, 0xdf, 0x1f, 0x9d, 0x8d, 0x49,
|
||||
0xdf, 0x23, 0xfe, 0xe9, 0xa9, 0x55, 0xb1, 0x9f, 0xc2, 0xce, 0x9a, 0x0d, 0xd0, 0x27, 0x80, 0x32,
|
||||
0x23, 0xa8, 0xd7, 0x94, 0xb9, 0x2a, 0x95, 0x66, 0x1b, 0x37, 0x56, 0x33, 0xda, 0x26, 0x1f, 0x42,
|
||||
0x35, 0xd7, 0x02, 0xbd, 0x0b, 0xa0, 0xad, 0x3e, 0xa5, 0x92, 0x66, 0x90, 0x9a, 0x8a, 0x74, 0xa9,
|
||||
0xa4, 0xf6, 0xef, 0x95, 0xab, 0x77, 0x87, 0x59, 0xb2, 0x9c, 0x4b, 0xe4, 0xc0, 0x83, 0x24, 0x12,
|
||||
0x3f, 0x31, 0x4e, 0x62, 0xf6, 0xf3, 0x92, 0x25, 0x92, 0x48, 0xf6, 0x4a, 0x2a, 0x68, 0x0d, 0x37,
|
||||
0x74, 0x0a, 0xeb, 0xcc, 0x84, 0xbd, 0x92, 0xe8, 0x09, 0xec, 0x16, 0xf7, 0x93, 0x48, 0xf0, 0x84,
|
||||
0x69, 0x40, 0x59, 0x01, 0x50, 0x0e, 0xd0, 0x29, 0x85, 0xb8, 0xbe, 0x9d, 0xca, 0x1b, 0xda, 0x41,
|
||||
0x3f, 0x42, 0x7d, 0x11, 0x06, 0xb1, 0x88, 0xce, 0x05, 0x67, 0x64, 0x21, 0xa6, 0x6c, 0xef, 0x8e,
|
||||
0x72, 0x45, 0x7b, 0x93, 0x07, 0xa5, 0xbb, 0x73, 0x86, 0x05, 0xd3, 0x50, 0x4c, 0x19, 0x36, 0x17,
|
||||
0x6b, 0xe7, 0xeb, 0xa7, 0xbe, 0xf5, 0x86, 0xa9, 0x7f, 0x0f, 0xe6, 0x3a, 0x1d, 0x7a, 0x0f, 0x1e,
|
||||
0x0e, 0xfb, 0x1d, 0xec, 0x8f, 0x7a, 0xbe, 0xe7, 0x92, 0xa1, 0xdf, 0x75, 0xff, 0x66, 0x81, 0x5d,
|
||||
0xb0, 0x3a, 0x03, 0x7f, 0xec, 0x92, 0xab, 0x6b, 0x96, 0x91, 0x46, 0xbb, 0xfd, 0xf6, 0xc0, 0x3f,
|
||||
0x25, 0x27, 0xfe, 0x60, 0xe0, 0x3f, 0x27, 0xbe, 0x97, 0xbe, 0x0c, 0x03, 0xea, 0x57, 0xd5, 0x2b,
|
||||
0xc1, 0xd1, 0x00, 0xee, 0xae, 0xed, 0xc2, 0xd6, 0x26, 0x12, 0xe8, 0x87, 0xd1, 0x2b, 0xe1, 0x8c,
|
||||
0x03, 0x3d, 0x84, 0x6a, 0xbe, 0x62, 0xd5, 0xb8, 0xb6, 0x7b, 0x25, 0x7c, 0x2f, 0x5b, 0x95, 0xc7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 0x0f, 0x02,
|
||||
0xb1, 0xb8, 0x01, 0xfe, 0xd8, 0x2c, 0x0a, 0x1e, 0xa5, 0xff, 0x00, 0x23, 0xe3, 0xdb, 0xaf, 0x32,
|
||||
0xd4, 0x4c, 0xcc, 0x29, 0x9f, 0x39, 0x22, 0x9e, 0x35, 0x67, 0x8c, 0xab, 0x3f, 0x84, 0xa6, 0x4e,
|
||||
0xd1, 0x28, 0x4c, 0xfe, 0xed, 0xe7, 0xe5, 0x28, 0x8f, 0xbc, 0xbc, 0xab, 0x60, 0x87, 0x7f, 0x05,
|
||||
0x00, 0x00, 0xff, 0xff, 0xec, 0x7a, 0x68, 0xfa, 0xf2, 0x08, 0x00, 0x00,
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user