Debian Codegraph @

envoy/config/common/dynamic_forward_proxy/v2alpha/dns_cache.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/common/dynamic_forward_proxy/v2alpha/dns_cache.proto
6
7 package v2alpha
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v2 "github.com/envoyproxy/go-control-plane/envoy/api/v2"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 durationpb "google.golang.org/protobuf/types/known/durationpb"
16 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22 // Verify that this generated code is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24 // Verify that runtime/protoimpl is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28 // Configuration for the dynamic forward proxy DNS cache. See the :ref:`architecture overview
29 // <arch_overview_http_dynamic_forward_proxy>` for more information.
30 // [#next-free-field: 7]
31 type DnsCacheConfig struct {
32 state protoimpl.MessageState
33 sizeCache protoimpl.SizeCache
34 unknownFields protoimpl.UnknownFields
35
36 // The name of the cache. Multiple named caches allow independent dynamic forward proxy
37 // configurations to operate within a single Envoy process using different configurations. All
38 // configurations with the same name *must* otherwise have the same settings when referenced
39 // from different configuration components. Configuration will fail to load if this is not
40 // the case.
41 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
42 // The DNS lookup family to use during resolution.
43 //
44 // [#comment:TODO(mattklein123): Figure out how to support IPv4/IPv6 "happy eyeballs" mode. The
45 // way this might work is a new lookup family which returns both IPv4 and IPv6 addresses, and
46 // then configures a host to have a primary and fall back address. With this, we could very
47 // likely build a "happy eyeballs" connection pool which would race the primary / fall back
48 // address and return the one that wins. This same method could potentially also be used for
49 // QUIC to TCP fall back.]
50 DnsLookupFamily v2.Cluster_DnsLookupFamily `protobuf:"varint,2,opt,name=dns_lookup_family,json=dnsLookupFamily,proto3,enum=envoy.api.v2.Cluster_DnsLookupFamily" json:"dns_lookup_family,omitempty"`
51 // The DNS refresh rate for currently cached DNS hosts. If not specified defaults to 60s.
52 //
53 // .. note:
54 //
55 // The returned DNS TTL is not currently used to alter the refresh rate. This feature will be
56 // added in a future change.
57 //
58 // .. note:
59 //
60 // The refresh rate is rounded to the closest millisecond, and must be at least 1ms.
61 DnsRefreshRate *durationpb.Duration `protobuf:"bytes,3,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
62 // The TTL for hosts that are unused. Hosts that have not been used in the configured time
63 // interval will be purged. If not specified defaults to 5m.
64 //
65 // .. note:
66 //
67 // The TTL is only checked at the time of DNS refresh, as specified by *dns_refresh_rate*. This
68 // means that if the configured TTL is shorter than the refresh rate the host may not be removed
69 // immediately.
70 //
71 // .. note:
72 //
73 // The TTL has no relation to DNS TTL and is only used to control Envoy's resource usage.
74 HostTtl *durationpb.Duration `protobuf:"bytes,4,opt,name=host_ttl,json=hostTtl,proto3" json:"host_ttl,omitempty"`
75 // The maximum number of hosts that the cache will hold. If not specified defaults to 1024.
76 //
77 // .. note:
78 //
79 // The implementation is approximate and enforced independently on each worker thread, thus
80 // it is possible for the maximum hosts in the cache to go slightly above the configured
81 // value depending on timing. This is similar to how other circuit breakers work.
82 MaxHosts *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=max_hosts,json=maxHosts,proto3" json:"max_hosts,omitempty"`
83 // If the DNS failure refresh rate is specified,
84 // this is used as the cache's DNS refresh rate when DNS requests are failing. If this setting is
85 // not specified, the failure refresh rate defaults to the dns_refresh_rate.
86 DnsFailureRefreshRate *v2.Cluster_RefreshRate `protobuf:"bytes,6,opt,name=dns_failure_refresh_rate,json=dnsFailureRefreshRate,proto3" json:"dns_failure_refresh_rate,omitempty"`
87 }
88
89 func (x *DnsCacheConfig) Reset() {
90 *x = DnsCacheConfig{}
91 if protoimpl.UnsafeEnabled {
92 mi := &file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_msgTypes[0]
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 ms.StoreMessageInfo(mi)
95 }
96 }
97
98 func (x *DnsCacheConfig) String() string {
99 return protoimpl.X.MessageStringOf(x)
100 }
101
102 func (*DnsCacheConfig) ProtoMessage() {}
103
104 func (x *DnsCacheConfig) ProtoReflect() protoreflect.Message {
105 mi := &file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_msgTypes[0]
106 if protoimpl.UnsafeEnabled && x != nil {
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 if ms.LoadMessageInfo() == nil {
109 ms.StoreMessageInfo(mi)
110 }
111 return ms
112 }
113 return mi.MessageOf(x)
114 }
115
116 // Deprecated: Use DnsCacheConfig.ProtoReflect.Descriptor instead.
117 func (*DnsCacheConfig) Descriptor() ([]byte, []int) {
118 return file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescGZIP(), []int{0}
119 }
120
121 func (x *DnsCacheConfig) GetName() string {
122 if x != nil {
123 return x.Name
124 }
125 return ""
126 }
127
128 func (x *DnsCacheConfig) GetDnsLookupFamily() v2.Cluster_DnsLookupFamily {
129 if x != nil {
130 return x.DnsLookupFamily
131 }
132 return v2.Cluster_DnsLookupFamily(0)
133 }
134
135 func (x *DnsCacheConfig) GetDnsRefreshRate() *durationpb.Duration {
136 if x != nil {
137 return x.DnsRefreshRate
138 }
139 return nil
140 }
141
142 func (x *DnsCacheConfig) GetHostTtl() *durationpb.Duration {
143 if x != nil {
144 return x.HostTtl
145 }
146 return nil
147 }
148
149 func (x *DnsCacheConfig) GetMaxHosts() *wrapperspb.UInt32Value {
150 if x != nil {
151 return x.MaxHosts
152 }
153 return nil
154 }
155
156 func (x *DnsCacheConfig) GetDnsFailureRefreshRate() *v2.Cluster_RefreshRate {
157 if x != nil {
158 return x.DnsFailureRefreshRate
159 }
160 return nil
161 }
162
163 var File_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto protoreflect.FileDescriptor
164
165 var file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDesc = []byte{
166 0x0a, 0x41, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
167 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f,
168 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c,
169 0x70, 0x68, 0x61, 0x2f, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x70, 0x72,
170 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
171 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
172 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76,
173 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70,
174 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
175 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
176 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
177 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
178 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
179 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
180 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
181 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
182 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
183 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
184 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x03, 0x0a, 0x0e, 0x44,
185 0x6e, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a,
186 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
187 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x11, 0x64, 0x6e,
188 0x73, 0x5f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18,
189 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
190 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x44, 0x6e, 0x73,
191 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x42, 0x08, 0xfa, 0x42,
192 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0f, 0x64, 0x6e, 0x73, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
193 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x51, 0x0a, 0x10, 0x64, 0x6e, 0x73, 0x5f, 0x72,
194 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
195 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
196 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0xfa, 0x42,
197 0x09, 0xaa, 0x01, 0x06, 0x32, 0x04, 0x10, 0xc0, 0x84, 0x3d, 0x52, 0x0e, 0x64, 0x6e, 0x73, 0x52,
198 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x68, 0x6f,
199 0x73, 0x74, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
200 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
201 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a,
202 0x00, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x54, 0x74, 0x6c, 0x12, 0x42, 0x0a, 0x09, 0x6d, 0x61,
203 0x78, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
204 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
205 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04,
206 0x2a, 0x02, 0x20, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x5a,
207 0x0a, 0x18, 0x64, 0x6e, 0x73, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65,
208 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
209 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
210 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52,
211 0x61, 0x74, 0x65, 0x52, 0x15, 0x64, 0x6e, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52,
212 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x61, 0x74, 0x65, 0x42, 0xec, 0x01, 0xf2, 0x98, 0xfe,
213 0x8f, 0x05, 0x32, 0x12, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e,
214 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x64, 0x79, 0x6e,
215 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f,
216 0x78, 0x79, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x0a, 0x3f, 0x69,
217 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
218 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
219 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
220 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0d,
221 0x44, 0x6e, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
222 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
223 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
224 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
225 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x64, 0x79, 0x6e, 0x61,
226 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x78,
227 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
228 0x33,
229 }
230
231 var (
232 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescOnce sync.Once
233 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescData = file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDesc
234 )
235
236 func file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescGZIP() []byte {
237 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescOnce.Do(func() {
238 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescData)
239 })
240 return file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDescData
241 }
242
243 var file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
244 var file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_goTypes = []interface{}{
245 (*DnsCacheConfig)(nil), // 0: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig
246 (v2.Cluster_DnsLookupFamily)(0), // 1: envoy.api.v2.Cluster.DnsLookupFamily
247 (*durationpb.Duration)(nil), // 2: google.protobuf.Duration
248 (*wrapperspb.UInt32Value)(nil), // 3: google.protobuf.UInt32Value
249 (*v2.Cluster_RefreshRate)(nil), // 4: envoy.api.v2.Cluster.RefreshRate
250 }
251 var file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_depIdxs = []int32{
252 1, // 0: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig.dns_lookup_family:type_name -> envoy.api.v2.Cluster.DnsLookupFamily
253 2, // 1: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig.dns_refresh_rate:type_name -> google.protobuf.Duration
254 2, // 2: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig.host_ttl:type_name -> google.protobuf.Duration
255 3, // 3: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig.max_hosts:type_name -> google.protobuf.UInt32Value
256 4, // 4: envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig.dns_failure_refresh_rate:type_name -> envoy.api.v2.Cluster.RefreshRate
257 5, // [5:5] is the sub-list for method output_type
258 5, // [5:5] is the sub-list for method input_type
259 5, // [5:5] is the sub-list for extension type_name
260 5, // [5:5] is the sub-list for extension extendee
261 0, // [0:5] is the sub-list for field type_name
262 }
263
264 func init() { file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_init() }
265 func file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_init() {
266 if File_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto != nil {
267 return
268 }
269 if !protoimpl.UnsafeEnabled {
270 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
271 switch v := v.(*DnsCacheConfig); i {
272 case 0:
273 return &v.state
274 case 1:
275 return &v.sizeCache
276 case 2:
277 return &v.unknownFields
278 default:
279 return nil
280 }
281 }
282 }
283 type x struct{}
284 out := protoimpl.TypeBuilder{
285 File: protoimpl.DescBuilder{
286 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
287 RawDescriptor: file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDesc,
288 NumEnums: 0,
289 NumMessages: 1,
290 NumExtensions: 0,
291 NumServices: 0,
292 },
293 GoTypes: file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_goTypes,
294 DependencyIndexes: file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_depIdxs,
295 MessageInfos: file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_msgTypes,
296 }.Build()
297 File_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto = out.File
298 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_rawDesc = nil
299 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_goTypes = nil
300 file_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto_depIdxs = nil
301 }