Interface AutomatedAgentReplyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutomatedAgentReply,AutomatedAgentReply.Builder
@Generated
public interface AutomatedAgentReplyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates 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.AutomatedAgentReply type.intAutomatedAgentReply type.com.google.protobuf.ByteStringThe auth code for accessing Call Companion UI.The unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.ByteStringThe unique identifier of the current Dialogflow CX conversation page.com.google.protobuf.StructDeprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated.com.google.protobuf.StructOrBuilderDeprecated.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.getEvent()Event name if an event is triggered for the query.com.google.protobuf.ByteStringEvent name if an event is triggered for the query.Name of the intent if an intent is matched for the query.com.google.protobuf.ByteStringName of the intent if an intent is matched for the query.floatThe confidence of the match.com.google.protobuf.StructThe collection of current parameters at the time of this response.com.google.protobuf.StructOrBuilderThe collection of current parameters at the time of this response.getResponseMessages(int index) Response messages from the automated agent.intResponse messages from the automated agent.Response messages from the automated agent.getResponseMessagesOrBuilder(int index) Response messages from the automated agent.List<? extends ResponseMessageOrBuilder>Response messages from the automated agent.booleanDeprecated.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated.booleanResponse of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.booleanhasEvent()Event name if an event is triggered for the query.booleanName of the intent if an intent is matched for the query.booleanThe collection of current parameters at the time of this response.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=584The 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.google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=584The 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.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.
-
getCallCompanionAuthCode
com.google.protobuf.ByteString getCallCompanionAuthCode()The auth code for accessing Call Companion UI.
bytes call_companion_auth_code = 12;- Returns:
- The callCompanionAuthCode.
-
getResponseCase
AutomatedAgentReply.ResponseCase getResponseCase() -
getMatchCase
AutomatedAgentReply.MatchCase getMatchCase()
-