Enum ThreatType (2.54.0)

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.v1beta1.ThreatType

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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()