public static final class CheckGroundingResponse.Claim extends GeneratedMessageV3 implements CheckGroundingResponse.ClaimOrBuilder
   
   Text and citation info for a claim in the answer candidate.
 Protobuf type google.cloud.discoveryengine.v1.CheckGroundingResponse.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
  
  CITATION_INDICES_FIELD_NUMBER
  
    public static final int CITATION_INDICES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CLAIM_TEXT_FIELD_NUMBER
  
    public static final int CLAIM_TEXT_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  END_POS_FIELD_NUMBER
  
    public static final int END_POS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  GROUNDING_CHECK_REQUIRED_FIELD_NUMBER
  
    public static final int GROUNDING_CHECK_REQUIRED_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  SCORE_FIELD_NUMBER
  
    public static final int SCORE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  START_POS_FIELD_NUMBER
  
    public static final int START_POS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static CheckGroundingResponse.Claim getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static CheckGroundingResponse.Claim.Builder newBuilder()
   
  
  
  newBuilder(CheckGroundingResponse.Claim prototype)
  
    public static CheckGroundingResponse.Claim.Builder newBuilder(CheckGroundingResponse.Claim prototype)
   
  
  
  
  
  
    public static CheckGroundingResponse.Claim parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static CheckGroundingResponse.Claim parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static CheckGroundingResponse.Claim parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static CheckGroundingResponse.Claim parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static CheckGroundingResponse.Claim parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static CheckGroundingResponse.Claim parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static CheckGroundingResponse.Claim parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static CheckGroundingResponse.Claim parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static CheckGroundingResponse.Claim parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static CheckGroundingResponse.Claim parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static CheckGroundingResponse.Claim parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static CheckGroundingResponse.Claim parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<CheckGroundingResponse.Claim> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getCitationIndices(int index)
  
    public int getCitationIndices(int index)
   
   A list of indices (into 'cited_chunks') specifying the citations
 associated with the claim. For instance [1,3,4] means that
 cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited
 supporting for the claim. A citation to a fact indicates that the claim
 is supported by the fact.
 repeated int32 citation_indices = 4;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The citationIndices at the given index. | 
    
  
  
  getCitationIndicesCount()
  
    public int getCitationIndicesCount()
   
   A list of indices (into 'cited_chunks') specifying the citations
 associated with the claim. For instance [1,3,4] means that
 cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited
 supporting for the claim. A citation to a fact indicates that the claim
 is supported by the fact.
 repeated int32 citation_indices = 4;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of citationIndices. | 
    
  
  
  getCitationIndicesList()
  
    public List<Integer> getCitationIndicesList()
   
   A list of indices (into 'cited_chunks') specifying the citations
 associated with the claim. For instance [1,3,4] means that
 cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited
 supporting for the claim. A citation to a fact indicates that the claim
 is supported by the fact.
 repeated int32 citation_indices = 4;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<Integer> | A list containing the citationIndices. | 
    
  
  
  getClaimText()
  
    public String getClaimText()
   
   Text for the claim in the answer candidate. Always provided regardless of
 whether citations or anti-citations are found.
 string claim_text = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The claimText. | 
    
  
  
  getClaimTextBytes()
  
    public ByteString getClaimTextBytes()
   
   Text for the claim in the answer candidate. Always provided regardless of
 whether citations or anti-citations are found.
 string claim_text = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for claimText. | 
    
  
  
  getDefaultInstanceForType()
  
    public CheckGroundingResponse.Claim getDefaultInstanceForType()
   
  
  
  getEndPos()
  
   Position indicating the end of the claim in the answer candidate,
 exclusive, in bytes. Note that this is not measured in characters and,
 therefore, must be rendered as such. For example, if the claim text
 contains non-ASCII characters, the start and end positions vary when
 measured in characters (programming-language-dependent) and when measured
 in bytes (programming-language-independent).
 optional int32 end_pos = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The endPos. | 
    
  
  
  getGroundingCheckRequired()
  
    public boolean getGroundingCheckRequired()
   
   Indicates that this claim required grounding check. When the system
 decided this claim doesn't require attribution/grounding check, this
 field will be set to false. In that case, no grounding check was done for
 the claim and therefore
 citation_indices
 should not be returned.
 optional bool grounding_check_required = 6;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | The groundingCheckRequired. | 
    
  
  
  getParserForType()
  
    public Parser<CheckGroundingResponse.Claim> getParserForType()
   
  
  Overrides
  
  
  getScore()
  
   Confidence score for the claim in the answer candidate, in the range of
 [0, 1]. This is set only when
 CheckGroundingRequest.grounding_spec.enable_claim_level_score is true.
 optional double score = 7;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | double | The score. | 
    
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  getStartPos()
  
   Position indicating the start of the claim in the answer candidate,
 measured in bytes. Note that this is not measured in characters and,
 therefore, must be rendered in the user interface keeping in mind that
 some characters may take more than one byte. For example,
 if the claim text contains non-ASCII characters, the start and end
 positions vary when measured in characters
 (programming-language-dependent) and when measured in bytes
 (programming-language-independent).
 optional int32 start_pos = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The startPos. | 
    
  
  
  hasEndPos()
  
    public boolean hasEndPos()
   
   Position indicating the end of the claim in the answer candidate,
 exclusive, in bytes. Note that this is not measured in characters and,
 therefore, must be rendered as such. For example, if the claim text
 contains non-ASCII characters, the start and end positions vary when
 measured in characters (programming-language-dependent) and when measured
 in bytes (programming-language-independent).
 optional int32 end_pos = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the endPos field is set. | 
    
  
  
  hasGroundingCheckRequired()
  
    public boolean hasGroundingCheckRequired()
   
   Indicates that this claim required grounding check. When the system
 decided this claim doesn't require attribution/grounding check, this
 field will be set to false. In that case, no grounding check was done for
 the claim and therefore
 citation_indices
 should not be returned.
 optional bool grounding_check_required = 6;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the groundingCheckRequired field is set. | 
    
  
  
  hasScore()
  
    public boolean hasScore()
   
   Confidence score for the claim in the answer candidate, in the range of
 [0, 1]. This is set only when
 CheckGroundingRequest.grounding_spec.enable_claim_level_score is true.
 optional double score = 7;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the score field is set. | 
    
  
  
  hasStartPos()
  
    public boolean hasStartPos()
   
   Position indicating the start of the claim in the answer candidate,
 measured in bytes. Note that this is not measured in characters and,
 therefore, must be rendered in the user interface keeping in mind that
 some characters may take more than one byte. For example,
 if the claim text contains non-ASCII characters, the start and end
 positions vary when measured in characters
 (programming-language-dependent) and when measured in bytes
 (programming-language-independent).
 optional int32 start_pos = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the startPos field is set. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public CheckGroundingResponse.Claim.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected CheckGroundingResponse.Claim.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public CheckGroundingResponse.Claim.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides