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
    CEL expression configuration that modifies the evaluation behavior of the ``expression`` field.
    CEL expression configuration that modifies the evaluation behavior of the ``expression`` field.
    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.
    boolean
    CEL expression configuration that modifies the evaluation behavior of the ``expression`` field.

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

      boolean hasCelConfig()
       CEL expression configuration that modifies the evaluation behavior of the ``expression`` field.
       If specified, string conversion, concatenation, and manipulation functions may be enabled
       for the filter expression. See :ref:`CelExpressionConfig <envoy_v3_api_msg_config.core.v3.CelExpressionConfig>`
       for more details.
       
      .envoy.config.core.v3.CelExpressionConfig cel_config = 2;
      Returns:
      Whether the celConfig field is set.
    • getCelConfig

      CelExpressionConfig getCelConfig()
       CEL expression configuration that modifies the evaluation behavior of the ``expression`` field.
       If specified, string conversion, concatenation, and manipulation functions may be enabled
       for the filter expression. See :ref:`CelExpressionConfig <envoy_v3_api_msg_config.core.v3.CelExpressionConfig>`
       for more details.
       
      .envoy.config.core.v3.CelExpressionConfig cel_config = 2;
      Returns:
      The celConfig.
    • getCelConfigOrBuilder

      CelExpressionConfigOrBuilder getCelConfigOrBuilder()
       CEL expression configuration that modifies the evaluation behavior of the ``expression`` field.
       If specified, string conversion, concatenation, and manipulation functions may be enabled
       for the filter expression. See :ref:`CelExpressionConfig <envoy_v3_api_msg_config.core.v3.CelExpressionConfig>`
       for more details.
       
      .envoy.config.core.v3.CelExpressionConfig cel_config = 2;