// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v7.35.1
// source: envoy/extensions/filters/http/mcp_json_rest_bridge/v3/mcp_json_rest_bridge.proto

package mcp_json_rest_bridgev3

import (
	_ "github.com/cncf/xds/go/udpa/annotations"
	_ "github.com/cncf/xds/go/xds/annotations/v3"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Where to store parsed MCP request attributes.
type McpJsonRestBridge_RequestStorageMode int32

const (
	// Unspecified. Uses default behavior (nothing is stored).
	McpJsonRestBridge_MODE_UNSPECIFIED McpJsonRestBridge_RequestStorageMode = 0
	// Store request attributes in dynamic metadata. The metadata namespace
	// is the filter's config name as specified by the “name“ field in the
	// “http_filters“ list (e.g. “envoy.filters.http.mcp_json_rest_bridge“
	// if using the canonical filter name).
	McpJsonRestBridge_DYNAMIC_METADATA McpJsonRestBridge_RequestStorageMode = 1
)

// Enum value maps for McpJsonRestBridge_RequestStorageMode.
var (
	McpJsonRestBridge_RequestStorageMode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "DYNAMIC_METADATA",
	}
	McpJsonRestBridge_RequestStorageMode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"DYNAMIC_METADATA": 1,
	}
)

func (x McpJsonRestBridge_RequestStorageMode) Enum() *McpJsonRestBridge_RequestStorageMode {
	p := new(McpJsonRestBridge_RequestStorageMode)
	*p = x
	return p
}

