public static final class ThreatEntryAdditions.Builder extends GeneratedMessageV3.Builder<ThreatEntryAdditions.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRawHashes(Iterable<? extends RawHashes> values)
public ThreatEntryAdditions.Builder addAllRawHashes(Iterable<? extends RawHashes> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.webrisk.v1beta1.RawHashes>
|
addRawHashes(RawHashes value)
public ThreatEntryAdditions.Builder addRawHashes(RawHashes value)
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;
addRawHashes(RawHashes.Builder builderForValue)
public ThreatEntryAdditions.Builder addRawHashes(RawHashes.Builder builderForValue)
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;
addRawHashes(int index, RawHashes value)
public ThreatEntryAdditions.Builder addRawHashes(int index, RawHashes value)
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;
addRawHashes(int index, RawHashes.Builder builderForValue)
public ThreatEntryAdditions.Builder addRawHashes(int index, RawHashes.Builder builderForValue)
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;
addRawHashesBuilder()
public RawHashes.Builder addRawHashesBuilder()
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;
addRawHashesBuilder(int index)
public RawHashes.Builder addRawHashesBuilder(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;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ThreatEntryAdditions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ThreatEntryAdditions build()
buildPartial()
public ThreatEntryAdditions buildPartial()
clear()
public ThreatEntryAdditions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ThreatEntryAdditions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ThreatEntryAdditions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRawHashes()
public ThreatEntryAdditions.Builder clearRawHashes()
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;
clearRiceHashes()
public ThreatEntryAdditions.Builder clearRiceHashes()
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;
clone()
public ThreatEntryAdditions.Builder clone()
Overrides
getDefaultInstanceForType()
public ThreatEntryAdditions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRawHashes(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
|
getRawHashesBuilder(int index)
public RawHashes.Builder getRawHashesBuilder(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;
Parameter |
---|
Name | Description |
index | int
|
getRawHashesBuilderList()
public List<RawHashes.Builder> getRawHashesBuilderList()
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()
public 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;
Returns |
---|
Type | Description |
int | |
getRawHashesList()
public 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;
getRawHashesOrBuilder(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
|
getRawHashesOrBuilderList()
public 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;
Returns |
---|
Type | Description |
List<? extends com.google.webrisk.v1beta1.RawHashesOrBuilder> | |
getRiceHashes()
public 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;
getRiceHashesBuilder()
public RiceDeltaEncoding.Builder getRiceHashesBuilder()
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()
public 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;
hasRiceHashes()
public 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;
Returns |
---|
Type | Description |
boolean | Whether the riceHashes field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThreatEntryAdditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ThreatEntryAdditions.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(ThreatEntryAdditions other)
public ThreatEntryAdditions.Builder mergeFrom(ThreatEntryAdditions other)
mergeRiceHashes(RiceDeltaEncoding value)
public ThreatEntryAdditions.Builder mergeRiceHashes(RiceDeltaEncoding value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ThreatEntryAdditions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRawHashes(int index)
public ThreatEntryAdditions.Builder removeRawHashes(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;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ThreatEntryAdditions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRawHashes(int index, RawHashes value)
public ThreatEntryAdditions.Builder setRawHashes(int index, RawHashes value)
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;
setRawHashes(int index, RawHashes.Builder builderForValue)
public ThreatEntryAdditions.Builder setRawHashes(int index, RawHashes.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ThreatEntryAdditions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRiceHashes(RiceDeltaEncoding value)
public ThreatEntryAdditions.Builder setRiceHashes(RiceDeltaEncoding value)
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;
setRiceHashes(RiceDeltaEncoding.Builder builderForValue)
public ThreatEntryAdditions.Builder setRiceHashes(RiceDeltaEncoding.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ThreatEntryAdditions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides