public final class ThreatInfo extends com.google.protobuf.GeneratedMessageV3 implements ThreatInfoOrBuilder
Context about the submission including the type of abuse found on the URI and supporting details. option (google.api.message_visibility).restriction = "TRUSTED_TESTER";Protobuf type
google.cloud.webrisk.v1.ThreatInfo| Modifier and Type | Class and Description |
|---|---|
static class |
ThreatInfo.AbuseType
The abuse type found on the URI.
|
static class |
ThreatInfo.Builder
Context about the submission including the type of abuse found on the URI and
supporting details.
|
static class |
ThreatInfo.Confidence
Confidence that a URI is unsafe.
|
static interface |
ThreatInfo.ConfidenceOrBuilder |
static class |
ThreatInfo.ThreatJustification
Context about why the URI is unsafe.
|
static interface |
ThreatInfo.ThreatJustificationOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ABUSE_TYPE_FIELD_NUMBER |
static int |
THREAT_CONFIDENCE_FIELD_NUMBER |
static int |
THREAT_JUSTIFICATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ThreatInfo.AbuseType |
getAbuseType()
The type of abuse.
|
int |
getAbuseTypeValue()
The type of abuse.
|
static ThreatInfo |
getDefaultInstance() |
ThreatInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ThreatInfo> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasThreatConfidence()
Confidence that the URI is unsafe.
|
boolean |
hasThreatJustification()
Context about why the URI is unsafe.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ThreatInfo.Builder |
newBuilder() |
static ThreatInfo.Builder |
newBuilder(ThreatInfo prototype) |
ThreatInfo.Builder |
newBuilderForType() |
protected ThreatInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ThreatInfo |
parseDelimitedFrom(InputStream input) |
static ThreatInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo |
parseFrom(byte[] data) |
static ThreatInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo |
parseFrom(ByteBuffer data) |
static ThreatInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ThreatInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ThreatInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo |
parseFrom(InputStream input) |
static ThreatInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ThreatInfo> |
parser() |
ThreatInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ABUSE_TYPE_FIELD_NUMBER
public static final int THREAT_CONFIDENCE_FIELD_NUMBER
public static final int THREAT_JUSTIFICATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getAbuseTypeValue()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;getAbuseTypeValue in interface ThreatInfoOrBuilderpublic ThreatInfo.AbuseType getAbuseType()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;getAbuseType in interface ThreatInfoOrBuilderpublic boolean hasThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;hasThreatConfidence in interface ThreatInfoOrBuilderpublic ThreatInfo.Confidence getThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;getThreatConfidence in interface ThreatInfoOrBuilderpublic ThreatInfo.ConfidenceOrBuilder getThreatConfidenceOrBuilder()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;getThreatConfidenceOrBuilder in interface ThreatInfoOrBuilderpublic boolean hasThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;hasThreatJustification in interface ThreatInfoOrBuilderpublic ThreatInfo.ThreatJustification getThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;getThreatJustification in interface ThreatInfoOrBuilderpublic ThreatInfo.ThreatJustificationOrBuilder getThreatJustificationOrBuilder()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;getThreatJustificationOrBuilder in interface ThreatInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ThreatInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ThreatInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ThreatInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ThreatInfo.Builder newBuilder()
public static ThreatInfo.Builder newBuilder(ThreatInfo prototype)
public ThreatInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ThreatInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ThreatInfo getDefaultInstance()
public static com.google.protobuf.Parser<ThreatInfo> parser()
public com.google.protobuf.Parser<ThreatInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ThreatInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.