Package com.google.webrisk.v1
Interface ComputeThreatListDiffRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeThreatListDiffRequest
,ComputeThreatListDiffRequest.Builder
public interface ComputeThreatListDiffRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComputeThreatListDiffRequest.Constraints
getConstraints()
Required.ComputeThreatListDiffRequest.ConstraintsOrBuilder
getConstraintsOrBuilder()
Required.ThreatType
getThreatType()
Required.int
getThreatTypeValue()
Required.com.google.protobuf.ByteString
getVersionToken()
The current version token of the client for the requested list (the client version that was received from the last successful diff).boolean
hasConstraints()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getThreatTypeValue
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:
- The enum numeric value on the wire for threatType.
-
getThreatType
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:
- The threatType.
-
getVersionToken
com.google.protobuf.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:
- The versionToken.
-
hasConstraints
boolean hasConstraints()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the constraints field is set.
-
getConstraints
ComputeThreatListDiffRequest.Constraints getConstraints()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The constraints.
-
getConstraintsOrBuilder
ComputeThreatListDiffRequest.ConstraintsOrBuilder getConstraintsOrBuilder()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
-
-