Interface ComputeThreatListDiffRequestOrBuilder (2.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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).

bytes version_token = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the constraints field is set.