Class ThreatEntryRemovals (2.50.0)

public final class ThreatEntryRemovals extends GeneratedMessageV3 implements ThreatEntryRemovalsOrBuilder

Contains the set of entries to remove from a local database.

Protobuf type google.cloud.webrisk.v1.ThreatEntryRemovals

Static Fields

RAW_INDICES_FIELD_NUMBER

public static final int RAW_INDICES_FIELD_NUMBER
Field Value
Type Description
int

RICE_INDICES_FIELD_NUMBER

public static final int RICE_INDICES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ThreatEntryRemovals getDefaultInstance()
Returns
Type Description
ThreatEntryRemovals

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ThreatEntryRemovals.Builder newBuilder()
Returns
Type Description
ThreatEntryRemovals.Builder

newBuilder(ThreatEntryRemovals prototype)

public static ThreatEntryRemovals.Builder newBuilder(ThreatEntryRemovals prototype)
Parameter
Name Description
prototype ThreatEntryRemovals
Returns
Type Description
ThreatEntryRemovals.Builder

parseDelimitedFrom(InputStream input)

public static ThreatEntryRemovals parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ThreatEntryRemovals parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ThreatEntryRemovals parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ThreatEntryRemovals parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ThreatEntryRemovals parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ThreatEntryRemovals parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ThreatEntryRemovals> parser()
Returns
Type Description
Parser<ThreatEntryRemovals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ThreatEntryRemovals getDefaultInstanceForType()
Returns
Type Description
ThreatEntryRemovals

getParserForType()

public Parser<ThreatEntryRemovals> getParserForType()
Returns
Type Description
Parser<ThreatEntryRemovals>
Overrides

getRawIndices()

public RawIndices getRawIndices()

The raw removal indices for a local list.

.google.cloud.webrisk.v1.RawIndices raw_indices = 1;

Returns
Type Description
RawIndices

The rawIndices.

getRawIndicesOrBuilder()

public RawIndicesOrBuilder getRawIndicesOrBuilder()

The raw removal indices for a local list.

.google.cloud.webrisk.v1.RawIndices raw_indices = 1;

Returns
Type Description
RawIndicesOrBuilder

getRiceIndices()

public RiceDeltaEncoding getRiceIndices()

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

.google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
RiceDeltaEncoding

The riceIndices.

getRiceIndicesOrBuilder()

public RiceDeltaEncodingOrBuilder getRiceIndicesOrBuilder()

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

.google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
RiceDeltaEncodingOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasRawIndices()

public boolean hasRawIndices()

The raw removal indices for a local list.

.google.cloud.webrisk.v1.RawIndices raw_indices = 1;

Returns
Type Description
boolean

Whether the rawIndices field is set.

hasRiceIndices()

public boolean hasRiceIndices()

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

.google.cloud.webrisk.v1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
boolean

Whether the riceIndices field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ThreatEntryRemovals.Builder newBuilderForType()
Returns
Type Description
ThreatEntryRemovals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ThreatEntryRemovals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ThreatEntryRemovals.Builder toBuilder()
Returns
Type Description
ThreatEntryRemovals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException