1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface WafExpressionSetExpressionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.WafExpressionSetExpression) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * 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 31 * </pre> 32 * 33 * <code>optional string id = 3355;</code> 34 * 35 * @return Whether the id field is set. 36 */ hasId()37 boolean hasId(); 38 /** 39 * 40 * 41 * <pre> 42 * 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 43 * </pre> 44 * 45 * <code>optional string id = 3355;</code> 46 * 47 * @return The id. 48 */ getId()49 java.lang.String getId(); 50 /** 51 * 52 * 53 * <pre> 54 * 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 55 * </pre> 56 * 57 * <code>optional string id = 3355;</code> 58 * 59 * @return The bytes for id. 60 */ getIdBytes()61 com.google.protobuf.ByteString getIdBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * 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. 68 * </pre> 69 * 70 * <code>optional int32 sensitivity = 27532959;</code> 71 * 72 * @return Whether the sensitivity field is set. 73 */ hasSensitivity()74 boolean hasSensitivity(); 75 /** 76 * 77 * 78 * <pre> 79 * 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. 80 * </pre> 81 * 82 * <code>optional int32 sensitivity = 27532959;</code> 83 * 84 * @return The sensitivity. 85 */ getSensitivity()86 int getSensitivity(); 87 } 88