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 Type
    Method
    Description
    int
    Index in the input text where the claim ends (exclusive).
    int
    getFactIndexes(int index)
    Indexes of the facts supporting this claim.
    int
    Indexes of the facts supporting this claim.
    Indexes of the facts supporting this claim.
    float
    Confidence score of this corroboration.
    int
    Index in the input text where the claim starts (inclusive).
    boolean
    Index in the input text where the claim ends (exclusive).
    boolean
    Confidence score of this corroboration.
    boolean
    Index in the input text where the claim starts (inclusive).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<Integer> 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.