Interface SourcedMetadataOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Metadata matcher configuration that defines what metadata to match against.
    Metadata matcher configuration that defines what metadata to match against.
    Specifies which metadata source should be used for matching.
    int
    Specifies which metadata source should be used for matching.
    boolean
    Metadata matcher configuration that defines what metadata to match against.

    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

    • hasMetadataMatcher

      boolean hasMetadataMatcher()
       Metadata matcher configuration that defines what metadata to match against. This includes the filter name,
       metadata key path, and expected value.
       
      .envoy.type.matcher.v3.MetadataMatcher metadata_matcher = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the metadataMatcher field is set.
    • getMetadataMatcher

      MetadataMatcher getMetadataMatcher()
       Metadata matcher configuration that defines what metadata to match against. This includes the filter name,
       metadata key path, and expected value.
       
      .envoy.type.matcher.v3.MetadataMatcher metadata_matcher = 1 [(.validate.rules) = { ... }
      Returns:
      The metadataMatcher.
    • getMetadataMatcherOrBuilder

      MetadataMatcherOrBuilder getMetadataMatcherOrBuilder()
       Metadata matcher configuration that defines what metadata to match against. This includes the filter name,
       metadata key path, and expected value.
       
      .envoy.type.matcher.v3.MetadataMatcher metadata_matcher = 1 [(.validate.rules) = { ... }
    • getMetadataSourceValue

      int getMetadataSourceValue()
       Specifies which metadata source should be used for matching. If not set,
       defaults to DYNAMIC (dynamic metadata). Set to ROUTE to match against
       static metadata configured on the route entry.
       
      .envoy.config.rbac.v3.MetadataSource metadata_source = 2 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for metadataSource.
    • getMetadataSource

      MetadataSource getMetadataSource()
       Specifies which metadata source should be used for matching. If not set,
       defaults to DYNAMIC (dynamic metadata). Set to ROUTE to match against
       static metadata configured on the route entry.
       
      .envoy.config.rbac.v3.MetadataSource metadata_source = 2 [(.validate.rules) = { ... }
      Returns:
      The metadataSource.