Class SecurityPolicyRulePreconfiguredWafConfigExclusion (1.52.0)

public final class SecurityPolicyRulePreconfiguredWafConfigExclusion extends GeneratedMessageV3 implements SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyRulePreconfiguredWafConfigExclusion

Static Fields

REQUEST_COOKIES_TO_EXCLUDE_FIELD_NUMBER

public static final int REQUEST_COOKIES_TO_EXCLUDE_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_HEADERS_TO_EXCLUDE_FIELD_NUMBER

public static final int REQUEST_HEADERS_TO_EXCLUDE_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_QUERY_PARAMS_TO_EXCLUDE_FIELD_NUMBER

public static final int REQUEST_QUERY_PARAMS_TO_EXCLUDE_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_URIS_TO_EXCLUDE_FIELD_NUMBER

public static final int REQUEST_URIS_TO_EXCLUDE_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RULE_IDS_FIELD_NUMBER

public static final int TARGET_RULE_IDS_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RULE_SET_FIELD_NUMBER

public static final int TARGET_RULE_SET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRulePreconfiguredWafConfigExclusion getDefaultInstance()
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPolicyRulePreconfiguredWafConfigExclusion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPolicyRulePreconfiguredWafConfigExclusion getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion

getParserForType()

public Parser<SecurityPolicyRulePreconfiguredWafConfigExclusion> getParserForType()
Returns
Type Description
Parser<SecurityPolicyRulePreconfiguredWafConfigExclusion>
Overrides

getRequestCookiesToExclude(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams getRequestCookiesToExclude(int index)

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_cookies_to_exclude = 156757878;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

getRequestCookiesToExcludeCount()

public int getRequestCookiesToExcludeCount()

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_cookies_to_exclude = 156757878;

Returns
Type Description
int

getRequestCookiesToExcludeList()

public List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams> getRequestCookiesToExcludeList()

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_cookies_to_exclude = 156757878;

Returns
Type Description
List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

getRequestCookiesToExcludeOrBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder getRequestCookiesToExcludeOrBuilder(int index)

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_cookies_to_exclude = 156757878;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder

getRequestCookiesToExcludeOrBuilderList()

public List<? extends SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder> getRequestCookiesToExcludeOrBuilderList()

A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_cookies_to_exclude = 156757878;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder>

getRequestHeadersToExclude(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams getRequestHeadersToExclude(int index)

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_headers_to_exclude = 63230495;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

getRequestHeadersToExcludeCount()

public int getRequestHeadersToExcludeCount()

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_headers_to_exclude = 63230495;

Returns
Type Description
int

getRequestHeadersToExcludeList()

public List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams> getRequestHeadersToExcludeList()

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_headers_to_exclude = 63230495;

Returns
Type Description
List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

getRequestHeadersToExcludeOrBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder getRequestHeadersToExcludeOrBuilder(int index)

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_headers_to_exclude = 63230495;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder

getRequestHeadersToExcludeOrBuilderList()

public List<? extends SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder> getRequestHeadersToExcludeOrBuilderList()

A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_headers_to_exclude = 63230495;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder>

getRequestQueryParamsToExclude(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams getRequestQueryParamsToExclude(int index)

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_query_params_to_exclude = 340692744;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

getRequestQueryParamsToExcludeCount()

public int getRequestQueryParamsToExcludeCount()

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_query_params_to_exclude = 340692744;

Returns
Type Description
int

getRequestQueryParamsToExcludeList()

public List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams> getRequestQueryParamsToExcludeList()

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_query_params_to_exclude = 340692744;

Returns
Type Description
List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

getRequestQueryParamsToExcludeOrBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder getRequestQueryParamsToExcludeOrBuilder(int index)

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_query_params_to_exclude = 340692744;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder

getRequestQueryParamsToExcludeOrBuilderList()

public List<? extends SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder> getRequestQueryParamsToExcludeOrBuilderList()

A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_query_params_to_exclude = 340692744;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder>

getRequestUrisToExclude(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams getRequestUrisToExclude(int index)

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_uris_to_exclude = 90690846;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

getRequestUrisToExcludeCount()

public int getRequestUrisToExcludeCount()

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_uris_to_exclude = 90690846;

Returns
Type Description
int

getRequestUrisToExcludeList()

public List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams> getRequestUrisToExcludeList()

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_uris_to_exclude = 90690846;

Returns
Type Description
List<SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>

getRequestUrisToExcludeOrBuilder(int index)

public SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder getRequestUrisToExcludeOrBuilder(int index)

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_uris_to_exclude = 90690846;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder

getRequestUrisToExcludeOrBuilderList()

public List<? extends SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder> getRequestUrisToExcludeOrBuilderList()

A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.

repeated .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_uris_to_exclude = 90690846;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetRuleIds(int index)

public String getTargetRuleIds(int index)

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

repeated string target_rule_ids = 498430435;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetRuleIds at the given index.

getTargetRuleIdsBytes(int index)

public ByteString getTargetRuleIdsBytes(int index)

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

repeated string target_rule_ids = 498430435;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetRuleIds at the given index.

getTargetRuleIdsCount()

public int getTargetRuleIdsCount()

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

repeated string target_rule_ids = 498430435;

Returns
Type Description
int

The count of targetRuleIds.

getTargetRuleIdsList()

public ProtocolStringList getTargetRuleIdsList()

A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.

repeated string target_rule_ids = 498430435;

Returns
Type Description
ProtocolStringList

A list containing the targetRuleIds.

getTargetRuleSet()

public String getTargetRuleSet()

Target WAF rule set to apply the preconfigured WAF exclusion.

optional string target_rule_set = 498440077;

Returns
Type Description
String

The targetRuleSet.

getTargetRuleSetBytes()

public ByteString getTargetRuleSetBytes()

Target WAF rule set to apply the preconfigured WAF exclusion.

optional string target_rule_set = 498440077;

Returns
Type Description
ByteString

The bytes for targetRuleSet.

hasTargetRuleSet()

public boolean hasTargetRuleSet()

Target WAF rule set to apply the preconfigured WAF exclusion.

optional string target_rule_set = 498440077;

Returns
Type Description
boolean

Whether the targetRuleSet 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 SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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