Class EntityMetadata.Builder (0.3.0)

public static final class EntityMetadata.Builder extends GeneratedMessage.Builder<EntityMetadata.Builder> implements EntityMetadataOrBuilder

Information about the Entity and the product where the entity was created.

Protobuf type google.backstory.EntityMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSourceLabels(Iterable<? extends Label> values)

public EntityMetadata.Builder addAllSourceLabels(Iterable<? extends Label> values)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
values Iterable<? extends com.google.backstory.Label>
Returns
Type Description
EntityMetadata.Builder

addAllThreat(Iterable<? extends SecurityResult> values)

public EntityMetadata.Builder addAllThreat(Iterable<? extends SecurityResult> values)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
values Iterable<? extends com.google.backstory.SecurityResult>
Returns
Type Description
EntityMetadata.Builder

addSourceLabels(Label value)

public EntityMetadata.Builder addSourceLabels(Label value)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
value Label
Returns
Type Description
EntityMetadata.Builder

addSourceLabels(Label.Builder builderForValue)

public EntityMetadata.Builder addSourceLabels(Label.Builder builderForValue)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
builderForValue Label.Builder
Returns
Type Description
EntityMetadata.Builder

addSourceLabels(int index, Label value)

public EntityMetadata.Builder addSourceLabels(int index, Label value)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameters
Name Description
index int
value Label
Returns
Type Description
EntityMetadata.Builder

addSourceLabels(int index, Label.Builder builderForValue)

public EntityMetadata.Builder addSourceLabels(int index, Label.Builder builderForValue)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameters
Name Description
index int
builderForValue Label.Builder
Returns
Type Description
EntityMetadata.Builder

addSourceLabelsBuilder()

public Label.Builder addSourceLabelsBuilder()

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Returns
Type Description
Label.Builder

addSourceLabelsBuilder(int index)

public Label.Builder addSourceLabelsBuilder(int index)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
index int
Returns
Type Description
Label.Builder

addThreat(SecurityResult value)

public EntityMetadata.Builder addThreat(SecurityResult value)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
value SecurityResult
Returns
Type Description
EntityMetadata.Builder

addThreat(SecurityResult.Builder builderForValue)

public EntityMetadata.Builder addThreat(SecurityResult.Builder builderForValue)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
builderForValue SecurityResult.Builder
Returns
Type Description
EntityMetadata.Builder

addThreat(int index, SecurityResult value)

public EntityMetadata.Builder addThreat(int index, SecurityResult value)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameters
Name Description
index int
value SecurityResult
Returns
Type Description
EntityMetadata.Builder

addThreat(int index, SecurityResult.Builder builderForValue)

public EntityMetadata.Builder addThreat(int index, SecurityResult.Builder builderForValue)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameters
Name Description
index int
builderForValue SecurityResult.Builder
Returns
Type Description
EntityMetadata.Builder

addThreatBuilder()

public SecurityResult.Builder addThreatBuilder()

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Returns
Type Description
SecurityResult.Builder

addThreatBuilder(int index)

public SecurityResult.Builder addThreatBuilder(int index)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Builder

build()

public EntityMetadata build()
Returns
Type Description
EntityMetadata

buildPartial()

public EntityMetadata buildPartial()
Returns
Type Description
EntityMetadata

clear()

public EntityMetadata.Builder clear()
Returns
Type Description
EntityMetadata.Builder
Overrides

clearAtiPrioritization()

public EntityMetadata.Builder clearAtiPrioritization()

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Returns
Type Description
EntityMetadata.Builder

clearCollectedTimestamp()

public EntityMetadata.Builder clearCollectedTimestamp()

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Returns
Type Description
EntityMetadata.Builder

clearCreationTimestamp()

public EntityMetadata.Builder clearCreationTimestamp()

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Returns
Type Description
EntityMetadata.Builder

clearDescription()

public EntityMetadata.Builder clearDescription()

Human-readable description of the entity.

string description = 7;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearEntityType()

public EntityMetadata.Builder clearEntityType()

Entity type. If an entity has multiple possible types, this specifies the most specific type.

.google.backstory.EntityMetadata.EntityType entity_type = 6;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearEventMetadata()

public EntityMetadata.Builder clearEventMetadata()

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Returns
Type Description
EntityMetadata.Builder

clearExtracted()

public EntityMetadata.Builder clearExtracted()

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Returns
Type Description
EntityMetadata.Builder

clearFeed()

public EntityMetadata.Builder clearFeed()

Vendor feed name for a threat indicator feed.

string feed = 14;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearInterval()

public EntityMetadata.Builder clearInterval()

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Returns
Type Description
EntityMetadata.Builder

clearProductEntityId()

public EntityMetadata.Builder clearProductEntityId()

A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).

string product_entity_id = 1;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearProductName()

public EntityMetadata.Builder clearProductName()

Product name that produced the entity information.

string product_name = 4;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearProductVersion()

public EntityMetadata.Builder clearProductVersion()

Version of the product that produced the entity information.

string product_version = 5;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearSourceLabels()

public EntityMetadata.Builder clearSourceLabels()

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Returns
Type Description
EntityMetadata.Builder

clearSourceType()

public EntityMetadata.Builder clearSourceType()

The source of the entity.

.google.backstory.EntityMetadata.SourceType source_type = 11;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

clearStructuredFields() (deprecated)

public EntityMetadata.Builder clearStructuredFields()

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Returns
Type Description
EntityMetadata.Builder

clearThreat()

public EntityMetadata.Builder clearThreat()

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Returns
Type Description
EntityMetadata.Builder

clearVendorName()

public EntityMetadata.Builder clearVendorName()

Vendor name of the product that produced the entity information.

string vendor_name = 3;

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

getAtiPrioritization()

public AtiPrioritization getAtiPrioritization()

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Returns
Type Description
AtiPrioritization

The atiPrioritization.

getAtiPrioritizationBuilder()

public AtiPrioritization.Builder getAtiPrioritizationBuilder()

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Returns
Type Description
AtiPrioritization.Builder

getAtiPrioritizationOrBuilder()

public AtiPrioritizationOrBuilder getAtiPrioritizationOrBuilder()

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Returns
Type Description
AtiPrioritizationOrBuilder

getCollectedTimestamp()

public Timestamp getCollectedTimestamp()

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Returns
Type Description
Timestamp

The collectedTimestamp.

getCollectedTimestampBuilder()

public Timestamp.Builder getCollectedTimestampBuilder()

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Returns
Type Description
Builder

getCollectedTimestampOrBuilder()

public TimestampOrBuilder getCollectedTimestampOrBuilder()

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Returns
Type Description
TimestampOrBuilder

getCreationTimestamp()

public Timestamp getCreationTimestamp()

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Returns
Type Description
Timestamp

The creationTimestamp.

getCreationTimestampBuilder()

public Timestamp.Builder getCreationTimestampBuilder()

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Returns
Type Description
Builder

getCreationTimestampOrBuilder()

public TimestampOrBuilder getCreationTimestampOrBuilder()

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EntityMetadata getDefaultInstanceForType()
Returns
Type Description
EntityMetadata

getDescription()

public String getDescription()

Human-readable description of the entity.

string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Human-readable description of the entity.

string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntityType()

public EntityMetadata.EntityType getEntityType()

Entity type. If an entity has multiple possible types, this specifies the most specific type.

.google.backstory.EntityMetadata.EntityType entity_type = 6;

Returns
Type Description
EntityMetadata.EntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

Entity type. If an entity has multiple possible types, this specifies the most specific type.

.google.backstory.EntityMetadata.EntityType entity_type = 6;

Returns
Type Description
int

The enum numeric value on the wire for entityType.

getEventMetadata()

public Metadata getEventMetadata()

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Returns
Type Description
Metadata

The eventMetadata.

getEventMetadataBuilder()

public Metadata.Builder getEventMetadataBuilder()

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Returns
Type Description
Metadata.Builder

getEventMetadataOrBuilder()

public MetadataOrBuilder getEventMetadataOrBuilder()

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Returns
Type Description
MetadataOrBuilder

getExtracted()

public Struct getExtracted()

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Returns
Type Description
Struct

The extracted.

getExtractedBuilder()

public Struct.Builder getExtractedBuilder()

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Returns
Type Description
Builder

getExtractedOrBuilder()

public StructOrBuilder getExtractedOrBuilder()

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Returns
Type Description
StructOrBuilder

getFeed()

public String getFeed()

Vendor feed name for a threat indicator feed.

string feed = 14;

Returns
Type Description
String

The feed.

getFeedBytes()

public ByteString getFeedBytes()

Vendor feed name for a threat indicator feed.

string feed = 14;

Returns
Type Description
ByteString

The bytes for feed.

getInterval()

public Interval getInterval()

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Returns
Type Description
com.google.type.Interval

The interval.

getIntervalBuilder()

public Interval.Builder getIntervalBuilder()

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Returns
Type Description
com.google.type.Interval.Builder

getIntervalOrBuilder()

public IntervalOrBuilder getIntervalOrBuilder()

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Returns
Type Description
com.google.type.IntervalOrBuilder

getProductEntityId()

public String getProductEntityId()

A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).

string product_entity_id = 1;

Returns
Type Description
String

The productEntityId.

getProductEntityIdBytes()

public ByteString getProductEntityIdBytes()

A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).

string product_entity_id = 1;

Returns
Type Description
ByteString

The bytes for productEntityId.

getProductName()

public String getProductName()

Product name that produced the entity information.

string product_name = 4;

Returns
Type Description
String

The productName.

getProductNameBytes()

public ByteString getProductNameBytes()

Product name that produced the entity information.

string product_name = 4;

Returns
Type Description
ByteString

The bytes for productName.

getProductVersion()

public String getProductVersion()

Version of the product that produced the entity information.

string product_version = 5;

Returns
Type Description
String

The productVersion.

getProductVersionBytes()

public ByteString getProductVersionBytes()

Version of the product that produced the entity information.

string product_version = 5;

Returns
Type Description
ByteString

The bytes for productVersion.

getSourceLabels(int index)

public Label getSourceLabels(int index)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
index int
Returns
Type Description
Label

getSourceLabelsBuilder(int index)

public Label.Builder getSourceLabelsBuilder(int index)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
index int
Returns
Type Description
Label.Builder

getSourceLabelsBuilderList()

public List<Label.Builder> getSourceLabelsBuilderList()

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Returns
Type Description
List<Builder>

getSourceLabelsCount()

public int getSourceLabelsCount()

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Returns
Type Description
int

getSourceLabelsList()

public List<Label> getSourceLabelsList()

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Returns
Type Description
List<Label>

getSourceLabelsOrBuilder(int index)

public LabelOrBuilder getSourceLabelsOrBuilder(int index)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
index int
Returns
Type Description
LabelOrBuilder

getSourceLabelsOrBuilderList()

public List<? extends LabelOrBuilder> getSourceLabelsOrBuilderList()

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Returns
Type Description
List<? extends com.google.backstory.LabelOrBuilder>

getSourceType()

public EntityMetadata.SourceType getSourceType()

The source of the entity.

.google.backstory.EntityMetadata.SourceType source_type = 11;

Returns
Type Description
EntityMetadata.SourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The source of the entity.

.google.backstory.EntityMetadata.SourceType source_type = 11;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

getStructuredFields() (deprecated)

public Struct getStructuredFields()

Deprecated. google.backstory.EntityMetadata.structured_fields is deprecated. See backstory/entity.proto;l=140

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Returns
Type Description
Struct

The structuredFields.

getStructuredFieldsBuilder() (deprecated)

public Struct.Builder getStructuredFieldsBuilder()

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Returns
Type Description
Builder

getStructuredFieldsOrBuilder() (deprecated)

public StructOrBuilder getStructuredFieldsOrBuilder()

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Returns
Type Description
StructOrBuilder

getThreat(int index)

public SecurityResult getThreat(int index)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult

getThreatBuilder(int index)

