Class SecurityResult.Association.Builder (0.3.0)

public static final class SecurityResult.Association.Builder extends GeneratedMessage.Builder<SecurityResult.Association.Builder> implements SecurityResult.AssociationOrBuilder

Associations represents different metadata about malware and threat actors involved with an IoC.

Protobuf type google.backstory.SecurityResult.Association

Static Methods

getDescriptor()

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

Methods

addAlias(SecurityResult.Association.AssociationAlias value)

public SecurityResult.Association.Builder addAlias(SecurityResult.Association.AssociationAlias value)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
value SecurityResult.Association.AssociationAlias
Returns
Type Description
SecurityResult.Association.Builder

addAlias(SecurityResult.Association.AssociationAlias.Builder builderForValue)

public SecurityResult.Association.Builder addAlias(SecurityResult.Association.AssociationAlias.Builder builderForValue)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
builderForValue SecurityResult.Association.AssociationAlias.Builder
Returns
Type Description
SecurityResult.Association.Builder

addAlias(int index, SecurityResult.Association.AssociationAlias value)

public SecurityResult.Association.Builder addAlias(int index, SecurityResult.Association.AssociationAlias value)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameters
Name Description
index int
value SecurityResult.Association.AssociationAlias
Returns
Type Description
SecurityResult.Association.Builder

addAlias(int index, SecurityResult.Association.AssociationAlias.Builder builderForValue)

public SecurityResult.Association.Builder addAlias(int index, SecurityResult.Association.AssociationAlias.Builder builderForValue)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameters
Name Description
index int
builderForValue SecurityResult.Association.AssociationAlias.Builder
Returns
Type Description
SecurityResult.Association.Builder

addAliasBuilder()

public SecurityResult.Association.AssociationAlias.Builder addAliasBuilder()

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Returns
Type Description
SecurityResult.Association.AssociationAlias.Builder

addAliasBuilder(int index)

public SecurityResult.Association.AssociationAlias.Builder addAliasBuilder(int index)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.AssociationAlias.Builder

addAllAlias(Iterable<? extends SecurityResult.Association.AssociationAlias> values)

public SecurityResult.Association.Builder addAllAlias(Iterable<? extends SecurityResult.Association.AssociationAlias> values)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

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

addAllAssociatedActors(Iterable<? extends SecurityResult.Association> values)

public SecurityResult.Association.Builder addAllAssociatedActors(Iterable<? extends SecurityResult.Association> values)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

addAllCountryCode(Iterable<String> values)

public SecurityResult.Association.Builder addAllCountryCode(Iterable<String> values)

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Parameter
Name Description
values Iterable<String>

The countryCode to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addAllIndustriesAffected(Iterable<String> values)

public SecurityResult.Association.Builder addAllIndustriesAffected(Iterable<String> values)

List of industries the threat actor affects.

repeated string industries_affected = 11;

Parameter
Name Description
values Iterable<String>

The industriesAffected to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addAllTags(Iterable<String> values)

public SecurityResult.Association.Builder addAllTags(Iterable<String> values)

Tags.

repeated string tags = 16;

Parameter
Name Description
values Iterable<String>

The tags to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addAllTargetedRegions(Iterable<? extends Location> values)

public SecurityResult.Association.Builder addAllTargetedRegions(Iterable<? extends Location> values)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

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

addAssociatedActors(SecurityResult.Association value)

public SecurityResult.Association.Builder addAssociatedActors(SecurityResult.Association value)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Parameter
Name Description
value SecurityResult.Association
Returns
Type Description
SecurityResult.Association.Builder

addAssociatedActors(SecurityResult.Association.Builder builderForValue)

public SecurityResult.Association.Builder addAssociatedActors(SecurityResult.Association.Builder builderForValue)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

addAssociatedActors(int index, SecurityResult.Association value)

public SecurityResult.Association.Builder addAssociatedActors(int index, SecurityResult.Association value)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

addAssociatedActors(int index, SecurityResult.Association.Builder builderForValue)

public SecurityResult.Association.Builder addAssociatedActors(int index, SecurityResult.Association.Builder builderForValue)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

addAssociatedActorsBuilder()

public SecurityResult.Association.Builder addAssociatedActorsBuilder()

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Returns
Type Description
SecurityResult.Association.Builder

addAssociatedActorsBuilder(int index)

public SecurityResult.Association.Builder addAssociatedActorsBuilder(int index)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.Builder

addCountryCode(String value)

public SecurityResult.Association.Builder addCountryCode(String value)

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Parameter
Name Description
value String

The countryCode to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addCountryCodeBytes(ByteString value)

public SecurityResult.Association.Builder addCountryCodeBytes(ByteString value)

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Parameter
Name Description
value ByteString

The bytes of the countryCode to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addIndustriesAffected(String value)

public SecurityResult.Association.Builder addIndustriesAffected(String value)

List of industries the threat actor affects.

repeated string industries_affected = 11;

Parameter
Name Description
value String

The industriesAffected to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addIndustriesAffectedBytes(ByteString value)

public SecurityResult.Association.Builder addIndustriesAffectedBytes(ByteString value)

List of industries the threat actor affects.

repeated string industries_affected = 11;

Parameter
Name Description
value ByteString

The bytes of the industriesAffected to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addTags(String value)

public SecurityResult.Association.Builder addTags(String value)

Tags.

repeated string tags = 16;

Parameter
Name Description
value String

The tags to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addTagsBytes(ByteString value)

public SecurityResult.Association.Builder addTagsBytes(ByteString value)

Tags.

repeated string tags = 16;

Parameter
Name Description
value ByteString

The bytes of the tags to add.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

addTargetedRegions(Location value)

public SecurityResult.Association.Builder addTargetedRegions(Location value)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
value Location
Returns
Type Description
SecurityResult.Association.Builder

addTargetedRegions(Location.Builder builderForValue)

public SecurityResult.Association.Builder addTargetedRegions(Location.Builder builderForValue)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
builderForValue Location.Builder
Returns
Type Description
SecurityResult.Association.Builder

addTargetedRegions(int index, Location value)

public SecurityResult.Association.Builder addTargetedRegions(int index, Location value)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameters
Name Description
index int
value Location
Returns
Type Description
SecurityResult.Association.Builder

addTargetedRegions(int index, Location.Builder builderForValue)

public SecurityResult.Association.Builder addTargetedRegions(int index, Location.Builder builderForValue)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameters
Name Description
index int
builderForValue Location.Builder
Returns
Type Description
SecurityResult.Association.Builder

addTargetedRegionsBuilder()

public Location.Builder addTargetedRegionsBuilder()

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Returns
Type Description
Location.Builder

addTargetedRegionsBuilder(int index)

public Location.Builder addTargetedRegionsBuilder(int index)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
index int
Returns
Type Description
Location.Builder

build()

public SecurityResult.Association build()
Returns
Type Description
SecurityResult.Association

buildPartial()

public SecurityResult.Association buildPartial()
Returns
Type Description
SecurityResult.Association

clear()

public SecurityResult.Association.Builder clear()
Returns
Type Description
SecurityResult.Association.Builder
Overrides

clearAlias()

public SecurityResult.Association.Builder clearAlias()

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Returns
Type Description
SecurityResult.Association.Builder

clearAssociatedActors()

public SecurityResult.Association.Builder clearAssociatedActors()

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Returns
Type Description
SecurityResult.Association.Builder

clearCountryCode()

public SecurityResult.Association.Builder clearCountryCode()

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearDescription()

public SecurityResult.Association.Builder clearDescription()

Human readable description about the association.

string description = 5;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearFirstReferenceTime()

public SecurityResult.Association.Builder clearFirstReferenceTime()

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Returns
Type Description
SecurityResult.Association.Builder

clearId()

public SecurityResult.Association.Builder clearId()

Unique association id generated by mandiant.

string id = 1;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearIndustriesAffected()

public SecurityResult.Association.Builder clearIndustriesAffected()

List of industries the threat actor affects.

repeated string industries_affected = 11;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearLastReferenceTime()

public SecurityResult.Association.Builder clearLastReferenceTime()

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Returns
Type Description
SecurityResult.Association.Builder

clearName()

public SecurityResult.Association.Builder clearName()

Name of the threat actor/malware.

string name = 4;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearRegionCode()

public SecurityResult.Association.Builder clearRegionCode()

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Returns
Type Description
SecurityResult.Association.Builder

clearRole()

public SecurityResult.Association.Builder clearRole()

Role of the malware. Not applicable for threat actor.

string role = 6;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearSourceCountry() (deprecated)

public SecurityResult.Association.Builder clearSourceCountry()

Deprecated. google.backstory.SecurityResult.Association.source_country is deprecated. See backstory/udm.proto;l=2098

Name of the country the threat originated from.

string source_country = 7 [deprecated = true];

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearSponsorRegion()

public SecurityResult.Association.Builder clearSponsorRegion()

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Returns
Type Description
SecurityResult.Association.Builder

clearTags()

public SecurityResult.Association.Builder clearTags()

Tags.

repeated string tags = 16;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

clearTargetedRegions()

public SecurityResult.Association.Builder clearTargetedRegions()

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Returns
Type Description
SecurityResult.Association.Builder

clearType()

public SecurityResult.Association.Builder clearType()

Signifies the type of association.

.google.backstory.SecurityResult.Association.AssociationType type = 3;

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

getAlias(int index)

public SecurityResult.Association.AssociationAlias getAlias(int index)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.AssociationAlias

getAliasBuilder(int index)

public SecurityResult.Association.AssociationAlias.Builder getAliasBuilder(int index)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.AssociationAlias.Builder

getAliasBuilderList()

public List<SecurityResult.Association.AssociationAlias.Builder> getAliasBuilderList()

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Returns
Type Description
List<Builder>

getAliasCount()

public int getAliasCount()

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Returns
Type Description
int

getAliasList()

public List<SecurityResult.Association.AssociationAlias> getAliasList()

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Returns
Type Description
List<AssociationAlias>

getAliasOrBuilder(int index)

public SecurityResult.Association.AssociationAliasOrBuilder getAliasOrBuilder(int index)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.AssociationAliasOrBuilder

getAliasOrBuilderList()

public List<? extends SecurityResult.Association.AssociationAliasOrBuilder> getAliasOrBuilderList()

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Returns
Type Description
List<? extends com.google.backstory.SecurityResult.Association.AssociationAliasOrBuilder>

getAssociatedActors(int index)

public SecurityResult.Association getAssociatedActors(int index)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association

getAssociatedActorsBuilder(int index)

public SecurityResult.Association.Builder getAssociatedActorsBuilder(int index)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.Builder

getAssociatedActorsBuilderList()

public List<SecurityResult.Association.Builder> getAssociatedActorsBuilderList()

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Returns
Type Description
List<Builder>

getAssociatedActorsCount()

public int getAssociatedActorsCount()

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Returns
Type Description
int

getAssociatedActorsList()

public List<SecurityResult.Association> getAssociatedActorsList()

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Returns
Type Description
List<Association>

getAssociatedActorsOrBuilder(int index)

public SecurityResult.AssociationOrBuilder getAssociatedActorsOrBuilder(int index)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.AssociationOrBuilder

getAssociatedActorsOrBuilderList()

public List<? extends SecurityResult.AssociationOrBuilder> getAssociatedActorsOrBuilderList()

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

getCountryCode(int index)

public String getCountryCode(int index)

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The countryCode at the given index.

getCountryCodeBytes(int index)

public ByteString getCountryCodeBytes(int index)

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the countryCode at the given index.

getCountryCodeCount()

public int getCountryCodeCount()

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Returns
Type Description
int

The count of countryCode.

getCountryCodeList()

public ProtocolStringList getCountryCodeList()

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Returns
Type Description
ProtocolStringList

A list containing the countryCode.

getDefaultInstanceForType()

public SecurityResult.Association getDefaultInstanceForType()
Returns
Type Description
SecurityResult.Association

getDescription()

public String getDescription()

Human readable description about the association.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Human readable description about the association.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getFirstReferenceTime()

public Timestamp getFirstReferenceTime()

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Returns
Type Description
Timestamp

The firstReferenceTime.

getFirstReferenceTimeBuilder()

public Timestamp.Builder getFirstReferenceTimeBuilder()

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Returns
Type Description
Builder

getFirstReferenceTimeOrBuilder()

public TimestampOrBuilder getFirstReferenceTimeOrBuilder()

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Returns
Type Description
TimestampOrBuilder

getId()

public String getId()

Unique association id generated by mandiant.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Unique association id generated by mandiant.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getIndustriesAffected(int index)

public String getIndustriesAffected(int index)

List of industries the threat actor affects.

repeated string industries_affected = 11;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The industriesAffected at the given index.

getIndustriesAffectedBytes(int index)

public ByteString getIndustriesAffectedBytes(int index)

List of industries the threat actor affects.

repeated string industries_affected = 11;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the industriesAffected at the given index.

getIndustriesAffectedCount()

public int getIndustriesAffectedCount()

List of industries the threat actor affects.

repeated string industries_affected = 11;

Returns
Type Description
int

The count of industriesAffected.

getIndustriesAffectedList()

public ProtocolStringList getIndustriesAffectedList()

List of industries the threat actor affects.

repeated string industries_affected = 11;

Returns
Type Description
ProtocolStringList

A list containing the industriesAffected.

getLastReferenceTime()

public Timestamp getLastReferenceTime()

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Returns
Type Description
Timestamp

The lastReferenceTime.

getLastReferenceTimeBuilder()

public Timestamp.Builder getLastReferenceTimeBuilder()

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Returns
Type Description
Builder

getLastReferenceTimeOrBuilder()

public TimestampOrBuilder getLastReferenceTimeOrBuilder()

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Returns
Type Description
TimestampOrBuilder

getName()

public String getName()

Name of the threat actor/malware.

string name = 4;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the threat actor/malware.

string name = 4;

Returns
Type Description
ByteString

The bytes for name.

getRegionCode()

public Location getRegionCode()

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Returns
Type Description
Location

The regionCode.

getRegionCodeBuilder()

public Location.Builder getRegionCodeBuilder()

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Returns
Type Description
Location.Builder

getRegionCodeOrBuilder()

public LocationOrBuilder getRegionCodeOrBuilder()

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Returns
Type Description
LocationOrBuilder

getRole()

public String getRole()

Role of the malware. Not applicable for threat actor.

string role = 6;

Returns
Type Description
String

The role.

getRoleBytes()

public ByteString getRoleBytes()

Role of the malware. Not applicable for threat actor.

string role = 6;

Returns
Type Description
ByteString

The bytes for role.

getSourceCountry() (deprecated)

public String getSourceCountry()

Deprecated. google.backstory.SecurityResult.Association.source_country is deprecated. See backstory/udm.proto;l=2098

Name of the country the threat originated from.

string source_country = 7 [deprecated = true];

Returns
Type Description
String

The sourceCountry.

getSourceCountryBytes() (deprecated)

public ByteString getSourceCountryBytes()

Deprecated. google.backstory.SecurityResult.Association.source_country is deprecated. See backstory/udm.proto;l=2098

Name of the country the threat originated from.

string source_country = 7 [deprecated = true];

Returns
Type Description
ByteString

The bytes for sourceCountry.

getSponsorRegion()

public Location getSponsorRegion()

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Returns
Type Description
Location

The sponsorRegion.

getSponsorRegionBuilder()

public Location.Builder getSponsorRegionBuilder()

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Returns
Type Description
Location.Builder

getSponsorRegionOrBuilder()

public LocationOrBuilder getSponsorRegionOrBuilder()

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Returns
Type Description
LocationOrBuilder

getTags(int index)

public String getTags(int index)

Tags.

repeated string tags = 16;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

Tags.

repeated string tags = 16;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

Tags.

repeated string tags = 16;

Returns
Type Description
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Tags.

repeated string tags = 16;

Returns
Type Description
ProtocolStringList

A list containing the tags.

getTargetedRegions(int index)

public Location getTargetedRegions(int index)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
index int
Returns
Type Description
Location

getTargetedRegionsBuilder(int index)

public Location.Builder getTargetedRegionsBuilder(int index)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
index int
Returns
Type Description
Location.Builder

getTargetedRegionsBuilderList()

public List<Location.Builder> getTargetedRegionsBuilderList()

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Returns
Type Description
List<Builder>

getTargetedRegionsCount()

public int getTargetedRegionsCount()

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Returns
Type Description
int

getTargetedRegionsList()

public List<Location> getTargetedRegionsList()

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Returns
Type Description
List<Location>

getTargetedRegionsOrBuilder(int index)

public LocationOrBuilder getTargetedRegionsOrBuilder(int index)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
index int
Returns
Type Description
LocationOrBuilder

getTargetedRegionsOrBuilderList()

public List<? extends LocationOrBuilder> getTargetedRegionsOrBuilderList()

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

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

getType()

public SecurityResult.Association.AssociationType getType()

Signifies the type of association.

.google.backstory.SecurityResult.Association.AssociationType type = 3;

Returns
Type Description
SecurityResult.Association.AssociationType

The type.

getTypeValue()

public int getTypeValue()

Signifies the type of association.

.google.backstory.SecurityResult.Association.AssociationType type = 3;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasFirstReferenceTime()

