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 Summary
Modifier and TypeMethodDescriptiongetExtractionRules(int index) Attributes to extract for this method.intAttributes to extract for this method.Attributes to extract for this method.getExtractionRulesOrBuilder(int index) Attributes to extract for this method.Attributes to extract for this method.getGroup()The group/category name to assign to this method (e.g., "tool", "lifecycle").com.google.protobuf.ByteStringThe group/category name to assign to this method (e.g., "tool", "lifecycle").Method name (e.g., "tools/call", "resources/read", "initialize").com.google.protobuf.ByteStringMethod name (e.g., "tools/call", "resources/read", "initialize").Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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;
-