- 2.54.0 (latest)
- 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 interface ComputeThreatListDiffResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAdditions()
public abstract ThreatEntryAdditions getAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
Type | Description |
ThreatEntryAdditions | The additions. |
getAdditionsOrBuilder()
public abstract ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
Type | Description |
ThreatEntryAdditionsOrBuilder |
getChecksum()
public abstract ComputeThreatListDiffResponse.Checksum getChecksum()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Checksum | The checksum. |
getChecksumOrBuilder()
public abstract ComputeThreatListDiffResponse.ChecksumOrBuilder getChecksumOrBuilder()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.ChecksumOrBuilder |
getNewVersionToken()
public abstract ByteString getNewVersionToken()
The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
bytes new_version_token = 7;
Returns | |
---|---|
Type | Description |
ByteString | The newVersionToken. |
getRecommendedNextDiff()
public abstract Timestamp getRecommendedNextDiff()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Returns | |
---|---|
Type | Description |
Timestamp | The recommendedNextDiff. |
getRecommendedNextDiffOrBuilder()
public abstract TimestampOrBuilder getRecommendedNextDiffOrBuilder()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRemovals()
public abstract ThreatEntryRemovals getRemovals()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
Type | Description |
ThreatEntryRemovals | The removals. |
getRemovalsOrBuilder()
public abstract ThreatEntryRemovalsOrBuilder getRemovalsOrBuilder()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
Type | Description |
ThreatEntryRemovalsOrBuilder |
getResponseType()
public abstract ComputeThreatListDiffResponse.ResponseType getResponseType()
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.ResponseType | The responseType. |
getResponseTypeValue()
public abstract int getResponseTypeValue()
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for responseType. |
hasAdditions()
public abstract boolean hasAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the additions field is set. |
hasChecksum()
public abstract boolean hasChecksum()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the checksum field is set. |
hasRecommendedNextDiff()
public abstract boolean hasRecommendedNextDiff()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the recommendedNextDiff field is set. |
hasRemovals()
public abstract boolean hasRemovals()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the removals field is set. |