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.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(StreamingAnalyzeContentRequest other)
StreamingAnalyzeContentRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StreamingAnalyzeContentRequest.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Parameters for a human assist query.StreamingAnalyzeContentRequest.Builder
setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
Parameters for a human assist query.StreamingAnalyzeContentRequest.Builder
setAudioConfig(InputAudioConfig value)
Instructs the speech recognizer how to process the speech audio.StreamingAnalyzeContentRequest.Builder
setAudioConfig(InputAudioConfig.Builder builderForValue)
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 value)
Additional parameters to be put into Dialogflow CX session parameters.StreamingAnalyzeContentRequest.Builder
setCxParameters(com.google.protobuf.Struct.Builder builderForValue)
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 value)
The DTMF digits used to invoke intent and fill in parameter value.StreamingAnalyzeContentRequest.Builder
setInputDtmf(TelephonyDtmfEvents.Builder builderForValue)
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 value)
Parameters for a Dialogflow virtual-agent query.StreamingAnalyzeContentRequest.Builder
setQueryParams(QueryParameters.Builder builderForValue)
Parameters for a Dialogflow virtual-agent query.StreamingAnalyzeContentRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
StreamingAnalyzeContentRequest.Builder
setReplyAudioConfig(OutputAudioConfig value)
Speech synthesis configuration.StreamingAnalyzeContentRequest.Builder
setReplyAudioConfig(OutputAudioConfig.Builder builderForValue)
Speech synthesis configuration.StreamingAnalyzeContentRequest.Builder
setTextConfig(InputTextConfig value)
The natural language text to be processed.StreamingAnalyzeContentRequest.Builder
setTextConfig(InputTextConfig.Builder builderForValue)
The natural language text to be processed.StreamingAnalyzeContentRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
clear
public StreamingAnalyzeContentRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
getDefaultInstanceForType
public StreamingAnalyzeContentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingAnalyzeContentRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingAnalyzeContentRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingAnalyzeContentRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
setField
public StreamingAnalyzeContentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
clearField
public StreamingAnalyzeContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
clearOneof
public StreamingAnalyzeContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
setRepeatedField
public StreamingAnalyzeContentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
addRepeatedField
public StreamingAnalyzeContentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeFrom
public StreamingAnalyzeContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeFrom
public StreamingAnalyzeContentRequest.Builder mergeFrom(StreamingAnalyzeContentRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentRequest.Builder>
- Throws:
IOException
-
getConfigCase
public StreamingAnalyzeContentRequest.ConfigCase getConfigCase()
- Specified by:
getConfigCase
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
clearConfig
public StreamingAnalyzeContentRequest.Builder clearConfig()
-
getInputCase
public StreamingAnalyzeContentRequest.InputCase getInputCase()
- Specified by:
getInputCase
in 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:
getParticipant
in 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:
getParticipantBytes
in 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:
hasAudioConfig
in 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:
getAudioConfig
in 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:
getAudioConfigOrBuilder
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasTextConfig
public boolean hasTextConfig()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
- Specified by:
hasTextConfig
in 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:
getTextConfig
in 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:
getTextConfigOrBuilder
in 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:
hasReplyAudioConfig
in 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:
getReplyAudioConfig
in 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:
getReplyAudioConfigOrBuilder
in 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:
hasInputAudio
in 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:
getInputAudio
in 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:
hasInputText
in 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:
getInputText
in 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:
getInputTextBytes
in 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:
hasInputDtmf
in 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:
getInputDtmf
in 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:
getInputDtmfOrBuilder
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
- Specified by:
hasQueryParams
in 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:
getQueryParams
in 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:
getQueryParamsOrBuilder
in interfaceStreamingAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
- Specified by:
hasAssistQueryParams
in 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:
getAssistQueryParams
in 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:
getAssistQueryParamsOrBuilder
in 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:
hasCxParameters
in 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:
getCxParameters
in 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:
getCxParametersOrBuilder
in 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:
getCxCurrentPage
in 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:
getCxCurrentPageBytes
in 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:
getEnablePartialAutomatedAgentReply
in 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:
getEnableDebuggingInfo
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
mergeUnknownFields
public final StreamingAnalyzeContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
-
-