- 2.82.0 (latest)
- 2.81.0
- 2.79.0
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.6
- 2.0.12
public static final class ThreatEntryAdditions.Builder extends GeneratedMessage.Builder<ThreatEntryAdditions.Builder> implements ThreatEntryAdditionsOrBuilderContains 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.v1.ThreatEntryAdditions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ThreatEntryAdditions.BuilderImplements
ThreatEntryAdditionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.webrisk.v1.RawHashes> |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
RawHashes |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RawHashes.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RawHashes |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RawHashes.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Returns | |
|---|---|
| Type | Description |
RawHashes.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RawHashes.Builder |
|
build()
public ThreatEntryAdditions build()| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions |
|
buildPartial()
public ThreatEntryAdditions buildPartial()| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions |
|
clear()
public ThreatEntryAdditions.Builder clear()| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
getDefaultInstanceForType()
public ThreatEntryAdditions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RawHashes |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RawHashes.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRawHashesCount()
public int getRawHashesCount()The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1.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.v1.RawHashes raw_hashes = 1;
| Returns | |
|---|---|
| Type | Description |
List<RawHashes> |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RawHashesOrBuilder |
|
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.v1.RawHashes raw_hashes = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.webrisk.v1.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.v1.RiceDeltaEncoding rice_hashes = 2;
| Returns | |
|---|---|
| Type | Description |
RiceDeltaEncoding |
The riceHashes. |
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Returns | |
|---|---|
| Type | Description |
RiceDeltaEncoding.Builder |
|
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Returns | |
|---|---|
| Type | Description |
RiceDeltaEncodingOrBuilder |
|
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the riceHashes field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThreatEntryAdditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ThreatEntryAdditions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
mergeFrom(ThreatEntryAdditions other)
public ThreatEntryAdditions.Builder mergeFrom(ThreatEntryAdditions other)| Parameter | |
|---|---|
| Name | Description |
other |
ThreatEntryAdditions |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RiceDeltaEncoding |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RawHashes |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RawHashes raw_hashes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RawHashes.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RiceDeltaEncoding |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|
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.v1.RiceDeltaEncoding rice_hashes = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RiceDeltaEncoding.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatEntryAdditions.Builder |
|