Interface EntityOrBuilder (2.1.0)

public interface EntityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Textual description, e.g. Fixed-gear bicycle.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Textual description, e.g. Fixed-gear bicycle.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getEntityId()

public abstract String getEntityId()

Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

string entity_id = 1;

Returns
TypeDescription
String

The entityId.

getEntityIdBytes()

public abstract ByteString getEntityIdBytes()

Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

string entity_id = 1;

Returns
TypeDescription
ByteString

The bytes for entityId.

getLanguageCode()

public abstract String getLanguageCode()

Language code for description in BCP-47 format.

string language_code = 3;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Language code for description in BCP-47 format.

string language_code = 3;

Returns
TypeDescription
ByteString

The bytes for languageCode.