Interface MetadataMatcherOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The filter name to retrieve the ``Struct`` from the ``Metadata``.
    com.google.protobuf.ByteString
    The filter name to retrieve the ``Struct`` from the ``Metadata``.
    boolean
    If true, the match result will be inverted.
    getPath(int index)
    The path to retrieve the ``Value`` from the ``Struct``.
    int
    The path to retrieve the ``Value`` from the ``Struct``.
    The path to retrieve the ``Value`` from the ``Struct``.
    getPathOrBuilder(int index)
    The path to retrieve the ``Value`` from the ``Struct``.
    The path to retrieve the ``Value`` from the ``Struct``.
    The ``MetadataMatcher`` is matched if the value retrieved by path is matched to this value.
    The ``MetadataMatcher`` is matched if the value retrieved by path is matched to this value.
    boolean
    The ``MetadataMatcher`` is matched if the value retrieved by path is matched to this value.

    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

    • getFilter

      String getFilter()
       The filter name to retrieve the ``Struct`` from the ``Metadata``.
       
      string filter = 1 [(.validate.rules) = { ... }
      Returns:
      The filter.
    • getFilterBytes

      com.google.protobuf.ByteString getFilterBytes()
       The filter name to retrieve the ``Struct`` from the ``Metadata``.
       
      string filter = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for filter.
    • getPathList

       The path to retrieve the ``Value`` from the ``Struct``.
       
      repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
    • getPath

      MetadataMatcher.PathSegment getPath(int index)
       The path to retrieve the ``Value`` from the ``Struct``.
       
      repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
    • getPathCount

      int getPathCount()
       The path to retrieve the ``Value`` from the ``Struct``.
       
      repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
    • getPathOrBuilderList

      List<? extends MetadataMatcher.PathSegmentOrBuilder> getPathOrBuilderList()
       The path to retrieve the ``Value`` from the ``Struct``.
       
      repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
    • getPathOrBuilder

      MetadataMatcher.PathSegmentOrBuilder getPathOrBuilder(int index)
       The path to retrieve the ``Value`` from the ``Struct``.
       
      repeated .envoy.type.matcher.v3.MetadataMatcher.PathSegment path = 2 [(.validate.rules) = { ... }
    • hasValue

      boolean hasValue()
       The ``MetadataMatcher`` is matched if the value retrieved by path is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 3 [(.validate.rules) = { ... }
      Returns:
      Whether the value field is set.
    • getValue

      ValueMatcher getValue()
       The ``MetadataMatcher`` is matched if the value retrieved by path is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 3 [(.validate.rules) = { ... }
      Returns:
      The value.
    • getValueOrBuilder

      ValueMatcherOrBuilder getValueOrBuilder()
       The ``MetadataMatcher`` is matched if the value retrieved by path is matched to this value.
       
      .envoy.type.matcher.v3.ValueMatcher value = 3 [(.validate.rules) = { ... }
    • getInvert

      boolean getInvert()
       If true, the match result will be inverted.
       
      bool invert = 4;
      Returns:
      The invert.