Interface EntityOrBuilder (2.53.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
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

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

string description = 2;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for entityId.

getLanguageCode()

public abstract String getLanguageCode()

Language code for description in BCP-47 format.

string language_code = 3;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Language code for description in BCP-47 format.

string language_code = 3;

Returns
Type Description
ByteString

The bytes for languageCode.