public static final class Claim.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Claim.Builder> implements ClaimOrBuilder
Claim that is extracted from the input text and facts that support it.Protobuf type
google.cloud.aiplatform.v1beta1.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Claim.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Claim.Builder |
clearScore()
Confidence score of this corroboration.
|
Claim.Builder |
clearStartIndex()
Index in the input text where the claim starts (inclusive).
|
Claim.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Claim.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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).
|
Claim.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<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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Claim.Builder>public Claim.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<Claim.Builder>public Claim.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Claim.Builder>public Claim.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Claim.Builder>public Claim.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<Claim.Builder>public Claim.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<Claim.Builder>public 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.GeneratedMessageV3.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;public final Claim.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Claim.Builder>public final Claim.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Claim.Builder>Copyright © 2025 Google LLC. All rights reserved.