public final class ThreatEntryAdditions extends com.google.protobuf.GeneratedMessageV3 implements ThreatEntryAdditionsOrBuilder
Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.Protobuf type
google.cloud.webrisk.v1beta1.ThreatEntryAdditions| Modifier and Type | Class and Description |
|---|---|
static class |
ThreatEntryAdditions.Builder
Contains the set of entries to add to a local database.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
RAW_HASHES_FIELD_NUMBER |
static int |
RICE_HASHES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ThreatEntryAdditions |
getDefaultInstance() |
ThreatEntryAdditions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ThreatEntryAdditions> |
getParserForType() |
RawHashes |
getRawHashes(int index)
The raw SHA256-formatted entries.
|
int |
getRawHashesCount()
The raw SHA256-formatted entries.
|
List<RawHashes> |
getRawHashesList()
The raw SHA256-formatted entries.
|
RawHashesOrBuilder |
getRawHashesOrBuilder(int index)
The raw SHA256-formatted entries.
|
List<? extends RawHashesOrBuilder> |
getRawHashesOrBuilderList()
The raw SHA256-formatted entries.
|
RiceDeltaEncoding |
getRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a
Golomb-Rice encoding.
|
RiceDeltaEncodingOrBuilder |
getRiceHashesOrBuilder()
The encoded 4-byte prefixes of SHA256-formatted entries, using a
Golomb-Rice encoding.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a
Golomb-Rice encoding.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ThreatEntryAdditions.Builder |
newBuilder() |
static ThreatEntryAdditions.Builder |
newBuilder(ThreatEntryAdditions prototype) |
ThreatEntryAdditions.Builder |
newBuilderForType() |
protected ThreatEntryAdditions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ThreatEntryAdditions |
parseDelimitedFrom(InputStream input) |
static ThreatEntryAdditions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatEntryAdditions |
parseFrom(byte[] data) |
static ThreatEntryAdditions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatEntryAdditions |
parseFrom(ByteBuffer data) |
static ThreatEntryAdditions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatEntryAdditions |
parseFrom(com.google.protobuf.ByteString data) |
static ThreatEntryAdditions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatEntryAdditions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ThreatEntryAdditions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ThreatEntryAdditions |
parseFrom(InputStream input) |
static ThreatEntryAdditions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ThreatEntryAdditions> |
parser() |
ThreatEntryAdditions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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 RAW_HASHES_FIELD_NUMBER
public static final int RICE_HASHES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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<RawHashes> getRawHashesList()
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;getRawHashesList in interface ThreatEntryAdditionsOrBuilderpublic List<? extends RawHashesOrBuilder> getRawHashesOrBuilderList()
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;getRawHashesOrBuilderList in interface ThreatEntryAdditionsOrBuilderpublic int getRawHashesCount()
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;getRawHashesCount in interface ThreatEntryAdditionsOrBuilderpublic RawHashes getRawHashes(int index)
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;getRawHashes in interface ThreatEntryAdditionsOrBuilderpublic RawHashesOrBuilder getRawHashesOrBuilder(int index)
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;getRawHashesOrBuilder in interface ThreatEntryAdditionsOrBuilderpublic boolean hasRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
.google.cloud.webrisk.v1beta1.RiceDeltaEncoding rice_hashes = 2;hasRiceHashes in interface ThreatEntryAdditionsOrBuilderpublic RiceDeltaEncoding getRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
.google.cloud.webrisk.v1beta1.RiceDeltaEncoding rice_hashes = 2;getRiceHashes in interface ThreatEntryAdditionsOrBuilderpublic RiceDeltaEncodingOrBuilder getRiceHashesOrBuilder()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
.google.cloud.webrisk.v1beta1.RiceDeltaEncoding rice_hashes = 2;getRiceHashesOrBuilder in interface ThreatEntryAdditionsOrBuilderpublic 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 ThreatEntryAdditions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatEntryAdditions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatEntryAdditions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatEntryAdditions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatEntryAdditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatEntryAdditions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ThreatEntryAdditions parseFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatEntryAdditions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatEntryAdditions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ThreatEntryAdditions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ThreatEntryAdditions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ThreatEntryAdditions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ThreatEntryAdditions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ThreatEntryAdditions.Builder newBuilder()
public static ThreatEntryAdditions.Builder newBuilder(ThreatEntryAdditions prototype)
public ThreatEntryAdditions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ThreatEntryAdditions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ThreatEntryAdditions getDefaultInstance()
public static com.google.protobuf.Parser<ThreatEntryAdditions> parser()
public com.google.protobuf.Parser<ThreatEntryAdditions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ThreatEntryAdditions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.