public static final class StreamingAnalyzeContentResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder> implements StreamingAnalyzeContentResponseOrBuilder
The top-level message returned from the `StreamingAnalyzeContent` method.
Multiple response messages can be returned in order:
1. If the input was set to streaming audio, the first one or more messages
contain `recognition_result`. Each `recognition_result` represents a more
complete transcript of what the user said. The last `recognition_result`
has `is_final` set to `true`.
2. In virtual agent stage: if `enable_partial_automated_agent_reply` is
true, the following N (currently 1 <= N <= 4) messages
contain `automated_agent_reply` and optionally `reply_audio`
returned by the virtual agent. The first (N-1)
`automated_agent_reply`s will have `automated_agent_reply_type` set to
`PARTIAL`. The last `automated_agent_reply` has
`automated_agent_reply_type` set to `FINAL`.
If `enable_partial_automated_agent_reply` is not enabled, response stream
only contains the final reply.
In human assist stage: the following N (N >= 1) messages contain
`human_agent_suggestion_results`, `end_user_suggestion_results` or
`message`.
Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingAnalyzeContentResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnalyzeContentResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnalyzeContentResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder mergeFrom(StreamingAnalyzeContentResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public StreamingAnalyzeContentResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnalyzeContentResponse.Builder>IOExceptionpublic boolean hasRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
hasRecognitionResult in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingRecognitionResult getRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
getRecognitionResult in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult value)
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
public StreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
public StreamingAnalyzeContentResponse.Builder mergeRecognitionResult(StreamingRecognitionResult value)
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
public StreamingAnalyzeContentResponse.Builder clearRecognitionResult()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
public StreamingRecognitionResult.Builder getRecognitionResultBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
public StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()
The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;
getRecognitionResultOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic 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;getReplyText in interface StreamingAnalyzeContentResponseOrBuilderpublic com.google.protobuf.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;getReplyTextBytes in interface StreamingAnalyzeContentResponseOrBuilderpublic 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;value - The replyText to set.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;public StreamingAnalyzeContentResponse.Builder setReplyTextBytes(com.google.protobuf.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;value - The bytes for replyText to set.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;hasReplyAudio in interface StreamingAnalyzeContentResponseOrBuilderpublic 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;getReplyAudio in interface StreamingAnalyzeContentResponseOrBuilderpublic 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;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;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;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;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;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;getReplyAudioOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic 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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;hasAutomatedAgentReply in interface StreamingAnalyzeContentResponseOrBuilderpublic 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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;getAutomatedAgentReply in interface StreamingAnalyzeContentResponseOrBuilderpublic 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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;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][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;getAutomatedAgentReplyOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic boolean hasMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;hasMessage in interface StreamingAnalyzeContentResponseOrBuilderpublic Message getMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;getMessage in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingAnalyzeContentResponse.Builder setMessage(Message value)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;public StreamingAnalyzeContentResponse.Builder setMessage(Message.Builder builderForValue)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;public StreamingAnalyzeContentResponse.Builder mergeMessage(Message value)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;public StreamingAnalyzeContentResponse.Builder clearMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;public Message.Builder getMessageBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;public MessageOrBuilder getMessageOrBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;getMessageOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic List<SuggestionResult> getHumanAgentSuggestionResultsList()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
getHumanAgentSuggestionResultsList in interface StreamingAnalyzeContentResponseOrBuilderpublic int getHumanAgentSuggestionResultsCount()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
getHumanAgentSuggestionResultsCount in interface StreamingAnalyzeContentResponseOrBuilderpublic SuggestionResult getHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
getHumanAgentSuggestionResults in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingAnalyzeContentResponse.Builder setHumanAgentSuggestionResults(int index, SuggestionResult value)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults(SuggestionResult value)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
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][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public StreamingAnalyzeContentResponse.Builder clearHumanAgentSuggestionResults()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public StreamingAnalyzeContentResponse.Builder removeHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public SuggestionResult.Builder getHumanAgentSuggestionResultsBuilder(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
getHumanAgentSuggestionResultsOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
getHumanAgentSuggestionResultsOrBuilderList in interface StreamingAnalyzeContentResponseOrBuilderpublic SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public List<SuggestionResult.Builder> getHumanAgentSuggestionResultsBuilderList()
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
public List<SuggestionResult> getEndUserSuggestionResultsList()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
getEndUserSuggestionResultsList in interface StreamingAnalyzeContentResponseOrBuilderpublic int getEndUserSuggestionResultsCount()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
getEndUserSuggestionResultsCount in interface StreamingAnalyzeContentResponseOrBuilderpublic SuggestionResult getEndUserSuggestionResults(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
getEndUserSuggestionResults in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingAnalyzeContentResponse.Builder setEndUserSuggestionResults(int index, SuggestionResult value)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder setEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(SuggestionResult value)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(int index, SuggestionResult value)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder addAllEndUserSuggestionResults(Iterable<? extends SuggestionResult> values)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder clearEndUserSuggestionResults()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public StreamingAnalyzeContentResponse.Builder removeEndUserSuggestionResults(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public SuggestionResult.Builder getEndUserSuggestionResultsBuilder(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
getEndUserSuggestionResultsOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
getEndUserSuggestionResultsOrBuilderList in interface StreamingAnalyzeContentResponseOrBuilderpublic SuggestionResult.Builder addEndUserSuggestionResultsBuilder()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public SuggestionResult.Builder addEndUserSuggestionResultsBuilder(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public List<SuggestionResult.Builder> getEndUserSuggestionResultsBuilderList()
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
public boolean hasDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;hasDtmfParameters in interface StreamingAnalyzeContentResponseOrBuilderpublic DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;getDtmfParameters in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingAnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;public StreamingAnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters.Builder builderForValue)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;public StreamingAnalyzeContentResponse.Builder mergeDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;public StreamingAnalyzeContentResponse.Builder clearDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;public DtmfParameters.Builder getDtmfParametersBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;public DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;getDtmfParametersOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic boolean hasDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
hasDebuggingInfo in interface StreamingAnalyzeContentResponseOrBuilderpublic CloudConversationDebuggingInfo getDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
getDebuggingInfo in interface StreamingAnalyzeContentResponseOrBuilderpublic StreamingAnalyzeContentResponse.Builder setDebuggingInfo(CloudConversationDebuggingInfo value)
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
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.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
public StreamingAnalyzeContentResponse.Builder mergeDebuggingInfo(CloudConversationDebuggingInfo value)
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
public StreamingAnalyzeContentResponse.Builder clearDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
public CloudConversationDebuggingInfo.Builder getDebuggingInfoBuilder()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
public CloudConversationDebuggingInfoOrBuilder getDebuggingInfoOrBuilder()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
getDebuggingInfoOrBuilder in interface StreamingAnalyzeContentResponseOrBuilderpublic final StreamingAnalyzeContentResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>public final StreamingAnalyzeContentResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.