Package com.google.cloud.dialogflow.v2
Interface AutomatedAgentReplyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutomatedAgentReply,AutomatedAgentReply.Builder
public interface AutomatedAgentReplyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAllowCancellation()Indicates whether the partial automated agent reply is interruptible when a later reply message arrives.AutomatedAgentReply.AutomatedAgentReplyTypegetAutomatedAgentReplyType()AutomatedAgentReply type.intgetAutomatedAgentReplyTypeValue()AutomatedAgentReply type.StringgetCxCurrentPage()The unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.ByteStringgetCxCurrentPageBytes()The unique identifier of the current Dialogflow CX conversation page.DetectIntentResponsegetDetectIntentResponse()Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.DetectIntentResponseOrBuildergetDetectIntentResponseOrBuilder()Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.booleanhasDetectIntentResponse()Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDetectIntentResponse
boolean hasDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;- Returns:
- Whether the detectIntentResponse field is set.
-
getDetectIntentResponse
DetectIntentResponse getDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;- Returns:
- The detectIntentResponse.
-
getDetectIntentResponseOrBuilder
DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2.DetectIntentResponse detect_intent_response = 1;
-
getAutomatedAgentReplyTypeValue
int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Returns:
- The enum numeric value on the wire for automatedAgentReplyType.
-
getAutomatedAgentReplyType
AutomatedAgentReply.AutomatedAgentReplyType getAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;- Returns:
- The automatedAgentReplyType.
-
getAllowCancellation
boolean getAllowCancellation()
Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
bool allow_cancellation = 8;- Returns:
- The allowCancellation.
-
getCxCurrentPage
String getCxCurrentPage()
The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Returns:
- The cxCurrentPage.
-
getCxCurrentPageBytes
com.google.protobuf.ByteString getCxCurrentPageBytes()
The unique identifier of the current Dialogflow CX conversation page. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string cx_current_page = 11;- Returns:
- The bytes for cxCurrentPage.
-
-