Class QaScorecardResult (2.55.0)

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

Static Fields

AGENT_ID_FIELD_NUMBER

public static final int AGENT_ID_FIELD_NUMBER
Field Value
Type Description
int

CONVERSATION_FIELD_NUMBER

public static final int CONVERSATION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NORMALIZED_SCORE_FIELD_NUMBER

public static final int NORMALIZED_SCORE_FIELD_NUMBER
Field Value
Type Description
int

POTENTIAL_SCORE_FIELD_NUMBER

public static final int POTENTIAL_SCORE_FIELD_NUMBER
Field Value
Type Description
int

QA_ANSWERS_FIELD_NUMBER

public static final int QA_ANSWERS_FIELD_NUMBER
Field Value
Type Description
int

QA_SCORECARD_REVISION_FIELD_NUMBER

public static final int QA_SCORECARD_REVISION_FIELD_NUMBER
Field Value
Type Description
int

QA_TAG_RESULTS_FIELD_NUMBER

public static final int QA_TAG_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

SCORE_FIELD_NUMBER

public static final int SCORE_FIELD_NUMBER
Field Value
Type Description
int

SCORE_SOURCES_FIELD_NUMBER

public static final int SCORE_SOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QaScorecardResult getDefaultInstance()
Returns
Type Description
QaScorecardResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static QaScorecardResult.Builder newBuilder()
Returns
Type Description
QaScorecardResult.Builder

newBuilder(QaScorecardResult prototype)

public static QaScorecardResult.Builder newBuilder(QaScorecardResult prototype)
Parameter
Name Description
prototype QaScorecardResult
Returns
Type Description
QaScorecardResult.Builder

parseDelimitedFrom(InputStream input)

public static QaScorecardResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QaScorecardResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QaScorecardResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QaScorecardResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QaScorecardResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QaScorecardResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QaScorecardResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QaScorecardResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QaScorecardResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QaScorecardResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QaScorecardResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QaScorecardResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QaScorecardResult> parser()
Returns
Type Description
Parser<QaScorecardResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAgentId()

public String getAgentId()

ID of the agent that handled the conversation.

string agent_id = 5;

Returns
Type Description
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

ID of the agent that handled the conversation.

string agent_id = 5;

Returns
Type Description
ByteString

The bytes for agentId.

getConversation()

public String getConversation()

The conversation scored by this result.

string conversation = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversation.

getConversationBytes()

public ByteString getConversationBytes()

The conversation scored by this result.

string conversation = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversation.

getCreateTime()

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.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp that the revision was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public QaScorecardResult getDefaultInstanceForType()
Returns
Type Description
QaScorecardResult

getName()

public String 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];

Returns
Type Description
String

The name.

getNameBytes()

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.

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;

Returns
Type Description
double

The normalizedScore.

getParserForType()

public Parser<QaScorecardResult> getParserForType()
Returns
Type Description
Parser<QaScorecardResult>
Overrides

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;

Returns
Type Description
double

The potentialScore.

getQaAnswers(int index)

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
Returns
Type Description
QaAnswer

getQaAnswersCount()

public int getQaAnswersCount()

Set of QaAnswers represented in the result.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;

Returns
Type Description
int

getQaAnswersList()

public List<QaAnswer> getQaAnswersList()

Set of QaAnswers represented in the result.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;

Returns
Type Description
List<QaAnswer>

getQaAnswersOrBuilder(int index)

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
Returns
Type Description
QaAnswerOrBuilder

getQaAnswersOrBuilderList()

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>

getQaScorecardRevision()

public String getQaScorecardRevision()

The QaScorecardRevision scored by this result.

string qa_scorecard_revision = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The qaScorecardRevision.

getQaScorecardRevisionBytes()

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.

getQaTagResults(int index)

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
Returns
Type Description
QaScorecardResult.QaTagResult

getQaTagResultsCount()

public int getQaTagResultsCount()

Collection of tags and their scores.

repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;

Returns
Type Description
int

getQaTagResultsList()

public List<QaScorecardResult.QaTagResult> getQaTagResultsList()

Collection of tags and their scores.

repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;

Returns
Type Description
List<QaTagResult>

getQaTagResultsOrBuilder(int index)

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
Returns
Type Description
QaScorecardResult.QaTagResultOrBuilder

getQaTagResultsOrBuilderList()

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>

getScore()

public double getScore()

The overall numerical score of the result, incorporating any manual edits if they exist.

optional double score = 7;

Returns
Type Description
double

The score.

getScoreSources(int index)

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
Returns
Type Description
QaScorecardResult.ScoreSource

getScoreSourcesCount()

public int getScoreSourcesCount()

List of all individual score sets.

repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;

Returns
Type Description
int

getScoreSourcesList()

public List<QaScorecardResult.ScoreSource> getScoreSourcesList()

List of all individual score sets.

repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;

Returns
Type Description
List<ScoreSource>

getScoreSourcesOrBuilder(int index)

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
Returns
Type Description
QaScorecardResult.ScoreSourceOrBuilder

getScoreSourcesOrBuilderList()

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
boolean

Whether the createTime field is set.

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;

Returns
Type Description
boolean

Whether the normalizedScore field is set.

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;

Returns
Type Description
boolean

Whether the potentialScore field is set.

hasScore()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QaScorecardResult.Builder newBuilderForType()
Returns
Type Description
QaScorecardResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QaScorecardResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QaScorecardResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QaScorecardResult.Builder toBuilder()
Returns
Type Description
QaScorecardResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException