Package com.google.webrisk.v1
Interface ThreatInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThreatInfo
,ThreatInfo.Builder
public interface ThreatInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreatInfo.AbuseType
getAbuseType()
The type of abuse.int
getAbuseTypeValue()
The type of abuse.ThreatInfo.Confidence
getThreatConfidence()
Confidence that the URI is unsafe.ThreatInfo.ConfidenceOrBuilder
getThreatConfidenceOrBuilder()
Confidence that the URI is unsafe.ThreatInfo.ThreatJustification
getThreatJustification()
Context about why the URI is unsafe.ThreatInfo.ThreatJustificationOrBuilder
getThreatJustificationOrBuilder()
Context about why the URI is unsafe.boolean
hasThreatConfidence()
Confidence that the URI is unsafe.boolean
hasThreatJustification()
Context about why the URI is unsafe.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAbuseTypeValue
int getAbuseTypeValue()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;
- Returns:
- The enum numeric value on the wire for abuseType.
-
getAbuseType
ThreatInfo.AbuseType getAbuseType()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;
- Returns:
- The abuseType.
-
hasThreatConfidence
boolean hasThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;
- Returns:
- Whether the threatConfidence field is set.
-
getThreatConfidence
ThreatInfo.Confidence getThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;
- Returns:
- The threatConfidence.
-
getThreatConfidenceOrBuilder
ThreatInfo.ConfidenceOrBuilder getThreatConfidenceOrBuilder()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;
-
hasThreatJustification
boolean hasThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
- Returns:
- Whether the threatJustification field is set.
-
getThreatJustification
ThreatInfo.ThreatJustification getThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
- Returns:
- The threatJustification.
-
getThreatJustificationOrBuilder
ThreatInfo.ThreatJustificationOrBuilder getThreatJustificationOrBuilder()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
-
-