Interface Document.EntityRelationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.EntityRelation
,Document.EntityRelation.Builder
- Enclosing class:
- Document
public static interface Document.EntityRelationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getObjectId()
Object entity mention_id.com.google.protobuf.ByteString
getObjectIdBytes()
Object entity mention_id.String
getRelation()
Relationship description.com.google.protobuf.ByteString
getRelationBytes()
Relationship description.String
getSubjectId()
Subject entity mention_id.com.google.protobuf.ByteString
getSubjectIdBytes()
Subject entity mention_id.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSubjectId
String getSubjectId()
Subject entity mention_id.
string subject_id = 1;
- Returns:
- The subjectId.
-
getSubjectIdBytes
com.google.protobuf.ByteString getSubjectIdBytes()
Subject entity mention_id.
string subject_id = 1;
- Returns:
- The bytes for subjectId.
-
getObjectId
String getObjectId()
Object entity mention_id.
string object_id = 2;
- Returns:
- The objectId.
-
getObjectIdBytes
com.google.protobuf.ByteString getObjectIdBytes()
Object entity mention_id.
string object_id = 2;
- Returns:
- The bytes for objectId.
-
getRelation
String getRelation()
Relationship description.
string relation = 3;
- Returns:
- The relation.
-
getRelationBytes
com.google.protobuf.ByteString getRelationBytes()
Relationship description.
string relation = 3;
- Returns:
- The bytes for relation.
-
-