func (x McpJsonRestBridge_RequestStorageMode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (McpJsonRestBridge_RequestStorageMode) Descriptor() protoreflect.EnumDescriptor {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_enumTypes[0].Descriptor()
}

func (McpJsonRestBridge_RequestStorageMode) Type() protoreflect.EnumType {
	return &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_enumTypes[0]
}

func (x McpJsonRestBridge_RequestStorageMode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use McpJsonRestBridge_RequestStorageMode.Descriptor instead.
func (McpJsonRestBridge_RequestStorageMode) EnumDescriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{0, 0}
}

// Configuration for the MCP MCP JSON REST Bridge.
//
// This extension translates Model Context Protocol (MCP) JSON-RPC requests into standard JSON-REST
// HTTP requests. This enables existing REST backends to function as MCP servers without native MCP
// support.
//
// Main functionalities:
//
//  1. Transcoding: Converts JSON-RPC request payload to HTTP REST request, and maps JSON response
//     back to JSON-RPC.
//  2. Session negotiation: Handles MCP connection prerequisites.
//
// The core logic transforms "tools/call" request into HTTP request following the “HttpRule“
// specification.
//
// Example 1: GET request with path and query parameters
//
// .. code-block:: text
//
//	tools: {
//	  name: "getResource"
//	  http_rule: {
//	    get: "/v1/projects/{project_id}/resources/{resource_id}"
//	    // body is omitted for GET
//	  }
//	}
//	If tools/call params are:
//	{ "name": "getResource", "arguments": {"project_id": "foo", "resource_id": "res-789", "view": "FULL"} }
//	Translation:
//	- Method: GET
//	- URL: /v1/projects/foo/resources/res-789?view=FULL
//	  (Arguments not matching path templates become query parameters.)
//
// Example 2: POST request with wildcard body
//
// .. code-block:: text
//
//	tools: {
//	  name: "createResource"
//	  http_rule: {
//	    post: "/v1/projects/{project_id}/resources"
//	    body: "*"
//	  }
//	}
//	If tools/call params are:
//	{ "name": "createResource", "arguments": {"project_id": "foo", "resource_id": "res-456", "payload": { "data": "some value" }} }
//	Translation:
//	- Method: POST
//	- URL: /v1/projects/foo/resources
//	- Body: {"resource_id": "res-456", "payload": { "data": "some value" }}
//	  (Arguments not used in the path form the body, as per body: "*".)
//
// Example 3: PUT request with a specific field as body
//
// .. code-block:: text
//
//	tools: {
//	  name: "updateResource"
//	  http_rule: {
//	    put: "/v1/projects/{project_id}"
//	    body: "payload"
//	  }
//	}
//	If tools/call params are:
//	{ "name": "updateResource", "arguments": {"project_id": "foo", "resource_id": "res-456", "payload": { "data": "updated value" }} }
//	Translation:
//	- Method: PUT
//	- URL: /v1/projects/foo?resource_id=res-456
//	- Body: {"data": "updated value"}
//	  (Only the "payload" field from arguments is used as the body. Other arguments not in the
//	  path, like 'resource_id', become query parameters.)
//
// [#next-free-field: 8]
type McpJsonRestBridge struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// General server information.
	ServerInfo *ServerInfo `protobuf:"bytes,1,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"`
	// Configuration for the MCP tools.
	ToolConfig *ServerToolConfig `protobuf:"bytes,2,opt,name=tool_config,json=toolConfig,proto3" json:"tool_config,omitempty"`
	// Maximum size of the request body to buffer for transcoding and validation.
	// If the request body exceeds this size, the request is rejected with “413 Payload Too Large“.
	// This limit applies to prevent unbounded buffering.
	//
	// It defaults to 64KB (65536 bytes) as the MCP calls (tools, resources, or prompts)
	// only pass small arguments or identifiers.
	//
	// Setting it to 0 would disable the limit. It is not recommended to do so in production.
	MaxRequestBodySize *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=max_request_body_size,json=maxRequestBodySize,proto3" json:"max_request_body_size,omitempty"`
	// Maximum size of the response body to buffer for transcoding.
	// If the response body exceeds this size, the response is rejected with an appropriate error.
	// This limit applies to prevent unbounded buffering.
	//
	// It defaults to 1MB (1048576 bytes) to prevent transcoding failures on large payloads like
	// file reads, while aligning with Envoy's standard default connection buffer limit.
	//
	// Setting it to 0 would disable the limit. It is not recommended to do so in production.
	MaxResponseBodySize *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_response_body_size,json=maxResponseBodySize,proto3" json:"max_response_body_size,omitempty"`
	// Where to store parsed MCP request attributes.
	// Default is not storing anything.
	// When set to “DYNAMIC_METADATA“, attributes are stored in dynamic metadata
	// using the filter's config name (i.e. the “name“ field of this filter's entry
	// in the “http_filters“ list) as the metadata namespace.
	RequestStorageMode McpJsonRestBridge_RequestStorageMode `protobuf:"varint,5,opt,name=request_storage_mode,json=requestStorageMode,proto3,enum=envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge_RequestStorageMode" json:"request_storage_mode,omitempty"`
	// If set, extract OpenTelemetry (OTel) trace context from MCP requests and propagate it to
	// request headers. The keys “traceparent“, “tracestate“, and “baggage“
	// will be extracted from “_meta“.
	// Ref: `Request Meta SEP <https://modelcontextprotocol.io/seps/414-request-meta>`_
	TraceContextExtraction *TraceContextExtractionOptions `protobuf:"bytes,6,opt,name=trace_context_extraction,json=traceContextExtraction,proto3" json:"trace_context_extraction,omitempty"`
	// When set to true, the filter will not clear the route cache after transcoding.
	// This allows the route to be re-selected based on the updated request path or method.
	DisableClearRouteCache bool `protobuf:"varint,7,opt,name=disable_clear_route_cache,json=disableClearRouteCache,proto3" json:"disable_clear_route_cache,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *McpJsonRestBridge) Reset() {
	*x = McpJsonRestBridge{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *McpJsonRestBridge) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*McpJsonRestBridge) ProtoMessage() {}

func (x *McpJsonRestBridge) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use McpJsonRestBridge.ProtoReflect.Descriptor instead.
func (*McpJsonRestBridge) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{0}
}

func (x *McpJsonRestBridge) GetServerInfo() *ServerInfo {
	if x != nil {
		return x.ServerInfo
	}
	return nil
}

func (x *McpJsonRestBridge) GetToolConfig() *ServerToolConfig {
	if x != nil {
		return x.ToolConfig
	}
	return nil
}

func (x *McpJsonRestBridge) GetMaxRequestBodySize() *wrapperspb.UInt32Value {
	if x != nil {
		return x.MaxRequestBodySize
	}
	return nil
}

func (x *McpJsonRestBridge) GetMaxResponseBodySize() *wrapperspb.UInt32Value {
	if x != nil {
		return x.MaxResponseBodySize
	}
	return nil
}

func (x *McpJsonRestBridge) GetRequestStorageMode() McpJsonRestBridge_RequestStorageMode {
	if x != nil {
		return x.RequestStorageMode
	}
	return McpJsonRestBridge_MODE_UNSPECIFIED
}

func (x *McpJsonRestBridge) GetTraceContextExtraction() *TraceContextExtractionOptions {
	if x != nil {
		return x.TraceContextExtraction
	}
	return nil
}

func (x *McpJsonRestBridge) GetDisableClearRouteCache() bool {
	if x != nil {
		return x.DisableClearRouteCache
	}
	return false
}

// Options for trace context extraction.
type TraceContextExtractionOptions struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TraceContextExtractionOptions) Reset() {
	*x = TraceContextExtractionOptions{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TraceContextExtractionOptions) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TraceContextExtractionOptions) ProtoMessage() {}

func (x *TraceContextExtractionOptions) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TraceContextExtractionOptions.ProtoReflect.Descriptor instead.
func (*TraceContextExtractionOptions) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{1}
}

// Configuration for the server metadata.
type ServerInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// [#not-implemented-hide:]
	// [#comment:TODO(guoyilin42): Implement supported_protocol_versions]
	// Lists the MCP protocol versions supported by this MCP endpoint.
	//
	//   - If provided: The extension enforces version negotiation according to the MCP specification:
	//     https://modelcontextprotocol.io/specification/2025-11-25/basic/lifecycle#version-negotiation
	//   - If not provided: The extension accepts any version sent by the client during negotiation and
	//     skips validation of the mcp-protocol-version header on subsequent requests.
	//
	// Example values: ["2025-11-25", "2025-06-18"]
	SupportedProtocolVersions []string `protobuf:"bytes,1,rep,name=supported_protocol_versions,json=supportedProtocolVersions,proto3" json:"supported_protocol_versions,omitempty"`
	// [#not-implemented-hide:]
	// [#comment:TODO(guoyilin42): Implement description]
	// Optional description of the server.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The fallback protocol version to use if the client does not provide the “mcp-protocol-version“ header.
	//
	//   - If provided: The extension uses this version as the fallback protocol version.
	//   - If not provided: The extension uses the fallback protocol version defined in the latest MCP
	//     specification. For example, the current latest 2025-11-25 specification designates "2025-03-26"
	//     as the fallback protocol version.
	//     See https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#protocol-version-header
	FallbackProtocolVersion *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=fallback_protocol_version,json=fallbackProtocolVersion,proto3" json:"fallback_protocol_version,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *ServerInfo) Reset() {
	*x = ServerInfo{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ServerInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ServerInfo) ProtoMessage() {}

func (x *ServerInfo) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.
func (*ServerInfo) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{2}
}

func (x *ServerInfo) GetSupportedProtocolVersions() []string {
	if x != nil {
		return x.SupportedProtocolVersions
	}
	return nil
}

func (x *ServerInfo) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *ServerInfo) GetFallbackProtocolVersion() *wrapperspb.StringValue {
	if x != nil {
		return x.FallbackProtocolVersion
	}
	return nil
}

// Configuration for sending locally-generated responses to tools/list requests.
type ToolsListLocal struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ToolsListLocal) Reset() {
	*x = ToolsListLocal{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ToolsListLocal) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ToolsListLocal) ProtoMessage() {}

func (x *ToolsListLocal) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ToolsListLocal.ProtoReflect.Descriptor instead.
func (*ToolsListLocal) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{3}
}

// Configuration for the MCP tool capability of the server.
// [#next-free-field: 6]
type ServerToolConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of MCP tools configurations.
	Tools []*ToolConfig `protobuf:"bytes,1,rep,name=tools,proto3" json:"tools,omitempty"`
	// [#not-implemented-hide:]
	// [#comment:TODO(guoyilin42): Implement list_changed]
	// Whether this server supports notifications for changes to the tool list.
	ListChanged bool `protobuf:"varint,2,opt,name=list_changed,json=listChanged,proto3" json:"list_changed,omitempty"`
	// Optional configuration for tools/list requests. If not set: The “tools/list“ request is
	// passed through. This allows subsequent extension or the backend itself to handle the tools/list
	// request if they support it.
	//
	// Types that are valid to be assigned to ToolListConfig:
	//
	//	*ServerToolConfig_ToolListHttpRule
	//	*ServerToolConfig_ToolListLocal
	ToolListConfig isServerToolConfig_ToolListConfig `protobuf_oneof:"tool_list_config"`
	// [#not-implemented-hide:]
	// Default server info for tools without specific ones.
	DefaultServerInfo *McpServerInfo `protobuf:"bytes,5,opt,name=default_server_info,json=defaultServerInfo,proto3" json:"default_server_info,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *ServerToolConfig) Reset() {
	*x = ServerToolConfig{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ServerToolConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ServerToolConfig) ProtoMessage() {}

func (x *ServerToolConfig) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ServerToolConfig.ProtoReflect.Descriptor instead.
func (*ServerToolConfig) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{4}
}

func (x *ServerToolConfig) GetTools() []*ToolConfig {
	if x != nil {
		return x.Tools
	}
	return nil
}

func (x *ServerToolConfig) GetListChanged() bool {
	if x != nil {
		return x.ListChanged
	}
	return false
}

func (x *ServerToolConfig) GetToolListConfig() isServerToolConfig_ToolListConfig {
	if x != nil {
		return x.ToolListConfig
	}
	return nil
}

func (x *ServerToolConfig) GetToolListHttpRule() *HttpRule {
	if x != nil {
		if x, ok := x.ToolListConfig.(*ServerToolConfig_ToolListHttpRule); ok {
			return x.ToolListHttpRule
		}
	}
	return nil
}

func (x *ServerToolConfig) GetToolListLocal() *ToolsListLocal {
	if x != nil {
		if x, ok := x.ToolListConfig.(*ServerToolConfig_ToolListLocal); ok {
			return x.ToolListLocal
		}
	}
	return nil
}

func (x *ServerToolConfig) GetDefaultServerInfo() *McpServerInfo {
	if x != nil {
		return x.DefaultServerInfo
	}
	return nil
}

type isServerToolConfig_ToolListConfig interface {
	isServerToolConfig_ToolListConfig()
}

type ServerToolConfig_ToolListHttpRule struct {
	// Configuration to transcode the tools/list requests to a standard HTTP request. If provided:
	// The extension transcodes the request and forwards it down the filter chain. The response
	// (whether from an upstream backend, a configured “direct_response“, or another extension)
	// MUST be a JSON body strictly matching the MCP “ListToolsResult“ schema. Ref:
	// https://modelcontextprotocol.io/specification/2025-11-25/schema#listtoolsresult
	ToolListHttpRule *HttpRule `protobuf:"bytes,3,opt,name=tool_list_http_rule,json=toolListHttpRule,proto3,oneof"`
}

type ServerToolConfig_ToolListLocal struct {
	// If provided: The extension sends a local response, according to each tool's
	// ToolsListSpecificConfig.
	ToolListLocal *ToolsListLocal `protobuf:"bytes,4,opt,name=tool_list_local,json=toolListLocal,proto3,oneof"`
}

func (*ServerToolConfig_ToolListHttpRule) isServerToolConfig_ToolListConfig() {}

func (*ServerToolConfig_ToolListLocal) isServerToolConfig_ToolListConfig() {}

// Configuration for a tool's entry in tools/list responses.
type ToolsListSpecificConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional, human-readable name of the tool for display purposes.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Human-readable description of functionality.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// A JSON Schema describing expected parameters, as a serialized JSON string, in the JSON Schema
	// 2020-12 dialect. This should be raw JSON, including the "properties" and "required" keys, but
	// not "type". Tools with no parameters may omit this to signify a tool with no constraints on the
	// parameters object, or set to '"additionalProperties": false' to require empty parameters.
	InputSchema   string `protobuf:"bytes,3,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ToolsListSpecificConfig) Reset() {
	*x = ToolsListSpecificConfig{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ToolsListSpecificConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ToolsListSpecificConfig) ProtoMessage() {}

func (x *ToolsListSpecificConfig) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ToolsListSpecificConfig.ProtoReflect.Descriptor instead.
func (*ToolsListSpecificConfig) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{5}
}

func (x *ToolsListSpecificConfig) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *ToolsListSpecificConfig) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *ToolsListSpecificConfig) GetInputSchema() string {
	if x != nil {
		return x.InputSchema
	}
	return ""
}

type McpServerInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The path to the endpoint hosting this tool.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The host hosting this tool.
	Host          string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *McpServerInfo) Reset() {
	*x = McpServerInfo{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *McpServerInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*McpServerInfo) ProtoMessage() {}

func (x *McpServerInfo) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use McpServerInfo.ProtoReflect.Descriptor instead.
func (*McpServerInfo) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{6}
}

func (x *McpServerInfo) GetPath() string {
	if x != nil {
		return x.Path
	}
	return ""
}

func (x *McpServerInfo) GetHost() string {
	if x != nil {
		return x.Host
	}
	return ""
}

// [#next-free-field: 6]
type ToolConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Unique identifier of the tool. Used both for tools/list and tools/call transcoding.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The HTTP configuration rules that apply to the normal backend.
	HttpRule *HttpRule `protobuf:"bytes,2,opt,name=http_rule,json=httpRule,proto3" json:"http_rule,omitempty"`
	// Config for this tool's entry in a local tools/list response. Used when tool_list_local is set
	// in the ServerToolConfig.
	ToolListConfig *ToolsListSpecificConfig `protobuf:"bytes,3,opt,name=tool_list_config,json=toolListConfig,proto3" json:"tool_list_config,omitempty"`
	// Enables streaming transcoding for unstructured text responses (“content“ field of a result).
	//
	// When enabled, the response body is streamed directly to the client without buffering. Each
	// chunk is JSON escaped as it arrives and wrapped with a pre-built JSON-RPC prefix and suffix.
	//
	// Streaming flow:
	//
	// .. code-block:: text
	//
	//	input:  [chunk1] → [chunk2] → [chunk3]
	//	output: [prefix+escaped_chunk1] → [escaped_chunk2] → [escaped_chunk3+suffix]
	//
	// Disabled by default.
	TextContentStreamingEnabled bool `protobuf:"varint,4,opt,name=text_content_streaming_enabled,json=textContentStreamingEnabled,proto3" json:"text_content_streaming_enabled,omitempty"`
	// [#not-implemented-hide:]
	// Path and host of the MCP server that hosts this tool.
	ServerInfo    []*McpServerInfo `protobuf:"bytes,5,rep,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ToolConfig) Reset() {
	*x = ToolConfig{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ToolConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ToolConfig) ProtoMessage() {}

func (x *ToolConfig) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ToolConfig.ProtoReflect.Descriptor instead.
func (*ToolConfig) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{7}
}

func (x *ToolConfig) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ToolConfig) GetHttpRule() *HttpRule {
	if x != nil {
		return x.HttpRule
	}
	return nil
}

func (x *ToolConfig) GetToolListConfig() *ToolsListSpecificConfig {
	if x != nil {
		return x.ToolListConfig
	}
	return nil
}

func (x *ToolConfig) GetTextContentStreamingEnabled() bool {
	if x != nil {
		return x.TextContentStreamingEnabled
	}
	return false
}

func (x *ToolConfig) GetServerInfo() []*McpServerInfo {
	if x != nil {
		return x.ServerInfo
	}
	return nil
}

// Defines the schema of the JSON-RPC to REST mapping. It specifies how the "arguments"
// in a tools/call request are mapped to the URL path, query parameters, and HTTP request body.
//
// Mapping Rules:
//
//  1. Path: Fields defined in the path template (e.g., “/v1/resources/{id}“) are extracted from
//     arguments and placed in the URL.
//  2. Body: Determined by the “body“ field.
//     - If "*": All arguments not used in the path become the HTTP JSON body.
//     - If specify a field: Only that specific argument becomes the HTTP JSON body.
//     - If empty: No body is sent.
//  3. Query: Any leaf arguments not mapped to Path or Body are added as URL query parameters.
//
// [#next-free-field: 7]
type HttpRule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Determines the HTTP method and the URL path template.
	//
	// Path templating uses curly braces “{}“ to mark a section of the URL path as replaceable.
	// Each template variable MUST correspond to a field in the JSON-RPC "arguments".
	// Use dot-notation to access fields within nested objects (e.g., "user.id" maps the value of the
	// "id" field inside "user").
	//
	// To support backward compatibility with future methods, these are defined as individual fields
	// rather than a "oneof". If multiple fields are present, the one with the highest field number
	// highest priority) is the effective method.
	//
	// Maps to HTTP GET.
	Get string `protobuf:"bytes,1,opt,name=get,proto3" json:"get,omitempty"`
	// Maps to HTTP PUT.
	Put string `protobuf:"bytes,2,opt,name=put,proto3" json:"put,omitempty"`
	// Maps to HTTP POST.
	Post string `protobuf:"bytes,3,opt,name=post,proto3" json:"post,omitempty"`
	// Maps to HTTP DELETE.
	Delete string `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"`
	// Maps to HTTP PATCH.
	Patch string `protobuf:"bytes,5,opt,name=patch,proto3" json:"patch,omitempty"`
	// The name of the request field whose value is mapped to the HTTP request body.
	//
	//   - If "*": All fields not bound by the path template are mapped to the request body.
	//   - If specify a field: This specific field is mapped to the body. Uses dot-notation for nested
	//     fields (e.g., "user.data" maps the value of the "data" field inside "user").
	//   - If omitted: There is no HTTP request body; fields not in the path become query parameters.
	Body          string `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HttpRule) Reset() {
	*x = HttpRule{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HttpRule) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HttpRule) ProtoMessage() {}

func (x *HttpRule) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HttpRule.ProtoReflect.Descriptor instead.
func (*HttpRule) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{8}
}

func (x *HttpRule) GetGet() string {
	if x != nil {
		return x.Get
	}
	return ""
}

func (x *HttpRule) GetPut() string {
	if x != nil {
		return x.Put
	}
	return ""
}

func (x *HttpRule) GetPost() string {
	if x != nil {
		return x.Post
	}
	return ""
}

func (x *HttpRule) GetDelete() string {
	if x != nil {
		return x.Delete
	}
	return ""
}

func (x *HttpRule) GetPatch() string {
	if x != nil {
		return x.Patch
	}
	return ""
}

func (x *HttpRule) GetBody() string {
	if x != nil {
		return x.Body
	}
	return ""
}

// Per-route override configuration for the MCP JSON REST Bridge filter.
type McpJsonRestBridgePerRoute struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ToolConfig    []*ServerToolConfig    `protobuf:"bytes,1,rep,name=tool_config,json=toolConfig,proto3" json:"tool_config,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *McpJsonRestBridgePerRoute) Reset() {
	*x = McpJsonRestBridgePerRoute{}
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *McpJsonRestBridgePerRoute) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*McpJsonRestBridgePerRoute) ProtoMessage() {}

