Class QaScorecardResult.Builder (2.54.0)

public static final class QaScorecardResult.Builder extends GeneratedMessageV3.Builder<QaScorecardResult.Builder> 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 Methods

getDescriptor()

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

Methods

addAllQaAnswers(Iterable<? extends QaAnswer> values)

public QaScorecardResult.Builder addAllQaAnswers(Iterable<? extends QaAnswer> values)

Set of QaAnswers represented in the result.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.QaAnswer>
Returns
Type Description
QaScorecardResult.Builder

addAllQaTagResults(Iterable<? extends QaScorecardResult.QaTagResult> values)

public QaScorecardResult.Builder addAllQaTagResults(Iterable<? extends QaScorecardResult.QaTagResult> values)

Collection of tags and their scores.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.QaScorecardResult.QaTagResult>
Returns
Type Description
QaScorecardResult.Builder

addAllScoreSources(Iterable<? extends QaScorecardResult.ScoreSource> values)

public QaScorecardResult.Builder addAllScoreSources(Iterable<? extends QaScorecardResult.ScoreSource> values)

List of all individual score sets.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.QaScorecardResult.ScoreSource>
Returns
Type Description
QaScorecardResult.Builder

addQaAnswers(QaAnswer value)

public QaScorecardResult.Builder addQaAnswers(QaAnswer value)

Set of QaAnswers represented in the result.

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

Parameter
Name Description
value QaAnswer
Returns
Type Description
QaScorecardResult.Builder

addQaAnswers(QaAnswer.Builder builderForValue)

public QaScorecardResult.Builder addQaAnswers(QaAnswer.Builder builderForValue)

Set of QaAnswers represented in the result.

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

Parameter
Name Description
builderForValue QaAnswer.Builder
Returns
Type Description
QaScorecardResult.Builder

addQaAnswers(int index, QaAnswer value)

public QaScorecardResult.Builder addQaAnswers(int index, QaAnswer value)

Set of QaAnswers represented in the result.

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

Parameters
Name Description
index int
value QaAnswer
Returns
Type Description
QaScorecardResult.Builder

addQaAnswers(int index, QaAnswer.Builder builderForValue)

public QaScorecardResult.Builder addQaAnswers(int index, QaAnswer.Builder builderForValue)

Set of QaAnswers represented in the result.

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

Parameters
Name Description
index int
builderForValue QaAnswer.Builder
Returns
Type Description
QaScorecardResult.Builder

addQaAnswersBuilder()

public QaAnswer.Builder addQaAnswersBuilder()

Set of QaAnswers represented in the result.

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

Returns
Type Description
QaAnswer.Builder

addQaAnswersBuilder(int index)

public QaAnswer.Builder addQaAnswersBuilder(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.Builder

addQaTagResults(QaScorecardResult.QaTagResult value)

public QaScorecardResult.Builder addQaTagResults(QaScorecardResult.QaTagResult value)

Collection of tags and their scores.

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

Parameter
Name Description
value QaScorecardResult.QaTagResult
Returns
Type Description
QaScorecardResult.Builder

addQaTagResults(QaScorecardResult.QaTagResult.Builder builderForValue)

public QaScorecardResult.Builder addQaTagResults(QaScorecardResult.QaTagResult.Builder builderForValue)

Collection of tags and their scores.

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

Parameter
Name Description
builderForValue QaScorecardResult.QaTagResult.Builder
Returns
Type Description
QaScorecardResult.Builder

addQaTagResults(int index, QaScorecardResult.QaTagResult value)

public QaScorecardResult.Builder addQaTagResults(int index, QaScorecardResult.QaTagResult value)

Collection of tags and their scores.

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

Parameters
Name Description
index int
value QaScorecardResult.QaTagResult
Returns
Type Description
QaScorecardResult.Builder

addQaTagResults(int index, QaScorecardResult.QaTagResult.Builder builderForValue)

public QaScorecardResult.Builder addQaTagResults(int index, QaScorecardResult.QaTagResult.Builder builderForValue)

Collection of tags and their scores.

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

Parameters
Name Description
index int
builderForValue QaScorecardResult.QaTagResult.Builder
Returns
Type Description
QaScorecardResult.Builder

addQaTagResultsBuilder()

public QaScorecardResult.QaTagResult.Builder addQaTagResultsBuilder()

Collection of tags and their scores.

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

Returns
Type Description
QaScorecardResult.QaTagResult.Builder

addQaTagResultsBuilder(int index)

public QaScorecardResult.QaTagResult.Builder addQaTagResultsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QaScorecardResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QaScorecardResult.Builder
Overrides

addScoreSources(QaScorecardResult.ScoreSource value)

public QaScorecardResult.Builder addScoreSources(QaScorecardResult.ScoreSource value)

List of all individual score sets.

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

Parameter
Name Description
value QaScorecardResult.ScoreSource
Returns
Type Description
QaScorecardResult.Builder

addScoreSources(QaScorecardResult.ScoreSource.Builder builderForValue)

public QaScorecardResult.Builder addScoreSources(QaScorecardResult.ScoreSource.Builder builderForValue)

List of all individual score sets.

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

Parameter
Name Description
builderForValue QaScorecardResult.ScoreSource.Builder
Returns
Type Description
QaScorecardResult.Builder

addScoreSources(int index, QaScorecardResult.ScoreSource value)

public QaScorecardResult.Builder addScoreSources(int index, QaScorecardResult.ScoreSource value)

List of all individual score sets.

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

Parameters
Name Description
index int
value QaScorecardResult.ScoreSource
Returns
Type Description
QaScorecardResult.Builder

addScoreSources(int index, QaScorecardResult.ScoreSource.Builder builderForValue)

public QaScorecardResult.Builder addScoreSources(int index, QaScorecardResult.ScoreSource.Builder builderForValue)

List of all individual score sets.

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

Parameters
Name Description
index int
builderForValue QaScorecardResult.ScoreSource.Builder
Returns
Type Description
QaScorecardResult.Builder

addScoreSourcesBuilder()

public QaScorecardResult.ScoreSource.Builder addScoreSourcesBuilder()

List of all individual score sets.

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

Returns
Type Description
QaScorecardResult.ScoreSource.Builder

addScoreSourcesBuilder(int index)

public QaScorecardResult.ScoreSource.Builder addScoreSourcesBuilder(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.Builder

build()

public QaScorecardResult build()
Returns
Type Description
QaScorecardResult

buildPartial()

public QaScorecardResult buildPartial()
Returns
Type Description
QaScorecardResult

clear()

public QaScorecardResult.Builder clear()
Returns
Type Description
QaScorecardResult.Builder
Overrides

clearAgentId()

public QaScorecardResult.Builder clearAgentId()

ID of the agent that handled the conversation.

string agent_id = 5;

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

clearConversation()

public QaScorecardResult.Builder clearConversation()

The conversation scored by this result.

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

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

clearCreateTime()

public QaScorecardResult.Builder clearCreateTime()

Output only. The timestamp that the revision was created.

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

Returns
Type Description
QaScorecardResult.Builder

clearField(Descriptors.FieldDescriptor field)

public QaScorecardResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QaScorecardResult.Builder
Overrides

clearName()

public QaScorecardResult.Builder clearName()

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
QaScorecardResult.Builder

This builder for chaining.

clearNormalizedScore()

public QaScorecardResult.Builder clearNormalizedScore()

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
QaScorecardResult.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public QaScorecardResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QaScorecardResult.Builder
Overrides

clearPotentialScore()

public QaScorecardResult.Builder clearPotentialScore()

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
QaScorecardResult.Builder

This builder for chaining.

clearQaAnswers()

public QaScorecardResult.Builder clearQaAnswers()

Set of QaAnswers represented in the result.

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

Returns
Type Description
QaScorecardResult.Builder

clearQaScorecardRevision()

public QaScorecardResult.Builder clearQaScorecardRevision()

The QaScorecardRevision scored by this result.

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

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

clearQaTagResults()

public QaScorecardResult.Builder clearQaTagResults()

Collection of tags and their scores.

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

Returns
Type Description
QaScorecardResult.Builder

clearScore()

public QaScorecardResult.Builder clearScore()

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

optional double score = 7;

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

clearScoreSources()

public QaScorecardResult.Builder clearScoreSources()

List of all individual score sets.

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

Returns
Type Description
QaScorecardResult.Builder

clone()

public QaScorecardResult.Builder clone()
Returns
Type Description
QaScorecardResult.Builder
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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp that the revision was created.

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

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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

getQaAnswersBuilder(int index)

public QaAnswer.Builder getQaAnswersBuilder(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.Builder

getQaAnswersBuilderList()

public List<QaAnswer.Builder> getQaAnswersBuilderList()

Set of QaAnswers represented in the result.

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

Returns
Type Description
List<Builder>

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

getQaTagResultsBuilder(int index)

public QaScorecardResult.QaTagResult.Builder getQaTagResultsBuilder(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.Builder

getQaTagResultsBuilderList()

public List<QaScorecardResult.QaTagResult.Builder> getQaTagResultsBuilderList()

Collection of tags and their scores.

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

Returns
Type Description
List<Builder>

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

getScoreSourcesBuilder(int index)

public QaScorecardResult.ScoreSource.Builder getScoreSourcesBuilder(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.Builder

getScoreSourcesBuilderList()

public List<QaScorecardResult.ScoreSource.Builder> getScoreSourcesBuilderList()

List of all individual score sets.

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

Returns
Type Description
List<Builder>

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>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public QaScorecardResult.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
QaScorecardResult.Builder

mergeFrom(QaScorecardResult other)

public QaScorecardResult.Builder mergeFrom(QaScorecardResult other)
Parameter
Name Description
other QaScorecardResult
Returns
Type Description
QaScorecardResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QaScorecardResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QaScorecardResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QaScorecardResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QaScorecardResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QaScorecardResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QaScorecardResult.Builder
Overrides

removeQaAnswers(int index)

public QaScorecardResult.Builder removeQaAnswers(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
QaScorecardResult.Builder

removeQaTagResults(int index)

public QaScorecardResult.Builder removeQaTagResults(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.Builder

removeScoreSources(int index)

public QaScorecardResult.Builder removeScoreSources(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.Builder

setAgentId(String value)

public QaScorecardResult.Builder setAgentId(String value)

ID of the agent that handled the conversation.

string agent_id = 5;

Parameter
Name Description
value String

The agentId to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setAgentIdBytes(ByteString value)

public QaScorecardResult.Builder setAgentIdBytes(ByteString value)

ID of the agent that handled the conversation.

string agent_id = 5;

Parameter
Name Description
value ByteString

The bytes for agentId to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setConversation(String value)

public QaScorecardResult.Builder setConversation(String value)

The conversation scored by this result.

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

Parameter
Name Description
value String

The conversation to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setConversationBytes(ByteString value)

public QaScorecardResult.Builder setConversationBytes(ByteString value)

The conversation scored by this result.

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

Parameter
Name Description
value ByteString

The bytes for conversation to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public QaScorecardResult.Builder setCreateTime(Timestamp value)

Output only. The timestamp that the revision was created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
QaScorecardResult.Builder

setCreateTime(Timestamp.Builder builderForValue)

public QaScorecardResult.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp that the revision was created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
QaScorecardResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QaScorecardResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QaScorecardResult.Builder
Overrides

setName(String value)

public QaScorecardResult.Builder setName(String value)

Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setNameBytes(ByteString value)

public QaScorecardResult.Builder setNameBytes(ByteString value)

Identifier. The name of the scorecard result. Format: projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setNormalizedScore(double value)

public QaScorecardResult.Builder setNormalizedScore(double value)

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;

Parameter
Name Description
value double

The normalizedScore to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setPotentialScore(double value)

public QaScorecardResult.Builder setPotentialScore(double value)

The maximum potential overall score of the scorecard. Any questions answered using na_value are excluded from this calculation.

optional double potential_score = 8;

Parameter
Name Description
value double

The potentialScore to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setQaAnswers(int index, QaAnswer value)

public QaScorecardResult.Builder setQaAnswers(int index, QaAnswer value)

Set of QaAnswers represented in the result.

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

Parameters
Name Description
index int
value QaAnswer
Returns
Type Description
QaScorecardResult.Builder

setQaAnswers(int index, QaAnswer.Builder builderForValue)

public QaScorecardResult.Builder setQaAnswers(int index, QaAnswer.Builder builderForValue)

Set of QaAnswers represented in the result.

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

Parameters
Name Description
index int
builderForValue QaAnswer.Builder
Returns
Type Description
QaScorecardResult.Builder

setQaScorecardRevision(String value)

public QaScorecardResult.Builder setQaScorecardRevision(String value)

The QaScorecardRevision scored by this result.

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

Parameter
Name Description
value String

The qaScorecardRevision to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setQaScorecardRevisionBytes(ByteString value)

public QaScorecardResult.Builder setQaScorecardRevisionBytes(ByteString value)

The QaScorecardRevision scored by this result.

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

Parameter
Name Description
value ByteString

The bytes for qaScorecardRevision to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setQaTagResults(int index, QaScorecardResult.QaTagResult value)

public QaScorecardResult.Builder setQaTagResults(int index, QaScorecardResult.QaTagResult value)

Collection of tags and their scores.

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

Parameters
Name Description
index int
value QaScorecardResult.QaTagResult
Returns
Type Description
QaScorecardResult.Builder

setQaTagResults(int index, QaScorecardResult.QaTagResult.Builder builderForValue)

public QaScorecardResult.Builder setQaTagResults(int index, QaScorecardResult.QaTagResult.Builder builderForValue)

Collection of tags and their scores.

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

Parameters
Name Description
index int
builderForValue QaScorecardResult.QaTagResult.Builder
Returns
Type Description
QaScorecardResult.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QaScorecardResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QaScorecardResult.Builder
Overrides

setScore(double value)

public QaScorecardResult.Builder setScore(double value)

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

optional double score = 7;

Parameter
Name Description
value double

The score to set.

Returns
Type Description
QaScorecardResult.Builder

This builder for chaining.

setScoreSources(int index, QaScorecardResult.ScoreSource value)

public QaScorecardResult.Builder setScoreSources(int index, QaScorecardResult.ScoreSource value)

List of all individual score sets.

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

Parameters
Name Description
index int
value QaScorecardResult.ScoreSource
Returns
Type Description
QaScorecardResult.Builder

setScoreSources(int index, QaScorecardResult.ScoreSource.Builder builderForValue)

public QaScorecardResult.Builder setScoreSources(int index, QaScorecardResult.ScoreSource.Builder builderForValue)

List of all individual score sets.

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

Parameters
Name Description
index int
builderForValue QaScorecardResult.ScoreSource.Builder
Returns
Type Description
QaScorecardResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QaScorecardResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QaScorecardResult.Builder
Overrides