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 Deprecated Methods Modifier and Type Method 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.String
getCxCurrentPage()
The unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.ByteString
getCxCurrentPageBytes()
The unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.Struct
getCxSessionParameters()
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated.com.google.protobuf.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.com.google.protobuf.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.com.google.protobuf.ByteString
getIntentBytes()
Name of the intent if an intent is matched for the query.AutomatedAgentReply.MatchCase
getMatchCase()
float
getMatchConfidence()
The confidence of the match.com.google.protobuf.Struct
getParameters()
The collection of current parameters at the time of this response.com.google.protobuf.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.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.-
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.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
- Returns:
- Whether the detectIntentResponse field is set.
-
getDetectIntentResponse
DetectIntentResponse getDetectIntentResponse()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
- Returns:
- The detectIntentResponse.
-
getDetectIntentResponseOrBuilder
DetectIntentResponseOrBuilder getDetectIntentResponseOrBuilder()
Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
.google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1;
-
getResponseMessagesList
List<ResponseMessage> getResponseMessagesList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessages
ResponseMessage getResponseMessages(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessagesCount
int getResponseMessagesCount()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessagesOrBuilderList
List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
getResponseMessagesOrBuilder
ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
Response messages from the automated agent.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage response_messages = 3;
-
hasIntent
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) = { ... }
- Returns:
- Whether the intent field is set.
-
getIntent
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) = { ... }
- Returns:
- The intent.
-
getIntentBytes
com.google.protobuf.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) = { ... }
- Returns:
- The bytes for intent.
-
hasEvent
boolean hasEvent()
Event name if an event is triggered for the query.
string event = 5;
- Returns:
- Whether the event field is set.
-
getEvent
String getEvent()
Event name if an event is triggered for the query.
string event = 5;
- Returns:
- The event.
-
getEventBytes
com.google.protobuf.ByteString getEventBytes()
Event name if an event is triggered for the query.
string event = 5;
- Returns:
- The bytes for event.
-
getMatchConfidence
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;
- Returns:
- The matchConfidence.
-
hasParameters
boolean hasParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
- Returns:
- Whether the parameters field is set.
-
getParameters
com.google.protobuf.Struct getParameters()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
- Returns:
- The parameters.
-
getParametersOrBuilder
com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The collection of current parameters at the time of this response.
.google.protobuf.Struct parameters = 10;
-
hasCxSessionParameters
@Deprecated boolean hasCxSessionParameters()
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=525The 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];
- Returns:
- Whether the cxSessionParameters field is set.
-
getCxSessionParameters
@Deprecated com.google.protobuf.Struct getCxSessionParameters()
Deprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=525The 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];
- Returns:
- The cxSessionParameters.
-
getCxSessionParametersOrBuilder
@Deprecated com.google.protobuf.StructOrBuilder getCxSessionParametersOrBuilder()
Deprecated.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];
-
getAutomatedAgentReplyTypeValue
int getAutomatedAgentReplyTypeValue()
AutomatedAgentReply type.
.google.cloud.dialogflow.v2beta1.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.v2beta1.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.
-
getResponseCase
AutomatedAgentReply.ResponseCase getResponseCase()
-
getMatchCase
AutomatedAgentReply.MatchCase getMatchCase()
-
-