public static final class GroundednessResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<GroundednessResult.Builder> implements GroundednessResultOrBuilder
Spec for groundedness result.Protobuf type
google.cloud.aiplatform.v1.GroundednessResult| Modifier and Type | Method and Description |
|---|---|
GroundednessResult |
build() |
GroundednessResult |
buildPartial() |
GroundednessResult.Builder |
clear() |
GroundednessResult.Builder |
clearConfidence()
Output only.
|
GroundednessResult.Builder |
clearExplanation()
Output only.
|
GroundednessResult.Builder |
clearScore()
Output only.
|
float |
getConfidence()
Output only.
|
GroundednessResult |
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.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GroundednessResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GroundednessResult.Builder |
mergeFrom(GroundednessResult other) |
GroundednessResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
GroundednessResult.Builder |
setConfidence(float value)
Output only.
|
GroundednessResult.Builder |
setExplanation(String value)
Output only.
|
GroundednessResult.Builder |
setExplanationBytes(com.google.protobuf.ByteString value)
Output only.
|
GroundednessResult.Builder |
setScore(float value)
Output only.
|
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, 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<GroundednessResult.Builder>public GroundednessResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GroundednessResult.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<GroundednessResult.Builder>public GroundednessResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroundednessResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroundednessResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroundednessResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroundednessResult.Builder>public GroundednessResult.Builder mergeFrom(GroundednessResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GroundednessResult.Builder>public GroundednessResult.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<GroundednessResult.Builder>IOExceptionpublic boolean hasScore()
Output only. Groundedness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];hasScore in interface GroundednessResultOrBuilderpublic float getScore()
Output only. Groundedness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getScore in interface GroundednessResultOrBuilderpublic GroundednessResult.Builder setScore(float value)
Output only. Groundedness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The score to set.public GroundednessResult.Builder clearScore()
Output only. Groundedness score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getExplanation()
Output only. Explanation for groundedness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanation in interface GroundednessResultOrBuilderpublic com.google.protobuf.ByteString getExplanationBytes()
Output only. Explanation for groundedness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getExplanationBytes in interface GroundednessResultOrBuilderpublic GroundednessResult.Builder setExplanation(String value)
Output only. Explanation for groundedness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The explanation to set.public GroundednessResult.Builder clearExplanation()
Output only. Explanation for groundedness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public GroundednessResult.Builder setExplanationBytes(com.google.protobuf.ByteString value)
Output only. Explanation for groundedness score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for explanation to set.public boolean hasConfidence()
Output only. Confidence for groundedness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];hasConfidence in interface GroundednessResultOrBuilderpublic float getConfidence()
Output only. Confidence for groundedness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getConfidence in interface GroundednessResultOrBuilderpublic GroundednessResult.Builder setConfidence(float value)
Output only. Confidence for groundedness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The confidence to set.public GroundednessResult.Builder clearConfidence()
Output only. Confidence for groundedness score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2026 Google LLC. All rights reserved.