public final class SecurityPolicyRuleMatcher extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXPR_FIELD_NUMBER
public static final int EXPR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXPR_OPTIONS_FIELD_NUMBER
public static final int EXPR_OPTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VERSIONED_EXPR_FIELD_NUMBER
public static final int VERSIONED_EXPR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SecurityPolicyRuleMatcher getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecurityPolicyRuleMatcher.Builder newBuilder()
newBuilder(SecurityPolicyRuleMatcher prototype)
public static SecurityPolicyRuleMatcher.Builder newBuilder(SecurityPolicyRuleMatcher prototype)
public static SecurityPolicyRuleMatcher parseDelimitedFrom(InputStream input)
public static SecurityPolicyRuleMatcher parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecurityPolicyRuleMatcher parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecurityPolicyRuleMatcher parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(CodedInputStream input)
public static SecurityPolicyRuleMatcher parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(InputStream input)
public static SecurityPolicyRuleMatcher parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecurityPolicyRuleMatcher parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecurityPolicyRuleMatcher> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
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()
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 a Cloud
Armor Enterprise subscription and are not supported in Edge Policies
nor in Regional Policies. Expressions containing
evaluatePreconfiguredExpr('sourceiplist-*') require a Cloud Armor
Enterprise subscription and are only supported in Global Security
Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
| Returns |
| Type |
Description |
Expr |
The expr.
|
getExprOptions()
public SecurityPolicyRuleMatcherExprOptions getExprOptions()
The configuration options available when specifying a user defined
CEVAL expression (i.e., 'expr').
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions expr_options = 486220372;
getExprOptionsOrBuilder()
public SecurityPolicyRuleMatcherExprOptionsOrBuilder getExprOptionsOrBuilder()
The configuration options available when specifying a user defined
CEVAL expression (i.e., 'expr').
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions expr_options = 486220372;
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 a Cloud
Armor Enterprise subscription and are not supported in Edge Policies
nor in Regional Policies. Expressions containing
evaluatePreconfiguredExpr('sourceiplist-*') require a Cloud Armor
Enterprise subscription and are only supported in Global Security
Policies.
optional .google.cloud.compute.v1.Expr expr = 3127797;
getParserForType()
public Parser<SecurityPolicyRuleMatcher> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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 a Cloud
Armor Enterprise subscription and are not supported in Edge Policies
nor in Regional Policies. Expressions containing
evaluatePreconfiguredExpr('sourceiplist-*') require a Cloud Armor
Enterprise subscription 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.
|
hasExprOptions()
public boolean hasExprOptions()
The configuration options available when specifying a user defined
CEVAL expression (i.e., 'expr').
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherExprOptions expr_options = 486220372;
| Returns |
| Type |
Description |
boolean |
Whether the exprOptions 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityPolicyRuleMatcher.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecurityPolicyRuleMatcher.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SecurityPolicyRuleMatcher.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides