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 |
---|
Type | Description |
int | |
EXPR_FIELD_NUMBER
public static final int EXPR_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.
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;
getParserForType()
public Parser<SecurityPolicyRuleMatcher> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityPolicyRuleMatcher.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyRuleMatcher.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SecurityPolicyRuleMatcher.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides