public static final class QaQuestion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder> implements QaQuestionOrBuilder
A single question to be scored by the Insights QA feature.Protobuf type
google.cloud.contactcenterinsights.v1.QaQuestion| Modifier and Type | Method and Description |
|---|---|
QaQuestion.Builder |
addAllAnswerChoices(Iterable<? extends QaQuestion.AnswerChoice> values)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
addAllTags(Iterable<String> values)
User-defined list of arbitrary tags for the question.
|
QaQuestion.Builder |
addAnswerChoices(int index,
QaQuestion.AnswerChoice.Builder builderForValue)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
addAnswerChoices(int index,
QaQuestion.AnswerChoice value)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
addAnswerChoices(QaQuestion.AnswerChoice.Builder builderForValue)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
addAnswerChoices(QaQuestion.AnswerChoice value)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.AnswerChoice.Builder |
addAnswerChoicesBuilder()
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.AnswerChoice.Builder |
addAnswerChoicesBuilder(int index)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QaQuestion.Builder |
addTags(String value)
User-defined list of arbitrary tags for the question.
|
QaQuestion.Builder |
addTagsBytes(com.google.protobuf.ByteString value)
User-defined list of arbitrary tags for the question.
|
QaQuestion |
build() |
QaQuestion |
buildPartial() |
QaQuestion.Builder |
clear() |
QaQuestion.Builder |
clearAbbreviation()
Short, descriptive string, used in the UI where it's not practical
to display the full question body.
|
QaQuestion.Builder |
clearAnswerChoices()
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
clearAnswerInstructions()
Instructions describing how to determine the answer.
|
QaQuestion.Builder |
clearCreateTime()
Output only.
|
QaQuestion.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QaQuestion.Builder |
clearMetrics()
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
QaQuestion.Builder |
clearName()
Identifier.
|
QaQuestion.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QaQuestion.Builder |
clearOrder()
Defines the order of the question within its parent scorecard revision.
|
QaQuestion.Builder |
clearQuestionBody()
Question text.
|
QaQuestion.Builder |
clearTags()
User-defined list of arbitrary tags for the question.
|
QaQuestion.Builder |
clearTuningMetadata()
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
QaQuestion.Builder |
clearUpdateTime()
Output only.
|
QaQuestion.Builder |
clone() |
String |
getAbbreviation()
Short, descriptive string, used in the UI where it's not practical
to display the full question body.
|
com.google.protobuf.ByteString |
getAbbreviationBytes()
Short, descriptive string, used in the UI where it's not practical
to display the full question body.
|
QaQuestion.AnswerChoice |
getAnswerChoices(int index)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.AnswerChoice.Builder |
getAnswerChoicesBuilder(int index)
A list of valid answers to the question, which the LLM must choose from.
|
List<QaQuestion.AnswerChoice.Builder> |
getAnswerChoicesBuilderList()
A list of valid answers to the question, which the LLM must choose from.
|
int |
getAnswerChoicesCount()
A list of valid answers to the question, which the LLM must choose from.
|
List<QaQuestion.AnswerChoice> |
getAnswerChoicesList()
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.AnswerChoiceOrBuilder |
getAnswerChoicesOrBuilder(int index)
A list of valid answers to the question, which the LLM must choose from.
|
List<? extends QaQuestion.AnswerChoiceOrBuilder> |
getAnswerChoicesOrBuilderList()
A list of valid answers to the question, which the LLM must choose from.
|
String |
getAnswerInstructions()
Instructions describing how to determine the answer.
|
com.google.protobuf.ByteString |
getAnswerInstructionsBytes()
Instructions describing how to determine the answer.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
QaQuestion |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
QaQuestion.Metrics |
getMetrics()
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
QaQuestion.Metrics.Builder |
getMetricsBuilder()
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
QaQuestion.MetricsOrBuilder |
getMetricsOrBuilder()
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
int |
getOrder()
Defines the order of the question within its parent scorecard revision.
|
String |
getQuestionBody()
Question text.
|
com.google.protobuf.ByteString |
getQuestionBodyBytes()
Question text.
|
String |
getTags(int index)
User-defined list of arbitrary tags for the question.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
User-defined list of arbitrary tags for the question.
|
int |
getTagsCount()
User-defined list of arbitrary tags for the question.
|
com.google.protobuf.ProtocolStringList |
getTagsList()
User-defined list of arbitrary tags for the question.
|
QaQuestion.TuningMetadata |
getTuningMetadata()
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
QaQuestion.TuningMetadata.Builder |
getTuningMetadataBuilder()
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
QaQuestion.TuningMetadataOrBuilder |
getTuningMetadataOrBuilder()
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasMetrics()
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
boolean |
hasTuningMetadata()
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QaQuestion.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
QaQuestion.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QaQuestion.Builder |
mergeFrom(com.google.protobuf.Message other) |
QaQuestion.Builder |
mergeFrom(QaQuestion other) |
QaQuestion.Builder |
mergeMetrics(QaQuestion.Metrics value)
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
QaQuestion.Builder |
mergeTuningMetadata(QaQuestion.TuningMetadata value)
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
QaQuestion.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QaQuestion.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
QaQuestion.Builder |
removeAnswerChoices(int index)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
setAbbreviation(String value)
Short, descriptive string, used in the UI where it's not practical
to display the full question body.
|
QaQuestion.Builder |
setAbbreviationBytes(com.google.protobuf.ByteString value)
Short, descriptive string, used in the UI where it's not practical
to display the full question body.
|
QaQuestion.Builder |
setAnswerChoices(int index,
QaQuestion.AnswerChoice.Builder builderForValue)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
setAnswerChoices(int index,
QaQuestion.AnswerChoice value)
A list of valid answers to the question, which the LLM must choose from.
|
QaQuestion.Builder |
setAnswerInstructions(String value)
Instructions describing how to determine the answer.
|
QaQuestion.Builder |
setAnswerInstructionsBytes(com.google.protobuf.ByteString value)
Instructions describing how to determine the answer.
|
QaQuestion.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
QaQuestion.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
QaQuestion.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QaQuestion.Builder |
setMetrics(QaQuestion.Metrics.Builder builderForValue)
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
QaQuestion.Builder |
setMetrics(QaQuestion.Metrics value)
Metrics of the underlying tuned LLM over a holdout/test set while fine
tuning the underlying LLM for the given question.
|
QaQuestion.Builder |
setName(String value)
Identifier.
|
QaQuestion.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Identifier.
|
QaQuestion.Builder |
setOrder(int value)
Defines the order of the question within its parent scorecard revision.
|
QaQuestion.Builder |
setQuestionBody(String value)
Question text.
|
QaQuestion.Builder |
setQuestionBodyBytes(com.google.protobuf.ByteString value)
Question text.
|
QaQuestion.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QaQuestion.Builder |
setTags(int index,
String value)
User-defined list of arbitrary tags for the question.
|
QaQuestion.Builder |
setTuningMetadata(QaQuestion.TuningMetadata.Builder builderForValue)
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
QaQuestion.Builder |
setTuningMetadata(QaQuestion.TuningMetadata value)
Metadata about the tuning operation for the question.This field will only
be populated if and only if the question is part of a scorecard revision
that has been tuned.
|
QaQuestion.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QaQuestion.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
QaQuestion.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
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<QaQuestion.Builder>public QaQuestion.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.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<QaQuestion.Builder>public QaQuestion getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QaQuestion build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QaQuestion buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QaQuestion.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder>public QaQuestion.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<QaQuestion.Builder>public QaQuestion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder>public QaQuestion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder>public QaQuestion.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<QaQuestion.Builder>public QaQuestion.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<QaQuestion.Builder>public QaQuestion.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QaQuestion.Builder>public QaQuestion.Builder mergeFrom(QaQuestion other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder>public QaQuestion.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<QaQuestion.Builder>IOExceptionpublic String getName()
Identifier. The resource name of the question.
Format:
projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getName in interface QaQuestionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Identifier. The resource name of the question.
Format:
projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getNameBytes in interface QaQuestionOrBuilderpublic QaQuestion.Builder setName(String value)
Identifier. The resource name of the question.
Format:
projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];value - The name to set.public QaQuestion.Builder clearName()
Identifier. The resource name of the question.
Format:
projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];public QaQuestion.Builder setNameBytes(com.google.protobuf.ByteString value)
Identifier. The resource name of the question.
Format:
projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];value - The bytes for name to set.public String getAbbreviation()
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;getAbbreviation in interface QaQuestionOrBuilderpublic com.google.protobuf.ByteString getAbbreviationBytes()
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;getAbbreviationBytes in interface QaQuestionOrBuilderpublic QaQuestion.Builder setAbbreviation(String value)
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;value - The abbreviation to set.public QaQuestion.Builder clearAbbreviation()
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;public QaQuestion.Builder setAbbreviationBytes(com.google.protobuf.ByteString value)
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;value - The bytes for abbreviation to set.public boolean hasCreateTime()
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface QaQuestionOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface QaQuestionOrBuilderpublic QaQuestion.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaQuestion.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaQuestion.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaQuestion.Builder clearCreateTime()
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface QaQuestionOrBuilderpublic boolean hasUpdateTime()
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface QaQuestionOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface QaQuestionOrBuilderpublic QaQuestion.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaQuestion.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaQuestion.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QaQuestion.Builder clearUpdateTime()
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface QaQuestionOrBuilderpublic String getQuestionBody()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;getQuestionBody in interface QaQuestionOrBuilderpublic com.google.protobuf.ByteString getQuestionBodyBytes()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;getQuestionBodyBytes in interface QaQuestionOrBuilderpublic QaQuestion.Builder setQuestionBody(String value)
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;value - The questionBody to set.public QaQuestion.Builder clearQuestionBody()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;public QaQuestion.Builder setQuestionBodyBytes(com.google.protobuf.ByteString value)
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;value - The bytes for questionBody to set.public String getAnswerInstructions()
Instructions describing how to determine the answer.
string answer_instructions = 9;getAnswerInstructions in interface QaQuestionOrBuilderpublic com.google.protobuf.ByteString getAnswerInstructionsBytes()
Instructions describing how to determine the answer.
string answer_instructions = 9;getAnswerInstructionsBytes in interface QaQuestionOrBuilderpublic QaQuestion.Builder setAnswerInstructions(String value)
Instructions describing how to determine the answer.
string answer_instructions = 9;value - The answerInstructions to set.public QaQuestion.Builder clearAnswerInstructions()
Instructions describing how to determine the answer.
string answer_instructions = 9;public QaQuestion.Builder setAnswerInstructionsBytes(com.google.protobuf.ByteString value)
Instructions describing how to determine the answer.
string answer_instructions = 9;value - The bytes for answerInstructions to set.public List<QaQuestion.AnswerChoice> getAnswerChoicesList()
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
getAnswerChoicesList in interface QaQuestionOrBuilderpublic int getAnswerChoicesCount()
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
getAnswerChoicesCount in interface QaQuestionOrBuilderpublic QaQuestion.AnswerChoice getAnswerChoices(int index)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
getAnswerChoices in interface QaQuestionOrBuilderpublic QaQuestion.Builder setAnswerChoices(int index, QaQuestion.AnswerChoice value)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder setAnswerChoices(int index, QaQuestion.AnswerChoice.Builder builderForValue)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder addAnswerChoices(QaQuestion.AnswerChoice value)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder addAnswerChoices(int index, QaQuestion.AnswerChoice value)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder addAnswerChoices(QaQuestion.AnswerChoice.Builder builderForValue)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder addAnswerChoices(int index, QaQuestion.AnswerChoice.Builder builderForValue)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder addAllAnswerChoices(Iterable<? extends QaQuestion.AnswerChoice> values)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder clearAnswerChoices()
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.Builder removeAnswerChoices(int index)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.AnswerChoice.Builder getAnswerChoicesBuilder(int index)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.AnswerChoiceOrBuilder getAnswerChoicesOrBuilder(int index)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
getAnswerChoicesOrBuilder in interface QaQuestionOrBuilderpublic List<? extends QaQuestion.AnswerChoiceOrBuilder> getAnswerChoicesOrBuilderList()
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
getAnswerChoicesOrBuilderList in interface QaQuestionOrBuilderpublic QaQuestion.AnswerChoice.Builder addAnswerChoicesBuilder()
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public QaQuestion.AnswerChoice.Builder addAnswerChoicesBuilder(int index)
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public List<QaQuestion.AnswerChoice.Builder> getAnswerChoicesBuilderList()
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;
public com.google.protobuf.ProtocolStringList getTagsList()
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;getTagsList in interface QaQuestionOrBuilderpublic int getTagsCount()
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;getTagsCount in interface QaQuestionOrBuilderpublic String getTags(int index)
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;getTags in interface QaQuestionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;getTagsBytes in interface QaQuestionOrBuilderindex - The index of the value to return.public QaQuestion.Builder setTags(int index, String value)
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;index - The index to set the value at.value - The tags to set.public QaQuestion.Builder addTags(String value)
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;value - The tags to add.public QaQuestion.Builder addAllTags(Iterable<String> values)
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;values - The tags to add.public QaQuestion.Builder clearTags()
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;public QaQuestion.Builder addTagsBytes(com.google.protobuf.ByteString value)
User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
repeated string tags = 7;value - The bytes of the tags to add.public int getOrder()
Defines the order of the question within its parent scorecard revision.
int32 order = 8;getOrder in interface QaQuestionOrBuilderpublic QaQuestion.Builder setOrder(int value)
Defines the order of the question within its parent scorecard revision.
int32 order = 8;value - The order to set.public QaQuestion.Builder clearOrder()
Defines the order of the question within its parent scorecard revision.
int32 order = 8;public boolean hasMetrics()
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;hasMetrics in interface QaQuestionOrBuilderpublic QaQuestion.Metrics getMetrics()
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;getMetrics in interface QaQuestionOrBuilderpublic QaQuestion.Builder setMetrics(QaQuestion.Metrics value)
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;public QaQuestion.Builder setMetrics(QaQuestion.Metrics.Builder builderForValue)
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;public QaQuestion.Builder mergeMetrics(QaQuestion.Metrics value)
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;public QaQuestion.Builder clearMetrics()
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;public QaQuestion.Metrics.Builder getMetricsBuilder()
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;public QaQuestion.MetricsOrBuilder getMetricsOrBuilder()
Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.Metrics metrics = 10;getMetricsOrBuilder in interface QaQuestionOrBuilderpublic boolean hasTuningMetadata()
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
hasTuningMetadata in interface QaQuestionOrBuilderpublic QaQuestion.TuningMetadata getTuningMetadata()
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
getTuningMetadata in interface QaQuestionOrBuilderpublic QaQuestion.Builder setTuningMetadata(QaQuestion.TuningMetadata value)
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
public QaQuestion.Builder setTuningMetadata(QaQuestion.TuningMetadata.Builder builderForValue)
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
public QaQuestion.Builder mergeTuningMetadata(QaQuestion.TuningMetadata value)
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
public QaQuestion.Builder clearTuningMetadata()
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
public QaQuestion.TuningMetadata.Builder getTuningMetadataBuilder()
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
public QaQuestion.TuningMetadataOrBuilder getTuningMetadataOrBuilder()
Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
.google.cloud.contactcenterinsights.v1.QaQuestion.TuningMetadata tuning_metadata = 11;
getTuningMetadataOrBuilder in interface QaQuestionOrBuilderpublic final QaQuestion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder>public final QaQuestion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QaQuestion.Builder>Copyright © 2025 Google LLC. All rights reserved.