public interface DetectIntentRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getOutputAudioConfig()
public abstract OutputAudioConfig getOutputAudioConfig()Instructs the speech synthesizer how to generate the output audio.
.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 4;
| Returns | |
|---|---|
| Type | Description |
OutputAudioConfig |
The outputAudioConfig. |
getOutputAudioConfigOrBuilder()
public abstract OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()Instructs the speech synthesizer how to generate the output audio.
.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 4;
| Returns | |
|---|---|
| Type | Description |
OutputAudioConfigOrBuilder |
|
getQueryInput()
public abstract QueryInput getQueryInput()Required. The input specification.
.google.cloud.dialogflow.cx.v3beta1.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryInput |
The queryInput. |
getQueryInputOrBuilder()
public abstract QueryInputOrBuilder getQueryInputOrBuilder()Required. The input specification.
.google.cloud.dialogflow.cx.v3beta1.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryInputOrBuilder |
|
getQueryParams()
public abstract QueryParameters getQueryParams()The parameters of this query.
.google.cloud.dialogflow.cx.v3beta1.QueryParameters query_params = 2;
| Returns | |
|---|---|
| Type | Description |
QueryParameters |
The queryParams. |
getQueryParamsOrBuilder()
public abstract QueryParametersOrBuilder getQueryParamsOrBuilder()The parameters of this query.
.google.cloud.dialogflow.cx.v3beta1.QueryParameters query_params = 2;
| Returns | |
|---|---|
| Type | Description |
QueryParametersOrBuilder |
|
getResponseView()
public abstract DetectIntentResponseView getResponseView()Optional. Specifies which fields in the QueryResult to return. If not set, the default is DETECT_INTENT_RESPONSE_VIEW_FULL.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseView response_view = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DetectIntentResponseView |
The responseView. |
getResponseViewValue()
public abstract int getResponseViewValue()Optional. Specifies which fields in the QueryResult to return. If not set, the default is DETECT_INTENT_RESPONSE_VIEW_FULL.
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseView response_view = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for responseView. |
getSession()
public abstract String getSession() Required. The name of the session this query is sent to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
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.
For more information, see the sessions guide.
Note: Always use agent versions for production traffic. See Versions and environments.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The session. |
getSessionBytes()
public abstract ByteString getSessionBytes() Required. The name of the session this query is sent to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
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.
For more information, see the sessions guide.
Note: Always use agent versions for production traffic. See Versions and environments.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for session. |
hasOutputAudioConfig()
public abstract boolean hasOutputAudioConfig()Instructs the speech synthesizer how to generate the output audio.
.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the outputAudioConfig field is set. |
hasQueryInput()
public abstract boolean hasQueryInput()Required. The input specification.
.google.cloud.dialogflow.cx.v3beta1.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryInput field is set. |
hasQueryParams()
public abstract boolean hasQueryParams()The parameters of this query.
.google.cloud.dialogflow.cx.v3beta1.QueryParameters query_params = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryParams field is set. |