Interface ComputeThreatListDiffRequestOrBuilder (2.42.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.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ComputeThreatListDiffRequest.Constraints

The constraints.

getConstraintsOrBuilder()

public abstract ComputeThreatListDiffRequest.ConstraintsOrBuilder getConstraintsOrBuilder()

Required. The constraints associated with this request.

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

Returns
Type Description
ComputeThreatListDiffRequest.ConstraintsOrBuilder

getThreatType()

public abstract ThreatType getThreatType()

The ThreatList to update.

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

Returns
Type Description
ThreatType

The threatType.

getThreatTypeValue()

public abstract int getThreatTypeValue()

The ThreatList to update.

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

Returns
Type Description
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).

bytes version_token = 2;

Returns
Type Description
ByteString

The versionToken.

hasConstraints()

public abstract boolean hasConstraints()

Required. The constraints associated with this request.

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

Returns
Type Description
boolean

Whether the constraints field is set.