public static final class ThreatInfo.Confidence extends com.google.protobuf.GeneratedMessageV3 implements ThreatInfo.ConfidenceOrBuilder
Confidence that a URI is unsafe.Protobuf type
google.cloud.webrisk.v1.ThreatInfo.Confidence| Modifier and Type | Class and Description |
|---|---|
static class |
ThreatInfo.Confidence.Builder
Confidence that a URI is unsafe.
|
static class |
ThreatInfo.Confidence.ConfidenceLevel
Enum representation of confidence.
|
static class |
ThreatInfo.Confidence.ValueCase |
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 |
LEVEL_FIELD_NUMBER |
static int |
SCORE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ThreatInfo.Confidence |
getDefaultInstance() |
ThreatInfo.Confidence |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ThreatInfo.Confidence.ConfidenceLevel |
getLevel()
Enum representation of confidence.
|
int |
getLevelValue()
Enum representation of confidence.
|
com.google.protobuf.Parser<ThreatInfo.Confidence> |
getParserForType() |
float |
getScore()
A decimal representation of confidence in the range of 0
to 1 where 0 indicates no confidence and 1 indicates
complete confidence.
|
int |
getSerializedSize() |
ThreatInfo.Confidence.ValueCase |
getValueCase() |
int |
hashCode() |
boolean |
hasLevel()
Enum representation of confidence.
|
boolean |
hasScore()
A decimal representation of confidence in the range of 0
to 1 where 0 indicates no confidence and 1 indicates
complete confidence.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ThreatInfo.Confidence.Builder |
newBuilder() |
static ThreatInfo.Confidence.Builder |
newBuilder(ThreatInfo.Confidence prototype) |
ThreatInfo.Confidence.Builder |
newBuilderForType() |
protected ThreatInfo.Confidence.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ThreatInfo.Confidence |
parseDelimitedFrom(InputStream input) |
static ThreatInfo.Confidence |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.Confidence |
parseFrom(byte[] data) |
static ThreatInfo.Confidence |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.Confidence |
parseFrom(ByteBuffer data) |
static ThreatInfo.Confidence |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.Confidence |
parseFrom(com.google.protobuf.ByteString data) |
static ThreatInfo.Confidence |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.Confidence |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ThreatInfo.Confidence |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.Confidence |
parseFrom(InputStream input) |
static ThreatInfo.Confidence |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ThreatInfo.Confidence> |
parser() |
ThreatInfo.Confidence.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 SCORE_FIELD_NUMBER
public static final int LEVEL_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 ThreatInfo.Confidence.ValueCase getValueCase()
getValueCase in interface ThreatInfo.ConfidenceOrBuilderpublic boolean hasScore()
A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence.
float score = 1;hasScore in interface ThreatInfo.ConfidenceOrBuilderpublic float getScore()
A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence.
float score = 1;getScore in interface ThreatInfo.ConfidenceOrBuilderpublic boolean hasLevel()
Enum representation of confidence.
.google.cloud.webrisk.v1.ThreatInfo.Confidence.ConfidenceLevel level = 2;hasLevel in interface ThreatInfo.ConfidenceOrBuilderpublic int getLevelValue()
Enum representation of confidence.
.google.cloud.webrisk.v1.ThreatInfo.Confidence.ConfidenceLevel level = 2;getLevelValue in interface ThreatInfo.ConfidenceOrBuilderpublic ThreatInfo.Confidence.ConfidenceLevel getLevel()
Enum representation of confidence.
.google.cloud.webrisk.v1.ThreatInfo.Confidence.ConfidenceLevel level = 2;getLevel in interface ThreatInfo.ConfidenceOrBuilderpublic 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.Confidence parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.Confidence parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.Confidence parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.Confidence parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.Confidence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.Confidence parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.Confidence parseFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatInfo.Confidence parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatInfo.Confidence parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatInfo.Confidence parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatInfo.Confidence parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ThreatInfo.Confidence parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ThreatInfo.Confidence.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ThreatInfo.Confidence.Builder newBuilder()
public static ThreatInfo.Confidence.Builder newBuilder(ThreatInfo.Confidence prototype)
public ThreatInfo.Confidence.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ThreatInfo.Confidence.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ThreatInfo.Confidence getDefaultInstance()
public static com.google.protobuf.Parser<ThreatInfo.Confidence> parser()
public com.google.protobuf.Parser<ThreatInfo.Confidence> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ThreatInfo.Confidence getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.