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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
    • clear

      public QaQuestion.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QaQuestion.Builder>
    • getDefaultInstanceForType

      public QaQuestion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public QaQuestion build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QaQuestion buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public QaQuestion.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QaQuestion.Builder>
    • mergeFrom

      public QaQuestion.Builder mergeFrom(QaQuestion other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QaQuestion.Builder>
      Throws:
      IOException
    • getName

      public 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];
      Specified by:
      getName in interface QaQuestionOrBuilder
      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:
      getNameBytes in interface QaQuestionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public 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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      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];
      Returns:
      This builder for chaining.
    • setNameBytes

      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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getAbbreviation

      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;
      Specified by:
      getAbbreviation in interface QaQuestionOrBuilder
      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:
      getAbbreviationBytes in interface QaQuestionOrBuilder
      Returns:
      The bytes for abbreviation.
    • setAbbreviation

      public 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;
      Parameters:
      value - The abbreviation to set.
      Returns:
      This builder for chaining.
    • clearAbbreviation

      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;
      Returns:
      This builder for chaining.
    • setAbbreviationBytes

      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;
      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:
      hasCreateTime in interface QaQuestionOrBuilder
      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:
      getCreateTime in interface QaQuestionOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public 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];
    • setCreateTime

      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];
    • mergeCreateTime

      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];
    • clearCreateTime

      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];
    • 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:
      getCreateTimeOrBuilder in interface QaQuestionOrBuilder
    • 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:
      hasUpdateTime in interface QaQuestionOrBuilder
      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:
      getUpdateTime in interface QaQuestionOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public 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];
    • setUpdateTime

      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];
    • mergeUpdateTime

      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];
    • clearUpdateTime

      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];
    • 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:
      getUpdateTimeOrBuilder in interface QaQuestionOrBuilder
    • getQuestionBody

      public String getQuestionBody()
       Question text. E.g., "Did the agent greet the customer?"
       
      string question_body = 5;
      Specified by:
      getQuestionBody in interface QaQuestionOrBuilder
      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:
      getQuestionBodyBytes in interface QaQuestionOrBuilder
      Returns:
      The bytes for questionBody.
    • setQuestionBody

      public QaQuestion.Builder setQuestionBody(String value)
       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

      public QaQuestion.Builder clearQuestionBody()
       Question text. E.g., "Did the agent greet the customer?"
       
      string question_body = 5;
      Returns:
      This builder for chaining.
    • setQuestionBodyBytes

      public QaQuestion.Builder setQuestionBodyBytes(com.google.protobuf.ByteString value)
       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

      public String getAnswerInstructions()
       Instructions describing how to determine the answer.
       
      string answer_instructions = 9;
      Specified by:
      getAnswerInstructions in interface QaQuestionOrBuilder
      Returns:
      The answerInstructions.
    • getAnswerInstructionsBytes

      public com.google.protobuf.ByteString getAnswerInstructionsBytes()
       Instructions describing how to determine the answer.
       
      string answer_instructions = 9;
      Specified by:
      getAnswerInstructionsBytes in interface QaQuestionOrBuilder
      Returns:
      The bytes for answerInstructions.
    • setAnswerInstructions

      public QaQuestion.Builder setAnswerInstructions(String value)
       Instructions describing how to determine the answer.
       
      string answer_instructions = 9;
      Parameters:
      value - The answerInstructions to set.
      Returns:
      This builder for chaining.
    • clearAnswerInstructions

      public QaQuestion.Builder clearAnswerInstructions()
       Instructions describing how to determine the answer.
       
      string answer_instructions = 9;
      Returns:
      This builder for chaining.
    • setAnswerInstructionsBytes

      public QaQuestion.Builder setAnswerInstructionsBytes(com.google.protobuf.ByteString value)
       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

      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;
      Specified by:
      getAnswerChoicesList in interface QaQuestionOrBuilder
    • 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:
      getAnswerChoicesCount in interface QaQuestionOrBuilder
    • getAnswerChoices

      public 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;
      Specified by:
      getAnswerChoices in interface QaQuestionOrBuilder
    • setAnswerChoices

      public 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;
    • 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

      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;
    • addAnswerChoices

      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;
    • addAnswerChoices

      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;
    • 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

      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;
    • clearAnswerChoices

      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;
    • removeAnswerChoices

      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;
    • getAnswerChoicesBuilder

      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;
    • getAnswerChoicesOrBuilder

      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;
      Specified by:
      getAnswerChoicesOrBuilder in interface QaQuestionOrBuilder
    • getAnswerChoicesOrBuilderList

      public 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;
      Specified by:
      getAnswerChoicesOrBuilderList in interface QaQuestionOrBuilder
    • addAnswerChoicesBuilder

      public 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;
    • addAnswerChoicesBuilder

      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;
    • getAnswerChoicesBuilderList

      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;
    • 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:
      getTagsList in interface QaQuestionOrBuilder
      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:
      getTagsCount in interface QaQuestionOrBuilder
      Returns:
      The count of tags.
    • getTags

      public 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;
      Specified by:
      getTags in interface QaQuestionOrBuilder
      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:
      getTagsBytes in interface QaQuestionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      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;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      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;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      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;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      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;
      Returns:
      This builder for chaining.
    • addTagsBytes

      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;
      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:
      getOrder in interface QaQuestionOrBuilder
      Returns:
      The order.
    • setOrder

      public QaQuestion.Builder setOrder(int value)
       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

      public QaQuestion.Builder 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:
      hasMetrics in interface QaQuestionOrBuilder
      Returns:
      Whether the metrics field is set.
    • getMetrics

      public 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;
      Specified by:
      getMetrics in interface QaQuestionOrBuilder
      Returns:
      The metrics.
    • setMetrics

      public 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;
    • setMetrics

      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;
    • mergeMetrics

      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;
    • clearMetrics

      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;
    • getMetricsBuilder

      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;
    • getMetricsOrBuilder

      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;
      Specified by:
      getMetricsOrBuilder in interface QaQuestionOrBuilder
    • 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:
      hasTuningMetadata in interface QaQuestionOrBuilder
      Returns:
      Whether the tuningMetadata field is set.
    • getTuningMetadata

      public 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;
      Specified by:
      getTuningMetadata in interface QaQuestionOrBuilder
      Returns:
      The tuningMetadata.
    • setTuningMetadata

      public 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;
    • setTuningMetadata

      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;
    • mergeTuningMetadata

      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;
    • clearTuningMetadata

      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;
    • getTuningMetadataBuilder

      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;
    • getTuningMetadataOrBuilder

      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;
      Specified by:
      getTuningMetadataOrBuilder in interface QaQuestionOrBuilder