public interface AutomatedAgentReplyOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowCancellation()
Indicates whether the partial automated agent reply is interruptible when a
later reply message arrives.
|
AutomatedAgentReply.AutomatedAgentReplyType |
getAutomatedAgentReplyType()
AutomatedAgentReply type.
|
int |
getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
|
Struct |
getCxSessionParameters()
Deprecated.
google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is
deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487
|
StructOrBuilder |
getCxSessionParametersOrBuilder()
Deprecated.
|
DetectIntentResponse |
getDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
|
DetectIntentResponseOrBuilder |
getDetectIntentResponseOrBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
|
String |
getEvent()
Event name if an event is triggered for the query.
|
ByteString |
getEventBytes()
Event name if an event is triggered for the query.
|
String |
getIntent()
Name of the intent if an intent is matched for the query.
|
ByteString |
getIntentBytes()
Name of the intent if an intent is matched for the query.
|
AutomatedAgentReply.MatchCase |
getMatchCase() |
float |
getMatchConfidence()
The confidence of the match.
|
Struct |
getParameters()
The collection of current parameters at the time of this response.
|
StructOrBuilder |
getParametersOrBuilder()
The collection of current parameters at the time of this response.
|
AutomatedAgentReply.ResponseCase |
getResponseCase() |
ResponseMessage |
getResponseMessages(int index)
Response messages from the automated agent.
|
int |
getResponseMessagesCount()
Response messages from the automated agent.
|
List<ResponseMessage> |
getResponseMessagesList()
Response messages from the automated agent.
|
ResponseMessageOrBuilder |
getResponseMessagesOrBuilder(int index)
Response messages from the automated agent.
|
List<? extends ResponseMessageOrBuilder> |
getResponseMessagesOrBuilderList()
Response messages from the automated agent.
|
boolean |
hasCxSessionParameters()
Deprecated.
google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is
deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487
|
boolean |
hasDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
|
boolean |
hasEvent()
Event name if an event is triggered for the query.
|
boolean |
hasIntent()
Name of the intent if an intent is matched for the query.
|
boolean |
hasParameters()
The collection of current parameters at the time of this response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
DetectIntentResponse getDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
List<ResponseMessage> getResponseMessagesList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
ResponseMessage getResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
int getResponseMessagesCount()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
boolean hasIntent()
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }
String getIntent()
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }
ByteString getIntentBytes()
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>`. For a V3 query, the value format is `projects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string intent = 4 [(.google.api.resource_reference) = { ... }
boolean hasEvent()
Event name if an event is triggered for the query.
string event = 5;
String getEvent()
Event name if an event is triggered for the query.
string event = 5;
ByteString getEventBytes()
Event name if an event is triggered for the query.
string event = 5;
float getMatchConfidence()
The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float match_confidence = 9;
boolean hasParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
Struct getParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
StructOrBuilder getParametersOrBuilder()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
@Deprecated boolean hasCxSessionParameters()
The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true];
@Deprecated Struct getCxSessionParameters()
The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true];
@Deprecated StructOrBuilder getCxSessionParametersOrBuilder()
The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead.
.google.protobuf.Struct cx_session_parameters = 6 [deprecated = true];
int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
AutomatedAgentReply.AutomatedAgentReplyType getAutomatedAgentReplyType()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType automated_agent_reply_type = 7;
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;
AutomatedAgentReply.ResponseCase getResponseCase()
AutomatedAgentReply.MatchCase getMatchCase()
Copyright © 2022 Google LLC. All rights reserved.