Class Conversation.Metrics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics
- All Implemented Interfaces:
Conversation.MetricsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Conversation
public static final class Conversation.Metrics
extends com.google.protobuf.GeneratedMessage
implements Conversation.MetricsOrBuilder
Represents metrics for the conversation.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents metrics for the conversation.static final classCount by [Match.MatchType][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] of the matches in the conversation.static interfacestatic final classCount by types of [QueryInput][google.cloud.dialogflow.cx.v3beta1.QueryInput] of the requests in the conversation.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatThe average confidence all of the [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.static Conversation.Metricsstatic final com.google.protobuf.Descriptors.DescriptorbooleanA 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.com.google.protobuf.Parser<Conversation.Metrics>Query input counts.Query input counts.intinthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Conversation.Metrics.Builderstatic Conversation.Metrics.BuildernewBuilder(Conversation.Metrics prototype) protected Conversation.Metrics.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Conversation.MetricsparseDelimitedFrom(InputStream input) static Conversation.MetricsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Conversation.MetricsparseFrom(byte[] data) static Conversation.MetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Conversation.MetricsparseFrom(com.google.protobuf.ByteString data) static Conversation.MetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Conversation.MetricsparseFrom(com.google.protobuf.CodedInputStream input) static Conversation.MetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Conversation.MetricsparseFrom(InputStream input) static Conversation.MetricsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Conversation.MetricsparseFrom(ByteBuffer data) static Conversation.MetricsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Conversation.Metrics>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INTERACTION_COUNT_FIELD_NUMBER
public static final int INTERACTION_COUNT_FIELD_NUMBER- See Also:
-
INPUT_AUDIO_DURATION_FIELD_NUMBER
public static final int INPUT_AUDIO_DURATION_FIELD_NUMBER- See Also:
-
OUTPUT_AUDIO_DURATION_FIELD_NUMBER
public static final int OUTPUT_AUDIO_DURATION_FIELD_NUMBER- See Also:
-
MAX_WEBHOOK_LATENCY_FIELD_NUMBER
public static final int MAX_WEBHOOK_LATENCY_FIELD_NUMBER- See Also:
-
HAS_END_INTERACTION_FIELD_NUMBER
public static final int HAS_END_INTERACTION_FIELD_NUMBER- See Also:
-
HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER
public static final int HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER- See Also:
-
AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER
public static final int AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER- See Also:
-
QUERY_INPUT_COUNT_FIELD_NUMBER
public static final int QUERY_INPUT_COUNT_FIELD_NUMBER- See Also:
-
MATCH_TYPE_COUNT_FIELD_NUMBER
public static final int MATCH_TYPE_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getInteractionCount
public int getInteractionCount()The number of interactions in the conversation.
int32 interaction_count = 1;- Specified by:
getInteractionCountin interfaceConversation.MetricsOrBuilder- Returns:
- The interactionCount.
-
hasInputAudioDuration
public boolean hasInputAudioDuration()Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;- Specified by:
hasInputAudioDurationin interfaceConversation.MetricsOrBuilder- Returns:
- Whether the inputAudioDuration field is set.
-
getInputAudioDuration
public com.google.protobuf.Duration getInputAudioDuration()Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;- Specified by:
getInputAudioDurationin interfaceConversation.MetricsOrBuilder- Returns:
- The inputAudioDuration.
-
getInputAudioDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getInputAudioDurationOrBuilder()Duration of all the input's audio in the conversation.
.google.protobuf.Duration input_audio_duration = 2;- Specified by:
getInputAudioDurationOrBuilderin interfaceConversation.MetricsOrBuilder
-
hasOutputAudioDuration
public boolean hasOutputAudioDuration()Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;- Specified by:
hasOutputAudioDurationin interfaceConversation.MetricsOrBuilder- Returns:
- Whether the outputAudioDuration field is set.
-
getOutputAudioDuration
public com.google.protobuf.Duration getOutputAudioDuration()Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;- Specified by:
getOutputAudioDurationin interfaceConversation.MetricsOrBuilder- Returns:
- The outputAudioDuration.
-
getOutputAudioDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getOutputAudioDurationOrBuilder()Duration of all the output's audio in the conversation.
.google.protobuf.Duration output_audio_duration = 3;- Specified by:
getOutputAudioDurationOrBuilderin interfaceConversation.MetricsOrBuilder
-
hasMaxWebhookLatency
public boolean hasMaxWebhookLatency()Maximum latency of the [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the conversation.
.google.protobuf.Duration max_webhook_latency = 4;- Specified by:
hasMaxWebhookLatencyin interfaceConversation.MetricsOrBuilder- Returns:
- Whether the maxWebhookLatency field is set.
-
getMaxWebhookLatency
public 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;- Specified by:
getMaxWebhookLatencyin interfaceConversation.MetricsOrBuilder- Returns:
- The maxWebhookLatency.
-
getMaxWebhookLatencyOrBuilder
public 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;- Specified by:
getMaxWebhookLatencyOrBuilderin interfaceConversation.MetricsOrBuilder
-
getHasEndInteraction
public 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;- Specified by:
getHasEndInteractionin interfaceConversation.MetricsOrBuilder- Returns:
- The hasEndInteraction.
-
getHasLiveAgentHandoff
public 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;- Specified by:
getHasLiveAgentHandoffin interfaceConversation.MetricsOrBuilder- Returns:
- The hasLiveAgentHandoff.
-
getAverageMatchConfidence
public 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;- Specified by:
getAverageMatchConfidencein interfaceConversation.MetricsOrBuilder- Returns:
- The averageMatchConfidence.
-
hasQueryInputCount
public boolean hasQueryInputCount()Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;- Specified by:
hasQueryInputCountin interfaceConversation.MetricsOrBuilder- Returns:
- Whether the queryInputCount field is set.
-
getQueryInputCount
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;- Specified by:
getQueryInputCountin interfaceConversation.MetricsOrBuilder- Returns:
- The queryInputCount.
-
getQueryInputCountOrBuilder
Query input counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8;- Specified by:
getQueryInputCountOrBuilderin interfaceConversation.MetricsOrBuilder
-
hasMatchTypeCount
public boolean hasMatchTypeCount()Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;- Specified by:
hasMatchTypeCountin interfaceConversation.MetricsOrBuilder- Returns:
- Whether the matchTypeCount field is set.
-
getMatchTypeCount
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;- Specified by:
getMatchTypeCountin interfaceConversation.MetricsOrBuilder- Returns:
- The matchTypeCount.
-
getMatchTypeCountOrBuilder
Match type counts.
.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9;- Specified by:
getMatchTypeCountOrBuilderin interfaceConversation.MetricsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Conversation.Metrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation.Metrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation.Metrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation.Metrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation.Metrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation.Metrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Conversation.Metrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Conversation.Metrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Conversation.Metrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Conversation.Metrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Conversation.Metrics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-