Class ThreatEntryRemovals (2.31.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
TypeDescription
int

RICE_INDICES_FIELD_NUMBER

public static final int RICE_INDICES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ThreatEntryRemovals getDefaultInstance()
Returns
TypeDescription
ThreatEntryRemovals

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ThreatEntryRemovals.Builder newBuilder()
Returns
TypeDescription
ThreatEntryRemovals.Builder

newBuilder(ThreatEntryRemovals prototype)

public static ThreatEntryRemovals.Builder newBuilder(ThreatEntryRemovals prototype)
Parameter
NameDescription
prototypeThreatEntryRemovals
Returns
TypeDescription
ThreatEntryRemovals.Builder

parseDelimitedFrom(InputStream input)

public static ThreatEntryRemovals parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ThreatEntryRemovals parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ThreatEntryRemovals parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ThreatEntryRemovals parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ThreatEntryRemovals parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ThreatEntryRemovals parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ThreatEntryRemovals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ThreatEntryRemovals> parser()
Returns
TypeDescription
Parser<ThreatEntryRemovals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ThreatEntryRemovals getDefaultInstanceForType()
Returns
TypeDescription
ThreatEntryRemovals

getParserForType()

public Parser<ThreatEntryRemovals> getParserForType()
Returns
TypeDescription
Parser<ThreatEntryRemovals>
Overrides

getRawIndices()

public RawIndices getRawIndices()

The raw removal indices for a local list.

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

Returns
TypeDescription
RawIndices

The rawIndices.

getRawIndicesOrBuilder()

public RawIndicesOrBuilder getRawIndicesOrBuilder()

The raw removal indices for a local list.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RiceDeltaEncodingOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRawIndices()

public boolean hasRawIndices()

The raw removal indices for a local list.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the riceIndices field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ThreatEntryRemovals.Builder newBuilderForType()
Returns
TypeDescription
ThreatEntryRemovals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ThreatEntryRemovals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ThreatEntryRemovals.Builder toBuilder()
Returns
TypeDescription
ThreatEntryRemovals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException