- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ResponseMessage.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResponseMessage.BuilderImplements
ResponseMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResponseMessage.Builder |
build()
public ResponseMessage build()
Type | Description |
ResponseMessage |
buildPartial()
public ResponseMessage buildPartial()
Type | Description |
ResponseMessage |
clear()
public ResponseMessage.Builder clear()
Type | Description |
ResponseMessage.Builder |
clearChannel()
public ResponseMessage.Builder clearChannel()
The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
string channel = 19;
Type | Description |
ResponseMessage.Builder | This builder for chaining. |
clearConversationSuccess()
public ResponseMessage.Builder clearConversationSuccess()
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Type | Description |
ResponseMessage.Builder |
clearEndInteraction()
public ResponseMessage.Builder 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];
Type | Description |
ResponseMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResponseMessage.Builder |
clearLiveAgentHandoff()
public ResponseMessage.Builder clearLiveAgentHandoff()
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Type | Description |
ResponseMessage.Builder |
clearMessage()
public ResponseMessage.Builder clearMessage()
Type | Description |
ResponseMessage.Builder |
clearMixedAudio()
public ResponseMessage.Builder clearMixedAudio()
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Type | Description |
ResponseMessage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ResponseMessage.Builder |
clearOutputAudioText()
public ResponseMessage.Builder 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;
Type | Description |
ResponseMessage.Builder |
clearPayload()
public ResponseMessage.Builder clearPayload()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Type | Description |
ResponseMessage.Builder |
clearPlayAudio()
public ResponseMessage.Builder clearPlayAudio()
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Type | Description |
ResponseMessage.Builder |
clearTelephonyTransferCall()
public ResponseMessage.Builder 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;
Type | Description |
ResponseMessage.Builder |
clearText()
public ResponseMessage.Builder clearText()
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.Builder |
clone()
public ResponseMessage.Builder clone()
Type | Description |
ResponseMessage.Builder |
getChannel()
public String getChannel()
The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
string channel = 19;
Type | Description |
String | The channel. |
getChannelBytes()
public ByteString getChannelBytes()
The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
string channel = 19;
Type | Description |
ByteString | The bytes for channel. |
getConversationSuccess()
public ResponseMessage.ConversationSuccess getConversationSuccess()
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Type | Description |
ResponseMessage.ConversationSuccess | The conversationSuccess. |
getConversationSuccessBuilder()
public ResponseMessage.ConversationSuccess.Builder getConversationSuccessBuilder()
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Type | Description |
ResponseMessage.ConversationSuccess.Builder |
getConversationSuccessOrBuilder()
public ResponseMessage.ConversationSuccessOrBuilder getConversationSuccessOrBuilder()
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Type | Description |
ResponseMessage.ConversationSuccessOrBuilder |
getDefaultInstanceForType()
public ResponseMessage getDefaultInstanceForType()
Type | Description |
ResponseMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndInteraction()
public ResponseMessage.EndInteraction 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];
Type | Description |
ResponseMessage.EndInteraction | The endInteraction. |
getEndInteractionBuilder()
public ResponseMessage.EndInteraction.Builder 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];
Type | Description |
ResponseMessage.EndInteraction.Builder |
getEndInteractionOrBuilder()
public ResponseMessage.EndInteractionOrBuilder 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];
Type | Description |
ResponseMessage.EndInteractionOrBuilder |
getLiveAgentHandoff()
public ResponseMessage.LiveAgentHandoff getLiveAgentHandoff()
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Type | Description |
ResponseMessage.LiveAgentHandoff | The liveAgentHandoff. |
getLiveAgentHandoffBuilder()
public ResponseMessage.LiveAgentHandoff.Builder getLiveAgentHandoffBuilder()
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Type | Description |
ResponseMessage.LiveAgentHandoff.Builder |
getLiveAgentHandoffOrBuilder()
public ResponseMessage.LiveAgentHandoffOrBuilder getLiveAgentHandoffOrBuilder()
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Type | Description |
ResponseMessage.LiveAgentHandoffOrBuilder |
getMessageCase()
public ResponseMessage.MessageCase getMessageCase()
Type | Description |
ResponseMessage.MessageCase |
getMixedAudio()
public ResponseMessage.MixedAudio getMixedAudio()
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Type | Description |
ResponseMessage.MixedAudio | The mixedAudio. |
getMixedAudioBuilder()
public ResponseMessage.MixedAudio.Builder getMixedAudioBuilder()
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Type | Description |
ResponseMessage.MixedAudio.Builder |
getMixedAudioOrBuilder()
public ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder()
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Type | Description |
ResponseMessage.MixedAudioOrBuilder |
getOutputAudioText()
public ResponseMessage.OutputAudioText 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;
Type | Description |
ResponseMessage.OutputAudioText | The outputAudioText. |
getOutputAudioTextBuilder()
public ResponseMessage.OutputAudioText.Builder 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;
Type | Description |
ResponseMessage.OutputAudioText.Builder |
getOutputAudioTextOrBuilder()
public ResponseMessage.OutputAudioTextOrBuilder 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;
Type | Description |
ResponseMessage.OutputAudioTextOrBuilder |
getPayload()
public Struct getPayload()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Type | Description |
Struct | The payload. |
getPayloadBuilder()
public Struct.Builder getPayloadBuilder()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Type | Description |
Builder |
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Type | Description |
StructOrBuilder |
getPlayAudio()
public ResponseMessage.PlayAudio getPlayAudio()
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Type | Description |
ResponseMessage.PlayAudio | The playAudio. |
getPlayAudioBuilder()
public ResponseMessage.PlayAudio.Builder getPlayAudioBuilder()
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Type | Description |
ResponseMessage.PlayAudio.Builder |
getPlayAudioOrBuilder()
public ResponseMessage.PlayAudioOrBuilder getPlayAudioOrBuilder()
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Type | Description |
ResponseMessage.PlayAudioOrBuilder |
getTelephonyTransferCall()
public ResponseMessage.TelephonyTransferCall 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;
Type | Description |
ResponseMessage.TelephonyTransferCall | The telephonyTransferCall. |
getTelephonyTransferCallBuilder()
public ResponseMessage.TelephonyTransferCall.Builder 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;
Type | Description |
ResponseMessage.TelephonyTransferCall.Builder |
getTelephonyTransferCallOrBuilder()
public ResponseMessage.TelephonyTransferCallOrBuilder 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;
Type | Description |
ResponseMessage.TelephonyTransferCallOrBuilder |
getText()
public ResponseMessage.Text getText()
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.Text | The text. |
getTextBuilder()
public ResponseMessage.Text.Builder getTextBuilder()
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.Text.Builder |
getTextOrBuilder()
public ResponseMessage.TextOrBuilder getTextOrBuilder()
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.TextOrBuilder |
hasConversationSuccess()
public boolean hasConversationSuccess()
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Type | Description |
boolean | Whether the conversationSuccess field is set. |
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];
Type | Description |
boolean | Whether the endInteraction field is set. |
hasLiveAgentHandoff()
public boolean hasLiveAgentHandoff()
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Type | Description |
boolean | Whether the liveAgentHandoff field is set. |
hasMixedAudio()
public boolean hasMixedAudio()
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Type | Description |
boolean | Whether the mixedAudio field is set. |
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;
Type | Description |
boolean | Whether the outputAudioText field is set. |
hasPayload()
public boolean hasPayload()
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Type | Description |
boolean | Whether the payload field is set. |
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. 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;
Type | Description |
boolean | Whether the playAudio field is set. |
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;
Type | Description |
boolean | Whether the telephonyTransferCall field is set. |
hasText()
public boolean hasText()
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Type | Description |
boolean | Whether the text field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConversationSuccess(ResponseMessage.ConversationSuccess value)
public ResponseMessage.Builder mergeConversationSuccess(ResponseMessage.ConversationSuccess value)
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Name | Description |
value | ResponseMessage.ConversationSuccess |
Type | Description |
ResponseMessage.Builder |
mergeEndInteraction(ResponseMessage.EndInteraction value)
public ResponseMessage.Builder mergeEndInteraction(ResponseMessage.EndInteraction value)
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];
Name | Description |
value | ResponseMessage.EndInteraction |
Type | Description |
ResponseMessage.Builder |
mergeFrom(ResponseMessage other)
public ResponseMessage.Builder mergeFrom(ResponseMessage other)
Name | Description |
other | ResponseMessage |
Type | Description |
ResponseMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResponseMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResponseMessage.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResponseMessage.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResponseMessage.Builder |
mergeLiveAgentHandoff(ResponseMessage.LiveAgentHandoff value)
public ResponseMessage.Builder mergeLiveAgentHandoff(ResponseMessage.LiveAgentHandoff value)
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Name | Description |
value | ResponseMessage.LiveAgentHandoff |
Type | Description |
ResponseMessage.Builder |
mergeMixedAudio(ResponseMessage.MixedAudio value)
public ResponseMessage.Builder mergeMixedAudio(ResponseMessage.MixedAudio value)
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Name | Description |
value | ResponseMessage.MixedAudio |
Type | Description |
ResponseMessage.Builder |
mergeOutputAudioText(ResponseMessage.OutputAudioText value)
public ResponseMessage.Builder mergeOutputAudioText(ResponseMessage.OutputAudioText value)
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;
Name | Description |
value | ResponseMessage.OutputAudioText |
Type | Description |
ResponseMessage.Builder |
mergePayload(Struct value)
public ResponseMessage.Builder mergePayload(Struct value)
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Name | Description |
value | Struct |
Type | Description |
ResponseMessage.Builder |
mergePlayAudio(ResponseMessage.PlayAudio value)
public ResponseMessage.Builder mergePlayAudio(ResponseMessage.PlayAudio value)
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Name | Description |
value | ResponseMessage.PlayAudio |
Type | Description |
ResponseMessage.Builder |
mergeTelephonyTransferCall(ResponseMessage.TelephonyTransferCall value)
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;
Name | Description |
value | ResponseMessage.TelephonyTransferCall |
Type | Description |
ResponseMessage.Builder |
mergeText(ResponseMessage.Text value)
public ResponseMessage.Builder mergeText(ResponseMessage.Text value)
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Name | Description |
value | ResponseMessage.Text |
Type | Description |
ResponseMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResponseMessage.Builder |
setChannel(String value)
public ResponseMessage.Builder setChannel(String value)
The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
string channel = 19;
Name | Description |
value | String The channel to set. |
Type | Description |
ResponseMessage.Builder | This builder for chaining. |
setChannelBytes(ByteString value)
public ResponseMessage.Builder setChannelBytes(ByteString value)
The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
string channel = 19;
Name | Description |
value | ByteString The bytes for channel to set. |
Type | Description |
ResponseMessage.Builder | This builder for chaining. |
setConversationSuccess(ResponseMessage.ConversationSuccess value)
public ResponseMessage.Builder setConversationSuccess(ResponseMessage.ConversationSuccess value)
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Name | Description |
value | ResponseMessage.ConversationSuccess |
Type | Description |
ResponseMessage.Builder |
setConversationSuccess(ResponseMessage.ConversationSuccess.Builder builderForValue)
public ResponseMessage.Builder setConversationSuccess(ResponseMessage.ConversationSuccess.Builder builderForValue)
Indicates that the conversation succeeded.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.ConversationSuccess conversation_success = 9;
Name | Description |
builderForValue | ResponseMessage.ConversationSuccess.Builder |
Type | Description |
ResponseMessage.Builder |
setEndInteraction(ResponseMessage.EndInteraction value)
public ResponseMessage.Builder setEndInteraction(ResponseMessage.EndInteraction value)
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];
Name | Description |
value | ResponseMessage.EndInteraction |
Type | Description |
ResponseMessage.Builder |
setEndInteraction(ResponseMessage.EndInteraction.Builder builderForValue)
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];
Name | Description |
builderForValue | ResponseMessage.EndInteraction.Builder |
Type | Description |
ResponseMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResponseMessage.Builder |
setLiveAgentHandoff(ResponseMessage.LiveAgentHandoff value)
public ResponseMessage.Builder setLiveAgentHandoff(ResponseMessage.LiveAgentHandoff value)
Hands off conversation to a human agent.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 10;
Name | Description |
value | ResponseMessage.LiveAgentHandoff |
Type | Description |
ResponseMessage.Builder |
setLiveAgentHandoff(ResponseMessage.LiveAgentHandoff.Builder builderForValue)
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;
Name | Description |
builderForValue | ResponseMessage.LiveAgentHandoff.Builder |
Type | Description |
ResponseMessage.Builder |
setMixedAudio(ResponseMessage.MixedAudio value)
public ResponseMessage.Builder setMixedAudio(ResponseMessage.MixedAudio value)
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Name | Description |
value | ResponseMessage.MixedAudio |
Type | Description |
ResponseMessage.Builder |
setMixedAudio(ResponseMessage.MixedAudio.Builder builderForValue)
public ResponseMessage.Builder setMixedAudio(ResponseMessage.MixedAudio.Builder builderForValue)
Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via 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];
Name | Description |
builderForValue | ResponseMessage.MixedAudio.Builder |
Type | Description |
ResponseMessage.Builder |
setOutputAudioText(ResponseMessage.OutputAudioText value)
public ResponseMessage.Builder setOutputAudioText(ResponseMessage.OutputAudioText value)
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;
Name | Description |
value | ResponseMessage.OutputAudioText |
Type | Description |
ResponseMessage.Builder |
setOutputAudioText(ResponseMessage.OutputAudioText.Builder builderForValue)
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;
Name | Description |
builderForValue | ResponseMessage.OutputAudioText.Builder |
Type | Description |
ResponseMessage.Builder |
setPayload(Struct value)
public ResponseMessage.Builder setPayload(Struct value)
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Name | Description |
value | Struct |
Type | Description |
ResponseMessage.Builder |
setPayload(Struct.Builder builderForValue)
public ResponseMessage.Builder setPayload(Struct.Builder builderForValue)
Returns a response containing a custom, platform-specific payload.
.google.protobuf.Struct payload = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
ResponseMessage.Builder |
setPlayAudio(ResponseMessage.PlayAudio value)
public ResponseMessage.Builder setPlayAudio(ResponseMessage.PlayAudio value)
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Name | Description |
value | ResponseMessage.PlayAudio |
Type | Description |
ResponseMessage.Builder |
setPlayAudio(ResponseMessage.PlayAudio.Builder builderForValue)
public ResponseMessage.Builder setPlayAudio(ResponseMessage.PlayAudio.Builder builderForValue)
Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct 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;
Name | Description |
builderForValue | ResponseMessage.PlayAudio.Builder |
Type | Description |
ResponseMessage.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ResponseMessage.Builder |
setTelephonyTransferCall(ResponseMessage.TelephonyTransferCall value)
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;
Name | Description |
value | ResponseMessage.TelephonyTransferCall |
Type | Description |
ResponseMessage.Builder |
setTelephonyTransferCall(ResponseMessage.TelephonyTransferCall.Builder builderForValue)
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;
Name | Description |
builderForValue | ResponseMessage.TelephonyTransferCall.Builder |
Type | Description |
ResponseMessage.Builder |
setText(ResponseMessage.Text value)
public ResponseMessage.Builder setText(ResponseMessage.Text value)
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Name | Description |
value | ResponseMessage.Text |
Type | Description |
ResponseMessage.Builder |
setText(ResponseMessage.Text.Builder builderForValue)
public ResponseMessage.Builder setText(ResponseMessage.Text.Builder builderForValue)
Returns a text response.
.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text = 1;
Name | Description |
builderForValue | ResponseMessage.Text.Builder |
Type | Description |
ResponseMessage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResponseMessage.Builder |