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 FirewallLogConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.FirewallLogConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * This field denotes whether to enable logging for a particular firewall rule. 31 * </pre> 32 * 33 * <code>optional bool enable = 311764355;</code> 34 * 35 * @return Whether the enable field is set. 36 */ hasEnable()37 boolean hasEnable(); 38 /** 39 * 40 * 41 * <pre> 42 * This field denotes whether to enable logging for a particular firewall rule. 43 * </pre> 44 * 45 * <code>optional bool enable = 311764355;</code> 46 * 47 * @return The enable. 48 */ getEnable()49 boolean getEnable(); 50 51 /** 52 * 53 * 54 * <pre> 55 * This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. 56 * Check the Metadata enum for the list of possible values. 57 * </pre> 58 * 59 * <code>optional string metadata = 86866735;</code> 60 * 61 * @return Whether the metadata field is set. 62 */ hasMetadata()63 boolean hasMetadata(); 64 /** 65 * 66 * 67 * <pre> 68 * This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. 69 * Check the Metadata enum for the list of possible values. 70 * </pre> 71 * 72 * <code>optional string metadata = 86866735;</code> 73 * 74 * @return The metadata. 75 */ getMetadata()76 java.lang.String getMetadata(); 77 /** 78 * 79 * 80 * <pre> 81 * This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. 82 * Check the Metadata enum for the list of possible values. 83 * </pre> 84 * 85 * <code>optional string metadata = 86866735;</code> 86 * 87 * @return The bytes for metadata. 88 */ getMetadataBytes()89 com.google.protobuf.ByteString getMetadataBytes(); 90 } 91