com.google.assistant.embedded.v1alpha2.DialogStateInOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: embedded_assistant.proto
package com.google.assistant.embedded.v1alpha2;
public interface DialogStateInOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.assistant.embedded.v1alpha2.DialogStateIn)
com.google.protobuf.MessageOrBuilder {
/**
*
* *Required* This field must always be set to the
* [DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state]
* value that was returned in the prior `Assist` RPC. It should only be
* omitted (field not set) if there was no prior `Assist` RPC because this is
* the first `Assist` RPC made by this device after it was first setup and/or
* a factory-default reset.
*
*
* bytes conversation_state = 1;
* @return The conversationState.
*/
com.google.protobuf.ByteString getConversationState();
/**
*
* *Required* Language of the request in
* [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example,
* "en-US"). See [Language
* Support](https://developers.google.com/assistant/sdk/reference/rpc/languages)
* for more information. If you have selected a language for this `device_id`
* using the
* [Settings](https://developers.google.com/assistant/sdk/reference/assistant-app/assistant-settings)
* menu in your phone's Google Assistant app, that selection will override
* this value.
*
*
* string language_code = 2;
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
* *Required* Language of the request in
* [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example,
* "en-US"). See [Language
* Support](https://developers.google.com/assistant/sdk/reference/rpc/languages)
* for more information. If you have selected a language for this `device_id`
* using the
* [Settings](https://developers.google.com/assistant/sdk/reference/assistant-app/assistant-settings)
* menu in your phone's Google Assistant app, that selection will override
* this value.
*
*
* string language_code = 2;
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString
getLanguageCodeBytes();
/**
*
* *Optional* Location of the device where the query originated.
*
*
* .google.assistant.embedded.v1alpha2.DeviceLocation device_location = 5;
* @return Whether the deviceLocation field is set.
*/
boolean hasDeviceLocation();
/**
*
* *Optional* Location of the device where the query originated.
*
*
* .google.assistant.embedded.v1alpha2.DeviceLocation device_location = 5;
* @return The deviceLocation.
*/
com.google.assistant.embedded.v1alpha2.DeviceLocation getDeviceLocation();
/**
*
* *Optional* Location of the device where the query originated.
*
*
* .google.assistant.embedded.v1alpha2.DeviceLocation device_location = 5;
*/
com.google.assistant.embedded.v1alpha2.DeviceLocationOrBuilder getDeviceLocationOrBuilder();
/**
*
* *Optional* If true, the server will treat the request as a new conversation
* and not use state from the prior request. Set this field to true when the
* conversation should be restarted, such as after a device reboot, or after a
* significant lapse of time since the prior query.
*
*
* bool is_new_conversation = 7;
* @return The isNewConversation.
*/
boolean getIsNewConversation();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy