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
public interface FirewallLogConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getEnable()
This field denotes whether to enable logging for a particular firewall rule.String
getMetadata()
This field can only be specified for a particular firewall rule if logging is enabled for that rule.com.google.protobuf.ByteString
getMetadataBytes()
This field can only be specified for a particular firewall rule if logging is enabled for that rule.boolean
hasEnable()
This field denotes whether to enable logging for a particular firewall rule.boolean
hasMetadata()
This field can only be specified for a particular firewall rule if logging is enabled for that rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-