Class QaQuestion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
com.google.cloud.contactcenterinsights.v1.QaQuestion.Builder
- All Implemented Interfaces:
QaQuestionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QaQuestion
public static final class QaQuestion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
implements QaQuestionOrBuilder
A single question to be scored by the Insights QA feature.Protobuf type
google.cloud.contactcenterinsights.v1.QaQuestion-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnswerChoices(Iterable<? extends QaQuestion.AnswerChoice> values) A list of valid answers to the question, which the LLM must choose from.addAllTags(Iterable<String> values) User-defined list of arbitrary tags for the question.addAnswerChoices(int index, QaQuestion.AnswerChoice value) A list of valid answers to the question, which the LLM must choose from.addAnswerChoices(int index, QaQuestion.AnswerChoice.Builder builderForValue) A list of valid answers to the question, which the LLM must choose from.A list of valid answers to the question, which the LLM must choose from.addAnswerChoices(QaQuestion.AnswerChoice.Builder builderForValue) A list of valid answers to the question, which the LLM must choose from.A list of valid answers to the question, which the LLM must choose from.addAnswerChoicesBuilder(int index) A list of valid answers to the question, which the LLM must choose from.User-defined list of arbitrary tags for the question.addTagsBytes(com.google.protobuf.ByteString value) User-defined list of arbitrary tags for the question.build()clear()Short, descriptive string, used in the UI where it's not practical to display the full question body.A list of valid answers to the question, which the LLM must choose from.Instructions describing how to determine the answer.Output only.Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question.Identifier.Defines the order of the question within its parent scorecard revision.Question text.User-defined list of arbitrary tags for the question.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.Output only.Short, descriptive string, used in the UI where it's not practical to display the full question body.com.google.protobuf.ByteStringShort, descriptive string, used in the UI where it's not practical to display the full question body.getAnswerChoices(int index) A list of valid answers to the question, which the LLM must choose from.getAnswerChoicesBuilder(int index) A list of valid answers to the question, which the LLM must choose from.A list of valid answers to the question, which the LLM must choose from.intA list of valid answers to the question, which the LLM must choose from.A list of valid answers to the question, which the LLM must choose from.getAnswerChoicesOrBuilder(int index) A list of valid answers to the question, which the LLM must choose from.List<? extends QaQuestion.AnswerChoiceOrBuilder>A list of valid answers to the question, which the LLM must choose from.Instructions describing how to determine the answer.com.google.protobuf.ByteStringInstructions describing how to determine the answer.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMetrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question.Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question.Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question.getName()Identifier.com.google.protobuf.ByteStringIdentifier.intgetOrder()Defines the order of the question within its parent scorecard revision.Question text.com.google.protobuf.ByteStringQuestion text.getTags(int index) User-defined list of arbitrary tags for the question.com.google.protobuf.ByteStringgetTagsBytes(int index) User-defined list of arbitrary tags for the question.intUser-defined list of arbitrary tags for the question.com.google.protobuf.ProtocolStringListUser-defined list of arbitrary tags for the question.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.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.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.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanMetrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question.booleanMetadata 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.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(QaQuestion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.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.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeAnswerChoices(int index) A list of valid answers to the question, which the LLM must choose from.setAbbreviation(String value) Short, descriptive string, used in the UI where it's not practical to display the full question body.setAbbreviationBytes(com.google.protobuf.ByteString value) Short, descriptive string, used in the UI where it's not practical to display the full question body.setAnswerChoices(int index, QaQuestion.AnswerChoice value) A list of valid answers to the question, which the LLM must choose from.setAnswerChoices(int index, QaQuestion.AnswerChoice.Builder builderForValue) A list of valid answers to the question, which the LLM must choose from.setAnswerInstructions(String value) Instructions describing how to determine the answer.setAnswerInstructionsBytes(com.google.protobuf.ByteString value) Instructions describing how to determine the answer.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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.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.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setOrder(int value) Defines the order of the question within its parent scorecard revision.setQuestionBody(String value) Question text.setQuestionBodyBytes(com.google.protobuf.ByteString value) Question text.User-defined list of arbitrary tags for the question.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.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.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QaQuestion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
-
mergeFrom
public QaQuestion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QaQuestion.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceQaQuestionOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceQaQuestionOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAbbreviationin interfaceQaQuestionOrBuilder- Returns:
- The abbreviation.
-
getAbbreviationBytes
public 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;- Specified by:
getAbbreviationBytesin interfaceQaQuestionOrBuilder- Returns:
- The bytes for abbreviation.
-
setAbbreviation
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;- Parameters:
value- The abbreviation to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setAbbreviationBytes
Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
string abbreviation = 2;- Parameters:
value- The bytes for abbreviation to set.- Returns:
- This builder for chaining.
-
hasCreateTime
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];- Specified by:
hasCreateTimein interfaceQaQuestionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceQaQuestionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time at which this question was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
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]; -
getCreateTimeOrBuilder
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];- Specified by:
getCreateTimeOrBuilderin interfaceQaQuestionOrBuilder
-
hasUpdateTime
public 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];- Specified by:
hasUpdateTimein interfaceQaQuestionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceQaQuestionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The most recent time at which the question was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
getUpdateTimeBuilder
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]; -
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfaceQaQuestionOrBuilder
-
getQuestionBody
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;- Specified by:
getQuestionBodyin interfaceQaQuestionOrBuilder- Returns:
- The questionBody.
-
getQuestionBodyBytes
public com.google.protobuf.ByteString getQuestionBodyBytes()Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;- Specified by:
getQuestionBodyBytesin interfaceQaQuestionOrBuilder- Returns:
- The bytes for questionBody.
-
setQuestionBody
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;- Parameters:
value- The questionBody to set.- Returns:
- This builder for chaining.
-
clearQuestionBody
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;- Returns:
- This builder for chaining.
-
setQuestionBodyBytes
Question text. E.g., "Did the agent greet the customer?"
string question_body = 5;- Parameters:
value- The bytes for questionBody to set.- Returns:
- This builder for chaining.
-
getAnswerInstructions
Instructions describing how to determine the answer.
string answer_instructions = 9;- Specified by:
getAnswerInstructionsin interfaceQaQuestionOrBuilder- Returns:
- The answerInstructions.
-
getAnswerInstructionsBytes
public com.google.protobuf.ByteString getAnswerInstructionsBytes()Instructions describing how to determine the answer.
string answer_instructions = 9;- Specified by:
getAnswerInstructionsBytesin interfaceQaQuestionOrBuilder- Returns:
- The bytes for answerInstructions.
-
setAnswerInstructions
Instructions describing how to determine the answer.
string answer_instructions = 9;- Parameters:
value- The answerInstructions to set.- Returns:
- This builder for chaining.
-
clearAnswerInstructions
Instructions describing how to determine the answer.
string answer_instructions = 9;- Returns:
- This builder for chaining.
-
setAnswerInstructionsBytes
Instructions describing how to determine the answer.
string answer_instructions = 9;- Parameters:
value- The bytes for answerInstructions to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAnswerChoicesListin interfaceQaQuestionOrBuilder
-
getAnswerChoicesCount
public 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;- Specified by:
getAnswerChoicesCountin interfaceQaQuestionOrBuilder
-
getAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;- Specified by:
getAnswerChoicesin interfaceQaQuestionOrBuilder
-
setAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; -
setAnswerChoices
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; -
addAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; -
addAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; -
addAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; -
addAnswerChoices
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; -
addAllAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; -
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; -
removeAnswerChoices
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6; -
getAnswerChoicesBuilder
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
A list of valid answers to the question, which the LLM must choose from.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice answer_choices = 6;- Specified by:
getAnswerChoicesOrBuilderin interfaceQaQuestionOrBuilder
-
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;- Specified by:
getAnswerChoicesOrBuilderListin interfaceQaQuestionOrBuilder
-
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; -
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; -
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; -
getTagsList
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;- Specified by:
getTagsListin interfaceQaQuestionOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public 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;- Specified by:
getTagsCountin interfaceQaQuestionOrBuilder- Returns:
- The count of tags.
-
getTags
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;- Specified by:
getTagsin interfaceQaQuestionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
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;- Specified by:
getTagsBytesin interfaceQaQuestionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
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;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
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;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
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;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addTagsBytes
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;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
getOrder
public int getOrder()Defines the order of the question within its parent scorecard revision.
int32 order = 8;- Specified by:
getOrderin interfaceQaQuestionOrBuilder- Returns:
- The order.
-
setOrder
Defines the order of the question within its parent scorecard revision.
int32 order = 8;- Parameters:
value- The order to set.- Returns:
- This builder for chaining.
-
clearOrder
Defines the order of the question within its parent scorecard revision.
int32 order = 8;- Returns:
- This builder for chaining.
-
hasMetrics
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;- Specified by:
hasMetricsin interfaceQaQuestionOrBuilder- Returns:
- Whether the metrics field is set.
-
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;- Specified by:
getMetricsin interfaceQaQuestionOrBuilder- Returns:
- The metrics.
-
setMetrics
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; -
setMetrics
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; -
mergeMetrics
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; -
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; -
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; -
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;- Specified by:
getMetricsOrBuilderin interfaceQaQuestionOrBuilder
-
hasTuningMetadata
public 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;- Specified by:
hasTuningMetadatain interfaceQaQuestionOrBuilder- Returns:
- Whether the tuningMetadata field is set.
-
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;- Specified by:
getTuningMetadatain interfaceQaQuestionOrBuilder- Returns:
- The tuningMetadata.
-
setTuningMetadata
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; -
setTuningMetadata
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; -
mergeTuningMetadata
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; -
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; -
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; -
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;- Specified by:
getTuningMetadataOrBuilderin interfaceQaQuestionOrBuilder
-