...

Source file src/google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1/embedded_assistant.pb.go

Documentation: google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/assistant/embedded/v1alpha1/embedded_assistant.proto
    20  
    21  package embedded
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	status "google.golang.org/genproto/googleapis/rpc/status"
    30  	grpc "google.golang.org/grpc"
    31  	codes "google.golang.org/grpc/codes"
    32  	status1 "google.golang.org/grpc/status"
    33  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    34  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    35  )
    36  
    37  const (
    38  	// Verify that this generated code is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    40  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    42  )
    43  
    44  // Audio encoding of the data sent in the audio message.
    45  // Audio must be one-channel (mono). The only language supported is "en-US".
    46  type AudioInConfig_Encoding int32
    47  
    48  const (
    49  	// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
    50  	AudioInConfig_ENCODING_UNSPECIFIED AudioInConfig_Encoding = 0
    51  	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
    52  	// This encoding includes no header, only the raw audio bytes.
    53  	AudioInConfig_LINEAR16 AudioInConfig_Encoding = 1
    54  	// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
    55  	// Codec) is the recommended encoding because it is
    56  	// lossless--therefore recognition is not compromised--and
    57  	// requires only about half the bandwidth of `LINEAR16`. This encoding
    58  	// includes the `FLAC` stream header followed by audio data. It supports
    59  	// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are
    60  	// supported.
    61  	AudioInConfig_FLAC AudioInConfig_Encoding = 2
    62  )
    63  
    64  // Enum value maps for AudioInConfig_Encoding.
    65  var (
    66  	AudioInConfig_Encoding_name = map[int32]string{
    67  		0: "ENCODING_UNSPECIFIED",
    68  		1: "LINEAR16",
    69  		2: "FLAC",
    70  	}
    71  	AudioInConfig_Encoding_value = map[string]int32{
    72  		"ENCODING_UNSPECIFIED": 0,
    73  		"LINEAR16":             1,
    74  		"FLAC":                 2,
    75  	}
    76  )
    77  
    78  func (x AudioInConfig_Encoding) Enum() *AudioInConfig_Encoding {
    79  	p := new(AudioInConfig_Encoding)
    80  	*p = x
    81  	return p
    82  }
    83  
    84  func (x AudioInConfig_Encoding) String() string {
    85  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    86  }
    87  
    88  func (AudioInConfig_Encoding) Descriptor() protoreflect.EnumDescriptor {
    89  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[0].Descriptor()
    90  }
    91  
    92  func (AudioInConfig_Encoding) Type() protoreflect.EnumType {
    93  	return &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[0]
    94  }
    95  
    96  func (x AudioInConfig_Encoding) Number() protoreflect.EnumNumber {
    97  	return protoreflect.EnumNumber(x)
    98  }
    99  
   100  // Deprecated: Use AudioInConfig_Encoding.Descriptor instead.
   101  func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) {
   102  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{1, 0}
   103  }
   104  
   105  // Audio encoding of the data returned in the audio message. All encodings are
   106  // raw audio bytes with no header, except as indicated below.
   107  type AudioOutConfig_Encoding int32
   108  
   109  const (
   110  	// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
   111  	AudioOutConfig_ENCODING_UNSPECIFIED AudioOutConfig_Encoding = 0
   112  	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
   113  	AudioOutConfig_LINEAR16 AudioOutConfig_Encoding = 1
   114  	// MP3 audio encoding. The sample rate is encoded in the payload.
   115  	AudioOutConfig_MP3 AudioOutConfig_Encoding = 2
   116  	// Opus-encoded audio wrapped in an ogg container. The result will be a
   117  	// file which can be played natively on Android and in some browsers (such
   118  	// as Chrome). The quality of the encoding is considerably higher than MP3
   119  	// while using the same bitrate. The sample rate is encoded in the payload.
   120  	AudioOutConfig_OPUS_IN_OGG AudioOutConfig_Encoding = 3
   121  )
   122  
   123  // Enum value maps for AudioOutConfig_Encoding.
   124  var (
   125  	AudioOutConfig_Encoding_name = map[int32]string{
   126  		0: "ENCODING_UNSPECIFIED",
   127  		1: "LINEAR16",
   128  		2: "MP3",
   129  		3: "OPUS_IN_OGG",
   130  	}
   131  	AudioOutConfig_Encoding_value = map[string]int32{
   132  		"ENCODING_UNSPECIFIED": 0,
   133  		"LINEAR16":             1,
   134  		"MP3":                  2,
   135  		"OPUS_IN_OGG":          3,
   136  	}
   137  )
   138  
   139  func (x AudioOutConfig_Encoding) Enum() *AudioOutConfig_Encoding {
   140  	p := new(AudioOutConfig_Encoding)
   141  	*p = x
   142  	return p
   143  }
   144  
   145  func (x AudioOutConfig_Encoding) String() string {
   146  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   147  }
   148  
   149  func (AudioOutConfig_Encoding) Descriptor() protoreflect.EnumDescriptor {
   150  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[1].Descriptor()
   151  }
   152  
   153  func (AudioOutConfig_Encoding) Type() protoreflect.EnumType {
   154  	return &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[1]
   155  }
   156  
   157  func (x AudioOutConfig_Encoding) Number() protoreflect.EnumNumber {
   158  	return protoreflect.EnumNumber(x)
   159  }
   160  
   161  // Deprecated: Use AudioOutConfig_Encoding.Descriptor instead.
   162  func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) {
   163  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{2, 0}
   164  }
   165  
   166  // Possible states of the microphone after a `Converse` RPC completes.
   167  type ConverseResult_MicrophoneMode int32
   168  
   169  const (
   170  	// No mode specified.
   171  	ConverseResult_MICROPHONE_MODE_UNSPECIFIED ConverseResult_MicrophoneMode = 0
   172  	// The service is not expecting a follow-on question from the user.
   173  	// The microphone should remain off until the user re-activates it.
   174  	ConverseResult_CLOSE_MICROPHONE ConverseResult_MicrophoneMode = 1
   175  	// The service is expecting a follow-on question from the user. The
   176  	// microphone should be re-opened when the `AudioOut` playback completes
   177  	// (by starting a new `Converse` RPC call to send the new audio).
   178  	ConverseResult_DIALOG_FOLLOW_ON ConverseResult_MicrophoneMode = 2
   179  )
   180  
   181  // Enum value maps for ConverseResult_MicrophoneMode.
   182  var (
   183  	ConverseResult_MicrophoneMode_name = map[int32]string{
   184  		0: "MICROPHONE_MODE_UNSPECIFIED",
   185  		1: "CLOSE_MICROPHONE",
   186  		2: "DIALOG_FOLLOW_ON",
   187  	}
   188  	ConverseResult_MicrophoneMode_value = map[string]int32{
   189  		"MICROPHONE_MODE_UNSPECIFIED": 0,
   190  		"CLOSE_MICROPHONE":            1,
   191  		"DIALOG_FOLLOW_ON":            2,
   192  	}
   193  )
   194  
   195  func (x ConverseResult_MicrophoneMode) Enum() *ConverseResult_MicrophoneMode {
   196  	p := new(ConverseResult_MicrophoneMode)
   197  	*p = x
   198  	return p
   199  }
   200  
   201  func (x ConverseResult_MicrophoneMode) String() string {
   202  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   203  }
   204  
   205  func (ConverseResult_MicrophoneMode) Descriptor() protoreflect.EnumDescriptor {
   206  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[2].Descriptor()
   207  }
   208  
   209  func (ConverseResult_MicrophoneMode) Type() protoreflect.EnumType {
   210  	return &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[2]
   211  }
   212  
   213  func (x ConverseResult_MicrophoneMode) Number() protoreflect.EnumNumber {
   214  	return protoreflect.EnumNumber(x)
   215  }
   216  
   217  // Deprecated: Use ConverseResult_MicrophoneMode.Descriptor instead.
   218  func (ConverseResult_MicrophoneMode) EnumDescriptor() ([]byte, []int) {
   219  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{5, 0}
   220  }
   221  
   222  // Indicates the type of event.
   223  type ConverseResponse_EventType int32
   224  
   225  const (
   226  	// No event specified.
   227  	ConverseResponse_EVENT_TYPE_UNSPECIFIED ConverseResponse_EventType = 0
   228  	// This event indicates that the server has detected the end of the user's
   229  	// speech utterance and expects no additional speech. Therefore, the server
   230  	// will not process additional audio (although it may subsequently return
   231  	// additional results). The client should stop sending additional audio
   232  	// data, half-close the gRPC connection, and wait for any additional results
   233  	// until the server closes the gRPC connection.
   234  	ConverseResponse_END_OF_UTTERANCE ConverseResponse_EventType = 1
   235  )
   236  
   237  // Enum value maps for ConverseResponse_EventType.
   238  var (
   239  	ConverseResponse_EventType_name = map[int32]string{
   240  		0: "EVENT_TYPE_UNSPECIFIED",
   241  		1: "END_OF_UTTERANCE",
   242  	}
   243  	ConverseResponse_EventType_value = map[string]int32{
   244  		"EVENT_TYPE_UNSPECIFIED": 0,
   245  		"END_OF_UTTERANCE":       1,
   246  	}
   247  )
   248  
   249  func (x ConverseResponse_EventType) Enum() *ConverseResponse_EventType {
   250  	p := new(ConverseResponse_EventType)
   251  	*p = x
   252  	return p
   253  }
   254  
   255  func (x ConverseResponse_EventType) String() string {
   256  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   257  }
   258  
   259  func (ConverseResponse_EventType) Descriptor() protoreflect.EnumDescriptor {
   260  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[3].Descriptor()
   261  }
   262  
   263  func (ConverseResponse_EventType) Type() protoreflect.EnumType {
   264  	return &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes[3]
   265  }
   266  
   267  func (x ConverseResponse_EventType) Number() protoreflect.EnumNumber {
   268  	return protoreflect.EnumNumber(x)
   269  }
   270  
   271  // Deprecated: Use ConverseResponse_EventType.Descriptor instead.
   272  func (ConverseResponse_EventType) EnumDescriptor() ([]byte, []int) {
   273  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{7, 0}
   274  }
   275  
   276  // Specifies how to process the `ConverseRequest` messages.
   277  type ConverseConfig struct {
   278  	state         protoimpl.MessageState
   279  	sizeCache     protoimpl.SizeCache
   280  	unknownFields protoimpl.UnknownFields
   281  
   282  	// *Required* Specifies how to process the subsequent incoming audio.
   283  	AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3" json:"audio_in_config,omitempty"`
   284  	// *Required* Specifies how to format the audio that will be returned.
   285  	AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"`
   286  	// *Required* Represents the current dialog state.
   287  	ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState,proto3" json:"converse_state,omitempty"`
   288  }
   289  
   290  func (x *ConverseConfig) Reset() {
   291  	*x = ConverseConfig{}
   292  	if protoimpl.UnsafeEnabled {
   293  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[0]
   294  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   295  		ms.StoreMessageInfo(mi)
   296  	}
   297  }
   298  
   299  func (x *ConverseConfig) String() string {
   300  	return protoimpl.X.MessageStringOf(x)
   301  }
   302  
   303  func (*ConverseConfig) ProtoMessage() {}
   304  
   305  func (x *ConverseConfig) ProtoReflect() protoreflect.Message {
   306  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[0]
   307  	if protoimpl.UnsafeEnabled && x != nil {
   308  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   309  		if ms.LoadMessageInfo() == nil {
   310  			ms.StoreMessageInfo(mi)
   311  		}
   312  		return ms
   313  	}
   314  	return mi.MessageOf(x)
   315  }
   316  
   317  // Deprecated: Use ConverseConfig.ProtoReflect.Descriptor instead.
   318  func (*ConverseConfig) Descriptor() ([]byte, []int) {
   319  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{0}
   320  }
   321  
   322  func (x *ConverseConfig) GetAudioInConfig() *AudioInConfig {
   323  	if x != nil {
   324  		return x.AudioInConfig
   325  	}
   326  	return nil
   327  }
   328  
   329  func (x *ConverseConfig) GetAudioOutConfig() *AudioOutConfig {
   330  	if x != nil {
   331  		return x.AudioOutConfig
   332  	}
   333  	return nil
   334  }
   335  
   336  func (x *ConverseConfig) GetConverseState() *ConverseState {
   337  	if x != nil {
   338  		return x.ConverseState
   339  	}
   340  	return nil
   341  }
   342  
   343  // Specifies how to process the `audio_in` data that will be provided in
   344  // subsequent requests. For recommended settings, see the Google Assistant SDK
   345  // [best
   346  // practices](https://developers.google.com/assistant/sdk/develop/grpc/best-practices/audio).
   347  type AudioInConfig struct {
   348  	state         protoimpl.MessageState
   349  	sizeCache     protoimpl.SizeCache
   350  	unknownFields protoimpl.UnknownFields
   351  
   352  	// *Required* Encoding of audio data sent in all `audio_in` messages.
   353  	Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.AudioInConfig_Encoding" json:"encoding,omitempty"`
   354  	// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in`
   355  	// messages. Valid values are from 16000-24000, but 16000 is optimal.
   356  	// For best results, set the sampling rate of the audio source to 16000 Hz.
   357  	// If that's not possible, use the native sample rate of the audio source
   358  	// (instead of re-sampling).
   359  	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
   360  }
   361  
   362  func (x *AudioInConfig) Reset() {
   363  	*x = AudioInConfig{}
   364  	if protoimpl.UnsafeEnabled {
   365  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[1]
   366  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   367  		ms.StoreMessageInfo(mi)
   368  	}
   369  }
   370  
   371  func (x *AudioInConfig) String() string {
   372  	return protoimpl.X.MessageStringOf(x)
   373  }
   374  
   375  func (*AudioInConfig) ProtoMessage() {}
   376  
   377  func (x *AudioInConfig) ProtoReflect() protoreflect.Message {
   378  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[1]
   379  	if protoimpl.UnsafeEnabled && x != nil {
   380  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   381  		if ms.LoadMessageInfo() == nil {
   382  			ms.StoreMessageInfo(mi)
   383  		}
   384  		return ms
   385  	}
   386  	return mi.MessageOf(x)
   387  }
   388  
   389  // Deprecated: Use AudioInConfig.ProtoReflect.Descriptor instead.
   390  func (*AudioInConfig) Descriptor() ([]byte, []int) {
   391  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{1}
   392  }
   393  
   394  func (x *AudioInConfig) GetEncoding() AudioInConfig_Encoding {
   395  	if x != nil {
   396  		return x.Encoding
   397  	}
   398  	return AudioInConfig_ENCODING_UNSPECIFIED
   399  }
   400  
   401  func (x *AudioInConfig) GetSampleRateHertz() int32 {
   402  	if x != nil {
   403  		return x.SampleRateHertz
   404  	}
   405  	return 0
   406  }
   407  
   408  // Specifies the desired format for the server to use when it returns
   409  // `audio_out` messages.
   410  type AudioOutConfig struct {
   411  	state         protoimpl.MessageState
   412  	sizeCache     protoimpl.SizeCache
   413  	unknownFields protoimpl.UnknownFields
   414  
   415  	// *Required* The encoding of audio data to be returned in all `audio_out`
   416  	// messages.
   417  	Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding" json:"encoding,omitempty"`
   418  	// *Required* The sample rate in Hertz of the audio data returned in
   419  	// `audio_out` messages. Valid values are: 16000-24000.
   420  	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
   421  	// *Required* Current volume setting of the device's audio output.
   422  	// Valid values are 1 to 100 (corresponding to 1% to 100%).
   423  	VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
   424  }
   425  
   426  func (x *AudioOutConfig) Reset() {
   427  	*x = AudioOutConfig{}
   428  	if protoimpl.UnsafeEnabled {
   429  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[2]
   430  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   431  		ms.StoreMessageInfo(mi)
   432  	}
   433  }
   434  
   435  func (x *AudioOutConfig) String() string {
   436  	return protoimpl.X.MessageStringOf(x)
   437  }
   438  
   439  func (*AudioOutConfig) ProtoMessage() {}
   440  
   441  func (x *AudioOutConfig) ProtoReflect() protoreflect.Message {
   442  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[2]
   443  	if protoimpl.UnsafeEnabled && x != nil {
   444  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   445  		if ms.LoadMessageInfo() == nil {
   446  			ms.StoreMessageInfo(mi)
   447  		}
   448  		return ms
   449  	}
   450  	return mi.MessageOf(x)
   451  }
   452  
   453  // Deprecated: Use AudioOutConfig.ProtoReflect.Descriptor instead.
   454  func (*AudioOutConfig) Descriptor() ([]byte, []int) {
   455  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{2}
   456  }
   457  
   458  func (x *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding {
   459  	if x != nil {
   460  		return x.Encoding
   461  	}
   462  	return AudioOutConfig_ENCODING_UNSPECIFIED
   463  }
   464  
   465  func (x *AudioOutConfig) GetSampleRateHertz() int32 {
   466  	if x != nil {
   467  		return x.SampleRateHertz
   468  	}
   469  	return 0
   470  }
   471  
   472  func (x *AudioOutConfig) GetVolumePercentage() int32 {
   473  	if x != nil {
   474  		return x.VolumePercentage
   475  	}
   476  	return 0
   477  }
   478  
   479  // Provides information about the current dialog state.
   480  type ConverseState struct {
   481  	state         protoimpl.MessageState
   482  	sizeCache     protoimpl.SizeCache
   483  	unknownFields protoimpl.UnknownFields
   484  
   485  	// *Required* The `conversation_state` value returned in the prior
   486  	// `ConverseResponse`. Omit (do not set the field) if there was no prior
   487  	// `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit
   488  	// this field; doing so will end that conversation (and this new request will
   489  	// start a new conversation).
   490  	ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
   491  }
   492  
   493  func (x *ConverseState) Reset() {
   494  	*x = ConverseState{}
   495  	if protoimpl.UnsafeEnabled {
   496  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[3]
   497  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   498  		ms.StoreMessageInfo(mi)
   499  	}
   500  }
   501  
   502  func (x *ConverseState) String() string {
   503  	return protoimpl.X.MessageStringOf(x)
   504  }
   505  
   506  func (*ConverseState) ProtoMessage() {}
   507  
   508  func (x *ConverseState) ProtoReflect() protoreflect.Message {
   509  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[3]
   510  	if protoimpl.UnsafeEnabled && x != nil {
   511  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   512  		if ms.LoadMessageInfo() == nil {
   513  			ms.StoreMessageInfo(mi)
   514  		}
   515  		return ms
   516  	}
   517  	return mi.MessageOf(x)
   518  }
   519  
   520  // Deprecated: Use ConverseState.ProtoReflect.Descriptor instead.
   521  func (*ConverseState) Descriptor() ([]byte, []int) {
   522  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{3}
   523  }
   524  
   525  func (x *ConverseState) GetConversationState() []byte {
   526  	if x != nil {
   527  		return x.ConversationState
   528  	}
   529  	return nil
   530  }
   531  
   532  // The audio containing the assistant's response to the query. Sequential chunks
   533  // of audio data are received in sequential `ConverseResponse` messages.
   534  type AudioOut struct {
   535  	state         protoimpl.MessageState
   536  	sizeCache     protoimpl.SizeCache
   537  	unknownFields protoimpl.UnknownFields
   538  
   539  	// *Output-only* The audio data containing the assistant's response to the
   540  	// query. Sequential chunks of audio data are received in sequential
   541  	// `ConverseResponse` messages.
   542  	AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
   543  }
   544  
   545  func (x *AudioOut) Reset() {
   546  	*x = AudioOut{}
   547  	if protoimpl.UnsafeEnabled {
   548  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[4]
   549  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   550  		ms.StoreMessageInfo(mi)
   551  	}
   552  }
   553  
   554  func (x *AudioOut) String() string {
   555  	return protoimpl.X.MessageStringOf(x)
   556  }
   557  
   558  func (*AudioOut) ProtoMessage() {}
   559  
   560  func (x *AudioOut) ProtoReflect() protoreflect.Message {
   561  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[4]
   562  	if protoimpl.UnsafeEnabled && x != nil {
   563  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   564  		if ms.LoadMessageInfo() == nil {
   565  			ms.StoreMessageInfo(mi)
   566  		}
   567  		return ms
   568  	}
   569  	return mi.MessageOf(x)
   570  }
   571  
   572  // Deprecated: Use AudioOut.ProtoReflect.Descriptor instead.
   573  func (*AudioOut) Descriptor() ([]byte, []int) {
   574  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{4}
   575  }
   576  
   577  func (x *AudioOut) GetAudioData() []byte {
   578  	if x != nil {
   579  		return x.AudioData
   580  	}
   581  	return nil
   582  }
   583  
   584  // The semantic result for the user's spoken query.
   585  type ConverseResult struct {
   586  	state         protoimpl.MessageState
   587  	sizeCache     protoimpl.SizeCache
   588  	unknownFields protoimpl.UnknownFields
   589  
   590  	// *Output-only* The recognized transcript of what the user said.
   591  	SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText,proto3" json:"spoken_request_text,omitempty"`
   592  	// *Output-only* The text of the assistant's spoken response. This is only
   593  	// returned for an IFTTT action.
   594  	SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText,proto3" json:"spoken_response_text,omitempty"`
   595  	// *Output-only* State information for subsequent `ConverseRequest`. This
   596  	// value should be saved in the client and returned in the
   597  	// `conversation_state` with the next `ConverseRequest`. (The client does not
   598  	// need to interpret or otherwise use this value.) There is no need to save
   599  	// this information across device restarts.
   600  	ConversationState []byte `protobuf:"bytes,3,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
   601  	// *Output-only* Specifies the mode of the microphone after this `Converse`
   602  	// RPC is processed.
   603  	MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode" json:"microphone_mode,omitempty"`
   604  	// *Output-only* Updated volume level. The value will be 0 or omitted
   605  	// (indicating no change) unless a voice command such as "Increase the volume"
   606  	// or "Set volume level 4" was recognized, in which case the value will be
   607  	// between 1 and 100 (corresponding to the new volume level of 1% to 100%).
   608  	// Typically, a client should use this volume level when playing the
   609  	// `audio_out` data, and retain this value as the current volume level and
   610  	// supply it in the `AudioOutConfig` of the next `ConverseRequest`. (Some
   611  	// clients may also implement other ways to allow the current volume level to
   612  	// be changed, for example, by providing a knob that the user can turn.)
   613  	VolumePercentage int32 `protobuf:"varint,5,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
   614  }
   615  
   616  func (x *ConverseResult) Reset() {
   617  	*x = ConverseResult{}
   618  	if protoimpl.UnsafeEnabled {
   619  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[5]
   620  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   621  		ms.StoreMessageInfo(mi)
   622  	}
   623  }
   624  
   625  func (x *ConverseResult) String() string {
   626  	return protoimpl.X.MessageStringOf(x)
   627  }
   628  
   629  func (*ConverseResult) ProtoMessage() {}
   630  
   631  func (x *ConverseResult) ProtoReflect() protoreflect.Message {
   632  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[5]
   633  	if protoimpl.UnsafeEnabled && x != nil {
   634  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   635  		if ms.LoadMessageInfo() == nil {
   636  			ms.StoreMessageInfo(mi)
   637  		}
   638  		return ms
   639  	}
   640  	return mi.MessageOf(x)
   641  }
   642  
   643  // Deprecated: Use ConverseResult.ProtoReflect.Descriptor instead.
   644  func (*ConverseResult) Descriptor() ([]byte, []int) {
   645  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{5}
   646  }
   647  
   648  func (x *ConverseResult) GetSpokenRequestText() string {
   649  	if x != nil {
   650  		return x.SpokenRequestText
   651  	}
   652  	return ""
   653  }
   654  
   655  func (x *ConverseResult) GetSpokenResponseText() string {
   656  	if x != nil {
   657  		return x.SpokenResponseText
   658  	}
   659  	return ""
   660  }
   661  
   662  func (x *ConverseResult) GetConversationState() []byte {
   663  	if x != nil {
   664  		return x.ConversationState
   665  	}
   666  	return nil
   667  }
   668  
   669  func (x *ConverseResult) GetMicrophoneMode() ConverseResult_MicrophoneMode {
   670  	if x != nil {
   671  		return x.MicrophoneMode
   672  	}
   673  	return ConverseResult_MICROPHONE_MODE_UNSPECIFIED
   674  }
   675  
   676  func (x *ConverseResult) GetVolumePercentage() int32 {
   677  	if x != nil {
   678  		return x.VolumePercentage
   679  	}
   680  	return 0
   681  }
   682  
   683  // The top-level message sent by the client. Clients must send at least two, and
   684  // typically numerous `ConverseRequest` messages. The first message must
   685  // contain a `config` message and must not contain `audio_in` data. All
   686  // subsequent messages must contain `audio_in` data and must not contain a
   687  // `config` message.
   688  type ConverseRequest struct {
   689  	state         protoimpl.MessageState
   690  	sizeCache     protoimpl.SizeCache
   691  	unknownFields protoimpl.UnknownFields
   692  
   693  	// Exactly one of these fields must be specified in each `ConverseRequest`.
   694  	//
   695  	// Types that are assignable to ConverseRequest:
   696  	//
   697  	//	*ConverseRequest_Config
   698  	//	*ConverseRequest_AudioIn
   699  	ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"`
   700  }
   701  
   702  func (x *ConverseRequest) Reset() {
   703  	*x = ConverseRequest{}
   704  	if protoimpl.UnsafeEnabled {
   705  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[6]
   706  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   707  		ms.StoreMessageInfo(mi)
   708  	}
   709  }
   710  
   711  func (x *ConverseRequest) String() string {
   712  	return protoimpl.X.MessageStringOf(x)
   713  }
   714  
   715  func (*ConverseRequest) ProtoMessage() {}
   716  
   717  func (x *ConverseRequest) ProtoReflect() protoreflect.Message {
   718  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[6]
   719  	if protoimpl.UnsafeEnabled && x != nil {
   720  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   721  		if ms.LoadMessageInfo() == nil {
   722  			ms.StoreMessageInfo(mi)
   723  		}
   724  		return ms
   725  	}
   726  	return mi.MessageOf(x)
   727  }
   728  
   729  // Deprecated: Use ConverseRequest.ProtoReflect.Descriptor instead.
   730  func (*ConverseRequest) Descriptor() ([]byte, []int) {
   731  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{6}
   732  }
   733  
   734  func (m *ConverseRequest) GetConverseRequest() isConverseRequest_ConverseRequest {
   735  	if m != nil {
   736  		return m.ConverseRequest
   737  	}
   738  	return nil
   739  }
   740  
   741  func (x *ConverseRequest) GetConfig() *ConverseConfig {
   742  	if x, ok := x.GetConverseRequest().(*ConverseRequest_Config); ok {
   743  		return x.Config
   744  	}
   745  	return nil
   746  }
   747  
   748  func (x *ConverseRequest) GetAudioIn() []byte {
   749  	if x, ok := x.GetConverseRequest().(*ConverseRequest_AudioIn); ok {
   750  		return x.AudioIn
   751  	}
   752  	return nil
   753  }
   754  
   755  type isConverseRequest_ConverseRequest interface {
   756  	isConverseRequest_ConverseRequest()
   757  }
   758  
   759  type ConverseRequest_Config struct {
   760  	// The `config` message provides information to the recognizer that
   761  	// specifies how to process the request.
   762  	// The first `ConverseRequest` message must contain a `config` message.
   763  	Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
   764  }
   765  
   766  type ConverseRequest_AudioIn struct {
   767  	// The audio data to be recognized. Sequential chunks of audio data are sent
   768  	// in sequential `ConverseRequest` messages. The first `ConverseRequest`
   769  	// message must not contain `audio_in` data and all subsequent
   770  	// `ConverseRequest` messages must contain `audio_in` data. The audio bytes
   771  	// must be encoded as specified in `AudioInConfig`.
   772  	// Audio must be sent at approximately real-time (16000 samples per second).
   773  	// An error will be returned if audio is sent significantly faster or
   774  	// slower.
   775  	AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"`
   776  }
   777  
   778  func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {}
   779  
   780  func (*ConverseRequest_AudioIn) isConverseRequest_ConverseRequest() {}
   781  
   782  // The top-level message received by the client. A series of one or more
   783  // `ConverseResponse` messages are streamed back to the client.
   784  type ConverseResponse struct {
   785  	state         protoimpl.MessageState
   786  	sizeCache     protoimpl.SizeCache
   787  	unknownFields protoimpl.UnknownFields
   788  
   789  	// Exactly one of these fields will be populated in each `ConverseResponse`.
   790  	//
   791  	// Types that are assignable to ConverseResponse:
   792  	//
   793  	//	*ConverseResponse_Error
   794  	//	*ConverseResponse_EventType_
   795  	//	*ConverseResponse_AudioOut
   796  	//	*ConverseResponse_Result
   797  	ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"`
   798  }
   799  
   800  func (x *ConverseResponse) Reset() {
   801  	*x = ConverseResponse{}
   802  	if protoimpl.UnsafeEnabled {
   803  		mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[7]
   804  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   805  		ms.StoreMessageInfo(mi)
   806  	}
   807  }
   808  
   809  func (x *ConverseResponse) String() string {
   810  	return protoimpl.X.MessageStringOf(x)
   811  }
   812  
   813  func (*ConverseResponse) ProtoMessage() {}
   814  
   815  func (x *ConverseResponse) ProtoReflect() protoreflect.Message {
   816  	mi := &file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[7]
   817  	if protoimpl.UnsafeEnabled && x != nil {
   818  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   819  		if ms.LoadMessageInfo() == nil {
   820  			ms.StoreMessageInfo(mi)
   821  		}
   822  		return ms
   823  	}
   824  	return mi.MessageOf(x)
   825  }
   826  
   827  // Deprecated: Use ConverseResponse.ProtoReflect.Descriptor instead.
   828  func (*ConverseResponse) Descriptor() ([]byte, []int) {
   829  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP(), []int{7}
   830  }
   831  
   832  func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResponse {
   833  	if m != nil {
   834  		return m.ConverseResponse
   835  	}
   836  	return nil
   837  }
   838  
   839  func (x *ConverseResponse) GetError() *status.Status {
   840  	if x, ok := x.GetConverseResponse().(*ConverseResponse_Error); ok {
   841  		return x.Error
   842  	}
   843  	return nil
   844  }
   845  
   846  func (x *ConverseResponse) GetEventType() ConverseResponse_EventType {
   847  	if x, ok := x.GetConverseResponse().(*ConverseResponse_EventType_); ok {
   848  		return x.EventType
   849  	}
   850  	return ConverseResponse_EVENT_TYPE_UNSPECIFIED
   851  }
   852  
   853  func (x *ConverseResponse) GetAudioOut() *AudioOut {
   854  	if x, ok := x.GetConverseResponse().(*ConverseResponse_AudioOut); ok {
   855  		return x.AudioOut
   856  	}
   857  	return nil
   858  }
   859  
   860  func (x *ConverseResponse) GetResult() *ConverseResult {
   861  	if x, ok := x.GetConverseResponse().(*ConverseResponse_Result); ok {
   862  		return x.Result
   863  	}
   864  	return nil
   865  }
   866  
   867  type isConverseResponse_ConverseResponse interface {
   868  	isConverseResponse_ConverseResponse()
   869  }
   870  
   871  type ConverseResponse_Error struct {
   872  	// *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status]
   873  	// message that specifies the error for the operation. If an error occurs
   874  	// during processing, this message will be set and there will be no further
   875  	// messages sent.
   876  	Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
   877  }
   878  
   879  type ConverseResponse_EventType_ struct {
   880  	// *Output-only* Indicates the type of event.
   881  	EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"`
   882  }
   883  
   884  type ConverseResponse_AudioOut struct {
   885  	// *Output-only* The audio containing the assistant's response to the query.
   886  	AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3,oneof"`
   887  }
   888  
   889  type ConverseResponse_Result struct {
   890  	// *Output-only* The semantic result for the user's spoken query.
   891  	Result *ConverseResult `protobuf:"bytes,5,opt,name=result,proto3,oneof"`
   892  }
   893  
   894  func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {}
   895  
   896  func (*ConverseResponse_EventType_) isConverseResponse_ConverseResponse() {}
   897  
   898  func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {}
   899  
   900  func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {}
   901  
   902  var File_google_assistant_embedded_v1alpha1_embedded_assistant_proto protoreflect.FileDescriptor
   903  
   904  var file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDesc = []byte{
   905  	0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61,
   906  	0x6e, 0x74, 0x2f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x61, 0x6c,
   907  	0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x73,
   908  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67,
   909  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e,
   910  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
   911  	0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
   912  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   913  	0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74,
   914  	0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e,
   915  	0x76, 0x65, 0x72, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x59, 0x0a, 0x0f, 0x61,
   916  	0x75, 0x64, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01,
   917  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73,
   918  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64,
   919  	0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x49,
   920  	0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e,
   921  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5c, 0x0a, 0x10, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f,
   922  	0x6f, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   923  	0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74,
   924  	0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61,
   925  	0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43, 0x6f,
   926  	0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43, 0x6f,
   927  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x58, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65,
   928  	0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67,
   929  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e,
   930  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
   931  	0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
   932  	0x0d, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xd1,
   933  	0x01, 0x0a, 0x0d, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   934  	0x12, 0x56, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
   935  	0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69,
   936  	0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76,
   937  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e, 0x43,
   938  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08,
   939  	0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70,
   940  	0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x02, 0x20,
   941  	0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48,
   942  	0x65, 0x72, 0x74, 0x7a, 0x22, 0x3c, 0x0a, 0x08, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
   943  	0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x53,
   944  	0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x49,
   945  	0x4e, 0x45, 0x41, 0x52, 0x31, 0x36, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x4c, 0x41, 0x43,
   946  	0x10, 0x02, 0x22, 0x90, 0x02, 0x0a, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43,
   947  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e,
   948  	0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   949  	0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64,
   950  	0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x64,
   951  	0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x45, 0x6e, 0x63, 0x6f,
   952  	0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a,
   953  	0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65,
   954  	0x72, 0x74, 0x7a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c,
   955  	0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, 0x7a, 0x12, 0x2b, 0x0a, 0x11, 0x76, 0x6f,
   956  	0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18,
   957  	0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x65, 0x72,
   958  	0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0x4c, 0x0a, 0x08, 0x45, 0x6e, 0x63, 0x6f, 0x64,
   959  	0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f,
   960  	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a,
   961  	0x08, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x31, 0x36, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4d,
   962  	0x50, 0x33, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f,
   963  	0x4f, 0x47, 0x47, 0x10, 0x03, 0x22, 0x3e, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
   964  	0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72,
   965  	0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
   966  	0x28, 0x0c, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   967  	0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x29, 0x0a, 0x08, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75,
   968  	0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18,
   969  	0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x44, 0x61, 0x74, 0x61,
   970  	0x22, 0x99, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73,
   971  	0x75, 0x6c, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65,
   972  	0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   973  	0x52, 0x11, 0x73, 0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54,
   974  	0x65, 0x78, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x72, 0x65,
   975  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
   976  	0x09, 0x52, 0x12, 0x73, 0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   977  	0x65, 0x54, 0x65, 0x78, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
   978  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
   979  	0x0c, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
   980  	0x74, 0x61, 0x74, 0x65, 0x12, 0x6a, 0x0a, 0x0f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f,
   981  	0x6e, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e,
   982  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74,
   983  	0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
   984  	0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c,
   985  	0x74, 0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65,
   986  	0x52, 0x0e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65,
   987  	0x12, 0x2b, 0x0a, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65,
   988  	0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x76, 0x6f, 0x6c,
   989  	0x75, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0x5d, 0x0a,
   990  	0x0e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12,
   991  	0x1f, 0x0a, 0x1b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x5f, 0x4d, 0x4f,
   992  	0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
   993  	0x12, 0x14, 0x0a, 0x10, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x50,
   994  	0x48, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x49, 0x41, 0x4c, 0x4f, 0x47,
   995  	0x5f, 0x46, 0x4f, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0x90, 0x01, 0x0a,
   996  	0x0f, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   997  	0x12, 0x4c, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   998  	0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74,
   999  	0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61,
  1000  	0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x43, 0x6f,
  1001  	0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b,
  1002  	0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
  1003  	0x48, 0x00, 0x52, 0x07, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x63,
  1004  	0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
  1005  	0x8e, 0x03, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70,
  1006  	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20,
  1007  	0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63,
  1008  	0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  1009  	0x12, 0x5f, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
  1010  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73,
  1011  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64,
  1012  	0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
  1013  	0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74,
  1014  	0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
  1015  	0x65, 0x12, 0x4b, 0x0a, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x03,
  1016  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73,
  1017  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64,
  1018  	0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f,
  1019  	0x75, 0x74, 0x48, 0x00, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x12, 0x4c,
  1020  	0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
  1021  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e,
  1022  	0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
  1023  	0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75,
  1024  	0x6c, 0x74, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x3d, 0x0a, 0x09,
  1025  	0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x56, 0x45,
  1026  	0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
  1027  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x46, 0x5f,
  1028  	0x55, 0x54, 0x54, 0x45, 0x52, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x63,
  1029  	0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1030  	0x32, 0x8e, 0x01, 0x0a, 0x11, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x41, 0x73, 0x73,
  1031  	0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x79, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
  1032  	0x73, 0x65, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69,
  1033  	0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76,
  1034  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x65,
  1035  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1036  	0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64,
  1037  	0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e,
  1038  	0x76, 0x65, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30,
  1039  	0x01, 0x42, 0x86, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  1040  	0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64,
  1041  	0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0e, 0x41, 0x73,
  1042  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a,
  1043  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
  1044  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  1045  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2f,
  1046  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
  1047  	0x31, 0x3b, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  1048  	0x6f, 0x33,
  1049  }
  1050  
  1051  var (
  1052  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescOnce sync.Once
  1053  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescData = file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDesc
  1054  )
  1055  
  1056  func file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescGZIP() []byte {
  1057  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescOnce.Do(func() {
  1058  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescData)
  1059  	})
  1060  	return file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDescData
  1061  }
  1062  
  1063  var file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
  1064  var file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  1065  var file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_goTypes = []interface{}{
  1066  	(AudioInConfig_Encoding)(0),        // 0: google.assistant.embedded.v1alpha1.AudioInConfig.Encoding
  1067  	(AudioOutConfig_Encoding)(0),       // 1: google.assistant.embedded.v1alpha1.AudioOutConfig.Encoding
  1068  	(ConverseResult_MicrophoneMode)(0), // 2: google.assistant.embedded.v1alpha1.ConverseResult.MicrophoneMode
  1069  	(ConverseResponse_EventType)(0),    // 3: google.assistant.embedded.v1alpha1.ConverseResponse.EventType
  1070  	(*ConverseConfig)(nil),             // 4: google.assistant.embedded.v1alpha1.ConverseConfig
  1071  	(*AudioInConfig)(nil),              // 5: google.assistant.embedded.v1alpha1.AudioInConfig
  1072  	(*AudioOutConfig)(nil),             // 6: google.assistant.embedded.v1alpha1.AudioOutConfig
  1073  	(*ConverseState)(nil),              // 7: google.assistant.embedded.v1alpha1.ConverseState
  1074  	(*AudioOut)(nil),                   // 8: google.assistant.embedded.v1alpha1.AudioOut
  1075  	(*ConverseResult)(nil),             // 9: google.assistant.embedded.v1alpha1.ConverseResult
  1076  	(*ConverseRequest)(nil),            // 10: google.assistant.embedded.v1alpha1.ConverseRequest
  1077  	(*ConverseResponse)(nil),           // 11: google.assistant.embedded.v1alpha1.ConverseResponse
  1078  	(*status.Status)(nil),              // 12: google.rpc.Status
  1079  }
  1080  var file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_depIdxs = []int32{
  1081  	5,  // 0: google.assistant.embedded.v1alpha1.ConverseConfig.audio_in_config:type_name -> google.assistant.embedded.v1alpha1.AudioInConfig
  1082  	6,  // 1: google.assistant.embedded.v1alpha1.ConverseConfig.audio_out_config:type_name -> google.assistant.embedded.v1alpha1.AudioOutConfig
  1083  	7,  // 2: google.assistant.embedded.v1alpha1.ConverseConfig.converse_state:type_name -> google.assistant.embedded.v1alpha1.ConverseState
  1084  	0,  // 3: google.assistant.embedded.v1alpha1.AudioInConfig.encoding:type_name -> google.assistant.embedded.v1alpha1.AudioInConfig.Encoding
  1085  	1,  // 4: google.assistant.embedded.v1alpha1.AudioOutConfig.encoding:type_name -> google.assistant.embedded.v1alpha1.AudioOutConfig.Encoding
  1086  	2,  // 5: google.assistant.embedded.v1alpha1.ConverseResult.microphone_mode:type_name -> google.assistant.embedded.v1alpha1.ConverseResult.MicrophoneMode
  1087  	4,  // 6: google.assistant.embedded.v1alpha1.ConverseRequest.config:type_name -> google.assistant.embedded.v1alpha1.ConverseConfig
  1088  	12, // 7: google.assistant.embedded.v1alpha1.ConverseResponse.error:type_name -> google.rpc.Status
  1089  	3,  // 8: google.assistant.embedded.v1alpha1.ConverseResponse.event_type:type_name -> google.assistant.embedded.v1alpha1.ConverseResponse.EventType
  1090  	8,  // 9: google.assistant.embedded.v1alpha1.ConverseResponse.audio_out:type_name -> google.assistant.embedded.v1alpha1.AudioOut
  1091  	9,  // 10: google.assistant.embedded.v1alpha1.ConverseResponse.result:type_name -> google.assistant.embedded.v1alpha1.ConverseResult
  1092  	10, // 11: google.assistant.embedded.v1alpha1.EmbeddedAssistant.Converse:input_type -> google.assistant.embedded.v1alpha1.ConverseRequest
  1093  	11, // 12: google.assistant.embedded.v1alpha1.EmbeddedAssistant.Converse:output_type -> google.assistant.embedded.v1alpha1.ConverseResponse
  1094  	12, // [12:13] is the sub-list for method output_type
  1095  	11, // [11:12] is the sub-list for method input_type
  1096  	11, // [11:11] is the sub-list for extension type_name
  1097  	11, // [11:11] is the sub-list for extension extendee
  1098  	0,  // [0:11] is the sub-list for field type_name
  1099  }
  1100  
  1101  func init() { file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_init() }
  1102  func file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_init() {
  1103  	if File_google_assistant_embedded_v1alpha1_embedded_assistant_proto != nil {
  1104  		return
  1105  	}
  1106  	if !protoimpl.UnsafeEnabled {
  1107  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1108  			switch v := v.(*ConverseConfig); i {
  1109  			case 0:
  1110  				return &v.state
  1111  			case 1:
  1112  				return &v.sizeCache
  1113  			case 2:
  1114  				return &v.unknownFields
  1115  			default:
  1116  				return nil
  1117  			}
  1118  		}
  1119  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1120  			switch v := v.(*AudioInConfig); i {
  1121  			case 0:
  1122  				return &v.state
  1123  			case 1:
  1124  				return &v.sizeCache
  1125  			case 2:
  1126  				return &v.unknownFields
  1127  			default:
  1128  				return nil
  1129  			}
  1130  		}
  1131  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1132  			switch v := v.(*AudioOutConfig); i {
  1133  			case 0:
  1134  				return &v.state
  1135  			case 1:
  1136  				return &v.sizeCache
  1137  			case 2:
  1138  				return &v.unknownFields
  1139  			default:
  1140  				return nil
  1141  			}
  1142  		}
  1143  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1144  			switch v := v.(*ConverseState); i {
  1145  			case 0:
  1146  				return &v.state
  1147  			case 1:
  1148  				return &v.sizeCache
  1149  			case 2:
  1150  				return &v.unknownFields
  1151  			default:
  1152  				return nil
  1153  			}
  1154  		}
  1155  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1156  			switch v := v.(*AudioOut); i {
  1157  			case 0:
  1158  				return &v.state
  1159  			case 1:
  1160  				return &v.sizeCache
  1161  			case 2:
  1162  				return &v.unknownFields
  1163  			default:
  1164  				return nil
  1165  			}
  1166  		}
  1167  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1168  			switch v := v.(*ConverseResult); i {
  1169  			case 0:
  1170  				return &v.state
  1171  			case 1:
  1172  				return &v.sizeCache
  1173  			case 2:
  1174  				return &v.unknownFields
  1175  			default:
  1176  				return nil
  1177  			}
  1178  		}
  1179  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1180  			switch v := v.(*ConverseRequest); i {
  1181  			case 0:
  1182  				return &v.state
  1183  			case 1:
  1184  				return &v.sizeCache
  1185  			case 2:
  1186  				return &v.unknownFields
  1187  			default:
  1188  				return nil
  1189  			}
  1190  		}
  1191  		file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1192  			switch v := v.(*ConverseResponse); i {
  1193  			case 0:
  1194  				return &v.state
  1195  			case 1:
  1196  				return &v.sizeCache
  1197  			case 2:
  1198  				return &v.unknownFields
  1199  			default:
  1200  				return nil
  1201  			}
  1202  		}
  1203  	}
  1204  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[6].OneofWrappers = []interface{}{
  1205  		(*ConverseRequest_Config)(nil),
  1206  		(*ConverseRequest_AudioIn)(nil),
  1207  	}
  1208  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes[7].OneofWrappers = []interface{}{
  1209  		(*ConverseResponse_Error)(nil),
  1210  		(*ConverseResponse_EventType_)(nil),
  1211  		(*ConverseResponse_AudioOut)(nil),
  1212  		(*ConverseResponse_Result)(nil),
  1213  	}
  1214  	type x struct{}
  1215  	out := protoimpl.TypeBuilder{
  1216  		File: protoimpl.DescBuilder{
  1217  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1218  			RawDescriptor: file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDesc,
  1219  			NumEnums:      4,
  1220  			NumMessages:   8,
  1221  			NumExtensions: 0,
  1222  			NumServices:   1,
  1223  		},
  1224  		GoTypes:           file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_goTypes,
  1225  		DependencyIndexes: file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_depIdxs,
  1226  		EnumInfos:         file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_enumTypes,
  1227  		MessageInfos:      file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_msgTypes,
  1228  	}.Build()
  1229  	File_google_assistant_embedded_v1alpha1_embedded_assistant_proto = out.File
  1230  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_rawDesc = nil
  1231  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_goTypes = nil
  1232  	file_google_assistant_embedded_v1alpha1_embedded_assistant_proto_depIdxs = nil
  1233  }
  1234  
  1235  // Reference imports to suppress errors if they are not otherwise used.
  1236  var _ context.Context
  1237  var _ grpc.ClientConnInterface
  1238  
  1239  // This is a compile-time assertion to ensure that this generated file
  1240  // is compatible with the grpc package it is being compiled against.
  1241  const _ = grpc.SupportPackageIsVersion6
  1242  
  1243  // EmbeddedAssistantClient is the client API for EmbeddedAssistant service.
  1244  //
  1245  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1246  type EmbeddedAssistantClient interface {
  1247  	// Initiates or continues a conversation with the embedded assistant service.
  1248  	// Each call performs one round-trip, sending an audio request to the service
  1249  	// and receiving the audio response. Uses bidirectional streaming to receive
  1250  	// results, such as the `END_OF_UTTERANCE` event, while sending audio.
  1251  	//
  1252  	// A conversation is one or more gRPC connections, each consisting of several
  1253  	// streamed requests and responses.
  1254  	// For example, the user says *Add to my shopping list* and the assistant
  1255  	// responds *What do you want to add?*. The sequence of streamed requests and
  1256  	// responses in the first gRPC message could be:
  1257  	//
  1258  	// *   ConverseRequest.config
  1259  	// *   ConverseRequest.audio_in
  1260  	// *   ConverseRequest.audio_in
  1261  	// *   ConverseRequest.audio_in
  1262  	// *   ConverseRequest.audio_in
  1263  	// *   ConverseResponse.event_type.END_OF_UTTERANCE
  1264  	// *   ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON
  1265  	// *   ConverseResponse.audio_out
  1266  	// *   ConverseResponse.audio_out
  1267  	// *   ConverseResponse.audio_out
  1268  	//
  1269  	// The user then says *bagels* and the assistant responds
  1270  	// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
  1271  	// connection call to the `Converse` method, again with streamed requests and
  1272  	// responses, such as:
  1273  	//
  1274  	// *   ConverseRequest.config
  1275  	// *   ConverseRequest.audio_in
  1276  	// *   ConverseRequest.audio_in
  1277  	// *   ConverseRequest.audio_in
  1278  	// *   ConverseResponse.event_type.END_OF_UTTERANCE
  1279  	// *   ConverseResponse.result.microphone_mode.CLOSE_MICROPHONE
  1280  	// *   ConverseResponse.audio_out
  1281  	// *   ConverseResponse.audio_out
  1282  	// *   ConverseResponse.audio_out
  1283  	// *   ConverseResponse.audio_out
  1284  	//
  1285  	// Although the precise order of responses is not guaranteed, sequential
  1286  	// ConverseResponse.audio_out messages will always contain sequential portions
  1287  	// of audio.
  1288  	Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error)
  1289  }
  1290  
  1291  type embeddedAssistantClient struct {
  1292  	cc grpc.ClientConnInterface
  1293  }
  1294  
  1295  func NewEmbeddedAssistantClient(cc grpc.ClientConnInterface) EmbeddedAssistantClient {
  1296  	return &embeddedAssistantClient{cc}
  1297  }
  1298  
  1299  func (c *embeddedAssistantClient) Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error) {
  1300  	stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...)
  1301  	if err != nil {
  1302  		return nil, err
  1303  	}
  1304  	x := &embeddedAssistantConverseClient{stream}
  1305  	return x, nil
  1306  }
  1307  
  1308  type EmbeddedAssistant_ConverseClient interface {
  1309  	Send(*ConverseRequest) error
  1310  	Recv() (*ConverseResponse, error)
  1311  	grpc.ClientStream
  1312  }
  1313  
  1314  type embeddedAssistantConverseClient struct {
  1315  	grpc.ClientStream
  1316  }
  1317  
  1318  func (x *embeddedAssistantConverseClient) Send(m *ConverseRequest) error {
  1319  	return x.ClientStream.SendMsg(m)
  1320  }
  1321  
  1322  func (x *embeddedAssistantConverseClient) Recv() (*ConverseResponse, error) {
  1323  	m := new(ConverseResponse)
  1324  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1325  		return nil, err
  1326  	}
  1327  	return m, nil
  1328  }
  1329  
  1330  // EmbeddedAssistantServer is the server API for EmbeddedAssistant service.
  1331  type EmbeddedAssistantServer interface {
  1332  	// Initiates or continues a conversation with the embedded assistant service.
  1333  	// Each call performs one round-trip, sending an audio request to the service
  1334  	// and receiving the audio response. Uses bidirectional streaming to receive
  1335  	// results, such as the `END_OF_UTTERANCE` event, while sending audio.
  1336  	//
  1337  	// A conversation is one or more gRPC connections, each consisting of several
  1338  	// streamed requests and responses.
  1339  	// For example, the user says *Add to my shopping list* and the assistant
  1340  	// responds *What do you want to add?*. The sequence of streamed requests and
  1341  	// responses in the first gRPC message could be:
  1342  	//
  1343  	// *   ConverseRequest.config
  1344  	// *   ConverseRequest.audio_in
  1345  	// *   ConverseRequest.audio_in
  1346  	// *   ConverseRequest.audio_in
  1347  	// *   ConverseRequest.audio_in
  1348  	// *   ConverseResponse.event_type.END_OF_UTTERANCE
  1349  	// *   ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON
  1350  	// *   ConverseResponse.audio_out
  1351  	// *   ConverseResponse.audio_out
  1352  	// *   ConverseResponse.audio_out
  1353  	//
  1354  	// The user then says *bagels* and the assistant responds
  1355  	// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
  1356  	// connection call to the `Converse` method, again with streamed requests and
  1357  	// responses, such as:
  1358  	//
  1359  	// *   ConverseRequest.config
  1360  	// *   ConverseRequest.audio_in
  1361  	// *   ConverseRequest.audio_in
  1362  	// *   ConverseRequest.audio_in
  1363  	// *   ConverseResponse.event_type.END_OF_UTTERANCE
  1364  	// *   ConverseResponse.result.microphone_mode.CLOSE_MICROPHONE
  1365  	// *   ConverseResponse.audio_out
  1366  	// *   ConverseResponse.audio_out
  1367  	// *   ConverseResponse.audio_out
  1368  	// *   ConverseResponse.audio_out
  1369  	//
  1370  	// Although the precise order of responses is not guaranteed, sequential
  1371  	// ConverseResponse.audio_out messages will always contain sequential portions
  1372  	// of audio.
  1373  	Converse(EmbeddedAssistant_ConverseServer) error
  1374  }
  1375  
  1376  // UnimplementedEmbeddedAssistantServer can be embedded to have forward compatible implementations.
  1377  type UnimplementedEmbeddedAssistantServer struct {
  1378  }
  1379  
  1380  func (*UnimplementedEmbeddedAssistantServer) Converse(EmbeddedAssistant_ConverseServer) error {
  1381  	return status1.Errorf(codes.Unimplemented, "method Converse not implemented")
  1382  }
  1383  
  1384  func RegisterEmbeddedAssistantServer(s *grpc.Server, srv EmbeddedAssistantServer) {
  1385  	s.RegisterService(&_EmbeddedAssistant_serviceDesc, srv)
  1386  }
  1387  
  1388  func _EmbeddedAssistant_Converse_Handler(srv interface{}, stream grpc.ServerStream) error {
  1389  	return srv.(EmbeddedAssistantServer).Converse(&embeddedAssistantConverseServer{stream})
  1390  }
  1391  
  1392  type EmbeddedAssistant_ConverseServer interface {
  1393  	Send(*ConverseResponse) error
  1394  	Recv() (*ConverseRequest, error)
  1395  	grpc.ServerStream
  1396  }
  1397  
  1398  type embeddedAssistantConverseServer struct {
  1399  	grpc.ServerStream
  1400  }
  1401  
  1402  func (x *embeddedAssistantConverseServer) Send(m *ConverseResponse) error {
  1403  	return x.ServerStream.SendMsg(m)
  1404  }
  1405  
  1406  func (x *embeddedAssistantConverseServer) Recv() (*ConverseRequest, error) {
  1407  	m := new(ConverseRequest)
  1408  	if err := x.ServerStream.RecvMsg(m); err != nil {
  1409  		return nil, err
  1410  	}
  1411  	return m, nil
  1412  }
  1413  
  1414  var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{
  1415  	ServiceName: "google.assistant.embedded.v1alpha1.EmbeddedAssistant",
  1416  	HandlerType: (*EmbeddedAssistantServer)(nil),
  1417  	Methods:     []grpc.MethodDesc{},
  1418  	Streams: []grpc.StreamDesc{
  1419  		{
  1420  			StreamName:    "Converse",
  1421  			Handler:       _EmbeddedAssistant_Converse_Handler,
  1422  			ServerStreams: true,
  1423  			ClientStreams: true,
  1424  		},
  1425  	},
  1426  	Metadata: "google/assistant/embedded/v1alpha1/embedded_assistant.proto",
  1427  }
  1428  

View as plain text