// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.32.1
// source: standalone-dns-proxy/standalone-dns-proxy.proto

package standalonednsproxy

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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)
)

// Response code returned by RPC methods.
type ResponseCode int32

const (
	ResponseCode_RESPONSE_CODE_UNSPECIFIED              ResponseCode = 0
	ResponseCode_RESPONSE_CODE_NO_ERROR                 ResponseCode = 1
	ResponseCode_RESPONSE_CODE_FORMAT_ERROR             ResponseCode = 2
	ResponseCode_RESPONSE_CODE_SERVER_FAILURE           ResponseCode = 3
	ResponseCode_RESPONSE_CODE_NOT_IMPLEMENTED          ResponseCode = 4
	ResponseCode_RESPONSE_CODE_ERROR_INVALID_ARGUMENT   ResponseCode = 6 // Invalid argument passed to the RPC method
	ResponseCode_RESPONSE_CODE_ERROR_ENDPOINT_NOT_FOUND ResponseCode = 5 // Endpoint not found for the given IP
	ResponseCode_RESPONSE_CODE_REFUSED                  ResponseCode = 7
)

// Enum value maps for ResponseCode.
var (
	ResponseCode_name = map[int32]string{
		0: "RESPONSE_CODE_UNSPECIFIED",
		1: "RESPONSE_CODE_NO_ERROR",
		2: "RESPONSE_CODE_FORMAT_ERROR",
		3: "RESPONSE_CODE_SERVER_FAILURE",
		4: "RESPONSE_CODE_NOT_IMPLEMENTED",
		6: "RESPONSE_CODE_ERROR_INVALID_ARGUMENT",
		5: "RESPONSE_CODE_ERROR_ENDPOINT_NOT_FOUND",
		7: "RESPONSE_CODE_REFUSED",
	}
	ResponseCode_value = map[string]int32{
		"RESPONSE_CODE_UNSPECIFIED":              0,
		"RESPONSE_CODE_NO_ERROR":                 1,
		"RESPONSE_CODE_FORMAT_ERROR":             2,
		"RESPONSE_CODE_SERVER_FAILURE":           3,
		"RESPONSE_CODE_NOT_IMPLEMENTED":          4,
		"RESPONSE_CODE_ERROR_INVALID_ARGUMENT":   6,
		"RESPONSE_CODE_ERROR_ENDPOINT_NOT_FOUND": 5,
		"RESPONSE_CODE_REFUSED":                  7,
	}
)

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

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

func (ResponseCode) Descriptor() protoreflect.EnumDescriptor {
	return file_standalone_dns_proxy_standalone_dns_proxy_proto_enumTypes[0].Descriptor()
}

func (ResponseCode) Type() protoreflect.EnumType {
	return &file_standalone_dns_proxy_standalone_dns_proxy_proto_enumTypes[0]
}

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

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

// Ack sent from SDP to Agent on processing DNS policy rules
type PolicyStateResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Response      ResponseCode           `protobuf:"varint,1,opt,name=response,proto3,enum=standalonednsproxy.ResponseCode" json:"response,omitempty"`
	RequestId     string                 `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Request ID for which response is sent to
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicyStateResponse) ProtoMessage() {}

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

func (x *PolicyStateResponse) GetResponse() ResponseCode {
	if x != nil {
		return x.Response
	}
	return ResponseCode_RESPONSE_CODE_UNSPECIFIED
}

func (x *PolicyStateResponse) GetRequestId() string {
	if x != nil {
		return x.RequestId
	}
	return ""
}

// FQDN-IP mapping goalstate sent from SDP to agent
type FQDNMapping struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Fqdn           string                 `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"`                                            // dns name
	RecordIp       [][]byte               `protobuf:"bytes,2,rep,name=record_ip,json=recordIp,proto3" json:"record_ip,omitempty"`                    // List of IPs corresponding to dns name
	Ttl            uint32                 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`                                             // TTL of DNS record
	SourceIdentity uint32                 `protobuf:"varint,4,opt,name=source_identity,json=sourceIdentity,proto3" json:"source_identity,omitempty"` // Identity of the client making the DNS request
	SourceIp       []byte                 `protobuf:"bytes,5,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`                    // IP address of the client making the DNS request
	ResponseCode   uint32                 `protobuf:"varint,6,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`       // DNS Response code as specified in RFC2316
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*FQDNMapping) ProtoMessage() {}

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

func (x *FQDNMapping) GetFqdn() string {
	if x != nil {
		return x.Fqdn
	}
	return ""
}

func (x *FQDNMapping) GetRecordIp() [][]byte {
	if x != nil {
		return x.RecordIp
	}
	return nil
}

func (x *FQDNMapping) GetTtl() uint32 {
	if x != nil {
		return x.Ttl
	}
	return 0
}

func (x *FQDNMapping) GetSourceIdentity() uint32 {
	if x != nil {
		return x.SourceIdentity
	}
	return 0
}

func (x *FQDNMapping) GetSourceIp() []byte {
	if x != nil {
		return x.SourceIp
	}
	return nil
}

func (x *FQDNMapping) GetResponseCode() uint32 {
	if x != nil {
		return x.ResponseCode
	}
	return 0
}

// Ack returned by cilium agent to SDP on receiving FQDN-IP mapping update
type UpdateMappingResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Response      ResponseCode           `protobuf:"varint,1,opt,name=response,proto3,enum=standalonednsproxy.ResponseCode" json:"response,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateMappingResponse) ProtoMessage() {}

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

func (x *UpdateMappingResponse) GetResponse() ResponseCode {
	if x != nil {
		return x.Response
	}
	return ResponseCode_RESPONSE_CODE_UNSPECIFIED
}

// DNServer identity, port and protocol the requests be allowed to
type DNSServer struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	DnsServerIdentity uint32                 `protobuf:"varint,1,opt,name=dns_server_identity,json=dnsServerIdentity,proto3" json:"dns_server_identity,omitempty"` // Identity of destination DNS server
	DnsServerPort     uint32                 `protobuf:"varint,2,opt,name=dns_server_port,json=dnsServerPort,proto3" json:"dns_server_port,omitempty"`
	DnsServerProto    uint32                 `protobuf:"varint,3,opt,name=dns_server_proto,json=dnsServerProto,proto3" json:"dns_server_proto,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*DNSServer) ProtoMessage() {}

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

func (x *DNSServer) GetDnsServerIdentity() uint32 {
	if x != nil {
		return x.DnsServerIdentity
	}
	return 0
}

func (x *DNSServer) GetDnsServerPort() uint32 {
	if x != nil {
		return x.DnsServerPort
	}
	return 0
}

func (x *DNSServer) GetDnsServerProto() uint32 {
	if x != nil {
		return x.DnsServerProto
	}
	return 0
}

// L7 DNS policy specifying which requests are permitted to which DNS server
type DNSPolicy struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	SourceEndpointId uint32                 `protobuf:"varint,1,opt,name=source_endpoint_id,json=sourceEndpointId,proto3" json:"source_endpoint_id,omitempty"` // Endpoint ID of the workload this L7 DNS policy should apply to
	DnsPattern       []string               `protobuf:"bytes,2,rep,name=dns_pattern,json=dnsPattern,proto3" json:"dns_pattern,omitempty"`                      // Allowed DNS pattern this identity is allowed to resolve.
	DnsServers       []*DNSServer           `protobuf:"bytes,3,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`                      // List of DNS servers to be allowed to connect.
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*DNSPolicy) ProtoMessage() {}

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

func (x *DNSPolicy) GetSourceEndpointId() uint32 {
	if x != nil {
		return x.SourceEndpointId
	}
	return 0
}

func (x *DNSPolicy) GetDnsPattern() []string {
	if x != nil {
		return x.DnsPattern
	}
	return nil
}

func (x *DNSPolicy) GetDnsServers() []*DNSServer {
	if x != nil {
		return x.DnsServers
	}
	return nil
}

// L7 DNS policy snapshot of all local endpoints and identity to ip mapping of source
// and destinatione egress endpoints enforcing fqdn rules.
type PolicyState struct {
	state                     protoimpl.MessageState       `protogen:"open.v1"`
	EgressL7DnsPolicy         []*DNSPolicy                 `protobuf:"bytes,1,rep,name=egress_l7_dns_policy,json=egressL7DnsPolicy,proto3" json:"egress_l7_dns_policy,omitempty"`
	RequestId                 string                       `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`                                                     // Random UUID based identifier which will be referenced in ACKs
	IdentityToEndpointMapping []*IdentityToEndpointMapping `protobuf:"bytes,3,rep,name=identity_to_endpoint_mapping,json=identityToEndpointMapping,proto3" json:"identity_to_endpoint_mapping,omitempty"` // Identity to Endpoint mapping for the DNS server and the source identity
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

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

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

func (*PolicyState) ProtoMessage() {}

func (x *PolicyState) ProtoReflect() protoreflect.Message {
	mi := &file_standalone_dns_proxy_standalone_dns_proxy_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 PolicyState.ProtoReflect.Descriptor instead.
func (*PolicyState) Descriptor() ([]byte, []int) {
	return file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescGZIP(), []int{5}
}

func (x *PolicyState) GetEgressL7DnsPolicy() []*DNSPolicy {
	if x != nil {
		return x.EgressL7DnsPolicy
	}
	return nil
}

func (x *PolicyState) GetRequestId() string {
	if x != nil {
		return x.RequestId
	}
	return ""
}

func (x *PolicyState) GetIdentityToEndpointMapping() []*IdentityToEndpointMapping {
	if x != nil {
		return x.IdentityToEndpointMapping
	}
	return nil
}

// Cilium Identity ID to IP address mapping
type IdentityToEndpointMapping struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Identity      uint32                 `protobuf:"varint,1,opt,name=identity,proto3" json:"identity,omitempty"`
	EndpointInfo  []*EndpointInfo        `protobuf:"bytes,2,rep,name=endpoint_info,json=endpointInfo,proto3" json:"endpoint_info,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*IdentityToEndpointMapping) ProtoMessage() {}

func (x *IdentityToEndpointMapping) ProtoReflect() protoreflect.Message {
	mi := &file_standalone_dns_proxy_standalone_dns_proxy_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 IdentityToEndpointMapping.ProtoReflect.Descriptor instead.
func (*IdentityToEndpointMapping) Descriptor() ([]byte, []int) {
	return file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescGZIP(), []int{6}
}

func (x *IdentityToEndpointMapping) GetIdentity() uint32 {
	if x != nil {
		return x.Identity
	}
	return 0
}

func (x *IdentityToEndpointMapping) GetEndpointInfo() []*EndpointInfo {
	if x != nil {
		return x.EndpointInfo
	}
	return nil
}

// cilium endpoint ipaddress and ID
type EndpointInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Ip            [][]byte               `protobuf:"bytes,2,rep,name=ip,proto3" json:"ip,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EndpointInfo) ProtoMessage() {}

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

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

func (x *EndpointInfo) GetIp() [][]byte {
	if x != nil {
		return x.Ip
	}
	return nil
}

var File_standalone_dns_proxy_standalone_dns_proxy_proto protoreflect.FileDescriptor

const file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDesc = "" +
	"\n" +
	"/standalone-dns-proxy/standalone-dns-proxy.proto\x12\x12standalonednsproxy\"r\n" +
	"\x13PolicyStateResponse\x12<\n" +
	"\bresponse\x18\x01 \x01(\x0e2 .standalonednsproxy.ResponseCodeR\bresponse\x12\x1d\n" +
	"\n" +
	"request_id\x18\x02 \x01(\tR\trequestId\"\xbb\x01\n" +
	"\vFQDNMapping\x12\x12\n" +
	"\x04fqdn\x18\x01 \x01(\tR\x04fqdn\x12\x1b\n" +
	"\trecord_ip\x18\x02 \x03(\fR\brecordIp\x12\x10\n" +
	"\x03ttl\x18\x03 \x01(\rR\x03ttl\x12'\n" +
	"\x0fsource_identity\x18\x04 \x01(\rR\x0esourceIdentity\x12\x1b\n" +
	"\tsource_ip\x18\x05 \x01(\fR\bsourceIp\x12#\n" +
	"\rresponse_code\x18\x06 \x01(\rR\fresponseCode\"U\n" +
	"\x15UpdateMappingResponse\x12<\n" +
	"\bresponse\x18\x01 \x01(\x0e2 .standalonednsproxy.ResponseCodeR\bresponse\"\x8d\x01\n" +
	"\tDNSServer\x12.\n" +
	"\x13dns_server_identity\x18\x01 \x01(\rR\x11dnsServerIdentity\x12&\n" +
	"\x0fdns_server_port\x18\x02 \x01(\rR\rdnsServerPort\x12(\n" +
	"\x10dns_server_proto\x18\x03 \x01(\rR\x0ednsServerProto\"\x9a\x01\n" +
	"\tDNSPolicy\x12,\n" +
	"\x12source_endpoint_id\x18\x01 \x01(\rR\x10sourceEndpointId\x12\x1f\n" +
	"\vdns_pattern\x18\x02 \x03(\tR\n" +
	"dnsPattern\x12>\n" +
	"\vdns_servers\x18\x03 \x03(\v2\x1d.standalonednsproxy.DNSServerR\n" +
	"dnsServers\"\xec\x01\n" +
	"\vPolicyState\x12N\n" +
	"\x14egress_l7_dns_policy\x18\x01 \x03(\v2\x1d.standalonednsproxy.DNSPolicyR\x11egressL7DnsPolicy\x12\x1d\n" +
	"\n" +
	"request_id\x18\x02 \x01(\tR\trequestId\x12n\n" +
	"\x1cidentity_to_endpoint_mapping\x18\x03 \x03(\v2-.standalonednsproxy.IdentityToEndpointMappingR\x19identityToEndpointMapping\"~\n" +
	"\x19IdentityToEndpointMapping\x12\x1a\n" +
	"\bidentity\x18\x01 \x01(\rR\bidentity\x12E\n" +
	"\rendpoint_info\x18\x02 \x03(\v2 .standalonednsproxy.EndpointInfoR\fendpointInfo\".\n" +
	"\fEndpointInfo\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x04R\x02id\x12\x0e\n" +
	"\x02ip\x18\x02 \x03(\fR\x02ip*\x9f\x02\n" +
	"\fResponseCode\x12\x1d\n" +
	"\x19RESPONSE_CODE_UNSPECIFIED\x10\x00\x12\x1a\n" +
	"\x16RESPONSE_CODE_NO_ERROR\x10\x01\x12\x1e\n" +
	"\x1aRESPONSE_CODE_FORMAT_ERROR\x10\x02\x12 \n" +
	"\x1cRESPONSE_CODE_SERVER_FAILURE\x10\x03\x12!\n" +
	"\x1dRESPONSE_CODE_NOT_IMPLEMENTED\x10\x04\x12(\n" +
	"$RESPONSE_CODE_ERROR_INVALID_ARGUMENT\x10\x06\x12*\n" +
	"&RESPONSE_CODE_ERROR_ENDPOINT_NOT_FOUND\x10\x05\x12\x19\n" +
	"\x15RESPONSE_CODE_REFUSED\x10\a2\xd5\x01\n" +
	"\bFQDNData\x12c\n" +
	"\x11StreamPolicyState\x12'.standalonednsproxy.PolicyStateResponse\x1a\x1f.standalonednsproxy.PolicyState\"\x00(\x010\x01\x12d\n" +
	"\x14UpdateMappingRequest\x12\x1f.standalonednsproxy.FQDNMapping\x1a).standalonednsproxy.UpdateMappingResponse\"\x00B4Z2github.com/cilium/cilium/api/v1/standalonednsproxyb\x06proto3"

var (
	file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescOnce sync.Once
	file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescData []byte
)

func file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescGZIP() []byte {
	file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescOnce.Do(func() {
		file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDesc), len(file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDesc)))
	})
	return file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDescData
}

var file_standalone_dns_proxy_standalone_dns_proxy_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_standalone_dns_proxy_standalone_dns_proxy_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_standalone_dns_proxy_standalone_dns_proxy_proto_goTypes = []any{
	(ResponseCode)(0),                 // 0: standalonednsproxy.ResponseCode
	(*PolicyStateResponse)(nil),       // 1: standalonednsproxy.PolicyStateResponse
	(*FQDNMapping)(nil),               // 2: standalonednsproxy.FQDNMapping
	(*UpdateMappingResponse)(nil),     // 3: standalonednsproxy.UpdateMappingResponse
	(*DNSServer)(nil),                 // 4: standalonednsproxy.DNSServer
	(*DNSPolicy)(nil),                 // 5: standalonednsproxy.DNSPolicy
	(*PolicyState)(nil),               // 6: standalonednsproxy.PolicyState
	(*IdentityToEndpointMapping)(nil), // 7: standalonednsproxy.IdentityToEndpointMapping
	(*EndpointInfo)(nil),              // 8: standalonednsproxy.EndpointInfo
}
var file_standalone_dns_proxy_standalone_dns_proxy_proto_depIdxs = []int32{
	0, // 0: standalonednsproxy.PolicyStateResponse.response:type_name -> standalonednsproxy.ResponseCode
	0, // 1: standalonednsproxy.UpdateMappingResponse.response:type_name -> standalonednsproxy.ResponseCode
	4, // 2: standalonednsproxy.DNSPolicy.dns_servers:type_name -> standalonednsproxy.DNSServer
	5, // 3: standalonednsproxy.PolicyState.egress_l7_dns_policy:type_name -> standalonednsproxy.DNSPolicy
	7, // 4: standalonednsproxy.PolicyState.identity_to_endpoint_mapping:type_name -> standalonednsproxy.IdentityToEndpointMapping
	8, // 5: standalonednsproxy.IdentityToEndpointMapping.endpoint_info:type_name -> standalonednsproxy.EndpointInfo
	1, // 6: standalonednsproxy.FQDNData.StreamPolicyState:input_type -> standalonednsproxy.PolicyStateResponse
	2, // 7: standalonednsproxy.FQDNData.UpdateMappingRequest:input_type -> standalonednsproxy.FQDNMapping
	6, // 8: standalonednsproxy.FQDNData.StreamPolicyState:output_type -> standalonednsproxy.PolicyState
	3, // 9: standalonednsproxy.FQDNData.UpdateMappingRequest:output_type -> standalonednsproxy.UpdateMappingResponse
	8, // [8:10] is the sub-list for method output_type
	6, // [6:8] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_standalone_dns_proxy_standalone_dns_proxy_proto_init() }
func file_standalone_dns_proxy_standalone_dns_proxy_proto_init() {
	if File_standalone_dns_proxy_standalone_dns_proxy_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDesc), len(file_standalone_dns_proxy_standalone_dns_proxy_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_standalone_dns_proxy_standalone_dns_proxy_proto_goTypes,
		DependencyIndexes: file_standalone_dns_proxy_standalone_dns_proxy_proto_depIdxs,
		EnumInfos:         file_standalone_dns_proxy_standalone_dns_proxy_proto_enumTypes,
		MessageInfos:      file_standalone_dns_proxy_standalone_dns_proxy_proto_msgTypes,
	}.Build()
	File_standalone_dns_proxy_standalone_dns_proxy_proto = out.File
	file_standalone_dns_proxy_standalone_dns_proxy_proto_goTypes = nil
	file_standalone_dns_proxy_standalone_dns_proxy_proto_depIdxs = nil
}
