Class ThreatEntryRemovals.Builder (2.50.0)

public static final class ThreatEntryRemovals.Builder extends GeneratedMessageV3.Builder<ThreatEntryRemovals.Builder> implements ThreatEntryRemovalsOrBuilder

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

Protobuf type google.cloud.webrisk.v1beta1.ThreatEntryRemovals

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ThreatEntryRemovals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

build()

public ThreatEntryRemovals build()
Returns
Type Description
ThreatEntryRemovals

buildPartial()

public ThreatEntryRemovals buildPartial()
Returns
Type Description
ThreatEntryRemovals

clear()

public ThreatEntryRemovals.Builder clear()
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ThreatEntryRemovals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ThreatEntryRemovals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

clearRawIndices()

public ThreatEntryRemovals.Builder clearRawIndices()

The raw removal indices for a local list.

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

Returns
Type Description
ThreatEntryRemovals.Builder

clearRiceIndices()

public ThreatEntryRemovals.Builder clearRiceIndices()

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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
ThreatEntryRemovals.Builder

clone()

public ThreatEntryRemovals.Builder clone()
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

getDefaultInstanceForType()

public ThreatEntryRemovals getDefaultInstanceForType()
Returns
Type Description
ThreatEntryRemovals

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRawIndices()

public RawIndices getRawIndices()

The raw removal indices for a local list.

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

Returns
Type Description
RawIndices

The rawIndices.

getRawIndicesBuilder()

public RawIndices.Builder getRawIndicesBuilder()

The raw removal indices for a local list.

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

Returns
Type Description
RawIndices.Builder

getRawIndicesOrBuilder()

public RawIndicesOrBuilder getRawIndicesOrBuilder()

The raw removal indices for a local list.

.google.cloud.webrisk.v1beta1.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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
RiceDeltaEncoding

The riceIndices.

getRiceIndicesBuilder()

public RiceDeltaEncoding.Builder getRiceIndicesBuilder()

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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
RiceDeltaEncoding.Builder

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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
RiceDeltaEncodingOrBuilder

hasRawIndices()

public boolean hasRawIndices()

The raw removal indices for a local list.

.google.cloud.webrisk.v1beta1.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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Returns
Type Description
boolean

Whether the riceIndices field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ThreatEntryRemovals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ThreatEntryRemovals.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

mergeFrom(ThreatEntryRemovals other)

public ThreatEntryRemovals.Builder mergeFrom(ThreatEntryRemovals other)
Parameter
Name Description
other ThreatEntryRemovals
Returns
Type Description
ThreatEntryRemovals.Builder

mergeRawIndices(RawIndices value)

public ThreatEntryRemovals.Builder mergeRawIndices(RawIndices value)

The raw removal indices for a local list.

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

Parameter
Name Description
value RawIndices
Returns
Type Description
ThreatEntryRemovals.Builder

mergeRiceIndices(RiceDeltaEncoding value)

public ThreatEntryRemovals.Builder mergeRiceIndices(RiceDeltaEncoding value)

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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Parameter
Name Description
value RiceDeltaEncoding
Returns
Type Description
ThreatEntryRemovals.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ThreatEntryRemovals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ThreatEntryRemovals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

setRawIndices(RawIndices value)

public ThreatEntryRemovals.Builder setRawIndices(RawIndices value)

The raw removal indices for a local list.

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

Parameter
Name Description
value RawIndices
Returns
Type Description
ThreatEntryRemovals.Builder

setRawIndices(RawIndices.Builder builderForValue)

public ThreatEntryRemovals.Builder setRawIndices(RawIndices.Builder builderForValue)

The raw removal indices for a local list.

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

Parameter
Name Description
builderForValue RawIndices.Builder
Returns
Type Description
ThreatEntryRemovals.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ThreatEntryRemovals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides

setRiceIndices(RiceDeltaEncoding value)

public ThreatEntryRemovals.Builder setRiceIndices(RiceDeltaEncoding value)

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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Parameter
Name Description
value RiceDeltaEncoding
Returns
Type Description
ThreatEntryRemovals.Builder

setRiceIndices(RiceDeltaEncoding.Builder builderForValue)

public ThreatEntryRemovals.Builder setRiceIndices(RiceDeltaEncoding.Builder builderForValue)

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.v1beta1.RiceDeltaEncoding rice_indices = 2;

Parameter
Name Description
builderForValue RiceDeltaEncoding.Builder
Returns
Type Description
ThreatEntryRemovals.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ThreatEntryRemovals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ThreatEntryRemovals.Builder
Overrides