package google.assistant.embedded.v1alpha2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service EmbeddedAssistant

embedded_assistant.proto:29

Service that implements the Google Assistant API.

message AssistConfig

embedded_assistant.proto:160

Specifies how to process the `AssistRequest` messages.

Used in: AssistRequest

enum AssistResponse.EventType

embedded_assistant.proto:105

Indicates the type of event.

Used in: AssistResponse

message AudioInConfig

embedded_assistant.proto:193

Specifies how to process the `audio_in` data that will be provided in subsequent requests. For recommended settings, see the Google Assistant SDK [best practices](https://developers.google.com/assistant/sdk/guides/service/python/best-practices/audio).

Used in: AssistConfig

enum AudioInConfig.Encoding

embedded_assistant.proto:196

Audio encoding of the data sent in the audio message. Audio must be one-channel (mono).

Used in: AudioInConfig

message AudioOut

embedded_assistant.proto:342

The audio containing the Assistant's response to the query. Sequential chunks of audio data are received in sequential `AssistResponse` messages.

Used in: AssistResponse

message AudioOutConfig

embedded_assistant.proto:227

Specifies the desired format for the server to use when it returns `audio_out` messages.

Used in: AssistConfig

enum AudioOutConfig.Encoding

embedded_assistant.proto:230

Audio encoding of the data returned in the audio message. All encodings are raw audio bytes with no header, except as indicated below.

Used in: AudioOutConfig

message DebugConfig

embedded_assistant.proto:446

Debugging parameters for the current request.

Used in: AssistConfig

message DebugInfo

embedded_assistant.proto:150

Debug info for developer. Only returned if request set `return_debug_info` to true.

Used in: AssistResponse

message DeviceAction

embedded_assistant.proto:376

The response returned to the device if the user has triggered a Device Action. For example, a device which supports the query *Turn on the light* would receive a `DeviceAction` with a JSON payload containing the semantics of the request.

Used in: AssistResponse

message DeviceConfig

embedded_assistant.proto:324

*Required* Fields that identify the device to the Assistant. See also: * [Register a Device - REST API](https://developers.google.com/assistant/sdk/reference/device-registration/register-device-manual) * [Device Model and Instance Schemas](https://developers.google.com/assistant/sdk/reference/device-registration/model-and-instance-schemas) * [Device Proto](https://developers.google.com/assistant/sdk/reference/rpc/google.assistant.devices.v1alpha2#device)

Used in: AssistConfig

message DeviceLocation

embedded_assistant.proto:461

There are three sources of locations. They are used with this precedence: 1. This `DeviceLocation`, which is primarily used for mobile devices with GPS . 2. Location specified by the user during device setup; this is per-user, per device. This location is used if `DeviceLocation` is not specified. 3. Inferred location based on IP address. This is used only if neither of the above are specified.

Used in: DialogStateIn

message DialogStateIn

embedded_assistant.proto:284

Provides information about the current dialog state.

Used in: AssistConfig

message DialogStateOut

embedded_assistant.proto:399

The dialog state resulting from the user's query. Multiple of these messages may be received.

Used in: AssistResponse

enum DialogStateOut.MicrophoneMode

embedded_assistant.proto:401

Possible states of the microphone after a `Assist` RPC completes.

Used in: DialogStateOut

message ScreenOut

embedded_assistant.proto:351

The Assistant's visual output response to query. Enabled by `screen_out_config`.

Used in: AssistResponse

enum ScreenOut.Format

embedded_assistant.proto:353

Possible formats of the screen data.

Used in: ScreenOut

message ScreenOutConfig

embedded_assistant.proto:262

Specifies the desired format for the server to use when it returns `screen_out` response.

Used in: AssistConfig

enum ScreenOutConfig.ScreenMode

embedded_assistant.proto:264

Possible modes for visual screen-output on the device.

Used in: ScreenOutConfig

message SpeechRecognitionResult

embedded_assistant.proto:386

The estimated transcription of a phrase the user has spoken. This could be a single segment or the full guess of the user's spoken query.

Used in: AssistResponse