Interface Conversation.MetricsOrBuilder (0.66.0)

public static interface Conversation.MetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAverageMatchConfidence()

public abstract float getAverageMatchConfidence()

The average confidence all of the Match in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).

float average_match_confidence = 7;

Returns
Type Description
float

The averageMatchConfidence.

getHasEndInteraction()

public abstract boolean getHasEndInteraction()

A signal that indicates the interaction with the Dialogflow agent has ended. If any response has the ResponseMessage.end_interaction signal, this is set to true.

bool has_end_interaction = 5;

Returns
Type Description
boolean

The hasEndInteraction.

getHasLiveAgentHandoff()

public abstract boolean getHasLiveAgentHandoff()

Hands off conversation to a human agent. If any response has the ResponseMessage.live_agent_handoffsignal, this is set to true.

bool has_live_agent_handoff = 6;

Returns
Type Description
boolean

The hasLiveAgentHandoff.

getInputAudioDuration()

public abstract Duration getInputAudioDuration()

Duration of all the input's audio in the conversation.

.google.protobuf.Duration input_audio_duration = 2;

Returns
Type Description
Duration

The inputAudioDuration.

getInputAudioDurationOrBuilder()

public abstract DurationOrBuilder getInputAudioDurationOrBuilder()

Duration of all the input's audio in the conversation.

.google.protobuf.Duration input_audio_duration = 2;

Returns
Type Description
DurationOrBuilder

getInteractionCount()

public abstract int getInteractionCount()

The number of interactions in the conversation.

int32 interaction_count = 1;

Returns
Type Description
int

The interactionCount.

getMatchTypeCount()

public abstract Conversation.Metrics.MatchTypeCount getMatchTypeCount()

Match type counts.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;

Returns
Type Description
Conversation.Metrics.MatchTypeCount

The matchTypeCount.

getMatchTypeCountOrBuilder()

public abstract Conversation.Metrics.MatchTypeCountOrBuilder getMatchTypeCountOrBuilder()

Match type counts.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;

Returns
Type Description
Conversation.Metrics.MatchTypeCountOrBuilder

getMaxWebhookLatency()

public abstract Duration getMaxWebhookLatency()

Maximum latency of the Webhook calls in the conversation.

.google.protobuf.Duration max_webhook_latency = 4;

Returns
Type Description
Duration

The maxWebhookLatency.

getMaxWebhookLatencyOrBuilder()

public abstract DurationOrBuilder getMaxWebhookLatencyOrBuilder()

Maximum latency of the Webhook calls in the conversation.

.google.protobuf.Duration max_webhook_latency = 4;

Returns
Type Description
DurationOrBuilder

getOutputAudioDuration()

public abstract Duration getOutputAudioDuration()

Duration of all the output's audio in the conversation.

.google.protobuf.Duration output_audio_duration = 3;

Returns
Type Description
Duration

The outputAudioDuration.

getOutputAudioDurationOrBuilder()

public abstract DurationOrBuilder getOutputAudioDurationOrBuilder()

Duration of all the output's audio in the conversation.

.google.protobuf.Duration output_audio_duration = 3;

Returns
Type Description
DurationOrBuilder

getQueryInputCount()

public abstract Conversation.Metrics.QueryInputCount getQueryInputCount()

Query input counts.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;

Returns
Type Description
Conversation.Metrics.QueryInputCount

The queryInputCount.

getQueryInputCountOrBuilder()

public abstract Conversation.Metrics.QueryInputCountOrBuilder getQueryInputCountOrBuilder()

Query input counts.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;

Returns
Type Description
Conversation.Metrics.QueryInputCountOrBuilder

hasInputAudioDuration()

public abstract boolean hasInputAudioDuration()

Duration of all the input's audio in the conversation.

.google.protobuf.Duration input_audio_duration = 2;

Returns
Type Description
boolean

Whether the inputAudioDuration field is set.

hasMatchTypeCount()

public abstract boolean hasMatchTypeCount()

Match type counts.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;

Returns
Type Description
boolean

Whether the matchTypeCount field is set.

hasMaxWebhookLatency()

public abstract boolean hasMaxWebhookLatency()

Maximum latency of the Webhook calls in the conversation.

.google.protobuf.Duration max_webhook_latency = 4;

Returns
Type Description
boolean

Whether the maxWebhookLatency field is set.

hasOutputAudioDuration()

public abstract boolean hasOutputAudioDuration()

Duration of all the output's audio in the conversation.

.google.protobuf.Duration output_audio_duration = 3;

Returns
Type Description
boolean

Whether the outputAudioDuration field is set.

hasQueryInputCount()

public abstract boolean hasQueryInputCount()

Query input counts.

.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;

Returns
Type Description
boolean

Whether the queryInputCount field is set.