Package com.google.cloud.aiplatform.v1
Interface ClaimOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Claim,Claim.Builder
@Generated
public interface ClaimOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintIndex in the input text where the claim ends (exclusive).intgetFactIndexes(int index) Indexes of the facts supporting this claim.intIndexes of the facts supporting this claim.Indexes of the facts supporting this claim.floatgetScore()Confidence score of this corroboration.intIndex in the input text where the claim starts (inclusive).booleanIndex in the input text where the claim ends (exclusive).booleanhasScore()Confidence score of this corroboration.booleanIndex in the input text where the claim starts (inclusive).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStartIndex
boolean hasStartIndex()Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;- Returns:
- Whether the startIndex field is set.
-
getStartIndex
int getStartIndex()Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;- Returns:
- The startIndex.
-
hasEndIndex
boolean hasEndIndex()Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;- Returns:
- Whether the endIndex field is set.
-
getEndIndex
int getEndIndex()Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;- Returns:
- The endIndex.
-
getFactIndexesList
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;- Returns:
- A list containing the factIndexes.
-
getFactIndexesCount
int getFactIndexesCount()Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;- Returns:
- The count of factIndexes.
-
getFactIndexes
int getFactIndexes(int index) Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;- Parameters:
index- The index of the element to return.- Returns:
- The factIndexes at the given index.
-
hasScore
boolean hasScore()Confidence score of this corroboration.
optional float score = 4;- Returns:
- Whether the score field is set.
-
getScore
float getScore()Confidence score of this corroboration.
optional float score = 4;- Returns:
- The score.
-