Class WafExpressionSetExpression.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WafExpressionSetExpression.Builder>
com.google.cloud.compute.v1.WafExpressionSetExpression.Builder
All Implemented Interfaces:
WafExpressionSetExpressionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WafExpressionSetExpression

public static final class WafExpressionSetExpression.Builder extends com.google.protobuf.GeneratedMessage.Builder<WafExpressionSetExpression.Builder> implements WafExpressionSetExpressionOrBuilder
 
Protobuf type google.cloud.compute.v1.WafExpressionSetExpression
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Expression ID should uniquely identify the origin of the expression.
    The sensitivity value associated with the WAF rule ID.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Expression ID should uniquely identify the origin of the expression.
    com.google.protobuf.ByteString
    Expression ID should uniquely identify the origin of the expression.
    int
    The sensitivity value associated with the WAF rule ID.
    boolean
    Expression ID should uniquely identify the origin of the expression.
    boolean
    The sensitivity value associated with the WAF rule ID.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setId(String value)
    Expression ID should uniquely identify the origin of the expression.
    setIdBytes(com.google.protobuf.ByteString value)
    Expression ID should uniquely identify the origin of the expression.
    setSensitivity(int value)
    The sensitivity value associated with the WAF rule ID.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public WafExpressionSetExpression.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WafExpressionSetExpression.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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

       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

       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.