public final class WafExpressionSetExpression extends GeneratedMessageV3 implements WafExpressionSetExpressionOrBuilder
Protobuf type google.cloud.compute.v1.WafExpressionSetExpression
Static Fields
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SENSITIVITY_FIELD_NUMBER
public static final int SENSITIVITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WafExpressionSetExpression getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WafExpressionSetExpression.Builder newBuilder()
newBuilder(WafExpressionSetExpression prototype)
public static WafExpressionSetExpression.Builder newBuilder(WafExpressionSetExpression prototype)
public static WafExpressionSetExpression parseDelimitedFrom(InputStream input)
public static WafExpressionSetExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WafExpressionSetExpression parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSetExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WafExpressionSetExpression parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSetExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSetExpression parseFrom(CodedInputStream input)
public static WafExpressionSetExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSetExpression parseFrom(InputStream input)
public static WafExpressionSetExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WafExpressionSetExpression parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSetExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WafExpressionSetExpression> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public WafExpressionSetExpression getDefaultInstanceForType()
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;
getParserForType()
public Parser<WafExpressionSetExpression> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WafExpressionSetExpression.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WafExpressionSetExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WafExpressionSetExpression.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides