- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class StreamingAnalyzeContentResponse.Builder extends GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder> implements StreamingAnalyzeContentResponseOrBuilder
The top-level message returned from the StreamingAnalyzeContent
method.
Multiple response messages can be returned in order:
- If the input was set to streaming audio, the first one or more messages
contain
recognition_result
. Eachrecognition_result
represents a more complete transcript of what the user said. The lastrecognition_result
hasis_final
set totrue
. - In virtual agent stage: if
enable_partial_automated_agent_reply
is true, the following N (currently 1 <= N <= 4) messages containautomated_agent_reply
and optionallyreply_audio
returned by the virtual agent. The first (N-1)automated_agent_reply
s will haveautomated_agent_reply_type
set toPARTIAL
. The lastautomated_agent_reply
hasautomated_agent_reply_type
set toFINAL
. Ifenable_partial_automated_agent_reply
is not enabled, response stream only contains the final reply. In human assist stage: the following N (N >= 1) messages containhuman_agent_suggestion_results
,end_user_suggestion_results
ormessage
.
Protobuf type google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingAnalyzeContentResponse.BuilderImplements
StreamingAnalyzeContentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEndUserSuggestionResults(Iterable<? extends SuggestionResult> values)
public StreamingAnalyzeContentResponse.Builder addAllEndUserSuggestionResults(Iterable<? extends SuggestionResult> values)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.SuggestionResult> |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addAllHumanAgentSuggestionResults(Iterable<? extends SuggestionResult> values)
public StreamingAnalyzeContentResponse.Builder addAllHumanAgentSuggestionResults(Iterable<? extends SuggestionResult> values)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.SuggestionResult> |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addEndUserSuggestionResults(SuggestionResult value)
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(SuggestionResult value)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
value |
SuggestionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addEndUserSuggestionResults(SuggestionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
SuggestionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addEndUserSuggestionResults(int index, SuggestionResult value)
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(int index, SuggestionResult value)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SuggestionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SuggestionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addEndUserSuggestionResultsBuilder()
public SuggestionResult.Builder addEndUserSuggestionResultsBuilder()
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Returns | |
---|---|
Type | Description |
SuggestionResult.Builder |
addEndUserSuggestionResultsBuilder(int index)
public SuggestionResult.Builder addEndUserSuggestionResultsBuilder(int index)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResult.Builder |
addHumanAgentSuggestionResults(SuggestionResult value)
public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults(SuggestionResult value)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
value |
SuggestionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addHumanAgentSuggestionResults(SuggestionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
SuggestionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addHumanAgentSuggestionResults(int index, SuggestionResult value)
public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults(int index, SuggestionResult value)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SuggestionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addHumanAgentSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SuggestionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
addHumanAgentSuggestionResultsBuilder()
public SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder()
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Returns | |
---|---|
Type | Description |
SuggestionResult.Builder |
addHumanAgentSuggestionResultsBuilder(int index)
public SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder(int index)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResult.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnalyzeContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
build()
public StreamingAnalyzeContentResponse build()
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse |
buildPartial()
public StreamingAnalyzeContentResponse buildPartial()
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse |
clear()
public StreamingAnalyzeContentResponse.Builder clear()
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearAutomatedAgentReply()
public StreamingAnalyzeContentResponse.Builder clearAutomatedAgentReply()
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearDebuggingInfo()
public StreamingAnalyzeContentResponse.Builder clearDebuggingInfo()
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearDtmfParameters()
public StreamingAnalyzeContentResponse.Builder clearDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearEndUserSuggestionResults()
public StreamingAnalyzeContentResponse.Builder clearEndUserSuggestionResults()
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public StreamingAnalyzeContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearHumanAgentSuggestionResults()
public StreamingAnalyzeContentResponse.Builder clearHumanAgentSuggestionResults()
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearMessage()
public StreamingAnalyzeContentResponse.Builder clearMessage()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingAnalyzeContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearRecognitionResult()
public StreamingAnalyzeContentResponse.Builder clearRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearReplyAudio()
public StreamingAnalyzeContentResponse.Builder clearReplyAudio()
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearReplyText()
public StreamingAnalyzeContentResponse.Builder clearReplyText()
The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
This builder for chaining. |
clone()
public StreamingAnalyzeContentResponse.Builder clone()
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
getAutomatedAgentReply()
public AutomatedAgentReply getAutomatedAgentReply()
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Returns | |
---|---|
Type | Description |
AutomatedAgentReply |
The automatedAgentReply. |
getAutomatedAgentReplyBuilder()
public AutomatedAgentReply.Builder getAutomatedAgentReplyBuilder()
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Returns | |
---|---|
Type | Description |
AutomatedAgentReply.Builder |
getAutomatedAgentReplyOrBuilder()
public AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Returns | |
---|---|
Type | Description |
AutomatedAgentReplyOrBuilder |
getDebuggingInfo()
public CloudConversationDebuggingInfo getDebuggingInfo()
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Returns | |
---|---|
Type | Description |
CloudConversationDebuggingInfo |
The debuggingInfo. |
getDebuggingInfoBuilder()
public CloudConversationDebuggingInfo.Builder getDebuggingInfoBuilder()
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Returns | |
---|---|
Type | Description |
CloudConversationDebuggingInfo.Builder |
getDebuggingInfoOrBuilder()
public CloudConversationDebuggingInfoOrBuilder getDebuggingInfoOrBuilder()
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Returns | |
---|---|
Type | Description |
CloudConversationDebuggingInfoOrBuilder |
getDefaultInstanceForType()
public StreamingAnalyzeContentResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDtmfParameters()
public DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Returns | |
---|---|
Type | Description |
DtmfParameters |
The dtmfParameters. |
getDtmfParametersBuilder()
public DtmfParameters.Builder getDtmfParametersBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Returns | |
---|---|
Type | Description |
DtmfParameters.Builder |
getDtmfParametersOrBuilder()
public DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Returns | |
---|---|
Type | Description |
DtmfParametersOrBuilder |
getEndUserSuggestionResults(int index)
public SuggestionResult getEndUserSuggestionResults(int index)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResult |
getEndUserSuggestionResultsBuilder(int index)
public SuggestionResult.Builder getEndUserSuggestionResultsBuilder(int index)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResult.Builder |
getEndUserSuggestionResultsBuilderList()
public List<SuggestionResult.Builder> getEndUserSuggestionResultsBuilderList()
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Returns | |
---|---|
Type | Description |
List<Builder> |
getEndUserSuggestionResultsCount()
public int getEndUserSuggestionResultsCount()
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Returns | |
---|---|
Type | Description |
int |
getEndUserSuggestionResultsList()
public List<SuggestionResult> getEndUserSuggestionResultsList()
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Returns | |
---|---|
Type | Description |
List<SuggestionResult> |
getEndUserSuggestionResultsOrBuilder(int index)
public SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResultOrBuilder |
getEndUserSuggestionResultsOrBuilderList()
public List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder> |
getHumanAgentSuggestionResults(int index)
public SuggestionResult getHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResult |
getHumanAgentSuggestionResultsBuilder(int index)
public SuggestionResult.Builder getHumanAgentSuggestionResultsBuilder(int index)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResult.Builder |
getHumanAgentSuggestionResultsBuilderList()
public List<SuggestionResult.Builder> getHumanAgentSuggestionResultsBuilderList()
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Returns | |
---|---|
Type | Description |
List<Builder> |
getHumanAgentSuggestionResultsCount()
public int getHumanAgentSuggestionResultsCount()
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Returns | |
---|---|
Type | Description |
int |
getHumanAgentSuggestionResultsList()
public List<SuggestionResult> getHumanAgentSuggestionResultsList()
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Returns | |
---|---|
Type | Description |
List<SuggestionResult> |
getHumanAgentSuggestionResultsOrBuilder(int index)
public SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SuggestionResultOrBuilder |
getHumanAgentSuggestionResultsOrBuilderList()
public List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder> |
getMessage()
public Message getMessage()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Returns | |
---|---|
Type | Description |
Message |
The message. |
getMessageBuilder()
public Message.Builder getMessageBuilder()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Returns | |
---|---|
Type | Description |
Message.Builder |
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Returns | |
---|---|
Type | Description |
MessageOrBuilder |
getRecognitionResult()
public StreamingRecognitionResult getRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Returns | |
---|---|
Type | Description |
StreamingRecognitionResult |
The recognitionResult. |
getRecognitionResultBuilder()
public StreamingRecognitionResult.Builder getRecognitionResultBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Returns | |
---|---|
Type | Description |
StreamingRecognitionResult.Builder |
getRecognitionResultOrBuilder()
public StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Returns | |
---|---|
Type | Description |
StreamingRecognitionResultOrBuilder |
getReplyAudio()
public OutputAudio getReplyAudio()
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Returns | |
---|---|
Type | Description |
OutputAudio |
The replyAudio. |
getReplyAudioBuilder()
public OutputAudio.Builder getReplyAudioBuilder()
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Returns | |
---|---|
Type | Description |
OutputAudio.Builder |
getReplyAudioOrBuilder()
public OutputAudioOrBuilder getReplyAudioOrBuilder()
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Returns | |
---|---|
Type | Description |
OutputAudioOrBuilder |
getReplyText()
public String getReplyText()
The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Returns | |
---|---|
Type | Description |
String |
The replyText. |
getReplyTextBytes()
public ByteString getReplyTextBytes()
The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for replyText. |
hasAutomatedAgentReply()
public boolean hasAutomatedAgentReply()
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the automatedAgentReply field is set. |
hasDebuggingInfo()
public boolean hasDebuggingInfo()
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Returns | |
---|---|
Type | Description |
boolean |
Whether the debuggingInfo field is set. |
hasDtmfParameters()
public boolean hasDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the dtmfParameters field is set. |
hasMessage()
public boolean hasMessage()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the message field is set. |
hasRecognitionResult()
public boolean hasRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the recognitionResult field is set. |
hasReplyAudio()
public boolean hasReplyAudio()
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the replyAudio field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAutomatedAgentReply(AutomatedAgentReply value)
public StreamingAnalyzeContentResponse.Builder mergeAutomatedAgentReply(AutomatedAgentReply value)
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Parameter | |
---|---|
Name | Description |
value |
AutomatedAgentReply |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeDebuggingInfo(CloudConversationDebuggingInfo value)
public StreamingAnalyzeContentResponse.Builder mergeDebuggingInfo(CloudConversationDebuggingInfo value)
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Parameter | |
---|---|
Name | Description |
value |
CloudConversationDebuggingInfo |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeDtmfParameters(DtmfParameters value)
public StreamingAnalyzeContentResponse.Builder mergeDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Parameter | |
---|---|
Name | Description |
value |
DtmfParameters |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeFrom(StreamingAnalyzeContentResponse other)
public StreamingAnalyzeContentResponse.Builder mergeFrom(StreamingAnalyzeContentResponse other)
Parameter | |
---|---|
Name | Description |
other |
StreamingAnalyzeContentResponse |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingAnalyzeContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingAnalyzeContentResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeMessage(Message value)
public StreamingAnalyzeContentResponse.Builder mergeMessage(Message value)
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Parameter | |
---|---|
Name | Description |
value |
Message |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeRecognitionResult(StreamingRecognitionResult value)
public StreamingAnalyzeContentResponse.Builder mergeRecognitionResult(StreamingRecognitionResult value)
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Parameter | |
---|---|
Name | Description |
value |
StreamingRecognitionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeReplyAudio(OutputAudio value)
public StreamingAnalyzeContentResponse.Builder mergeReplyAudio(OutputAudio value)
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Parameter | |
---|---|
Name | Description |
value |
OutputAudio |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnalyzeContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
removeEndUserSuggestionResults(int index)
public StreamingAnalyzeContentResponse.Builder removeEndUserSuggestionResults(int index)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
removeHumanAgentSuggestionResults(int index)
public StreamingAnalyzeContentResponse.Builder removeHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setAutomatedAgentReply(AutomatedAgentReply value)
public StreamingAnalyzeContentResponse.Builder setAutomatedAgentReply(AutomatedAgentReply value)
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Parameter | |
---|---|
Name | Description |
value |
AutomatedAgentReply |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
AutomatedAgentReply.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setDebuggingInfo(CloudConversationDebuggingInfo value)
public StreamingAnalyzeContentResponse.Builder setDebuggingInfo(CloudConversationDebuggingInfo value)
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Parameter | |
---|---|
Name | Description |
value |
CloudConversationDebuggingInfo |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setDebuggingInfo(CloudConversationDebuggingInfo.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setDebuggingInfo(CloudConversationDebuggingInfo.Builder builderForValue)
Debugging info that would get populated when
StreamingAnalyzeContentRequest.enable_debugging_info
is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
Parameter | |
---|---|
Name | Description |
builderForValue |
CloudConversationDebuggingInfo.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setDtmfParameters(DtmfParameters value)
public StreamingAnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Parameter | |
---|---|
Name | Description |
value |
DtmfParameters |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setDtmfParameters(DtmfParameters.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters.Builder builderForValue)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
DtmfParameters.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setEndUserSuggestionResults(int index, SuggestionResult value)
public StreamingAnalyzeContentResponse.Builder setEndUserSuggestionResults(int index, SuggestionResult value)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SuggestionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SuggestionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnalyzeContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setHumanAgentSuggestionResults(int index, SuggestionResult value)
public StreamingAnalyzeContentResponse.Builder setHumanAgentSuggestionResults(int index, SuggestionResult value)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SuggestionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setHumanAgentSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setHumanAgentSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SuggestionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setMessage(Message value)
public StreamingAnalyzeContentResponse.Builder setMessage(Message value)
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Parameter | |
---|---|
Name | Description |
value |
Message |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setMessage(Message.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setMessage(Message.Builder builderForValue)
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Message.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setRecognitionResult(StreamingRecognitionResult value)
public StreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult value)
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Parameter | |
---|---|
Name | Description |
value |
StreamingRecognitionResult |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)
The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
StreamingRecognitionResult.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingAnalyzeContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setReplyAudio(OutputAudio value)
public StreamingAnalyzeContentResponse.Builder setReplyAudio(OutputAudio value)
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Parameter | |
---|---|
Name | Description |
value |
OutputAudio |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setReplyAudio(OutputAudio.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setReplyAudio(OutputAudio.Builder builderForValue)
The audio data bytes encoded as specified in the request. This field is set if:
- The
reply_audio_config
field is specified in the request. - The automated agent, which this output comes from, responded with audio.
In such case, the
reply_audio.config
field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
OutputAudio.Builder |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setReplyText(String value)
public StreamingAnalyzeContentResponse.Builder setReplyText(String value)
The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Parameter | |
---|---|
Name | Description |
value |
String The replyText to set. |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
This builder for chaining. |
setReplyTextBytes(ByteString value)
public StreamingAnalyzeContentResponse.Builder setReplyTextBytes(ByteString value)
The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for replyText to set. |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnalyzeContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingAnalyzeContentResponse.Builder |