Interface ExpressionFilterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExpressionFilter,ExpressionFilter.Builder
public interface ExpressionFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetExpression()Expression that, when evaluated, will be used to filter access logs.com.google.protobuf.ByteStringgetExpressionBytes()Expression that, when evaluated, will be used to filter access logs.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getExpression
String getExpression()
Expression that, when evaluated, will be used to filter access logs. Expressions are based on the set of Envoy :ref:`attributes <arch_overview_attributes>`. The provided expression must evaluate to true for logging (expression errors are considered false). Examples: - ``response.code >= 400`` - ``(connection.mtls && request.headers['x-log-mtls'] == 'true') || request.url_path.contains('v1beta3')``string expression = 1;- Returns:
- The expression.
-
getExpressionBytes
com.google.protobuf.ByteString getExpressionBytes()
Expression that, when evaluated, will be used to filter access logs. Expressions are based on the set of Envoy :ref:`attributes <arch_overview_attributes>`. The provided expression must evaluate to true for logging (expression errors are considered false). Examples: - ``response.code >= 400`` - ``(connection.mtls && request.headers['x-log-mtls'] == 'true') || request.url_path.contains('v1beta3')``string expression = 1;- Returns:
- The bytes for expression.
-
-