Interface Conversation.MetricsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Conversation.Metrics,Conversation.Metrics.Builder
- Enclosing class:
- Conversation
public static interface Conversation.MetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatThe average confidence all of the [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.booleanA signal that indicates the interaction with the Dialogflow agent has ended.booleanHands off conversation to a human agent.com.google.protobuf.DurationDuration of all the input's audio in the conversation.com.google.protobuf.DurationOrBuilderDuration of all the input's audio in the conversation.intThe number of interactions in the conversation.Match type counts.Match type counts.com.google.protobuf.DurationMaximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.com.google.protobuf.DurationOrBuilderMaximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.com.google.protobuf.DurationDuration of all the output's audio in the conversation.com.google.protobuf.DurationOrBuilderDuration of all the output's audio in the conversation.Query input counts.Query input counts.booleanDuration of all the input's audio in the conversation.booleanMatch type counts.booleanMaximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.booleanDuration of all the output's audio in the conversation.booleanQuery input counts.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
-
getInteractionCount
int getInteractionCount()The number of interactions in the conversation.
int32 interaction_count = 1;- Returns:
- The interactionCount.
-
hasInputAudioDuration
boolean hasInputAudioDuration()Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;- Returns:
- Whether the inputAudioDuration field is set.
-
getInputAudioDuration
com.google.protobuf.Duration getInputAudioDuration()Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;- Returns:
- The inputAudioDuration.
-
getInputAudioDurationOrBuilder
com.google.protobuf.DurationOrBuilder getInputAudioDurationOrBuilder()Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2; -
hasOutputAudioDuration
boolean hasOutputAudioDuration()Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;- Returns:
- Whether the outputAudioDuration field is set.
-
getOutputAudioDuration
com.google.protobuf.Duration getOutputAudioDuration()Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;- Returns:
- The outputAudioDuration.
-
getOutputAudioDurationOrBuilder
com.google.protobuf.DurationOrBuilder getOutputAudioDurationOrBuilder()Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3; -
hasMaxWebhookLatency
boolean hasMaxWebhookLatency()Maximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;- Returns:
- Whether the maxWebhookLatency field is set.
-
getMaxWebhookLatency
com.google.protobuf.Duration getMaxWebhookLatency()Maximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;- Returns:
- The maxWebhookLatency.
-
getMaxWebhookLatencyOrBuilder
com.google.protobuf.DurationOrBuilder getMaxWebhookLatencyOrBuilder()Maximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4; -
getHasEndInteraction
boolean getHasEndInteraction()A signal that indicates the interaction with the Dialogflow agent has ended. If any response has the [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction] signal, this is set to true.
bool has_end_interaction = 5;- Returns:
- The hasEndInteraction.
-
getHasLiveAgentHandoff
boolean getHasLiveAgentHandoff()Hands off conversation to a human agent. If any response has the [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal, this is set to true.
bool has_live_agent_handoff = 6;- Returns:
- The hasLiveAgentHandoff.
-
getAverageMatchConfidence
float getAverageMatchConfidence()The average confidence all of the [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float average_match_confidence = 7;- Returns:
- The averageMatchConfidence.
-
hasQueryInputCount
boolean hasQueryInputCount()Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;- Returns:
- Whether the queryInputCount field is set.
-
getQueryInputCount
Conversation.Metrics.QueryInputCount getQueryInputCount()Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;- Returns:
- The queryInputCount.
-
getQueryInputCountOrBuilder
Conversation.Metrics.QueryInputCountOrBuilder getQueryInputCountOrBuilder()Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; -
hasMatchTypeCount
boolean hasMatchTypeCount()Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;- Returns:
- Whether the matchTypeCount field is set.
-
getMatchTypeCount
Conversation.Metrics.MatchTypeCount getMatchTypeCount()Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;- Returns:
- The matchTypeCount.
-
getMatchTypeCountOrBuilder
Conversation.Metrics.MatchTypeCountOrBuilder getMatchTypeCountOrBuilder()Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
-