public interface EntityOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Textual description, e.g.
|
ByteString |
getDescriptionBytes()
Textual description, e.g.
|
java.lang.String |
getEntityId()
Opaque entity ID.
|
ByteString |
getEntityIdBytes()
Opaque entity ID.
|
java.lang.String |
getLanguageCode()
Language code for `description` in BCP-47 format.
|
ByteString |
getLanguageCodeBytes()
Language code for `description` in BCP-47 format.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getEntityId()
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
string entity_id = 1;ByteString getEntityIdBytes()
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
string entity_id = 1;java.lang.String getDescription()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 2;ByteString getDescriptionBytes()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 2;java.lang.String getLanguageCode()
Language code for `description` in BCP-47 format.
string language_code = 3;ByteString getLanguageCodeBytes()
Language code for `description` in BCP-47 format.
string language_code = 3;