public boolean hasFirstReferenceTime()

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Returns
Type Description
boolean

Whether the firstReferenceTime field is set.

hasLastReferenceTime()

public boolean hasLastReferenceTime()

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Returns
Type Description
boolean

Whether the lastReferenceTime field is set.

hasRegionCode()

public boolean hasRegionCode()

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Returns
Type Description
boolean

Whether the regionCode field is set.

hasSponsorRegion()

public boolean hasSponsorRegion()

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Returns
Type Description
boolean

Whether the sponsorRegion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFirstReferenceTime(Timestamp value)

public SecurityResult.Association.Builder mergeFirstReferenceTime(Timestamp value)

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Parameter
Name Description
value Timestamp
Returns
Type Description
SecurityResult.Association.Builder

mergeFrom(SecurityResult.Association other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastReferenceTime(Timestamp value)

public SecurityResult.Association.Builder mergeLastReferenceTime(Timestamp value)

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
SecurityResult.Association.Builder

mergeRegionCode(Location value)

public SecurityResult.Association.Builder mergeRegionCode(Location value)

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Parameter
Name Description
value Location
Returns
Type Description
SecurityResult.Association.Builder

mergeSponsorRegion(Location value)

public SecurityResult.Association.Builder mergeSponsorRegion(Location value)

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Parameter
Name Description
value Location
Returns
Type Description
SecurityResult.Association.Builder

removeAlias(int index)

public SecurityResult.Association.Builder removeAlias(int index)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.Builder

removeAssociatedActors(int index)

public SecurityResult.Association.Builder removeAssociatedActors(int index)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.Builder

removeTargetedRegions(int index)

public SecurityResult.Association.Builder removeTargetedRegions(int index)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Association.Builder

setAlias(int index, SecurityResult.Association.AssociationAlias value)

public SecurityResult.Association.Builder setAlias(int index, SecurityResult.Association.AssociationAlias value)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameters
Name Description
index int
value SecurityResult.Association.AssociationAlias
Returns
Type Description
SecurityResult.Association.Builder

setAlias(int index, SecurityResult.Association.AssociationAlias.Builder builderForValue)

public SecurityResult.Association.Builder setAlias(int index, SecurityResult.Association.AssociationAlias.Builder builderForValue)

Different aliases of the threat actor given by different sources.

repeated .google.backstory.SecurityResult.Association.AssociationAlias alias = 8;

Parameters
Name Description
index int
builderForValue SecurityResult.Association.AssociationAlias.Builder
Returns
Type Description
SecurityResult.Association.Builder

setAssociatedActors(int index, SecurityResult.Association value)

public SecurityResult.Association.Builder setAssociatedActors(int index, SecurityResult.Association value)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

setAssociatedActors(int index, SecurityResult.Association.Builder builderForValue)

public SecurityResult.Association.Builder setAssociatedActors(int index, SecurityResult.Association.Builder builderForValue)

List of associated threat actors for a malware. Not applicable for threat actors.

repeated .google.backstory.SecurityResult.Association associated_actors = 12;

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

setCountryCode(int index, String value)

public SecurityResult.Association.Builder setCountryCode(int index, String value)

Country from which the threat actor/ malware is originated.

repeated string country_code = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The countryCode to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setDescription(String value)

public SecurityResult.Association.Builder setDescription(String value)

Human readable description about the association.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public SecurityResult.Association.Builder setDescriptionBytes(ByteString value)

Human readable description about the association.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setFirstReferenceTime(Timestamp value)

public SecurityResult.Association.Builder setFirstReferenceTime(Timestamp value)

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

Parameter
Name Description
value Timestamp
Returns
Type Description
SecurityResult.Association.Builder

setFirstReferenceTime(Timestamp.Builder builderForValue)

public SecurityResult.Association.Builder setFirstReferenceTime(Timestamp.Builder builderForValue)

First time the threat actor was referenced or seen.

.google.protobuf.Timestamp first_reference_time = 9;

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

setId(String value)

public SecurityResult.Association.Builder setId(String value)

Unique association id generated by mandiant.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setIdBytes(ByteString value)

public SecurityResult.Association.Builder setIdBytes(ByteString value)

Unique association id generated by mandiant.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setIndustriesAffected(int index, String value)

public SecurityResult.Association.Builder setIndustriesAffected(int index, String value)

List of industries the threat actor affects.

repeated string industries_affected = 11;

Parameters
Name Description
index int

The index to set the value at.

value String

The industriesAffected to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setLastReferenceTime(Timestamp value)

public SecurityResult.Association.Builder setLastReferenceTime(Timestamp value)

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
SecurityResult.Association.Builder

setLastReferenceTime(Timestamp.Builder builderForValue)

public SecurityResult.Association.Builder setLastReferenceTime(Timestamp.Builder builderForValue)

Last time the threat actor was referenced or seen.

.google.protobuf.Timestamp last_reference_time = 10;

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

setName(String value)

public SecurityResult.Association.Builder setName(String value)

Name of the threat actor/malware.

string name = 4;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SecurityResult.Association.Builder setNameBytes(ByteString value)

Name of the threat actor/malware.

string name = 4;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setRegionCode(Location value)

public SecurityResult.Association.Builder setRegionCode(Location value)

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Parameter
Name Description
value Location
Returns
Type Description
SecurityResult.Association.Builder

setRegionCode(Location.Builder builderForValue)

public SecurityResult.Association.Builder setRegionCode(Location.Builder builderForValue)

Name of the country, the threat is originating from.

.google.backstory.Location region_code = 13;

Parameter
Name Description
builderForValue Location.Builder
Returns
Type Description
SecurityResult.Association.Builder

setRole(String value)

public SecurityResult.Association.Builder setRole(String value)

Role of the malware. Not applicable for threat actor.

string role = 6;

Parameter
Name Description
value String

The role to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setRoleBytes(ByteString value)

public SecurityResult.Association.Builder setRoleBytes(ByteString value)

Role of the malware. Not applicable for threat actor.

string role = 6;

Parameter
Name Description
value ByteString

The bytes for role to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setSourceCountry(String value) (deprecated)

public SecurityResult.Association.Builder setSourceCountry(String value)

Deprecated. google.backstory.SecurityResult.Association.source_country is deprecated. See backstory/udm.proto;l=2098

Name of the country the threat originated from.

string source_country = 7 [deprecated = true];

Parameter
Name Description
value String

The sourceCountry to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setSourceCountryBytes(ByteString value) (deprecated)

public SecurityResult.Association.Builder setSourceCountryBytes(ByteString value)

Deprecated. google.backstory.SecurityResult.Association.source_country is deprecated. See backstory/udm.proto;l=2098

Name of the country the threat originated from.

string source_country = 7 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for sourceCountry to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setSponsorRegion(Location value)

public SecurityResult.Association.Builder setSponsorRegion(Location value)

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Parameter
Name Description
value Location
Returns
Type Description
SecurityResult.Association.Builder

setSponsorRegion(Location.Builder builderForValue)

public SecurityResult.Association.Builder setSponsorRegion(Location.Builder builderForValue)

Sponsor region of the threat actor.

.google.backstory.Location sponsor_region = 14;

Parameter
Name Description
builderForValue Location.Builder
Returns
Type Description
SecurityResult.Association.Builder

setTags(int index, String value)

public SecurityResult.Association.Builder setTags(int index, String value)

Tags.

repeated string tags = 16;

Parameters
Name Description
index int

The index to set the value at.

value String

The tags to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setTargetedRegions(int index, Location value)

public SecurityResult.Association.Builder setTargetedRegions(int index, Location value)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameters
Name Description
index int
value Location
Returns
Type Description
SecurityResult.Association.Builder

setTargetedRegions(int index, Location.Builder builderForValue)

public SecurityResult.Association.Builder setTargetedRegions(int index, Location.Builder builderForValue)

Targeted regions.

repeated .google.backstory.Location targeted_regions = 15;

Parameters
Name Description
index int
builderForValue Location.Builder
Returns
Type Description
SecurityResult.Association.Builder

setType(SecurityResult.Association.AssociationType value)

public SecurityResult.Association.Builder setType(SecurityResult.Association.AssociationType value)

Signifies the type of association.

.google.backstory.SecurityResult.Association.AssociationType type = 3;

Parameter
Name Description
value SecurityResult.Association.AssociationType

The type to set.

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.

setTypeValue(int value)

public SecurityResult.Association.Builder setTypeValue(int value)

Signifies the type of association.

.google.backstory.SecurityResult.Association.AssociationType type = 3;

Parameter
Name Description
value int

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

Returns
Type Description
SecurityResult.Association.Builder

This builder for chaining.