public static final class RagContextRecallResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder> implements RagContextRecallResultOrBuilder
Spec for rag context recall result.Protobuf type
google.cloud.aiplatform.v1beta1.RagContextRecallResult| Modifier and Type | Method and Description |
|---|---|
RagContextRecallResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagContextRecallResult |
build() |
RagContextRecallResult |
buildPartial() |
RagContextRecallResult.Builder |
clear() |
RagContextRecallResult.Builder |
clearConfidence()
Output only.
|
RagContextRecallResult.Builder |
clearExplanation()
Output only.
|
RagContextRecallResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RagContextRecallResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RagContextRecallResult.Builder |
clearScore()
Output only.
|
RagContextRecallResult.Builder |
clone() |
float |
getConfidence()
Output only.
|
RagContextRecallResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExplanation()
Output only.
|
com.google.protobuf.ByteString |
getExplanationBytes()
Output only.
|
float |
getScore()
Output only.
|
boolean |
hasConfidence()
Output only.
|
boolean |
hasScore()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RagContextRecallResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RagContextRecallResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
RagContextRecallResult.Builder |
mergeFrom(RagContextRecallResult other) |
RagContextRecallResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RagContextRecallResult.Builder |
setConfidence(float value)
Output only.
|
RagContextRecallResult.Builder |
setExplanation(String value)
Output only.
|
RagContextRecallResult.Builder |
setExplanationBytes(com.google.protobuf.ByteString value)
Output only.
|
RagContextRecallResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RagContextRecallResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RagContextRecallResult.Builder |
setScore(float value)
Output only.
|
RagContextRecallResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<RagContextRecallResult.Builder>public RagContextRecallResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.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<RagContextRecallResult.Builder>public RagContextRecallResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RagContextRecallResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RagContextRecallResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RagContextRecallResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder>public RagContextRecallResult.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<RagContextRecallResult.Builder>public RagContextRecallResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder>public RagContextRecallResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder>public RagContextRecallResult.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<RagContextRecallResult.Builder>public RagContextRecallResult.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<RagContextRecallResult.Builder>public RagContextRecallResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagContextRecallResult.Builder>public RagContextRecallResult.Builder mergeFrom(RagContextRecallResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder>public RagContextRecallResult.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<RagContextRecallResult.Builder>IOExceptionpublic boolean hasScore()
Output only. RagContextRecall score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];hasScore in interface RagContextRecallResultOrBuilderpublic float getScore()
Output only. RagContextRecall score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getScore in interface RagContextRecallResultOrBuilderpublic RagContextRecallResult.Builder setScore(float value)
Output only. RagContextRecall score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The score to set.public RagContextRecallResult.Builder clearScore()
Output only. RagContextRecall score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getExplanation()
Output only. Explanation for rag context recall score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanation in interface RagContextRecallResultOrBuilderpublic com.google.protobuf.ByteString getExplanationBytes()
Output only. Explanation for rag context recall score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanationBytes in interface RagContextRecallResultOrBuilderpublic RagContextRecallResult.Builder setExplanation(String value)
Output only. Explanation for rag context recall score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The explanation to set.public RagContextRecallResult.Builder clearExplanation()
Output only. Explanation for rag context recall score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public RagContextRecallResult.Builder setExplanationBytes(com.google.protobuf.ByteString value)
Output only. Explanation for rag context recall score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for explanation to set.public boolean hasConfidence()
Output only. Confidence for rag context recall score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];hasConfidence in interface RagContextRecallResultOrBuilderpublic float getConfidence()
Output only. Confidence for rag context recall score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getConfidence in interface RagContextRecallResultOrBuilderpublic RagContextRecallResult.Builder setConfidence(float value)
Output only. Confidence for rag context recall score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The confidence to set.public RagContextRecallResult.Builder clearConfidence()
Output only. Confidence for rag context recall score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public final RagContextRecallResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder>public final RagContextRecallResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RagContextRecallResult.Builder>Copyright © 2024 Google LLC. All rights reserved.