Interface ParserConfig.MethodConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ParserConfig.MethodConfig, ParserConfig.MethodConfig.Builder
Enclosing class:
ParserConfig

public static interface ParserConfig.MethodConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getMethod

      String getMethod()
       Method name (e.g., "tools/call", "resources/read", "initialize").
       This matches the "method" field in the JSON-RPC request.
       
      string method = 1 [(.validate.rules) = { ... }
      Returns:
      The method.
    • getMethodBytes

      com.google.protobuf.ByteString getMethodBytes()
       Method name (e.g., "tools/call", "resources/read", "initialize").
       This matches the "method" field in the JSON-RPC request.
       
      string method = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for method.
    • getGroup

      String getGroup()
       The group/category name to assign to this method (e.g., "tool", "lifecycle").
       This will be emitted to dynamic metadata under the key specified by group_metadata_key.
       If empty, the built-in group classification is used.
       
      string group = 2;
      Returns:
      The group.
    • getGroupBytes

      com.google.protobuf.ByteString getGroupBytes()
       The group/category name to assign to this method (e.g., "tool", "lifecycle").
       This will be emitted to dynamic metadata under the key specified by group_metadata_key.
       If empty, the built-in group classification is used.
       
      string group = 2;
      Returns:
      The bytes for group.
    • getExtractionRulesList

      List<ParserConfig.AttributeExtractionRule> getExtractionRulesList()
       Attributes to extract for this method.
       If empty, only default attributes (jsonrpc, method) are extracted.
       
      repeated .envoy.extensions.filters.http.mcp.v3.ParserConfig.AttributeExtractionRule extraction_rules = 3;
    • getExtractionRules

      ParserConfig.AttributeExtractionRule getExtractionRules(int index)
       Attributes to extract for this method.
       If empty, only default attributes (jsonrpc, method) are extracted.
       
      repeated .envoy.extensions.filters.http.mcp.v3.ParserConfig.AttributeExtractionRule extraction_rules = 3;
    • getExtractionRulesCount

      int getExtractionRulesCount()
       Attributes to extract for this method.
       If empty, only default attributes (jsonrpc, method) are extracted.
       
      repeated .envoy.extensions.filters.http.mcp.v3.ParserConfig.AttributeExtractionRule extraction_rules = 3;
    • getExtractionRulesOrBuilderList

      List<? extends ParserConfig.AttributeExtractionRuleOrBuilder> getExtractionRulesOrBuilderList()
       Attributes to extract for this method.
       If empty, only default attributes (jsonrpc, method) are extracted.
       
      repeated .envoy.extensions.filters.http.mcp.v3.ParserConfig.AttributeExtractionRule extraction_rules = 3;
    • getExtractionRulesOrBuilder

      ParserConfig.AttributeExtractionRuleOrBuilder getExtractionRulesOrBuilder(int index)
       Attributes to extract for this method.
       If empty, only default attributes (jsonrpc, method) are extracted.
       
      repeated .envoy.extensions.filters.http.mcp.v3.ParserConfig.AttributeExtractionRule extraction_rules = 3;