- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class ResponseMessage.Builder extends GeneratedMessageV3.Builder<ResponseMessage.Builder> implements ResponseMessageOrBuilder
Response messages from an automated agent.
Protobuf type google.cloud.dialogflow.v2beta1.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 |
clearEndInteraction()
public ResponseMessage.Builder clearEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
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 live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Type | Description |
ResponseMessage.Builder |
clearMessage()
public ResponseMessage.Builder clearMessage()
Type | Description |
ResponseMessage.Builder |
clearMixedAudio()
public ResponseMessage.Builder clearMixedAudio()
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Type | Description |
ResponseMessage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
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 |
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
Type | Description |
ResponseMessage.Builder |
clearText()
public ResponseMessage.Builder clearText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.Builder |
clone()
public ResponseMessage.Builder clone()
Type | Description |
ResponseMessage.Builder |
getDefaultInstanceForType()
public ResponseMessage getDefaultInstanceForType()
Type | Description |
ResponseMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndInteraction()
public ResponseMessage.EndInteraction getEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
Type | Description |
ResponseMessage.EndInteraction |
The endInteraction. |
getEndInteractionBuilder()
public ResponseMessage.EndInteraction.Builder getEndInteractionBuilder()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
Type | Description |
ResponseMessage.EndInteraction.Builder |
getEndInteractionOrBuilder()
public ResponseMessage.EndInteractionOrBuilder getEndInteractionOrBuilder()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
Type | Description |
ResponseMessage.EndInteractionOrBuilder |
getLiveAgentHandoff()
public ResponseMessage.LiveAgentHandoff getLiveAgentHandoff()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Type | Description |
ResponseMessage.LiveAgentHandoff |
The liveAgentHandoff. |
getLiveAgentHandoffBuilder()
public ResponseMessage.LiveAgentHandoff.Builder getLiveAgentHandoffBuilder()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Type | Description |
ResponseMessage.LiveAgentHandoff.Builder |
getLiveAgentHandoffOrBuilder()
public ResponseMessage.LiveAgentHandoffOrBuilder getLiveAgentHandoffOrBuilder()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Type | Description |
ResponseMessage.LiveAgentHandoffOrBuilder |
getMessageCase()
public ResponseMessage.MessageCase getMessageCase()
Type | Description |
ResponseMessage.MessageCase |
getMixedAudio()
public ResponseMessage.MixedAudio getMixedAudio()
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Type | Description |
ResponseMessage.MixedAudio |
The mixedAudio. |
getMixedAudioBuilder()
public ResponseMessage.MixedAudio.Builder getMixedAudioBuilder()
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Type | Description |
ResponseMessage.MixedAudio.Builder |
getMixedAudioOrBuilder()
public ResponseMessage.MixedAudioOrBuilder getMixedAudioOrBuilder()
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Type | Description |
ResponseMessage.MixedAudioOrBuilder |
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 |
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
Type | Description |
ResponseMessage.TelephonyTransferCallOrBuilder |
getText()
public ResponseMessage.Text getText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.Text |
The text. |
getTextBuilder()
public ResponseMessage.Text.Builder getTextBuilder()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.Text.Builder |
getTextOrBuilder()
public ResponseMessage.TextOrBuilder getTextOrBuilder()
Returns a text response.
.google.cloud.dialogflow.v2beta1.ResponseMessage.Text text = 1;
Type | Description |
ResponseMessage.TextOrBuilder |
hasEndInteraction()
public boolean hasEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
Type | Description |
boolean |
Whether the endInteraction field is set. |
hasLiveAgentHandoff()
public boolean hasLiveAgentHandoff()
Hands off conversation to a live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Type | Description |
boolean |
Whether the liveAgentHandoff field is set. |
hasMixedAudio()
public boolean hasMixedAudio()
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Type | Description |
boolean |
Whether the mixedAudio 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. |
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
Type | Description |
boolean |
Whether the telephonyTransferCall field is set. |
hasText()
public boolean hasText()
Returns a text response.
.google.cloud.dialogflow.v2beta1.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 |
mergeEndInteraction(ResponseMessage.EndInteraction value)
public ResponseMessage.Builder mergeEndInteraction(ResponseMessage.EndInteraction value)
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
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 live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Name | Description |
value |
ResponseMessage.LiveAgentHandoff |
Type | Description |
ResponseMessage.Builder |
mergeMixedAudio(ResponseMessage.MixedAudio value)
public ResponseMessage.Builder mergeMixedAudio(ResponseMessage.MixedAudio value)
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Name | Description |
value |
ResponseMessage.MixedAudio |
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 |
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
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.v2beta1.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 |
setEndInteraction(ResponseMessage.EndInteraction value)
public ResponseMessage.Builder setEndInteraction(ResponseMessage.EndInteraction value)
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
Name | Description |
value |
ResponseMessage.EndInteraction |
Type | Description |
ResponseMessage.Builder |
setEndInteraction(ResponseMessage.EndInteraction.Builder builderForValue)
public ResponseMessage.Builder setEndInteraction(ResponseMessage.EndInteraction.Builder builderForValue)
A signal that indicates the interaction with the Dialogflow agent has ended.
.google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction end_interaction = 4;
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 live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
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 live agent.
.google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff live_agent_handoff = 3;
Name | Description |
builderForValue |
ResponseMessage.LiveAgentHandoff.Builder |
Type | Description |
ResponseMessage.Builder |
setMixedAudio(ResponseMessage.MixedAudio value)
public ResponseMessage.Builder setMixedAudio(ResponseMessage.MixedAudio value)
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Name | Description |
value |
ResponseMessage.MixedAudio |
Type | Description |
ResponseMessage.Builder |
setMixedAudio(ResponseMessage.MixedAudio.Builder builderForValue)
public ResponseMessage.Builder setMixedAudio(ResponseMessage.MixedAudio.Builder builderForValue)
An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client.
.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio mixed_audio = 5;
Name | Description |
builderForValue |
ResponseMessage.MixedAudio.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 |
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
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.v2beta1.ResponseMessage.TelephonyTransferCall telephony_transfer_call = 6;
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.v2beta1.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.v2beta1.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 |