public final class Entity extends GeneratedMessage implements EntityOrBuilder
An Entity provides additional context about an item in a UDM event. For
example, a PROCESS_LAUNCH event describes that user 'abc@example.corp'
launched process 'shady.exe'.
The event does not include information that user 'abc@example.com' is a
recently terminated employee who administers a server storing finance data.
Information stored in one or more Entities can add this additional context.
Protobuf type google.backstory.Entity
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ADDITIONAL_FIELD_NUMBER
public static final int ADDITIONAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
METRIC_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RELATIONS_FIELD_NUMBER
public static final int RELATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RISK_SCORE_FIELD_NUMBER
public static final int RISK_SCORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Entity getDefaultInstance()
| Returns |
| Type |
Description |
Entity |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Entity.Builder newBuilder()
newBuilder(Entity prototype)
public static Entity.Builder newBuilder(Entity prototype)
| Parameter |
| Name |
Description |
prototype |
Entity
|
parseDelimitedFrom(InputStream input)
public static Entity parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Entity |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Entity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(byte[] data)
public static Entity parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Entity |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Entity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(ByteString data)
public static Entity parseFrom(ByteString data)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Entity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(CodedInputStream input)
public static Entity parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Entity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(InputStream input)
public static Entity parseFrom(InputStream input)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Entity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(ByteBuffer data)
public static Entity parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Entity |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Entity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Entity |
|
parser()
public static Parser<Entity> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdditional()
public Struct getAdditional()
Important entity data that cannot be adequately represented within
the formal sections of the Entity.
.google.protobuf.Struct additional = 3;
| Returns |
| Type |
Description |
Struct |
The additional.
|
getAdditionalOrBuilder()
public StructOrBuilder getAdditionalOrBuilder()
Important entity data that cannot be adequately represented within
the formal sections of the Entity.
.google.protobuf.Struct additional = 3;
getDefaultInstanceForType()
public Entity getDefaultInstanceForType()
| Returns |
| Type |
Description |
Entity |
|
getEntity()
Noun in the UDM event that this entity represents.
.google.backstory.Noun entity = 2;
| Returns |
| Type |
Description |
Noun |
The entity.
|
getEntityOrBuilder()
public NounOrBuilder getEntityOrBuilder()
Noun in the UDM event that this entity represents.
.google.backstory.Noun entity = 2;
getMetadata()
public EntityMetadata getMetadata()
Entity metadata such as timestamp, product, etc.
.google.backstory.EntityMetadata metadata = 1;
getMetadataOrBuilder()
public EntityMetadataOrBuilder getMetadataOrBuilder()
Entity metadata such as timestamp, product, etc.
.google.backstory.EntityMetadata metadata = 1;
getMetric()
public Metric getMetric()
Stores statistical metrics about the entity. Used if metadata.entity_type
is METRIC.
.google.backstory.Metric metric = 6;
| Returns |
| Type |
Description |
Metric |
The metric.
|
getMetricOrBuilder()
public MetricOrBuilder getMetricOrBuilder()
Stores statistical metrics about the entity. Used if metadata.entity_type
is METRIC.
.google.backstory.Metric metric = 6;
getParserForType()
public Parser<Entity> getParserForType()
Overrides
getRelations(int index)
public Relation getRelations(int index)
One or more relationships between the entity (a) and other entities,
including the relationship type and related entity.
repeated .google.backstory.Relation relations = 4;
| Parameter |
| Name |
Description |
index |
int
|
getRelationsCount()
public int getRelationsCount()
One or more relationships between the entity (a) and other entities,
including the relationship type and related entity.
repeated .google.backstory.Relation relations = 4;
| Returns |
| Type |
Description |
int |
|
getRelationsList()
public List<Relation> getRelationsList()
One or more relationships between the entity (a) and other entities,
including the relationship type and related entity.
repeated .google.backstory.Relation relations = 4;
getRelationsOrBuilder(int index)
public RelationOrBuilder getRelationsOrBuilder(int index)
One or more relationships between the entity (a) and other entities,
including the relationship type and related entity.
repeated .google.backstory.Relation relations = 4;
| Parameter |
| Name |
Description |
index |
int
|
getRelationsOrBuilderList()
public List<? extends RelationOrBuilder> getRelationsOrBuilderList()
One or more relationships between the entity (a) and other entities,
including the relationship type and related entity.
repeated .google.backstory.Relation relations = 4;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.RelationOrBuilder> |
|
getRiskScore()
public EntityRisk getRiskScore()
Stores information related to the entity's risk score.
optional .google.backstory.EntityRisk risk_score = 5;
| Returns |
| Type |
Description |
EntityRisk |
The riskScore.
|
getRiskScoreOrBuilder()
public EntityRiskOrBuilder getRiskScoreOrBuilder()
Stores information related to the entity's risk score.
optional .google.backstory.EntityRisk risk_score = 5;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasAdditional()
public boolean hasAdditional()
Important entity data that cannot be adequately represented within
the formal sections of the Entity.
.google.protobuf.Struct additional = 3;
| Returns |
| Type |
Description |
boolean |
Whether the additional field is set.
|
hasEntity()
public boolean hasEntity()
Noun in the UDM event that this entity represents.
.google.backstory.Noun entity = 2;
| Returns |
| Type |
Description |
boolean |
Whether the entity field is set.
|
hasMetadata()
public boolean hasMetadata()
Entity metadata such as timestamp, product, etc.
.google.backstory.EntityMetadata metadata = 1;
| Returns |
| Type |
Description |
boolean |
Whether the metadata field is set.
|
hasMetric()
public boolean hasMetric()
Stores statistical metrics about the entity. Used if metadata.entity_type
is METRIC.
.google.backstory.Metric metric = 6;
| Returns |
| Type |
Description |
boolean |
Whether the metric field is set.
|
hasRiskScore()
public boolean hasRiskScore()
Stores information related to the entity's risk score.
optional .google.backstory.EntityRisk risk_score = 5;
| Returns |
| Type |
Description |
boolean |
Whether the riskScore field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Entity.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Entity.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Entity.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides