// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.33.2
// source: envoy/extensions/filters/http/thrift_to_metadata/v3/thrift_to_metadata.proto

package thrift_to_metadatav3

import (
	_ "github.com/cncf/xds/go/udpa/annotations"
	_ "github.com/cncf/xds/go/xds/annotations/v3"
	v3 "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/thrift_proxy/v3"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	structpb "google.golang.org/protobuf/types/known/structpb"
	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)
)

type Field int32

const (
	// The Thrift method name, string value.
	Field_METHOD_NAME Field = 0
	// The Thrift protocol name, string value. Values are "binary", "binary/non-strict", and "compact", with "(auto)" suffix if
	// :ref:`protocol <envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.protocol>`
	// is set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
	Field_PROTOCOL Field = 1
	// The Thrift transport name, string value. Values are "framed", "header", and "unframed", with "(auto)" suffix if
	// :ref:`transport <envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.transport>`
	// is set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`
	Field_TRANSPORT Field = 2
	// The Thrift message type, singed 16-bit integer value.
	Field_HEADER_FLAGS Field = 3
	// The Thrift sequence ID, singed 32-bit integer value.
	Field_SEQUENCE_ID Field = 4
	// The Thrift message type, string value. Values in request are "call" and "oneway", and in response are "reply" and "exception".
	Field_MESSAGE_TYPE Field = 5
	// The Thrift reply type, string value. This is only valid for response rules. Values are "success" and "error".
	Field_REPLY_TYPE Field = 6
)

// Enum value maps for Field.
var (
	Field_name = map[int32]string{
		0: "METHOD_NAME",
		1: "PROTOCOL",
		2: "TRANSPORT",
		3: "HEADER_FLAGS",
		4: "SEQUENCE_ID",
		5: "MESSAGE_TYPE",
		6: "REPLY_TYPE",
	}
	Field_value = map[string]int32{
		"METHOD_NAME":  0,
		"PROTOCOL":     1,
		"TRANSPORT":    2,
		"HEADER_FLAGS": 3,
		"SEQUENCE_ID":  4,
		"MESSAGE_TYPE": 5,
		"REPLY_TYPE":   6,
	}
)

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

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

func (Field) Descriptor() protoreflect.EnumDescriptor {
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_enumTypes[0].Descriptor()
}

func (Field) Type() protoreflect.EnumType {
	return &file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_enumTypes[0]
}

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

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

type KeyValuePair struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The namespace — if this is empty, the filter's namespace will be used.
	MetadataNamespace string `protobuf:"bytes,1,opt,name=metadata_namespace,json=metadataNamespace,proto3" json:"metadata_namespace,omitempty"`
	// The key to use within the namespace.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// When used for on_present case, if value is non-empty it'll be used instead
	// of the field value.
	//
	// When used for on_missing case, a non-empty value must be provided.
	Value         *structpb.Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*KeyValuePair) ProtoMessage() {}

func (x *KeyValuePair) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_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 KeyValuePair.ProtoReflect.Descriptor instead.
func (*KeyValuePair) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescGZIP(), []int{0}
}

func (x *KeyValuePair) GetMetadataNamespace() string {
	if x != nil {
		return x.MetadataNamespace
	}
	return ""
}

func (x *KeyValuePair) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *KeyValuePair) GetValue() *structpb.Value {
	if x != nil {
		return x.Value
	}
	return nil
}

type FieldSelector struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// field name to log
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// field id to match
	Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// next node of the field selector
	Child         *FieldSelector `protobuf:"bytes,3,opt,name=child,proto3" json:"child,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FieldSelector) ProtoMessage() {}

func (x *FieldSelector) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_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 FieldSelector.ProtoReflect.Descriptor instead.
func (*FieldSelector) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescGZIP(), []int{1}
}

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

func (x *FieldSelector) GetId() int32 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *FieldSelector) GetChild() *FieldSelector {
	if x != nil {
		return x.Child
	}
	return nil
}

// [#next-free-field: 6]
type Rule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The field to match on.
	// :ref:`field_selector<envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.Rule.field_selector>`
	// takes precedence if both are set.
	Field Field `protobuf:"varint,1,opt,name=field,proto3,enum=envoy.extensions.filters.http.thrift_to_metadata.v3.Field" json:"field,omitempty"`
	// Specifies that a match will be performed on the value of a field in the thrift body.
	// If set, the whole http body will be buffered to extract the field value, which
	// may have performance implications.
	//
	// It's a thrift over http version of
	// :ref:`field_selector<envoy_v3_api_field_extensions.filters.network.thrift_proxy.filters.payload_to_metadata.v3.PayloadToMetadata.Rule.field_selector>`.
	//
	// See also `payload-to-metadata <https://www.envoyproxy.io/docs/envoy/latest/configuration/other_protocols/thrift_filters/payload_to_metadata_filter>`_
	// for more reference.
	//
	// Example:
	//
	// .. code-block:: yaml
	//
	//	method_name: foo
	//	field_selector:
	//	  name: info
	//	  id: 2
	//	  child:
	//	    name: version
	//	    id: 1
	//
	// The above yaml will match on value of “info.version“ in the below thrift schema as input of
	// :ref:`on_present<envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.Rule.on_present>` or
	// :ref:`on_missing<envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.Rule.on_missing>`
	// while we are processing “foo“ method. This rule won't be applied to “bar“ method.
	//
	// .. code-block:: thrift
	//
	//	struct Info {
	//	  1: required string version;
	//	}
	//	service Server {
	//	  bool foo(1: i32 id, 2: Info info);
	//	  bool bar(1: i32 id, 2: Info info);
	//	}
	FieldSelector *FieldSelector `protobuf:"bytes,2,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"`
	// If specified, :ref:`field_selector<envoy_v3_api_field_extensions.filters.http.thrift_to_metadata.v3.Rule.field_selector>`
	// will be used to extract the field value *only* on the thrift message with method name.
	MethodName string `protobuf:"bytes,3,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	// The key-value pair to set in the *filter metadata* if the field is present
	// in *thrift metadata*.
	//
	// If the value in the KeyValuePair is non-empty, it'll be used instead
	// of field value.
	OnPresent *KeyValuePair `protobuf:"bytes,4,opt,name=on_present,json=onPresent,proto3" json:"on_present,omitempty"`
	// The key-value pair to set in the *filter metadata* if the field is missing
	// in *thrift metadata*.
	//
	// The value in the KeyValuePair must be set, since it'll be used in lieu
	// of the missing field value.
	OnMissing     *KeyValuePair `protobuf:"bytes,5,opt,name=on_missing,json=onMissing,proto3" json:"on_missing,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Rule) ProtoMessage() {}

func (x *Rule) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_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 Rule.ProtoReflect.Descriptor instead.
func (*Rule) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescGZIP(), []int{2}
}

func (x *Rule) GetField() Field {
	if x != nil {
		return x.Field
	}
	return Field_METHOD_NAME
}

func (x *Rule) GetFieldSelector() *FieldSelector {
	if x != nil {
		return x.FieldSelector
	}
	return nil
}

func (x *Rule) GetMethodName() string {
	if x != nil {
		return x.MethodName
	}
	return ""
}

func (x *Rule) GetOnPresent() *KeyValuePair {
	if x != nil {
		return x.OnPresent
	}
	return nil
}

func (x *Rule) GetOnMissing() *KeyValuePair {
	if x != nil {
		return x.OnMissing
	}
	return nil
}

// The configuration for transforming thrift metadata into filter metadata.
//
// [#next-free-field: 7]
type ThriftToMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of rules to apply to http request body to extract thrift metadata.
	RequestRules []*Rule `protobuf:"bytes,1,rep,name=request_rules,json=requestRules,proto3" json:"request_rules,omitempty"`
	// The list of rules to apply to http response body to extract thrift metadata.
	ResponseRules []*Rule `protobuf:"bytes,2,rep,name=response_rules,json=responseRules,proto3" json:"response_rules,omitempty"`
	// Supplies the type of transport that the Thrift proxy should use. Defaults to
	// :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`.
	Transport v3.TransportType `protobuf:"varint,3,opt,name=transport,proto3,enum=envoy.extensions.filters.network.thrift_proxy.v3.TransportType" json:"transport,omitempty"`
	// Supplies the type of protocol that the Thrift proxy should use. Defaults to
	// :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`.
	// Note that :ref:`LAX_BINARY<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.LAX_BINARY>`
	// is not distinguished by :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`,
	// which is the same with :ref:`thrift_proxy network filter <envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProxy>`.
	// Note that :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>` is
	// not supported due to deprecation in envoy.
	Protocol v3.ProtocolType `protobuf:"varint,4,opt,name=protocol,proto3,enum=envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType" json:"protocol,omitempty"`
	// Allowed content-type for thrift payload to filter metadata transformation.
	// Default to “{"application/x-thrift"}“.
	//
	// Set “allow_empty_content_type“ if empty/missing content-type header
	// is allowed.
	AllowContentTypes []string `protobuf:"bytes,5,rep,name=allow_content_types,json=allowContentTypes,proto3" json:"allow_content_types,omitempty"`
	// Allowed empty content-type for thrift payload to filter metadata transformation.
	// Default to false.
	AllowEmptyContentType bool `protobuf:"varint,6,opt,name=allow_empty_content_type,json=allowEmptyContentType,proto3" json:"allow_empty_content_type,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

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

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

func (*ThriftToMetadata) ProtoMessage() {}

func (x *ThriftToMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_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 ThriftToMetadata.ProtoReflect.Descriptor instead.
func (*ThriftToMetadata) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescGZIP(), []int{3}
}

func (x *ThriftToMetadata) GetRequestRules() []*Rule {
	if x != nil {
		return x.RequestRules
	}
	return nil
}

func (x *ThriftToMetadata) GetResponseRules() []*Rule {
	if x != nil {
		return x.ResponseRules
	}
	return nil
}

func (x *ThriftToMetadata) GetTransport() v3.TransportType {
	if x != nil {
		return x.Transport
	}
	return v3.TransportType(0)
}

func (x *ThriftToMetadata) GetProtocol() v3.ProtocolType {
	if x != nil {
		return x.Protocol
	}
	return v3.ProtocolType(0)
}

func (x *ThriftToMetadata) GetAllowContentTypes() []string {
	if x != nil {
		return x.AllowContentTypes
	}
	return nil
}

func (x *ThriftToMetadata) GetAllowEmptyContentType() bool {
	if x != nil {
		return x.AllowEmptyContentType
	}
	return false
}

// Thrift to metadata configuration on a per-route basis, which overrides the global configuration for
// request rules and responses rules.
type ThriftToMetadataPerRoute struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of rules to apply to http request body to extract thrift metadata.
	RequestRules []*Rule `protobuf:"bytes,1,rep,name=request_rules,json=requestRules,proto3" json:"request_rules,omitempty"`
	// The list of rules to apply to http response body to extract thrift metadata.
	ResponseRules []*Rule `protobuf:"bytes,2,rep,name=response_rules,json=responseRules,proto3" json:"response_rules,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ThriftToMetadataPerRoute) ProtoMessage() {}

func (x *ThriftToMetadataPerRoute) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_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 ThriftToMetadataPerRoute.ProtoReflect.Descriptor instead.
func (*ThriftToMetadataPerRoute) Descriptor() ([]byte, []int) {
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescGZIP(), []int{4}
}

func (x *ThriftToMetadataPerRoute) GetRequestRules() []*Rule {
	if x != nil {
		return x.RequestRules
	}
	return nil
}

func (x *ThriftToMetadataPerRoute) GetResponseRules() []*Rule {
	if x != nil {
		return x.ResponseRules
	}
	return nil
}

var File_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto protoreflect.FileDescriptor

