Class WafExpressionSetExpression (1.54.0)

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()
Returns
Type Description
WafExpressionSetExpression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WafExpressionSetExpression.Builder newBuilder()
Returns
Type Description
WafExpressionSetExpression.Builder

newBuilder(WafExpressionSetExpression prototype)

public static WafExpressionSetExpression.Builder newBuilder(WafExpressionSetExpression prototype)
Parameter
Name Description
prototype WafExpressionSetExpression
Returns
Type Description
WafExpressionSetExpression.Builder

parseDelimitedFrom(InputStream input)

public static WafExpressionSetExpression parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WafExpressionSetExpression parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WafExpressionSetExpression parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WafExpressionSetExpression parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WafExpressionSetExpression parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WafExpressionSetExpression parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WafExpressionSetExpression
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WafExpressionSetExpression> parser()
Returns
Type Description
Parser<WafExpressionSetExpression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WafExpressionSetExpression getDefaultInstanceForType()
Returns
Type Description
WafExpressionSetExpression

getId()

public 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
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;

Returns
Type Description
ByteString

The bytes for id.

getParserForType()

public Parser<WafExpressionSetExpression> getParserForType()
Returns
Type Description
Parser<WafExpressionSetExpression>
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

hasId()

public 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
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WafExpressionSetExpression.Builder newBuilderForType()
Returns
Type Description
WafExpressionSetExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WafExpressionSetExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WafExpressionSetExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WafExpressionSetExpression.Builder toBuilder()
Returns
Type Description
WafExpressionSetExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException