public static final class StreamingAnalyzeContentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder> implements StreamingAnalyzeContentRequestOrBuilder
The top-level message sent by the client to the
[Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
method.
Multiple request messages should be sent in order:
1. The first message must contain
[participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant],
[config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
and optionally
[query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params].
If you want to receive an audio response, it should also contain
[reply_audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.reply_audio_config].
The message must not contain
[input][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input].
2. If
[config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
in the first message
was set to
[audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config],
all subsequent messages must contain
[input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio]
to continue with Speech recognition. If you decide to rather analyze text
input after you already started Speech recognition, please send a message
with
[StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
However, note that:
* Dialogflow will bill you for the audio so far.
* Dialogflow discards all Speech recognition results in favor of the
text input.
3. If
[StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
in the first message was set
to
[StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config],
then the second message must contain only
[input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
Moreover, you must not send more than two messages.
After you sent all input, you must half-close or abort the request stream.
Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest| Modifier and Type | Method and Description |
|---|---|
StreamingAnalyzeContentRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingAnalyzeContentRequest |
build() |
StreamingAnalyzeContentRequest |
buildPartial() |
StreamingAnalyzeContentRequest.Builder |
clear() |
StreamingAnalyzeContentRequest.Builder |
clearAssistQueryParams()
Parameters for a human assist query.
|
StreamingAnalyzeContentRequest.Builder |
clearAudioConfig()
Instructs the speech recognizer how to process the speech audio.
|
StreamingAnalyzeContentRequest.Builder |
clearConfig() |
StreamingAnalyzeContentRequest.Builder |
clearCxCurrentPage()
The unique identifier of the CX page to override the `current_page` in the
session.
|
StreamingAnalyzeContentRequest.Builder |
clearCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.
|
StreamingAnalyzeContentRequest.Builder |
clearEnableDebuggingInfo()
if true, `StreamingAnalyzeContentResponse.debugging_info` will get
populated.
|
StreamingAnalyzeContentRequest.Builder |
clearEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses.
|
StreamingAnalyzeContentRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamingAnalyzeContentRequest.Builder |
clearInput() |
StreamingAnalyzeContentRequest.Builder |
clearInputAudio()
The input audio content to be recognized.
|
StreamingAnalyzeContentRequest.Builder |
clearInputDtmf()
The DTMF digits used to invoke intent and fill in parameter value.
|
StreamingAnalyzeContentRequest.Builder |
clearInputText()
The UTF-8 encoded natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamingAnalyzeContentRequest.Builder |
clearParticipant()
Required.
|
StreamingAnalyzeContentRequest.Builder |
clearQueryParams()
Parameters for a Dialogflow virtual-agent query.
|
StreamingAnalyzeContentRequest.Builder |
clearReplyAudioConfig()
Speech synthesis configuration.
|
StreamingAnalyzeContentRequest.Builder |
clearTextConfig()
The natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
clone() |
AssistQueryParameters |
getAssistQueryParams()
Parameters for a human assist query.
|
AssistQueryParameters.Builder |
getAssistQueryParamsBuilder()
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.
|
InputAudioConfig.Builder |
getAudioConfigBuilder()
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.
|
com.google.protobuf.ByteString |
getCxCurrentPageBytes()
The unique identifier of the CX page to override the `current_page` in the
session.
|
com.google.protobuf.Struct |
getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.
|
com.google.protobuf.Struct.Builder |
getCxParametersBuilder()
Additional parameters to be put into Dialogflow CX session parameters.
|
com.google.protobuf.StructOrBuilder |
getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters.
|
StreamingAnalyzeContentRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnableDebuggingInfo()
if true, `StreamingAnalyzeContentResponse.debugging_info` will get
populated.
|
boolean |
getEnablePartialAutomatedAgentReply()
Enable partial virtual agent responses.
|
com.google.protobuf.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.
|
TelephonyDtmfEvents.Builder |
getInputDtmfBuilder()
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.
|
com.google.protobuf.ByteString |
getInputTextBytes()
The UTF-8 encoded natural language text to be processed.
|
String |
getParticipant()
Required.
|
com.google.protobuf.ByteString |
getParticipantBytes()
Required.
|
QueryParameters |
getQueryParams()
Parameters for a Dialogflow virtual-agent query.
|
QueryParameters.Builder |
getQueryParamsBuilder()
Parameters for a Dialogflow virtual-agent query.
|
QueryParametersOrBuilder |
getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
|
OutputAudioConfig |
getReplyAudioConfig()
Speech synthesis configuration.
|
OutputAudioConfig.Builder |
getReplyAudioConfigBuilder()
Speech synthesis configuration.
|
OutputAudioConfigOrBuilder |
getReplyAudioConfigOrBuilder()
Speech synthesis configuration.
|
InputTextConfig |
getTextConfig()
The natural language text to be processed.
|
InputTextConfig.Builder |
getTextConfigBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamingAnalyzeContentRequest.Builder |
mergeAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
|
StreamingAnalyzeContentRequest.Builder |
mergeAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
|
StreamingAnalyzeContentRequest.Builder |
mergeCxParameters(com.google.protobuf.Struct value)
Additional parameters to be put into Dialogflow CX session parameters.
|
StreamingAnalyzeContentRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamingAnalyzeContentRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamingAnalyzeContentRequest.Builder |
mergeFrom(StreamingAnalyzeContentRequest other) |
StreamingAnalyzeContentRequest.Builder |
mergeInputDtmf(TelephonyDtmfEvents value)
The DTMF digits used to invoke intent and fill in parameter value.
|
StreamingAnalyzeContentRequest.Builder |
mergeQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
|
StreamingAnalyzeContentRequest.Builder |
mergeReplyAudioConfig(OutputAudioConfig value)
Speech synthesis configuration.
|
StreamingAnalyzeContentRequest.Builder |
mergeTextConfig(InputTextConfig value)
The natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamingAnalyzeContentRequest.Builder |
setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
Parameters for a human assist query.
|
StreamingAnalyzeContentRequest.Builder |
setAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
|
StreamingAnalyzeContentRequest.Builder |
setAudioConfig(InputAudioConfig.Builder builderForValue)
Instructs the speech recognizer how to process the speech audio.
|
StreamingAnalyzeContentRequest.Builder |
setAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
|
StreamingAnalyzeContentRequest.Builder |
setCxCurrentPage(String value)
The unique identifier of the CX page to override the `current_page` in the
session.
|
StreamingAnalyzeContentRequest.Builder |
setCxCurrentPageBytes(com.google.protobuf.ByteString value)
The unique identifier of the CX page to override the `current_page` in the
session.
|
StreamingAnalyzeContentRequest.Builder |
setCxParameters(com.google.protobuf.Struct.Builder builderForValue)
Additional parameters to be put into Dialogflow CX session parameters.
|
StreamingAnalyzeContentRequest.Builder |
setCxParameters(com.google.protobuf.Struct value)
Additional parameters to be put into Dialogflow CX session parameters.
|
StreamingAnalyzeContentRequest.Builder |
setEnableDebuggingInfo(boolean value)
if true, `StreamingAnalyzeContentResponse.debugging_info` will get
populated.
|
StreamingAnalyzeContentRequest.Builder |
setEnablePartialAutomatedAgentReply(boolean value)
Enable partial virtual agent responses.
|
StreamingAnalyzeContentRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingAnalyzeContentRequest.Builder |
setInputAudio(com.google.protobuf.ByteString value)
The input audio content to be recognized.
|
StreamingAnalyzeContentRequest.Builder |
setInputDtmf(TelephonyDtmfEvents.Builder builderForValue)
The DTMF digits used to invoke intent and fill in parameter value.
|
StreamingAnalyzeContentRequest.Builder |
setInputDtmf(TelephonyDtmfEvents value)
The DTMF digits used to invoke intent and fill in parameter value.
|
StreamingAnalyzeContentRequest.Builder |
setInputText(String value)
The UTF-8 encoded natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
setInputTextBytes(com.google.protobuf.ByteString value)
The UTF-8 encoded natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
setParticipant(String value)
Required.
|
StreamingAnalyzeContentRequest.Builder |
setParticipantBytes(com.google.protobuf.ByteString value)
Required.
|
StreamingAnalyzeContentRequest.Builder |
setQueryParams(QueryParameters.Builder builderForValue)
Parameters for a Dialogflow virtual-agent query.
|
StreamingAnalyzeContentRequest.Builder |
setQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
|
StreamingAnalyzeContentRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StreamingAnalyzeContentRequest.Builder |
setReplyAudioConfig(OutputAudioConfig.Builder builderForValue)
Speech synthesis configuration.
|
StreamingAnalyzeContentRequest.Builder |
setReplyAudioConfig(OutputAudioConfig value)
Speech synthesis configuration.
|
StreamingAnalyzeContentRequest.Builder |
setTextConfig(InputTextConfig.Builder builderForValue)
The natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
setTextConfig(InputTextConfig value)
The natural language text to be processed.
|
StreamingAnalyzeContentRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingAnalyzeContentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnalyzeContentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnalyzeContentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder mergeFrom(StreamingAnalyzeContentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public StreamingAnalyzeContentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentRequest.Builder>IOExceptionpublic StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
getConfigCase in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder clearConfig()
public StreamingAnalyzeContentRequest.InputCase getInputCase()
getInputCase in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder clearInput()
public 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) = { ... }
getParticipant in interface StreamingAnalyzeContentRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParticipantBytes in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setParticipant(String value)
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) = { ... }
value - The participant to set.public StreamingAnalyzeContentRequest.Builder clearParticipant()
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) = { ... }
public StreamingAnalyzeContentRequest.Builder setParticipantBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for participant to set.public boolean hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;hasAudioConfig in interface StreamingAnalyzeContentRequestOrBuilderpublic InputAudioConfig getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;getAudioConfig in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;public StreamingAnalyzeContentRequest.Builder setAudioConfig(InputAudioConfig.Builder builderForValue)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;public StreamingAnalyzeContentRequest.Builder mergeAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;public StreamingAnalyzeContentRequest.Builder clearAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;public InputAudioConfig.Builder getAudioConfigBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;public InputAudioConfigOrBuilder getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;getAudioConfigOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;hasTextConfig in interface StreamingAnalyzeContentRequestOrBuilderpublic InputTextConfig getTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;getTextConfig in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setTextConfig(InputTextConfig value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;public StreamingAnalyzeContentRequest.Builder setTextConfig(InputTextConfig.Builder builderForValue)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;public StreamingAnalyzeContentRequest.Builder mergeTextConfig(InputTextConfig value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;public StreamingAnalyzeContentRequest.Builder clearTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;public InputTextConfig.Builder getTextConfigBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;public InputTextConfigOrBuilder getTextConfigOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;getTextConfigOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;hasReplyAudioConfig in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;getReplyAudioConfig in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setReplyAudioConfig(OutputAudioConfig value)
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;public StreamingAnalyzeContentRequest.Builder setReplyAudioConfig(OutputAudioConfig.Builder builderForValue)
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;public StreamingAnalyzeContentRequest.Builder mergeReplyAudioConfig(OutputAudioConfig value)
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;public StreamingAnalyzeContentRequest.Builder clearReplyAudioConfig()
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;public OutputAudioConfig.Builder getReplyAudioConfigBuilder()
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;public 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;getReplyAudioConfigOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;hasInputAudio in interface StreamingAnalyzeContentRequestOrBuilderpublic com.google.protobuf.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;getInputAudio in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setInputAudio(com.google.protobuf.ByteString value)
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;value - The inputAudio to set.public StreamingAnalyzeContentRequest.Builder clearInputAudio()
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;public 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;hasInputText in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;getInputText in interface StreamingAnalyzeContentRequestOrBuilderpublic com.google.protobuf.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;getInputTextBytes in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setInputText(String value)
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;value - The inputText to set.public StreamingAnalyzeContentRequest.Builder clearInputText()
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;public StreamingAnalyzeContentRequest.Builder setInputTextBytes(com.google.protobuf.ByteString value)
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;value - The bytes for inputText to set.public 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;hasInputDtmf in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;getInputDtmf in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setInputDtmf(TelephonyDtmfEvents value)
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;public StreamingAnalyzeContentRequest.Builder setInputDtmf(TelephonyDtmfEvents.Builder builderForValue)
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;public StreamingAnalyzeContentRequest.Builder mergeInputDtmf(TelephonyDtmfEvents value)
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;public StreamingAnalyzeContentRequest.Builder clearInputDtmf()
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;public TelephonyDtmfEvents.Builder getInputDtmfBuilder()
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;public 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;getInputDtmfOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;hasQueryParams in interface StreamingAnalyzeContentRequestOrBuilderpublic QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;getQueryParams in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;public StreamingAnalyzeContentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;public StreamingAnalyzeContentRequest.Builder mergeQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;public StreamingAnalyzeContentRequest.Builder clearQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;public QueryParameters.Builder getQueryParamsBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;getQueryParamsOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;hasAssistQueryParams in interface StreamingAnalyzeContentRequestOrBuilderpublic AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;getAssistQueryParams in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;public StreamingAnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;public StreamingAnalyzeContentRequest.Builder mergeAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;public StreamingAnalyzeContentRequest.Builder clearAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;public AssistQueryParameters.Builder getAssistQueryParamsBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;getAssistQueryParamsOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;hasCxParameters in interface StreamingAnalyzeContentRequestOrBuilderpublic com.google.protobuf.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;getCxParameters in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setCxParameters(com.google.protobuf.Struct value)
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;public StreamingAnalyzeContentRequest.Builder setCxParameters(com.google.protobuf.Struct.Builder builderForValue)
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;public StreamingAnalyzeContentRequest.Builder mergeCxParameters(com.google.protobuf.Struct value)
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;public StreamingAnalyzeContentRequest.Builder clearCxParameters()
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;public com.google.protobuf.Struct.Builder getCxParametersBuilder()
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;public com.google.protobuf.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;getCxParametersOrBuilder in interface StreamingAnalyzeContentRequestOrBuilderpublic 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;getCxCurrentPage in interface StreamingAnalyzeContentRequestOrBuilderpublic com.google.protobuf.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;getCxCurrentPageBytes in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setCxCurrentPage(String value)
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;value - The cxCurrentPage to set.public StreamingAnalyzeContentRequest.Builder clearCxCurrentPage()
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;public StreamingAnalyzeContentRequest.Builder setCxCurrentPageBytes(com.google.protobuf.ByteString value)
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;value - The bytes for cxCurrentPage to set.public 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;getEnablePartialAutomatedAgentReply in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setEnablePartialAutomatedAgentReply(boolean value)
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;value - The enablePartialAutomatedAgentReply to set.public StreamingAnalyzeContentRequest.Builder clearEnablePartialAutomatedAgentReply()
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;public boolean getEnableDebuggingInfo()
if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;getEnableDebuggingInfo in interface StreamingAnalyzeContentRequestOrBuilderpublic StreamingAnalyzeContentRequest.Builder setEnableDebuggingInfo(boolean value)
if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;value - The enableDebuggingInfo to set.public StreamingAnalyzeContentRequest.Builder clearEnableDebuggingInfo()
if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;public final StreamingAnalyzeContentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>public final StreamingAnalyzeContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.