public static final class QaAnswer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder> implements QaAnswerOrBuilder
An answer to a QaQuestion.Protobuf type
google.cloud.contactcenterinsights.v1.QaAnswer| Modifier and Type | Method and Description |
|---|---|
QaAnswer.Builder |
addAllAnswerSources(Iterable<? extends QaAnswer.AnswerSource> values)
List of all individual answers given to the question.
|
QaAnswer.Builder |
addAllTags(Iterable<String> values)
User-defined list of arbitrary tags.
|
QaAnswer.Builder |
addAnswerSources(int index,
QaAnswer.AnswerSource.Builder builderForValue)
List of all individual answers given to the question.
|
QaAnswer.Builder |
addAnswerSources(int index,
QaAnswer.AnswerSource value)
List of all individual answers given to the question.
|
QaAnswer.Builder |
addAnswerSources(QaAnswer.AnswerSource.Builder builderForValue)
List of all individual answers given to the question.
|
QaAnswer.Builder |
addAnswerSources(QaAnswer.AnswerSource value)
List of all individual answers given to the question.
|
QaAnswer.AnswerSource.Builder |
addAnswerSourcesBuilder()
List of all individual answers given to the question.
|
QaAnswer.AnswerSource.Builder |
addAnswerSourcesBuilder(int index)
List of all individual answers given to the question.
|
QaAnswer.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QaAnswer.Builder |
addTags(String value)
User-defined list of arbitrary tags.
|
QaAnswer.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
User-defined list of arbitrary tags.
|
QaAnswer |
build() |
QaAnswer |
buildPartial() |
QaAnswer.Builder |
clear() |
QaAnswer.Builder |
clearAnswerSources()
List of all individual answers given to the question.
|
QaAnswer.Builder |
clearAnswerValue()
The main answer value, incorporating any manual edits if they exist.
|
QaAnswer.Builder |
clearConversation()
The conversation the answer applies to.
|
QaAnswer.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QaAnswer.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QaAnswer.Builder |
clearQaQuestion()
The QaQuestion answered by this answer.
|
QaAnswer.Builder |
clearQuestionBody()
Question text.
|
QaAnswer.Builder |
clearTags()
User-defined list of arbitrary tags.
|
QaAnswer.Builder |
clone() |
QaAnswer.AnswerSource |
getAnswerSources(int index)
List of all individual answers given to the question.
|
QaAnswer.AnswerSource.Builder |
getAnswerSourcesBuilder(int index)
List of all individual answers given to the question.
|
List<QaAnswer.AnswerSource.Builder> |
getAnswerSourcesBuilderList()
List of all individual answers given to the question.
|
int |
getAnswerSourcesCount()
List of all individual answers given to the question.
|
List<QaAnswer.AnswerSource> |
getAnswerSourcesList()
List of all individual answers given to the question.
|
QaAnswer.AnswerSourceOrBuilder |
getAnswerSourcesOrBuilder(int index)
List of all individual answers given to the question.
|
List<? extends QaAnswer.AnswerSourceOrBuilder> |
getAnswerSourcesOrBuilderList()
List of all individual answers given to the question.
|
QaAnswer.AnswerValue |
getAnswerValue()
The main answer value, incorporating any manual edits if they exist.
|
QaAnswer.AnswerValue.Builder |
getAnswerValueBuilder()
The main answer value, incorporating any manual edits if they exist.
|
QaAnswer.AnswerValueOrBuilder |
getAnswerValueOrBuilder()
The main answer value, incorporating any manual edits if they exist.
|
String |
getConversation()
The conversation the answer applies to.
|
com.google.protobuf.ByteString |
getConversationBytes()
The conversation the answer applies to.
|
QaAnswer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getQaQuestion()
The QaQuestion answered by this answer.
|
com.google.protobuf.ByteString |
getQaQuestionBytes()
The QaQuestion answered by this answer.
|
String |
getQuestionBody()
Question text.
|
com.google.protobuf.ByteString |
getQuestionBodyBytes()
Question text.
|
String |
getTags(int index)
User-defined list of arbitrary tags.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
User-defined list of arbitrary tags.
|
int |
getTagsCount()
User-defined list of arbitrary tags.
|
com.google.protobuf.ProtocolStringList |
getTagsList()
User-defined list of arbitrary tags.
|
boolean |
hasAnswerValue()
The main answer value, incorporating any manual edits if they exist.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QaAnswer.Builder |
mergeAnswerValue(QaAnswer.AnswerValue value)
The main answer value, incorporating any manual edits if they exist.
|
QaAnswer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QaAnswer.Builder |
mergeFrom(com.google.protobuf.Message other) |
QaAnswer.Builder |
mergeFrom(QaAnswer other) |
QaAnswer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QaAnswer.Builder |
removeAnswerSources(int index)
List of all individual answers given to the question.
|
QaAnswer.Builder |
setAnswerSources(int index,
QaAnswer.AnswerSource.Builder builderForValue)
List of all individual answers given to the question.
|
QaAnswer.Builder |
setAnswerSources(int index,
QaAnswer.AnswerSource value)
List of all individual answers given to the question.
|
QaAnswer.Builder |
setAnswerValue(QaAnswer.AnswerValue.Builder builderForValue)
The main answer value, incorporating any manual edits if they exist.
|
QaAnswer.Builder |
setAnswerValue(QaAnswer.AnswerValue value)
The main answer value, incorporating any manual edits if they exist.
|
QaAnswer.Builder |
setConversation(String value)
The conversation the answer applies to.
|
QaAnswer.Builder |
setConversationBytes(com.google.protobuf.ByteString value)
The conversation the answer applies to.
|
QaAnswer.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QaAnswer.Builder |
setQaQuestion(String value)
The QaQuestion answered by this answer.
|
QaAnswer.Builder |
setQaQuestionBytes(com.google.protobuf.ByteString value)
The QaQuestion answered by this answer.
|
QaAnswer.Builder |
setQuestionBody(String value)
Question text.
|
QaAnswer.Builder |
setQuestionBodyBytes(com.google.protobuf.ByteString value)
Question text.
|
QaAnswer.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QaAnswer.Builder |
setTags(int index,
String value)
User-defined list of arbitrary tags.
|
QaAnswer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QaAnswer build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QaAnswer buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QaAnswer.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QaAnswer.Builder>public QaAnswer.Builder mergeFrom(QaAnswer other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public QaAnswer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QaAnswer.Builder>IOExceptionpublic String getQaQuestion()
The QaQuestion answered by this answer.
string qa_question = 7 [(.google.api.resource_reference) = { ... }getQaQuestion in interface QaAnswerOrBuilderpublic com.google.protobuf.ByteString getQaQuestionBytes()
The QaQuestion answered by this answer.
string qa_question = 7 [(.google.api.resource_reference) = { ... }getQaQuestionBytes in interface QaAnswerOrBuilderpublic QaAnswer.Builder setQaQuestion(String value)
The QaQuestion answered by this answer.
string qa_question = 7 [(.google.api.resource_reference) = { ... }value - The qaQuestion to set.public QaAnswer.Builder clearQaQuestion()
The QaQuestion answered by this answer.
string qa_question = 7 [(.google.api.resource_reference) = { ... }public QaAnswer.Builder setQaQuestionBytes(com.google.protobuf.ByteString value)
The QaQuestion answered by this answer.
string qa_question = 7 [(.google.api.resource_reference) = { ... }value - The bytes for qaQuestion to set.public String getConversation()
The conversation the answer applies to.
string conversation = 2 [(.google.api.resource_reference) = { ... }getConversation in interface QaAnswerOrBuilderpublic com.google.protobuf.ByteString getConversationBytes()
The conversation the answer applies to.
string conversation = 2 [(.google.api.resource_reference) = { ... }getConversationBytes in interface QaAnswerOrBuilderpublic QaAnswer.Builder setConversation(String value)
The conversation the answer applies to.
string conversation = 2 [(.google.api.resource_reference) = { ... }value - The conversation to set.public QaAnswer.Builder clearConversation()
The conversation the answer applies to.
string conversation = 2 [(.google.api.resource_reference) = { ... }public QaAnswer.Builder setConversationBytes(com.google.protobuf.ByteString value)
The conversation the answer applies to.
string conversation = 2 [(.google.api.resource_reference) = { ... }value - The bytes for conversation to set.public String getQuestionBody()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 6;getQuestionBody in interface QaAnswerOrBuilderpublic com.google.protobuf.ByteString getQuestionBodyBytes()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 6;getQuestionBodyBytes in interface QaAnswerOrBuilderpublic QaAnswer.Builder setQuestionBody(String value)
Question text. E.g., "Did the agent greet the customer?"
string question_body = 6;value - The questionBody to set.public QaAnswer.Builder clearQuestionBody()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 6;public QaAnswer.Builder setQuestionBodyBytes(com.google.protobuf.ByteString value)
Question text. E.g., "Did the agent greet the customer?"
string question_body = 6;value - The bytes for questionBody to set.public boolean hasAnswerValue()
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;hasAnswerValue in interface QaAnswerOrBuilderpublic QaAnswer.AnswerValue getAnswerValue()
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;getAnswerValue in interface QaAnswerOrBuilderpublic QaAnswer.Builder setAnswerValue(QaAnswer.AnswerValue value)
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;public QaAnswer.Builder setAnswerValue(QaAnswer.AnswerValue.Builder builderForValue)
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;public QaAnswer.Builder mergeAnswerValue(QaAnswer.AnswerValue value)
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;public QaAnswer.Builder clearAnswerValue()
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;public QaAnswer.AnswerValue.Builder getAnswerValueBuilder()
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;public QaAnswer.AnswerValueOrBuilder getAnswerValueOrBuilder()
The main answer value, incorporating any manual edits if they exist.
.google.cloud.contactcenterinsights.v1.QaAnswer.AnswerValue answer_value = 3;getAnswerValueOrBuilder in interface QaAnswerOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getTagsList in interface QaAnswerOrBuilderpublic 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;getTagsCount in interface QaAnswerOrBuilderpublic 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;getTags in interface QaAnswerOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getTagsBytes in interface QaAnswerOrBuilderindex - The index of the value to return.public QaAnswer.Builder setTags(int index, String value)
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;index - The index to set the value at.value - The tags to set.public QaAnswer.Builder addTags(String value)
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;value - The tags to add.public QaAnswer.Builder addAllTags(Iterable<String> values)
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;values - The tags to add.public QaAnswer.Builder clearTags()
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;public QaAnswer.Builder addTagsBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the tags to add.public List<QaAnswer.AnswerSource> getAnswerSourcesList()
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
getAnswerSourcesList in interface QaAnswerOrBuilderpublic int getAnswerSourcesCount()
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
getAnswerSourcesCount in interface QaAnswerOrBuilderpublic QaAnswer.AnswerSource getAnswerSources(int index)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
getAnswerSources in interface QaAnswerOrBuilderpublic QaAnswer.Builder setAnswerSources(int index, QaAnswer.AnswerSource value)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder setAnswerSources(int index, QaAnswer.AnswerSource.Builder builderForValue)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder addAnswerSources(QaAnswer.AnswerSource value)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder addAnswerSources(int index, QaAnswer.AnswerSource value)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder addAnswerSources(QaAnswer.AnswerSource.Builder builderForValue)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder addAnswerSources(int index, QaAnswer.AnswerSource.Builder builderForValue)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder addAllAnswerSources(Iterable<? extends QaAnswer.AnswerSource> values)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder clearAnswerSources()
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.Builder removeAnswerSources(int index)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.AnswerSource.Builder getAnswerSourcesBuilder(int index)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.AnswerSourceOrBuilder getAnswerSourcesOrBuilder(int index)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
getAnswerSourcesOrBuilder in interface QaAnswerOrBuilderpublic List<? extends QaAnswer.AnswerSourceOrBuilder> getAnswerSourcesOrBuilderList()
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
getAnswerSourcesOrBuilderList in interface QaAnswerOrBuilderpublic QaAnswer.AnswerSource.Builder addAnswerSourcesBuilder()
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public QaAnswer.AnswerSource.Builder addAnswerSourcesBuilder(int index)
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public List<QaAnswer.AnswerSource.Builder> getAnswerSourcesBuilderList()
List of all individual answers given to the question.
repeated .google.cloud.contactcenterinsights.v1.QaAnswer.AnswerSource answer_sources = 8;
public final QaAnswer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>public final QaAnswer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QaAnswer.Builder>Copyright © 2025 Google LLC. All rights reserved.