public interface RelationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDirection()
public abstract Relation.Directionality getDirection()Directionality of relationship between primary entity (a) and the related entity (b).
.google.backstory.Relation.Directionality direction = 4;
| Returns | |
|---|---|
| Type | Description |
Relation.Directionality |
The direction. |
getDirectionValue()
public abstract int getDirectionValue()Directionality of relationship between primary entity (a) and the related entity (b).
.google.backstory.Relation.Directionality direction = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for direction. |
getEntity()
public abstract Noun getEntity()Entity (b) that the primary entity (a) is related to.
.google.backstory.Noun entity = 1;
| Returns | |
|---|---|
| Type | Description |
Noun |
The entity. |
getEntityLabel()
public abstract Relation.EntityLabel getEntityLabel()Label to identify the Noun of the relation.
.google.backstory.Relation.EntityLabel entity_label = 6;
| Returns | |
|---|---|
| Type | Description |
Relation.EntityLabel |
The entityLabel. |
getEntityLabelValue()
public abstract int getEntityLabelValue()Label to identify the Noun of the relation.
.google.backstory.Relation.EntityLabel entity_label = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for entityLabel. |
getEntityOrBuilder()
public abstract NounOrBuilder getEntityOrBuilder()Entity (b) that the primary entity (a) is related to.
.google.backstory.Noun entity = 1;
| Returns | |
|---|---|
| Type | Description |
NounOrBuilder |
|
getEntityType()
public abstract EntityMetadata.EntityType getEntityType()Type of the related entity (b) in this relationship.
.google.backstory.EntityMetadata.EntityType entity_type = 2;
| Returns | |
|---|---|
| Type | Description |
EntityMetadata.EntityType |
The entityType. |
getEntityTypeValue()
public abstract int getEntityTypeValue()Type of the related entity (b) in this relationship.
.google.backstory.EntityMetadata.EntityType entity_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for entityType. |
getRelationship()
public abstract Relation.Relationship getRelationship()Type of relationship.
.google.backstory.Relation.Relationship relationship = 3;
| Returns | |
|---|---|
| Type | Description |
Relation.Relationship |
The relationship. |
getRelationshipValue()
public abstract int getRelationshipValue()Type of relationship.
.google.backstory.Relation.Relationship relationship = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for relationship. |
getUid()
public abstract ByteString getUid()UID of the relationship.
bytes uid = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The uid. |
hasEntity()
public abstract boolean hasEntity()Entity (b) that the primary entity (a) is related to.
.google.backstory.Noun entity = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the entity field is set. |