public final class Element extends GeneratedMessage implements ElementOrBuilder
Protobuf type google.backstory.Element
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
ASSOCIATION_FIELD_NUMBER
public static final int ASSOCIATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LATENCY_METRICS_FIELD_NUMBER
public static final int LATENCY_METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REFERENCES_SAMPLED_FIELD_NUMBER
public static final int REFERENCES_SAMPLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Element getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Element.Builder newBuilder()
newBuilder(Element prototype)
public static Element.Builder newBuilder(Element prototype)
| Parameter |
| Name |
Description |
prototype |
Element
|
parseDelimitedFrom(InputStream input)
public static Element parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Element parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Element parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Element parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Element parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Element parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Element parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Element parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Element parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Element parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Element parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Element parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Element> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAssociation()
public SecurityResult getAssociation()
Metadata that provides the relevant association for the references in the
element. For a detection, this can be the correlated aspect of the
references that contributed to the overall detection. For example, may
include sub-rule condition, machine learning model metadata, and/or
indicators implicated in this component of the detection
(using the .about field).
.google.backstory.SecurityResult association = 1;
getAssociationOrBuilder()
public SecurityResultOrBuilder getAssociationOrBuilder()
Metadata that provides the relevant association for the references in the
element. For a detection, this can be the correlated aspect of the
references that contributed to the overall detection. For example, may
include sub-rule condition, machine learning model metadata, and/or
indicators implicated in this component of the detection
(using the .about field).
.google.backstory.SecurityResult association = 1;
getDefaultInstanceForType()
public Element getDefaultInstanceForType()
getLabel()
A name that labels the entire references group.
string label = 3;
| Returns |
| Type |
Description |
String |
The label.
|
getLabelBytes()
public ByteString getLabelBytes()
A name that labels the entire references group.
string label = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for label.
|
getLatencyMetrics()
public LatencyMetrics getLatencyMetrics()
Latency metrics for the specific element. These are
calculated from all the contributing events or entities for a single event
variable, not just the sampled ones included in references. This is
currently only populated for UDM events.
.google.backstory.LatencyMetrics latency_metrics = 5;
getLatencyMetricsOrBuilder()
public LatencyMetricsOrBuilder getLatencyMetricsOrBuilder()
Latency metrics for the specific element. These are
calculated from all the contributing events or entities for a single event
variable, not just the sampled ones included in references. This is
currently only populated for UDM events.
.google.backstory.LatencyMetrics latency_metrics = 5;
getParserForType()
public Parser<Element> getParserForType()
Overrides
getReferences(int index)
public Reference getReferences(int index)
References to model primatives including events and entities that share a
common association.
Even though a reference can have both UDM and entity, a collection of
references (of a single element) will only have one type of message in it
(either UDM / Entity).
repeated .google.backstory.Reference references = 2;
| Parameter |
| Name |
Description |
index |
int
|
getReferencesCount()
public int getReferencesCount()
References to model primatives including events and entities that share a
common association.
Even though a reference can have both UDM and entity, a collection of
references (of a single element) will only have one type of message in it
(either UDM / Entity).
repeated .google.backstory.Reference references = 2;
| Returns |
| Type |
Description |
int |
|
getReferencesList()
public List<Reference> getReferencesList()
References to model primatives including events and entities that share a
common association.
Even though a reference can have both UDM and entity, a collection of
references (of a single element) will only have one type of message in it
(either UDM / Entity).
repeated .google.backstory.Reference references = 2;
getReferencesOrBuilder(int index)
public ReferenceOrBuilder getReferencesOrBuilder(int index)
References to model primatives including events and entities that share a
common association.
Even though a reference can have both UDM and entity, a collection of
references (of a single element) will only have one type of message in it
(either UDM / Entity).
repeated .google.backstory.Reference references = 2;
| Parameter |
| Name |
Description |
index |
int
|
getReferencesOrBuilderList()
public List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
References to model primatives including events and entities that share a
common association.
Even though a reference can have both UDM and entity, a collection of
references (of a single element) will only have one type of message in it
(either UDM / Entity).
repeated .google.backstory.Reference references = 2;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.ReferenceOrBuilder> |
|
getReferencesSampled()
public boolean getReferencesSampled()
Copied from the detection event_sample.too_many_event_samples field.
If true, the number of references will be capped at the sample limit
(set at rule service).
This is applicable to both UDM references and Entity references.
bool references_sampled = 4;
| Returns |
| Type |
Description |
boolean |
The referencesSampled.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasAssociation()
public boolean hasAssociation()
Metadata that provides the relevant association for the references in the
element. For a detection, this can be the correlated aspect of the
references that contributed to the overall detection. For example, may
include sub-rule condition, machine learning model metadata, and/or
indicators implicated in this component of the detection
(using the .about field).
.google.backstory.SecurityResult association = 1;
| Returns |
| Type |
Description |
boolean |
Whether the association field is set.
|
hasLatencyMetrics()
public boolean hasLatencyMetrics()
Latency metrics for the specific element. These are
calculated from all the contributing events or entities for a single event
variable, not just the sampled ones included in references. This is
currently only populated for UDM events.
.google.backstory.LatencyMetrics latency_metrics = 5;
| Returns |
| Type |
Description |
boolean |
Whether the latencyMetrics field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Element.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Element.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Element.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides