Send feedback
Class Conversation.Metrics (0.66.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.66.0 keyboard_arrow_down
public static final class Conversation . Metrics extends GeneratedMessageV3 implements Conversation . MetricsOrBuilder
Represents metrics for the conversation.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER
public static final int AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER
Field Value
Type
Description
int
HAS_END_INTERACTION_FIELD_NUMBER
public static final int HAS_END_INTERACTION_FIELD_NUMBER
Field Value
Type
Description
int
HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER
public static final int HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER
Field Value
Type
Description
int
public static final int INPUT_AUDIO_DURATION_FIELD_NUMBER
Field Value
Type
Description
int
INTERACTION_COUNT_FIELD_NUMBER
public static final int INTERACTION_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
MATCH_TYPE_COUNT_FIELD_NUMBER
public static final int MATCH_TYPE_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
MAX_WEBHOOK_LATENCY_FIELD_NUMBER
public static final int MAX_WEBHOOK_LATENCY_FIELD_NUMBER
Field Value
Type
Description
int
OUTPUT_AUDIO_DURATION_FIELD_NUMBER
public static final int OUTPUT_AUDIO_DURATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int QUERY_INPUT_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Conversation . Metrics getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Conversation . Metrics . Builder newBuilder ()
newBuilder(Conversation.Metrics prototype)
public static Conversation . Metrics . Builder newBuilder ( Conversation . Metrics prototype )
public static Conversation . Metrics parseDelimitedFrom ( InputStream input )
public static Conversation . Metrics parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Conversation . Metrics parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Conversation . Metrics parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Conversation . Metrics parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Conversation . Metrics parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Conversation . Metrics parseFrom ( CodedInputStream input )
public static Conversation . Metrics parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Conversation . Metrics parseFrom ( InputStream input )
public static Conversation . Metrics parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Conversation . Metrics parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Conversation . Metrics parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Conversation . Metrics > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAverageMatchConfidence()
public 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.
getDefaultInstanceForType()
public Conversation . Metrics getDefaultInstanceForType ()
getHasEndInteraction()
public 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 boolean getHasLiveAgentHandoff ()
Hands off conversation to a human agent.
If any response has the
ResponseMessage.live_agent_handoff signal,
this is set to true.
bool has_live_agent_handoff = 6;
Returns
Type
Description
boolean
The hasLiveAgentHandoff.
public 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.
public DurationOrBuilder getInputAudioDurationOrBuilder ()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;
getInteractionCount()
public int getInteractionCount ()
The number of interactions in the conversation.
int32 interaction_count = 1;
Returns
Type
Description
int
The interactionCount.
getMatchTypeCount()
public Conversation . Metrics . MatchTypeCount getMatchTypeCount ()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
getMatchTypeCountOrBuilder()
public Conversation . Metrics . MatchTypeCountOrBuilder getMatchTypeCountOrBuilder ()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
getMaxWebhookLatency()
public 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 DurationOrBuilder getMaxWebhookLatencyOrBuilder ()
Maximum latency of the
Webhook calls in the
conversation.
.google.protobuf.Duration max_webhook_latency = 4;
getOutputAudioDuration()
public 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 DurationOrBuilder getOutputAudioDurationOrBuilder ()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;
getParserForType()
public Parser<Conversation . Metrics > getParserForType ()
Overrides
public Conversation . Metrics . QueryInputCount getQueryInputCount ()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
public Conversation . Metrics . QueryInputCountOrBuilder getQueryInputCountOrBuilder ()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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 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 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 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.
public 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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Conversation . Metrics . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Conversation . Metrics . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Conversation . Metrics . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]