Class Claim (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  Claim   extends   GeneratedMessageV3   implements   ClaimOrBuilder  
   Claim that is extracted from the input text and facts that support it.
 Protobuf type google.cloud.aiplatform.v1.Claim
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   END_INDEX_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   FACT_INDEXES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SCORE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   START_INDEX_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   Claim   getDefaultInstance ()  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   Claim . Builder   newBuilder ()  
  
  
    
public   static   Claim . Builder   newBuilder ( Claim   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeClaim  
     
  
  
  
    
public   static   Claim   parseDelimitedFrom ( InputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( ByteString   data )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( CodedInputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( InputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( ByteBuffer   data )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Claim   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
  
  
    
public   static   Parser<Claim>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   Claim   getDefaultInstanceForType ()  
  
    
      
        Returns  
      
        Type Description  
      
        Claim  
     
  
   Index in the input text where the claim ends (exclusive).
 optional int32 end_index = 2;
    
      
        Returns  
      
        Type Description  
      
        int The endIndex.
 
     
  
  
    
public   int   getFactIndexes ( int   index )  
   Indexes of the facts supporting this claim.
 repeated int32 fact_indexes = 3;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int The factIndexes at the given index.
 
     
  
  
    
public   int   getFactIndexesCount ()  
   Indexes of the facts supporting this claim.
 repeated int32 fact_indexes = 3;
    
      
        Returns  
      
        Type Description  
      
        int The count of factIndexes.
 
     
  
  
    
public   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.
 
     
  
  
    
public   Parser<Claim>   getParserForType ()  
  
  Overrides 
  
   Confidence score of this corroboration.
 optional float score = 4;
    
      
        Returns  
      
        Type Description  
      
        float The score.
 
     
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   int   getStartIndex ()  
   Index in the input text where the claim starts (inclusive).
 optional int32 start_index = 1;
    
      
        Returns  
      
        Type Description  
      
        int The startIndex.
 
     
  
  
    
public   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.
 
     
  
  
    
public   boolean   hasScore ()  
   Confidence score of this corroboration.
 optional float score = 4;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the score field is set.
 
     
  
  
    
public   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.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   Claim . Builder   newBuilderForType ()  
  
  
    
protected   Claim . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   Claim . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]