public static final class SecurityPolicyRuleMatcher.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleMatcher.Builder> implements SecurityPolicyRuleMatcherOrBuilder
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcher
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 SecurityPolicyRuleMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityPolicyRuleMatcher build()
buildPartial()
public SecurityPolicyRuleMatcher buildPartial()
clear()
public SecurityPolicyRuleMatcher.Builder clear()
Overrides
clearConfig()
public SecurityPolicyRuleMatcher.Builder clearConfig()
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
clearExpr()
public SecurityPolicyRuleMatcher.Builder clearExpr()
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyRuleMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyRuleMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersionedExpr()
public SecurityPolicyRuleMatcher.Builder clearVersionedExpr()
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;
clone()
public SecurityPolicyRuleMatcher.Builder clone()
Overrides
getConfig()
public SecurityPolicyRuleMatcherConfig getConfig()
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
getConfigBuilder()
public SecurityPolicyRuleMatcherConfig.Builder getConfigBuilder()
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
getConfigOrBuilder()
public SecurityPolicyRuleMatcherConfigOrBuilder getConfigOrBuilder()
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
getDefaultInstanceForType()
public SecurityPolicyRuleMatcher getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExpr()
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
Returns |
---|
Type | Description |
Expr | The expr.
|
getExprBuilder()
public Expr.Builder getExprBuilder()
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
getExprOrBuilder()
public ExprOrBuilder getExprOrBuilder()
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
getVersionedExpr()
public String getVersionedExpr()
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;
Returns |
---|
Type | Description |
String | The versionedExpr.
|
getVersionedExprBytes()
public ByteString getVersionedExprBytes()
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;
Returns |
---|
Type | Description |
ByteString | The bytes for versionedExpr.
|
hasConfig()
public boolean hasConfig()
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
Returns |
---|
Type | Description |
boolean | Whether the config field is set.
|
hasExpr()
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
Returns |
---|
Type | Description |
boolean | Whether the expr field is set.
|
hasVersionedExpr()
public boolean hasVersionedExpr()
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;
Returns |
---|
Type | Description |
boolean | Whether the versionedExpr field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConfig(SecurityPolicyRuleMatcherConfig value)
public SecurityPolicyRuleMatcher.Builder mergeConfig(SecurityPolicyRuleMatcherConfig value)
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
mergeExpr(Expr value)
public SecurityPolicyRuleMatcher.Builder mergeExpr(Expr value)
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
Parameter |
---|
Name | Description |
value | Expr
|
mergeFrom(SecurityPolicyRuleMatcher other)
public SecurityPolicyRuleMatcher.Builder mergeFrom(SecurityPolicyRuleMatcher other)
public SecurityPolicyRuleMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityPolicyRuleMatcher.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConfig(SecurityPolicyRuleMatcherConfig value)
public SecurityPolicyRuleMatcher.Builder setConfig(SecurityPolicyRuleMatcherConfig value)
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
setConfig(SecurityPolicyRuleMatcherConfig.Builder builderForValue)
public SecurityPolicyRuleMatcher.Builder setConfig(SecurityPolicyRuleMatcherConfig.Builder builderForValue)
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
setExpr(Expr value)
public SecurityPolicyRuleMatcher.Builder setExpr(Expr value)
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
Parameter |
---|
Name | Description |
value | Expr
|
setExpr(Expr.Builder builderForValue)
public SecurityPolicyRuleMatcher.Builder setExpr(Expr.Builder builderForValue)
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyRuleMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersionedExpr(String value)
public SecurityPolicyRuleMatcher.Builder setVersionedExpr(String value)
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;
Parameter |
---|
Name | Description |
value | String
The versionedExpr to set.
|
setVersionedExprBytes(ByteString value)
public SecurityPolicyRuleMatcher.Builder setVersionedExprBytes(ByteString value)
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
optional string versioned_expr = 322286013;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for versionedExpr to set.
|