Class AnalyzeContentResponse.Builder (4.43.0)

public static final class AnalyzeContentResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeContentResponse.Builder> implements AnalyzeContentResponseOrBuilder

The response message for Participants.AnalyzeContent.

Protobuf type google.cloud.dialogflow.v2.AnalyzeContentResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.SuggestionResult>
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.SuggestionResult>
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
value SuggestionResult
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
builderForValue SuggestionResult.Builder
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameters
Name Description
index int
value SuggestionResult
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameters
Name Description
index int
builderForValue SuggestionResult.Builder
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Returns
Type Description
SuggestionResult.Builder

addEndUserSuggestionResultsBuilder(int index)

public SuggestionResult.Builder addEndUserSuggestionResultsBuilder(int index)

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
index int
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
value SuggestionResult
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
builderForValue SuggestionResult.Builder
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameters
Name Description
index int
value SuggestionResult
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameters
Name Description
index int
builderForValue SuggestionResult.Builder
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Returns
Type Description
SuggestionResult.Builder

addHumanAgentSuggestionResultsBuilder(int index)

public SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder(int index)

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

build()

public AnalyzeContentResponse build()
Returns
Type Description
AnalyzeContentResponse

buildPartial()

public AnalyzeContentResponse buildPartial()
Returns
Type Description
AnalyzeContentResponse

clear()

public AnalyzeContentResponse.Builder clear()
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

clearAutomatedAgentReply()

public AnalyzeContentResponse.Builder clearAutomatedAgentReply()

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Returns
Type Description
AnalyzeContentResponse.Builder

clearDtmfParameters()

public AnalyzeContentResponse.Builder clearDtmfParameters()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Returns
Type Description
AnalyzeContentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Returns
Type Description
AnalyzeContentResponse.Builder

clearMessage()

public AnalyzeContentResponse.Builder clearMessage()

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Returns
Type Description
AnalyzeContentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

clearReplyAudio()

public AnalyzeContentResponse.Builder clearReplyAudio()

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.v2.OutputAudio reply_audio = 2;

Returns
Type Description
AnalyzeContentResponse.Builder

clearReplyText()

public AnalyzeContentResponse.Builder clearReplyText()

The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Returns
Type Description
AnalyzeContentResponse.Builder

This builder for chaining.

clone()

public AnalyzeContentResponse.Builder clone()
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

getAutomatedAgentReply()

public AutomatedAgentReply getAutomatedAgentReply()

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Returns
Type Description
AutomatedAgentReply

The automatedAgentReply.

getAutomatedAgentReplyBuilder()

public AutomatedAgentReply.Builder getAutomatedAgentReplyBuilder()

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Returns
Type Description
AutomatedAgentReply.Builder

getAutomatedAgentReplyOrBuilder()

public AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Returns
Type Description
AutomatedAgentReplyOrBuilder

getDefaultInstanceForType()

public AnalyzeContentResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDtmfParameters()

public DtmfParameters getDtmfParameters()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Returns
Type Description
DtmfParameters

The dtmfParameters.

getDtmfParametersBuilder()

public DtmfParameters.Builder getDtmfParametersBuilder()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Returns
Type Description
DtmfParameters.Builder

getDtmfParametersOrBuilder()

public DtmfParametersOrBuilder getDtmfParametersOrBuilder()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Returns
Type Description
DtmfParametersOrBuilder

getEndUserSuggestionResults(int index)

public SuggestionResult getEndUserSuggestionResults(int index)

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResult

getEndUserSuggestionResultsBuilder(int index)

public SuggestionResult.Builder getEndUserSuggestionResultsBuilder(int index)

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResult.Builder

getEndUserSuggestionResultsBuilderList()

public List<SuggestionResult.Builder> getEndUserSuggestionResultsBuilderList()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Returns
Type Description
List<Builder>

getEndUserSuggestionResultsCount()

public int getEndUserSuggestionResultsCount()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Returns
Type Description
int

getEndUserSuggestionResultsList()

public List<SuggestionResult> getEndUserSuggestionResultsList()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Returns
Type Description
List<SuggestionResult>

getEndUserSuggestionResultsOrBuilder(int index)

public SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResultOrBuilder

getEndUserSuggestionResultsOrBuilderList()

public List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder>

getHumanAgentSuggestionResults(int index)

public SuggestionResult getHumanAgentSuggestionResults(int index)

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResult

getHumanAgentSuggestionResultsBuilder(int index)

public SuggestionResult.Builder getHumanAgentSuggestionResultsBuilder(int index)

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResult.Builder

getHumanAgentSuggestionResultsBuilderList()

public List<SuggestionResult.Builder> getHumanAgentSuggestionResultsBuilderList()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Returns
Type Description
List<Builder>

getHumanAgentSuggestionResultsCount()

public int getHumanAgentSuggestionResultsCount()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Returns
Type Description
int

getHumanAgentSuggestionResultsList()

public List<SuggestionResult> getHumanAgentSuggestionResultsList()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Returns
Type Description
List<SuggestionResult>

getHumanAgentSuggestionResultsOrBuilder(int index)

public SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
index int
Returns
Type Description
SuggestionResultOrBuilder

getHumanAgentSuggestionResultsOrBuilderList()

public List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SuggestionResultOrBuilder>

getMessage()

public Message getMessage()

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Returns
Type Description
Message

The message.

getMessageBuilder()

public Message.Builder getMessageBuilder()

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Returns
Type Description
Message.Builder

getMessageOrBuilder()

public MessageOrBuilder getMessageOrBuilder()

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Returns
Type Description
MessageOrBuilder

getReplyAudio()

public OutputAudio getReplyAudio()

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.v2.OutputAudio reply_audio = 2;

Returns
Type Description
OutputAudio

