Interface GroundingFactOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GroundingFact, GroundingFact.Builder

@Generated public interface GroundingFactOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Attributes associated with the fact.
    Deprecated.
    int
    Attributes associated with the fact.
    Attributes associated with the fact.
    getAttributesOrDefault(String key, String defaultValue)
    Attributes associated with the fact.
    Attributes associated with the fact.
    Text content of the fact.
    com.google.protobuf.ByteString
    Text content of the fact.

    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

    • getFactText

      String getFactText()
       Text content of the fact. Can be at most 10K characters long.
       
      string fact_text = 1;
      Returns:
      The factText.
    • getFactTextBytes

      com.google.protobuf.ByteString getFactTextBytes()
       Text content of the fact. Can be at most 10K characters long.
       
      string fact_text = 1;
      Returns:
      The bytes for factText.
    • getAttributesCount

      int getAttributesCount()
       Attributes associated with the fact.
       Common attributes include `source` (indicating where the fact was sourced
       from), `author` (indicating the author of the fact), and so on.
       
      map<string, string> attributes = 2;
    • containsAttributes

      boolean containsAttributes(String key)
       Attributes associated with the fact.
       Common attributes include `source` (indicating where the fact was sourced
       from), `author` (indicating the author of the fact), and so on.
       
      map<string, string> attributes = 2;
    • getAttributes

      @Deprecated Map<String,String> getAttributes()
      Deprecated.
      Use getAttributesMap() instead.
    • getAttributesMap

      Map<String,String> getAttributesMap()
       Attributes associated with the fact.
       Common attributes include `source` (indicating where the fact was sourced
       from), `author` (indicating the author of the fact), and so on.
       
      map<string, string> attributes = 2;
    • getAttributesOrDefault

      String getAttributesOrDefault(String key, String defaultValue)
       Attributes associated with the fact.
       Common attributes include `source` (indicating where the fact was sourced
       from), `author` (indicating the author of the fact), and so on.
       
      map<string, string> attributes = 2;
    • getAttributesOrThrow

      String getAttributesOrThrow(String key)
       Attributes associated with the fact.
       Common attributes include `source` (indicating where the fact was sourced
       from), `author` (indicating the author of the fact), and so on.
       
      map<string, string> attributes = 2;