Interface VirusDetailOrBuilder (0.1.0)

public interface VirusDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNames(int index)

public abstract String getNames(int index)

Names of this Virus.

repeated string names = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The names at the given index.

getNamesBytes(int index)

public abstract ByteString getNamesBytes(int index)

Names of this Virus.

repeated string names = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the names at the given index.

getNamesCount()

public abstract int getNamesCount()

Names of this Virus.

repeated string names = 2;

Returns
Type Description
int

The count of names.

getNamesList()

public abstract List<String> getNamesList()

Names of this Virus.

repeated string names = 2;

Returns
Type Description
List<String>

A list containing the names.

getThreatType()

public abstract VirusDetail.ThreatType getThreatType()

Threat type of the identified virus

.google.cloud.modelarmor.v1.VirusDetail.ThreatType threat_type = 3;

Returns
Type Description
VirusDetail.ThreatType

The threatType.

getThreatTypeValue()

public abstract int getThreatTypeValue()

Threat type of the identified virus

.google.cloud.modelarmor.v1.VirusDetail.ThreatType threat_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for threatType.

getVendor()

public abstract String getVendor()

Name of vendor that produced this virus identification.

string vendor = 1;

Returns
Type Description
String

The vendor.

getVendorBytes()

public abstract ByteString getVendorBytes()

Name of vendor that produced this virus identification.

string vendor = 1;

Returns
Type Description
ByteString

The bytes for vendor.