public SecurityResult.Builder getThreatBuilder(int index)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Builder

getThreatBuilderList()

public List<SecurityResult.Builder> getThreatBuilderList()

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Returns
Type Description
List<Builder>

getThreatCount()

public int getThreatCount()

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Returns
Type Description
int

getThreatList()

public List<SecurityResult> getThreatList()

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Returns
Type Description
List<SecurityResult>

getThreatOrBuilder(int index)

public SecurityResultOrBuilder getThreatOrBuilder(int index)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
index int
Returns
Type Description
SecurityResultOrBuilder

getThreatOrBuilderList()

public List<? extends SecurityResultOrBuilder> getThreatOrBuilderList()

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Returns
Type Description
List<? extends com.google.backstory.SecurityResultOrBuilder>

getVendorName()

public String getVendorName()

Vendor name of the product that produced the entity information.

string vendor_name = 3;

Returns
Type Description
String

The vendorName.

getVendorNameBytes()

public ByteString getVendorNameBytes()

Vendor name of the product that produced the entity information.

string vendor_name = 3;

Returns
Type Description
ByteString

The bytes for vendorName.

hasAtiPrioritization()

public boolean hasAtiPrioritization()

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Returns
Type Description
boolean

Whether the atiPrioritization field is set.

hasCollectedTimestamp()

public boolean hasCollectedTimestamp()

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Returns
Type Description
boolean

Whether the collectedTimestamp field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasEventMetadata()

public boolean hasEventMetadata()

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Returns
Type Description
boolean

Whether the eventMetadata field is set.

hasExtracted()

public boolean hasExtracted()

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Returns
Type Description
boolean

Whether the extracted field is set.

hasInterval()

public boolean hasInterval()

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Returns
Type Description
boolean

Whether the interval field is set.

hasStructuredFields() (deprecated)

public boolean hasStructuredFields()

Deprecated. google.backstory.EntityMetadata.structured_fields is deprecated. See backstory/entity.proto;l=140

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Returns
Type Description
boolean

Whether the structuredFields field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAtiPrioritization(AtiPrioritization value)

public EntityMetadata.Builder mergeAtiPrioritization(AtiPrioritization value)

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Parameter
Name Description
value AtiPrioritization
Returns
Type Description
EntityMetadata.Builder

mergeCollectedTimestamp(Timestamp value)

public EntityMetadata.Builder mergeCollectedTimestamp(Timestamp value)

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityMetadata.Builder

mergeCreationTimestamp(Timestamp value)

public EntityMetadata.Builder mergeCreationTimestamp(Timestamp value)

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityMetadata.Builder

mergeEventMetadata(Metadata value)

public EntityMetadata.Builder mergeEventMetadata(Metadata value)

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Parameter
Name Description
value Metadata
Returns
Type Description
EntityMetadata.Builder

mergeExtracted(Struct value)

public EntityMetadata.Builder mergeExtracted(Struct value)

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Parameter
Name Description
value Struct
Returns
Type Description
EntityMetadata.Builder

mergeFrom(EntityMetadata other)

public EntityMetadata.Builder mergeFrom(EntityMetadata other)
Parameter
Name Description
other EntityMetadata
Returns
Type Description
EntityMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntityMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EntityMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntityMetadata.Builder
Overrides

mergeInterval(Interval value)

public EntityMetadata.Builder mergeInterval(Interval value)

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
EntityMetadata.Builder

mergeStructuredFields(Struct value) (deprecated)

public EntityMetadata.Builder mergeStructuredFields(Struct value)

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Parameter
Name Description
value Struct
Returns
Type Description
EntityMetadata.Builder

removeSourceLabels(int index)

public EntityMetadata.Builder removeSourceLabels(int index)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameter
Name Description
index int
Returns
Type Description
EntityMetadata.Builder

removeThreat(int index)

public EntityMetadata.Builder removeThreat(int index)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameter
Name Description
index int
Returns
Type Description
EntityMetadata.Builder

setAtiPrioritization(AtiPrioritization value)

public EntityMetadata.Builder setAtiPrioritization(AtiPrioritization value)

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Parameter
Name Description
value AtiPrioritization
Returns
Type Description
EntityMetadata.Builder

setAtiPrioritization(AtiPrioritization.Builder builderForValue)

public EntityMetadata.Builder setAtiPrioritization(AtiPrioritization.Builder builderForValue)

Prioritization factors used by ATI curated rules.

.google.backstory.AtiPrioritization ati_prioritization = 17;

Parameter
Name Description
builderForValue AtiPrioritization.Builder
Returns
Type Description
EntityMetadata.Builder

setCollectedTimestamp(Timestamp value)

public EntityMetadata.Builder setCollectedTimestamp(Timestamp value)

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityMetadata.Builder

setCollectedTimestamp(Timestamp.Builder builderForValue)

public EntityMetadata.Builder setCollectedTimestamp(Timestamp.Builder builderForValue)

GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.

.google.protobuf.Timestamp collected_timestamp = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityMetadata.Builder

setCreationTimestamp(Timestamp value)

public EntityMetadata.Builder setCreationTimestamp(Timestamp value)

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityMetadata.Builder

setCreationTimestamp(Timestamp.Builder builderForValue)

public EntityMetadata.Builder setCreationTimestamp(Timestamp.Builder builderForValue)

GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.

.google.protobuf.Timestamp creation_timestamp = 8;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityMetadata.Builder

setDescription(String value)

public EntityMetadata.Builder setDescription(String value)

Human-readable description of the entity.

string description = 7;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EntityMetadata.Builder setDescriptionBytes(ByteString value)

Human-readable description of the entity.

string description = 7;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setEntityType(EntityMetadata.EntityType value)

public EntityMetadata.Builder setEntityType(EntityMetadata.EntityType value)

Entity type. If an entity has multiple possible types, this specifies the most specific type.

.google.backstory.EntityMetadata.EntityType entity_type = 6;

Parameter
Name Description
value EntityMetadata.EntityType

The entityType to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setEntityTypeValue(int value)

public EntityMetadata.Builder setEntityTypeValue(int value)

Entity type. If an entity has multiple possible types, this specifies the most specific type.

.google.backstory.EntityMetadata.EntityType entity_type = 6;

Parameter
Name Description
value int

The enum numeric value on the wire for entityType to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setEventMetadata(Metadata value)

public EntityMetadata.Builder setEventMetadata(Metadata value)

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Parameter
Name Description
value Metadata
Returns
Type Description
EntityMetadata.Builder

setEventMetadata(Metadata.Builder builderForValue)

public EntityMetadata.Builder setEventMetadata(Metadata.Builder builderForValue)

Metadata field from the event.

.google.backstory.Metadata event_metadata = 13;

Parameter
Name Description
builderForValue Metadata.Builder
Returns
Type Description
EntityMetadata.Builder

setExtracted(Struct value)

public EntityMetadata.Builder setExtracted(Struct value)

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Parameter
Name Description
value Struct
Returns
Type Description
EntityMetadata.Builder

setExtracted(Struct.Builder builderForValue)

public EntityMetadata.Builder setExtracted(Struct.Builder builderForValue)

Flattened fields extracted from the log.

.google.protobuf.Struct extracted = 16;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityMetadata.Builder

setFeed(String value)

public EntityMetadata.Builder setFeed(String value)

Vendor feed name for a threat indicator feed.

string feed = 14;

Parameter
Name Description
value String

The feed to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setFeedBytes(ByteString value)

public EntityMetadata.Builder setFeedBytes(ByteString value)

Vendor feed name for a threat indicator feed.

string feed = 14;

Parameter
Name Description
value ByteString

The bytes for feed to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setInterval(Interval value)

public EntityMetadata.Builder setInterval(Interval value)

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
EntityMetadata.Builder

setInterval(Interval.Builder builderForValue)

public EntityMetadata.Builder setInterval(Interval.Builder builderForValue)

Valid existence time range for the version of the entity represented by this entity data.

.google.type.Interval interval = 9;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
EntityMetadata.Builder

