public static final class WafExpressionSetExpression.Builder extends GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder> implements WafExpressionSetExpressionOrBuilder
Protobuf type google.cloud.compute.v1.WafExpressionSetExpression
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WafExpressionSetExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WafExpressionSetExpression build()
buildPartial()
public WafExpressionSetExpression buildPartial()
clear()
public WafExpressionSetExpression.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WafExpressionSetExpression.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public WafExpressionSetExpression.Builder clearId()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public WafExpressionSetExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSensitivity()
public WafExpressionSetExpression.Builder clearSensitivity()
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;
clone()
public WafExpressionSetExpression.Builder clone()
Overrides
getDefaultInstanceForType()
public WafExpressionSetExpression getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
---|
Type | Description |
String | The id.
|
getIdBytes()
public 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;
getSensitivity()
public 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 |
---|
Type | Description |
int | The sensitivity.
|
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 |
---|
Type | Description |
boolean | Whether the id field is set.
|
hasSensitivity()
public 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 |
---|
Type | Description |
boolean | Whether the sensitivity field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WafExpressionSetExpression other)
public WafExpressionSetExpression.Builder mergeFrom(WafExpressionSetExpression other)
public WafExpressionSetExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WafExpressionSetExpression.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WafExpressionSetExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WafExpressionSetExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public WafExpressionSetExpression.Builder setId(String value)
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;
Parameter |
---|
Name | Description |
value | String
The id to set.
|
setIdBytes(ByteString value)
public WafExpressionSetExpression.Builder setIdBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for id to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WafExpressionSetExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSensitivity(int value)
public WafExpressionSetExpression.Builder setSensitivity(int value)
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;
Parameter |
---|
Name | Description |
value | int
The sensitivity to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final WafExpressionSetExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides