Interface Document.EntityRelationOrBuilder (2.52.0)

public static interface Document.EntityRelationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getObjectId()

public abstract String getObjectId()

Object entity mention_id.

string object_id = 2;

Returns
Type Description
String

The objectId.

getObjectIdBytes()

public abstract ByteString getObjectIdBytes()

Object entity mention_id.

string object_id = 2;

Returns
Type Description
ByteString

The bytes for objectId.

getRelation()

public abstract String getRelation()

Relationship description.

string relation = 3;

Returns
Type Description
String

The relation.

getRelationBytes()

public abstract ByteString getRelationBytes()

Relationship description.

string relation = 3;

Returns
Type Description
ByteString

The bytes for relation.

getSubjectId()

public abstract String getSubjectId()

Subject entity mention_id.

string subject_id = 1;

Returns
Type Description
String

The subjectId.

getSubjectIdBytes()

public abstract ByteString getSubjectIdBytes()

Subject entity mention_id.

string subject_id = 1;

Returns
Type Description
ByteString

The bytes for subjectId.