Interface ThreatInfoOrBuilder (2.42.0)

public interface ThreatInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAbuseType()

public abstract ThreatInfo.AbuseType getAbuseType()

The type of abuse.

.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;

Returns
Type Description
ThreatInfo.AbuseType

The abuseType.

getAbuseTypeValue()

public abstract int getAbuseTypeValue()

The type of abuse.

.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for abuseType.

getThreatConfidence()

public abstract ThreatInfo.Confidence getThreatConfidence()

Confidence that the URI is unsafe.

.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;

Returns
Type Description
ThreatInfo.Confidence

The threatConfidence.

getThreatConfidenceOrBuilder()

public abstract ThreatInfo.ConfidenceOrBuilder getThreatConfidenceOrBuilder()

Confidence that the URI is unsafe.

.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;

Returns
Type Description
ThreatInfo.ConfidenceOrBuilder

getThreatJustification()

public abstract ThreatInfo.ThreatJustification getThreatJustification()

Context about why the URI is unsafe.

.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;

Returns
Type Description
ThreatInfo.ThreatJustification

The threatJustification.

getThreatJustificationOrBuilder()

public abstract ThreatInfo.ThreatJustificationOrBuilder getThreatJustificationOrBuilder()

Context about why the URI is unsafe.

.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;

Returns
Type Description
ThreatInfo.ThreatJustificationOrBuilder

hasThreatConfidence()

public abstract boolean hasThreatConfidence()

Confidence that the URI is unsafe.

.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;

Returns
Type Description
boolean

Whether the threatConfidence field is set.

hasThreatJustification()

public abstract boolean hasThreatJustification()

Context about why the URI is unsafe.

.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;

Returns
Type Description
boolean

Whether the threatJustification field is set.