public static final class ThreatInfo.ThreatJustification extends com.google.protobuf.GeneratedMessageV3 implements ThreatInfo.ThreatJustificationOrBuilder
Context about why the URI is unsafe.Protobuf type
google.cloud.webrisk.v1.ThreatInfo.ThreatJustification| Modifier and Type | Class and Description |
|---|---|
static class |
ThreatInfo.ThreatJustification.Builder
Context about why the URI is unsafe.
|
static class |
ThreatInfo.ThreatJustification.JustificationLabel
Labels that explain how the URI was classified.
|
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 |
COMMENTS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getComments(int index)
Free-form context on why this URI is unsafe.
|
com.google.protobuf.ByteString |
getCommentsBytes(int index)
Free-form context on why this URI is unsafe.
|
int |
getCommentsCount()
Free-form context on why this URI is unsafe.
|
com.google.protobuf.ProtocolStringList |
getCommentsList()
Free-form context on why this URI is unsafe.
|
static ThreatInfo.ThreatJustification |
getDefaultInstance() |
ThreatInfo.ThreatJustification |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ThreatInfo.ThreatJustification.JustificationLabel |
getLabels(int index)
Labels associated with this URI that explain how it was classified.
|
int |
getLabelsCount()
Labels associated with this URI that explain how it was classified.
|
List<ThreatInfo.ThreatJustification.JustificationLabel> |
getLabelsList()
Labels associated with this URI that explain how it was classified.
|
int |
getLabelsValue(int index)
Labels associated with this URI that explain how it was classified.
|
List<Integer> |
getLabelsValueList()
Labels associated with this URI that explain how it was classified.
|
com.google.protobuf.Parser<ThreatInfo.ThreatJustification> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ThreatInfo.ThreatJustification.Builder |
newBuilder() |
static ThreatInfo.ThreatJustification.Builder |
newBuilder(ThreatInfo.ThreatJustification prototype) |
ThreatInfo.ThreatJustification.Builder |
newBuilderForType() |
protected ThreatInfo.ThreatJustification.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ThreatInfo.ThreatJustification |
parseDelimitedFrom(InputStream input) |
static ThreatInfo.ThreatJustification |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.ThreatJustification |
parseFrom(byte[] data) |
static ThreatInfo.ThreatJustification |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.ThreatJustification |
parseFrom(ByteBuffer data) |
static ThreatInfo.ThreatJustification |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.ThreatJustification |
parseFrom(com.google.protobuf.ByteString data) |
static ThreatInfo.ThreatJustification |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.ThreatJustification |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ThreatInfo.ThreatJustification |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatInfo.ThreatJustification |
parseFrom(InputStream input) |
static ThreatInfo.ThreatJustification |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ThreatInfo.ThreatJustification> |
parser() |
ThreatInfo.ThreatJustification.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 LABELS_FIELD_NUMBER
public static final int COMMENTS_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 List<ThreatInfo.ThreatJustification.JustificationLabel> getLabelsList()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsList in interface ThreatInfo.ThreatJustificationOrBuilderpublic int getLabelsCount()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsCount in interface ThreatInfo.ThreatJustificationOrBuilderpublic ThreatInfo.ThreatJustification.JustificationLabel getLabels(int index)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabels in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the element to return.public List<Integer> getLabelsValueList()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsValueList in interface ThreatInfo.ThreatJustificationOrBuilderpublic int getLabelsValue(int index)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsValue in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getCommentsList()
Free-form context on why this URI is unsafe.
repeated string comments = 2;getCommentsList in interface ThreatInfo.ThreatJustificationOrBuilderpublic int getCommentsCount()
Free-form context on why this URI is unsafe.
repeated string comments = 2;getCommentsCount in interface ThreatInfo.ThreatJustificationOrBuilderpublic String getComments(int index)
Free-form context on why this URI is unsafe.
repeated string comments = 2;getComments in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCommentsBytes(int index)
Free-form context on why this URI is unsafe.
repeated string comments = 2;getCommentsBytes in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the value to return.public 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.ThreatJustification parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.ThreatJustification parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.ThreatJustification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.ThreatJustification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.ThreatJustification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.ThreatJustification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatInfo.ThreatJustification parseFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatInfo.ThreatJustification parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatInfo.ThreatJustification parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatInfo.ThreatJustification parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatInfo.ThreatJustification parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ThreatInfo.ThreatJustification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ThreatInfo.ThreatJustification.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ThreatInfo.ThreatJustification.Builder newBuilder()
public static ThreatInfo.ThreatJustification.Builder newBuilder(ThreatInfo.ThreatJustification prototype)
public ThreatInfo.ThreatJustification.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ThreatInfo.ThreatJustification.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ThreatInfo.ThreatJustification getDefaultInstance()
public static com.google.protobuf.Parser<ThreatInfo.ThreatJustification> parser()
public com.google.protobuf.Parser<ThreatInfo.ThreatJustification> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ThreatInfo.ThreatJustification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.