Package com.google.cloud.compute.v1
Interface FirewallLogConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FirewallLogConfig,FirewallLogConfig.Builder
@Generated
public interface FirewallLogConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThis field denotes whether to enable logging for a particular firewall rule.This field can only be specified for a particular firewall rule if logging is enabled for that rule.com.google.protobuf.ByteStringThis field can only be specified for a particular firewall rule if logging is enabled for that rule.booleanThis field denotes whether to enable logging for a particular firewall rule.booleanThis field can only be specified for a particular firewall rule if logging is enabled for that rule.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEnable
boolean hasEnable()This field denotes whether to enable logging for a particular firewall rule.
optional bool enable = 311764355;- Returns:
- Whether the enable field is set.
-
getEnable
boolean getEnable()This field denotes whether to enable logging for a particular firewall rule.
optional bool enable = 311764355;- Returns:
- The enable.
-
hasMetadata
boolean hasMetadata()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. Check the Metadata enum for the list of possible values.
optional string metadata = 86866735;- Returns:
- Whether the metadata field is set.
-
getMetadata
String getMetadata()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. Check the Metadata enum for the list of possible values.
optional string metadata = 86866735;- Returns:
- The metadata.
-
getMetadataBytes
com.google.protobuf.ByteString getMetadataBytes()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. Check the Metadata enum for the list of possible values.
optional string metadata = 86866735;- Returns:
- The bytes for metadata.
-