Package com.google.cloud.compute.v1
Interface RouterNatLogConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouterNatLogConfig
,RouterNatLogConfig.Builder
public interface RouterNatLogConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getEnable()
Indicates whether or not to export logs.String
getFilter()
Specify the desired filtering of logs on this NAT.com.google.protobuf.ByteString
getFilterBytes()
Specify the desired filtering of logs on this NAT.boolean
hasEnable()
Indicates whether or not to export logs.boolean
hasFilter()
Specify the desired filtering of logs on this NAT.-
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()
Indicates whether or not to export logs. This is false by default.
optional bool enable = 311764355;
- Returns:
- Whether the enable field is set.
-
getEnable
boolean getEnable()
Indicates whether or not to export logs. This is false by default.
optional bool enable = 311764355;
- Returns:
- The enable.
-
hasFilter
boolean hasFilter()
Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. Check the Filter enum for the list of possible values.
optional string filter = 336120696;
- Returns:
- Whether the filter field is set.
-
getFilter
String getFilter()
Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. Check the Filter enum for the list of possible values.
optional string filter = 336120696;
- Returns:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()
Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. Check the Filter enum for the list of possible values.
optional string filter = 336120696;
- Returns:
- The bytes for filter.
-
-