public static final class Conversation.Metrics extends com.google.protobuf.GeneratedMessageV3 implements Conversation.MetricsOrBuilder
Represents metrics for the conversation.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics| Modifier and Type | Class and Description |
|---|---|
static class |
Conversation.Metrics.Builder
Represents metrics for the conversation.
|
static class |
Conversation.Metrics.MatchTypeCount
Count by
[Match.MatchType][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] of
the matches in the conversation.
|
static interface |
Conversation.Metrics.MatchTypeCountOrBuilder |
static class |
Conversation.Metrics.QueryInputCount
Count by types of
[QueryInput][google.cloud.dialogflow.cx.v3beta1.QueryInput] of the
requests in the conversation.
|
static interface |
Conversation.Metrics.QueryInputCountOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER |
static int |
HAS_END_INTERACTION_FIELD_NUMBER |
static int |
HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER |
static int |
INPUT_AUDIO_DURATION_FIELD_NUMBER |
static int |
INTERACTION_COUNT_FIELD_NUMBER |
static int |
MATCH_TYPE_COUNT_FIELD_NUMBER |
static int |
MAX_WEBHOOK_LATENCY_FIELD_NUMBER |
static int |
OUTPUT_AUDIO_DURATION_FIELD_NUMBER |
static int |
QUERY_INPUT_COUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getAverageMatchConfidence()
The average confidence all of the
[Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.
|
static Conversation.Metrics |
getDefaultInstance() |
Conversation.Metrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getHasEndInteraction()
A signal that indicates the interaction with the Dialogflow agent has
ended.
|
boolean |
getHasLiveAgentHandoff()
Hands off conversation to a human agent.
|
com.google.protobuf.Duration |
getInputAudioDuration()
Duration of all the input's audio in the conversation.
|
com.google.protobuf.DurationOrBuilder |
getInputAudioDurationOrBuilder()
Duration of all the input's audio in the conversation.
|
int |
getInteractionCount()
The number of interactions in the conversation.
|
Conversation.Metrics.MatchTypeCount |
getMatchTypeCount()
Match type counts.
|
Conversation.Metrics.MatchTypeCountOrBuilder |
getMatchTypeCountOrBuilder()
Match type counts.
|
com.google.protobuf.Duration |
getMaxWebhookLatency()
Maximum latency of the
[Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
conversation.
|
com.google.protobuf.DurationOrBuilder |
getMaxWebhookLatencyOrBuilder()
Maximum latency of the
[Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
conversation.
|
com.google.protobuf.Duration |
getOutputAudioDuration()
Duration of all the output's audio in the conversation.
|
com.google.protobuf.DurationOrBuilder |
getOutputAudioDurationOrBuilder()
Duration of all the output's audio in the conversation.
|
com.google.protobuf.Parser<Conversation.Metrics> |
getParserForType() |
Conversation.Metrics.QueryInputCount |
getQueryInputCount()
Query input counts.
|
Conversation.Metrics.QueryInputCountOrBuilder |
getQueryInputCountOrBuilder()
Query input counts.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasInputAudioDuration()
Duration of all the input's audio in the conversation.
|
boolean |
hasMatchTypeCount()
Match type counts.
|
boolean |
hasMaxWebhookLatency()
Maximum latency of the
[Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
conversation.
|
boolean |
hasOutputAudioDuration()
Duration of all the output's audio in the conversation.
|
boolean |
hasQueryInputCount()
Query input counts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Conversation.Metrics.Builder |
newBuilder() |
static Conversation.Metrics.Builder |
newBuilder(Conversation.Metrics prototype) |
Conversation.Metrics.Builder |
newBuilderForType() |
protected Conversation.Metrics.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Conversation.Metrics |
parseDelimitedFrom(InputStream input) |
static Conversation.Metrics |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Metrics |
parseFrom(byte[] data) |
static Conversation.Metrics |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Metrics |
parseFrom(ByteBuffer data) |
static Conversation.Metrics |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Metrics |
parseFrom(com.google.protobuf.ByteString data) |
static Conversation.Metrics |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Metrics |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Conversation.Metrics |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation.Metrics |
parseFrom(InputStream input) |
static Conversation.Metrics |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Conversation.Metrics> |
parser() |
Conversation.Metrics.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INTERACTION_COUNT_FIELD_NUMBER
public static final int INPUT_AUDIO_DURATION_FIELD_NUMBER
public static final int OUTPUT_AUDIO_DURATION_FIELD_NUMBER
public static final int MAX_WEBHOOK_LATENCY_FIELD_NUMBER
public static final int HAS_END_INTERACTION_FIELD_NUMBER
public static final int HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER
public static final int AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER
public static final int QUERY_INPUT_COUNT_FIELD_NUMBER
public static final int MATCH_TYPE_COUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getInteractionCount()
The number of interactions in the conversation.
int32 interaction_count = 1;getInteractionCount in interface Conversation.MetricsOrBuilderpublic boolean hasInputAudioDuration()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;hasInputAudioDuration in interface Conversation.MetricsOrBuilderpublic com.google.protobuf.Duration getInputAudioDuration()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;getInputAudioDuration in interface Conversation.MetricsOrBuilderpublic com.google.protobuf.DurationOrBuilder getInputAudioDurationOrBuilder()
Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;getInputAudioDurationOrBuilder in interface Conversation.MetricsOrBuilderpublic boolean hasOutputAudioDuration()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;hasOutputAudioDuration in interface Conversation.MetricsOrBuilderpublic com.google.protobuf.Duration getOutputAudioDuration()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;getOutputAudioDuration in interface Conversation.MetricsOrBuilderpublic com.google.protobuf.DurationOrBuilder getOutputAudioDurationOrBuilder()
Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;getOutputAudioDurationOrBuilder in interface Conversation.MetricsOrBuilderpublic boolean hasMaxWebhookLatency()
Maximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;hasMaxWebhookLatency in interface Conversation.MetricsOrBuilderpublic 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;getMaxWebhookLatency in interface Conversation.MetricsOrBuilderpublic 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;getMaxWebhookLatencyOrBuilder in interface Conversation.MetricsOrBuilderpublic 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;getHasEndInteraction in interface Conversation.MetricsOrBuilderpublic 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;getHasLiveAgentHandoff in interface Conversation.MetricsOrBuilderpublic 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;getAverageMatchConfidence in interface Conversation.MetricsOrBuilderpublic boolean hasQueryInputCount()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
hasQueryInputCount in interface Conversation.MetricsOrBuilderpublic Conversation.Metrics.QueryInputCount getQueryInputCount()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
getQueryInputCount in interface Conversation.MetricsOrBuilderpublic Conversation.Metrics.QueryInputCountOrBuilder getQueryInputCountOrBuilder()
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;
getQueryInputCountOrBuilder in interface Conversation.MetricsOrBuilderpublic boolean hasMatchTypeCount()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
hasMatchTypeCount in interface Conversation.MetricsOrBuilderpublic Conversation.Metrics.MatchTypeCount getMatchTypeCount()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
getMatchTypeCount in interface Conversation.MetricsOrBuilderpublic Conversation.Metrics.MatchTypeCountOrBuilder getMatchTypeCountOrBuilder()
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;
getMatchTypeCountOrBuilder in interface Conversation.MetricsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Conversation.Metrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Metrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Metrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Metrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Metrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Metrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation.Metrics parseFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation.Metrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation.Metrics parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation.Metrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation.Metrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Conversation.Metrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Conversation.Metrics.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Conversation.Metrics.Builder newBuilder()
public static Conversation.Metrics.Builder newBuilder(Conversation.Metrics prototype)
public Conversation.Metrics.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Conversation.Metrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Conversation.Metrics getDefaultInstance()
public static com.google.protobuf.Parser<Conversation.Metrics> parser()
public com.google.protobuf.Parser<Conversation.Metrics> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Conversation.Metrics getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.