public interface GroundingFactOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAttributes(String key)
Attributes associated with the fact.
|
Map<String,String> |
getAttributes()
Deprecated.
|
int |
getAttributesCount()
Attributes associated with the fact.
|
Map<String,String> |
getAttributesMap()
Attributes associated with the fact.
|
String |
getAttributesOrDefault(String key,
String defaultValue)
Attributes associated with the fact.
|
String |
getAttributesOrThrow(String key)
Attributes associated with the fact.
|
String |
getFactText()
Text content of the fact.
|
com.google.protobuf.ByteString |
getFactTextBytes()
Text content of the fact.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getFactText()
Text content of the fact. Can be at most 10K characters long.
string fact_text = 1;com.google.protobuf.ByteString getFactTextBytes()
Text content of the fact. Can be at most 10K characters long.
string fact_text = 1;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;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;@Deprecated Map<String,String> getAttributes()
getAttributesMap() instead.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;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;Copyright © 2025 Google LLC. All rights reserved.