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.AbuseTypegetAbuseType()The type of abuse.intgetAbuseTypeValue()The type of abuse.ThreatInfo.ConfidencegetThreatConfidence()Confidence that the URI is unsafe.ThreatInfo.ConfidenceOrBuildergetThreatConfidenceOrBuilder()Confidence that the URI is unsafe.ThreatInfo.ThreatJustificationgetThreatJustification()Context about why the URI is unsafe.ThreatInfo.ThreatJustificationOrBuildergetThreatJustificationOrBuilder()Context about why the URI is unsafe.booleanhasThreatConfidence()Confidence that the URI is unsafe.booleanhasThreatJustification()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;
-
-