public static final class QaScorecardResult.ScoreSource extends GeneratedMessageV3 implements QaScorecardResult.ScoreSourceOrBuilder
A scorecard result may have multiple sets of scores from varying sources,
one of which becomes the "main" answer above. A ScoreSource represents
each individual set of scores.
Protobuf type google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource
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 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_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 SOURCE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static QaScorecardResult.ScoreSource getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static QaScorecardResult.ScoreSource.Builder newBuilder()
public static QaScorecardResult.ScoreSource.Builder newBuilder(QaScorecardResult.ScoreSource prototype)
public static QaScorecardResult.ScoreSource parseDelimitedFrom(InputStream input)
public static QaScorecardResult.ScoreSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult.ScoreSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static QaScorecardResult.ScoreSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult.ScoreSource parseFrom(ByteString data)
public static QaScorecardResult.ScoreSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult.ScoreSource parseFrom(CodedInputStream input)
public static QaScorecardResult.ScoreSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult.ScoreSource parseFrom(InputStream input)
public static QaScorecardResult.ScoreSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QaScorecardResult.ScoreSource parseFrom(ByteBuffer data)
public static QaScorecardResult.ScoreSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<QaScorecardResult.ScoreSource> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public QaScorecardResult.ScoreSource getDefaultInstanceForType()
public double getNormalizedScore()
The normalized score, which is the score divided by the potential score.
optional double normalized_score = 4;
Returns |
Type |
Description |
double |
The normalizedScore.
|
public Parser<QaScorecardResult.ScoreSource> 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 = 3;
Returns |
Type |
Description |
double |
The potentialScore.
|
public QaScorecardResult.QaTagResult getQaTagResults(int index)
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 5;
Parameter |
Name |
Description |
index |
int
|
public int getQaTagResultsCount()
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 5;
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 = 5;
public QaScorecardResult.QaTagResultOrBuilder getQaTagResultsOrBuilder(int index)
Collection of tags and their scores.
repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 5;
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 = 5;
Returns |
Type |
Description |
List<? extends com.google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResultOrBuilder> |
|
The overall numerical score of the result.
optional double score = 2;
Returns |
Type |
Description |
double |
The score.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public QaScorecardResult.ScoreSource.SourceType getSourceType()
What created the score.
.google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource.SourceType source_type = 1;
public int getSourceTypeValue()
What created the score.
.google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource.SourceType source_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for sourceType.
|
public boolean hasNormalizedScore()
The normalized score, which is the score divided by the potential score.
optional double normalized_score = 4;
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 = 3;
Returns |
Type |
Description |
boolean |
Whether the potentialScore field is set.
|
public boolean hasScore()
The overall numerical score of the result.
optional double score = 2;
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.ScoreSource.Builder newBuilderForType()
protected QaScorecardResult.ScoreSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public QaScorecardResult.ScoreSource.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides