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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getName in interface QaScorecardResultOrBuilder
      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:
      getNameBytes in interface QaScorecardResultOrBuilder
      Returns:
      The bytes for name.
    • getQaScorecardRevision

      public String getQaScorecardRevision()
       The QaScorecardRevision scored by this result.
       
      string qa_scorecard_revision = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getQaScorecardRevision in interface QaScorecardResultOrBuilder
      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:
      getQaScorecardRevisionBytes in interface QaScorecardResultOrBuilder
      Returns:
      The bytes for qaScorecardRevision.
    • getConversation

      public String getConversation()
       The conversation scored by this result.
       
      string conversation = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getConversation in interface QaScorecardResultOrBuilder
      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:
      getConversationBytes in interface QaScorecardResultOrBuilder
      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:
      hasCreateTime in interface QaScorecardResultOrBuilder
      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:
      getCreateTime in interface QaScorecardResultOrBuilder
      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:
      getCreateTimeOrBuilder in interface QaScorecardResultOrBuilder
    • getAgentId

      public String getAgentId()
       ID of the agent that handled the conversation.
       
      string agent_id = 5;
      Specified by:
      getAgentId in interface QaScorecardResultOrBuilder
      Returns:
      The agentId.
    • getAgentIdBytes

      public com.google.protobuf.ByteString getAgentIdBytes()
       ID of the agent that handled the conversation.
       
      string agent_id = 5;
      Specified by:
      getAgentIdBytes in interface QaScorecardResultOrBuilder
      Returns:
      The bytes for agentId.
    • getQaAnswersList

      public List<QaAnswer> getQaAnswersList()
       Set of QaAnswers represented in the result.
       
      repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
      Specified by:
      getQaAnswersList in interface QaScorecardResultOrBuilder
    • getQaAnswersOrBuilderList

      public List<? extends QaAnswerOrBuilder> getQaAnswersOrBuilderList()
       Set of QaAnswers represented in the result.
       
      repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
      Specified by:
      getQaAnswersOrBuilderList in interface QaScorecardResultOrBuilder
    • getQaAnswersCount

      public int getQaAnswersCount()
       Set of QaAnswers represented in the result.
       
      repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
      Specified by:
      getQaAnswersCount in interface QaScorecardResultOrBuilder
    • getQaAnswers

      public QaAnswer getQaAnswers(int index)
       Set of QaAnswers represented in the result.
       
      repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
      Specified by:
      getQaAnswers in interface QaScorecardResultOrBuilder
    • getQaAnswersOrBuilder

      public QaAnswerOrBuilder getQaAnswersOrBuilder(int index)
       Set of QaAnswers represented in the result.
       
      repeated .google.cloud.contactcenterinsights.v1.QaAnswer qa_answers = 6;
      Specified by:
      getQaAnswersOrBuilder in interface QaScorecardResultOrBuilder
    • hasScore

      public boolean hasScore()
       The overall numerical score of the result, incorporating any manual edits
       if they exist.
       
      optional double score = 7;
      Specified by:
      hasScore in interface QaScorecardResultOrBuilder
      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:
      getScore in interface QaScorecardResultOrBuilder
      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:
      hasPotentialScore in interface QaScorecardResultOrBuilder
      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:
      getPotentialScore in interface QaScorecardResultOrBuilder
      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:
      hasNormalizedScore in interface QaScorecardResultOrBuilder
      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:
      getNormalizedScore in interface QaScorecardResultOrBuilder
      Returns:
      The normalizedScore.
    • getQaTagResultsList

      public List<QaScorecardResult.QaTagResult> getQaTagResultsList()
       Collection of tags and their scores.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
      Specified by:
      getQaTagResultsList in interface QaScorecardResultOrBuilder
    • getQaTagResultsOrBuilderList

      public List<? extends QaScorecardResult.QaTagResultOrBuilder> getQaTagResultsOrBuilderList()
       Collection of tags and their scores.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
      Specified by:
      getQaTagResultsOrBuilderList in interface QaScorecardResultOrBuilder
    • getQaTagResultsCount

      public int getQaTagResultsCount()
       Collection of tags and their scores.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
      Specified by:
      getQaTagResultsCount in interface QaScorecardResultOrBuilder
    • getQaTagResults

      public QaScorecardResult.QaTagResult getQaTagResults(int index)
       Collection of tags and their scores.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
      Specified by:
      getQaTagResults in interface QaScorecardResultOrBuilder
    • getQaTagResultsOrBuilder

      public QaScorecardResult.QaTagResultOrBuilder getQaTagResultsOrBuilder(int index)
       Collection of tags and their scores.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult qa_tag_results = 10;
      Specified by:
      getQaTagResultsOrBuilder in interface QaScorecardResultOrBuilder
    • getScoreSourcesList

      public List<QaScorecardResult.ScoreSource> getScoreSourcesList()
       List of all individual score sets.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
      Specified by:
      getScoreSourcesList in interface QaScorecardResultOrBuilder
    • getScoreSourcesOrBuilderList

      public List<? extends QaScorecardResult.ScoreSourceOrBuilder> getScoreSourcesOrBuilderList()
       List of all individual score sets.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
      Specified by:
      getScoreSourcesOrBuilderList in interface QaScorecardResultOrBuilder
    • getScoreSourcesCount

      public int getScoreSourcesCount()
       List of all individual score sets.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
      Specified by:
      getScoreSourcesCount in interface QaScorecardResultOrBuilder
    • getScoreSources

      public QaScorecardResult.ScoreSource getScoreSources(int index)
       List of all individual score sets.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
      Specified by:
      getScoreSources in interface QaScorecardResultOrBuilder
    • getScoreSourcesOrBuilder

      public QaScorecardResult.ScoreSourceOrBuilder getScoreSourcesOrBuilder(int index)
       List of all individual score sets.
       
      repeated .google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource score_sources = 11;
      Specified by:
      getScoreSourcesOrBuilder in interface QaScorecardResultOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static QaScorecardResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QaScorecardResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QaScorecardResult parseDelimitedFrom(InputStream input) throws IOException
      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

      public QaScorecardResult.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static QaScorecardResult.Builder newBuilder()
    • newBuilder

      public static QaScorecardResult.Builder newBuilder(QaScorecardResult prototype)
    • toBuilder

      public QaScorecardResult.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected QaScorecardResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static QaScorecardResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<QaScorecardResult> parser()
    • getParserForType

      public com.google.protobuf.Parser<QaScorecardResult> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public QaScorecardResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder