Class SecurityResult.IoCStats (0.3.0)

public static final class SecurityResult.IoCStats extends GeneratedMessage implements SecurityResult.IoCStatsOrBuilder

Information about the threat intelligence source. These fields are used to model Mandiant sources.

Protobuf type google.backstory.SecurityResult.IoCStats

Static Fields

BENIGN_COUNT_FIELD_NUMBER

public static final int BENIGN_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FIRST_LEVEL_SOURCE_FIELD_NUMBER

public static final int FIRST_LEVEL_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

IOC_STATS_TYPE_FIELD_NUMBER

public static final int IOC_STATS_TYPE_FIELD_NUMBER
Field Value
Type Description
int

MALICIOUS_COUNT_FIELD_NUMBER

public static final int MALICIOUS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

QUALITY_FIELD_NUMBER

public static final int QUALITY_FIELD_NUMBER
Field Value
Type Description
int

RESPONSE_COUNT_FIELD_NUMBER

public static final int RESPONSE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SECOND_LEVEL_SOURCE_FIELD_NUMBER

public static final int SECOND_LEVEL_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_COUNT_FIELD_NUMBER

public static final int SOURCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityResult.IoCStats prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBenignCount()

public int getBenignCount()

Count of responses where the IoC was identified as benign.

int32 benign_count = 4;

Returns
Type Description
int

The benignCount.

getDefaultInstanceForType()

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

getFirstLevelSource()

public String getFirstLevelSource()

Name of first level IoC source, for example Mandiant or a third-party.

string first_level_source = 2;

Returns
Type Description
String

The firstLevelSource.

getFirstLevelSourceBytes()

public ByteString getFirstLevelSourceBytes()

Name of first level IoC source, for example Mandiant or a third-party.

string first_level_source = 2;

Returns
Type Description
ByteString

The bytes for firstLevelSource.

getIocStatsType()

public SecurityResult.IoCStatsType getIocStatsType()

Describes the source of the IoCStat.

.google.backstory.SecurityResult.IoCStatsType ioc_stats_type = 1;

Returns
Type Description
SecurityResult.IoCStatsType

The iocStatsType.

getIocStatsTypeValue()

public int getIocStatsTypeValue()

Describes the source of the IoCStat.

.google.backstory.SecurityResult.IoCStatsType ioc_stats_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for iocStatsType.

getMaliciousCount()

public int getMaliciousCount()

Count of responses where the IoC was identified as malicious.

int32 malicious_count = 6;

Returns
Type Description
int

The maliciousCount.

getParserForType()

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

getQuality()

public SecurityResult.ProductConfidence getQuality()

Level of confidence in the IoC mapping extracted from the source.

.google.backstory.SecurityResult.ProductConfidence quality = 5;

Returns
Type Description
SecurityResult.ProductConfidence

The quality.

getQualityValue()

public int getQualityValue()

Level of confidence in the IoC mapping extracted from the source.

.google.backstory.SecurityResult.ProductConfidence quality = 5;

Returns
Type Description
int

The enum numeric value on the wire for quality.

getResponseCount()

public int getResponseCount()

Total number of response from the source.

int32 response_count = 7;

Returns
Type Description
int

The responseCount.

getSecondLevelSource()

public String getSecondLevelSource()

Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.

string second_level_source = 3;

Returns
Type Description
String

The secondLevelSource.

getSecondLevelSourceBytes()

public ByteString getSecondLevelSourceBytes()

Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.

string second_level_source = 3;

Returns
Type Description
ByteString

The bytes for secondLevelSource.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCount()

public int getSourceCount()

Number of sources from which information was extracted.

int32 source_count = 8;

Returns
Type Description
int

The sourceCount.

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.IoCStats.Builder newBuilderForType()
Returns
Type Description
SecurityResult.IoCStats.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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