public static final class Claim.Builder extends com.google.protobuf.GeneratedMessage.Builder<Claim.Builder> implements ClaimOrBuilder
Claim that is extracted from the input text and facts that support it.Protobuf type
google.cloud.aiplatform.v1.Claim| Modifier and Type | Method and Description |
|---|---|
Claim.Builder |
addAllFactIndexes(Iterable<? extends Integer> values)
Indexes of the facts supporting this claim.
|
Claim.Builder |
addFactIndexes(int value)
Indexes of the facts supporting this claim.
|
Claim |
build() |
Claim |
buildPartial() |
Claim.Builder |
clear() |
Claim.Builder |
clearEndIndex()
Index in the input text where the claim ends (exclusive).
|
Claim.Builder |
clearFactIndexes()
Indexes of the facts supporting this claim.
|
Claim.Builder |
clearScore()
Confidence score of this corroboration.
|
Claim.Builder |
clearStartIndex()
Index in the input text where the claim starts (inclusive).
|
Claim |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEndIndex()
Index in the input text where the claim ends (exclusive).
|
int |
getFactIndexes(int index)
Indexes of the facts supporting this claim.
|
int |
getFactIndexesCount()
Indexes of the facts supporting this claim.
|
List<Integer> |
getFactIndexesList()
Indexes of the facts supporting this claim.
|
float |
getScore()
Confidence score of this corroboration.
|
int |
getStartIndex()
Index in the input text where the claim starts (inclusive).
|
boolean |
hasEndIndex()
Index in the input text where the claim ends (exclusive).
|
boolean |
hasScore()
Confidence score of this corroboration.
|
boolean |
hasStartIndex()
Index in the input text where the claim starts (inclusive).
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Claim.Builder |
mergeFrom(Claim other) |
Claim.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Claim.Builder |
mergeFrom(com.google.protobuf.Message other) |
Claim.Builder |
setEndIndex(int value)
Index in the input text where the claim ends (exclusive).
|
Claim.Builder |
setFactIndexes(int index,
int value)
Indexes of the facts supporting this claim.
|
Claim.Builder |
setScore(float value)
Confidence score of this corroboration.
|
Claim.Builder |
setStartIndex(int value)
Index in the input text where the claim starts (inclusive).
|
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<Claim.Builder>public Claim.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Claim.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<Claim.Builder>public Claim getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Claim build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Claim buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Claim.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Claim.Builder>public Claim.Builder mergeFrom(Claim other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Claim.Builder>public Claim.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<Claim.Builder>IOExceptionpublic boolean hasStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;hasStartIndex in interface ClaimOrBuilderpublic int getStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;getStartIndex in interface ClaimOrBuilderpublic Claim.Builder setStartIndex(int value)
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;value - The startIndex to set.public Claim.Builder clearStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;public boolean hasEndIndex()
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;hasEndIndex in interface ClaimOrBuilderpublic int getEndIndex()
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;getEndIndex in interface ClaimOrBuilderpublic Claim.Builder setEndIndex(int value)
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;value - The endIndex to set.public Claim.Builder clearEndIndex()
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;public List<Integer> getFactIndexesList()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;getFactIndexesList in interface ClaimOrBuilderpublic int getFactIndexesCount()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;getFactIndexesCount in interface ClaimOrBuilderpublic int getFactIndexes(int index)
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;getFactIndexes in interface ClaimOrBuilderindex - The index of the element to return.public Claim.Builder setFactIndexes(int index, int value)
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;index - The index to set the value at.value - The factIndexes to set.public Claim.Builder addFactIndexes(int value)
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;value - The factIndexes to add.public Claim.Builder addAllFactIndexes(Iterable<? extends Integer> values)
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;values - The factIndexes to add.public Claim.Builder clearFactIndexes()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;public boolean hasScore()
Confidence score of this corroboration.
optional float score = 4;hasScore in interface ClaimOrBuilderpublic float getScore()
Confidence score of this corroboration.
optional float score = 4;getScore in interface ClaimOrBuilderpublic Claim.Builder setScore(float value)
Confidence score of this corroboration.
optional float score = 4;value - The score to set.public Claim.Builder clearScore()
Confidence score of this corroboration.
optional float score = 4;Copyright © 2026 Google LLC. All rights reserved.