// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v7.35.1
// source: envoy/extensions/clusters/common/dns/v3/dns.proto

package dnsv3

import (
	_ "github.com/cncf/xds/go/udpa/annotations"
	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)
)

type DnsLookupFamily int32

const (
	DnsLookupFamily_UNSPECIFIED  DnsLookupFamily = 0
	DnsLookupFamily_AUTO         DnsLookupFamily = 1
	DnsLookupFamily_V4_ONLY      DnsLookupFamily = 2
	DnsLookupFamily_V6_ONLY      DnsLookupFamily = 3
	DnsLookupFamily_V4_PREFERRED DnsLookupFamily = 4
	DnsLookupFamily_ALL          DnsLookupFamily = 5
)

// Enum value maps for DnsLookupFamily.
var (
	DnsLookupFamily_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "AUTO",
		2: "V4_ONLY",
		3: "V6_ONLY",
		4: "V4_PREFERRED",
		5: "ALL",
	}
	DnsLookupFamily_value = map[string]int32{
		"UNSPECIFIED":  0,
		"AUTO":         1,
		"V4_ONLY":      2,
		"V6_ONLY":      3,
		"V4_PREFERRED": 4,
		"ALL":          5,
	}
)

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

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

func (DnsLookupFamily) Descriptor() protoreflect.EnumDescriptor {
	return file_envoy_extensions_clusters_common_dns_v3_dns_proto_enumTypes[0].Descriptor()
}

func (DnsLookupFamily) Type() protoreflect.EnumType {
	return &file_envoy_extensions_clusters_common_dns_v3_dns_proto_enumTypes[0]
}

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

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

var File_envoy_extensions_clusters_common_dns_v3_dns_proto protoreflect.FileDescriptor

const file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDesc = "" +
	"\n" +
	"1envoy/extensions/clusters/common/dns/v3/dns.proto\x12'envoy.extensions.clusters.common.dns.v3\x1a\x1dudpa/annotations/status.proto*a\n" +
	"\x0fDnsLookupFamily\x12\x0f\n" +
	"\vUNSPECIFIED\x10\x00\x12\b\n" +
	"\x04AUTO\x10\x01\x12\v\n" +
	"\aV4_ONLY\x10\x02\x12\v\n" +
	"\aV6_ONLY\x10\x03\x12\x10\n" +
	"\fV4_PREFERRED\x10\x04\x12\a\n" +
	"\x03ALL\x10\x05B\xa1\x01\xba\x80\xc8\xd1\x06\x02\x10\x02\n" +
	"5io.envoyproxy.envoy.extensions.clusters.common.dns.v3B\bDnsProtoP\x01ZTgithub.com/envoyproxy/go-control-plane/envoy/extensions/clusters/common/dns/v3;dnsv3b\x06proto3"

var (
	file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDescOnce sync.Once
	file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDescData []byte
)

func file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDescGZIP() []byte {
	file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDescOnce.Do(func() {
		file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDesc), len(file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDesc)))
	})
	return file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDescData
}

var file_envoy_extensions_clusters_common_dns_v3_dns_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_envoy_extensions_clusters_common_dns_v3_dns_proto_goTypes = []any{
	(DnsLookupFamily)(0), // 0: envoy.extensions.clusters.common.dns.v3.DnsLookupFamily
}
var file_envoy_extensions_clusters_common_dns_v3_dns_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_envoy_extensions_clusters_common_dns_v3_dns_proto_init() }
func file_envoy_extensions_clusters_common_dns_v3_dns_proto_init() {
	if File_envoy_extensions_clusters_common_dns_v3_dns_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_clusters_common_dns_v3_dns_proto_rawDesc), len(file_envoy_extensions_clusters_common_dns_v3_dns_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_envoy_extensions_clusters_common_dns_v3_dns_proto_goTypes,
		DependencyIndexes: file_envoy_extensions_clusters_common_dns_v3_dns_proto_depIdxs,
		EnumInfos:         file_envoy_extensions_clusters_common_dns_v3_dns_proto_enumTypes,
	}.Build()
	File_envoy_extensions_clusters_common_dns_v3_dns_proto = out.File
	file_envoy_extensions_clusters_common_dns_v3_dns_proto_goTypes = nil
	file_envoy_extensions_clusters_common_dns_v3_dns_proto_depIdxs = nil
}
