...

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

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

     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/v1alpha2/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  	latlng "google.golang.org/genproto/googleapis/type/latlng"
    30  	grpc "google.golang.org/grpc"
    31  	codes "google.golang.org/grpc/codes"
    32  	status "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  // Indicates the type of event.
    45  type AssistResponse_EventType int32
    46  
    47  const (
    48  	// No event specified.
    49  	AssistResponse_EVENT_TYPE_UNSPECIFIED AssistResponse_EventType = 0
    50  	// This event indicates that the server has detected the end of the user's
    51  	// speech utterance and expects no additional speech. Therefore, the server
    52  	// will not process additional audio (although it may subsequently return
    53  	// additional results). The client should stop sending additional audio
    54  	// data, half-close the gRPC connection, and wait for any additional results
    55  	// until the server closes the gRPC connection.
    56  	AssistResponse_END_OF_UTTERANCE AssistResponse_EventType = 1
    57  )
    58  
    59  // Enum value maps for AssistResponse_EventType.
    60  var (
    61  	AssistResponse_EventType_name = map[int32]string{
    62  		0: "EVENT_TYPE_UNSPECIFIED",
    63  		1: "END_OF_UTTERANCE",
    64  	}
    65  	AssistResponse_EventType_value = map[string]int32{
    66  		"EVENT_TYPE_UNSPECIFIED": 0,
    67  		"END_OF_UTTERANCE":       1,
    68  	}
    69  )
    70  
    71  func (x AssistResponse_EventType) Enum() *AssistResponse_EventType {
    72  	p := new(AssistResponse_EventType)
    73  	*p = x
    74  	return p
    75  }
    76  
    77  func (x AssistResponse_EventType) String() string {
    78  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    79  }
    80  
    81  func (AssistResponse_EventType) Descriptor() protoreflect.EnumDescriptor {
    82  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[0].Descriptor()
    83  }
    84  
    85  func (AssistResponse_EventType) Type() protoreflect.EnumType {
    86  	return &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[0]
    87  }
    88  
    89  func (x AssistResponse_EventType) Number() protoreflect.EnumNumber {
    90  	return protoreflect.EnumNumber(x)
    91  }
    92  
    93  // Deprecated: Use AssistResponse_EventType.Descriptor instead.
    94  func (AssistResponse_EventType) EnumDescriptor() ([]byte, []int) {
    95  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{1, 0}
    96  }
    97  
    98  // Audio encoding of the data sent in the audio message.
    99  // Audio must be one-channel (mono).
   100  type AudioInConfig_Encoding int32
   101  
   102  const (
   103  	// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
   104  	AudioInConfig_ENCODING_UNSPECIFIED AudioInConfig_Encoding = 0
   105  	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
   106  	// This encoding includes no header, only the raw audio bytes.
   107  	AudioInConfig_LINEAR16 AudioInConfig_Encoding = 1
   108  	// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
   109  	// Codec) is the recommended encoding because it is
   110  	// lossless--therefore recognition is not compromised--and
   111  	// requires only about half the bandwidth of `LINEAR16`. This encoding
   112  	// includes the `FLAC` stream header followed by audio data. It supports
   113  	// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are
   114  	// supported.
   115  	AudioInConfig_FLAC AudioInConfig_Encoding = 2
   116  )
   117  
   118  // Enum value maps for AudioInConfig_Encoding.
   119  var (
   120  	AudioInConfig_Encoding_name = map[int32]string{
   121  		0: "ENCODING_UNSPECIFIED",
   122  		1: "LINEAR16",
   123  		2: "FLAC",
   124  	}
   125  	AudioInConfig_Encoding_value = map[string]int32{
   126  		"ENCODING_UNSPECIFIED": 0,
   127  		"LINEAR16":             1,
   128  		"FLAC":                 2,
   129  	}
   130  )
   131  
   132  func (x AudioInConfig_Encoding) Enum() *AudioInConfig_Encoding {
   133  	p := new(AudioInConfig_Encoding)
   134  	*p = x
   135  	return p
   136  }
   137  
   138  func (x AudioInConfig_Encoding) String() string {
   139  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   140  }
   141  
   142  func (AudioInConfig_Encoding) Descriptor() protoreflect.EnumDescriptor {
   143  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[1].Descriptor()
   144  }
   145  
   146  func (AudioInConfig_Encoding) Type() protoreflect.EnumType {
   147  	return &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[1]
   148  }
   149  
   150  func (x AudioInConfig_Encoding) Number() protoreflect.EnumNumber {
   151  	return protoreflect.EnumNumber(x)
   152  }
   153  
   154  // Deprecated: Use AudioInConfig_Encoding.Descriptor instead.
   155  func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) {
   156  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{4, 0}
   157  }
   158  
   159  // Audio encoding of the data returned in the audio message. All encodings are
   160  // raw audio bytes with no header, except as indicated below.
   161  type AudioOutConfig_Encoding int32
   162  
   163  const (
   164  	// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
   165  	AudioOutConfig_ENCODING_UNSPECIFIED AudioOutConfig_Encoding = 0
   166  	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
   167  	AudioOutConfig_LINEAR16 AudioOutConfig_Encoding = 1
   168  	// MP3 audio encoding. The sample rate is encoded in the payload.
   169  	AudioOutConfig_MP3 AudioOutConfig_Encoding = 2
   170  	// Opus-encoded audio wrapped in an ogg container. The result will be a
   171  	// file which can be played natively on Android and in some browsers (such
   172  	// as Chrome). The quality of the encoding is considerably higher than MP3
   173  	// while using the same bitrate. The sample rate is encoded in the payload.
   174  	AudioOutConfig_OPUS_IN_OGG AudioOutConfig_Encoding = 3
   175  )
   176  
   177  // Enum value maps for AudioOutConfig_Encoding.
   178  var (
   179  	AudioOutConfig_Encoding_name = map[int32]string{
   180  		0: "ENCODING_UNSPECIFIED",
   181  		1: "LINEAR16",
   182  		2: "MP3",
   183  		3: "OPUS_IN_OGG",
   184  	}
   185  	AudioOutConfig_Encoding_value = map[string]int32{
   186  		"ENCODING_UNSPECIFIED": 0,
   187  		"LINEAR16":             1,
   188  		"MP3":                  2,
   189  		"OPUS_IN_OGG":          3,
   190  	}
   191  )
   192  
   193  func (x AudioOutConfig_Encoding) Enum() *AudioOutConfig_Encoding {
   194  	p := new(AudioOutConfig_Encoding)
   195  	*p = x
   196  	return p
   197  }
   198  
   199  func (x AudioOutConfig_Encoding) String() string {
   200  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   201  }
   202  
   203  func (AudioOutConfig_Encoding) Descriptor() protoreflect.EnumDescriptor {
   204  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[2].Descriptor()
   205  }
   206  
   207  func (AudioOutConfig_Encoding) Type() protoreflect.EnumType {
   208  	return &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[2]
   209  }
   210  
   211  func (x AudioOutConfig_Encoding) Number() protoreflect.EnumNumber {
   212  	return protoreflect.EnumNumber(x)
   213  }
   214  
   215  // Deprecated: Use AudioOutConfig_Encoding.Descriptor instead.
   216  func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) {
   217  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{5, 0}
   218  }
   219  
   220  // Possible modes for visual screen-output on the device.
   221  type ScreenOutConfig_ScreenMode int32
   222  
   223  const (
   224  	// No video mode specified.
   225  	// The Assistant may respond as if in `OFF` mode.
   226  	ScreenOutConfig_SCREEN_MODE_UNSPECIFIED ScreenOutConfig_ScreenMode = 0
   227  	// Screen is off (or has brightness or other settings set so low it is
   228  	// not visible). The Assistant will typically not return a screen response
   229  	// in this mode.
   230  	ScreenOutConfig_OFF ScreenOutConfig_ScreenMode = 1
   231  	// The Assistant will typically return a partial-screen response in this
   232  	// mode.
   233  	ScreenOutConfig_PLAYING ScreenOutConfig_ScreenMode = 3
   234  )
   235  
   236  // Enum value maps for ScreenOutConfig_ScreenMode.
   237  var (
   238  	ScreenOutConfig_ScreenMode_name = map[int32]string{
   239  		0: "SCREEN_MODE_UNSPECIFIED",
   240  		1: "OFF",
   241  		3: "PLAYING",
   242  	}
   243  	ScreenOutConfig_ScreenMode_value = map[string]int32{
   244  		"SCREEN_MODE_UNSPECIFIED": 0,
   245  		"OFF":                     1,
   246  		"PLAYING":                 3,
   247  	}
   248  )
   249  
   250  func (x ScreenOutConfig_ScreenMode) Enum() *ScreenOutConfig_ScreenMode {
   251  	p := new(ScreenOutConfig_ScreenMode)
   252  	*p = x
   253  	return p
   254  }
   255  
   256  func (x ScreenOutConfig_ScreenMode) String() string {
   257  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   258  }
   259  
   260  func (ScreenOutConfig_ScreenMode) Descriptor() protoreflect.EnumDescriptor {
   261  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[3].Descriptor()
   262  }
   263  
   264  func (ScreenOutConfig_ScreenMode) Type() protoreflect.EnumType {
   265  	return &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[3]
   266  }
   267  
   268  func (x ScreenOutConfig_ScreenMode) Number() protoreflect.EnumNumber {
   269  	return protoreflect.EnumNumber(x)
   270  }
   271  
   272  // Deprecated: Use ScreenOutConfig_ScreenMode.Descriptor instead.
   273  func (ScreenOutConfig_ScreenMode) EnumDescriptor() ([]byte, []int) {
   274  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{6, 0}
   275  }
   276  
   277  // Possible formats of the screen data.
   278  type ScreenOut_Format int32
   279  
   280  const (
   281  	// No format specified.
   282  	ScreenOut_FORMAT_UNSPECIFIED ScreenOut_Format = 0
   283  	// Data will contain a fully-formed HTML5 layout encoded in UTF-8, e.g.
   284  	// `<html><body><div>...</div></body></html>`. It is intended to be rendered
   285  	// along with the audio response. Note that HTML5 doctype should be included
   286  	// in the actual HTML data.
   287  	ScreenOut_HTML ScreenOut_Format = 1
   288  )
   289  
   290  // Enum value maps for ScreenOut_Format.
   291  var (
   292  	ScreenOut_Format_name = map[int32]string{
   293  		0: "FORMAT_UNSPECIFIED",
   294  		1: "HTML",
   295  	}
   296  	ScreenOut_Format_value = map[string]int32{
   297  		"FORMAT_UNSPECIFIED": 0,
   298  		"HTML":               1,
   299  	}
   300  )
   301  
   302  func (x ScreenOut_Format) Enum() *ScreenOut_Format {
   303  	p := new(ScreenOut_Format)
   304  	*p = x
   305  	return p
   306  }
   307  
   308  func (x ScreenOut_Format) String() string {
   309  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   310  }
   311  
   312  func (ScreenOut_Format) Descriptor() protoreflect.EnumDescriptor {
   313  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[4].Descriptor()
   314  }
   315  
   316  func (ScreenOut_Format) Type() protoreflect.EnumType {
   317  	return &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[4]
   318  }
   319  
   320  func (x ScreenOut_Format) Number() protoreflect.EnumNumber {
   321  	return protoreflect.EnumNumber(x)
   322  }
   323  
   324  // Deprecated: Use ScreenOut_Format.Descriptor instead.
   325  func (ScreenOut_Format) EnumDescriptor() ([]byte, []int) {
   326  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{10, 0}
   327  }
   328  
   329  // Possible states of the microphone after a `Assist` RPC completes.
   330  type DialogStateOut_MicrophoneMode int32
   331  
   332  const (
   333  	// No mode specified.
   334  	DialogStateOut_MICROPHONE_MODE_UNSPECIFIED DialogStateOut_MicrophoneMode = 0
   335  	// The service is not expecting a follow-on question from the user.
   336  	// The microphone should remain off until the user re-activates it.
   337  	DialogStateOut_CLOSE_MICROPHONE DialogStateOut_MicrophoneMode = 1
   338  	// The service is expecting a follow-on question from the user. The
   339  	// microphone should be re-opened when the `AudioOut` playback completes
   340  	// (by starting a new `Assist` RPC call to send the new audio).
   341  	DialogStateOut_DIALOG_FOLLOW_ON DialogStateOut_MicrophoneMode = 2
   342  )
   343  
   344  // Enum value maps for DialogStateOut_MicrophoneMode.
   345  var (
   346  	DialogStateOut_MicrophoneMode_name = map[int32]string{
   347  		0: "MICROPHONE_MODE_UNSPECIFIED",
   348  		1: "CLOSE_MICROPHONE",
   349  		2: "DIALOG_FOLLOW_ON",
   350  	}
   351  	DialogStateOut_MicrophoneMode_value = map[string]int32{
   352  		"MICROPHONE_MODE_UNSPECIFIED": 0,
   353  		"CLOSE_MICROPHONE":            1,
   354  		"DIALOG_FOLLOW_ON":            2,
   355  	}
   356  )
   357  
   358  func (x DialogStateOut_MicrophoneMode) Enum() *DialogStateOut_MicrophoneMode {
   359  	p := new(DialogStateOut_MicrophoneMode)
   360  	*p = x
   361  	return p
   362  }
   363  
   364  func (x DialogStateOut_MicrophoneMode) String() string {
   365  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   366  }
   367  
   368  func (DialogStateOut_MicrophoneMode) Descriptor() protoreflect.EnumDescriptor {
   369  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[5].Descriptor()
   370  }
   371  
   372  func (DialogStateOut_MicrophoneMode) Type() protoreflect.EnumType {
   373  	return &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes[5]
   374  }
   375  
   376  func (x DialogStateOut_MicrophoneMode) Number() protoreflect.EnumNumber {
   377  	return protoreflect.EnumNumber(x)
   378  }
   379  
   380  // Deprecated: Use DialogStateOut_MicrophoneMode.Descriptor instead.
   381  func (DialogStateOut_MicrophoneMode) EnumDescriptor() ([]byte, []int) {
   382  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{13, 0}
   383  }
   384  
   385  // The top-level message sent by the client. Clients must send at least two, and
   386  // typically numerous `AssistRequest` messages. The first message must
   387  // contain a `config` message and must not contain `audio_in` data. All
   388  // subsequent messages must contain `audio_in` data and must not contain a
   389  // `config` message.
   390  type AssistRequest struct {
   391  	state         protoimpl.MessageState
   392  	sizeCache     protoimpl.SizeCache
   393  	unknownFields protoimpl.UnknownFields
   394  
   395  	// Exactly one of these fields must be specified in each `AssistRequest`.
   396  	//
   397  	// Types that are assignable to Type:
   398  	//
   399  	//	*AssistRequest_Config
   400  	//	*AssistRequest_AudioIn
   401  	Type isAssistRequest_Type `protobuf_oneof:"type"`
   402  }
   403  
   404  func (x *AssistRequest) Reset() {
   405  	*x = AssistRequest{}
   406  	if protoimpl.UnsafeEnabled {
   407  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[0]
   408  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   409  		ms.StoreMessageInfo(mi)
   410  	}
   411  }
   412  
   413  func (x *AssistRequest) String() string {
   414  	return protoimpl.X.MessageStringOf(x)
   415  }
   416  
   417  func (*AssistRequest) ProtoMessage() {}
   418  
   419  func (x *AssistRequest) ProtoReflect() protoreflect.Message {
   420  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[0]
   421  	if protoimpl.UnsafeEnabled && x != nil {
   422  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   423  		if ms.LoadMessageInfo() == nil {
   424  			ms.StoreMessageInfo(mi)
   425  		}
   426  		return ms
   427  	}
   428  	return mi.MessageOf(x)
   429  }
   430  
   431  // Deprecated: Use AssistRequest.ProtoReflect.Descriptor instead.
   432  func (*AssistRequest) Descriptor() ([]byte, []int) {
   433  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{0}
   434  }
   435  
   436  func (m *AssistRequest) GetType() isAssistRequest_Type {
   437  	if m != nil {
   438  		return m.Type
   439  	}
   440  	return nil
   441  }
   442  
   443  func (x *AssistRequest) GetConfig() *AssistConfig {
   444  	if x, ok := x.GetType().(*AssistRequest_Config); ok {
   445  		return x.Config
   446  	}
   447  	return nil
   448  }
   449  
   450  func (x *AssistRequest) GetAudioIn() []byte {
   451  	if x, ok := x.GetType().(*AssistRequest_AudioIn); ok {
   452  		return x.AudioIn
   453  	}
   454  	return nil
   455  }
   456  
   457  type isAssistRequest_Type interface {
   458  	isAssistRequest_Type()
   459  }
   460  
   461  type AssistRequest_Config struct {
   462  	// The `config` message provides information to the recognizer that
   463  	// specifies how to process the request.
   464  	// The first `AssistRequest` message must contain a `config` message.
   465  	Config *AssistConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
   466  }
   467  
   468  type AssistRequest_AudioIn struct {
   469  	// The audio data to be recognized. Sequential chunks of audio data are sent
   470  	// in sequential `AssistRequest` messages. The first `AssistRequest`
   471  	// message must not contain `audio_in` data and all subsequent
   472  	// `AssistRequest` messages must contain `audio_in` data. The audio bytes
   473  	// must be encoded as specified in `AudioInConfig`.
   474  	// Audio must be sent at approximately real-time (16000 samples per second).
   475  	// An error will be returned if audio is sent significantly faster or
   476  	// slower.
   477  	AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"`
   478  }
   479  
   480  func (*AssistRequest_Config) isAssistRequest_Type() {}
   481  
   482  func (*AssistRequest_AudioIn) isAssistRequest_Type() {}
   483  
   484  // The top-level message received by the client. A series of one or more
   485  // `AssistResponse` messages are streamed back to the client.
   486  type AssistResponse struct {
   487  	state         protoimpl.MessageState
   488  	sizeCache     protoimpl.SizeCache
   489  	unknownFields protoimpl.UnknownFields
   490  
   491  	// *Output-only* Indicates the type of event.
   492  	EventType AssistResponse_EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=google.assistant.embedded.v1alpha2.AssistResponse_EventType" json:"event_type,omitempty"`
   493  	// *Output-only* The audio containing the Assistant's response to the query.
   494  	AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,proto3" json:"audio_out,omitempty"`
   495  	// *Output-only* Contains the Assistant's visual response to the query.
   496  	ScreenOut *ScreenOut `protobuf:"bytes,4,opt,name=screen_out,json=screenOut,proto3" json:"screen_out,omitempty"`
   497  	// *Output-only* Contains the action triggered by the query with the
   498  	// appropriate payloads and semantic parsing.
   499  	DeviceAction *DeviceAction `protobuf:"bytes,6,opt,name=device_action,json=deviceAction,proto3" json:"device_action,omitempty"`
   500  	// *Output-only* This repeated list contains zero or more speech recognition
   501  	// results that correspond to consecutive portions of the audio currently
   502  	// being processed, starting with the portion corresponding to the earliest
   503  	// audio (and most stable portion) to the portion corresponding to the most
   504  	// recent audio. The strings can be concatenated to view the full
   505  	// in-progress response. When the speech recognition completes, this list
   506  	// will contain one item with `stability` of `1.0`.
   507  	SpeechResults []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=speech_results,json=speechResults,proto3" json:"speech_results,omitempty"`
   508  	// *Output-only* Contains output related to the user's query.
   509  	DialogStateOut *DialogStateOut `protobuf:"bytes,5,opt,name=dialog_state_out,json=dialogStateOut,proto3" json:"dialog_state_out,omitempty"`
   510  	// *Output-only* Debugging info for developer. Only returned if request set
   511  	// `return_debug_info` to true.
   512  	DebugInfo *DebugInfo `protobuf:"bytes,8,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"`
   513  }
   514  
   515  func (x *AssistResponse) Reset() {
   516  	*x = AssistResponse{}
   517  	if protoimpl.UnsafeEnabled {
   518  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[1]
   519  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   520  		ms.StoreMessageInfo(mi)
   521  	}
   522  }
   523  
   524  func (x *AssistResponse) String() string {
   525  	return protoimpl.X.MessageStringOf(x)
   526  }
   527  
   528  func (*AssistResponse) ProtoMessage() {}
   529  
   530  func (x *AssistResponse) ProtoReflect() protoreflect.Message {
   531  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[1]
   532  	if protoimpl.UnsafeEnabled && x != nil {
   533  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   534  		if ms.LoadMessageInfo() == nil {
   535  			ms.StoreMessageInfo(mi)
   536  		}
   537  		return ms
   538  	}
   539  	return mi.MessageOf(x)
   540  }
   541  
   542  // Deprecated: Use AssistResponse.ProtoReflect.Descriptor instead.
   543  func (*AssistResponse) Descriptor() ([]byte, []int) {
   544  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{1}
   545  }
   546  
   547  func (x *AssistResponse) GetEventType() AssistResponse_EventType {
   548  	if x != nil {
   549  		return x.EventType
   550  	}
   551  	return AssistResponse_EVENT_TYPE_UNSPECIFIED
   552  }
   553  
   554  func (x *AssistResponse) GetAudioOut() *AudioOut {
   555  	if x != nil {
   556  		return x.AudioOut
   557  	}
   558  	return nil
   559  }
   560  
   561  func (x *AssistResponse) GetScreenOut() *ScreenOut {
   562  	if x != nil {
   563  		return x.ScreenOut
   564  	}
   565  	return nil
   566  }
   567  
   568  func (x *AssistResponse) GetDeviceAction() *DeviceAction {
   569  	if x != nil {
   570  		return x.DeviceAction
   571  	}
   572  	return nil
   573  }
   574  
   575  func (x *AssistResponse) GetSpeechResults() []*SpeechRecognitionResult {
   576  	if x != nil {
   577  		return x.SpeechResults
   578  	}
   579  	return nil
   580  }
   581  
   582  func (x *AssistResponse) GetDialogStateOut() *DialogStateOut {
   583  	if x != nil {
   584  		return x.DialogStateOut
   585  	}
   586  	return nil
   587  }
   588  
   589  func (x *AssistResponse) GetDebugInfo() *DebugInfo {
   590  	if x != nil {
   591  		return x.DebugInfo
   592  	}
   593  	return nil
   594  }
   595  
   596  // Debug info for developer. Only returned if request set `return_debug_info`
   597  // to true.
   598  type DebugInfo struct {
   599  	state         protoimpl.MessageState
   600  	sizeCache     protoimpl.SizeCache
   601  	unknownFields protoimpl.UnknownFields
   602  
   603  	// The original JSON response from an Action-on-Google agent to Google server.
   604  	// See
   605  	// https://developers.google.com/actions/reference/rest/Shared.Types/AppResponse.
   606  	// It will only be populated if the request maker owns the AoG project and the
   607  	// AoG project is in preview mode.
   608  	AogAgentToAssistantJson string `protobuf:"bytes,1,opt,name=aog_agent_to_assistant_json,json=aogAgentToAssistantJson,proto3" json:"aog_agent_to_assistant_json,omitempty"`
   609  }
   610  
   611  func (x *DebugInfo) Reset() {
   612  	*x = DebugInfo{}
   613  	if protoimpl.UnsafeEnabled {
   614  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[2]
   615  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   616  		ms.StoreMessageInfo(mi)
   617  	}
   618  }
   619  
   620  func (x *DebugInfo) String() string {
   621  	return protoimpl.X.MessageStringOf(x)
   622  }
   623  
   624  func (*DebugInfo) ProtoMessage() {}
   625  
   626  func (x *DebugInfo) ProtoReflect() protoreflect.Message {
   627  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[2]
   628  	if protoimpl.UnsafeEnabled && x != nil {
   629  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   630  		if ms.LoadMessageInfo() == nil {
   631  			ms.StoreMessageInfo(mi)
   632  		}
   633  		return ms
   634  	}
   635  	return mi.MessageOf(x)
   636  }
   637  
   638  // Deprecated: Use DebugInfo.ProtoReflect.Descriptor instead.
   639  func (*DebugInfo) Descriptor() ([]byte, []int) {
   640  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{2}
   641  }
   642  
   643  func (x *DebugInfo) GetAogAgentToAssistantJson() string {
   644  	if x != nil {
   645  		return x.AogAgentToAssistantJson
   646  	}
   647  	return ""
   648  }
   649  
   650  // Specifies how to process the `AssistRequest` messages.
   651  type AssistConfig struct {
   652  	state         protoimpl.MessageState
   653  	sizeCache     protoimpl.SizeCache
   654  	unknownFields protoimpl.UnknownFields
   655  
   656  	// Types that are assignable to Type:
   657  	//
   658  	//	*AssistConfig_AudioInConfig
   659  	//	*AssistConfig_TextQuery
   660  	Type isAssistConfig_Type `protobuf_oneof:"type"`
   661  	// *Required* Specifies how to format the audio that will be returned.
   662  	AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig,proto3" json:"audio_out_config,omitempty"`
   663  	// *Optional* Specifies the desired format to use when server returns a
   664  	// visual screen response.
   665  	ScreenOutConfig *ScreenOutConfig `protobuf:"bytes,8,opt,name=screen_out_config,json=screenOutConfig,proto3" json:"screen_out_config,omitempty"`
   666  	// *Required* Represents the current dialog state.
   667  	DialogStateIn *DialogStateIn `protobuf:"bytes,3,opt,name=dialog_state_in,json=dialogStateIn,proto3" json:"dialog_state_in,omitempty"`
   668  	// Device configuration that uniquely identifies a specific device.
   669  	DeviceConfig *DeviceConfig `protobuf:"bytes,4,opt,name=device_config,json=deviceConfig,proto3" json:"device_config,omitempty"`
   670  	// *Optional* Debugging parameters for the whole `Assist` RPC.
   671  	DebugConfig *DebugConfig `protobuf:"bytes,5,opt,name=debug_config,json=debugConfig,proto3" json:"debug_config,omitempty"`
   672  }
   673  
   674  func (x *AssistConfig) Reset() {
   675  	*x = AssistConfig{}
   676  	if protoimpl.UnsafeEnabled {
   677  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[3]
   678  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   679  		ms.StoreMessageInfo(mi)
   680  	}
   681  }
   682  
   683  func (x *AssistConfig) String() string {
   684  	return protoimpl.X.MessageStringOf(x)
   685  }
   686  
   687  func (*AssistConfig) ProtoMessage() {}
   688  
   689  func (x *AssistConfig) ProtoReflect() protoreflect.Message {
   690  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[3]
   691  	if protoimpl.UnsafeEnabled && x != nil {
   692  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   693  		if ms.LoadMessageInfo() == nil {
   694  			ms.StoreMessageInfo(mi)
   695  		}
   696  		return ms
   697  	}
   698  	return mi.MessageOf(x)
   699  }
   700  
   701  // Deprecated: Use AssistConfig.ProtoReflect.Descriptor instead.
   702  func (*AssistConfig) Descriptor() ([]byte, []int) {
   703  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{3}
   704  }
   705  
   706  func (m *AssistConfig) GetType() isAssistConfig_Type {
   707  	if m != nil {
   708  		return m.Type
   709  	}
   710  	return nil
   711  }
   712  
   713  func (x *AssistConfig) GetAudioInConfig() *AudioInConfig {
   714  	if x, ok := x.GetType().(*AssistConfig_AudioInConfig); ok {
   715  		return x.AudioInConfig
   716  	}
   717  	return nil
   718  }
   719  
   720  func (x *AssistConfig) GetTextQuery() string {
   721  	if x, ok := x.GetType().(*AssistConfig_TextQuery); ok {
   722  		return x.TextQuery
   723  	}
   724  	return ""
   725  }
   726  
   727  func (x *AssistConfig) GetAudioOutConfig() *AudioOutConfig {
   728  	if x != nil {
   729  		return x.AudioOutConfig
   730  	}
   731  	return nil
   732  }
   733  
   734  func (x *AssistConfig) GetScreenOutConfig() *ScreenOutConfig {
   735  	if x != nil {
   736  		return x.ScreenOutConfig
   737  	}
   738  	return nil
   739  }
   740  
   741  func (x *AssistConfig) GetDialogStateIn() *DialogStateIn {
   742  	if x != nil {
   743  		return x.DialogStateIn
   744  	}
   745  	return nil
   746  }
   747  
   748  func (x *AssistConfig) GetDeviceConfig() *DeviceConfig {
   749  	if x != nil {
   750  		return x.DeviceConfig
   751  	}
   752  	return nil
   753  }
   754  
   755  func (x *AssistConfig) GetDebugConfig() *DebugConfig {
   756  	if x != nil {
   757  		return x.DebugConfig
   758  	}
   759  	return nil
   760  }
   761  
   762  type isAssistConfig_Type interface {
   763  	isAssistConfig_Type()
   764  }
   765  
   766  type AssistConfig_AudioInConfig struct {
   767  	// Specifies how to process the subsequent incoming audio. Required if
   768  	// [AssistRequest.audio_in][google.assistant.embedded.v1alpha2.AssistRequest.audio_in]
   769  	// bytes will be provided in subsequent requests.
   770  	AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig,proto3,oneof"`
   771  }
   772  
   773  type AssistConfig_TextQuery struct {
   774  	// The text input to be sent to the Assistant. This can be populated from a
   775  	// text interface if audio input is not available.
   776  	TextQuery string `protobuf:"bytes,6,opt,name=text_query,json=textQuery,proto3,oneof"`
   777  }
   778  
   779  func (*AssistConfig_AudioInConfig) isAssistConfig_Type() {}
   780  
   781  func (*AssistConfig_TextQuery) isAssistConfig_Type() {}
   782  
   783  // Specifies how to process the `audio_in` data that will be provided in
   784  // subsequent requests. For recommended settings, see the Google Assistant SDK
   785  // [best
   786  // practices](https://developers.google.com/assistant/sdk/guides/service/python/best-practices/audio).
   787  type AudioInConfig struct {
   788  	state         protoimpl.MessageState
   789  	sizeCache     protoimpl.SizeCache
   790  	unknownFields protoimpl.UnknownFields
   791  
   792  	// *Required* Encoding of audio data sent in all `audio_in` messages.
   793  	Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha2.AudioInConfig_Encoding" json:"encoding,omitempty"`
   794  	// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in`
   795  	// messages. Valid values are from 16000-24000, but 16000 is optimal.
   796  	// For best results, set the sampling rate of the audio source to 16000 Hz.
   797  	// If that's not possible, use the native sample rate of the audio source
   798  	// (instead of re-sampling).
   799  	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
   800  }
   801  
   802  func (x *AudioInConfig) Reset() {
   803  	*x = AudioInConfig{}
   804  	if protoimpl.UnsafeEnabled {
   805  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[4]
   806  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   807  		ms.StoreMessageInfo(mi)
   808  	}
   809  }
   810  
   811  func (x *AudioInConfig) String() string {
   812  	return protoimpl.X.MessageStringOf(x)
   813  }
   814  
   815  func (*AudioInConfig) ProtoMessage() {}
   816  
   817  func (x *AudioInConfig) ProtoReflect() protoreflect.Message {
   818  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[4]
   819  	if protoimpl.UnsafeEnabled && x != nil {
   820  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   821  		if ms.LoadMessageInfo() == nil {
   822  			ms.StoreMessageInfo(mi)
   823  		}
   824  		return ms
   825  	}
   826  	return mi.MessageOf(x)
   827  }
   828  
   829  // Deprecated: Use AudioInConfig.ProtoReflect.Descriptor instead.
   830  func (*AudioInConfig) Descriptor() ([]byte, []int) {
   831  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{4}
   832  }
   833  
   834  func (x *AudioInConfig) GetEncoding() AudioInConfig_Encoding {
   835  	if x != nil {
   836  		return x.Encoding
   837  	}
   838  	return AudioInConfig_ENCODING_UNSPECIFIED
   839  }
   840  
   841  func (x *AudioInConfig) GetSampleRateHertz() int32 {
   842  	if x != nil {
   843  		return x.SampleRateHertz
   844  	}
   845  	return 0
   846  }
   847  
   848  // Specifies the desired format for the server to use when it returns
   849  // `audio_out` messages.
   850  type AudioOutConfig struct {
   851  	state         protoimpl.MessageState
   852  	sizeCache     protoimpl.SizeCache
   853  	unknownFields protoimpl.UnknownFields
   854  
   855  	// *Required* The encoding of audio data to be returned in all `audio_out`
   856  	// messages.
   857  	Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,proto3,enum=google.assistant.embedded.v1alpha2.AudioOutConfig_Encoding" json:"encoding,omitempty"`
   858  	// *Required* The sample rate in Hertz of the audio data returned in
   859  	// `audio_out` messages. Valid values are: 16000-24000.
   860  	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
   861  	// *Required* Current volume setting of the device's audio output.
   862  	// Valid values are 1 to 100 (corresponding to 1% to 100%).
   863  	VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
   864  }
   865  
   866  func (x *AudioOutConfig) Reset() {
   867  	*x = AudioOutConfig{}
   868  	if protoimpl.UnsafeEnabled {
   869  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[5]
   870  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   871  		ms.StoreMessageInfo(mi)
   872  	}
   873  }
   874  
   875  func (x *AudioOutConfig) String() string {
   876  	return protoimpl.X.MessageStringOf(x)
   877  }
   878  
   879  func (*AudioOutConfig) ProtoMessage() {}
   880  
   881  func (x *AudioOutConfig) ProtoReflect() protoreflect.Message {
   882  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[5]
   883  	if protoimpl.UnsafeEnabled && x != nil {
   884  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   885  		if ms.LoadMessageInfo() == nil {
   886  			ms.StoreMessageInfo(mi)
   887  		}
   888  		return ms
   889  	}
   890  	return mi.MessageOf(x)
   891  }
   892  
   893  // Deprecated: Use AudioOutConfig.ProtoReflect.Descriptor instead.
   894  func (*AudioOutConfig) Descriptor() ([]byte, []int) {
   895  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{5}
   896  }
   897  
   898  func (x *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding {
   899  	if x != nil {
   900  		return x.Encoding
   901  	}
   902  	return AudioOutConfig_ENCODING_UNSPECIFIED
   903  }
   904  
   905  func (x *AudioOutConfig) GetSampleRateHertz() int32 {
   906  	if x != nil {
   907  		return x.SampleRateHertz
   908  	}
   909  	return 0
   910  }
   911  
   912  func (x *AudioOutConfig) GetVolumePercentage() int32 {
   913  	if x != nil {
   914  		return x.VolumePercentage
   915  	}
   916  	return 0
   917  }
   918  
   919  // Specifies the desired format for the server to use when it returns
   920  // `screen_out` response.
   921  type ScreenOutConfig struct {
   922  	state         protoimpl.MessageState
   923  	sizeCache     protoimpl.SizeCache
   924  	unknownFields protoimpl.UnknownFields
   925  
   926  	// Current visual screen-mode for the device while issuing the query.
   927  	ScreenMode ScreenOutConfig_ScreenMode `protobuf:"varint,1,opt,name=screen_mode,json=screenMode,proto3,enum=google.assistant.embedded.v1alpha2.ScreenOutConfig_ScreenMode" json:"screen_mode,omitempty"`
   928  }
   929  
   930  func (x *ScreenOutConfig) Reset() {
   931  	*x = ScreenOutConfig{}
   932  	if protoimpl.UnsafeEnabled {
   933  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[6]
   934  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   935  		ms.StoreMessageInfo(mi)
   936  	}
   937  }
   938  
   939  func (x *ScreenOutConfig) String() string {
   940  	return protoimpl.X.MessageStringOf(x)
   941  }
   942  
   943  func (*ScreenOutConfig) ProtoMessage() {}
   944  
   945  func (x *ScreenOutConfig) ProtoReflect() protoreflect.Message {
   946  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[6]
   947  	if protoimpl.UnsafeEnabled && x != nil {
   948  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   949  		if ms.LoadMessageInfo() == nil {
   950  			ms.StoreMessageInfo(mi)
   951  		}
   952  		return ms
   953  	}
   954  	return mi.MessageOf(x)
   955  }
   956  
   957  // Deprecated: Use ScreenOutConfig.ProtoReflect.Descriptor instead.
   958  func (*ScreenOutConfig) Descriptor() ([]byte, []int) {
   959  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{6}
   960  }
   961  
   962  func (x *ScreenOutConfig) GetScreenMode() ScreenOutConfig_ScreenMode {
   963  	if x != nil {
   964  		return x.ScreenMode
   965  	}
   966  	return ScreenOutConfig_SCREEN_MODE_UNSPECIFIED
   967  }
   968  
   969  // Provides information about the current dialog state.
   970  type DialogStateIn struct {
   971  	state         protoimpl.MessageState
   972  	sizeCache     protoimpl.SizeCache
   973  	unknownFields protoimpl.UnknownFields
   974  
   975  	// *Required* This field must always be set to the
   976  	// [DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state]
   977  	// value that was returned in the prior `Assist` RPC. It should only be
   978  	// omitted (field not set) if there was no prior `Assist` RPC because this is
   979  	// the first `Assist` RPC made by this device after it was first setup and/or
   980  	// a factory-default reset.
   981  	ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
   982  	// *Required* Language of the request in
   983  	// [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example,
   984  	// "en-US"). See [Language
   985  	// Support](https://developers.google.com/assistant/sdk/reference/rpc/languages)
   986  	// for more information. If you have selected a language for this `device_id`
   987  	// using the
   988  	// [Settings](https://developers.google.com/assistant/sdk/reference/assistant-app/assistant-settings)
   989  	// menu in your phone's Google Assistant app, that selection will override
   990  	// this value.
   991  	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
   992  	// *Optional* Location of the device where the query originated.
   993  	DeviceLocation *DeviceLocation `protobuf:"bytes,5,opt,name=device_location,json=deviceLocation,proto3" json:"device_location,omitempty"`
   994  	// *Optional* If true, the server will treat the request as a new conversation
   995  	// and not use state from the prior request. Set this field to true when the
   996  	// conversation should be restarted, such as after a device reboot, or after a
   997  	// significant lapse of time since the prior query.
   998  	IsNewConversation bool `protobuf:"varint,7,opt,name=is_new_conversation,json=isNewConversation,proto3" json:"is_new_conversation,omitempty"`
   999  }
  1000  
  1001  func (x *DialogStateIn) Reset() {
  1002  	*x = DialogStateIn{}
  1003  	if protoimpl.UnsafeEnabled {
  1004  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[7]
  1005  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1006  		ms.StoreMessageInfo(mi)
  1007  	}
  1008  }
  1009  
  1010  func (x *DialogStateIn) String() string {
  1011  	return protoimpl.X.MessageStringOf(x)
  1012  }
  1013  
  1014  func (*DialogStateIn) ProtoMessage() {}
  1015  
  1016  func (x *DialogStateIn) ProtoReflect() protoreflect.Message {
  1017  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[7]
  1018  	if protoimpl.UnsafeEnabled && x != nil {
  1019  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1020  		if ms.LoadMessageInfo() == nil {
  1021  			ms.StoreMessageInfo(mi)
  1022  		}
  1023  		return ms
  1024  	}
  1025  	return mi.MessageOf(x)
  1026  }
  1027  
  1028  // Deprecated: Use DialogStateIn.ProtoReflect.Descriptor instead.
  1029  func (*DialogStateIn) Descriptor() ([]byte, []int) {
  1030  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{7}
  1031  }
  1032  
  1033  func (x *DialogStateIn) GetConversationState() []byte {
  1034  	if x != nil {
  1035  		return x.ConversationState
  1036  	}
  1037  	return nil
  1038  }
  1039  
  1040  func (x *DialogStateIn) GetLanguageCode() string {
  1041  	if x != nil {
  1042  		return x.LanguageCode
  1043  	}
  1044  	return ""
  1045  }
  1046  
  1047  func (x *DialogStateIn) GetDeviceLocation() *DeviceLocation {
  1048  	if x != nil {
  1049  		return x.DeviceLocation
  1050  	}
  1051  	return nil
  1052  }
  1053  
  1054  func (x *DialogStateIn) GetIsNewConversation() bool {
  1055  	if x != nil {
  1056  		return x.IsNewConversation
  1057  	}
  1058  	return false
  1059  }
  1060  
  1061  // *Required* Fields that identify the device to the Assistant.
  1062  //
  1063  // See also:
  1064  //
  1065  // *   [Register a Device - REST
  1066  // API](https://developers.google.com/assistant/sdk/reference/device-registration/register-device-manual)
  1067  // *   [Device Model and Instance
  1068  // Schemas](https://developers.google.com/assistant/sdk/reference/device-registration/model-and-instance-schemas)
  1069  // *   [Device
  1070  // Proto](https://developers.google.com/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#device)
  1071  type DeviceConfig struct {
  1072  	state         protoimpl.MessageState
  1073  	sizeCache     protoimpl.SizeCache
  1074  	unknownFields protoimpl.UnknownFields
  1075  
  1076  	// *Required* Unique identifier for the device. The id length must be 128
  1077  	// characters or less. Example: DBCDW098234. This MUST match the device_id
  1078  	// returned from device registration. This device_id is used to match against
  1079  	// the user's registered devices to lookup the supported traits and
  1080  	// capabilities of this device. This information should not change across
  1081  	// device reboots. However, it should not be saved across
  1082  	// factory-default resets.
  1083  	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  1084  	// *Required* Unique identifier for the device model. The combination of
  1085  	// device_model_id and device_id must have been previously associated through
  1086  	// device registration.
  1087  	DeviceModelId string `protobuf:"bytes,3,opt,name=device_model_id,json=deviceModelId,proto3" json:"device_model_id,omitempty"`
  1088  }
  1089  
  1090  func (x *DeviceConfig) Reset() {
  1091  	*x = DeviceConfig{}
  1092  	if protoimpl.UnsafeEnabled {
  1093  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[8]
  1094  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1095  		ms.StoreMessageInfo(mi)
  1096  	}
  1097  }
  1098  
  1099  func (x *DeviceConfig) String() string {
  1100  	return protoimpl.X.MessageStringOf(x)
  1101  }
  1102  
  1103  func (*DeviceConfig) ProtoMessage() {}
  1104  
  1105  func (x *DeviceConfig) ProtoReflect() protoreflect.Message {
  1106  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[8]
  1107  	if protoimpl.UnsafeEnabled && x != nil {
  1108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1109  		if ms.LoadMessageInfo() == nil {
  1110  			ms.StoreMessageInfo(mi)
  1111  		}
  1112  		return ms
  1113  	}
  1114  	return mi.MessageOf(x)
  1115  }
  1116  
  1117  // Deprecated: Use DeviceConfig.ProtoReflect.Descriptor instead.
  1118  func (*DeviceConfig) Descriptor() ([]byte, []int) {
  1119  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{8}
  1120  }
  1121  
  1122  func (x *DeviceConfig) GetDeviceId() string {
  1123  	if x != nil {
  1124  		return x.DeviceId
  1125  	}
  1126  	return ""
  1127  }
  1128  
  1129  func (x *DeviceConfig) GetDeviceModelId() string {
  1130  	if x != nil {
  1131  		return x.DeviceModelId
  1132  	}
  1133  	return ""
  1134  }
  1135  
  1136  // The audio containing the Assistant's response to the query. Sequential chunks
  1137  // of audio data are received in sequential `AssistResponse` messages.
  1138  type AudioOut struct {
  1139  	state         protoimpl.MessageState
  1140  	sizeCache     protoimpl.SizeCache
  1141  	unknownFields protoimpl.UnknownFields
  1142  
  1143  	// *Output-only* The audio data containing the Assistant's response to the
  1144  	// query. Sequential chunks of audio data are received in sequential
  1145  	// `AssistResponse` messages.
  1146  	AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
  1147  }
  1148  
  1149  func (x *AudioOut) Reset() {
  1150  	*x = AudioOut{}
  1151  	if protoimpl.UnsafeEnabled {
  1152  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[9]
  1153  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1154  		ms.StoreMessageInfo(mi)
  1155  	}
  1156  }
  1157  
  1158  func (x *AudioOut) String() string {
  1159  	return protoimpl.X.MessageStringOf(x)
  1160  }
  1161  
  1162  func (*AudioOut) ProtoMessage() {}
  1163  
  1164  func (x *AudioOut) ProtoReflect() protoreflect.Message {
  1165  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[9]
  1166  	if protoimpl.UnsafeEnabled && x != nil {
  1167  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1168  		if ms.LoadMessageInfo() == nil {
  1169  			ms.StoreMessageInfo(mi)
  1170  		}
  1171  		return ms
  1172  	}
  1173  	return mi.MessageOf(x)
  1174  }
  1175  
  1176  // Deprecated: Use AudioOut.ProtoReflect.Descriptor instead.
  1177  func (*AudioOut) Descriptor() ([]byte, []int) {
  1178  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{9}
  1179  }
  1180  
  1181  func (x *AudioOut) GetAudioData() []byte {
  1182  	if x != nil {
  1183  		return x.AudioData
  1184  	}
  1185  	return nil
  1186  }
  1187  
  1188  // The Assistant's visual output response to query. Enabled by
  1189  // `screen_out_config`.
  1190  type ScreenOut struct {
  1191  	state         protoimpl.MessageState
  1192  	sizeCache     protoimpl.SizeCache
  1193  	unknownFields protoimpl.UnknownFields
  1194  
  1195  	// *Output-only* The format of the provided screen data.
  1196  	Format ScreenOut_Format `protobuf:"varint,1,opt,name=format,proto3,enum=google.assistant.embedded.v1alpha2.ScreenOut_Format" json:"format,omitempty"`
  1197  	// *Output-only* The raw screen data to be displayed as the result of the
  1198  	// Assistant query.
  1199  	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  1200  }
  1201  
  1202  func (x *ScreenOut) Reset() {
  1203  	*x = ScreenOut{}
  1204  	if protoimpl.UnsafeEnabled {
  1205  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[10]
  1206  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1207  		ms.StoreMessageInfo(mi)
  1208  	}
  1209  }
  1210  
  1211  func (x *ScreenOut) String() string {
  1212  	return protoimpl.X.MessageStringOf(x)
  1213  }
  1214  
  1215  func (*ScreenOut) ProtoMessage() {}
  1216  
  1217  func (x *ScreenOut) ProtoReflect() protoreflect.Message {
  1218  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[10]
  1219  	if protoimpl.UnsafeEnabled && x != nil {
  1220  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1221  		if ms.LoadMessageInfo() == nil {
  1222  			ms.StoreMessageInfo(mi)
  1223  		}
  1224  		return ms
  1225  	}
  1226  	return mi.MessageOf(x)
  1227  }
  1228  
  1229  // Deprecated: Use ScreenOut.ProtoReflect.Descriptor instead.
  1230  func (*ScreenOut) Descriptor() ([]byte, []int) {
  1231  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{10}
  1232  }
  1233  
  1234  func (x *ScreenOut) GetFormat() ScreenOut_Format {
  1235  	if x != nil {
  1236  		return x.Format
  1237  	}
  1238  	return ScreenOut_FORMAT_UNSPECIFIED
  1239  }
  1240  
  1241  func (x *ScreenOut) GetData() []byte {
  1242  	if x != nil {
  1243  		return x.Data
  1244  	}
  1245  	return nil
  1246  }
  1247  
  1248  // The response returned to the device if the user has triggered a Device
  1249  // Action. For example, a device which supports the query *Turn on the light*
  1250  // would receive a `DeviceAction` with a JSON payload containing the semantics
  1251  // of the request.
  1252  type DeviceAction struct {
  1253  	state         protoimpl.MessageState
  1254  	sizeCache     protoimpl.SizeCache
  1255  	unknownFields protoimpl.UnknownFields
  1256  
  1257  	// JSON containing the device command response generated from the triggered
  1258  	// Device Action grammar. The format is given by the
  1259  	// `action.devices.EXECUTE` intent for a given
  1260  	// [trait](https://developers.google.com/assistant/sdk/reference/traits/).
  1261  	DeviceRequestJson string `protobuf:"bytes,1,opt,name=device_request_json,json=deviceRequestJson,proto3" json:"device_request_json,omitempty"`
  1262  }
  1263  
  1264  func (x *DeviceAction) Reset() {
  1265  	*x = DeviceAction{}
  1266  	if protoimpl.UnsafeEnabled {
  1267  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[11]
  1268  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1269  		ms.StoreMessageInfo(mi)
  1270  	}
  1271  }
  1272  
  1273  func (x *DeviceAction) String() string {
  1274  	return protoimpl.X.MessageStringOf(x)
  1275  }
  1276  
  1277  func (*DeviceAction) ProtoMessage() {}
  1278  
  1279  func (x *DeviceAction) ProtoReflect() protoreflect.Message {
  1280  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[11]
  1281  	if protoimpl.UnsafeEnabled && x != nil {
  1282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1283  		if ms.LoadMessageInfo() == nil {
  1284  			ms.StoreMessageInfo(mi)
  1285  		}
  1286  		return ms
  1287  	}
  1288  	return mi.MessageOf(x)
  1289  }
  1290  
  1291  // Deprecated: Use DeviceAction.ProtoReflect.Descriptor instead.
  1292  func (*DeviceAction) Descriptor() ([]byte, []int) {
  1293  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{11}
  1294  }
  1295  
  1296  func (x *DeviceAction) GetDeviceRequestJson() string {
  1297  	if x != nil {
  1298  		return x.DeviceRequestJson
  1299  	}
  1300  	return ""
  1301  }
  1302  
  1303  // The estimated transcription of a phrase the user has spoken. This could be
  1304  // a single segment or the full guess of the user's spoken query.
  1305  type SpeechRecognitionResult struct {
  1306  	state         protoimpl.MessageState
  1307  	sizeCache     protoimpl.SizeCache
  1308  	unknownFields protoimpl.UnknownFields
  1309  
  1310  	// *Output-only* Transcript text representing the words that the user spoke.
  1311  	Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"`
  1312  	// *Output-only* An estimate of the likelihood that the Assistant will not
  1313  	// change its guess about this result. Values range from 0.0 (completely
  1314  	// unstable) to 1.0 (completely stable and final). The default of 0.0 is a
  1315  	// sentinel value indicating `stability` was not set.
  1316  	Stability float32 `protobuf:"fixed32,2,opt,name=stability,proto3" json:"stability,omitempty"`
  1317  }
  1318  
  1319  func (x *SpeechRecognitionResult) Reset() {
  1320  	*x = SpeechRecognitionResult{}
  1321  	if protoimpl.UnsafeEnabled {
  1322  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[12]
  1323  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1324  		ms.StoreMessageInfo(mi)
  1325  	}
  1326  }
  1327  
  1328  func (x *SpeechRecognitionResult) String() string {
  1329  	return protoimpl.X.MessageStringOf(x)
  1330  }
  1331  
  1332  func (*SpeechRecognitionResult) ProtoMessage() {}
  1333  
  1334  func (x *SpeechRecognitionResult) ProtoReflect() protoreflect.Message {
  1335  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[12]
  1336  	if protoimpl.UnsafeEnabled && x != nil {
  1337  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1338  		if ms.LoadMessageInfo() == nil {
  1339  			ms.StoreMessageInfo(mi)
  1340  		}
  1341  		return ms
  1342  	}
  1343  	return mi.MessageOf(x)
  1344  }
  1345  
  1346  // Deprecated: Use SpeechRecognitionResult.ProtoReflect.Descriptor instead.
  1347  func (*SpeechRecognitionResult) Descriptor() ([]byte, []int) {
  1348  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{12}
  1349  }
  1350  
  1351  func (x *SpeechRecognitionResult) GetTranscript() string {
  1352  	if x != nil {
  1353  		return x.Transcript
  1354  	}
  1355  	return ""
  1356  }
  1357  
  1358  func (x *SpeechRecognitionResult) GetStability() float32 {
  1359  	if x != nil {
  1360  		return x.Stability
  1361  	}
  1362  	return 0
  1363  }
  1364  
  1365  // The dialog state resulting from the user's query. Multiple of these messages
  1366  // may be received.
  1367  type DialogStateOut struct {
  1368  	state         protoimpl.MessageState
  1369  	sizeCache     protoimpl.SizeCache
  1370  	unknownFields protoimpl.UnknownFields
  1371  
  1372  	// *Output-only* Supplemental display text from the Assistant. This could be
  1373  	// the same as the speech spoken in `AssistResponse.audio_out` or it could
  1374  	// be some additional information which aids the user's understanding.
  1375  	SupplementalDisplayText string `protobuf:"bytes,1,opt,name=supplemental_display_text,json=supplementalDisplayText,proto3" json:"supplemental_display_text,omitempty"`
  1376  	// *Output-only* State information for the subsequent `Assist` RPC. This
  1377  	// value should be saved in the client and returned in the
  1378  	// [`DialogStateIn.conversation_state`](#dialogstatein) field with the next
  1379  	// `Assist` RPC. (The client does not need to interpret or otherwise use this
  1380  	// value.) This information should be saved across device reboots. However,
  1381  	// this value should be cleared (not saved in the client) during a
  1382  	// factory-default reset.
  1383  	ConversationState []byte `protobuf:"bytes,2,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
  1384  	// *Output-only* Specifies the mode of the microphone after this `Assist`
  1385  	// RPC is processed.
  1386  	MicrophoneMode DialogStateOut_MicrophoneMode `protobuf:"varint,3,opt,name=microphone_mode,json=microphoneMode,proto3,enum=google.assistant.embedded.v1alpha2.DialogStateOut_MicrophoneMode" json:"microphone_mode,omitempty"`
  1387  	// *Output-only* Updated volume level. The value will be 0 or omitted
  1388  	// (indicating no change) unless a voice command such as *Increase the volume*
  1389  	// or *Set volume level 4* was recognized, in which case the value will be
  1390  	// between 1 and 100 (corresponding to the new volume level of 1% to 100%).
  1391  	// Typically, a client should use this volume level when playing the
  1392  	// `audio_out` data, and retain this value as the current volume level and
  1393  	// supply it in the `AudioOutConfig` of the next `AssistRequest`. (Some
  1394  	// clients may also implement other ways to allow the current volume level to
  1395  	// be changed, for example, by providing a knob that the user can turn.)
  1396  	VolumePercentage int32 `protobuf:"varint,4,opt,name=volume_percentage,json=volumePercentage,proto3" json:"volume_percentage,omitempty"`
  1397  }
  1398  
  1399  func (x *DialogStateOut) Reset() {
  1400  	*x = DialogStateOut{}
  1401  	if protoimpl.UnsafeEnabled {
  1402  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[13]
  1403  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1404  		ms.StoreMessageInfo(mi)
  1405  	}
  1406  }
  1407  
  1408  func (x *DialogStateOut) String() string {
  1409  	return protoimpl.X.MessageStringOf(x)
  1410  }
  1411  
  1412  func (*DialogStateOut) ProtoMessage() {}
  1413  
  1414  func (x *DialogStateOut) ProtoReflect() protoreflect.Message {
  1415  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[13]
  1416  	if protoimpl.UnsafeEnabled && x != nil {
  1417  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1418  		if ms.LoadMessageInfo() == nil {
  1419  			ms.StoreMessageInfo(mi)
  1420  		}
  1421  		return ms
  1422  	}
  1423  	return mi.MessageOf(x)
  1424  }
  1425  
  1426  // Deprecated: Use DialogStateOut.ProtoReflect.Descriptor instead.
  1427  func (*DialogStateOut) Descriptor() ([]byte, []int) {
  1428  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{13}
  1429  }
  1430  
  1431  func (x *DialogStateOut) GetSupplementalDisplayText() string {
  1432  	if x != nil {
  1433  		return x.SupplementalDisplayText
  1434  	}
  1435  	return ""
  1436  }
  1437  
  1438  func (x *DialogStateOut) GetConversationState() []byte {
  1439  	if x != nil {
  1440  		return x.ConversationState
  1441  	}
  1442  	return nil
  1443  }
  1444  
  1445  func (x *DialogStateOut) GetMicrophoneMode() DialogStateOut_MicrophoneMode {
  1446  	if x != nil {
  1447  		return x.MicrophoneMode
  1448  	}
  1449  	return DialogStateOut_MICROPHONE_MODE_UNSPECIFIED
  1450  }
  1451  
  1452  func (x *DialogStateOut) GetVolumePercentage() int32 {
  1453  	if x != nil {
  1454  		return x.VolumePercentage
  1455  	}
  1456  	return 0
  1457  }
  1458  
  1459  // Debugging parameters for the current request.
  1460  type DebugConfig struct {
  1461  	state         protoimpl.MessageState
  1462  	sizeCache     protoimpl.SizeCache
  1463  	unknownFields protoimpl.UnknownFields
  1464  
  1465  	// When this field is set to true, the `debug_info` field in `AssistResponse`
  1466  	// may be populated. However it will significantly increase latency of
  1467  	// responses. Do not set this field true in production code.
  1468  	ReturnDebugInfo bool `protobuf:"varint,6,opt,name=return_debug_info,json=returnDebugInfo,proto3" json:"return_debug_info,omitempty"`
  1469  }
  1470  
  1471  func (x *DebugConfig) Reset() {
  1472  	*x = DebugConfig{}
  1473  	if protoimpl.UnsafeEnabled {
  1474  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[14]
  1475  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1476  		ms.StoreMessageInfo(mi)
  1477  	}
  1478  }
  1479  
  1480  func (x *DebugConfig) String() string {
  1481  	return protoimpl.X.MessageStringOf(x)
  1482  }
  1483  
  1484  func (*DebugConfig) ProtoMessage() {}
  1485  
  1486  func (x *DebugConfig) ProtoReflect() protoreflect.Message {
  1487  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[14]
  1488  	if protoimpl.UnsafeEnabled && x != nil {
  1489  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1490  		if ms.LoadMessageInfo() == nil {
  1491  			ms.StoreMessageInfo(mi)
  1492  		}
  1493  		return ms
  1494  	}
  1495  	return mi.MessageOf(x)
  1496  }
  1497  
  1498  // Deprecated: Use DebugConfig.ProtoReflect.Descriptor instead.
  1499  func (*DebugConfig) Descriptor() ([]byte, []int) {
  1500  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{14}
  1501  }
  1502  
  1503  func (x *DebugConfig) GetReturnDebugInfo() bool {
  1504  	if x != nil {
  1505  		return x.ReturnDebugInfo
  1506  	}
  1507  	return false
  1508  }
  1509  
  1510  // There are three sources of locations. They are used with this precedence:
  1511  //
  1512  //  1. This `DeviceLocation`, which is primarily used for mobile devices with
  1513  //     GPS .
  1514  //  2. Location specified by the user during device setup; this is per-user, per
  1515  //     device. This location is used if `DeviceLocation` is not specified.
  1516  //  3. Inferred location based on IP address. This is used only if neither of the
  1517  //     above are specified.
  1518  type DeviceLocation struct {
  1519  	state         protoimpl.MessageState
  1520  	sizeCache     protoimpl.SizeCache
  1521  	unknownFields protoimpl.UnknownFields
  1522  
  1523  	// Types that are assignable to Type:
  1524  	//
  1525  	//	*DeviceLocation_Coordinates
  1526  	Type isDeviceLocation_Type `protobuf_oneof:"type"`
  1527  }
  1528  
  1529  func (x *DeviceLocation) Reset() {
  1530  	*x = DeviceLocation{}
  1531  	if protoimpl.UnsafeEnabled {
  1532  		mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[15]
  1533  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1534  		ms.StoreMessageInfo(mi)
  1535  	}
  1536  }
  1537  
  1538  func (x *DeviceLocation) String() string {
  1539  	return protoimpl.X.MessageStringOf(x)
  1540  }
  1541  
  1542  func (*DeviceLocation) ProtoMessage() {}
  1543  
  1544  func (x *DeviceLocation) ProtoReflect() protoreflect.Message {
  1545  	mi := &file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[15]
  1546  	if protoimpl.UnsafeEnabled && x != nil {
  1547  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1548  		if ms.LoadMessageInfo() == nil {
  1549  			ms.StoreMessageInfo(mi)
  1550  		}
  1551  		return ms
  1552  	}
  1553  	return mi.MessageOf(x)
  1554  }
  1555  
  1556  // Deprecated: Use DeviceLocation.ProtoReflect.Descriptor instead.
  1557  func (*DeviceLocation) Descriptor() ([]byte, []int) {
  1558  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP(), []int{15}
  1559  }
  1560  
  1561  func (m *DeviceLocation) GetType() isDeviceLocation_Type {
  1562  	if m != nil {
  1563  		return m.Type
  1564  	}
  1565  	return nil
  1566  }
  1567  
  1568  func (x *DeviceLocation) GetCoordinates() *latlng.LatLng {
  1569  	if x, ok := x.GetType().(*DeviceLocation_Coordinates); ok {
  1570  		return x.Coordinates
  1571  	}
  1572  	return nil
  1573  }
  1574  
  1575  type isDeviceLocation_Type interface {
  1576  	isDeviceLocation_Type()
  1577  }
  1578  
  1579  type DeviceLocation_Coordinates struct {
  1580  	// Latitude and longitude of device.
  1581  	Coordinates *latlng.LatLng `protobuf:"bytes,1,opt,name=coordinates,proto3,oneof"`
  1582  }
  1583  
  1584  func (*DeviceLocation_Coordinates) isDeviceLocation_Type() {}
  1585  
  1586  var File_google_assistant_embedded_v1alpha2_embedded_assistant_proto protoreflect.FileDescriptor
  1587  
  1588  var file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDesc = []byte{
  1589  	0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61,
  1590  	0x6e, 0x74, 0x2f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x61, 0x6c,
  1591  	0x70, 0x68, 0x61, 0x32, 0x2f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x73,
  1592  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67,
  1593  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e,
  1594  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
  1595  	0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
  1596  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  1597  	0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74,
  1598  	0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x0d, 0x41, 0x73,
  1599  	0x73, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x63,
  1600  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f,
  1601  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65,
  1602  	0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32,
  1603  	0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52,
  1604  	0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x6f,
  1605  	0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x61, 0x75, 0x64,
  1606  	0x69, 0x6f, 0x49, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xac, 0x05, 0x0a,
  1607  	0x0e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1608  	0x5b, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
  1609  	0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73,
  1610  	0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e,
  1611  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x52,
  1612  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
  1613  	0x65, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x09,
  1614  	0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1615  	0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61,
  1616  	0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c,
  1617  	0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x52, 0x08, 0x61,
  1618  	0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x12, 0x4c, 0x0a, 0x0a, 0x73, 0x63, 0x72, 0x65, 0x65,
  1619  	0x6e, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f,
  1620  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65,
  1621  	0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32,
  1622  	0x2e, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75, 0x74, 0x52, 0x09, 0x73, 0x63, 0x72, 0x65,
  1623  	0x65, 0x6e, 0x4f, 0x75, 0x74, 0x12, 0x55, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f,
  1624  	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67,
  1625  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e,
  1626  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
  1627  	0x32, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
  1628  	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x0e,
  1629  	0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02,
  1630  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73,
  1631  	0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64,
  1632  	0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68,
  1633  	0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c,
  1634  	0x74, 0x52, 0x0d, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
  1635  	0x12, 0x5c, 0x0a, 0x10, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
  1636  	0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f,
  1637  	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d,
  1638  	0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e,
  1639  	0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x52, 0x0e,
  1640  	0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x12, 0x4c,
  1641  	0x0a, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01,
  1642  	0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69,
  1643  	0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76,
  1644  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66,
  1645  	0x6f, 0x52, 0x09, 0x64, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3d, 0x0a, 0x09,
  1646  	0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x56, 0x45,
  1647  	0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
  1648  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x46, 0x5f,
  1649  	0x55, 0x54, 0x54, 0x45, 0x52, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x22, 0x49, 0x0a, 0x09, 0x44,
  1650  	0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x1b, 0x61, 0x6f, 0x67, 0x5f,
  1651  	0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61,
  1652  	0x6e, 0x74, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x61,
  1653  	0x6f, 0x67, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61,
  1654  	0x6e, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0xd9, 0x04, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x69, 0x73,
  1655  	0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5b, 0x0a, 0x0f, 0x61, 0x75, 0x64, 0x69, 0x6f,
  1656  	0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1657  	0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74,
  1658  	0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61,
  1659  	0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e, 0x43, 0x6f, 0x6e,
  1660  	0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e, 0x43, 0x6f,
  1661  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x71, 0x75, 0x65,
  1662  	0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74,
  1663  	0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5c, 0x0a, 0x10, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6f,
  1664  	0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1665  	0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61,
  1666  	0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c,
  1667  	0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e,
  1668  	0x66, 0x69, 0x67, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e,
  1669  	0x66, 0x69, 0x67, 0x12, 0x5f, 0x0a, 0x11, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x6f, 0x75,
  1670  	0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33,
  1671  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e,
  1672  	0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
  1673  	0x68, 0x61, 0x32, 0x2e, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e,
  1674  	0x66, 0x69, 0x67, 0x52, 0x0f, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75, 0x74, 0x43, 0x6f,
  1675  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x59, 0x0a, 0x0f, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x73,
  1676  	0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e,
  1677  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74,
  1678  	0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
  1679  	0x61, 0x32, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e,
  1680  	0x52, 0x0d, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x12,
  1681  	0x55, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  1682  	0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1683  	0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64,
  1684  	0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x76, 0x69,
  1685  	0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
  1686  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f,
  1687  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67,
  1688  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e,
  1689  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
  1690  	0x32, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x64,
  1691  	0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79,
  1692  	0x70, 0x65, 0x22, 0xd1, 0x01, 0x0a, 0x0d, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x49, 0x6e, 0x43, 0x6f,
  1693  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x56, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
  1694  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  1695  	0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64,
  1696  	0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x75, 0x64, 0x69,
  1697  	0x6f, 0x49, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69,
  1698  	0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11,
  1699  	0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x65, 0x72, 0x74,
  1700  	0x7a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52,
  1701  	0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, 0x7a, 0x22, 0x3c, 0x0a, 0x08, 0x45, 0x6e, 0x63, 0x6f,
  1702  	0x64, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47,
  1703  	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
  1704  	0x0a, 0x08, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x31, 0x36, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
  1705  	0x46, 0x4c, 0x41, 0x43, 0x10, 0x02, 0x22, 0x90, 0x02, 0x0a, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x6f,
  1706  	0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x57, 0x0a, 0x08, 0x65, 0x6e, 0x63,
  1707  	0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f,
  1708  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65,
  1709  	0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32,
  1710  	0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
  1711  	0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69,
  1712  	0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74,
  1713  	0x65, 0x5f, 0x68, 0x65, 0x72, 0x74, 0x7a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73,
  1714  	0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x48, 0x65, 0x72, 0x74, 0x7a, 0x12, 0x2b,
  1715  	0x0a, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74,
  1716  	0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  1717  	0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0x4c, 0x0a, 0x08, 0x45,
  1718  	0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44,
  1719  	0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
  1720  	0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x31, 0x36, 0x10, 0x01, 0x12,
  1721  	0x07, 0x0a, 0x03, 0x4d, 0x50, 0x33, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50, 0x55, 0x53,
  1722  	0x5f, 0x49, 0x4e, 0x5f, 0x4f, 0x47, 0x47, 0x10, 0x03, 0x22, 0xb3, 0x01, 0x0a, 0x0f, 0x53, 0x63,
  1723  	0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5f, 0x0a,
  1724  	0x0b, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1725  	0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69,
  1726  	0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76,
  1727  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75,
  1728  	0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4d, 0x6f,
  1729  	0x64, 0x65, 0x52, 0x0a, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x3f,
  1730  	0x0a, 0x0a, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17,
  1731  	0x53, 0x43, 0x52, 0x45, 0x45, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
  1732  	0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x46, 0x46,
  1733  	0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x4c, 0x41, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x22,
  1734  	0xf0, 0x01, 0x0a, 0x0d, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49,
  1735  	0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
  1736  	0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x63,
  1737  	0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
  1738  	0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64,
  1739  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
  1740  	0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f,
  1741  	0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
  1742  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e,
  1743  	0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
  1744  	0x68, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  1745  	0x6f, 0x6e, 0x52, 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  1746  	0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e,
  1747  	0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  1748  	0x11, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
  1749  	0x6f, 0x6e, 0x22, 0x53, 0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
  1750  	0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
  1751  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12,
  1752  	0x26, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
  1753  	0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
  1754  	0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x29, 0x0a, 0x08, 0x41, 0x75, 0x64, 0x69, 0x6f,
  1755  	0x4f, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x64, 0x61, 0x74,
  1756  	0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x44, 0x61,
  1757  	0x74, 0x61, 0x22, 0x99, 0x01, 0x0a, 0x09, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75, 0x74,
  1758  	0x12, 0x4c, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
  1759  	0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74,
  1760  	0x61, 0x6e, 0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61,
  1761  	0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x4f, 0x75, 0x74, 0x2e,
  1762  	0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x12,
  1763  	0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61,
  1764  	0x74, 0x61, 0x22, 0x2a, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x12,
  1765  	0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
  1766  	0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x4d, 0x4c, 0x10, 0x01, 0x22, 0x3e,
  1767  	0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e,
  1768  	0x0a, 0x13, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1769  	0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x65, 0x76,
  1770  	0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x57,
  1771  	0x0a, 0x17, 0x53, 0x70, 0x65, 0x65, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74,
  1772  	0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x72, 0x61,
  1773  	0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74,
  1774  	0x72, 0x61, 0x6e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61,
  1775  	0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x73, 0x74,
  1776  	0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0xf3, 0x02, 0x0a, 0x0e, 0x44, 0x69, 0x61, 0x6c,
  1777  	0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4f, 0x75, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x75,
  1778  	0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c,
  1779  	0x61, 0x79, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x73,
  1780  	0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x70, 0x6c,
  1781  	0x61, 0x79, 0x54, 0x65, 0x78, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72,
  1782  	0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
  1783  	0x28, 0x0c, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1784  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x6a, 0x0a, 0x0f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68,
  1785  	0x6f, 0x6e, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41,
  1786  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e,
  1787  	0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
  1788  	0x68, 0x61, 0x32, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4f,
  1789  	0x75, 0x74, 0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4d, 0x6f, 0x64,
  1790  	0x65, 0x52, 0x0e, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4d, 0x6f, 0x64,
  1791  	0x65, 0x12, 0x2b, 0x0a, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63,
  1792  	0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x76, 0x6f,
  1793  	0x6c, 0x75, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0x5d,
  1794  	0x0a, 0x0e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65,
  1795  	0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x5f, 0x4d,
  1796  	0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
  1797  	0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f,
  1798  	0x50, 0x48, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x49, 0x41, 0x4c, 0x4f,
  1799  	0x47, 0x5f, 0x46, 0x4f, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0x39, 0x0a,
  1800  	0x0b, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x11,
  1801  	0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x69, 0x6e, 0x66,
  1802  	0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44,
  1803  	0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x51, 0x0a, 0x0e, 0x44, 0x65, 0x76, 0x69,
  1804  	0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x6f,
  1805  	0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1806  	0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61,
  1807  	0x74, 0x4c, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
  1808  	0x74, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0x88, 0x01, 0x0a, 0x11,
  1809  	0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e,
  1810  	0x74, 0x12, 0x73, 0x0a, 0x06, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x12, 0x31, 0x2e, 0x67, 0x6f,
  1811  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x65,
  1812  	0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32,
  1813  	0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32,
  1814  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e,
  1815  	0x74, 0x2e, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
  1816  	0x68, 0x61, 0x32, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  1817  	0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x8f, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
  1818  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e,
  1819  	0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
  1820  	0x32, 0x42, 0x0e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74,
  1821  	0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
  1822  	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
  1823  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x73,
  1824  	0x74, 0x61, 0x6e, 0x74, 0x2f, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0x2f, 0x76, 0x31,
  1825  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x3b, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 0xa2,
  1826  	0x02, 0x06, 0x41, 0x53, 0x54, 0x53, 0x44, 0x4b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1827  }
  1828  
  1829  var (
  1830  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescOnce sync.Once
  1831  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescData = file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDesc
  1832  )
  1833  
  1834  func file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescGZIP() []byte {
  1835  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescOnce.Do(func() {
  1836  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescData)
  1837  	})
  1838  	return file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDescData
  1839  }
  1840  
  1841  var file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
  1842  var file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
  1843  var file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_goTypes = []interface{}{
  1844  	(AssistResponse_EventType)(0),      // 0: google.assistant.embedded.v1alpha2.AssistResponse.EventType
  1845  	(AudioInConfig_Encoding)(0),        // 1: google.assistant.embedded.v1alpha2.AudioInConfig.Encoding
  1846  	(AudioOutConfig_Encoding)(0),       // 2: google.assistant.embedded.v1alpha2.AudioOutConfig.Encoding
  1847  	(ScreenOutConfig_ScreenMode)(0),    // 3: google.assistant.embedded.v1alpha2.ScreenOutConfig.ScreenMode
  1848  	(ScreenOut_Format)(0),              // 4: google.assistant.embedded.v1alpha2.ScreenOut.Format
  1849  	(DialogStateOut_MicrophoneMode)(0), // 5: google.assistant.embedded.v1alpha2.DialogStateOut.MicrophoneMode
  1850  	(*AssistRequest)(nil),              // 6: google.assistant.embedded.v1alpha2.AssistRequest
  1851  	(*AssistResponse)(nil),             // 7: google.assistant.embedded.v1alpha2.AssistResponse
  1852  	(*DebugInfo)(nil),                  // 8: google.assistant.embedded.v1alpha2.DebugInfo
  1853  	(*AssistConfig)(nil),               // 9: google.assistant.embedded.v1alpha2.AssistConfig
  1854  	(*AudioInConfig)(nil),              // 10: google.assistant.embedded.v1alpha2.AudioInConfig
  1855  	(*AudioOutConfig)(nil),             // 11: google.assistant.embedded.v1alpha2.AudioOutConfig
  1856  	(*ScreenOutConfig)(nil),            // 12: google.assistant.embedded.v1alpha2.ScreenOutConfig
  1857  	(*DialogStateIn)(nil),              // 13: google.assistant.embedded.v1alpha2.DialogStateIn
  1858  	(*DeviceConfig)(nil),               // 14: google.assistant.embedded.v1alpha2.DeviceConfig
  1859  	(*AudioOut)(nil),                   // 15: google.assistant.embedded.v1alpha2.AudioOut
  1860  	(*ScreenOut)(nil),                  // 16: google.assistant.embedded.v1alpha2.ScreenOut
  1861  	(*DeviceAction)(nil),               // 17: google.assistant.embedded.v1alpha2.DeviceAction
  1862  	(*SpeechRecognitionResult)(nil),    // 18: google.assistant.embedded.v1alpha2.SpeechRecognitionResult
  1863  	(*DialogStateOut)(nil),             // 19: google.assistant.embedded.v1alpha2.DialogStateOut
  1864  	(*DebugConfig)(nil),                // 20: google.assistant.embedded.v1alpha2.DebugConfig
  1865  	(*DeviceLocation)(nil),             // 21: google.assistant.embedded.v1alpha2.DeviceLocation
  1866  	(*latlng.LatLng)(nil),              // 22: google.type.LatLng
  1867  }
  1868  var file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_depIdxs = []int32{
  1869  	9,  // 0: google.assistant.embedded.v1alpha2.AssistRequest.config:type_name -> google.assistant.embedded.v1alpha2.AssistConfig
  1870  	0,  // 1: google.assistant.embedded.v1alpha2.AssistResponse.event_type:type_name -> google.assistant.embedded.v1alpha2.AssistResponse.EventType
  1871  	15, // 2: google.assistant.embedded.v1alpha2.AssistResponse.audio_out:type_name -> google.assistant.embedded.v1alpha2.AudioOut
  1872  	16, // 3: google.assistant.embedded.v1alpha2.AssistResponse.screen_out:type_name -> google.assistant.embedded.v1alpha2.ScreenOut
  1873  	17, // 4: google.assistant.embedded.v1alpha2.AssistResponse.device_action:type_name -> google.assistant.embedded.v1alpha2.DeviceAction
  1874  	18, // 5: google.assistant.embedded.v1alpha2.AssistResponse.speech_results:type_name -> google.assistant.embedded.v1alpha2.SpeechRecognitionResult
  1875  	19, // 6: google.assistant.embedded.v1alpha2.AssistResponse.dialog_state_out:type_name -> google.assistant.embedded.v1alpha2.DialogStateOut
  1876  	8,  // 7: google.assistant.embedded.v1alpha2.AssistResponse.debug_info:type_name -> google.assistant.embedded.v1alpha2.DebugInfo
  1877  	10, // 8: google.assistant.embedded.v1alpha2.AssistConfig.audio_in_config:type_name -> google.assistant.embedded.v1alpha2.AudioInConfig
  1878  	11, // 9: google.assistant.embedded.v1alpha2.AssistConfig.audio_out_config:type_name -> google.assistant.embedded.v1alpha2.AudioOutConfig
  1879  	12, // 10: google.assistant.embedded.v1alpha2.AssistConfig.screen_out_config:type_name -> google.assistant.embedded.v1alpha2.ScreenOutConfig
  1880  	13, // 11: google.assistant.embedded.v1alpha2.AssistConfig.dialog_state_in:type_name -> google.assistant.embedded.v1alpha2.DialogStateIn
  1881  	14, // 12: google.assistant.embedded.v1alpha2.AssistConfig.device_config:type_name -> google.assistant.embedded.v1alpha2.DeviceConfig
  1882  	20, // 13: google.assistant.embedded.v1alpha2.AssistConfig.debug_config:type_name -> google.assistant.embedded.v1alpha2.DebugConfig
  1883  	1,  // 14: google.assistant.embedded.v1alpha2.AudioInConfig.encoding:type_name -> google.assistant.embedded.v1alpha2.AudioInConfig.Encoding
  1884  	2,  // 15: google.assistant.embedded.v1alpha2.AudioOutConfig.encoding:type_name -> google.assistant.embedded.v1alpha2.AudioOutConfig.Encoding
  1885  	3,  // 16: google.assistant.embedded.v1alpha2.ScreenOutConfig.screen_mode:type_name -> google.assistant.embedded.v1alpha2.ScreenOutConfig.ScreenMode
  1886  	21, // 17: google.assistant.embedded.v1alpha2.DialogStateIn.device_location:type_name -> google.assistant.embedded.v1alpha2.DeviceLocation
  1887  	4,  // 18: google.assistant.embedded.v1alpha2.ScreenOut.format:type_name -> google.assistant.embedded.v1alpha2.ScreenOut.Format
  1888  	5,  // 19: google.assistant.embedded.v1alpha2.DialogStateOut.microphone_mode:type_name -> google.assistant.embedded.v1alpha2.DialogStateOut.MicrophoneMode
  1889  	22, // 20: google.assistant.embedded.v1alpha2.DeviceLocation.coordinates:type_name -> google.type.LatLng
  1890  	6,  // 21: google.assistant.embedded.v1alpha2.EmbeddedAssistant.Assist:input_type -> google.assistant.embedded.v1alpha2.AssistRequest
  1891  	7,  // 22: google.assistant.embedded.v1alpha2.EmbeddedAssistant.Assist:output_type -> google.assistant.embedded.v1alpha2.AssistResponse
  1892  	22, // [22:23] is the sub-list for method output_type
  1893  	21, // [21:22] is the sub-list for method input_type
  1894  	21, // [21:21] is the sub-list for extension type_name
  1895  	21, // [21:21] is the sub-list for extension extendee
  1896  	0,  // [0:21] is the sub-list for field type_name
  1897  }
  1898  
  1899  func init() { file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_init() }
  1900  func file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_init() {
  1901  	if File_google_assistant_embedded_v1alpha2_embedded_assistant_proto != nil {
  1902  		return
  1903  	}
  1904  	if !protoimpl.UnsafeEnabled {
  1905  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1906  			switch v := v.(*AssistRequest); i {
  1907  			case 0:
  1908  				return &v.state
  1909  			case 1:
  1910  				return &v.sizeCache
  1911  			case 2:
  1912  				return &v.unknownFields
  1913  			default:
  1914  				return nil
  1915  			}
  1916  		}
  1917  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1918  			switch v := v.(*AssistResponse); i {
  1919  			case 0:
  1920  				return &v.state
  1921  			case 1:
  1922  				return &v.sizeCache
  1923  			case 2:
  1924  				return &v.unknownFields
  1925  			default:
  1926  				return nil
  1927  			}
  1928  		}
  1929  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1930  			switch v := v.(*DebugInfo); i {
  1931  			case 0:
  1932  				return &v.state
  1933  			case 1:
  1934  				return &v.sizeCache
  1935  			case 2:
  1936  				return &v.unknownFields
  1937  			default:
  1938  				return nil
  1939  			}
  1940  		}
  1941  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1942  			switch v := v.(*AssistConfig); i {
  1943  			case 0:
  1944  				return &v.state
  1945  			case 1:
  1946  				return &v.sizeCache
  1947  			case 2:
  1948  				return &v.unknownFields
  1949  			default:
  1950  				return nil
  1951  			}
  1952  		}
  1953  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1954  			switch v := v.(*AudioInConfig); i {
  1955  			case 0:
  1956  				return &v.state
  1957  			case 1:
  1958  				return &v.sizeCache
  1959  			case 2:
  1960  				return &v.unknownFields
  1961  			default:
  1962  				return nil
  1963  			}
  1964  		}
  1965  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1966  			switch v := v.(*AudioOutConfig); i {
  1967  			case 0:
  1968  				return &v.state
  1969  			case 1:
  1970  				return &v.sizeCache
  1971  			case 2:
  1972  				return &v.unknownFields
  1973  			default:
  1974  				return nil
  1975  			}
  1976  		}
  1977  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1978  			switch v := v.(*ScreenOutConfig); i {
  1979  			case 0:
  1980  				return &v.state
  1981  			case 1:
  1982  				return &v.sizeCache
  1983  			case 2:
  1984  				return &v.unknownFields
  1985  			default:
  1986  				return nil
  1987  			}
  1988  		}
  1989  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1990  			switch v := v.(*DialogStateIn); i {
  1991  			case 0:
  1992  				return &v.state
  1993  			case 1:
  1994  				return &v.sizeCache
  1995  			case 2:
  1996  				return &v.unknownFields
  1997  			default:
  1998  				return nil
  1999  			}
  2000  		}
  2001  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2002  			switch v := v.(*DeviceConfig); i {
  2003  			case 0:
  2004  				return &v.state
  2005  			case 1:
  2006  				return &v.sizeCache
  2007  			case 2:
  2008  				return &v.unknownFields
  2009  			default:
  2010  				return nil
  2011  			}
  2012  		}
  2013  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2014  			switch v := v.(*AudioOut); i {
  2015  			case 0:
  2016  				return &v.state
  2017  			case 1:
  2018  				return &v.sizeCache
  2019  			case 2:
  2020  				return &v.unknownFields
  2021  			default:
  2022  				return nil
  2023  			}
  2024  		}
  2025  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2026  			switch v := v.(*ScreenOut); i {
  2027  			case 0:
  2028  				return &v.state
  2029  			case 1:
  2030  				return &v.sizeCache
  2031  			case 2:
  2032  				return &v.unknownFields
  2033  			default:
  2034  				return nil
  2035  			}
  2036  		}
  2037  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2038  			switch v := v.(*DeviceAction); i {
  2039  			case 0:
  2040  				return &v.state
  2041  			case 1:
  2042  				return &v.sizeCache
  2043  			case 2:
  2044  				return &v.unknownFields
  2045  			default:
  2046  				return nil
  2047  			}
  2048  		}
  2049  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2050  			switch v := v.(*SpeechRecognitionResult); i {
  2051  			case 0:
  2052  				return &v.state
  2053  			case 1:
  2054  				return &v.sizeCache
  2055  			case 2:
  2056  				return &v.unknownFields
  2057  			default:
  2058  				return nil
  2059  			}
  2060  		}
  2061  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2062  			switch v := v.(*DialogStateOut); i {
  2063  			case 0:
  2064  				return &v.state
  2065  			case 1:
  2066  				return &v.sizeCache
  2067  			case 2:
  2068  				return &v.unknownFields
  2069  			default:
  2070  				return nil
  2071  			}
  2072  		}
  2073  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2074  			switch v := v.(*DebugConfig); i {
  2075  			case 0:
  2076  				return &v.state
  2077  			case 1:
  2078  				return &v.sizeCache
  2079  			case 2:
  2080  				return &v.unknownFields
  2081  			default:
  2082  				return nil
  2083  			}
  2084  		}
  2085  		file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2086  			switch v := v.(*DeviceLocation); i {
  2087  			case 0:
  2088  				return &v.state
  2089  			case 1:
  2090  				return &v.sizeCache
  2091  			case 2:
  2092  				return &v.unknownFields
  2093  			default:
  2094  				return nil
  2095  			}
  2096  		}
  2097  	}
  2098  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[0].OneofWrappers = []interface{}{
  2099  		(*AssistRequest_Config)(nil),
  2100  		(*AssistRequest_AudioIn)(nil),
  2101  	}
  2102  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[3].OneofWrappers = []interface{}{
  2103  		(*AssistConfig_AudioInConfig)(nil),
  2104  		(*AssistConfig_TextQuery)(nil),
  2105  	}
  2106  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes[15].OneofWrappers = []interface{}{
  2107  		(*DeviceLocation_Coordinates)(nil),
  2108  	}
  2109  	type x struct{}
  2110  	out := protoimpl.TypeBuilder{
  2111  		File: protoimpl.DescBuilder{
  2112  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2113  			RawDescriptor: file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDesc,
  2114  			NumEnums:      6,
  2115  			NumMessages:   16,
  2116  			NumExtensions: 0,
  2117  			NumServices:   1,
  2118  		},
  2119  		GoTypes:           file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_goTypes,
  2120  		DependencyIndexes: file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_depIdxs,
  2121  		EnumInfos:         file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_enumTypes,
  2122  		MessageInfos:      file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_msgTypes,
  2123  	}.Build()
  2124  	File_google_assistant_embedded_v1alpha2_embedded_assistant_proto = out.File
  2125  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_rawDesc = nil
  2126  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_goTypes = nil
  2127  	file_google_assistant_embedded_v1alpha2_embedded_assistant_proto_depIdxs = nil
  2128  }
  2129  
  2130  // Reference imports to suppress errors if they are not otherwise used.
  2131  var _ context.Context
  2132  var _ grpc.ClientConnInterface
  2133  
  2134  // This is a compile-time assertion to ensure that this generated file
  2135  // is compatible with the grpc package it is being compiled against.
  2136  const _ = grpc.SupportPackageIsVersion6
  2137  
  2138  // EmbeddedAssistantClient is the client API for EmbeddedAssistant service.
  2139  //
  2140  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2141  type EmbeddedAssistantClient interface {
  2142  	// Initiates or continues a conversation with the embedded Assistant Service.
  2143  	// Each call performs one round-trip, sending an audio request to the service
  2144  	// and receiving the audio response. Uses bidirectional streaming to receive
  2145  	// results, such as the `END_OF_UTTERANCE` event, while sending audio.
  2146  	//
  2147  	// A conversation is one or more gRPC connections, each consisting of several
  2148  	// streamed requests and responses.
  2149  	// For example, the user says *Add to my shopping list* and the Assistant
  2150  	// responds *What do you want to add?*. The sequence of streamed requests and
  2151  	// responses in the first gRPC message could be:
  2152  	//
  2153  	// *   AssistRequest.config
  2154  	// *   AssistRequest.audio_in
  2155  	// *   AssistRequest.audio_in
  2156  	// *   AssistRequest.audio_in
  2157  	// *   AssistRequest.audio_in
  2158  	// *   AssistResponse.event_type.END_OF_UTTERANCE
  2159  	// *   AssistResponse.speech_results.transcript "add to my shopping list"
  2160  	// *   AssistResponse.dialog_state_out.microphone_mode.DIALOG_FOLLOW_ON
  2161  	// *   AssistResponse.audio_out
  2162  	// *   AssistResponse.audio_out
  2163  	// *   AssistResponse.audio_out
  2164  	//
  2165  	// The user then says *bagels* and the Assistant responds
  2166  	// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
  2167  	// connection call to the `Assist` method, again with streamed requests and
  2168  	// responses, such as:
  2169  	//
  2170  	// *   AssistRequest.config
  2171  	// *   AssistRequest.audio_in
  2172  	// *   AssistRequest.audio_in
  2173  	// *   AssistRequest.audio_in
  2174  	// *   AssistResponse.event_type.END_OF_UTTERANCE
  2175  	// *   AssistResponse.dialog_state_out.microphone_mode.CLOSE_MICROPHONE
  2176  	// *   AssistResponse.audio_out
  2177  	// *   AssistResponse.audio_out
  2178  	// *   AssistResponse.audio_out
  2179  	// *   AssistResponse.audio_out
  2180  	//
  2181  	// Although the precise order of responses is not guaranteed, sequential
  2182  	// `AssistResponse.audio_out` messages will always contain sequential portions
  2183  	// of audio.
  2184  	Assist(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_AssistClient, error)
  2185  }
  2186  
  2187  type embeddedAssistantClient struct {
  2188  	cc grpc.ClientConnInterface
  2189  }
  2190  
  2191  func NewEmbeddedAssistantClient(cc grpc.ClientConnInterface) EmbeddedAssistantClient {
  2192  	return &embeddedAssistantClient{cc}
  2193  }
  2194  
  2195  func (c *embeddedAssistantClient) Assist(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_AssistClient, error) {
  2196  	stream, err := c.cc.NewStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], "/google.assistant.embedded.v1alpha2.EmbeddedAssistant/Assist", opts...)
  2197  	if err != nil {
  2198  		return nil, err
  2199  	}
  2200  	x := &embeddedAssistantAssistClient{stream}
  2201  	return x, nil
  2202  }
  2203  
  2204  type EmbeddedAssistant_AssistClient interface {
  2205  	Send(*AssistRequest) error
  2206  	Recv() (*AssistResponse, error)
  2207  	grpc.ClientStream
  2208  }
  2209  
  2210  type embeddedAssistantAssistClient struct {
  2211  	grpc.ClientStream
  2212  }
  2213  
  2214  func (x *embeddedAssistantAssistClient) Send(m *AssistRequest) error {
  2215  	return x.ClientStream.SendMsg(m)
  2216  }
  2217  
  2218  func (x *embeddedAssistantAssistClient) Recv() (*AssistResponse, error) {
  2219  	m := new(AssistResponse)
  2220  	if err := x.ClientStream.RecvMsg(m); err != nil {
  2221  		return nil, err
  2222  	}
  2223  	return m, nil
  2224  }
  2225  
  2226  // EmbeddedAssistantServer is the server API for EmbeddedAssistant service.
  2227  type EmbeddedAssistantServer interface {
  2228  	// Initiates or continues a conversation with the embedded Assistant Service.
  2229  	// Each call performs one round-trip, sending an audio request to the service
  2230  	// and receiving the audio response. Uses bidirectional streaming to receive
  2231  	// results, such as the `END_OF_UTTERANCE` event, while sending audio.
  2232  	//
  2233  	// A conversation is one or more gRPC connections, each consisting of several
  2234  	// streamed requests and responses.
  2235  	// For example, the user says *Add to my shopping list* and the Assistant
  2236  	// responds *What do you want to add?*. The sequence of streamed requests and
  2237  	// responses in the first gRPC message could be:
  2238  	//
  2239  	// *   AssistRequest.config
  2240  	// *   AssistRequest.audio_in
  2241  	// *   AssistRequest.audio_in
  2242  	// *   AssistRequest.audio_in
  2243  	// *   AssistRequest.audio_in
  2244  	// *   AssistResponse.event_type.END_OF_UTTERANCE
  2245  	// *   AssistResponse.speech_results.transcript "add to my shopping list"
  2246  	// *   AssistResponse.dialog_state_out.microphone_mode.DIALOG_FOLLOW_ON
  2247  	// *   AssistResponse.audio_out
  2248  	// *   AssistResponse.audio_out
  2249  	// *   AssistResponse.audio_out
  2250  	//
  2251  	// The user then says *bagels* and the Assistant responds
  2252  	// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
  2253  	// connection call to the `Assist` method, again with streamed requests and
  2254  	// responses, such as:
  2255  	//
  2256  	// *   AssistRequest.config
  2257  	// *   AssistRequest.audio_in
  2258  	// *   AssistRequest.audio_in
  2259  	// *   AssistRequest.audio_in
  2260  	// *   AssistResponse.event_type.END_OF_UTTERANCE
  2261  	// *   AssistResponse.dialog_state_out.microphone_mode.CLOSE_MICROPHONE
  2262  	// *   AssistResponse.audio_out
  2263  	// *   AssistResponse.audio_out
  2264  	// *   AssistResponse.audio_out
  2265  	// *   AssistResponse.audio_out
  2266  	//
  2267  	// Although the precise order of responses is not guaranteed, sequential
  2268  	// `AssistResponse.audio_out` messages will always contain sequential portions
  2269  	// of audio.
  2270  	Assist(EmbeddedAssistant_AssistServer) error
  2271  }
  2272  
  2273  // UnimplementedEmbeddedAssistantServer can be embedded to have forward compatible implementations.
  2274  type UnimplementedEmbeddedAssistantServer struct {
  2275  }
  2276  
  2277  func (*UnimplementedEmbeddedAssistantServer) Assist(EmbeddedAssistant_AssistServer) error {
  2278  	return status.Errorf(codes.Unimplemented, "method Assist not implemented")
  2279  }
  2280  
  2281  func RegisterEmbeddedAssistantServer(s *grpc.Server, srv EmbeddedAssistantServer) {
  2282  	s.RegisterService(&_EmbeddedAssistant_serviceDesc, srv)
  2283  }
  2284  
  2285  func _EmbeddedAssistant_Assist_Handler(srv interface{}, stream grpc.ServerStream) error {
  2286  	return srv.(EmbeddedAssistantServer).Assist(&embeddedAssistantAssistServer{stream})
  2287  }
  2288  
  2289  type EmbeddedAssistant_AssistServer interface {
  2290  	Send(*AssistResponse) error
  2291  	Recv() (*AssistRequest, error)
  2292  	grpc.ServerStream
  2293  }
  2294  
  2295  type embeddedAssistantAssistServer struct {
  2296  	grpc.ServerStream
  2297  }
  2298  
  2299  func (x *embeddedAssistantAssistServer) Send(m *AssistResponse) error {
  2300  	return x.ServerStream.SendMsg(m)
  2301  }
  2302  
  2303  func (x *embeddedAssistantAssistServer) Recv() (*AssistRequest, error) {
  2304  	m := new(AssistRequest)
  2305  	if err := x.ServerStream.RecvMsg(m); err != nil {
  2306  		return nil, err
  2307  	}
  2308  	return m, nil
  2309  }
  2310  
  2311  var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{
  2312  	ServiceName: "google.assistant.embedded.v1alpha2.EmbeddedAssistant",
  2313  	HandlerType: (*EmbeddedAssistantServer)(nil),
  2314  	Methods:     []grpc.MethodDesc{},
  2315  	Streams: []grpc.StreamDesc{
  2316  		{
  2317  			StreamName:    "Assist",
  2318  			Handler:       _EmbeddedAssistant_Assist_Handler,
  2319  			ServerStreams: true,
  2320  			ClientStreams: true,
  2321  		},
  2322  	},
  2323  	Metadata: "google/assistant/embedded/v1alpha2/embedded_assistant.proto",
  2324  }
  2325  

View as plain text