Package com.google.cloud.compute.v1
Class SecurityPolicyRule
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.SecurityPolicyRule
-
- All Implemented Interfaces:
SecurityPolicyRuleOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class SecurityPolicyRule extends com.google.protobuf.GeneratedMessageV3 implements SecurityPolicyRuleOrBuilder
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
Protobuf typegoogle.cloud.compute.v1.SecurityPolicyRule
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityPolicyRule.Builder
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
HEADER_ACTION_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
MATCH_FIELD_NUMBER
static int
PRECONFIGURED_WAF_CONFIG_FIELD_NUMBER
static int
PREVIEW_FIELD_NUMBER
static int
PRIORITY_FIELD_NUMBER
static int
RATE_LIMIT_OPTIONS_FIELD_NUMBER
static int
REDIRECT_OPTIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAction()
The Action to perform when the rule is matched.com.google.protobuf.ByteString
getActionBytes()
The Action to perform when the rule is matched.static SecurityPolicyRule
getDefaultInstance()
SecurityPolicyRule
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
SecurityPolicyRuleHttpHeaderAction
getHeaderAction()
Optional, additional actions that are performed on headers.SecurityPolicyRuleHttpHeaderActionOrBuilder
getHeaderActionOrBuilder()
Optional, additional actions that are performed on headers.String
getKind()
[Output only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output only] Type of the resource.SecurityPolicyRuleMatcher
getMatch()
A match condition that incoming traffic is evaluated against.SecurityPolicyRuleMatcherOrBuilder
getMatchOrBuilder()
A match condition that incoming traffic is evaluated against.com.google.protobuf.Parser<SecurityPolicyRule>
getParserForType()
SecurityPolicyRulePreconfiguredWafConfig
getPreconfiguredWafConfig()
Preconfigured WAF configuration to be applied for the rule.SecurityPolicyRulePreconfiguredWafConfigOrBuilder
getPreconfiguredWafConfigOrBuilder()
Preconfigured WAF configuration to be applied for the rule.boolean
getPreview()
If set to true, the specified action is not enforced.int
getPriority()
An integer indicating the priority of a rule in the list.SecurityPolicyRuleRateLimitOptions
getRateLimitOptions()
Must be specified if the action is "rate_based_ban" or "throttle".SecurityPolicyRuleRateLimitOptionsOrBuilder
getRateLimitOptionsOrBuilder()
Must be specified if the action is "rate_based_ban" or "throttle".SecurityPolicyRuleRedirectOptions
getRedirectOptions()
Parameters defining the redirect action.SecurityPolicyRuleRedirectOptionsOrBuilder
getRedirectOptionsOrBuilder()
Parameters defining the redirect action.int
getSerializedSize()
boolean
hasAction()
The Action to perform when the rule is matched.boolean
hasDescription()
An optional description of this resource.int
hashCode()
boolean
hasHeaderAction()
Optional, additional actions that are performed on headers.boolean
hasKind()
[Output only] Type of the resource.boolean
hasMatch()
A match condition that incoming traffic is evaluated against.boolean
hasPreconfiguredWafConfig()
Preconfigured WAF configuration to be applied for the rule.boolean
hasPreview()
If set to true, the specified action is not enforced.boolean
hasPriority()
An integer indicating the priority of a rule in the list.boolean
hasRateLimitOptions()
Must be specified if the action is "rate_based_ban" or "throttle".boolean
hasRedirectOptions()
Parameters defining the redirect action.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static SecurityPolicyRule.Builder
newBuilder()
static SecurityPolicyRule.Builder
newBuilder(SecurityPolicyRule prototype)
SecurityPolicyRule.Builder
newBuilderForType()
protected SecurityPolicyRule.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static SecurityPolicyRule
parseDelimitedFrom(InputStream input)
static SecurityPolicyRule
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityPolicyRule
parseFrom(byte[] data)
static SecurityPolicyRule
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityPolicyRule
parseFrom(com.google.protobuf.ByteString data)
static SecurityPolicyRule
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityPolicyRule
parseFrom(com.google.protobuf.CodedInputStream input)
static SecurityPolicyRule
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityPolicyRule
parseFrom(InputStream input)
static SecurityPolicyRule
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityPolicyRule
parseFrom(ByteBuffer data)
static SecurityPolicyRule
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<SecurityPolicyRule>
parser()
SecurityPolicyRule.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_ACTION_FIELD_NUMBER
public static final int HEADER_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATCH_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRECONFIGURED_WAF_CONFIG_FIELD_NUMBER
public static final int PRECONFIGURED_WAF_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREVIEW_FIELD_NUMBER
public static final int PREVIEW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATE_LIMIT_OPTIONS_FIELD_NUMBER
public static final int RATE_LIMIT_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REDIRECT_OPTIONS_FIELD_NUMBER
public static final int REDIRECT_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasAction
public boolean hasAction()
The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
optional string action = 187661878;
- Specified by:
hasAction
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the action field is set.
-
getAction
public String getAction()
The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
optional string action = 187661878;
- Specified by:
getAction
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()
The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
optional string action = 187661878;
- Specified by:
getActionBytes
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The bytes for action.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The bytes for description.
-
hasHeaderAction
public boolean hasHeaderAction()
Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction header_action = 328077352;
- Specified by:
hasHeaderAction
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the headerAction field is set.
-
getHeaderAction
public SecurityPolicyRuleHttpHeaderAction getHeaderAction()
Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction header_action = 328077352;
- Specified by:
getHeaderAction
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The headerAction.
-
getHeaderActionOrBuilder
public SecurityPolicyRuleHttpHeaderActionOrBuilder getHeaderActionOrBuilder()
Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction header_action = 328077352;
- Specified by:
getHeaderActionOrBuilder
in interfaceSecurityPolicyRuleOrBuilder
-
hasKind
public boolean hasKind()
[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
optional string kind = 3292052;
- Specified by:
getKind
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The bytes for kind.
-
hasMatch
public boolean hasMatch()
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcher match = 103668165;
- Specified by:
hasMatch
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the match field is set.
-
getMatch
public SecurityPolicyRuleMatcher getMatch()
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcher match = 103668165;
- Specified by:
getMatch
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The match.
-
getMatchOrBuilder
public SecurityPolicyRuleMatcherOrBuilder getMatchOrBuilder()
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
optional .google.cloud.compute.v1.SecurityPolicyRuleMatcher match = 103668165;
- Specified by:
getMatchOrBuilder
in interfaceSecurityPolicyRuleOrBuilder
-
hasPreconfiguredWafConfig
public boolean hasPreconfiguredWafConfig()
Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
optional .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfig preconfigured_waf_config = 117805027;
- Specified by:
hasPreconfiguredWafConfig
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the preconfiguredWafConfig field is set.
-
getPreconfiguredWafConfig
public SecurityPolicyRulePreconfiguredWafConfig getPreconfiguredWafConfig()
Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
optional .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfig preconfigured_waf_config = 117805027;
- Specified by:
getPreconfiguredWafConfig
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The preconfiguredWafConfig.
-
getPreconfiguredWafConfigOrBuilder
public SecurityPolicyRulePreconfiguredWafConfigOrBuilder getPreconfiguredWafConfigOrBuilder()
Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
optional .google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfig preconfigured_waf_config = 117805027;
- Specified by:
getPreconfiguredWafConfigOrBuilder
in interfaceSecurityPolicyRuleOrBuilder
-
hasPreview
public boolean hasPreview()
If set to true, the specified action is not enforced.
optional bool preview = 218686408;
- Specified by:
hasPreview
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the preview field is set.
-
getPreview
public boolean getPreview()
If set to true, the specified action is not enforced.
optional bool preview = 218686408;
- Specified by:
getPreview
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The preview.
-
hasPriority
public boolean hasPriority()
An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
optional int32 priority = 445151652;
- Specified by:
hasPriority
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the priority field is set.
-
getPriority
public int getPriority()
An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
optional int32 priority = 445151652;
- Specified by:
getPriority
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The priority.
-
hasRateLimitOptions
public boolean hasRateLimitOptions()
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions rate_limit_options = 67544315;
- Specified by:
hasRateLimitOptions
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the rateLimitOptions field is set.
-
getRateLimitOptions
public SecurityPolicyRuleRateLimitOptions getRateLimitOptions()
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions rate_limit_options = 67544315;
- Specified by:
getRateLimitOptions
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The rateLimitOptions.
-
getRateLimitOptionsOrBuilder
public SecurityPolicyRuleRateLimitOptionsOrBuilder getRateLimitOptionsOrBuilder()
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions rate_limit_options = 67544315;
- Specified by:
getRateLimitOptionsOrBuilder
in interfaceSecurityPolicyRuleOrBuilder
-
hasRedirectOptions
public boolean hasRedirectOptions()
Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions redirect_options = 163285307;
- Specified by:
hasRedirectOptions
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- Whether the redirectOptions field is set.
-
getRedirectOptions
public SecurityPolicyRuleRedirectOptions getRedirectOptions()
Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions redirect_options = 163285307;
- Specified by:
getRedirectOptions
in interfaceSecurityPolicyRuleOrBuilder
- Returns:
- The redirectOptions.
-
getRedirectOptionsOrBuilder
public SecurityPolicyRuleRedirectOptionsOrBuilder getRedirectOptionsOrBuilder()
Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.
optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions redirect_options = 163285307;
- Specified by:
getRedirectOptionsOrBuilder
in interfaceSecurityPolicyRuleOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SecurityPolicyRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyRule parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SecurityPolicyRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SecurityPolicyRule parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SecurityPolicyRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SecurityPolicyRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SecurityPolicyRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SecurityPolicyRule.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SecurityPolicyRule.Builder newBuilder()
-
newBuilder
public static SecurityPolicyRule.Builder newBuilder(SecurityPolicyRule prototype)
-
toBuilder
public SecurityPolicyRule.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SecurityPolicyRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SecurityPolicyRule getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SecurityPolicyRule> parser()
-
getParserForType
public com.google.protobuf.Parser<SecurityPolicyRule> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SecurityPolicyRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-