Class StreamingAnalyzeContentRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
- com.google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.Builder
-
- All Implemented Interfaces:
StreamingAnalyzeContentRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamingAnalyzeContentRequest
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 typegoogle.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamingAnalyzeContentRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamingAnalyzeContentRequestbuild()StreamingAnalyzeContentRequestbuildPartial()StreamingAnalyzeContentRequest.Builderclear()StreamingAnalyzeContentRequest.BuilderclearAssistQueryParams()Parameters for a human assist query.StreamingAnalyzeContentRequest.BuilderclearAudioConfig()Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.BuilderclearConfig()StreamingAnalyzeContentRequest.BuilderclearCxCurrentPage()The unique identifier of the CX page to override the `current_page` in the session.StreamingAnalyzeContentRequest.BuilderclearCxParameters()Additional parameters to be put into Dialogflow CX session parameters.StreamingAnalyzeContentRequest.BuilderclearEnableDebuggingInfo()if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.StreamingAnalyzeContentRequest.BuilderclearEnablePartialAutomatedAgentReply()Enable partial virtual agent responses.StreamingAnalyzeContentRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StreamingAnalyzeContentRequest.BuilderclearInput()StreamingAnalyzeContentRequest.BuilderclearInputAudio()The input audio content to be recognized.StreamingAnalyzeContentRequest.BuilderclearInputDtmf()The DTMF digits used to invoke intent and fill in parameter value.StreamingAnalyzeContentRequest.BuilderclearInputText()The UTF-8 encoded natural language text to be processed.StreamingAnalyzeContentRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StreamingAnalyzeContentRequest.BuilderclearParticipant()Required.StreamingAnalyzeContentRequest.BuilderclearQueryParams()Parameters for a Dialogflow virtual-agent query.StreamingAnalyzeContentRequest.BuilderclearReplyAudioConfig()Speech synthesis configuration.StreamingAnalyzeContentRequest.BuilderclearTextConfig()The natural language text to be processed.StreamingAnalyzeContentRequest.Builderclone()AssistQueryParametersgetAssistQueryParams()Parameters for a human assist query.AssistQueryParameters.BuildergetAssistQueryParamsBuilder()Parameters for a human assist query.AssistQueryParametersOrBuildergetAssistQueryParamsOrBuilder()Parameters for a human assist query.InputAudioConfiggetAudioConfig()Instructs the speech recognizer how to process the speech audio.InputAudioConfig.BuildergetAudioConfigBuilder()Instructs the speech recognizer how to process the speech audio.InputAudioConfigOrBuildergetAudioConfigOrBuilder()Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.ConfigCasegetConfigCase()StringgetCxCurrentPage()The unique identifier of the CX page to override the `current_page` in the session.com.google.protobuf.ByteStringgetCxCurrentPageBytes()The unique identifier of the CX page to override the `current_page` in the session.com.google.protobuf.StructgetCxParameters()Additional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.Struct.BuildergetCxParametersBuilder()Additional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.StructOrBuildergetCxParametersOrBuilder()Additional parameters to be put into Dialogflow CX session parameters.StreamingAnalyzeContentRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnableDebuggingInfo()if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.booleangetEnablePartialAutomatedAgentReply()Enable partial virtual agent responses.com.google.protobuf.ByteStringgetInputAudio()The input audio content to be recognized.StreamingAnalyzeContentRequest.InputCasegetInputCase()TelephonyDtmfEventsgetInputDtmf()The DTMF digits used to invoke intent and fill in parameter value.TelephonyDtmfEvents.BuildergetInputDtmfBuilder()The DTMF digits used to invoke intent and fill in parameter value.TelephonyDtmfEventsOrBuildergetInputDtmfOrBuilder()The DTMF digits used to invoke intent and fill in parameter value.StringgetInputText()The UTF-8 encoded natural language text to be processed.com.google.protobuf.ByteStringgetInputTextBytes()The UTF-8 encoded natural language text to be processed.StringgetParticipant()Required.com.google.protobuf.ByteStringgetParticipantBytes()Required.QueryParametersgetQueryParams()Parameters for a Dialogflow virtual-agent query.QueryParameters.BuildergetQueryParamsBuilder()Parameters for a Dialogflow virtual-agent query.QueryParametersOrBuildergetQueryParamsOrBuilder()Parameters for a Dialogflow virtual-agent query.OutputAudioConfiggetReplyAudioConfig()Speech synthesis configuration.OutputAudioConfig.BuildergetReplyAudioConfigBuilder()Speech synthesis configuration.OutputAudioConfigOrBuildergetReplyAudioConfigOrBuilder()Speech synthesis configuration.InputTextConfiggetTextConfig()The natural language text to be processed.InputTextConfig.BuildergetTextConfigBuilder()The natural language text to be processed.InputTextConfigOrBuildergetTextConfigOrBuilder()The natural language text to be processed.booleanhasAssistQueryParams()Parameters for a human assist query.booleanhasAudioConfig()Instructs the speech recognizer how to process the speech audio.booleanhasCxParameters()Additional parameters to be put into Dialogflow CX session parameters.booleanhasInputAudio()The input audio content to be recognized.booleanhasInputDtmf()The DTMF digits used to invoke intent and fill in parameter value.booleanhasInputText()The UTF-8 encoded natural language text to be processed.booleanhasQueryParams()Parameters for a Dialogflow virtual-agent query.booleanhasReplyAudioConfig()Speech synthesis configuration.booleanhasTextConfig()The natural language text to be processed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StreamingAnalyzeContentRequest.BuildermergeAssistQueryParams(AssistQueryParameters value)Parameters for a human assist query.StreamingAnalyzeContentRequest.BuildermergeAudioConfig(InputAudioConfig value)Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.BuildermergeCxParameters(com.google.protobuf.Struct value)Additional parameters to be put into Dialogflow CX session parameters.StreamingAnalyzeContentRequest.BuildermergeFrom(StreamingAnalyzeContentRequest other)StreamingAnalyzeContentRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StreamingAnalyzeContentRequest.BuildermergeFrom(com.google.protobuf.Message other)StreamingAnalyzeContentRequest.BuildermergeInputDtmf(TelephonyDtmfEvents value)The DTMF digits used to invoke intent and fill in parameter value.StreamingAnalyzeContentRequest.BuildermergeQueryParams(QueryParameters value)Parameters for a Dialogflow virtual-agent query.StreamingAnalyzeContentRequest.BuildermergeReplyAudioConfig(OutputAudioConfig value)Speech synthesis configuration.StreamingAnalyzeContentRequest.BuildermergeTextConfig(InputTextConfig value)The natural language text to be processed.StreamingAnalyzeContentRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StreamingAnalyzeContentRequest.BuildersetAssistQueryParams(AssistQueryParameters value)Parameters for a human assist query.StreamingAnalyzeContentRequest.BuildersetAssistQueryParams(AssistQueryParameters.Builder builderForValue)Parameters for a human assist query.StreamingAnalyzeContentRequest.BuildersetAudioConfig(InputAudioConfig value)Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.BuildersetAudioConfig(InputAudioConfig.Builder builderForValue)Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.BuildersetCxCurrentPage(String value)The unique identifier of the CX page to override the `current_page` in the session.StreamingAnalyzeContentRequest.BuildersetCxCurrentPageBytes(com.google.protobuf.ByteString value)The unique identifier of the CX page to override the `current_page` in the session.StreamingAnalyzeContentRequest.BuildersetCxParameters(com.google.protobuf.Struct value)Additional parameters to be put into Dialogflow CX session parameters.StreamingAnalyzeContentRequest.BuildersetCxParameters(com.google.protobuf.Struct.Builder builderForValue)Additional parameters to be put into Dialogflow CX session parameters.StreamingAnalyzeContentRequest.BuildersetEnableDebuggingInfo(boolean value)if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.StreamingAnalyzeContentRequest.BuildersetEnablePartialAutomatedAgentReply(boolean value)Enable partial virtual agent responses.StreamingAnalyzeContentRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamingAnalyzeContentRequest.BuildersetInputAudio(com.google.protobuf.ByteString value)The input audio content to be recognized.StreamingAnalyzeContentRequest.BuildersetInputDtmf(TelephonyDtmfEvents value)The DTMF digits used to invoke intent and fill in parameter value.StreamingAnalyzeContentRequest.BuildersetInputDtmf(TelephonyDtmfEvents.Builder builderForValue)The DTMF digits used to invoke intent and fill in parameter value.StreamingAnalyzeContentRequest.BuildersetInputText(String value)The UTF-8 encoded natural language text to be processed.StreamingAnalyzeContentRequest.BuildersetInputTextBytes(com.google.protobuf.ByteString value)The UTF-8 encoded natural language text to be processed.StreamingAnalyzeContentRequest.BuildersetParticipant(String value)Required.StreamingAnalyzeContentRequest.BuildersetParticipantBytes(com.google.protobuf.ByteString value)Required.StreamingAnalyzeContentRequest.BuildersetQueryParams(QueryParameters value)Parameters for a Dialogflow virtual-agent query.StreamingAnalyzeContentRequest.BuildersetQueryParams(QueryParameters.Builder builderForValue)Parameters for a Dialogflow virtual-agent query.StreamingAnalyzeContentRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StreamingAnalyzeContentRequest.BuildersetReplyAudioConfig(OutputAudioConfig value)Speech synthesis configuration.StreamingAnalyzeContentRequest.BuildersetReplyAudioConfig(OutputAudioConfig.Builder builderForValue)Speech synthesis configuration.StreamingAnalyzeContentRequest.BuildersetTextConfig(InputTextConfig value)The natural language text to be processed.StreamingAnalyzeContentRequest.BuildersetTextConfig(InputTextConfig.Builder builderForValue)The natural language text to be processed.StreamingAnalyzeContentRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
clear
public StreamingAnalyzeContentRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
getDefaultInstanceForType
public StreamingAnalyzeContentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingAnalyzeContentRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingAnalyzeContentRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingAnalyzeContentRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
setField
public StreamingAnalyzeContentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
clearField
public StreamingAnalyzeContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
clearOneof
public StreamingAnalyzeContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
setRepeatedField
public StreamingAnalyzeContentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
addRepeatedField
public StreamingAnalyzeContentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeFrom
public StreamingAnalyzeContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeFrom
public StreamingAnalyzeContentRequest.Builder mergeFrom(StreamingAnalyzeContentRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeFrom
public StreamingAnalyzeContentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentRequest.Builder>- Throws:
IOException
-
getConfigCase
public StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
- Specified by:
getConfigCasein interfaceStreamingAnalyzeContentRequestOrBuilder
-
clearConfig
public StreamingAnalyzeContentRequest.Builder clearConfig()
-
getInputCase
public StreamingAnalyzeContentRequest.InputCase getInputCase()
- Specified by:
getInputCasein interfaceStreamingAnalyzeContentRequestOrBuilder
-
clearInput
public StreamingAnalyzeContentRequest.Builder clearInput()
-
getParticipant
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) = { ... }- Specified by:
getParticipantin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The participant.
-
getParticipantBytes
public 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) = { ... }- Specified by:
getParticipantBytesin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The bytes for participant.
-
setParticipant
public 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) = { ... }- Parameters:
value- The participant to set.- Returns:
- This builder for chaining.
-
clearParticipant
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) = { ... }- Returns:
- This builder for chaining.
-
setParticipantBytes
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) = { ... }- Parameters:
value- The bytes for participant to set.- Returns:
- This builder for chaining.
-
hasAudioConfig
public boolean hasAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;- Specified by:
hasAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the audioConfig field is set.
-
getAudioConfig
public InputAudioConfig getAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;- Specified by:
getAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The audioConfig.
-
setAudioConfig
public StreamingAnalyzeContentRequest.Builder setAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
-
setAudioConfig
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;
-
mergeAudioConfig
public StreamingAnalyzeContentRequest.Builder mergeAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
-
clearAudioConfig
public StreamingAnalyzeContentRequest.Builder clearAudioConfig()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
-
getAudioConfigBuilder
public InputAudioConfig.Builder getAudioConfigBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
-
getAudioConfigOrBuilder
public InputAudioConfigOrBuilder getAudioConfigOrBuilder()
Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;- Specified by:
getAudioConfigOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasTextConfig
public boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;- Specified by:
hasTextConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the textConfig field is set.
-
getTextConfig
public InputTextConfig getTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;- Specified by:
getTextConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The textConfig.
-
setTextConfig
public StreamingAnalyzeContentRequest.Builder setTextConfig(InputTextConfig value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
-
setTextConfig
public StreamingAnalyzeContentRequest.Builder setTextConfig(InputTextConfig.Builder builderForValue)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
-
mergeTextConfig
public StreamingAnalyzeContentRequest.Builder mergeTextConfig(InputTextConfig value)
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
-
clearTextConfig
public StreamingAnalyzeContentRequest.Builder clearTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
-
getTextConfigBuilder
public InputTextConfig.Builder getTextConfigBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
-
getTextConfigOrBuilder
public InputTextConfigOrBuilder getTextConfigOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;- Specified by:
getTextConfigOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasReplyAudioConfig
public 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;- Specified by:
hasReplyAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the replyAudioConfig field is set.
-
getReplyAudioConfig
public 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;- Specified by:
getReplyAudioConfigin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The replyAudioConfig.
-
setReplyAudioConfig
public 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;
-
setReplyAudioConfig
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;
-
mergeReplyAudioConfig
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;
-
clearReplyAudioConfig
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;
-
getReplyAudioConfigBuilder
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;
-
getReplyAudioConfigOrBuilder
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;- Specified by:
getReplyAudioConfigOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasInputAudio
public 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;- Specified by:
hasInputAudioin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the inputAudio field is set.
-
getInputAudio
public 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;- Specified by:
getInputAudioin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The inputAudio.
-
setInputAudio
public 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;- Parameters:
value- The inputAudio to set.- Returns:
- This builder for chaining.
-
clearInputAudio
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;- Returns:
- This builder for chaining.
-
hasInputText
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, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Specified by:
hasInputTextin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the inputText field is set.
-
getInputText
public 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, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Specified by:
getInputTextin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The inputText.
-
getInputTextBytes
public 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, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Specified by:
getInputTextBytesin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The bytes for inputText.
-
setInputText
public 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, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Parameters:
value- The inputText to set.- Returns:
- This builder for chaining.
-
clearInputText
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, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Returns:
- This builder for chaining.
-
setInputTextBytes
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, and would cancel the speech recognition if any ongoing.
string input_text = 6;- Parameters:
value- The bytes for inputText to set.- Returns:
- This builder for chaining.
-
hasInputDtmf
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;- Specified by:
hasInputDtmfin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the inputDtmf field is set.
-
getInputDtmf
public 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;- Specified by:
getInputDtmfin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The inputDtmf.
-
setInputDtmf
public 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;
-
setInputDtmf
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;
-
mergeInputDtmf
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;
-
clearInputDtmf
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;
-
getInputDtmfBuilder
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;
-
getInputDtmfOrBuilder
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;- Specified by:
getInputDtmfOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;- Specified by:
hasQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the queryParams field is set.
-
getQueryParams
public QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;- Specified by:
getQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The queryParams.
-
setQueryParams
public StreamingAnalyzeContentRequest.Builder setQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
-
setQueryParams
public StreamingAnalyzeContentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
-
mergeQueryParams
public StreamingAnalyzeContentRequest.Builder mergeQueryParams(QueryParameters value)
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
-
clearQueryParams
public StreamingAnalyzeContentRequest.Builder clearQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
-
getQueryParamsBuilder
public QueryParameters.Builder getQueryParamsBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
-
getQueryParamsOrBuilder
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;- Specified by:
getQueryParamsOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;- Specified by:
hasAssistQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;- Specified by:
getAssistQueryParamsin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The assistQueryParams.
-
setAssistQueryParams
public StreamingAnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
-
setAssistQueryParams
public StreamingAnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
-
mergeAssistQueryParams
public StreamingAnalyzeContentRequest.Builder mergeAssistQueryParams(AssistQueryParameters value)
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
-
clearAssistQueryParams
public StreamingAnalyzeContentRequest.Builder clearAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
-
getAssistQueryParamsBuilder
public AssistQueryParameters.Builder getAssistQueryParamsBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
-
getAssistQueryParamsOrBuilder
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;- Specified by:
getAssistQueryParamsOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasCxParameters
public 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;- Specified by:
hasCxParametersin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- Whether the cxParameters field is set.
-
getCxParameters
public 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;- Specified by:
getCxParametersin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The cxParameters.
-
setCxParameters
public 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;
-
setCxParameters
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;
-
mergeCxParameters
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;
-
clearCxParameters
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;
-
getCxParametersBuilder
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;
-
getCxParametersOrBuilder
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;- Specified by:
getCxParametersOrBuilderin interfaceStreamingAnalyzeContentRequestOrBuilder
-
getCxCurrentPage
public 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;- Specified by:
getCxCurrentPagein interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The cxCurrentPage.
-
getCxCurrentPageBytes
public 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;- Specified by:
getCxCurrentPageBytesin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The bytes for cxCurrentPage.
-
setCxCurrentPage
public 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;- Parameters:
value- The cxCurrentPage to set.- Returns:
- This builder for chaining.
-
clearCxCurrentPage
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;- Returns:
- This builder for chaining.
-
setCxCurrentPageBytes
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;- Parameters:
value- The bytes for cxCurrentPage to set.- Returns:
- This builder for chaining.
-
getEnablePartialAutomatedAgentReply
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;- Specified by:
getEnablePartialAutomatedAgentReplyin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The enablePartialAutomatedAgentReply.
-
setEnablePartialAutomatedAgentReply
public 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;- Parameters:
value- The enablePartialAutomatedAgentReply to set.- Returns:
- This builder for chaining.
-
clearEnablePartialAutomatedAgentReply
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;- Returns:
- This builder for chaining.
-
getEnableDebuggingInfo
public boolean getEnableDebuggingInfo()
if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;- Specified by:
getEnableDebuggingInfoin interfaceStreamingAnalyzeContentRequestOrBuilder- Returns:
- The enableDebuggingInfo.
-
setEnableDebuggingInfo
public StreamingAnalyzeContentRequest.Builder setEnableDebuggingInfo(boolean value)
if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;- Parameters:
value- The enableDebuggingInfo to set.- Returns:
- This builder for chaining.
-
clearEnableDebuggingInfo
public StreamingAnalyzeContentRequest.Builder clearEnableDebuggingInfo()
if true, `StreamingAnalyzeContentResponse.debugging_info` will get populated.
bool enable_debugging_info = 19;- Returns:
- This builder for chaining.
-
setUnknownFields
public final StreamingAnalyzeContentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeUnknownFields
public final StreamingAnalyzeContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
-