Class SecurityResult.ProviderMLVerdict.Builder (0.3.0)

public static final class SecurityResult.ProviderMLVerdict.Builder extends GeneratedMessage.Builder<SecurityResult.ProviderMLVerdict.Builder> implements SecurityResult.ProviderMLVerdictOrBuilder

Deprecated. MLVerdict result provided from threat providers, like Mandiant. These fields are used to model Mandiant sources.

Protobuf type google.backstory.SecurityResult.ProviderMLVerdict

Static Methods

getDescriptor()

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

Methods

addAllMandiantSources(Iterable<? extends SecurityResult.Source> values)

public SecurityResult.ProviderMLVerdict.Builder addAllMandiantSources(Iterable<? extends SecurityResult.Source> values)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

addAllThirdPartySources(Iterable<? extends SecurityResult.Source> values)

public SecurityResult.ProviderMLVerdict.Builder addAllThirdPartySources(Iterable<? extends SecurityResult.Source> values)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

addMandiantSources(SecurityResult.Source value)

public SecurityResult.ProviderMLVerdict.Builder addMandiantSources(SecurityResult.Source value)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

addMandiantSources(SecurityResult.Source.Builder builderForValue)

public SecurityResult.ProviderMLVerdict.Builder addMandiantSources(SecurityResult.Source.Builder builderForValue)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

addMandiantSources(int index, SecurityResult.Source value)

public SecurityResult.ProviderMLVerdict.Builder addMandiantSources(int index, SecurityResult.Source value)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Parameters
Name Description
index int
value SecurityResult.Source
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

addMandiantSources(int index, SecurityResult.Source.Builder builderForValue)

public SecurityResult.ProviderMLVerdict.Builder addMandiantSources(int index, SecurityResult.Source.Builder builderForValue)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Parameters
Name Description
index int
builderForValue SecurityResult.Source.Builder
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

addMandiantSourcesBuilder()

public SecurityResult.Source.Builder addMandiantSourcesBuilder()

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Returns
Type Description
SecurityResult.Source.Builder

addMandiantSourcesBuilder(int index)

public SecurityResult.Source.Builder addMandiantSourcesBuilder(int index)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

addThirdPartySources(SecurityResult.Source value)

public SecurityResult.ProviderMLVerdict.Builder addThirdPartySources(SecurityResult.Source value)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

addThirdPartySources(SecurityResult.Source.Builder builderForValue)

public SecurityResult.ProviderMLVerdict.Builder addThirdPartySources(SecurityResult.Source.Builder builderForValue)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

addThirdPartySources(int index, SecurityResult.Source value)

public SecurityResult.ProviderMLVerdict.Builder addThirdPartySources(int index, SecurityResult.Source value)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Parameters
Name Description
index int
value SecurityResult.Source
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

addThirdPartySources(int index, SecurityResult.Source.Builder builderForValue)

public SecurityResult.ProviderMLVerdict.Builder addThirdPartySources(int index, SecurityResult.Source.Builder builderForValue)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Parameters
Name Description
index int
builderForValue SecurityResult.Source.Builder
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

addThirdPartySourcesBuilder()

public SecurityResult.Source.Builder addThirdPartySourcesBuilder()

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Returns
Type Description
SecurityResult.Source.Builder

addThirdPartySourcesBuilder(int index)

public SecurityResult.Source.Builder addThirdPartySourcesBuilder(int index)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

build()

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

buildPartial()

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

clear()

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

clearBenignCount()

public SecurityResult.ProviderMLVerdict.Builder clearBenignCount()

Count of responses where this IoC was marked benign.

int32 benign_count = 2;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

clearConfidenceScore()

public SecurityResult.ProviderMLVerdict.Builder clearConfidenceScore()

Confidence score of the verdict.

int32 confidence_score = 4;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

clearMaliciousCount()

public SecurityResult.ProviderMLVerdict.Builder clearMaliciousCount()

Count of responses where this IoC was marked malicious.

int32 malicious_count = 3;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

clearMandiantSources()

public SecurityResult.ProviderMLVerdict.Builder clearMandiantSources()

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

clearSourceProvider()

public SecurityResult.ProviderMLVerdict.Builder clearSourceProvider()

Source provider giving the ML verdict.

string source_provider = 1;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

clearThirdPartySources()

public SecurityResult.ProviderMLVerdict.Builder clearThirdPartySources()

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

getBenignCount()

public int getBenignCount()

Count of responses where this IoC was marked benign.

int32 benign_count = 2;

Returns
Type Description
int

The benignCount.

getConfidenceScore()

public int getConfidenceScore()

Confidence score of the verdict.

int32 confidence_score = 4;

Returns
Type Description
int

The confidenceScore.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMaliciousCount()

public int getMaliciousCount()

Count of responses where this IoC was marked malicious.

int32 malicious_count = 3;

Returns
Type Description
int

The maliciousCount.

getMandiantSources(int index)

public SecurityResult.Source getMandiantSources(int index)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Source

getMandiantSourcesBuilder(int index)

public SecurityResult.Source.Builder getMandiantSourcesBuilder(int index)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

getMandiantSourcesBuilderList()

public List<SecurityResult.Source.Builder> getMandiantSourcesBuilderList()

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Returns
Type Description
List<Builder>

getMandiantSourcesCount()

public int getMandiantSourcesCount()

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Returns
Type Description
int

getMandiantSourcesList()

public List<SecurityResult.Source> getMandiantSourcesList()

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Returns
Type Description
List<Source>

getMandiantSourcesOrBuilder(int index)

public SecurityResult.SourceOrBuilder getMandiantSourcesOrBuilder(int index)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.SourceOrBuilder

getMandiantSourcesOrBuilderList()

public List<? extends SecurityResult.SourceOrBuilder> getMandiantSourcesOrBuilderList()

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

getSourceProvider()

public String getSourceProvider()

Source provider giving the ML verdict.

string source_provider = 1;

Returns
Type Description
String

The sourceProvider.

getSourceProviderBytes()

public ByteString getSourceProviderBytes()

Source provider giving the ML verdict.

string source_provider = 1;

Returns
Type Description
ByteString

The bytes for sourceProvider.

getThirdPartySources(int index)

public SecurityResult.Source getThirdPartySources(int index)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.Source

getThirdPartySourcesBuilder(int index)

public SecurityResult.Source.Builder getThirdPartySourcesBuilder(int index)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

getThirdPartySourcesBuilderList()

public List<SecurityResult.Source.Builder> getThirdPartySourcesBuilderList()

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Returns
Type Description
List<Builder>

getThirdPartySourcesCount()

public int getThirdPartySourcesCount()

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Returns
Type Description
int

getThirdPartySourcesList()

public List<SecurityResult.Source> getThirdPartySourcesList()

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Returns
Type Description
List<Source>

getThirdPartySourcesOrBuilder(int index)

public SecurityResult.SourceOrBuilder getThirdPartySourcesOrBuilder(int index)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Parameter
Name Description
index int
Returns
Type Description
SecurityResult.SourceOrBuilder

getThirdPartySourcesOrBuilderList()

public List<? extends SecurityResult.SourceOrBuilder> getThirdPartySourcesOrBuilderList()

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityResult.ProviderMLVerdict other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeMandiantSources(int index)

public SecurityResult.ProviderMLVerdict.Builder removeMandiantSources(int index)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

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

removeThirdPartySources(int index)

public SecurityResult.ProviderMLVerdict.Builder removeThirdPartySources(int index)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

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

setBenignCount(int value)

public SecurityResult.ProviderMLVerdict.Builder setBenignCount(int value)

Count of responses where this IoC was marked benign.

int32 benign_count = 2;

Parameter
Name Description
value int

The benignCount to set.

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

setConfidenceScore(int value)

public SecurityResult.ProviderMLVerdict.Builder setConfidenceScore(int value)

Confidence score of the verdict.

int32 confidence_score = 4;

Parameter
Name Description
value int

The confidenceScore to set.

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

setMaliciousCount(int value)

public SecurityResult.ProviderMLVerdict.Builder setMaliciousCount(int value)

Count of responses where this IoC was marked malicious.

int32 malicious_count = 3;

Parameter
Name Description
value int

The maliciousCount to set.

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

setMandiantSources(int index, SecurityResult.Source value)

public SecurityResult.ProviderMLVerdict.Builder setMandiantSources(int index, SecurityResult.Source value)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Parameters
Name Description
index int
value SecurityResult.Source
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

setMandiantSources(int index, SecurityResult.Source.Builder builderForValue)

public SecurityResult.ProviderMLVerdict.Builder setMandiantSources(int index, SecurityResult.Source.Builder builderForValue)

List of mandiant sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source mandiant_sources = 5;

Parameters
Name Description
index int
builderForValue SecurityResult.Source.Builder
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

setSourceProvider(String value)

public SecurityResult.ProviderMLVerdict.Builder setSourceProvider(String value)

Source provider giving the ML verdict.

string source_provider = 1;

Parameter
Name Description
value String

The sourceProvider to set.

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

setSourceProviderBytes(ByteString value)

public SecurityResult.ProviderMLVerdict.Builder setSourceProviderBytes(ByteString value)

Source provider giving the ML verdict.

string source_provider = 1;

Parameter
Name Description
value ByteString

The bytes for sourceProvider to set.

Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

This builder for chaining.

setThirdPartySources(int index, SecurityResult.Source value)

public SecurityResult.ProviderMLVerdict.Builder setThirdPartySources(int index, SecurityResult.Source value)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Parameters
Name Description
index int
value SecurityResult.Source
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder

setThirdPartySources(int index, SecurityResult.Source.Builder builderForValue)

public SecurityResult.ProviderMLVerdict.Builder setThirdPartySources(int index, SecurityResult.Source.Builder builderForValue)

List of third-party sources from which the verdict was generated.

repeated .google.backstory.SecurityResult.Source third_party_sources = 6;

Parameters
Name Description
index int
builderForValue SecurityResult.Source.Builder
Returns
Type Description
SecurityResult.ProviderMLVerdict.Builder