Interface StreamingAnalyzeContentRequestOrBuilder (4.7.5)

public interface StreamingAnalyzeContentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssistQueryParams()

public abstract AssistQueryParameters getAssistQueryParams()

Parameters for a human assist query.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;

Returns
TypeDescription
AssistQueryParameters

The assistQueryParams.

getAssistQueryParamsOrBuilder()

public abstract AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()

Parameters for a human assist query.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;

Returns
TypeDescription
AssistQueryParametersOrBuilder

getAudioConfig()

public abstract InputAudioConfig getAudioConfig()

Instructs the speech recognizer how to process the speech audio.

.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;

Returns
TypeDescription
InputAudioConfig

The audioConfig.

getAudioConfigOrBuilder()

public abstract InputAudioConfigOrBuilder getAudioConfigOrBuilder()

Instructs the speech recognizer how to process the speech audio.

.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;

Returns
TypeDescription
InputAudioConfigOrBuilder

getConfigCase()

public abstract StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
Returns
TypeDescription
StreamingAnalyzeContentRequest.ConfigCase

getCxParameters()

public abstract 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;

Returns
TypeDescription
Struct

The cxParameters.

getCxParametersOrBuilder()

public abstract 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;

Returns
TypeDescription
StructOrBuilder

getEnablePartialAutomatedAgentReply()

public abstract boolean getEnablePartialAutomatedAgentReply()

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

bool enable_partial_automated_agent_reply = 12;

Returns
TypeDescription
boolean

The enablePartialAutomatedAgentReply.

getInputAudio()

public abstract 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;

Returns
TypeDescription
ByteString

The inputAudio.

getInputCase()

public abstract StreamingAnalyzeContentRequest.InputCase getInputCase()
Returns
TypeDescription
StreamingAnalyzeContentRequest.InputCase

getInputDtmf()

public abstract 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;

Returns
TypeDescription
TelephonyDtmfEvents

The inputDtmf.

getInputDtmfOrBuilder()

public abstract 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;

Returns
TypeDescription
TelephonyDtmfEventsOrBuilder

getInputText()

public abstract 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. The input_text field can be only sent once.

string input_text = 6;

Returns
TypeDescription
String

The inputText.

getInputTextBytes()

public abstract 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. The input_text field can be only sent once.

string input_text = 6;

Returns
TypeDescription
ByteString

The bytes for inputText.

getParticipant()

public abstract 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) = { ... }

Returns
TypeDescription
String

The participant.

getParticipantBytes()

public abstract 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for participant.

getQueryParams()

public abstract QueryParameters getQueryParams()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;

Returns
TypeDescription
QueryParameters

The queryParams.

getQueryParamsOrBuilder()

public abstract QueryParametersOrBuilder getQueryParamsOrBuilder()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;

Returns
TypeDescription
QueryParametersOrBuilder

getReplyAudioConfig()

public abstract 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;

Returns
TypeDescription
OutputAudioConfig

The replyAudioConfig.

getReplyAudioConfigOrBuilder()

public abstract 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;

Returns
TypeDescription
OutputAudioConfigOrBuilder

getTextConfig()

public abstract InputTextConfig getTextConfig()

The natural language text to be processed.

.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;

Returns
TypeDescription
InputTextConfig

The textConfig.

getTextConfigOrBuilder()

public abstract InputTextConfigOrBuilder getTextConfigOrBuilder()

The natural language text to be processed.

.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;

Returns
TypeDescription
InputTextConfigOrBuilder

hasAssistQueryParams()

public abstract boolean hasAssistQueryParams()

Parameters for a human assist query.

.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;

Returns
TypeDescription
boolean

Whether the assistQueryParams field is set.

hasAudioConfig()

public abstract boolean hasAudioConfig()

Instructs the speech recognizer how to process the speech audio.

.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;

Returns
TypeDescription
boolean

Whether the audioConfig field is set.

hasCxParameters()

public abstract 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;

Returns
TypeDescription
boolean

Whether the cxParameters field is set.

hasInputAudio()

public abstract 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;

Returns
TypeDescription
boolean

Whether the inputAudio field is set.

hasInputDtmf()

public abstract 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;

Returns
TypeDescription
boolean

Whether the inputDtmf field is set.

hasInputText()

public abstract 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. The input_text field can be only sent once.

string input_text = 6;

Returns
TypeDescription
boolean

Whether the inputText field is set.

hasQueryParams()

public abstract boolean hasQueryParams()

Parameters for a Dialogflow virtual-agent query.

.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;

Returns
TypeDescription
boolean

Whether the queryParams field is set.

hasReplyAudioConfig()

public abstract 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;

Returns
TypeDescription
boolean

Whether the replyAudioConfig field is set.

hasTextConfig()

public abstract boolean hasTextConfig()

The natural language text to be processed.

.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;

Returns
TypeDescription
boolean

Whether the textConfig field is set.