The replyAudio.

getReplyAudioBuilder()

public OutputAudio.Builder getReplyAudioBuilder()

The audio data bytes encoded as specified in the request. This field is set if:

  • 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.v2.OutputAudio reply_audio = 2;

Returns
Type Description
OutputAudio.Builder

getReplyAudioOrBuilder()

public OutputAudioOrBuilder getReplyAudioOrBuilder()

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.v2.OutputAudio reply_audio = 2;

Returns
Type Description
OutputAudioOrBuilder

getReplyText()

public String getReplyText()

The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Returns
Type Description
String

The replyText.

getReplyTextBytes()

public ByteString getReplyTextBytes()

The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Returns
Type Description
ByteString

The bytes for replyText.

hasAutomatedAgentReply()

public boolean hasAutomatedAgentReply()

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Returns
Type Description
boolean

Whether the automatedAgentReply field is set.

hasDtmfParameters()

public boolean hasDtmfParameters()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Returns
Type Description
boolean

Whether the dtmfParameters field is set.

hasMessage()

public boolean hasMessage()

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Returns
Type Description
boolean

Whether the message field is set.

hasReplyAudio()

public boolean hasReplyAudio()

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.v2.OutputAudio reply_audio = 2;

Returns
Type Description
boolean

Whether the replyAudio field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutomatedAgentReply(AutomatedAgentReply value)

public AnalyzeContentResponse.Builder mergeAutomatedAgentReply(AutomatedAgentReply value)

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Parameter
Name Description
value AutomatedAgentReply
Returns
Type Description
AnalyzeContentResponse.Builder

mergeDtmfParameters(DtmfParameters value)

public AnalyzeContentResponse.Builder mergeDtmfParameters(DtmfParameters value)

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Parameter
Name Description
value DtmfParameters
Returns
Type Description
AnalyzeContentResponse.Builder

mergeFrom(AnalyzeContentResponse other)

public AnalyzeContentResponse.Builder mergeFrom(AnalyzeContentResponse other)
Parameter
Name Description
other AnalyzeContentResponse
Returns
Type Description
AnalyzeContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeContentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

mergeMessage(Message value)

public AnalyzeContentResponse.Builder mergeMessage(Message value)

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Parameter
Name Description
value Message
Returns
Type Description
AnalyzeContentResponse.Builder

mergeReplyAudio(OutputAudio value)

public AnalyzeContentResponse.Builder mergeReplyAudio(OutputAudio value)

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.v2.OutputAudio reply_audio = 2;

Parameter
Name Description
value OutputAudio
Returns
Type Description
AnalyzeContentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameter
Name Description
index int
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeContentResponse.Builder

setAutomatedAgentReply(AutomatedAgentReply value)

public AnalyzeContentResponse.Builder setAutomatedAgentReply(AutomatedAgentReply value)

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Parameter
Name Description
value AutomatedAgentReply
Returns
Type Description
AnalyzeContentResponse.Builder

setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)

public AnalyzeContentResponse.Builder setAutomatedAgentReply(AutomatedAgentReply.Builder builderForValue)

Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use reply_audio instead.

.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;

Parameter
Name Description
builderForValue AutomatedAgentReply.Builder
Returns
Type Description
AnalyzeContentResponse.Builder

setDtmfParameters(DtmfParameters value)

public AnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters value)

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Parameter
Name Description
value DtmfParameters
Returns
Type Description
AnalyzeContentResponse.Builder

setDtmfParameters(DtmfParameters.Builder builderForValue)

public AnalyzeContentResponse.Builder setDtmfParameters(DtmfParameters.Builder builderForValue)

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;

Parameter
Name Description
builderForValue DtmfParameters.Builder
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameters
Name Description
index int
value SuggestionResult
Returns
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.

Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;

Parameters
Name Description
index int
builderForValue SuggestionResult.Builder
Returns
Type Description
AnalyzeContentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameters
Name Description
index int
value SuggestionResult
Returns
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.

Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.

repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;

Parameters
Name Description
index int
builderForValue SuggestionResult.Builder
Returns
Type Description
AnalyzeContentResponse.Builder

setMessage(Message value)

public AnalyzeContentResponse.Builder setMessage(Message value)

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Parameter
Name Description
value Message
Returns
Type Description
AnalyzeContentResponse.Builder

setMessage(Message.Builder builderForValue)

public AnalyzeContentResponse.Builder setMessage(Message.Builder builderForValue)

Message analyzed by CCAI.

.google.cloud.dialogflow.v2.Message message = 5;

Parameter
Name Description
builderForValue Message.Builder
Returns
Type Description
AnalyzeContentResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides

setReplyAudio(OutputAudio value)

public AnalyzeContentResponse.Builder setReplyAudio(OutputAudio value)

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.v2.OutputAudio reply_audio = 2;

Parameter
Name Description
value OutputAudio
Returns
Type Description
AnalyzeContentResponse.Builder

setReplyAudio(OutputAudio.Builder builderForValue)

public AnalyzeContentResponse.Builder setReplyAudio(OutputAudio.Builder builderForValue)

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.v2.OutputAudio reply_audio = 2;

Parameter
Name Description
builderForValue OutputAudio.Builder
Returns
Type Description
AnalyzeContentResponse.Builder

setReplyText(String value)

public AnalyzeContentResponse.Builder setReplyText(String value)

The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Parameter
Name Description
value String

The replyText to set.

Returns
Type Description
AnalyzeContentResponse.Builder

This builder for chaining.

setReplyTextBytes(ByteString value)

public AnalyzeContentResponse.Builder setReplyTextBytes(ByteString value)

The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Parameter
Name Description
value ByteString

The bytes for replyText to set.

Returns
Type Description
AnalyzeContentResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeContentResponse.Builder
Overrides