const file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDesc = "" +
	"\n" +
	"Lenvoy/extensions/filters/http/thrift_to_metadata/v3/thrift_to_metadata.proto\x123envoy.extensions.filters.http.thrift_to_metadata.v3\x1aCenvoy/extensions/filters/network/thrift_proxy/v3/thrift_proxy.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fxds/annotations/v3/status.proto\x1a\x1dudpa/annotations/status.proto\x1a\x17validate/validate.proto\"\x86\x01\n" +
	"\fKeyValuePair\x12-\n" +
	"\x12metadata_namespace\x18\x01 \x01(\tR\x11metadataNamespace\x12\x19\n" +
	"\x03key\x18\x02 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\x03key\x12,\n" +
	"\x05value\x18\x03 \x01(\v2\x16.google.protobuf.ValueR\x05value\"\xac\x01\n" +
	"\rFieldSelector\x12\x1b\n" +
	"\x04name\x18\x01 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\x04name\x12$\n" +
	"\x02id\x18\x02 \x01(\x05B\x14\xfaB\x11\x1a\x0f\x18\xff\xff\x01(\x80\x80\xfe\xff\xff\xff\xff\xff\xff\x01R\x02id\x12X\n" +
	"\x05child\x18\x03 \x01(\v2B.envoy.extensions.filters.http.thrift_to_metadata.v3.FieldSelectorR\x05child\"\xa8\x03\n" +
	"\x04Rule\x12P\n" +
	"\x05field\x18\x01 \x01(\x0e2:.envoy.extensions.filters.http.thrift_to_metadata.v3.FieldR\x05field\x12i\n" +
	"\x0efield_selector\x18\x02 \x01(\v2B.envoy.extensions.filters.http.thrift_to_metadata.v3.FieldSelectorR\rfieldSelector\x12\x1f\n" +
	"\vmethod_name\x18\x03 \x01(\tR\n" +
	"methodName\x12`\n" +
	"\n" +
	"on_present\x18\x04 \x01(\v2A.envoy.extensions.filters.http.thrift_to_metadata.v3.KeyValuePairR\tonPresent\x12`\n" +
	"\n" +
	"on_missing\x18\x05 \x01(\v2A.envoy.extensions.filters.http.thrift_to_metadata.v3.KeyValuePairR\tonMissing\"\x9a\x04\n" +
	"\x10ThriftToMetadata\x12^\n" +
	"\rrequest_rules\x18\x01 \x03(\v29.envoy.extensions.filters.http.thrift_to_metadata.v3.RuleR\frequestRules\x12`\n" +
	"\x0eresponse_rules\x18\x02 \x03(\v29.envoy.extensions.filters.http.thrift_to_metadata.v3.RuleR\rresponseRules\x12g\n" +
	"\ttransport\x18\x03 \x01(\x0e2?.envoy.extensions.filters.network.thrift_proxy.v3.TransportTypeB\b\xfaB\x05\x82\x01\x02\x10\x01R\ttransport\x12d\n" +
	"\bprotocol\x18\x04 \x01(\x0e2>.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolTypeB\b\xfaB\x05\x82\x01\x02\x10\x01R\bprotocol\x12<\n" +
	"\x13allow_content_types\x18\x05 \x03(\tB\f\xfaB\t\x92\x01\x06\"\x04r\x02\x10\x01R\x11allowContentTypes\x127\n" +
	"\x18allow_empty_content_type\x18\x06 \x01(\bR\x15allowEmptyContentType\"\xe6\x01\n" +
	"\x18ThriftToMetadataPerRoute\x12^\n" +
	"\rrequest_rules\x18\x01 \x03(\v29.envoy.extensions.filters.http.thrift_to_metadata.v3.RuleR\frequestRules\x12`\n" +
	"\x0eresponse_rules\x18\x02 \x03(\v29.envoy.extensions.filters.http.thrift_to_metadata.v3.RuleR\rresponseRules:\b\xd2Ƥ\xe1\x06\x02\b\x01*z\n" +
	"\x05Field\x12\x0f\n" +
	"\vMETHOD_NAME\x10\x00\x12\f\n" +
	"\bPROTOCOL\x10\x01\x12\r\n" +
	"\tTRANSPORT\x10\x02\x12\x10\n" +
	"\fHEADER_FLAGS\x10\x03\x12\x0f\n" +
	"\vSEQUENCE_ID\x10\x04\x12\x10\n" +
	"\fMESSAGE_TYPE\x10\x05\x12\x0e\n" +
	"\n" +
	"REPLY_TYPE\x10\x06B\xd5\x01\xba\x80\xc8\xd1\x06\x02\x10\x02\n" +
	"Aio.envoyproxy.envoy.extensions.filters.http.thrift_to_metadata.v3B\x15ThriftToMetadataProtoP\x01Zogithub.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/thrift_to_metadata/v3;thrift_to_metadatav3b\x06proto3"

