Package com.google.webrisk.v1
Interface ThreatInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThreatInfo,ThreatInfo.Builder
@Generated
public interface ThreatInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type of abuse.intThe type of abuse.Confidence that the URI is unsafe.Confidence that the URI is unsafe.Context about why the URI is unsafe.Context about why the URI is unsafe.booleanConfidence that the URI is unsafe.booleanContext about why the URI is unsafe.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-