Interface ThreatInfoOrBuilder (2.39.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
TypeDescription
ThreatInfo.AbuseType

The abuseType.

getAbuseTypeValue()

public abstract int getAbuseTypeValue()

The type of abuse.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ThreatInfo.ThreatJustificationOrBuilder

hasThreatConfidence()

public abstract boolean hasThreatConfidence()

Confidence that the URI is unsafe.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the threatJustification field is set.