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

    Modifier and Type
    Method
    Description
    Expression that, when evaluated, will be used to filter access logs.
    com.google.protobuf.ByteString
    Expression that, when evaluated, will be used to filter access logs.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.