Class QaScorecardResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.QaScorecardResult
- All Implemented Interfaces:
QaScorecardResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class QaScorecardResult
extends com.google.protobuf.GeneratedMessage
implements QaScorecardResultOrBuilder
The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.Protobuf type
google.cloud.contactcenterinsights.v1.QaScorecardResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe results of scoring a single conversation against a QaScorecard.static final classTags and their corresponding results.static interfacestatic final classA scorecard result may have multiple sets of scores from varying sources, one of which becomes the "main" answer above.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 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 TypeMethodDescriptionbooleanID of the agent that handled the conversation.com.google.protobuf.ByteStringID of the agent that handled the conversation.The conversation scored by this result.com.google.protobuf.ByteStringThe conversation scored by this result.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static QaScorecardResultstatic final com.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.doubleThe normalized score, which is the score divided by the potential score.com.google.protobuf.Parser<QaScorecardResult>doubleThe maximum potential overall score of the scorecard.getQaAnswers(int index) Set of QaAnswers represented in the result.intSet of QaAnswers represented in the result.Set of QaAnswers represented in the result.getQaAnswersOrBuilder(int index) Set of QaAnswers represented in the result.List<? extends QaAnswerOrBuilder>Set of QaAnswers represented in the result.The QaScorecardRevision scored by this result.com.google.protobuf.ByteStringThe QaScorecardRevision scored by this result.getQaTagResults(int index) Collection of tags and their scores.intCollection of tags and their scores.Collection of tags and their scores.getQaTagResultsOrBuilder(int index) Collection of tags and their scores.List<? extends QaScorecardResult.QaTagResultOrBuilder>Collection of tags and their scores.doublegetScore()The overall numerical score of the result, incorporating any manual edits if they exist.getScoreSources(int index) List of all individual score sets.intList of all individual score sets.List of all individual score sets.getScoreSourcesOrBuilder(int index) List of all individual score sets.List<? extends QaScorecardResult.ScoreSourceOrBuilder>List of all individual score sets.intbooleanOutput only.inthashCode()booleanThe normalized score, which is the score divided by the potential score.booleanThe maximum potential overall score of the scorecard.booleanhasScore()The overall numerical score of the result, incorporating any manual edits if they exist.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic QaScorecardResult.Builderstatic QaScorecardResult.BuildernewBuilder(QaScorecardResult prototype) protected QaScorecardResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static QaScorecardResultparseDelimitedFrom(InputStream input) static QaScorecardResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QaScorecardResultparseFrom(byte[] data) static QaScorecardResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QaScorecardResultparseFrom(com.google.protobuf.ByteString data) static QaScorecardResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QaScorecardResultparseFrom(com.google.protobuf.CodedInputStream input) static QaScorecardResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QaScorecardResultparseFrom(InputStream input) static QaScorecardResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QaScorecardResultparseFrom(ByteBuffer data) static QaScorecardResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QaScorecardResult>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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
QA_SCORECARD_REVISION_FIELD_NUMBER
public static final int QA_SCORECARD_REVISION_FIELD_NUMBER- See Also:
-
CONVERSATION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
AGENT_ID_FIELD_NUMBER
public static final int AGENT_ID_FIELD_NUMBER- See Also:
-
QA_ANSWERS_FIELD_NUMBER
public static final int QA_ANSWERS_FIELD_NUMBER- See Also:
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER- See Also:
-
POTENTIAL_SCORE_FIELD_NUMBER
public static final int POTENTIAL_SCORE_FIELD_NUMBER- See Also:
-
NORMALIZED_SCORE_FIELD_NUMBER
public static final int NORMALIZED_SCORE_FIELD_NUMBER- See Also:
-
QA_TAG_RESULTS_FIELD_NUMBER
public static final int QA_TAG_RESULTS_FIELD_NUMBER- See Also:
-
SCORE_SOURCES_FIELD_NUMBER
public static final int SCORE_SOURCES_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
-
getName
Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceQaScorecardResultOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceQaScorecardResultOrBuilder- Returns:
- The bytes for name.
-
getQaScorecardRevision
The QaScorecardRevision scored by this result.
string qa_scorecard_revision = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getQaScorecardRevisionin interfaceQaScorecardResultOrBuilder- Returns:
- The qaScorecardRevision.
-
getQaScorecardRevisionBytes
public com.google.protobuf.ByteString getQaScorecardRevisionBytes()The QaScorecardRevision scored by this result.
string qa_scorecard_revision = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getQaScorecardRevisionBytesin interfaceQaScorecardResultOrBuilder- Returns:
- The bytes for qaScorecardRevision.
-
getConversation
The conversation scored by this result.
string conversation = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getConversationin interfaceQaScorecardResultOrBuilder- Returns:
- The conversation.
-
getConversationBytes
public com.google.protobuf.ByteString getConversationBytes()The conversation scored by this result.
string conversation = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getConversationBytesin interfaceQaScorecardResultOrBuilder- Returns:
- The bytes for conversation.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceQaScorecardResultOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceQaScorecardResultOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceQaScorecardResultOrBuilder
-
getAgentId
ID of the agent that handled the conversation.
string agent_id = 5;- Specified by:
getAgentIdin interfaceQaScorecardResultOrBuilder- Returns:
- The agentId.
-
getAgentIdBytes
public com.google.protobuf.ByteString getAgentIdBytes()ID of the agent that handled the conversation.
string agent_id = 5;- Specified by:
getAgentIdBytesin interfaceQaScorecardResultOrBuilder- Returns:
- The bytes for agentId.
-
getQaAnswersList
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;- Specified by:
getQaAnswersListin interfaceQaScorecardResultOrBuilder
-
getQaAnswersOrBuilderList
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;- Specified by:
getQaAnswersOrBuilderListin interfaceQaScorecardResultOrBuilder
-
getQaAnswersCount
public int getQaAnswersCount()Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;- Specified by:
getQaAnswersCountin interfaceQaScorecardResultOrBuilder
-
getQaAnswers
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;- Specified by:
getQaAnswersin interfaceQaScorecardResultOrBuilder
-
getQaAnswersOrBuilder
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;- Specified by:
getQaAnswersOrBuilderin interfaceQaScorecardResultOrBuilder
-
hasScore
public boolean hasScore()The overall numerical score of the result, incorporating any manual edits if they exist.
optional double score = 7;- Specified by:
hasScorein interfaceQaScorecardResultOrBuilder- Returns:
- Whether the score field is set.
-
getScore
public double getScore()The overall numerical score of the result, incorporating any manual edits if they exist.
optional double score = 7;- Specified by:
getScorein interfaceQaScorecardResultOrBuilder- Returns:
- The score.
-
hasPotentialScore
public boolean hasPotentialScore()The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.
optional double potential_score = 8;- Specified by:
hasPotentialScorein interfaceQaScorecardResultOrBuilder- Returns:
- Whether the potentialScore field is set.
-
getPotentialScore
public double getPotentialScore()The maximum potential overall score of the scorecard. Any questions answered using `na_value` are excluded from this calculation.
optional double potential_score = 8;- Specified by:
getPotentialScorein interfaceQaScorecardResultOrBuilder- Returns:
- The potentialScore.
-
hasNormalizedScore
public boolean hasNormalizedScore()The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.
optional double normalized_score = 9;- Specified by:
hasNormalizedScorein interfaceQaScorecardResultOrBuilder- Returns:
- Whether the normalizedScore field is set.
-
getNormalizedScore
public double getNormalizedScore()The normalized score, which is the score divided by the potential score. Any manual edits are included if they exist.
optional double normalized_score = 9;- Specified by:
getNormalizedScorein interfaceQaScorecardResultOrBuilder- Returns:
- The normalizedScore.
-
getQaTagResultsList
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;- Specified by:
getQaTagResultsListin interfaceQaScorecardResultOrBuilder
-
getQaTagResultsOrBuilderList
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;- Specified by:
getQaTagResultsOrBuilderListin interfaceQaScorecardResultOrBuilder
-
getQaTagResultsCount
public int getQaTagResultsCount()Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;- Specified by:
getQaTagResultsCountin interfaceQaScorecardResultOrBuilder
-
getQaTagResults
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;- Specified by:
getQaTagResultsin interfaceQaScorecardResultOrBuilder
-
getQaTagResultsOrBuilder
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;- Specified by:
getQaTagResultsOrBuilderin interfaceQaScorecardResultOrBuilder
-
getScoreSourcesList
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;- Specified by:
getScoreSourcesListin interfaceQaScorecardResultOrBuilder
-
getScoreSourcesOrBuilderList
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;- Specified by:
getScoreSourcesOrBuilderListin interfaceQaScorecardResultOrBuilder
-
getScoreSourcesCount
public int getScoreSourcesCount()List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;- Specified by:
getScoreSourcesCountin interfaceQaScorecardResultOrBuilder
-
getScoreSources
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;- Specified by:
getScoreSourcesin interfaceQaScorecardResultOrBuilder
-
getScoreSourcesOrBuilder
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;- Specified by:
getScoreSourcesOrBuilderin interfaceQaScorecardResultOrBuilder
-
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 QaScorecardResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QaScorecardResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QaScorecardResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QaScorecardResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QaScorecardResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QaScorecardResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QaScorecardResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QaScorecardResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static QaScorecardResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QaScorecardResult 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 QaScorecardResult.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
-