Interface MetadataFilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetadataFilter, MetadataFilter.Builder

public interface MetadataFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Matcher to check metadata for specified value.
    Matcher to check metadata for specified value.
    com.google.protobuf.BoolValue
    Default result if the key does not exist in dynamic metadata: if unset or true, then log; if false, then don't log.
    com.google.protobuf.BoolValueOrBuilder
    Default result if the key does not exist in dynamic metadata: if unset or true, then log; if false, then don't log.
    boolean
    Matcher to check metadata for specified value.
    boolean
    Default result if the key does not exist in dynamic metadata: if unset or true, then log; if false, then don't log.

    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

    • hasMatcher

      boolean hasMatcher()
       Matcher to check metadata for specified value. For example, to match on the
       access_log_hint metadata, set the filter to "envoy.common" and the path to
       "access_log_hint", and the value to "true".
       
      .envoy.type.matcher.v3.MetadataMatcher matcher = 1;
      Returns:
      Whether the matcher field is set.
    • getMatcher

      MetadataMatcher getMatcher()
       Matcher to check metadata for specified value. For example, to match on the
       access_log_hint metadata, set the filter to "envoy.common" and the path to
       "access_log_hint", and the value to "true".
       
      .envoy.type.matcher.v3.MetadataMatcher matcher = 1;
      Returns:
      The matcher.
    • getMatcherOrBuilder

      MetadataMatcherOrBuilder getMatcherOrBuilder()
       Matcher to check metadata for specified value. For example, to match on the
       access_log_hint metadata, set the filter to "envoy.common" and the path to
       "access_log_hint", and the value to "true".
       
      .envoy.type.matcher.v3.MetadataMatcher matcher = 1;
    • hasMatchIfKeyNotFound

      boolean hasMatchIfKeyNotFound()
       Default result if the key does not exist in dynamic metadata: if unset or
       true, then log; if false, then don't log.
       
      .google.protobuf.BoolValue match_if_key_not_found = 2;
      Returns:
      Whether the matchIfKeyNotFound field is set.
    • getMatchIfKeyNotFound

      com.google.protobuf.BoolValue getMatchIfKeyNotFound()
       Default result if the key does not exist in dynamic metadata: if unset or
       true, then log; if false, then don't log.
       
      .google.protobuf.BoolValue match_if_key_not_found = 2;
      Returns:
      The matchIfKeyNotFound.
    • getMatchIfKeyNotFoundOrBuilder

      com.google.protobuf.BoolValueOrBuilder getMatchIfKeyNotFoundOrBuilder()
       Default result if the key does not exist in dynamic metadata: if unset or
       true, then log; if false, then don't log.
       
      .google.protobuf.BoolValue match_if_key_not_found = 2;