Class WafExpressionSetExpression (1.25.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
TypeDescription
int

SENSITIVITY_FIELD_NUMBER

public static final int SENSITIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WafExpressionSetExpression getDefaultInstance()
Returns
TypeDescription
WafExpressionSetExpression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WafExpressionSetExpression.Builder newBuilder()
Returns
TypeDescription
WafExpressionSetExpression.Builder

newBuilder(WafExpressionSetExpression prototype)

public static WafExpressionSetExpression.Builder newBuilder(WafExpressionSetExpression prototype)
Parameter
NameDescription
prototypeWafExpressionSetExpression
Returns
TypeDescription
WafExpressionSetExpression.Builder

parseDelimitedFrom(InputStream input)

public static WafExpressionSetExpression parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WafExpressionSetExpression parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WafExpressionSetExpression parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WafExpressionSetExpression parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WafExpressionSetExpression parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WafExpressionSetExpression parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WafExpressionSetExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WafExpressionSetExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WafExpressionSetExpression> parser()
Returns
TypeDescription
Parser<WafExpressionSetExpression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WafExpressionSetExpression getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<WafExpressionSetExpression> getParserForType()
Returns
TypeDescription
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
TypeDescription
int

The sensitivity.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the sensitivity field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WafExpressionSetExpression.Builder newBuilderForType()
Returns
TypeDescription
WafExpressionSetExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WafExpressionSetExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WafExpressionSetExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WafExpressionSetExpression.Builder toBuilder()
Returns
TypeDescription
WafExpressionSetExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException