Class ResponseMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResponseMessage.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Builder
- All Implemented Interfaces:
ResponseMessageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResponseMessage
public static final class ResponseMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResponseMessage.Builder>
implements ResponseMessageOrBuilder
Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.Protobuf type
google.cloud.dialogflow.cx.v3beta1.ResponseMessage-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The channel which the response is associated with.Indicates that the conversation succeeded.Output only.Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.Hands off conversation to a human agent.Output only.A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.Returns a response containing a custom, platform-specific payload.Signal that the client should play an audio clip hosted at a client-specific URI.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.Returns a text response.Returns the definition of a tool call that should be executed by the client.The channel which the response is associated with.com.google.protobuf.ByteStringThe channel which the response is associated with.Indicates that the conversation succeeded.Indicates that the conversation succeeded.Indicates that the conversation succeeded.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.Hands off conversation to a human agent.Hands off conversation to a human agent.Hands off conversation to a human agent.Output only.Output only.Output only.A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.com.google.protobuf.StructReturns a response containing a custom, platform-specific payload.com.google.protobuf.Struct.BuilderReturns a response containing a custom, platform-specific payload.com.google.protobuf.StructOrBuilderReturns a response containing a custom, platform-specific payload.Signal that the client should play an audio clip hosted at a client-specific URI.Signal that the client should play an audio clip hosted at a client-specific URI.Signal that the client should play an audio clip hosted at a client-specific URI.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.getText()Returns a text response.Returns a text response.Returns a text response.Returns the definition of a tool call that should be executed by the client.Returns the definition of a tool call that should be executed by the client.Returns the definition of a tool call that should be executed by the client.booleanIndicates that the conversation succeeded.booleanOutput only.booleanRepresents info card for knowledge answers, to be better rendered in Dialogflow Messenger.booleanHands off conversation to a human agent.booleanOutput only.booleanA text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.booleanReturns a response containing a custom, platform-specific payload.booleanSignal that the client should play an audio clip hosted at a client-specific URI.booleanA signal that the client should transfer the phone call connected to this agent to a third-party endpoint.booleanhasText()Returns a text response.booleanReturns the definition of a tool call that should be executed by the client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanIndicates that the conversation succeeded.Output only.mergeFrom(ResponseMessage other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.Hands off conversation to a human agent.Output only.A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.mergePayload(com.google.protobuf.Struct value) Returns a response containing a custom, platform-specific payload.Signal that the client should play an audio clip hosted at a client-specific URI.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.mergeText(ResponseMessage.Text value) Returns a text response.mergeToolCall(ToolCall value) Returns the definition of a tool call that should be executed by the client.setChannel(String value) The channel which the response is associated with.setChannelBytes(com.google.protobuf.ByteString value) The channel which the response is associated with.Indicates that the conversation succeeded.setConversationSuccess(ResponseMessage.ConversationSuccess.Builder builderForValue) Indicates that the conversation succeeded.Output only.setEndInteraction(ResponseMessage.EndInteraction.Builder builderForValue) Output only.Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.setKnowledgeInfoCard(ResponseMessage.KnowledgeInfoCard.Builder builderForValue) Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.Hands off conversation to a human agent.setLiveAgentHandoff(ResponseMessage.LiveAgentHandoff.Builder builderForValue) Hands off conversation to a human agent.Output only.setMixedAudio(ResponseMessage.MixedAudio.Builder builderForValue) Output only.A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.setOutputAudioText(ResponseMessage.OutputAudioText.Builder builderForValue) A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.setPayload(com.google.protobuf.Struct value) Returns a response containing a custom, platform-specific payload.setPayload(com.google.protobuf.Struct.Builder builderForValue) Returns a response containing a custom, platform-specific payload.Signal that the client should play an audio clip hosted at a client-specific URI.setPlayAudio(ResponseMessage.PlayAudio.Builder builderForValue) Signal that the client should play an audio clip hosted at a client-specific URI.A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.setTelephonyTransferCall(ResponseMessage.TelephonyTransferCall.Builder builderForValue) A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.setText(ResponseMessage.Text value) Returns a text response.setText(ResponseMessage.Text.Builder builderForValue) Returns a text response.setToolCall(ToolCall value) Returns the definition of a tool call that should be executed by the client.setToolCall(ToolCall.Builder builderForValue) Returns the definition of a tool call that should be executed by the client.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMessage.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResponseMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResponseMessage.Builder>
-
mergeFrom
public ResponseMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResponseMessage.Builder>- Throws:
IOException
-
getMessageCase
- Specified by:
getMessageCasein interfaceResponseMessageOrBuilder
-
clearMessage
-
hasText
public boolean hasText()Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;- Specified by:
hasTextin interfaceResponseMessageOrBuilder- Returns:
- Whether the text field is set.
-
getText
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;- Specified by:
getTextin interfaceResponseMessageOrBuilder- Returns:
- The text.
-
setText
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1; -
setText
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1; -
mergeText
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1; -
clearText
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1; -
getTextBuilder
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1; -
getTextOrBuilder
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;- Specified by:
getTextOrBuilderin interfaceResponseMessageOrBuilder
-
hasPayload
public boolean hasPayload()Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;- Specified by:
hasPayloadin interfaceResponseMessageOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.Struct getPayload()Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;- Specified by:
getPayloadin interfaceResponseMessageOrBuilder- Returns:
- The payload.
-
setPayload
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2; -
setPayload
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2; -
mergePayload
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2; -
clearPayload
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2; -
getPayloadBuilder
public com.google.protobuf.Struct.Builder getPayloadBuilder()Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2; -
getPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;- Specified by:
getPayloadOrBuilderin interfaceResponseMessageOrBuilder
-
hasConversationSuccess
public boolean hasConversationSuccess()Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;- Specified by:
hasConversationSuccessin interfaceResponseMessageOrBuilder- Returns:
- Whether the conversationSuccess field is set.
-
getConversationSuccess
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;- Specified by:
getConversationSuccessin interfaceResponseMessageOrBuilder- Returns:
- The conversationSuccess.
-
setConversationSuccess
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9; -
setConversationSuccess
public ResponseMessage.Builder setConversationSuccess(ResponseMessage.ConversationSuccess.Builder builderForValue) Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9; -
mergeConversationSuccess
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9; -
clearConversationSuccess
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9; -
getConversationSuccessBuilder
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9; -
getConversationSuccessOrBuilder
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;- Specified by:
getConversationSuccessOrBuilderin interfaceResponseMessageOrBuilder
-
hasOutputAudioText
public boolean hasOutputAudioText()A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8;- Specified by:
hasOutputAudioTextin interfaceResponseMessageOrBuilder- Returns:
- Whether the outputAudioText field is set.
-
getOutputAudioText
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8;- Specified by:
getOutputAudioTextin interfaceResponseMessageOrBuilder- Returns:
- The outputAudioText.
-
setOutputAudioText
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8; -
setOutputAudioText
public ResponseMessage.Builder setOutputAudioText(ResponseMessage.OutputAudioText.Builder builderForValue) A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8; -
mergeOutputAudioText
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8; -
clearOutputAudioText
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8; -
getOutputAudioTextBuilder
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8; -
getOutputAudioTextOrBuilder
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.OutputAudioText output_audio_text = 8;- Specified by:
getOutputAudioTextOrBuilderin interfaceResponseMessageOrBuilder
-
hasLiveAgentHandoff
public boolean hasLiveAgentHandoff()Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;- Specified by:
hasLiveAgentHandoffin interfaceResponseMessageOrBuilder- Returns:
- Whether the liveAgentHandoff field is set.
-
getLiveAgentHandoff
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;- Specified by:
getLiveAgentHandoffin interfaceResponseMessageOrBuilder- Returns:
- The liveAgentHandoff.
-
setLiveAgentHandoff
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; -
setLiveAgentHandoff
public ResponseMessage.Builder setLiveAgentHandoff(ResponseMessage.LiveAgentHandoff.Builder builderForValue) Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; -
mergeLiveAgentHandoff
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; -
clearLiveAgentHandoff
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; -
getLiveAgentHandoffBuilder
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10; -
getLiveAgentHandoffOrBuilder
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;- Specified by:
getLiveAgentHandoffOrBuilderin interfaceResponseMessageOrBuilder
-
hasEndInteraction
public boolean hasEndInteraction()Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndInteractionin interfaceResponseMessageOrBuilder- Returns:
- Whether the endInteraction field is set.
-
getEndInteraction
Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndInteractionin interfaceResponseMessageOrBuilder- Returns:
- The endInteraction.
-
setEndInteraction
Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndInteraction
public ResponseMessage.Builder setEndInteraction(ResponseMessage.EndInteraction.Builder builderForValue) Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndInteraction
Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndInteraction
Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndInteractionBuilder
Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndInteractionOrBuilder
Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.EndInteraction end_interaction = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndInteractionOrBuilderin interfaceResponseMessageOrBuilder
-
hasPlayAudio
public boolean hasPlayAudio()Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;- Specified by:
hasPlayAudioin interfaceResponseMessageOrBuilder- Returns:
- Whether the playAudio field is set.
-
getPlayAudio
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;- Specified by:
getPlayAudioin interfaceResponseMessageOrBuilder- Returns:
- The playAudio.
-
setPlayAudio
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; -
setPlayAudio
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; -
mergePlayAudio
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; -
clearPlayAudio
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; -
getPlayAudioBuilder
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12; -
getPlayAudioOrBuilder
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct [mixed_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.mixed_audio]. However, Dialogflow itself does not try to read or process the URI in any way.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.PlayAudio play_audio = 12;- Specified by:
getPlayAudioOrBuilderin interfaceResponseMessageOrBuilder
-
hasMixedAudio
public boolean hasMixedAudio()Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMixedAudioin interfaceResponseMessageOrBuilder- Returns:
- Whether the mixedAudio field is set.
-
getMixedAudio
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMixedAudioin interfaceResponseMessageOrBuilder- Returns:
- The mixedAudio.
-
setMixedAudio
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMixedAudio
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMixedAudio
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMixedAudio
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMixedAudioBuilder
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMixedAudioOrBuilder
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via [play_audio][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio mixed_audio = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMixedAudioOrBuilderin interfaceResponseMessageOrBuilder
-
hasTelephonyTransferCall
public boolean hasTelephonyTransferCall()A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18;- Specified by:
hasTelephonyTransferCallin interfaceResponseMessageOrBuilder- Returns:
- Whether the telephonyTransferCall field is set.
-
getTelephonyTransferCall
A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18;- Specified by:
getTelephonyTransferCallin interfaceResponseMessageOrBuilder- Returns:
- The telephonyTransferCall.
-
setTelephonyTransferCall
public ResponseMessage.Builder setTelephonyTransferCall(ResponseMessage.TelephonyTransferCall value) A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18; -
setTelephonyTransferCall
public ResponseMessage.Builder setTelephonyTransferCall(ResponseMessage.TelephonyTransferCall.Builder builderForValue) A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18; -
mergeTelephonyTransferCall
public ResponseMessage.Builder mergeTelephonyTransferCall(ResponseMessage.TelephonyTransferCall value) A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18; -
clearTelephonyTransferCall
A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18; -
getTelephonyTransferCallBuilder
A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18; -
getTelephonyTransferCallOrBuilder
A signal that the client should transfer the phone call connected to this agent to a third-party endpoint.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 18;- Specified by:
getTelephonyTransferCallOrBuilderin interfaceResponseMessageOrBuilder
-
hasKnowledgeInfoCard
public boolean hasKnowledgeInfoCard()Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20;- Specified by:
hasKnowledgeInfoCardin interfaceResponseMessageOrBuilder- Returns:
- Whether the knowledgeInfoCard field is set.
-
getKnowledgeInfoCard
Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20;- Specified by:
getKnowledgeInfoCardin interfaceResponseMessageOrBuilder- Returns:
- The knowledgeInfoCard.
-
setKnowledgeInfoCard
Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20; -
setKnowledgeInfoCard
public ResponseMessage.Builder setKnowledgeInfoCard(ResponseMessage.KnowledgeInfoCard.Builder builderForValue) Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20; -
mergeKnowledgeInfoCard
Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20; -
clearKnowledgeInfoCard
Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20; -
getKnowledgeInfoCardBuilder
Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20; -
getKnowledgeInfoCardOrBuilder
Represents info card for knowledge answers, to be better rendered in Dialogflow Messenger.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard knowledge_info_card = 20;- Specified by:
getKnowledgeInfoCardOrBuilderin interfaceResponseMessageOrBuilder
-
hasToolCall
public boolean hasToolCall()Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22;- Specified by:
hasToolCallin interfaceResponseMessageOrBuilder- Returns:
- Whether the toolCall field is set.
-
getToolCall
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22;- Specified by:
getToolCallin interfaceResponseMessageOrBuilder- Returns:
- The toolCall.
-
setToolCall
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22; -
setToolCall
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22; -
mergeToolCall
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22; -
clearToolCall
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22; -
getToolCallBuilder
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22; -
getToolCallOrBuilder
Returns the definition of a tool call that should be executed by the client.
.google.cloud.dialogflow.cx.v3beta1.ToolCall tool_call = 22;- Specified by:
getToolCallOrBuilderin interfaceResponseMessageOrBuilder
-
getChannel
The channel which the response is associated with. Clients can specify the channel via [QueryParameters.channel][google.cloud.dialogflow.cx.v3beta1.QueryParameters.channel], and only associated channel response will be returned.
string channel = 19;- Specified by:
getChannelin interfaceResponseMessageOrBuilder- Returns:
- The channel.
-
getChannelBytes
public com.google.protobuf.ByteString getChannelBytes()The channel which the response is associated with. Clients can specify the channel via [QueryParameters.channel][google.cloud.dialogflow.cx.v3beta1.QueryParameters.channel], and only associated channel response will be returned.
string channel = 19;- Specified by:
getChannelBytesin interfaceResponseMessageOrBuilder- Returns:
- The bytes for channel.
-
setChannel
The channel which the response is associated with. Clients can specify the channel via [QueryParameters.channel][google.cloud.dialogflow.cx.v3beta1.QueryParameters.channel], and only associated channel response will be returned.
string channel = 19;- Parameters:
value- The channel to set.- Returns:
- This builder for chaining.
-
clearChannel
The channel which the response is associated with. Clients can specify the channel via [QueryParameters.channel][google.cloud.dialogflow.cx.v3beta1.QueryParameters.channel], and only associated channel response will be returned.
string channel = 19;- Returns:
- This builder for chaining.
-
setChannelBytes
The channel which the response is associated with. Clients can specify the channel via [QueryParameters.channel][google.cloud.dialogflow.cx.v3beta1.QueryParameters.channel], and only associated channel response will be returned.
string channel = 19;- Parameters:
value- The bytes for channel to set.- Returns:
- This builder for chaining.
-