public static final class QuestionAnsweringHelpfulnessResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuestionAnsweringHelpfulnessResult.Builder> implements QuestionAnsweringHelpfulnessResultOrBuilder
Spec for question answering helpfulness result.Protobuf type
google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResultaddRepeatedField, 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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QuestionAnsweringHelpfulnessResult.Builder>public QuestionAnsweringHelpfulnessResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<QuestionAnsweringHelpfulnessResult.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.GeneratedMessage.Builder<QuestionAnsweringHelpfulnessResult.Builder>public QuestionAnsweringHelpfulnessResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QuestionAnsweringHelpfulnessResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QuestionAnsweringHelpfulnessResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QuestionAnsweringHelpfulnessResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuestionAnsweringHelpfulnessResult.Builder>public QuestionAnsweringHelpfulnessResult.Builder mergeFrom(QuestionAnsweringHelpfulnessResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<QuestionAnsweringHelpfulnessResult.Builder>public QuestionAnsweringHelpfulnessResult.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<QuestionAnsweringHelpfulnessResult.Builder>IOExceptionpublic boolean hasScore()
Output only. Question Answering Helpfulness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];hasScore in interface QuestionAnsweringHelpfulnessResultOrBuilderpublic float getScore()
Output only. Question Answering Helpfulness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getScore in interface QuestionAnsweringHelpfulnessResultOrBuilderpublic QuestionAnsweringHelpfulnessResult.Builder setScore(float value)
Output only. Question Answering Helpfulness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The score to set.public QuestionAnsweringHelpfulnessResult.Builder clearScore()
Output only. Question Answering Helpfulness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getExplanation()
Output only. Explanation for question answering helpfulness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanation in interface QuestionAnsweringHelpfulnessResultOrBuilderpublic com.google.protobuf.ByteString getExplanationBytes()
Output only. Explanation for question answering helpfulness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanationBytes in interface QuestionAnsweringHelpfulnessResultOrBuilderpublic QuestionAnsweringHelpfulnessResult.Builder setExplanation(String value)
Output only. Explanation for question answering helpfulness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The explanation to set.public QuestionAnsweringHelpfulnessResult.Builder clearExplanation()
Output only. Explanation for question answering helpfulness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public QuestionAnsweringHelpfulnessResult.Builder setExplanationBytes(com.google.protobuf.ByteString value)
Output only. Explanation for question answering helpfulness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for explanation to set.public boolean hasConfidence()
Output only. Confidence for question answering helpfulness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];hasConfidence in interface QuestionAnsweringHelpfulnessResultOrBuilderpublic float getConfidence()
Output only. Confidence for question answering helpfulness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getConfidence in interface QuestionAnsweringHelpfulnessResultOrBuilderpublic QuestionAnsweringHelpfulnessResult.Builder setConfidence(float value)
Output only. Confidence for question answering helpfulness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The confidence to set.public QuestionAnsweringHelpfulnessResult.Builder clearConfidence()
Output only. Confidence for question answering helpfulness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2026 Google LLC. All rights reserved.