github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/data/dns/v3/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/v3/dns_table.proto 6 7 package envoy_data_dns_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/hxx258456/ccgo/go-control-plane/envoy/annotations" 12 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/type/matcher/v3" 13 _ "github.com/envoyproxy/protoc-gen-validate/validate" 14 proto "github.com/golang/protobuf/proto" 15 duration "github.com/golang/protobuf/ptypes/duration" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 // This message contains the configuration for the DNS Filter if populated 34 // from the control plane 35 type DnsTable struct { 36 state protoimpl.MessageState 37 sizeCache protoimpl.SizeCache 38 unknownFields protoimpl.UnknownFields 39 40 // Control how many times Envoy makes an attempt to forward a query to an external DNS 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 DNS queries. By leaving this 43 // list empty, Envoy will forward all queries to external resolvers 44 VirtualDomains []*DnsTable_DnsVirtualDomain `protobuf:"bytes,2,rep,name=virtual_domains,json=virtualDomains,proto3" json:"virtual_domains,omitempty"` 45 // This field is deprecated and no longer used in Envoy. The filter's behavior has changed 46 // internally to use a different data structure allowing the filter to determine whether a 47 // query is for known domain without the use of this field. 48 // 49 // This field serves to help Envoy determine whether it can authoritatively answer a query 50 // for a name matching a suffix in this list. If the query name does not match a suffix in 51 // this list, Envoy will forward the query to an upstream DNS server 52 // 53 // Deprecated: Do not use. 54 KnownSuffixes []*v3.StringMatcher `protobuf:"bytes,3,rep,name=known_suffixes,json=knownSuffixes,proto3" json:"known_suffixes,omitempty"` 55 } 56 57 func (x *DnsTable) Reset() { 58 *x = DnsTable{} 59 if protoimpl.UnsafeEnabled { 60 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 ms.StoreMessageInfo(mi) 63 } 64 } 65 66 func (x *DnsTable) String() string { 67 return protoimpl.X.MessageStringOf(x) 68 } 69 70 func (*DnsTable) ProtoMessage() {} 71 72 func (x *DnsTable) ProtoReflect() protoreflect.Message { 73 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && x != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(x) 82 } 83 84 // Deprecated: Use DnsTable.ProtoReflect.Descriptor instead. 85 func (*DnsTable) Descriptor() ([]byte, []int) { 86 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0} 87 } 88 89 func (x *DnsTable) GetExternalRetryCount() uint32 { 90 if x != nil { 91 return x.ExternalRetryCount 92 } 93 return 0 94 } 95 96 func (x *DnsTable) GetVirtualDomains() []*DnsTable_DnsVirtualDomain { 97 if x != nil { 98 return x.VirtualDomains 99 } 100 return nil 101 } 102 103 // Deprecated: Do not use. 104 func (x *DnsTable) GetKnownSuffixes() []*v3.StringMatcher { 105 if x != nil { 106 return x.KnownSuffixes 107 } 108 return nil 109 } 110 111 // This message contains a list of IP addresses returned for a query for a known name 112 type DnsTable_AddressList struct { 113 state protoimpl.MessageState 114 sizeCache protoimpl.SizeCache 115 unknownFields protoimpl.UnknownFields 116 117 // This field contains a well formed IP address that is returned in the answer for a 118 // name query. The address field can be an IPv4 or IPv6 address. Address family 119 // detection is done automatically when Envoy parses the string. Since this field is 120 // repeated, Envoy will return as many entries from this list in the DNS response while 121 // keeping the response under 512 bytes 122 Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` 123 } 124 125 func (x *DnsTable_AddressList) Reset() { 126 *x = DnsTable_AddressList{} 127 if protoimpl.UnsafeEnabled { 128 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[1] 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 ms.StoreMessageInfo(mi) 131 } 132 } 133 134 func (x *DnsTable_AddressList) String() string { 135 return protoimpl.X.MessageStringOf(x) 136 } 137 138 func (*DnsTable_AddressList) ProtoMessage() {} 139 140 func (x *DnsTable_AddressList) ProtoReflect() protoreflect.Message { 141 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[1] 142 if protoimpl.UnsafeEnabled && x != nil { 143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 144 if ms.LoadMessageInfo() == nil { 145 ms.StoreMessageInfo(mi) 146 } 147 return ms 148 } 149 return mi.MessageOf(x) 150 } 151 152 // Deprecated: Use DnsTable_AddressList.ProtoReflect.Descriptor instead. 153 func (*DnsTable_AddressList) Descriptor() ([]byte, []int) { 154 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 0} 155 } 156 157 func (x *DnsTable_AddressList) GetAddress() []string { 158 if x != nil { 159 return x.Address 160 } 161 return nil 162 } 163 164 // Specify the service protocol using a numeric or string value 165 type DnsTable_DnsServiceProtocol struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 // Types that are assignable to ProtocolConfig: 171 // *DnsTable_DnsServiceProtocol_Number 172 // *DnsTable_DnsServiceProtocol_Name 173 ProtocolConfig isDnsTable_DnsServiceProtocol_ProtocolConfig `protobuf_oneof:"protocol_config"` 174 } 175 176 func (x *DnsTable_DnsServiceProtocol) Reset() { 177 *x = DnsTable_DnsServiceProtocol{} 178 if protoimpl.UnsafeEnabled { 179 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[2] 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 ms.StoreMessageInfo(mi) 182 } 183 } 184 185 func (x *DnsTable_DnsServiceProtocol) String() string { 186 return protoimpl.X.MessageStringOf(x) 187 } 188 189 func (*DnsTable_DnsServiceProtocol) ProtoMessage() {} 190 191 func (x *DnsTable_DnsServiceProtocol) ProtoReflect() protoreflect.Message { 192 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[2] 193 if protoimpl.UnsafeEnabled && x != nil { 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 if ms.LoadMessageInfo() == nil { 196 ms.StoreMessageInfo(mi) 197 } 198 return ms 199 } 200 return mi.MessageOf(x) 201 } 202 203 // Deprecated: Use DnsTable_DnsServiceProtocol.ProtoReflect.Descriptor instead. 204 func (*DnsTable_DnsServiceProtocol) Descriptor() ([]byte, []int) { 205 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 1} 206 } 207 208 func (m *DnsTable_DnsServiceProtocol) GetProtocolConfig() isDnsTable_DnsServiceProtocol_ProtocolConfig { 209 if m != nil { 210 return m.ProtocolConfig 211 } 212 return nil 213 } 214 215 func (x *DnsTable_DnsServiceProtocol) GetNumber() uint32 { 216 if x, ok := x.GetProtocolConfig().(*DnsTable_DnsServiceProtocol_Number); ok { 217 return x.Number 218 } 219 return 0 220 } 221 222 func (x *DnsTable_DnsServiceProtocol) GetName() string { 223 if x, ok := x.GetProtocolConfig().(*DnsTable_DnsServiceProtocol_Name); ok { 224 return x.Name 225 } 226 return "" 227 } 228 229 type isDnsTable_DnsServiceProtocol_ProtocolConfig interface { 230 isDnsTable_DnsServiceProtocol_ProtocolConfig() 231 } 232 233 type DnsTable_DnsServiceProtocol_Number struct { 234 // Specify the protocol number for the service. Envoy will try to resolve the number to 235 // the protocol name. For example, 6 will resolve to "tcp". Refer to: 236 // https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml 237 // for protocol names and numbers 238 Number uint32 `protobuf:"varint,1,opt,name=number,proto3,oneof"` 239 } 240 241 type DnsTable_DnsServiceProtocol_Name struct { 242 // Specify the protocol name for the service. 243 Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"` 244 } 245 246 func (*DnsTable_DnsServiceProtocol_Number) isDnsTable_DnsServiceProtocol_ProtocolConfig() {} 247 248 func (*DnsTable_DnsServiceProtocol_Name) isDnsTable_DnsServiceProtocol_ProtocolConfig() {} 249 250 // Specify the target for a given DNS service 251 // [#next-free-field: 6] 252 type DnsTable_DnsServiceTarget struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256 257 // Specify the name of the endpoint for the Service. The name is a hostname or a cluster 258 // 259 // Types that are assignable to EndpointType: 260 // *DnsTable_DnsServiceTarget_HostName 261 // *DnsTable_DnsServiceTarget_ClusterName 262 EndpointType isDnsTable_DnsServiceTarget_EndpointType `protobuf_oneof:"endpoint_type"` 263 // The priority of the service record target 264 Priority uint32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` 265 // The weight of the service record target 266 Weight uint32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"` 267 // The port to which the service is bound. This value is optional if the target is a 268 // cluster. Setting port to zero in this case makes the filter use the port value 269 // from the cluster host 270 Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` 271 } 272 273 func (x *DnsTable_DnsServiceTarget) Reset() { 274 *x = DnsTable_DnsServiceTarget{} 275 if protoimpl.UnsafeEnabled { 276 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[3] 277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 278 ms.StoreMessageInfo(mi) 279 } 280 } 281 282 func (x *DnsTable_DnsServiceTarget) String() string { 283 return protoimpl.X.MessageStringOf(x) 284 } 285 286 func (*DnsTable_DnsServiceTarget) ProtoMessage() {} 287 288 func (x *DnsTable_DnsServiceTarget) ProtoReflect() protoreflect.Message { 289 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[3] 290 if protoimpl.UnsafeEnabled && x != nil { 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 if ms.LoadMessageInfo() == nil { 293 ms.StoreMessageInfo(mi) 294 } 295 return ms 296 } 297 return mi.MessageOf(x) 298 } 299 300 // Deprecated: Use DnsTable_DnsServiceTarget.ProtoReflect.Descriptor instead. 301 func (*DnsTable_DnsServiceTarget) Descriptor() ([]byte, []int) { 302 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 2} 303 } 304 305 func (m *DnsTable_DnsServiceTarget) GetEndpointType() isDnsTable_DnsServiceTarget_EndpointType { 306 if m != nil { 307 return m.EndpointType 308 } 309 return nil 310 } 311 312 func (x *DnsTable_DnsServiceTarget) GetHostName() string { 313 if x, ok := x.GetEndpointType().(*DnsTable_DnsServiceTarget_HostName); ok { 314 return x.HostName 315 } 316 return "" 317 } 318 319 func (x *DnsTable_DnsServiceTarget) GetClusterName() string { 320 if x, ok := x.GetEndpointType().(*DnsTable_DnsServiceTarget_ClusterName); ok { 321 return x.ClusterName 322 } 323 return "" 324 } 325 326 func (x *DnsTable_DnsServiceTarget) GetPriority() uint32 { 327 if x != nil { 328 return x.Priority 329 } 330 return 0 331 } 332 333 func (x *DnsTable_DnsServiceTarget) GetWeight() uint32 { 334 if x != nil { 335 return x.Weight 336 } 337 return 0 338 } 339 340 func (x *DnsTable_DnsServiceTarget) GetPort() uint32 { 341 if x != nil { 342 return x.Port 343 } 344 return 0 345 } 346 347 type isDnsTable_DnsServiceTarget_EndpointType interface { 348 isDnsTable_DnsServiceTarget_EndpointType() 349 } 350 351 type DnsTable_DnsServiceTarget_HostName struct { 352 // Use a resolvable hostname as the endpoint for a service. 353 HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3,oneof"` 354 } 355 356 type DnsTable_DnsServiceTarget_ClusterName struct { 357 // Use a cluster name as the endpoint for a service. 358 ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3,oneof"` 359 } 360 361 func (*DnsTable_DnsServiceTarget_HostName) isDnsTable_DnsServiceTarget_EndpointType() {} 362 363 func (*DnsTable_DnsServiceTarget_ClusterName) isDnsTable_DnsServiceTarget_EndpointType() {} 364 365 // This message defines a service selection record returned for a service query in a domain 366 type DnsTable_DnsService struct { 367 state protoimpl.MessageState 368 sizeCache protoimpl.SizeCache 369 unknownFields protoimpl.UnknownFields 370 371 // The name of the service without the protocol or domain name 372 ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` 373 // The service protocol. This can be specified as a string or the numeric value of the protocol 374 Protocol *DnsTable_DnsServiceProtocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` 375 // The service entry time to live. This is independent from the DNS Answer record TTL 376 Ttl *duration.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` 377 // The list of targets hosting the service 378 Targets []*DnsTable_DnsServiceTarget `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"` 379 } 380 381 func (x *DnsTable_DnsService) Reset() { 382 *x = DnsTable_DnsService{} 383 if protoimpl.UnsafeEnabled { 384 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[4] 385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 386 ms.StoreMessageInfo(mi) 387 } 388 } 389 390 func (x *DnsTable_DnsService) String() string { 391 return protoimpl.X.MessageStringOf(x) 392 } 393 394 func (*DnsTable_DnsService) ProtoMessage() {} 395 396 func (x *DnsTable_DnsService) ProtoReflect() protoreflect.Message { 397 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[4] 398 if protoimpl.UnsafeEnabled && x != nil { 399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 400 if ms.LoadMessageInfo() == nil { 401 ms.StoreMessageInfo(mi) 402 } 403 return ms 404 } 405 return mi.MessageOf(x) 406 } 407 408 // Deprecated: Use DnsTable_DnsService.ProtoReflect.Descriptor instead. 409 func (*DnsTable_DnsService) Descriptor() ([]byte, []int) { 410 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 3} 411 } 412 413 func (x *DnsTable_DnsService) GetServiceName() string { 414 if x != nil { 415 return x.ServiceName 416 } 417 return "" 418 } 419 420 func (x *DnsTable_DnsService) GetProtocol() *DnsTable_DnsServiceProtocol { 421 if x != nil { 422 return x.Protocol 423 } 424 return nil 425 } 426 427 func (x *DnsTable_DnsService) GetTtl() *duration.Duration { 428 if x != nil { 429 return x.Ttl 430 } 431 return nil 432 } 433 434 func (x *DnsTable_DnsService) GetTargets() []*DnsTable_DnsServiceTarget { 435 if x != nil { 436 return x.Targets 437 } 438 return nil 439 } 440 441 // Define a list of service records for a given service 442 type DnsTable_DnsServiceList struct { 443 state protoimpl.MessageState 444 sizeCache protoimpl.SizeCache 445 unknownFields protoimpl.UnknownFields 446 447 Services []*DnsTable_DnsService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` 448 } 449 450 func (x *DnsTable_DnsServiceList) Reset() { 451 *x = DnsTable_DnsServiceList{} 452 if protoimpl.UnsafeEnabled { 453 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[5] 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 ms.StoreMessageInfo(mi) 456 } 457 } 458 459 func (x *DnsTable_DnsServiceList) String() string { 460 return protoimpl.X.MessageStringOf(x) 461 } 462 463 func (*DnsTable_DnsServiceList) ProtoMessage() {} 464 465 func (x *DnsTable_DnsServiceList) ProtoReflect() protoreflect.Message { 466 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[5] 467 if protoimpl.UnsafeEnabled && x != nil { 468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 469 if ms.LoadMessageInfo() == nil { 470 ms.StoreMessageInfo(mi) 471 } 472 return ms 473 } 474 return mi.MessageOf(x) 475 } 476 477 // Deprecated: Use DnsTable_DnsServiceList.ProtoReflect.Descriptor instead. 478 func (*DnsTable_DnsServiceList) Descriptor() ([]byte, []int) { 479 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 4} 480 } 481 482 func (x *DnsTable_DnsServiceList) GetServices() []*DnsTable_DnsService { 483 if x != nil { 484 return x.Services 485 } 486 return nil 487 } 488 489 type DnsTable_DnsEndpoint struct { 490 state protoimpl.MessageState 491 sizeCache protoimpl.SizeCache 492 unknownFields protoimpl.UnknownFields 493 494 // Types that are assignable to EndpointConfig: 495 // *DnsTable_DnsEndpoint_AddressList 496 // *DnsTable_DnsEndpoint_ClusterName 497 // *DnsTable_DnsEndpoint_ServiceList 498 EndpointConfig isDnsTable_DnsEndpoint_EndpointConfig `protobuf_oneof:"endpoint_config"` 499 } 500 501 func (x *DnsTable_DnsEndpoint) Reset() { 502 *x = DnsTable_DnsEndpoint{} 503 if protoimpl.UnsafeEnabled { 504 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[6] 505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 506 ms.StoreMessageInfo(mi) 507 } 508 } 509 510 func (x *DnsTable_DnsEndpoint) String() string { 511 return protoimpl.X.MessageStringOf(x) 512 } 513 514 func (*DnsTable_DnsEndpoint) ProtoMessage() {} 515 516 func (x *DnsTable_DnsEndpoint) ProtoReflect() protoreflect.Message { 517 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[6] 518 if protoimpl.UnsafeEnabled && x != nil { 519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 520 if ms.LoadMessageInfo() == nil { 521 ms.StoreMessageInfo(mi) 522 } 523 return ms 524 } 525 return mi.MessageOf(x) 526 } 527 528 // Deprecated: Use DnsTable_DnsEndpoint.ProtoReflect.Descriptor instead. 529 func (*DnsTable_DnsEndpoint) Descriptor() ([]byte, []int) { 530 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 5} 531 } 532 533 func (m *DnsTable_DnsEndpoint) GetEndpointConfig() isDnsTable_DnsEndpoint_EndpointConfig { 534 if m != nil { 535 return m.EndpointConfig 536 } 537 return nil 538 } 539 540 func (x *DnsTable_DnsEndpoint) GetAddressList() *DnsTable_AddressList { 541 if x, ok := x.GetEndpointConfig().(*DnsTable_DnsEndpoint_AddressList); ok { 542 return x.AddressList 543 } 544 return nil 545 } 546 547 func (x *DnsTable_DnsEndpoint) GetClusterName() string { 548 if x, ok := x.GetEndpointConfig().(*DnsTable_DnsEndpoint_ClusterName); ok { 549 return x.ClusterName 550 } 551 return "" 552 } 553 554 func (x *DnsTable_DnsEndpoint) GetServiceList() *DnsTable_DnsServiceList { 555 if x, ok := x.GetEndpointConfig().(*DnsTable_DnsEndpoint_ServiceList); ok { 556 return x.ServiceList 557 } 558 return nil 559 } 560 561 type isDnsTable_DnsEndpoint_EndpointConfig interface { 562 isDnsTable_DnsEndpoint_EndpointConfig() 563 } 564 565 type DnsTable_DnsEndpoint_AddressList struct { 566 // Define a list of addresses to return for the specified endpoint 567 AddressList *DnsTable_AddressList `protobuf:"bytes,1,opt,name=address_list,json=addressList,proto3,oneof"` 568 } 569 570 type DnsTable_DnsEndpoint_ClusterName struct { 571 // Define a cluster whose addresses are returned for the specified endpoint 572 ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3,oneof"` 573 } 574 575 type DnsTable_DnsEndpoint_ServiceList struct { 576 // Define a DNS Service List for the specified endpoint 577 ServiceList *DnsTable_DnsServiceList `protobuf:"bytes,3,opt,name=service_list,json=serviceList,proto3,oneof"` 578 } 579 580 func (*DnsTable_DnsEndpoint_AddressList) isDnsTable_DnsEndpoint_EndpointConfig() {} 581 582 func (*DnsTable_DnsEndpoint_ClusterName) isDnsTable_DnsEndpoint_EndpointConfig() {} 583 584 func (*DnsTable_DnsEndpoint_ServiceList) isDnsTable_DnsEndpoint_EndpointConfig() {} 585 586 type DnsTable_DnsVirtualDomain struct { 587 state protoimpl.MessageState 588 sizeCache protoimpl.SizeCache 589 unknownFields protoimpl.UnknownFields 590 591 // A domain name for which Envoy will respond to query requests 592 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 593 // The configuration containing the method to determine the address of this endpoint 594 Endpoint *DnsTable_DnsEndpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` 595 // Sets the TTL in DNS answers from Envoy returned to the client. The default TTL is 300s 596 AnswerTtl *duration.Duration `protobuf:"bytes,3,opt,name=answer_ttl,json=answerTtl,proto3" json:"answer_ttl,omitempty"` 597 } 598 599 func (x *DnsTable_DnsVirtualDomain) Reset() { 600 *x = DnsTable_DnsVirtualDomain{} 601 if protoimpl.UnsafeEnabled { 602 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[7] 603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 604 ms.StoreMessageInfo(mi) 605 } 606 } 607 608 func (x *DnsTable_DnsVirtualDomain) String() string { 609 return protoimpl.X.MessageStringOf(x) 610 } 611 612 func (*DnsTable_DnsVirtualDomain) ProtoMessage() {} 613 614 func (x *DnsTable_DnsVirtualDomain) ProtoReflect() protoreflect.Message { 615 mi := &file_envoy_data_dns_v3_dns_table_proto_msgTypes[7] 616 if protoimpl.UnsafeEnabled && x != nil { 617 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 618 if ms.LoadMessageInfo() == nil { 619 ms.StoreMessageInfo(mi) 620 } 621 return ms 622 } 623 return mi.MessageOf(x) 624 } 625 626 // Deprecated: Use DnsTable_DnsVirtualDomain.ProtoReflect.Descriptor instead. 627 func (*DnsTable_DnsVirtualDomain) Descriptor() ([]byte, []int) { 628 return file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP(), []int{0, 6} 629 } 630 631 func (x *DnsTable_DnsVirtualDomain) GetName() string { 632 if x != nil { 633 return x.Name 634 } 635 return "" 636 } 637 638 func (x *DnsTable_DnsVirtualDomain) GetEndpoint() *DnsTable_DnsEndpoint { 639 if x != nil { 640 return x.Endpoint 641 } 642 return nil 643 } 644 645 func (x *DnsTable_DnsVirtualDomain) GetAnswerTtl() *duration.Duration { 646 if x != nil { 647 return x.AnswerTtl 648 } 649 return nil 650 } 651 652 var File_envoy_data_dns_v3_dns_table_proto protoreflect.FileDescriptor 653 654 var file_envoy_data_dns_v3_dns_table_proto_rawDesc = []byte{ 655 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x64, 0x6e, 0x73, 656 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x6e, 0x73, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 657 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 658 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 659 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 660 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 661 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 662 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 663 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 664 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 665 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 666 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 667 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 668 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 669 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 670 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x0c, 0x0a, 0x08, 0x44, 671 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 672 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 673 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x18, 0x03, 0x52, 0x12, 674 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 675 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 676 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 677 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 678 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x56, 0x69, 0x72, 0x74, 679 0x75, 0x61, 0x6c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 680 0x61, 0x6c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x0e, 0x6b, 0x6e, 0x6f, 681 0x77, 0x6e, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 682 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 683 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 684 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 685 0x03, 0x33, 0x2e, 0x30, 0x52, 0x0d, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x75, 0x66, 0x66, 0x69, 686 0x78, 0x65, 0x73, 0x1a, 0x6b, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 687 0x73, 0x74, 0x12, 0x28, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 688 0x03, 0x28, 0x09, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x92, 0x01, 0x08, 0x08, 0x01, 0x22, 0x04, 0x72, 689 0x02, 0x10, 0x03, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x32, 0x9a, 0xc5, 690 0x88, 0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 691 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6e, 0x73, 0x54, 692 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 693 0x1a, 0x72, 0x0a, 0x12, 0x44, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 694 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x22, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 695 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x10, 0xff, 0x01, 696 0x48, 0x00, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x04, 0x6e, 0x61, 697 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 698 0x01, 0xc0, 0x01, 0x01, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x16, 0x0a, 0x0f, 699 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 700 0x03, 0xf8, 0x42, 0x01, 0x1a, 0xed, 0x01, 0x0a, 0x10, 0x44, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 701 0x69, 0x63, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x29, 0x0a, 0x09, 0x68, 0x6f, 0x73, 702 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 703 0x07, 0x72, 0x05, 0x10, 0x01, 0xc0, 0x01, 0x01, 0x48, 0x00, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 704 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 705 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 706 0x05, 0x10, 0x01, 0xc0, 0x01, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 707 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 708 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04, 0x10, 0x80, 709 0x80, 0x04, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x06, 710 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x09, 0xfa, 0x42, 711 0x06, 0x2a, 0x04, 0x10, 0x80, 0x80, 0x04, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 712 0x1d, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x09, 0xfa, 713 0x42, 0x06, 0x2a, 0x04, 0x10, 0x80, 0x80, 0x04, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x14, 714 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 715 0x03, 0xf8, 0x42, 0x01, 0x1a, 0x92, 0x02, 0x0a, 0x0a, 0x44, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 716 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 717 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0x72, 0x05, 718 0x10, 0x01, 0xc0, 0x01, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 719 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 720 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 721 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 722 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 723 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x37, 724 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 725 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 726 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01, 0x04, 0x32, 0x02, 727 0x08, 0x01, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x50, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 728 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 729 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6e, 0x73, 730 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 731 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 732 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x1a, 0x5e, 0x0a, 0x0e, 0x44, 0x6e, 0x73, 733 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x08, 0x73, 734 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 735 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 736 0x33, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x53, 0x65, 737 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 738 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x9d, 0x02, 0x0a, 0x0b, 0x44, 0x6e, 739 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x61, 0x64, 0x64, 740 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 741 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 742 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x64, 743 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x72, 744 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 745 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 746 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 747 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 748 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 749 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 750 0x44, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 751 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x3a, 0x32, 0x9a, 752 0xc5, 0x88, 0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 753 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6e, 0x73, 754 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 755 0x74, 0x42, 0x16, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 756 0x6e, 0x66, 0x69, 0x67, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x1a, 0xf6, 0x01, 0x0a, 0x10, 0x44, 0x6e, 757 0x73, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1e, 758 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xfa, 0x42, 759 0x07, 0x72, 0x05, 0x10, 0x01, 0xc0, 0x01, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 760 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 761 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 762 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x44, 0x6e, 763 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 764 0x69, 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x5f, 0x74, 0x74, 765 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 766 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 767 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01, 0x04, 0x32, 0x02, 0x08, 0x1e, 0x52, 0x09, 768 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x54, 0x74, 0x6c, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 769 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 770 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 771 0x65, 0x2e, 0x44, 0x6e, 0x73, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x6f, 0x6d, 0x61, 772 0x69, 0x6e, 0x3a, 0x26, 0x9a, 0xc5, 0x88, 0x1e, 0x21, 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 773 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 774 0x61, 0x2e, 0x44, 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x3a, 0x0a, 0x1f, 0x69, 0x6f, 775 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 776 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x44, 777 0x6e, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 778 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 779 } 780 781 var ( 782 file_envoy_data_dns_v3_dns_table_proto_rawDescOnce sync.Once 783 file_envoy_data_dns_v3_dns_table_proto_rawDescData = file_envoy_data_dns_v3_dns_table_proto_rawDesc 784 ) 785 786 func file_envoy_data_dns_v3_dns_table_proto_rawDescGZIP() []byte { 787 file_envoy_data_dns_v3_dns_table_proto_rawDescOnce.Do(func() { 788 file_envoy_data_dns_v3_dns_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_data_dns_v3_dns_table_proto_rawDescData) 789 }) 790 return file_envoy_data_dns_v3_dns_table_proto_rawDescData 791 } 792 793 var file_envoy_data_dns_v3_dns_table_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 794 var file_envoy_data_dns_v3_dns_table_proto_goTypes = []interface{}{ 795 (*DnsTable)(nil), // 0: envoy.data.dns.v3.DnsTable 796 (*DnsTable_AddressList)(nil), // 1: envoy.data.dns.v3.DnsTable.AddressList 797 (*DnsTable_DnsServiceProtocol)(nil), // 2: envoy.data.dns.v3.DnsTable.DnsServiceProtocol 798 (*DnsTable_DnsServiceTarget)(nil), // 3: envoy.data.dns.v3.DnsTable.DnsServiceTarget 799 (*DnsTable_DnsService)(nil), // 4: envoy.data.dns.v3.DnsTable.DnsService 800 (*DnsTable_DnsServiceList)(nil), // 5: envoy.data.dns.v3.DnsTable.DnsServiceList 801 (*DnsTable_DnsEndpoint)(nil), // 6: envoy.data.dns.v3.DnsTable.DnsEndpoint 802 (*DnsTable_DnsVirtualDomain)(nil), // 7: envoy.data.dns.v3.DnsTable.DnsVirtualDomain 803 (*v3.StringMatcher)(nil), // 8: envoy.type.matcher.v3.StringMatcher 804 (*duration.Duration)(nil), // 9: google.protobuf.Duration 805 } 806 var file_envoy_data_dns_v3_dns_table_proto_depIdxs = []int32{ 807 7, // 0: envoy.data.dns.v3.DnsTable.virtual_domains:type_name -> envoy.data.dns.v3.DnsTable.DnsVirtualDomain 808 8, // 1: envoy.data.dns.v3.DnsTable.known_suffixes:type_name -> envoy.type.matcher.v3.StringMatcher 809 2, // 2: envoy.data.dns.v3.DnsTable.DnsService.protocol:type_name -> envoy.data.dns.v3.DnsTable.DnsServiceProtocol 810 9, // 3: envoy.data.dns.v3.DnsTable.DnsService.ttl:type_name -> google.protobuf.Duration 811 3, // 4: envoy.data.dns.v3.DnsTable.DnsService.targets:type_name -> envoy.data.dns.v3.DnsTable.DnsServiceTarget 812 4, // 5: envoy.data.dns.v3.DnsTable.DnsServiceList.services:type_name -> envoy.data.dns.v3.DnsTable.DnsService 813 1, // 6: envoy.data.dns.v3.DnsTable.DnsEndpoint.address_list:type_name -> envoy.data.dns.v3.DnsTable.AddressList 814 5, // 7: envoy.data.dns.v3.DnsTable.DnsEndpoint.service_list:type_name -> envoy.data.dns.v3.DnsTable.DnsServiceList 815 6, // 8: envoy.data.dns.v3.DnsTable.DnsVirtualDomain.endpoint:type_name -> envoy.data.dns.v3.DnsTable.DnsEndpoint 816 9, // 9: envoy.data.dns.v3.DnsTable.DnsVirtualDomain.answer_ttl:type_name -> google.protobuf.Duration 817 10, // [10:10] is the sub-list for method output_type 818 10, // [10:10] is the sub-list for method input_type 819 10, // [10:10] is the sub-list for extension type_name 820 10, // [10:10] is the sub-list for extension extendee 821 0, // [0:10] is the sub-list for field type_name 822 } 823 824 func init() { file_envoy_data_dns_v3_dns_table_proto_init() } 825 func file_envoy_data_dns_v3_dns_table_proto_init() { 826 if File_envoy_data_dns_v3_dns_table_proto != nil { 827 return 828 } 829 if !protoimpl.UnsafeEnabled { 830 file_envoy_data_dns_v3_dns_table_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 831 switch v := v.(*DnsTable); i { 832 case 0: 833 return &v.state 834 case 1: 835 return &v.sizeCache 836 case 2: 837 return &v.unknownFields 838 default: 839 return nil 840 } 841 } 842 file_envoy_data_dns_v3_dns_table_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 843 switch v := v.(*DnsTable_AddressList); i { 844 case 0: 845 return &v.state 846 case 1: 847 return &v.sizeCache 848 case 2: 849 return &v.unknownFields 850 default: 851 return nil 852 } 853 } 854 file_envoy_data_dns_v3_dns_table_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 855 switch v := v.(*DnsTable_DnsServiceProtocol); i { 856 case 0: 857 return &v.state 858 case 1: 859 return &v.sizeCache 860 case 2: 861 return &v.unknownFields 862 default: 863 return nil 864 } 865 } 866 file_envoy_data_dns_v3_dns_table_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 867 switch v := v.(*DnsTable_DnsServiceTarget); i { 868 case 0: 869 return &v.state 870 case 1: 871 return &v.sizeCache 872 case 2: 873 return &v.unknownFields 874 default: 875 return nil 876 } 877 } 878 file_envoy_data_dns_v3_dns_table_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 879 switch v := v.(*DnsTable_DnsService); i { 880 case 0: 881 return &v.state 882 case 1: 883 return &v.sizeCache 884 case 2: 885 return &v.unknownFields 886 default: 887 return nil 888 } 889 } 890 file_envoy_data_dns_v3_dns_table_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 891 switch v := v.(*DnsTable_DnsServiceList); i { 892 case 0: 893 return &v.state 894 case 1: 895 return &v.sizeCache 896 case 2: 897 return &v.unknownFields 898 default: 899 return nil 900 } 901 } 902 file_envoy_data_dns_v3_dns_table_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 903 switch v := v.(*DnsTable_DnsEndpoint); i { 904 case 0: 905 return &v.state 906 case 1: 907 return &v.sizeCache 908 case 2: 909 return &v.unknownFields 910 default: 911 return nil 912 } 913 } 914 file_envoy_data_dns_v3_dns_table_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 915 switch v := v.(*DnsTable_DnsVirtualDomain); i { 916 case 0: 917 return &v.state 918 case 1: 919 return &v.sizeCache 920 case 2: 921 return &v.unknownFields 922 default: 923 return nil 924 } 925 } 926 } 927 file_envoy_data_dns_v3_dns_table_proto_msgTypes[2].OneofWrappers = []interface{}{ 928 (*DnsTable_DnsServiceProtocol_Number)(nil), 929 (*DnsTable_DnsServiceProtocol_Name)(nil), 930 } 931 file_envoy_data_dns_v3_dns_table_proto_msgTypes[3].OneofWrappers = []interface{}{ 932 (*DnsTable_DnsServiceTarget_HostName)(nil), 933 (*DnsTable_DnsServiceTarget_ClusterName)(nil), 934 } 935 file_envoy_data_dns_v3_dns_table_proto_msgTypes[6].OneofWrappers = []interface{}{ 936 (*DnsTable_DnsEndpoint_AddressList)(nil), 937 (*DnsTable_DnsEndpoint_ClusterName)(nil), 938 (*DnsTable_DnsEndpoint_ServiceList)(nil), 939 } 940 type x struct{} 941 out := protoimpl.TypeBuilder{ 942 File: protoimpl.DescBuilder{ 943 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 944 RawDescriptor: file_envoy_data_dns_v3_dns_table_proto_rawDesc, 945 NumEnums: 0, 946 NumMessages: 8, 947 NumExtensions: 0, 948 NumServices: 0, 949 }, 950 GoTypes: file_envoy_data_dns_v3_dns_table_proto_goTypes, 951 DependencyIndexes: file_envoy_data_dns_v3_dns_table_proto_depIdxs, 952 MessageInfos: file_envoy_data_dns_v3_dns_table_proto_msgTypes, 953 }.Build() 954 File_envoy_data_dns_v3_dns_table_proto = out.File 955 file_envoy_data_dns_v3_dns_table_proto_rawDesc = nil 956 file_envoy_data_dns_v3_dns_table_proto_goTypes = nil 957 file_envoy_data_dns_v3_dns_table_proto_depIdxs = nil 958 }