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 SecurityPolicyAdaptiveProtectionConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * If set to true, enables Cloud Armor Machine Learning. 31 * </pre> 32 * 33 * <code> 34 * optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771; 35 * </code> 36 * 37 * @return Whether the layer7DdosDefenseConfig field is set. 38 */ hasLayer7DdosDefenseConfig()39 boolean hasLayer7DdosDefenseConfig(); 40 /** 41 * 42 * 43 * <pre> 44 * If set to true, enables Cloud Armor Machine Learning. 45 * </pre> 46 * 47 * <code> 48 * optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771; 49 * </code> 50 * 51 * @return The layer7DdosDefenseConfig. 52 */ 53 com.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig getLayer7DdosDefenseConfig()54 getLayer7DdosDefenseConfig(); 55 /** 56 * 57 * 58 * <pre> 59 * If set to true, enables Cloud Armor Machine Learning. 60 * </pre> 61 * 62 * <code> 63 * optional .google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig layer7_ddos_defense_config = 437316771; 64 * </code> 65 */ 66 com.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder getLayer7DdosDefenseConfigOrBuilder()67 getLayer7DdosDefenseConfigOrBuilder(); 68 } 69