Enum VirusDetail.ThreatType (0.1.0)

public enum VirusDetail.ThreatType extends Enum<VirusDetail.ThreatType> implements ProtocolMessageEnum

Defines all the threat types of a virus

Protobuf enum google.cloud.modelarmor.v1.VirusDetail.ThreatType

Implements

ProtocolMessageEnum

Static Fields

Name Description
MALICIOUS_PROGRAM

Malicious program. E.g. Spyware, Trojan.

MALICIOUS_PROGRAM = 3;

MALICIOUS_PROGRAM_VALUE

Malicious program. E.g. Spyware, Trojan.

MALICIOUS_PROGRAM = 3;

POTENTIALLY_HARMFUL_CONTENT

Potentially harmful content. E.g. Injected code, Macro

POTENTIALLY_HARMFUL_CONTENT = 4;

POTENTIALLY_HARMFUL_CONTENT_VALUE

Potentially harmful content. E.g. Injected code, Macro

POTENTIALLY_HARMFUL_CONTENT = 4;

POTENTIALLY_UNWANTED_CONTENT

Potentially unwanted content. E.g. Adware.

POTENTIALLY_UNWANTED_CONTENT = 5;

POTENTIALLY_UNWANTED_CONTENT_VALUE

Potentially unwanted content. E.g. Adware.

POTENTIALLY_UNWANTED_CONTENT = 5;

THREAT_TYPE_UNSPECIFIED

Unused

THREAT_TYPE_UNSPECIFIED = 0;

THREAT_TYPE_UNSPECIFIED_VALUE

Unused

THREAT_TYPE_UNSPECIFIED = 0;

UNKNOWN

Unable to categorize threat

UNKNOWN = 1;

UNKNOWN_VALUE

Unable to categorize threat

UNKNOWN = 1;

UNRECOGNIZED
VIRUS_OR_WORM

Virus or Worm threat.

VIRUS_OR_WORM = 2;

VIRUS_OR_WORM_VALUE

Virus or Worm threat.

VIRUS_OR_WORM = 2;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()