Enum ThreatType (2.2.6)

public enum ThreatType extends Enum<ThreatType> implements ProtocolMessageEnum

The type of threat. This maps dirrectly to the threat list a threat may belong to.

Protobuf enum google.cloud.webrisk.v1.ThreatType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
MALWARE

Malware targeting any platform.

MALWARE = 1;

MALWARE_VALUE

Malware targeting any platform.

MALWARE = 1;

SOCIAL_ENGINEERING

Social engineering targeting any platform.

SOCIAL_ENGINEERING = 2;

SOCIAL_ENGINEERING_VALUE

Social engineering targeting any platform.

SOCIAL_ENGINEERING = 2;

THREAT_TYPE_UNSPECIFIED

Unknown.

THREAT_TYPE_UNSPECIFIED = 0;

THREAT_TYPE_UNSPECIFIED_VALUE

Unknown.

THREAT_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
UNWANTED_SOFTWARE

Unwanted software targeting any platform.

UNWANTED_SOFTWARE = 3;

UNWANTED_SOFTWARE_VALUE

Unwanted software targeting any platform.

UNWANTED_SOFTWARE = 3;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()