public final class SecurityPolicyRuleMatcher extends GeneratedMessageV3 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
Static Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value
EXPR_FIELD_NUMBER
public static final int EXPR_FIELD_NUMBER
Field Value
VERSIONED_EXPR_FIELD_NUMBER
public static final int VERSIONED_EXPR_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecurityPolicyRuleMatcher getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SecurityPolicyRuleMatcher.Builder newBuilder()
Returns
newBuilder(SecurityPolicyRuleMatcher prototype)
public static SecurityPolicyRuleMatcher.Builder newBuilder(SecurityPolicyRuleMatcher prototype)
Parameter
Returns
public static SecurityPolicyRuleMatcher parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleMatcher parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecurityPolicyRuleMatcher parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecurityPolicyRuleMatcher parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleMatcher parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleMatcher parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SecurityPolicyRuleMatcher parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SecurityPolicyRuleMatcher parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecurityPolicyRuleMatcher parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleMatcher parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SecurityPolicyRuleMatcher> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public SecurityPolicyRuleMatcher getDefaultInstanceForType()
Returns
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.
optional .google.cloud.compute.v1.Expr expr = 3127797;
Returns
Type | Description |
Expr | The expr.
|
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.
optional .google.cloud.compute.v1.Expr expr = 3127797;
Returns
getParserForType()
public Parser<SecurityPolicyRuleMatcher> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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.
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SecurityPolicyRuleMatcher.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyRuleMatcher.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SecurityPolicyRuleMatcher.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions