public static final class SecurityResult.IoCStats.Builder extends GeneratedMessage.Builder<SecurityResult.IoCStats.Builder> implements SecurityResult.IoCStatsOrBuilderInformation about the threat intelligence source. These fields are used to model Mandiant sources.
Protobuf type google.backstory.SecurityResult.IoCStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityResult.IoCStats.BuilderImplements
SecurityResult.IoCStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SecurityResult.IoCStats build()| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats |
|
buildPartial()
public SecurityResult.IoCStats buildPartial()| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats |
|
clear()
public SecurityResult.IoCStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
|
clearBenignCount()
public SecurityResult.IoCStats.Builder clearBenignCount()Count of responses where the IoC was identified as benign.
int32 benign_count = 4;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearFirstLevelSource()
public SecurityResult.IoCStats.Builder clearFirstLevelSource()Name of first level IoC source, for example Mandiant or a third-party.
string first_level_source = 2;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearIocStatsType()
public SecurityResult.IoCStats.Builder clearIocStatsType()Describes the source of the IoCStat.
.google.backstory.SecurityResult.IoCStatsType ioc_stats_type = 1;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearMaliciousCount()
public SecurityResult.IoCStats.Builder clearMaliciousCount()Count of responses where the IoC was identified as malicious.
int32 malicious_count = 6;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearQuality()
public SecurityResult.IoCStats.Builder clearQuality()Level of confidence in the IoC mapping extracted from the source.
.google.backstory.SecurityResult.ProductConfidence quality = 5;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearResponseCount()
public SecurityResult.IoCStats.Builder clearResponseCount()Total number of response from the source.
int32 response_count = 7;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearSecondLevelSource()
public SecurityResult.IoCStats.Builder clearSecondLevelSource()Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.
string second_level_source = 3;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
clearSourceCount()
public SecurityResult.IoCStats.Builder clearSourceCount()Number of sources from which information was extracted.
int32 source_count = 8;
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getSourceCount()
public int getSourceCount()Number of sources from which information was extracted.
int32 source_count = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The sourceCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SecurityResult.IoCStats other)
public SecurityResult.IoCStats.Builder mergeFrom(SecurityResult.IoCStats other)| Parameter | |
|---|---|
| Name | Description |
other |
SecurityResult.IoCStats |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecurityResult.IoCStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityResult.IoCStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
|
setBenignCount(int value)
public SecurityResult.IoCStats.Builder setBenignCount(int value)Count of responses where the IoC was identified as benign.
int32 benign_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe benignCount to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setFirstLevelSource(String value)
public SecurityResult.IoCStats.Builder setFirstLevelSource(String value)Name of first level IoC source, for example Mandiant or a third-party.
string first_level_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe firstLevelSource to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setFirstLevelSourceBytes(ByteString value)
public SecurityResult.IoCStats.Builder setFirstLevelSourceBytes(ByteString value)Name of first level IoC source, for example Mandiant or a third-party.
string first_level_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for firstLevelSource to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setIocStatsType(SecurityResult.IoCStatsType value)
public SecurityResult.IoCStats.Builder setIocStatsType(SecurityResult.IoCStatsType value)Describes the source of the IoCStat.
.google.backstory.SecurityResult.IoCStatsType ioc_stats_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SecurityResult.IoCStatsTypeThe iocStatsType to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setIocStatsTypeValue(int value)
public SecurityResult.IoCStats.Builder setIocStatsTypeValue(int value)Describes the source of the IoCStat.
.google.backstory.SecurityResult.IoCStatsType ioc_stats_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for iocStatsType to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setMaliciousCount(int value)
public SecurityResult.IoCStats.Builder setMaliciousCount(int value)Count of responses where the IoC was identified as malicious.
int32 malicious_count = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maliciousCount to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setQuality(SecurityResult.ProductConfidence value)
public SecurityResult.IoCStats.Builder setQuality(SecurityResult.ProductConfidence value)Level of confidence in the IoC mapping extracted from the source.
.google.backstory.SecurityResult.ProductConfidence quality = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
SecurityResult.ProductConfidenceThe quality to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setQualityValue(int value)
public SecurityResult.IoCStats.Builder setQualityValue(int value)Level of confidence in the IoC mapping extracted from the source.
.google.backstory.SecurityResult.ProductConfidence quality = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for quality to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setResponseCount(int value)
public SecurityResult.IoCStats.Builder setResponseCount(int value)Total number of response from the source.
int32 response_count = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe responseCount to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setSecondLevelSource(String value)
public SecurityResult.IoCStats.Builder setSecondLevelSource(String value)Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.
string second_level_source = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secondLevelSource to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setSecondLevelSourceBytes(ByteString value)
public SecurityResult.IoCStats.Builder setSecondLevelSourceBytes(ByteString value)Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.
string second_level_source = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secondLevelSource to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |
setSourceCount(int value)
public SecurityResult.IoCStats.Builder setSourceCount(int value)Number of sources from which information was extracted.
int32 source_count = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe sourceCount to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityResult.IoCStats.Builder |
This builder for chaining. |