func (x *McpJsonRestBridgePerRoute) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use McpJsonRestBridgePerRoute.ProtoReflect.Descriptor instead.
func (*McpJsonRestBridgePerRoute) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP(), []int{9}
}

func (x *McpJsonRestBridgePerRoute) GetToolConfig() []*ServerToolConfig {
	if x != nil {
		return x.ToolConfig
	}
	return nil
}

var File_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto protoreflect.FileDescriptor

const file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDesc = "" +
	"\n" +
	"Penvoy/extensions/filters/http/mcp_json_rest_bridge/v3/mcp_json_rest_bridge.proto\x125envoy.extensions.filters.http.mcp_json_rest_bridge.v3\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fxds/annotations/v3/status.proto\x1a\x1dudpa/annotations/status.proto\x1a\x17validate/validate.proto\"\xad\x06\n" +
	"\x11McpJsonRestBridge\x12b\n" +
	"\vserver_info\x18\x01 \x01(\v2A.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerInfoR\n" +
	"serverInfo\x12h\n" +
	"\vtool_config\x18\x02 \x01(\v2G.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfigR\n" +
	"toolConfig\x12O\n" +
	"\x15max_request_body_size\x18\x03 \x01(\v2\x1c.google.protobuf.UInt32ValueR\x12maxRequestBodySize\x12Q\n" +
	"\x16max_response_body_size\x18\x04 \x01(\v2\x1c.google.protobuf.UInt32ValueR\x13maxResponseBodySize\x12\x97\x01\n" +
	"\x14request_storage_mode\x18\x05 \x01(\x0e2[.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.RequestStorageModeB\b\xfaB\x05\x82\x01\x02\x10\x01R\x12requestStorageMode\x12\x8e\x01\n" +
	"\x18trace_context_extraction\x18\x06 \x01(\v2T.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.TraceContextExtractionOptionsR\x16traceContextExtraction\x129\n" +
	"\x19disable_clear_route_cache\x18\a \x01(\bR\x16disableClearRouteCache\"@\n" +
	"\x12RequestStorageMode\x12\x14\n" +
	"\x10MODE_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10DYNAMIC_METADATA\x10\x01\"\x1f\n" +
	"\x1dTraceContextExtractionOptions\"\xc8\x01\n" +
	"\n" +
	"ServerInfo\x12>\n" +
	"\x1bsupported_protocol_versions\x18\x01 \x03(\tR\x19supportedProtocolVersions\x12 \n" +
	"\vdescription\x18\x02 \x01(\tR\vdescription\x12X\n" +
	"\x19fallback_protocol_version\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\x17fallbackProtocolVersion\"\x10\n" +
	"\x0eToolsListLocal\"\xfb\x03\n" +
	"\x10ServerToolConfig\x12W\n" +
	"\x05tools\x18\x01 \x03(\v2A.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolConfigR\x05tools\x12!\n" +
	"\flist_changed\x18\x02 \x01(\bR\vlistChanged\x12p\n" +
	"\x13tool_list_http_rule\x18\x03 \x01(\v2?.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.HttpRuleH\x00R\x10toolListHttpRule\x12o\n" +
	"\x0ftool_list_local\x18\x04 \x01(\v2E.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolsListLocalH\x00R\rtoolListLocal\x12t\n" +
	"\x13default_server_info\x18\x05 \x01(\v2D.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpServerInfoR\x11defaultServerInfoB\x12\n" +
	"\x10tool_list_config\"}\n" +
	"\x17ToolsListSpecificConfig\x12\x14\n" +
	"\x05title\x18\x01 \x01(\tR\x05title\x12)\n" +
	"\vdescription\x18\x02 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\vdescription\x12!\n" +
	"\finput_schema\x18\x03 \x01(\tR\vinputSchema\"7\n" +
	"\rMcpServerInfo\x12\x12\n" +
	"\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n" +
	"\x04host\x18\x02 \x01(\tR\x04host\"\xad\x03\n" +
	"\n" +
	"ToolConfig\x12\x1b\n" +
	"\x04name\x18\x01 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\x04name\x12\\\n" +
	"\thttp_rule\x18\x02 \x01(\v2?.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.HttpRuleR\bhttpRule\x12x\n" +
	"\x10tool_list_config\x18\x03 \x01(\v2N.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolsListSpecificConfigR\x0etoolListConfig\x12C\n" +
	"\x1etext_content_streaming_enabled\x18\x04 \x01(\bR\x1btextContentStreamingEnabled\x12e\n" +
	"\vserver_info\x18\x05 \x03(\v2D.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpServerInfoR\n" +
	"serverInfo\"\x84\x01\n" +
	"\bHttpRule\x12\x10\n" +
	"\x03get\x18\x01 \x01(\tR\x03get\x12\x10\n" +
	"\x03put\x18\x02 \x01(\tR\x03put\x12\x12\n" +
	"\x04post\x18\x03 \x01(\tR\x04post\x12\x16\n" +
	"\x06delete\x18\x04 \x01(\tR\x06delete\x12\x14\n" +
	"\x05patch\x18\x05 \x01(\tR\x05patch\x12\x12\n" +
	"\x04body\x18\x06 \x01(\tR\x04body\"\x85\x01\n" +
	"\x19McpJsonRestBridgePerRoute\x12h\n" +
	"\vtool_config\x18\x01 \x03(\v2G.envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfigR\n" +
	"toolConfigB\xe4\x01\xba\x80\xc8\xd1\x06\x02\x10\x02\xd2Ƥ\xe1\x06\x02\b\x01\n" +
	"Cio.envoyproxy.envoy.extensions.filters.http.mcp_json_rest_bridge.v3B\x16McpJsonRestBridgeProtoP\x01Zsgithub.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/mcp_json_rest_bridge/v3;mcp_json_rest_bridgev3b\x06proto3"

