Interface QaAnswerOrBuilder (2.54.0)

public interface QaAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerSources(int index)

public abstract QaAnswer.AnswerSource getAnswerSources(int index)

List of all individual answers given to the question.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;

Parameter
Name Description
index int
Returns
Type Description
QaAnswer.AnswerSource

getAnswerSourcesCount()

public abstract int getAnswerSourcesCount()

List of all individual answers given to the question.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;

Returns
Type Description
int

getAnswerSourcesList()

public abstract List<QaAnswer.AnswerSource> getAnswerSourcesList()

List of all individual answers given to the question.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;

Returns
Type Description
List<AnswerSource>

getAnswerSourcesOrBuilder(int index)

public abstract QaAnswer.AnswerSourceOrBuilder getAnswerSourcesOrBuilder(int index)

List of all individual answers given to the question.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;

Parameter
Name Description
index int
Returns
Type Description
QaAnswer.AnswerSourceOrBuilder

getAnswerSourcesOrBuilderList()

public abstract List<? extends QaAnswer.AnswerSourceOrBuilder> getAnswerSourcesOrBuilderList()

List of all individual answers given to the question.

repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSourceOrBuilder>

getAnswerValue()

public abstract QaAnswer.AnswerValue getAnswerValue()

The main answer value, incorporating any manual edits if they exist.

.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;

Returns
Type Description
QaAnswer.AnswerValue

The answerValue.

getAnswerValueOrBuilder()

public abstract QaAnswer.AnswerValueOrBuilder getAnswerValueOrBuilder()

The main answer value, incorporating any manual edits if they exist.

.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;

Returns
Type Description
QaAnswer.AnswerValueOrBuilder

getConversation()

public abstract String getConversation()

The conversation the answer applies to.

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

Returns
Type Description
String

The conversation.

getConversationBytes()

public abstract ByteString getConversationBytes()

The conversation the answer applies to.

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

Returns
Type Description
ByteString

The bytes for conversation.

getQaQuestion()

public abstract String getQaQuestion()

The QaQuestion answered by this answer.

string qa_question = 7 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The qaQuestion.

getQaQuestionBytes()

public abstract ByteString getQaQuestionBytes()

The QaQuestion answered by this answer.

string qa_question = 7 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for qaQuestion.

getQuestionBody()

public abstract String getQuestionBody()

Question text. E.g., "Did the agent greet the customer?"

string question_body = 6;

Returns
Type Description
String

The questionBody.

getQuestionBodyBytes()

public abstract ByteString getQuestionBodyBytes()

Question text. E.g., "Did the agent greet the customer?"

string question_body = 6;

Returns
Type Description
ByteString

The bytes for questionBody.

getTags(int index)

public abstract String getTags(int index)

User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

repeated string tags = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public abstract ByteString getTagsBytes(int index)

User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

repeated string tags = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public abstract int getTagsCount()

User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

repeated string tags = 5;

Returns
Type Description
int

The count of tags.

getTagsList()

public abstract List<String> getTagsList()

User-defined list of arbitrary tags. Matches the value from QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and for weighting the score of each answer.

repeated string tags = 5;

Returns
Type Description
List<String>

A list containing the tags.

hasAnswerValue()

public abstract boolean hasAnswerValue()

The main answer value, incorporating any manual edits if they exist.

.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;

Returns
Type Description
boolean

Whether the answerValue field is set.