Class WafExpressionSetExpression.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder>
      • getDefaultInstanceForType

        public WafExpressionSetExpression getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WafExpressionSetExpression build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WafExpressionSetExpression buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder>
      • mergeFrom

        public WafExpressionSetExpression.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WafExpressionSetExpression.Builder>
        Throws:
        IOException
      • hasId

        public boolean hasId()
         Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
         
        optional string id = 3355;
        Specified by:
        hasId in interface WafExpressionSetExpressionOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public String getId()
         Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
         
        optional string id = 3355;
        Specified by:
        getId in interface WafExpressionSetExpressionOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
         
        optional string id = 3355;
        Specified by:
        getIdBytes in interface WafExpressionSetExpressionOrBuilder
        Returns:
        The bytes for id.
      • setId

        public WafExpressionSetExpression.Builder setId​(String value)
         Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
         
        optional string id = 3355;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public WafExpressionSetExpression.Builder clearId()
         Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
         
        optional string id = 3355;
        Returns:
        This builder for chaining.
      • setIdBytes

        public WafExpressionSetExpression.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required
         
        optional string id = 3355;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • hasSensitivity

        public boolean hasSensitivity()
         The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
         
        optional int32 sensitivity = 27532959;
        Specified by:
        hasSensitivity in interface WafExpressionSetExpressionOrBuilder
        Returns:
        Whether the sensitivity field is set.
      • getSensitivity

        public int getSensitivity()
         The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
         
        optional int32 sensitivity = 27532959;
        Specified by:
        getSensitivity in interface WafExpressionSetExpressionOrBuilder
        Returns:
        The sensitivity.
      • setSensitivity

        public WafExpressionSetExpression.Builder setSensitivity​(int value)
         The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
         
        optional int32 sensitivity = 27532959;
        Parameters:
        value - The sensitivity to set.
        Returns:
        This builder for chaining.
      • clearSensitivity

        public WafExpressionSetExpression.Builder clearSensitivity()
         The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.
         
        optional int32 sensitivity = 27532959;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final WafExpressionSetExpression.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder>
      • mergeUnknownFields

        public final WafExpressionSetExpression.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WafExpressionSetExpression.Builder>