Interface SecurityResult.ThreatCollectionItemOrBuilder (0.3.0)

public static interface SecurityResult.ThreatCollectionItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAltNames(int index)

public abstract String getAltNames(int index)

The name of the threat collection.

repeated string alt_names = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The altNames at the given index.

getAltNamesBytes(int index)

public abstract ByteString getAltNamesBytes(int index)

The name of the threat collection.

repeated string alt_names = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the altNames at the given index.

getAltNamesCount()

public abstract int getAltNamesCount()

The name of the threat collection.

repeated string alt_names = 3;

Returns
Type Description
int

The count of altNames.

getAltNamesList()

public abstract List<String> getAltNamesList()

The name of the threat collection.

repeated string alt_names = 3;

Returns
Type Description
List<String>

A list containing the altNames.

getId()

public abstract String getId()

The ID of the threat collection.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The ID of the threat collection.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getType()

public abstract SecurityResult.ThreatCollectionType getType()

The type of threat collection (e.g., "campaign").

.google.backstory.SecurityResult.ThreatCollectionType type = 2;

Returns
Type Description
SecurityResult.ThreatCollectionType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of threat collection (e.g., "campaign").

.google.backstory.SecurityResult.ThreatCollectionType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.