Class ThreatEntryRemovals.Builder (2.11.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.v1.ThreatEntryRemovals

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ThreatEntryRemovals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

build()

public ThreatEntryRemovals build()
Returns
TypeDescription
ThreatEntryRemovals

buildPartial()

public ThreatEntryRemovals buildPartial()
Returns
TypeDescription
ThreatEntryRemovals

clear()

public ThreatEntryRemovals.Builder clear()
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ThreatEntryRemovals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ThreatEntryRemovals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

clearRawIndices()

public ThreatEntryRemovals.Builder clearRawIndices()

The raw removal indices for a local list.

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

Returns
TypeDescription
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.v1.RiceDeltaEncoding rice_indices = 2;

Returns
TypeDescription
ThreatEntryRemovals.Builder

clone()

public ThreatEntryRemovals.Builder clone()
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

getDefaultInstanceForType()

public ThreatEntryRemovals getDefaultInstanceForType()
Returns
TypeDescription
ThreatEntryRemovals

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getRawIndicesBuilder()

public RawIndices.Builder getRawIndicesBuilder()

The raw removal indices for a local list.

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

Returns
TypeDescription
RawIndices.Builder

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.

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

Returns
TypeDescription
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.v1.RiceDeltaEncoding rice_indices = 2;

Returns
TypeDescription
RiceDeltaEncodingOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ThreatEntryRemovals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ThreatEntryRemovals.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

mergeFrom(ThreatEntryRemovals other)

public ThreatEntryRemovals.Builder mergeFrom(ThreatEntryRemovals other)
Parameter
NameDescription
otherThreatEntryRemovals
Returns
TypeDescription
ThreatEntryRemovals.Builder

mergeRawIndices(RawIndices value)

public ThreatEntryRemovals.Builder mergeRawIndices(RawIndices value)

The raw removal indices for a local list.

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

Parameter
NameDescription
valueRawIndices
Returns
TypeDescription
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.v1.RiceDeltaEncoding rice_indices = 2;

Parameter
NameDescription
valueRiceDeltaEncoding
Returns
TypeDescription
ThreatEntryRemovals.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ThreatEntryRemovals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ThreatEntryRemovals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides

setRawIndices(RawIndices value)

public ThreatEntryRemovals.Builder setRawIndices(RawIndices value)

The raw removal indices for a local list.

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

Parameter
NameDescription
valueRawIndices
Returns
TypeDescription
ThreatEntryRemovals.Builder

setRawIndices(RawIndices.Builder builderForValue)

public ThreatEntryRemovals.Builder setRawIndices(RawIndices.Builder builderForValue)

The raw removal indices for a local list.

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

Parameter
NameDescription
builderForValueRawIndices.Builder
Returns
TypeDescription
ThreatEntryRemovals.Builder

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

public ThreatEntryRemovals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.RiceDeltaEncoding rice_indices = 2;

Parameter
NameDescription
valueRiceDeltaEncoding
Returns
TypeDescription
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.v1.RiceDeltaEncoding rice_indices = 2;

Parameter
NameDescription
builderForValueRiceDeltaEncoding.Builder
Returns
TypeDescription
ThreatEntryRemovals.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ThreatEntryRemovals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ThreatEntryRemovals.Builder
Overrides