public final class QaAnswer extends com.google.protobuf.GeneratedMessageV3 implements QaAnswerOrBuilder
An answer to a QaQuestion.Protobuf type
google.cloud.contactcenterinsights.v1.QaAnswer| Modifier and Type | Class and Description |
|---|---|
static class |
QaAnswer.AnswerSource
A question may have multiple answers from varying sources, one of which
becomes the "main" answer above.
|
static interface |
QaAnswer.AnswerSourceOrBuilder |
static class |
QaAnswer.AnswerValue
Message for holding the value of a
[QaAnswer][google.cloud.contactcenterinsights.v1.QaAnswer].
|
static interface |
QaAnswer.AnswerValueOrBuilder |
static class |
QaAnswer.Builder
An answer to a QaQuestion.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANSWER_SOURCES_FIELD_NUMBER |
static int |
ANSWER_VALUE_FIELD_NUMBER |
static int |
CONVERSATION_FIELD_NUMBER |
static int |
QA_QUESTION_FIELD_NUMBER |
static int |
QUESTION_BODY_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
QaAnswer.AnswerSource |
getAnswerSources(int index)
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.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.
|
static QaAnswer |
getDefaultInstance() |
QaAnswer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<QaAnswer> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QaAnswer.Builder |
newBuilder() |
static QaAnswer.Builder |
newBuilder(QaAnswer prototype) |
QaAnswer.Builder |
newBuilderForType() |
protected QaAnswer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QaAnswer |
parseDelimitedFrom(InputStream input) |
static QaAnswer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QaAnswer |
parseFrom(byte[] data) |
static QaAnswer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QaAnswer |
parseFrom(ByteBuffer data) |
static QaAnswer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QaAnswer |
parseFrom(com.google.protobuf.ByteString data) |
static QaAnswer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QaAnswer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QaAnswer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QaAnswer |
parseFrom(InputStream input) |
static QaAnswer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QaAnswer> |
parser() |
QaAnswer.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int QA_QUESTION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER
public static final int QUESTION_BODY_FIELD_NUMBER
public static final int ANSWER_VALUE_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int ANSWER_SOURCES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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.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 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 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static QaAnswer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QaAnswer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QaAnswer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QaAnswer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QaAnswer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QaAnswer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QaAnswer parseFrom(InputStream input) throws IOException
IOExceptionpublic static QaAnswer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QaAnswer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QaAnswer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QaAnswer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QaAnswer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QaAnswer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QaAnswer.Builder newBuilder()
public static QaAnswer.Builder newBuilder(QaAnswer prototype)
public QaAnswer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QaAnswer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QaAnswer getDefaultInstance()
public static com.google.protobuf.Parser<QaAnswer> parser()
public com.google.protobuf.Parser<QaAnswer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QaAnswer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.