Interface FirewallLogConfigOrBuilder (1.12.1)

public interface FirewallLogConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnable()

public abstract boolean getEnable()

This field denotes whether to enable logging for a particular firewall rule.

optional bool enable = 311764355;

Returns
TypeDescription
boolean

The enable.

getMetadata()

public abstract 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
TypeDescription
String

The metadata.

getMetadataBytes()

public abstract 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
TypeDescription
ByteString

The bytes for metadata.

hasEnable()

public abstract boolean hasEnable()

This field denotes whether to enable logging for a particular firewall rule.

optional bool enable = 311764355;

Returns
TypeDescription
boolean

Whether the enable field is set.

hasMetadata()

public abstract 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
TypeDescription
boolean

Whether the metadata field is set.