Interface ComputeThreatListDiffRequestOrBuilder (2.4.0)

public interface ComputeThreatListDiffRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConstraints()

public abstract ComputeThreatListDiffRequest.Constraints getConstraints()

Required. The constraints associated with this request.

.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints

The constraints.

getConstraintsOrBuilder()

public abstract ComputeThreatListDiffRequest.ConstraintsOrBuilder getConstraintsOrBuilder()

Required. The constraints associated with this request.

.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ComputeThreatListDiffRequest.ConstraintsOrBuilder

getThreatType()

public abstract ThreatType getThreatType()

Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.

.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ThreatType

The threatType.

getThreatTypeValue()

public abstract int getThreatTypeValue()

Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.

.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for threatType.

getVersionToken()

public abstract ByteString getVersionToken()

The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.

bytes version_token = 2;

Returns
TypeDescription
ByteString

The versionToken.

hasConstraints()

public abstract boolean hasConstraints()

Required. The constraints associated with this request.

.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the constraints field is set.