gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/data/dns/v2alpha/dns_table.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/data/dns/v2alpha/dns_table.proto 6 7 package envoy_data_dns_v2alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 matcher "gitee.com/ks-custle/core-gm/go-control-plane/envoy/type/matcher" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 duration "github.com/golang/protobuf/ptypes/duration" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 // This is a compile-time assertion that a sufficiently up-to-date version 29 // of the legacy proto package is being used. 30 const _ = proto.ProtoPackageIsVersion4 31 32 // This message contains the configuration for the DNS Filter if populated 33 // from the control plane 34 type DnsTable struct { 35 state protoimpl.MessageState 36 sizeCache protoimpl.SizeCache 37 unknownFields protoimpl.UnknownFields 38 39 // Control how many times envoy makes an attempt to forward a query to 40 // an external server 41 ExternalRetryCount uint32 `protobuf:"varint,1,opt,name=external_retry_count,json=externalRetryCount,proto3" json:"external_retry_count,omitempty"` 42 // Fully qualified domain names for which Envoy will respond to queries 43 VirtualDomains []*DnsTable_DnsVirtualDomain `protobuf:"bytes,2,rep,name=virtual_domains,json=virtualDomains,proto3" json:"virtual_domains,omitempty"` 44 // This field serves to help Envoy determine whether it can authoritatively 45 // answer a query for a name matching a suffix in this list. If the query 46 // name does not match a suffix in this list, Envoy will forward 47 // the query to an upstream DNS server 48 KnownSuffixes []*matcher.StringMatcher `protobuf:"bytes,3,rep,name=known_suffixes,json=knownSuffixes,proto3" json:"known_suffixes,omitempty"` 49 } 50 51 func (x *DnsTable) Reset() { 52 *x = DnsTable{} 53 if protoimpl.UnsafeEnabled { 54 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[0] 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 ms.StoreMessageInfo(mi) 57 } 58 } 59 60 func (x *DnsTable) String() string { 61 return protoimpl.X.MessageStringOf(x) 62 } 63 64 func (*DnsTable) ProtoMessage() {} 65 66 func (x *DnsTable) ProtoReflect() protoreflect.Message { 67 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[0] 68 if protoimpl.UnsafeEnabled && x != nil { 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 70 if ms.LoadMessageInfo() == nil { 71 ms.StoreMessageInfo(mi) 72 } 73 return ms 74 } 75 return mi.MessageOf(x) 76 } 77 78 // Deprecated: Use DnsTable.ProtoReflect.Descriptor instead. 79 func (*DnsTable) Descriptor() ([]byte, []int) { 80 return file_envoy_data_dns_v2alpha_dns_table_proto_rawDescGZIP(), []int{0} 81 } 82 83 func (x *DnsTable) GetExternalRetryCount() uint32 { 84 if x != nil { 85 return x.ExternalRetryCount 86 } 87 return 0 88 } 89 90 func (x *DnsTable) GetVirtualDomains() []*DnsTable_DnsVirtualDomain { 91 if x != nil { 92 return x.VirtualDomains 93 } 94 return nil 95 } 96 97 func (x *DnsTable) GetKnownSuffixes() []*matcher.StringMatcher { 98 if x != nil { 99 return x.KnownSuffixes 100 } 101 return nil 102 } 103 104 // This message contains a list of IP addresses returned for a query for a known name 105 type DnsTable_AddressList struct { 106 state protoimpl.MessageState 107 sizeCache protoimpl.SizeCache 108 unknownFields protoimpl.UnknownFields 109 110 // This field contains a well formed IP address that is returned 111 // in the answer for a name query. The address field can be an 112 // IPv4 or IPv6 address. Address family detection is done automatically 113 // when Envoy parses the string. Since this field is repeated, 114 // Envoy will return one randomly chosen entry from this list in the 115 // DNS response. The random index will vary per query so that we prevent 116 // clients pinning on a single address for a configured domain 117 Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` 118 } 119 120 func (x *DnsTable_AddressList) Reset() { 121 *x = DnsTable_AddressList{} 122 if protoimpl.UnsafeEnabled { 123 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[1] 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 ms.StoreMessageInfo(mi) 126 } 127 } 128 129 func (x *DnsTable_AddressList) String() string { 130 return protoimpl.X.MessageStringOf(x) 131 } 132 133 func (*DnsTable_AddressList) ProtoMessage() {} 134 135 func (x *DnsTable_AddressList) ProtoReflect() protoreflect.Message { 136 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[1] 137 if protoimpl.UnsafeEnabled && x != nil { 138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 139 if ms.LoadMessageInfo() == nil { 140 ms.StoreMessageInfo(mi) 141 } 142 return ms 143 } 144 return mi.MessageOf(x) 145 } 146 147 // Deprecated: Use DnsTable_AddressList.ProtoReflect.Descriptor instead. 148 func (*DnsTable_AddressList) Descriptor() ([]byte, []int) { 149 return file_envoy_data_dns_v2alpha_dns_table_proto_rawDescGZIP(), []int{0, 0} 150 } 151 152 func (x *DnsTable_AddressList) GetAddress() []string { 153 if x != nil { 154 return x.Address 155 } 156 return nil 157 } 158 159 // This message type is extensible and can contain a list of addresses 160 // or dictate some other method for resolving the addresses for an 161 // endpoint 162 type DnsTable_DnsEndpoint struct { 163 state protoimpl.MessageState 164 sizeCache protoimpl.SizeCache 165 unknownFields protoimpl.UnknownFields 166 167 // Types that are assignable to EndpointConfig: 168 // *DnsTable_DnsEndpoint_AddressList 169 EndpointConfig isDnsTable_DnsEndpoint_EndpointConfig `protobuf_oneof:"endpoint_config"` 170 } 171 172 func (x *DnsTable_DnsEndpoint) Reset() { 173 *x = DnsTable_DnsEndpoint{} 174 if protoimpl.UnsafeEnabled { 175 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[2] 176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 177 ms.StoreMessageInfo(mi) 178 } 179 } 180 181 func (x *DnsTable_DnsEndpoint) String() string { 182 return protoimpl.X.MessageStringOf(x) 183 } 184 185 func (*DnsTable_DnsEndpoint) ProtoMessage() {} 186 187 func (x *DnsTable_DnsEndpoint) ProtoReflect() protoreflect.Message { 188 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[2] 189 if protoimpl.UnsafeEnabled && x != nil { 190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 191 if ms.LoadMessageInfo() == nil { 192 ms.StoreMessageInfo(mi) 193 } 194 return ms 195 } 196 return mi.MessageOf(x) 197 } 198 199 // Deprecated: Use DnsTable_DnsEndpoint.ProtoReflect.Descriptor instead. 200 func (*DnsTable_DnsEndpoint) Descriptor() ([]byte, []int) { 201 return file_envoy_data_dns_v2alpha_dns_table_proto_rawDescGZIP(), []int{0, 1} 202 } 203 204 func (m *DnsTable_DnsEndpoint) GetEndpointConfig() isDnsTable_DnsEndpoint_EndpointConfig { 205 if m != nil { 206 return m.EndpointConfig 207 } 208 return nil 209 } 210 211 func (x *DnsTable_DnsEndpoint) GetAddressList() *DnsTable_AddressList { 212 if x, ok := x.GetEndpointConfig().(*DnsTable_DnsEndpoint_AddressList); ok { 213 return x.AddressList 214 } 215 return nil 216 } 217 218 type isDnsTable_DnsEndpoint_EndpointConfig interface { 219 isDnsTable_DnsEndpoint_EndpointConfig() 220 } 221 222 type DnsTable_DnsEndpoint_AddressList struct { 223 AddressList *DnsTable_AddressList `protobuf:"bytes,1,opt,name=address_list,json=addressList,proto3,oneof"` 224 } 225 226 func (*DnsTable_DnsEndpoint_AddressList) isDnsTable_DnsEndpoint_EndpointConfig() {} 227 228 type DnsTable_DnsVirtualDomain struct { 229 state protoimpl.MessageState 230 sizeCache protoimpl.SizeCache 231 unknownFields protoimpl.UnknownFields 232 233 // The domain name for which Envoy will respond to query requests 234 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 235 // The configuration containing the method to determine the address 236 // of this endpoint 237 Endpoint *DnsTable_DnsEndpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` 238 // Sets the TTL in dns answers from Envoy returned to the client 239 AnswerTtl *duration.Duration `protobuf:"bytes,3,opt,name=answer_ttl,json=answerTtl,proto3" json:"answer_ttl,omitempty"` 240 } 241 242 func (x *DnsTable_DnsVirtualDomain) Reset() { 243 *x = DnsTable_DnsVirtualDomain{} 244 if protoimpl.UnsafeEnabled { 245 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[3] 246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 247 ms.StoreMessageInfo(mi) 248 } 249 } 250 251 func (x *DnsTable_DnsVirtualDomain) String() string { 252 return protoimpl.X.MessageStringOf(x) 253 } 254 255 func (*DnsTable_DnsVirtualDomain) ProtoMessage() {} 256 257 func (x *DnsTable_DnsVirtualDomain) ProtoReflect() protoreflect.Message { 258 mi := &file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[3] 259 if protoimpl.UnsafeEnabled && x != nil { 260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 261 if ms.LoadMessageInfo() == nil { 262 ms.StoreMessageInfo(mi) 263 } 264 return ms 265 } 266 return mi.MessageOf(x) 267 } 268 269 // Deprecated: Use DnsTable_DnsVirtualDomain.ProtoReflect.Descriptor instead. 270 func (*DnsTable_DnsVirtualDomain) Descriptor() ([]byte, []int) { 271 return file_envoy_data_dns_v2alpha_dns_table_proto_rawDescGZIP(), []int{0, 2} 272 } 273 274 func (x *DnsTable_DnsVirtualDomain) GetName() string { 275 if x != nil { 276 return x.Name 277 } 278 return "" 279 } 280 281 func (x *DnsTable_DnsVirtualDomain) GetEndpoint() *DnsTable_DnsEndpoint { 282 if x != nil { 283 return x.Endpoint 284 } 285 return nil 286 } 287 288 func (x *DnsTable_DnsVirtualDomain) GetAnswerTtl() *duration.Duration { 289 if x != nil { 290 return x.AnswerTtl 291 } 292 return nil 293 } 294 295 var File_envoy_data_dns_v2alpha_dns_table_proto protoreflect.FileDescriptor 296 297 var file_envoy_data_dns_v2alpha_dns_table_proto_rawDesc = []byte{ 298 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x6e, 0x73, 299 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x64, 0x6e, 0x73, 0x5f, 0x74, 0x61, 0x62, 300 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 301 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 302 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 303 0x63, 0x68, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 304 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 305 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 306 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 307 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 308 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 309 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x04, 0x0a, 0x08, 0x44, 0x6e, 310 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 311 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 312 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 313 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x64, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 314 0x75, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 315 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 316 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 317 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x6f, 318 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x0e, 319 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x48, 320 0x0a, 0x0e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x65, 0x73, 321 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 322 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x72, 0x69, 323 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0d, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 324 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x65, 0x73, 0x1a, 0x37, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x72, 325 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 326 0x73, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x92, 0x01, 0x08, 327 0x08, 0x01, 0x22, 0x04, 0x72, 0x02, 0x10, 0x03, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 328 0x73, 0x1a, 0x78, 0x0a, 0x0b, 0x44, 0x6e, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 329 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 330 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 331 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 332 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 333 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 334 0x69, 0x73, 0x74, 0x42, 0x16, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 335 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a, 0xc0, 0x01, 0x0a, 0x10, 336 0x44, 0x6e, 0x73, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 337 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 338 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x02, 0xc0, 0x01, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 339 0x12, 0x48, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 340 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 341 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6e, 0x73, 0x54, 342 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 343 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x6e, 344 0x73, 0x77, 0x65, 0x72, 0x5f, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 345 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 346 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 347 0x02, 0x2a, 0x00, 0x52, 0x09, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x54, 0x74, 0x6c, 0x42, 0x47, 348 0x0a, 0x24, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 349 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 350 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0d, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 351 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x08, 0x01, 0xba, 352 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 353 } 354 355 var ( 356 file_envoy_data_dns_v2alpha_dns_table_proto_rawDescOnce sync.Once 357 file_envoy_data_dns_v2alpha_dns_table_proto_rawDescData = file_envoy_data_dns_v2alpha_dns_table_proto_rawDesc 358 ) 359 360 func file_envoy_data_dns_v2alpha_dns_table_proto_rawDescGZIP() []byte { 361 file_envoy_data_dns_v2alpha_dns_table_proto_rawDescOnce.Do(func() { 362 file_envoy_data_dns_v2alpha_dns_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_data_dns_v2alpha_dns_table_proto_rawDescData) 363 }) 364 return file_envoy_data_dns_v2alpha_dns_table_proto_rawDescData 365 } 366 367 var file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 368 var file_envoy_data_dns_v2alpha_dns_table_proto_goTypes = []interface{}{ 369 (*DnsTable)(nil), // 0: envoy.data.dns.v2alpha.DnsTable 370 (*DnsTable_AddressList)(nil), // 1: envoy.data.dns.v2alpha.DnsTable.AddressList 371 (*DnsTable_DnsEndpoint)(nil), // 2: envoy.data.dns.v2alpha.DnsTable.DnsEndpoint 372 (*DnsTable_DnsVirtualDomain)(nil), // 3: envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain 373 (*matcher.StringMatcher)(nil), // 4: envoy.type.matcher.StringMatcher 374 (*duration.Duration)(nil), // 5: google.protobuf.Duration 375 } 376 var file_envoy_data_dns_v2alpha_dns_table_proto_depIdxs = []int32{ 377 3, // 0: envoy.data.dns.v2alpha.DnsTable.virtual_domains:type_name -> envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain 378 4, // 1: envoy.data.dns.v2alpha.DnsTable.known_suffixes:type_name -> envoy.type.matcher.StringMatcher 379 1, // 2: envoy.data.dns.v2alpha.DnsTable.DnsEndpoint.address_list:type_name -> envoy.data.dns.v2alpha.DnsTable.AddressList 380 2, // 3: envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain.endpoint:type_name -> envoy.data.dns.v2alpha.DnsTable.DnsEndpoint 381 5, // 4: envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain.answer_ttl:type_name -> google.protobuf.Duration 382 5, // [5:5] is the sub-list for method output_type 383 5, // [5:5] is the sub-list for method input_type 384 5, // [5:5] is the sub-list for extension type_name 385 5, // [5:5] is the sub-list for extension extendee 386 0, // [0:5] is the sub-list for field type_name 387 } 388 389 func init() { file_envoy_data_dns_v2alpha_dns_table_proto_init() } 390 func file_envoy_data_dns_v2alpha_dns_table_proto_init() { 391 if File_envoy_data_dns_v2alpha_dns_table_proto != nil { 392 return 393 } 394 if !protoimpl.UnsafeEnabled { 395 file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 396 switch v := v.(*DnsTable); i { 397 case 0: 398 return &v.state 399 case 1: 400 return &v.sizeCache 401 case 2: 402 return &v.unknownFields 403 default: 404 return nil 405 } 406 } 407 file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 408 switch v := v.(*DnsTable_AddressList); i { 409 case 0: 410 return &v.state 411 case 1: 412 return &v.sizeCache 413 case 2: 414 return &v.unknownFields 415 default: 416 return nil 417 } 418 } 419 file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 420 switch v := v.(*DnsTable_DnsEndpoint); i { 421 case 0: 422 return &v.state 423 case 1: 424 return &v.sizeCache 425 case 2: 426 return &v.unknownFields 427 default: 428 return nil 429 } 430 } 431 file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 432 switch v := v.(*DnsTable_DnsVirtualDomain); i { 433 case 0: 434 return &v.state 435 case 1: 436 return &v.sizeCache 437 case 2: 438 return &v.unknownFields 439 default: 440 return nil 441 } 442 } 443 } 444 file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes[2].OneofWrappers = []interface{}{ 445 (*DnsTable_DnsEndpoint_AddressList)(nil), 446 } 447 type x struct{} 448 out := protoimpl.TypeBuilder{ 449 File: protoimpl.DescBuilder{ 450 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 451 RawDescriptor: file_envoy_data_dns_v2alpha_dns_table_proto_rawDesc, 452 NumEnums: 0, 453 NumMessages: 4, 454 NumExtensions: 0, 455 NumServices: 0, 456 }, 457 GoTypes: file_envoy_data_dns_v2alpha_dns_table_proto_goTypes, 458 DependencyIndexes: file_envoy_data_dns_v2alpha_dns_table_proto_depIdxs, 459 MessageInfos: file_envoy_data_dns_v2alpha_dns_table_proto_msgTypes, 460 }.Build() 461 File_envoy_data_dns_v2alpha_dns_table_proto = out.File 462 file_envoy_data_dns_v2alpha_dns_table_proto_rawDesc = nil 463 file_envoy_data_dns_v2alpha_dns_table_proto_goTypes = nil 464 file_envoy_data_dns_v2alpha_dns_table_proto_depIdxs = nil 465 }