Package com.google.cloud.compute.v1
Interface WafExpressionSetExpressionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WafExpressionSetExpression
,WafExpressionSetExpression.Builder
public interface WafExpressionSetExpressionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Expression ID should uniquely identify the origin of the expression.com.google.protobuf.ByteString
getIdBytes()
Expression ID should uniquely identify the origin of the expression.int
getSensitivity()
The sensitivity value associated with the WAF rule ID.boolean
hasId()
Expression ID should uniquely identify the origin of the expression.boolean
hasSensitivity()
The sensitivity value associated with the WAF rule ID.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
- Returns:
- Whether the id field is set.
-
getId
String getId()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
optional string id = 3355;
- Returns:
- The bytes for id.
-
hasSensitivity
boolean hasSensitivity()
The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
optional int32 sensitivity = 27532959;
- Returns:
- Whether the sensitivity field is set.
-
getSensitivity
int getSensitivity()
The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
optional int32 sensitivity = 27532959;
- Returns:
- The sensitivity.
-
-