Class SecurityResult.Verdict.Builder (0.3.0)

public static final class SecurityResult.Verdict.Builder extends GeneratedMessage.Builder<SecurityResult.Verdict.Builder> implements SecurityResult.VerdictOrBuilder

Deprecated. Encapsulates the threat verdict provided by human analysts and ML models. These fields are used to model Mandiant sources.

Protobuf type google.backstory.SecurityResult.Verdict

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearAnalystVerdict()

public SecurityResult.Verdict.Builder clearAnalystVerdict()

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Returns
Type Description
SecurityResult.Verdict.Builder

clearNeighbourInfluence()

public SecurityResult.Verdict.Builder clearNeighbourInfluence()

Describes the neighbour influence of the verdict.

string neighbour_influence = 3;

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

clearResponseCount()

public SecurityResult.Verdict.Builder clearResponseCount()

Total response count across all sources.

int32 response_count = 2;

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

clearSourceCount()

public SecurityResult.Verdict.Builder clearSourceCount()

Number of sources from which intelligence was extracted.

int32 source_count = 1;

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

clearVerdict()

public SecurityResult.Verdict.Builder clearVerdict()

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Returns
Type Description
SecurityResult.Verdict.Builder

getAnalystVerdict()

public SecurityResult.AnalystVerdict getAnalystVerdict()

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Returns
Type Description
SecurityResult.AnalystVerdict

The analystVerdict.

getAnalystVerdictBuilder()

public SecurityResult.AnalystVerdict.Builder getAnalystVerdictBuilder()

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Returns
Type Description
SecurityResult.AnalystVerdict.Builder

getAnalystVerdictOrBuilder()

public SecurityResult.AnalystVerdictOrBuilder getAnalystVerdictOrBuilder()

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Returns
Type Description
SecurityResult.AnalystVerdictOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getNeighbourInfluence()

public String getNeighbourInfluence()

Describes the neighbour influence of the verdict.

string neighbour_influence = 3;

Returns
Type Description
String

The neighbourInfluence.

getNeighbourInfluenceBytes()

public ByteString getNeighbourInfluenceBytes()

Describes the neighbour influence of the verdict.

string neighbour_influence = 3;

Returns
Type Description
ByteString

The bytes for neighbourInfluence.

getResponseCount()

public int getResponseCount()

Total response count across all sources.

int32 response_count = 2;

Returns
Type Description
int

The responseCount.

getSourceCount()

public int getSourceCount()

Number of sources from which intelligence was extracted.

int32 source_count = 1;

Returns
Type Description
int

The sourceCount.

getVerdict()

public SecurityResult.ProviderMLVerdict getVerdict()

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Returns
Type Description
SecurityResult.ProviderMLVerdict

The verdict.

getVerdictBuilder()

public SecurityResult.ProviderMLVerdict.Builder getVerdictBuilder()

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

getVerdictOrBuilder()

public SecurityResult.ProviderMLVerdictOrBuilder getVerdictOrBuilder()

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Returns
Type Description
SecurityResult.ProviderMLVerdictOrBuilder

hasAnalystVerdict()

public boolean hasAnalystVerdict()

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Returns
Type Description
boolean

Whether the analystVerdict field is set.

hasVerdict()

public boolean hasVerdict()

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Returns
Type Description
boolean

Whether the verdict field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalystVerdict(SecurityResult.AnalystVerdict value)

public SecurityResult.Verdict.Builder mergeAnalystVerdict(SecurityResult.AnalystVerdict value)

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Parameter
Name Description
value SecurityResult.AnalystVerdict
Returns
Type Description
SecurityResult.Verdict.Builder

mergeFrom(SecurityResult.Verdict other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeVerdict(SecurityResult.ProviderMLVerdict value)

public SecurityResult.Verdict.Builder mergeVerdict(SecurityResult.ProviderMLVerdict value)

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Parameter
Name Description
value SecurityResult.ProviderMLVerdict
Returns
Type Description
SecurityResult.Verdict.Builder

setAnalystVerdict(SecurityResult.AnalystVerdict value)

public SecurityResult.Verdict.Builder setAnalystVerdict(SecurityResult.AnalystVerdict value)

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Parameter
Name Description
value SecurityResult.AnalystVerdict
Returns
Type Description
SecurityResult.Verdict.Builder

setAnalystVerdict(SecurityResult.AnalystVerdict.Builder builderForValue)

public SecurityResult.Verdict.Builder setAnalystVerdict(SecurityResult.AnalystVerdict.Builder builderForValue)

Human analyst verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.AnalystVerdict analyst_verdict = 5;

Parameter
Name Description
builderForValue SecurityResult.AnalystVerdict.Builder
Returns
Type Description
SecurityResult.Verdict.Builder

setNeighbourInfluence(String value)

public SecurityResult.Verdict.Builder setNeighbourInfluence(String value)

Describes the neighbour influence of the verdict.

string neighbour_influence = 3;

Parameter
Name Description
value String

The neighbourInfluence to set.

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

setNeighbourInfluenceBytes(ByteString value)

public SecurityResult.Verdict.Builder setNeighbourInfluenceBytes(ByteString value)

Describes the neighbour influence of the verdict.

string neighbour_influence = 3;

Parameter
Name Description
value ByteString

The bytes for neighbourInfluence to set.

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

setResponseCount(int value)

public SecurityResult.Verdict.Builder setResponseCount(int value)

Total response count across all sources.

int32 response_count = 2;

Parameter
Name Description
value int

The responseCount to set.

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

setSourceCount(int value)

public SecurityResult.Verdict.Builder setSourceCount(int value)

Number of sources from which intelligence was extracted.

int32 source_count = 1;

Parameter
Name Description
value int

The sourceCount to set.

Returns
Type Description
SecurityResult.Verdict.Builder

This builder for chaining.

setVerdict(SecurityResult.ProviderMLVerdict value)

public SecurityResult.Verdict.Builder setVerdict(SecurityResult.ProviderMLVerdict value)

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Parameter
Name Description
value SecurityResult.ProviderMLVerdict
Returns
Type Description
SecurityResult.Verdict.Builder

setVerdict(SecurityResult.ProviderMLVerdict.Builder builderForValue)

public SecurityResult.Verdict.Builder setVerdict(SecurityResult.ProviderMLVerdict.Builder builderForValue)

ML Verdict provided by sources like Mandiant.

.google.backstory.SecurityResult.ProviderMLVerdict verdict = 4;

Parameter
Name Description
builderForValue SecurityResult.ProviderMLVerdict.Builder
Returns
Type Description
SecurityResult.Verdict.Builder