setProductEntityId(String value)

public EntityMetadata.Builder setProductEntityId(String value)

A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).

string product_entity_id = 1;

Parameter
Name Description
value String

The productEntityId to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setProductEntityIdBytes(ByteString value)

public EntityMetadata.Builder setProductEntityIdBytes(ByteString value)

A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).

string product_entity_id = 1;

Parameter
Name Description
value ByteString

The bytes for productEntityId to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setProductName(String value)

public EntityMetadata.Builder setProductName(String value)

Product name that produced the entity information.

string product_name = 4;

Parameter
Name Description
value String

The productName to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setProductNameBytes(ByteString value)

public EntityMetadata.Builder setProductNameBytes(ByteString value)

Product name that produced the entity information.

string product_name = 4;

Parameter
Name Description
value ByteString

The bytes for productName to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setProductVersion(String value)

public EntityMetadata.Builder setProductVersion(String value)

Version of the product that produced the entity information.

string product_version = 5;

Parameter
Name Description
value String

The productVersion to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setProductVersionBytes(ByteString value)

public EntityMetadata.Builder setProductVersionBytes(ByteString value)

Version of the product that produced the entity information.

string product_version = 5;

Parameter
Name Description
value ByteString

The bytes for productVersion to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setSourceLabels(int index, Label value)

public EntityMetadata.Builder setSourceLabels(int index, Label value)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameters
Name Description
index int
value Label
Returns
Type Description
EntityMetadata.Builder

setSourceLabels(int index, Label.Builder builderForValue)

public EntityMetadata.Builder setSourceLabels(int index, Label.Builder builderForValue)

Entity source metadata labels.

repeated .google.backstory.Label source_labels = 12;

Parameters
Name Description
index int
builderForValue Label.Builder
Returns
Type Description
EntityMetadata.Builder

setSourceType(EntityMetadata.SourceType value)

public EntityMetadata.Builder setSourceType(EntityMetadata.SourceType value)

The source of the entity.

.google.backstory.EntityMetadata.SourceType source_type = 11;

Parameter
Name Description
value EntityMetadata.SourceType

The sourceType to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setSourceTypeValue(int value)

public EntityMetadata.Builder setSourceTypeValue(int value)

The source of the entity.

.google.backstory.EntityMetadata.SourceType source_type = 11;

Parameter
Name Description
value int

The enum numeric value on the wire for sourceType to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setStructuredFields(Struct value) (deprecated)

public EntityMetadata.Builder setStructuredFields(Struct value)

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Parameter
Name Description
value Struct
Returns
Type Description
EntityMetadata.Builder

setStructuredFields(Struct.Builder builderForValue) (deprecated)

public EntityMetadata.Builder setStructuredFields(Struct.Builder builderForValue)

Structured fields extracted from the log.

.google.protobuf.Struct structured_fields = 15 [deprecated = true];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityMetadata.Builder

setThreat(int index, SecurityResult value)

public EntityMetadata.Builder setThreat(int index, SecurityResult value)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameters
Name Description
index int
value SecurityResult
Returns
Type Description
EntityMetadata.Builder

setThreat(int index, SecurityResult.Builder builderForValue)

public EntityMetadata.Builder setThreat(int index, SecurityResult.Builder builderForValue)

Metadata provided by a threat intelligence feed that identified the entity as malicious.

repeated .google.backstory.SecurityResult threat = 10;

Parameters
Name Description
index int
builderForValue SecurityResult.Builder
Returns
Type Description
EntityMetadata.Builder

setVendorName(String value)

public EntityMetadata.Builder setVendorName(String value)

Vendor name of the product that produced the entity information.

string vendor_name = 3;

Parameter
Name Description
value String

The vendorName to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.

setVendorNameBytes(ByteString value)

public EntityMetadata.Builder setVendorNameBytes(ByteString value)

Vendor name of the product that produced the entity information.

string vendor_name = 3;

Parameter
Name Description
value ByteString

The bytes for vendorName to set.

Returns
Type Description
EntityMetadata.Builder

This builder for chaining.