Class SecurityResult.Association (0.3.0)

public static final class SecurityResult.Association extends GeneratedMessage implements SecurityResult.AssociationOrBuilder

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

Protobuf type google.backstory.SecurityResult.Association

Static Fields

ALIAS_FIELD_NUMBER

public static final int ALIAS_FIELD_NUMBER
Field Value
Type Description
int

ASSOCIATED_ACTORS_FIELD_NUMBER

public static final int ASSOCIATED_ACTORS_FIELD_NUMBER
Field Value
Type Description
int

COUNTRY_CODE_FIELD_NUMBER

public static final int COUNTRY_CODE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FIRST_REFERENCE_TIME_FIELD_NUMBER

public static final int FIRST_REFERENCE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

INDUSTRIES_AFFECTED_FIELD_NUMBER

public static final int INDUSTRIES_AFFECTED_FIELD_NUMBER
Field Value
Type Description
int

LAST_REFERENCE_TIME_FIELD_NUMBER

public static final int LAST_REFERENCE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REGION_CODE_FIELD_NUMBER

public static final int REGION_CODE_FIELD_NUMBER
Field Value
Type Description
int

ROLE_FIELD_NUMBER

public static final int ROLE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_COUNTRY_FIELD_NUMBER

public static final int SOURCE_COUNTRY_FIELD_NUMBER
Field Value
Type Description
int

SPONSOR_REGION_FIELD_NUMBER

public static final int SPONSOR_REGION_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

TARGETED_REGIONS_FIELD_NUMBER

public static final int TARGETED_REGIONS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityResult.Association getDefaultInstance()
Returns
Type Description
SecurityResult.Association

getDescriptor()

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

newBuilder()

public static SecurityResult.Association.Builder newBuilder()
Returns
Type Description
SecurityResult.Association.Builder

newBuilder(SecurityResult.Association prototype)

public static SecurityResult.Association.Builder newBuilder(SecurityResult.Association prototype)
Parameter
Name Description
prototype SecurityResult.Association
Returns
Type Description
SecurityResult.Association.Builder

parseDelimitedFrom(InputStream input)

public static SecurityResult.Association parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityResult.Association parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityResult.Association parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityResult.Association parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityResult.Association parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityResult.Association parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityResult.Association parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityResult.Association parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityResult.Association parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityResult.Association parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityResult.Association parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityResult.Association parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityResult.Association
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityResult.Association> parser()
Returns
Type Description
Parser<Association>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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

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.

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.

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.

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.

getParserForType()

public Parser<SecurityResult.Association> getParserForType()
Returns
Type Description
Parser<Association>
Overrides

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityResult.Association.Builder newBuilderForType()
Returns
Type Description
SecurityResult.Association.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SecurityResult.Association.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityResult.Association.Builder
Overrides

toBuilder()

public SecurityResult.Association.Builder toBuilder()
Returns
Type Description
SecurityResult.Association.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException