public final class QaScorecardResult extends GeneratedMessageV3 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
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
public static final int AGENT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CONVERSATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NORMALIZED_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int POTENTIAL_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int QA_ANSWERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int QA_SCORECARD_REVISION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int QA_TAG_RESULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCORE_SOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static QaScorecardResult getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static QaScorecardResult.Builder newBuilder()
public static QaScorecardResult.Builder newBuilder(QaScorecardResult prototype)
public static QaScorecardResult parseDelimitedFrom(InputStream input)
public static QaScorecardResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static QaScorecardResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult parseFrom(ByteString data)
public static QaScorecardResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult parseFrom(CodedInputStream input)
public static QaScorecardResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult parseFrom(InputStream input)
public static QaScorecardResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult parseFrom(ByteBuffer data)
public static QaScorecardResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<QaScorecardResult> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getAgentId()
ID of the agent that handled the conversation.
string agent_id = 5;
Returns |
Type |
Description |
String |
The agentId.
|
public ByteString getAgentIdBytes()
ID of the agent that handled the conversation.
string agent_id = 5;
Returns |
Type |
Description |
ByteString |
The bytes for agentId.
|
public String getConversation()
The conversation scored by this result.
string conversation = 3 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The conversation.
|
public ByteString getConversationBytes()
The conversation scored by this result.
string conversation = 3 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for conversation.
|
public Timestamp getCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaScorecardResult getDefaultInstanceForType()
Identifier. The name of the scorecard result.
Format:
projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
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;
Returns |
Type |
Description |
double |
The normalizedScore.
|
public Parser<QaScorecardResult> getParserForType()
Overrides
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;
Returns |
Type |
Description |
double |
The potentialScore.
|
public QaAnswer getQaAnswers(int index)
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
Parameter |
Name |
Description |
index |
int
|
public int getQaAnswersCount()
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
Returns |
Type |
Description |
int |
|
public List<QaAnswer> getQaAnswersList()
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
public QaAnswerOrBuilder getQaAnswersOrBuilder(int index)
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
Parameter |
Name |
Description |
index |
int
|
public List<? extends QaAnswerOrBuilder> getQaAnswersOrBuilderList()
Set of QaAnswers represented in the result.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
Returns |
Type |
Description |
List<? extends com.google.cloud.contactcenterinsights.v1.QaAnswerOrBuilder> |
|
public String getQaScorecardRevision()
The QaScorecardRevision scored by this result.
string qa_scorecard_revision = 2 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The qaScorecardRevision.
|
public ByteString getQaScorecardRevisionBytes()
The QaScorecardRevision scored by this result.
string qa_scorecard_revision = 2 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for qaScorecardRevision.
|
public QaScorecardResult.QaTagResult getQaTagResults(int index)
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
Parameter |
Name |
Description |
index |
int
|
public int getQaTagResultsCount()
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
Returns |
Type |
Description |
int |
|
public List<QaScorecardResult.QaTagResult> getQaTagResultsList()
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
public QaScorecardResult.QaTagResultOrBuilder getQaTagResultsOrBuilder(int index)
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
Parameter |
Name |
Description |
index |
int
|
public List<? extends QaScorecardResult.QaTagResultOrBuilder> getQaTagResultsOrBuilderList()
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
Returns |
Type |
Description |
List<? extends com.google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResultOrBuilder> |
|
The overall numerical score of the result, incorporating any manual edits
if they exist.
optional double score = 7;
Returns |
Type |
Description |
double |
The score.
|
public QaScorecardResult.ScoreSource getScoreSources(int index)
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
Parameter |
Name |
Description |
index |
int
|
public int getScoreSourcesCount()
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
Returns |
Type |
Description |
int |
|
public List<QaScorecardResult.ScoreSource> getScoreSourcesList()
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
public QaScorecardResult.ScoreSourceOrBuilder getScoreSourcesOrBuilder(int index)
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
Parameter |
Name |
Description |
index |
int
|
public List<? extends QaScorecardResult.ScoreSourceOrBuilder> getScoreSourcesOrBuilderList()
List of all individual score sets.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
Returns |
Type |
Description |
List<? extends com.google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSourceOrBuilder> |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the normalizedScore field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the potentialScore field is set.
|
public boolean hasScore()
The overall numerical score of the result, incorporating any manual edits
if they exist.
optional double score = 7;
Returns |
Type |
Description |
boolean |
Whether the score field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QaScorecardResult.Builder newBuilderForType()
protected QaScorecardResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public QaScorecardResult.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides