Interface StreamingDetectIntentRequestOrBuilder (0.13.0)

public interface StreamingDetectIntentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnablePartialResponse()

public abstract boolean getEnablePartialResponse()

Enable partial detect intent response. If this flag is not enabled, response stream still contains only one final DetectIntentResponse even if some Fulfillments in the agent have been configured to return partial responses.

bool enable_partial_response = 5;

Returns
TypeDescription
boolean

The enablePartialResponse.

getOutputAudioConfig()

public abstract OutputAudioConfig getOutputAudioConfig()

Instructs the speech synthesizer how to generate the output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;

Returns
TypeDescription
OutputAudioConfig

The outputAudioConfig.

getOutputAudioConfigOrBuilder()

public abstract OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()

Instructs the speech synthesizer how to generate the output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;

Returns
TypeDescription
OutputAudioConfigOrBuilder

getQueryInput()

public abstract QueryInput getQueryInput()

Required. The input specification.

.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
QueryInput

The queryInput.

getQueryInputOrBuilder()

public abstract QueryInputOrBuilder getQueryInputOrBuilder()

Required. The input specification.

.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
QueryInputOrBuilder

getQueryParams()

public abstract QueryParameters getQueryParams()

The parameters of this query.

.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;

Returns
TypeDescription
QueryParameters

The queryParams.

getQueryParamsOrBuilder()

public abstract QueryParametersOrBuilder getQueryParamsOrBuilder()

The parameters of this query.

.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;

Returns
TypeDescription
QueryParametersOrBuilder

getSession()

public abstract String getSession()

The name of the session this query is sent to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. Note: session must be set in the first request. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.

string session = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The session.

getSessionBytes()

public abstract ByteString getSessionBytes()

The name of the session this query is sent to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. Note: session must be set in the first request. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.

string session = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for session.

hasOutputAudioConfig()

public abstract boolean hasOutputAudioConfig()

Instructs the speech synthesizer how to generate the output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;

Returns
TypeDescription
boolean

Whether the outputAudioConfig field is set.

hasQueryInput()

public abstract boolean hasQueryInput()

Required. The input specification.

.google.cloud.dialogflow.cx.v3.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the queryInput field is set.

hasQueryParams()

public abstract boolean hasQueryParams()

The parameters of this query.

.google.cloud.dialogflow.cx.v3.QueryParameters query_params = 2;

Returns
TypeDescription
boolean

Whether the queryParams field is set.