- 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 AnalyzeContentResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeContentResponse.Builder> implements AnalyzeContentResponseOrBuilder
The response message for Participants.AnalyzeContent.
Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeContentResponse.BuilderImplements
AnalyzeContentResponseOrBuilderMethods
addAllEndUserSuggestionResults(Iterable<? extends SuggestionResult> values)
public AnalyzeContentResponse.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 = 7;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResult> |
Type | Description |
AnalyzeContentResponse.Builder |
addAllHumanAgentSuggestionResults(Iterable<? extends SuggestionResult> values)
public AnalyzeContentResponse.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 = 6;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResult> |
Type | Description |
AnalyzeContentResponse.Builder |
addEndUserSuggestionResults(SuggestionResult value)
public AnalyzeContentResponse.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 = 7;
Name | Description |
value | SuggestionResult |
Type | Description |
AnalyzeContentResponse.Builder |
addEndUserSuggestionResults(SuggestionResult.Builder builderForValue)
public AnalyzeContentResponse.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 = 7;
Name | Description |
builderForValue | SuggestionResult.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
addEndUserSuggestionResults(int index, SuggestionResult value)
public AnalyzeContentResponse.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 = 7;
Name | Description |
index | int |
value | SuggestionResult |
Type | Description |
AnalyzeContentResponse.Builder |
addEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public AnalyzeContentResponse.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 = 7;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
Type | Description |
AnalyzeContentResponse.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 = 7;
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 = 7;
Name | Description |
index | int |
Type | Description |
SuggestionResult.Builder |
addHumanAgentSuggestionResults(SuggestionResult value)
public AnalyzeContentResponse.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 = 6;
Name | Description |
value | SuggestionResult |
Type | Description |
AnalyzeContentResponse.Builder |
addHumanAgentSuggestionResults(SuggestionResult.Builder builderForValue)
public AnalyzeContentResponse.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 = 6;
Name | Description |
builderForValue | SuggestionResult.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
addHumanAgentSuggestionResults(int index, SuggestionResult value)
public AnalyzeContentResponse.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 = 6;
Name | Description |
index | int |
value | SuggestionResult |
Type | Description |
AnalyzeContentResponse.Builder |
addHumanAgentSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public AnalyzeContentResponse.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 = 6;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
Type | Description |
AnalyzeContentResponse.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 = 6;
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 = 6;
Name | Description |
index | int |
Type | Description |
SuggestionResult.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnalyzeContentResponse.Builder |
build()
public AnalyzeContentResponse build()
Type | Description |
AnalyzeContentResponse |
buildPartial()
public AnalyzeContentResponse buildPartial()
Type | Description |
AnalyzeContentResponse |
clear()
public AnalyzeContentResponse.Builder clear()
Type | Description |
AnalyzeContentResponse.Builder |
clearAutomatedAgentReply()
public AnalyzeContentResponse.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 = 3;
Type | Description |
AnalyzeContentResponse.Builder |
clearDtmfParameters()
public AnalyzeContentResponse.Builder clearDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
Type | Description |
AnalyzeContentResponse.Builder |
clearEndUserSuggestionResults()
public AnalyzeContentResponse.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 = 7;
Type | Description |
AnalyzeContentResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzeContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AnalyzeContentResponse.Builder |
clearHumanAgentSuggestionResults()
public AnalyzeContentResponse.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 = 6;
Type | Description |
AnalyzeContentResponse.Builder |
clearMessage()
public AnalyzeContentResponse.Builder clearMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 5;
Type | Description |
AnalyzeContentResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AnalyzeContentResponse.Builder |
clearReplyAudio()
public AnalyzeContentResponse.Builder clearReplyAudio()
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
Type | Description |
AnalyzeContentResponse.Builder |
clearReplyText()
public AnalyzeContentResponse.Builder clearReplyText()
Output only. The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
Type | Description |
AnalyzeContentResponse.Builder | This builder for chaining. |
clone()
public AnalyzeContentResponse.Builder clone()
Type | Description |
AnalyzeContentResponse.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 = 3;
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 = 3;
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 = 3;
Type | Description |
AutomatedAgentReplyOrBuilder |
getDefaultInstanceForType()
public AnalyzeContentResponse getDefaultInstanceForType()
Type | Description |
AnalyzeContentResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDtmfParameters()
public DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
Type | Description |
DtmfParameters | The dtmfParameters. |
getDtmfParametersBuilder()
public DtmfParameters.Builder getDtmfParametersBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
Type | Description |
DtmfParameters.Builder |
getDtmfParametersOrBuilder()
public DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
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 = 7;
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 = 7;
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 = 7;
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 = 7;
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 = 7;
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 = 7;
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 = 7;
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 = 6;
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 = 6;
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 = 6;
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 = 6;
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 = 6;
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 = 6;
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 = 6;
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 = 5;
Type | Description |
Message | The message. |
getMessageBuilder()
public Message.Builder getMessageBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 5;
Type | Description |
Message.Builder |
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 5;
Type | Description |
MessageOrBuilder |
getReplyAudio()
public OutputAudio getReplyAudio()
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
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:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
Type | Description |
OutputAudio.Builder |
getReplyAudioOrBuilder()
public OutputAudioOrBuilder getReplyAudioOrBuilder()
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
Type | Description |
OutputAudioOrBuilder |
getReplyText()
public String getReplyText()
Output only. The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
Type | Description |
String | The replyText. |
getReplyTextBytes()
public ByteString getReplyTextBytes()
Output only. The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
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 = 3;
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 = 9;
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 = 5;
Type | Description |
boolean | Whether the message field is set. |
hasReplyAudio()
public boolean hasReplyAudio()
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
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 AnalyzeContentResponse.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 = 3;
Name | Description |
value | AutomatedAgentReply |
Type | Description |
AnalyzeContentResponse.Builder |
mergeDtmfParameters(DtmfParameters value)
public AnalyzeContentResponse.Builder mergeDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
Name | Description |
value | DtmfParameters |
Type | Description |
AnalyzeContentResponse.Builder |
mergeFrom(AnalyzeContentResponse other)
public AnalyzeContentResponse.Builder mergeFrom(AnalyzeContentResponse other)
Name | Description |
other | AnalyzeContentResponse |
Type | Description |
AnalyzeContentResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzeContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AnalyzeContentResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzeContentResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AnalyzeContentResponse.Builder |
mergeMessage(Message value)
public AnalyzeContentResponse.Builder mergeMessage(Message value)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 5;
Name | Description |
value | Message |
Type | Description |
AnalyzeContentResponse.Builder |
mergeReplyAudio(OutputAudio value)
public AnalyzeContentResponse.Builder mergeReplyAudio(OutputAudio value)
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
Name | Description |
value | OutputAudio |
Type | Description |
AnalyzeContentResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnalyzeContentResponse.Builder |
removeEndUserSuggestionResults(int index)
public AnalyzeContentResponse.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 = 7;
Name | Description |
index | int |
Type | Description |
AnalyzeContentResponse.Builder |
removeHumanAgentSuggestionResults(int index)
public AnalyzeContentResponse.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 = 6;
Name | Description |
index | int |
Type | Description |
AnalyzeContentResponse.Builder |
setAutomatedAgentReply(AutomatedAgentReply value)
public AnalyzeContentResponse.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 = 3;
Name | Description |
value | AutomatedAgentReply |
Type | Description |
AnalyzeContentResponse.Builder |
setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)
public AnalyzeContentResponse.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 = 3;
Name | Description |
builderForValue | AutomatedAgentReply.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
setDtmfParameters(DtmfParameters value)
public AnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters value)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
Name | Description |
value | DtmfParameters |
Type | Description |
AnalyzeContentResponse.Builder |
setDtmfParameters(DtmfParameters.Builder builderForValue)
public AnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters.Builder builderForValue)
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;
Name | Description |
builderForValue | DtmfParameters.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
setEndUserSuggestionResults(int index, SuggestionResult value)
public AnalyzeContentResponse.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 = 7;
Name | Description |
index | int |
value | SuggestionResult |
Type | Description |
AnalyzeContentResponse.Builder |
setEndUserSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public AnalyzeContentResponse.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 = 7;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnalyzeContentResponse.Builder |
setHumanAgentSuggestionResults(int index, SuggestionResult value)
public AnalyzeContentResponse.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 = 6;
Name | Description |
index | int |
value | SuggestionResult |
Type | Description |
AnalyzeContentResponse.Builder |
setHumanAgentSuggestionResults(int index, SuggestionResult.Builder builderForValue)
public AnalyzeContentResponse.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 = 6;
Name | Description |
index | int |
builderForValue | SuggestionResult.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
setMessage(Message value)
public AnalyzeContentResponse.Builder setMessage(Message value)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 5;
Name | Description |
value | Message |
Type | Description |
AnalyzeContentResponse.Builder |
setMessage(Message.Builder builderForValue)
public AnalyzeContentResponse.Builder setMessage(Message.Builder builderForValue)
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 5;
Name | Description |
builderForValue | Message.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AnalyzeContentResponse.Builder |
setReplyAudio(OutputAudio value)
public AnalyzeContentResponse.Builder setReplyAudio(OutputAudio value)
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
Name | Description |
value | OutputAudio |
Type | Description |
AnalyzeContentResponse.Builder |
setReplyAudio(OutputAudio.Builder builderForValue)
public AnalyzeContentResponse.Builder setReplyAudio(OutputAudio.Builder builderForValue)
Optional. The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
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 = 2;
Name | Description |
builderForValue | OutputAudio.Builder |
Type | Description |
AnalyzeContentResponse.Builder |
setReplyText(String value)
public AnalyzeContentResponse.Builder setReplyText(String value)
Output only. The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
Name | Description |
value | String The replyText to set. |
Type | Description |
AnalyzeContentResponse.Builder | This builder for chaining. |
setReplyTextBytes(ByteString value)
public AnalyzeContentResponse.Builder setReplyTextBytes(ByteString value)
Output only. The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
Name | Description |
value | ByteString The bytes for replyText to set. |
Type | Description |
AnalyzeContentResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnalyzeContentResponse.Builder |