var (
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescOnce sync.Once
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescData []byte
)

func file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescGZIP() []byte {
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescOnce.Do(func() {
		file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDesc), len(file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDesc)))
	})
	return file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDescData
}

var file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_goTypes = []any{
	(McpJsonRestBridge_RequestStorageMode)(0), // 0: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.RequestStorageMode
	(*McpJsonRestBridge)(nil),                 // 1: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge
	(*TraceContextExtractionOptions)(nil),     // 2: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.TraceContextExtractionOptions
	(*ServerInfo)(nil),                        // 3: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerInfo
	(*ToolsListLocal)(nil),                    // 4: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolsListLocal
	(*ServerToolConfig)(nil),                  // 5: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig
	(*ToolsListSpecificConfig)(nil),           // 6: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolsListSpecificConfig
	(*McpServerInfo)(nil),                     // 7: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpServerInfo
	(*ToolConfig)(nil),                        // 8: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolConfig
	(*HttpRule)(nil),                          // 9: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.HttpRule
	(*McpJsonRestBridgePerRoute)(nil),         // 10: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridgePerRoute
	(*wrapperspb.UInt32Value)(nil),            // 11: google.protobuf.UInt32Value
	(*wrapperspb.StringValue)(nil),            // 12: google.protobuf.StringValue
}
var file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_depIdxs = []int32{
	3,  // 0: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.server_info:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerInfo
	5,  // 1: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.tool_config:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig
	11, // 2: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.max_request_body_size:type_name -> google.protobuf.UInt32Value
	11, // 3: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.max_response_body_size:type_name -> google.protobuf.UInt32Value
	0,  // 4: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.request_storage_mode:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.RequestStorageMode
	2,  // 5: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridge.trace_context_extraction:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.TraceContextExtractionOptions
	12, // 6: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerInfo.fallback_protocol_version:type_name -> google.protobuf.StringValue
	8,  // 7: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig.tools:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolConfig
	9,  // 8: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig.tool_list_http_rule:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.HttpRule
	4,  // 9: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig.tool_list_local:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolsListLocal
	7,  // 10: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig.default_server_info:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpServerInfo
	9,  // 11: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolConfig.http_rule:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.HttpRule
	6,  // 12: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolConfig.tool_list_config:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolsListSpecificConfig
	7,  // 13: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ToolConfig.server_info:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpServerInfo
	5,  // 14: envoy.extensions.filters.http.mcp_json_rest_bridge.v3.McpJsonRestBridgePerRoute.tool_config:type_name -> envoy.extensions.filters.http.mcp_json_rest_bridge.v3.ServerToolConfig
	15, // [15:15] is the sub-list for method output_type
	15, // [15:15] is the sub-list for method input_type
	15, // [15:15] is the sub-list for extension type_name
	15, // [15:15] is the sub-list for extension extendee
	0,  // [0:15] is the sub-list for field type_name
}

func init() {
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_init()
}
func file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_init() {
	if File_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto != nil {
		return
	}
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes[4].OneofWrappers = []any{
		(*ServerToolConfig_ToolListHttpRule)(nil),
		(*ServerToolConfig_ToolListLocal)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDesc), len(file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   10,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_goTypes,
		DependencyIndexes: file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_depIdxs,
		EnumInfos:         file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_enumTypes,
		MessageInfos:      file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_msgTypes,
	}.Build()
	File_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto = out.File
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_goTypes = nil
	file_envoy_extensions_filters_http_mcp_json_rest_bridge_v3_mcp_json_rest_bridge_proto_depIdxs = nil
}
