- 4.60.0 (latest)
- 4.59.0
- 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.v2beta1.StreamingAnalyzeContentResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingAnalyzeContentResponse.BuilderImplements
StreamingAnalyzeContentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResult> |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResult> |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
value | SuggestionResult |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
builderForValue | SuggestionResult.Builder |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
value | SuggestionResult |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
value | SuggestionResult |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
builderForValue | SuggestionResult.Builder |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
value | SuggestionResult |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
Type | Description |
SuggestionResult.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnalyzeContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
build()
public StreamingAnalyzeContentResponse build()
Type | Description |
StreamingAnalyzeContentResponse |
buildPartial()
public StreamingAnalyzeContentResponse buildPartial()
Type | Description |
StreamingAnalyzeContentResponse |
clear()
public StreamingAnalyzeContentResponse.Builder clear()
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearAutomatedAgentReply()
public StreamingAnalyzeContentResponse.Builder clearAutomatedAgentReply()
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearDtmfParameters()
public StreamingAnalyzeContentResponse.Builder clearDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public StreamingAnalyzeContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearMessage()
public StreamingAnalyzeContentResponse.Builder clearMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingAnalyzeContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearRecognitionResult()
public StreamingAnalyzeContentResponse.Builder clearRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearReplyAudio()
public StreamingAnalyzeContentResponse.Builder clearReplyAudio()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Type | Description |
StreamingAnalyzeContentResponse.Builder |
clearReplyText()
public StreamingAnalyzeContentResponse.Builder clearReplyText()
Optional. The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Type | Description |
StreamingAnalyzeContentResponse.Builder | This builder for chaining. |
clone()
public StreamingAnalyzeContentResponse.Builder clone()
Type | Description |
StreamingAnalyzeContentResponse.Builder |
getAutomatedAgentReply()
public AutomatedAgentReply getAutomatedAgentReply()
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Type | Description |
AutomatedAgentReply | The automatedAgentReply. |
getAutomatedAgentReplyBuilder()
public AutomatedAgentReply.Builder getAutomatedAgentReplyBuilder()
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Type | Description |
AutomatedAgentReply.Builder |
getAutomatedAgentReplyOrBuilder()
public AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Type | Description |
AutomatedAgentReplyOrBuilder |
getDefaultInstanceForType()
public StreamingAnalyzeContentResponse getDefaultInstanceForType()
Type | Description |
StreamingAnalyzeContentResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDtmfParameters()
public DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
Type | Description |
DtmfParameters | The dtmfParameters. |
getDtmfParametersBuilder()
public DtmfParameters.Builder getDtmfParametersBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
Type | Description |
DtmfParameters.Builder |
getDtmfParametersOrBuilder()
public DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResultOrBuilder> |
getMessage()
public Message getMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Type | Description |
Message | The message. |
getMessageBuilder()
public Message.Builder getMessageBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Type | Description |
Message.Builder |
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Type | Description |
MessageOrBuilder |
getRecognitionResult()
public StreamingRecognitionResult getRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Type | Description |
StreamingRecognitionResult | The recognitionResult. |
getRecognitionResultBuilder()
public StreamingRecognitionResult.Builder getRecognitionResultBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Type | Description |
StreamingRecognitionResult.Builder |
getRecognitionResultOrBuilder()
public StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Type | Description |
StreamingRecognitionResultOrBuilder |
getReplyAudio()
public OutputAudio getReplyAudio()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Type | Description |
OutputAudio | The replyAudio. |
getReplyAudioBuilder()
public OutputAudio.Builder getReplyAudioBuilder()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Type | Description |
OutputAudio.Builder |
getReplyAudioOrBuilder()
public OutputAudioOrBuilder getReplyAudioOrBuilder()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Type | Description |
OutputAudioOrBuilder |
getReplyText()
public String getReplyText()
Optional. The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Type | Description |
String | The replyText. |
getReplyTextBytes()
public ByteString getReplyTextBytes()
Optional. The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Type | Description |
ByteString | The bytes for replyText. |
hasAutomatedAgentReply()
public boolean hasAutomatedAgentReply()
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Type | Description |
boolean | Whether the automatedAgentReply field is set. |
hasDtmfParameters()
public boolean hasDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
Type | Description |
boolean | Whether the dtmfParameters field is set. |
hasMessage()
public boolean hasMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Type | Description |
boolean | Whether the message field is set. |
hasRecognitionResult()
public boolean hasRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Type | Description |
boolean | Whether the recognitionResult field is set. |
hasReplyAudio()
public boolean hasReplyAudio()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Type | Description |
boolean | Whether the replyAudio field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAutomatedAgentReply(AutomatedAgentReply value)
public StreamingAnalyzeContentResponse.Builder mergeAutomatedAgentReply(AutomatedAgentReply value)
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Name | Description |
value | AutomatedAgentReply |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeDtmfParameters(DtmfParameters value)
public StreamingAnalyzeContentResponse.Builder mergeDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
Name | Description |
value | DtmfParameters |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeFrom(StreamingAnalyzeContentResponse other)
public StreamingAnalyzeContentResponse.Builder mergeFrom(StreamingAnalyzeContentResponse other)
Name | Description |
other | StreamingAnalyzeContentResponse |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingAnalyzeContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingAnalyzeContentResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeMessage(Message value)
public StreamingAnalyzeContentResponse.Builder mergeMessage(Message value)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Name | Description |
value | Message |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeRecognitionResult(StreamingRecognitionResult value)
public StreamingAnalyzeContentResponse.Builder mergeRecognitionResult(StreamingRecognitionResult value)
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Name | Description |
value | StreamingRecognitionResult |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeReplyAudio(OutputAudio value)
public StreamingAnalyzeContentResponse.Builder mergeReplyAudio(OutputAudio value)
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Name | Description |
value | OutputAudio |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnalyzeContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setAutomatedAgentReply(AutomatedAgentReply value)
public StreamingAnalyzeContentResponse.Builder setAutomatedAgentReply(AutomatedAgentReply value)
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Name | Description |
value | AutomatedAgentReply |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)
Optional. 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.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
Name | Description |
builderForValue | AutomatedAgentReply.Builder |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setDtmfParameters(DtmfParameters value)
public StreamingAnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
Name | Description |
value | DtmfParameters |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setDtmfParameters(DtmfParameters.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters.Builder builderForValue)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
Name | Description |
builderForValue | DtmfParameters.Builder |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
value | SuggestionResult |
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.v2beta1.SuggestionResult end_user_suggestion_results = 8;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnalyzeContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
value | SuggestionResult |
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.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setMessage(Message value)
public StreamingAnalyzeContentResponse.Builder setMessage(Message value)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Name | Description |
value | Message |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setMessage(Message.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setMessage(Message.Builder builderForValue)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
Name | Description |
builderForValue | Message.Builder |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setRecognitionResult(StreamingRecognitionResult value)
public StreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult value)
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Name | Description |
value | StreamingRecognitionResult |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
Name | Description |
builderForValue | StreamingRecognitionResult.Builder |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingAnalyzeContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setReplyAudio(OutputAudio value)
public StreamingAnalyzeContentResponse.Builder setReplyAudio(OutputAudio value)
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Name | Description |
value | OutputAudio |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setReplyAudio(OutputAudio.Builder builderForValue)
public StreamingAnalyzeContentResponse.Builder setReplyAudio(OutputAudio.Builder builderForValue)
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
Name | Description |
builderForValue | OutputAudio.Builder |
Type | Description |
StreamingAnalyzeContentResponse.Builder |
setReplyText(String value)
public StreamingAnalyzeContentResponse.Builder setReplyText(String value)
Optional. The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Name | Description |
value | String The replyText to set. |
Type | Description |
StreamingAnalyzeContentResponse.Builder | This builder for chaining. |
setReplyTextBytes(ByteString value)
public StreamingAnalyzeContentResponse.Builder setReplyTextBytes(ByteString value)
Optional. The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;
Name | Description |
value | ByteString The bytes for replyText to set. |
Type | Description |
StreamingAnalyzeContentResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnalyzeContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamingAnalyzeContentResponse.Builder |