public interface QaQuestionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
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.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.
|
List<String> |
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.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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];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];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;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;boolean hasCreateTime()
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
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];
String getQuestionBody()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;com.google.protobuf.ByteString getQuestionBodyBytes()
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;String getAnswerInstructions()
Instructions describing how to determine the answer.
string answer_instructions = 9;com.google.protobuf.ByteString getAnswerInstructionsBytes()
Instructions describing how to determine the answer.
string answer_instructions = 9;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;
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;
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;
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;
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;
List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.int getOrder()
Defines the order of the question within its parent scorecard revision.
int32 order = 8;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;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;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;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;
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;
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;
Copyright © 2025 Google LLC. All rights reserved.