var (
	file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescOnce sync.Once
	file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescData []byte
)

func file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescGZIP() []byte {
	file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescOnce.Do(func() {
		file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDesc), len(file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDesc)))
	})
	return file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDescData
}

var file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_goTypes = []any{
	(Field)(0),                       // 0: envoy.extensions.filters.http.thrift_to_metadata.v3.Field
	(*KeyValuePair)(nil),             // 1: envoy.extensions.filters.http.thrift_to_metadata.v3.KeyValuePair
	(*FieldSelector)(nil),            // 2: envoy.extensions.filters.http.thrift_to_metadata.v3.FieldSelector
	(*Rule)(nil),                     // 3: envoy.extensions.filters.http.thrift_to_metadata.v3.Rule
	(*ThriftToMetadata)(nil),         // 4: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata
	(*ThriftToMetadataPerRoute)(nil), // 5: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadataPerRoute
	(*structpb.Value)(nil),           // 6: google.protobuf.Value
	(v3.TransportType)(0),            // 7: envoy.extensions.filters.network.thrift_proxy.v3.TransportType
	(v3.ProtocolType)(0),             // 8: envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType
}
var file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_depIdxs = []int32{
	6,  // 0: envoy.extensions.filters.http.thrift_to_metadata.v3.KeyValuePair.value:type_name -> google.protobuf.Value
	2,  // 1: envoy.extensions.filters.http.thrift_to_metadata.v3.FieldSelector.child:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.FieldSelector
	0,  // 2: envoy.extensions.filters.http.thrift_to_metadata.v3.Rule.field:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.Field
	2,  // 3: envoy.extensions.filters.http.thrift_to_metadata.v3.Rule.field_selector:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.FieldSelector
	1,  // 4: envoy.extensions.filters.http.thrift_to_metadata.v3.Rule.on_present:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.KeyValuePair
	1,  // 5: envoy.extensions.filters.http.thrift_to_metadata.v3.Rule.on_missing:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.KeyValuePair
	3,  // 6: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.request_rules:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.Rule
	3,  // 7: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.response_rules:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.Rule
	7,  // 8: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.transport:type_name -> envoy.extensions.filters.network.thrift_proxy.v3.TransportType
	8,  // 9: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadata.protocol:type_name -> envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType
	3,  // 10: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadataPerRoute.request_rules:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.Rule
	3,  // 11: envoy.extensions.filters.http.thrift_to_metadata.v3.ThriftToMetadataPerRoute.response_rules:type_name -> envoy.extensions.filters.http.thrift_to_metadata.v3.Rule
	12, // [12:12] is the sub-list for method output_type
	12, // [12:12] is the sub-list for method input_type
	12, // [12:12] is the sub-list for extension type_name
	12, // [12:12] is the sub-list for extension extendee
	0,  // [0:12] is the sub-list for field type_name
}

func init() { file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_init() }
func file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_init() {
	if File_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDesc), len(file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_goTypes,
		DependencyIndexes: file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_depIdxs,
		EnumInfos:         file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_enumTypes,
		MessageInfos:      file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_msgTypes,
	}.Build()
	File_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto = out.File
	file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_goTypes = nil
	file_envoy_extensions_filters_http_thrift_to_metadata_v3_thrift_to_metadata_proto_depIdxs = nil
}
