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 TypeMethodDescriptionbooleancontainsAttributes(String key) Attributes associated with the fact.Deprecated.intAttributes 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.ByteStringText content of the fact.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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.UsegetAttributesMap()instead. -
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
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
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;
-