public interface ClaimOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEndIndex()
public abstract int getEndIndex()
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;
Returns | |
---|---|
Type | Description |
int |
The endIndex. |
getFactIndexes(int index)
public abstract int getFactIndexes(int index)
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int |
The factIndexes at the given index. |
getFactIndexesCount()
public abstract int getFactIndexesCount()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;
Returns | |
---|---|
Type | Description |
int |
The count of factIndexes. |
getFactIndexesList()
public abstract List<Integer> getFactIndexesList()
Indexes of the facts supporting this claim.
repeated int32 fact_indexes = 3;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the factIndexes. |
getScore()
public abstract float getScore()
Confidence score of this corroboration.
optional float score = 4;
Returns | |
---|---|
Type | Description |
float |
The score. |
getStartIndex()
public abstract int getStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;
Returns | |
---|---|
Type | Description |
int |
The startIndex. |
hasEndIndex()
public abstract boolean hasEndIndex()
Index in the input text where the claim ends (exclusive).
optional int32 end_index = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the endIndex field is set. |
hasScore()
public abstract boolean hasScore()
Confidence score of this corroboration.
optional float score = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the score field is set. |
hasStartIndex()
public abstract boolean hasStartIndex()
Index in the input text where the claim starts (inclusive).
optional int32 start_index = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startIndex field is set. |