public interface StreamingAnalyzeContentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AssistQueryParameters |
getAssistQueryParams()
Parameters for a human assist query.
|
AssistQueryParametersOrBuilder |
getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
|
InputAudioConfig |
getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
|
InputAudioConfigOrBuilder |
getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.
|
StreamingAnalyzeContentRequest.ConfigCase |
getConfigCase() |
String |
getCxCurrentPage()
The unique identifier of the CX page to override the `current_page` in the
session.
|
ByteString |
getCxCurrentPageBytes()
The unique identifier of the CX page to override the `current_page` in the
session.
|
Struct |
getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.
|
StructOrBuilder |
getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters.
|
boolean |
getEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses.
|
ByteString |
getInputAudio()
The input audio content to be recognized.
|
StreamingAnalyzeContentRequest.InputCase |
getInputCase() |
TelephonyDtmfEvents |
getInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value.
|
TelephonyDtmfEventsOrBuilder |
getInputDtmfOrBuilder()
The DTMF digits used to invoke intent and fill in parameter value.
|
String |
getInputText()
The UTF-8 encoded natural language text to be processed.
|
ByteString |
getInputTextBytes()
The UTF-8 encoded natural language text to be processed.
|
String |
getParticipant()
Required.
|
ByteString |
getParticipantBytes()
Required.
|
QueryParameters |
getQueryParams()
Parameters for a Dialogflow virtual-agent query.
|
QueryParametersOrBuilder |
getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
|
OutputAudioConfig |
getReplyAudioConfig()
Speech synthesis configuration.
|
OutputAudioConfigOrBuilder |
getReplyAudioConfigOrBuilder()
Speech synthesis configuration.
|
InputTextConfig |
getTextConfig()
The natural language text to be processed.
|
InputTextConfigOrBuilder |
getTextConfigOrBuilder()
The natural language text to be processed.
|
boolean |
hasAssistQueryParams()
Parameters for a human assist query.
|
boolean |
hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
|
boolean |
hasCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.
|
boolean |
hasInputAudio()
The input audio content to be recognized.
|
boolean |
hasInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value.
|
boolean |
hasInputText()
The UTF-8 encoded natural language text to be processed.
|
boolean |
hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
|
boolean |
hasReplyAudioConfig()
Speech synthesis configuration.
|
boolean |
hasTextConfig()
The natural language text to be processed.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParticipant()
Required. The name of the participant this text comes from. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParticipantBytes()
Required. The name of the participant this text comes from. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
InputAudioConfig getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
InputAudioConfigOrBuilder getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
InputTextConfig getTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
InputTextConfigOrBuilder getTextConfigOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
boolean hasReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
OutputAudioConfig getReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
OutputAudioConfigOrBuilder getReplyAudioConfigOrBuilder()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling StreamingAnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
boolean hasInputAudio()
The input audio content to be recognized. Must be sent if `audio_config` is set in the first message. The complete audio over all streaming messages must not exceed 1 minute.
bytes input_audio = 5;
ByteString getInputAudio()
The input audio content to be recognized. Must be sent if `audio_config` is set in the first message. The complete audio over all streaming messages must not exceed 1 minute.
bytes input_audio = 5;
boolean hasInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if `text_config` is set in the first message. Text length must not exceed 256 bytes for virtual agent interactions. The `input_text` field can be only sent once.
string input_text = 6;
String getInputText()
The UTF-8 encoded natural language text to be processed. Must be sent if `text_config` is set in the first message. Text length must not exceed 256 bytes for virtual agent interactions. The `input_text` field can be only sent once.
string input_text = 6;
ByteString getInputTextBytes()
The UTF-8 encoded natural language text to be processed. Must be sent if `text_config` is set in the first message. Text length must not exceed 256 bytes for virtual agent interactions. The `input_text` field can be only sent once.
string input_text = 6;
boolean hasInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
TelephonyDtmfEvents getInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
TelephonyDtmfEventsOrBuilder getInputDtmfOrBuilder()
The DTMF digits used to invoke intent and fill in parameter value. This input is ignored if the previous response indicated that DTMF input is not accepted.
.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
boolean hasCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
Struct getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
StructOrBuilder getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 13;
String getCxCurrentPage()
The unique identifier of the CX page to override the `current_page` in the session. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`. If `cx_current_page` is specified, the previous state of the session will be ignored by Dialogflow CX, including the [previous page][QueryResult.current_page] and the [previous session parameters][QueryResult.parameters]. In most cases, `cx_current_page` and `cx_parameters` should be configured together to direct a session to a specific state. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
string cx_current_page = 15;
ByteString getCxCurrentPageBytes()
The unique identifier of the CX page to override the `current_page` in the session. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`. If `cx_current_page` is specified, the previous state of the session will be ignored by Dialogflow CX, including the [previous page][QueryResult.current_page] and the [previous session parameters][QueryResult.parameters]. In most cases, `cx_current_page` and `cx_parameters` should be configured together to direct a session to a specific state. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
string cx_current_page = 15;
boolean getEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses. If this flag is not enabled, response stream still contains only one final response even if some `Fulfillment`s in Dialogflow virtual agent have been configured to return partial responses.
bool enable_partial_automated_agent_reply = 12;
StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
StreamingAnalyzeContentRequest.InputCase getInputCase()
Copyright © 2022 Google LLC. All rights reserved.