com.google.cloud.dialogflow.v2.DetectIntentRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/session.proto
package com.google.cloud.dialogflow.v2;
public interface DetectIntentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.DetectIntentRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Required. The name of the session this query is sent to. Format:
* `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
* caller to choose an appropriate session ID. It can be a random number or
* some type of user identifier (preferably hashed). The length of the session
* ID must not exceed 36 bytes.
*
*
* string session = 1;
*/
java.lang.String getSession();
/**
*
* Required. The name of the session this query is sent to. Format:
* `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
* caller to choose an appropriate session ID. It can be a random number or
* some type of user identifier (preferably hashed). The length of the session
* ID must not exceed 36 bytes.
*
*
* string session = 1;
*/
com.google.protobuf.ByteString
getSessionBytes();
/**
*
* Optional. The parameters of this query.
*
*
* .google.cloud.dialogflow.v2.QueryParameters query_params = 2;
*/
boolean hasQueryParams();
/**
*
* Optional. The parameters of this query.
*
*
* .google.cloud.dialogflow.v2.QueryParameters query_params = 2;
*/
com.google.cloud.dialogflow.v2.QueryParameters getQueryParams();
/**
*
* Optional. The parameters of this query.
*
*
* .google.cloud.dialogflow.v2.QueryParameters query_params = 2;
*/
com.google.cloud.dialogflow.v2.QueryParametersOrBuilder getQueryParamsOrBuilder();
/**
*
* Required. The input specification. It can be set to:
* 1. an audio config
* which instructs the speech recognizer how to process the speech audio,
* 2. a conversational query in the form of text, or
* 3. an event that specifies which intent to trigger.
*
*
* .google.cloud.dialogflow.v2.QueryInput query_input = 3;
*/
boolean hasQueryInput();
/**
*
* Required. The input specification. It can be set to:
* 1. an audio config
* which instructs the speech recognizer how to process the speech audio,
* 2. a conversational query in the form of text, or
* 3. an event that specifies which intent to trigger.
*
*
* .google.cloud.dialogflow.v2.QueryInput query_input = 3;
*/
com.google.cloud.dialogflow.v2.QueryInput getQueryInput();
/**
*
* Required. The input specification. It can be set to:
* 1. an audio config
* which instructs the speech recognizer how to process the speech audio,
* 2. a conversational query in the form of text, or
* 3. an event that specifies which intent to trigger.
*
*
* .google.cloud.dialogflow.v2.QueryInput query_input = 3;
*/
com.google.cloud.dialogflow.v2.QueryInputOrBuilder getQueryInputOrBuilder();
/**
*
* Optional. The natural language speech audio to be processed. This field
* should be populated iff `query_input` is set to an input audio config.
* A single request can contain up to 1 minute of speech audio data.
*
*
* bytes input_audio = 5;
*/
com.google.protobuf.ByteString getInputAudio();
}