gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/api/v2/core/address.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/api/v2/core/address.proto 6 7 package envoy_api_v2_core 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 wrappers "github.com/golang/protobuf/ptypes/wrappers" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // This is a compile-time assertion that a sufficiently up-to-date version 28 // of the legacy proto package is being used. 29 const _ = proto.ProtoPackageIsVersion4 30 31 type SocketAddress_Protocol int32 32 33 const ( 34 SocketAddress_TCP SocketAddress_Protocol = 0 35 SocketAddress_UDP SocketAddress_Protocol = 1 36 ) 37 38 // Enum value maps for SocketAddress_Protocol. 39 var ( 40 SocketAddress_Protocol_name = map[int32]string{ 41 0: "TCP", 42 1: "UDP", 43 } 44 SocketAddress_Protocol_value = map[string]int32{ 45 "TCP": 0, 46 "UDP": 1, 47 } 48 ) 49 50 func (x SocketAddress_Protocol) Enum() *SocketAddress_Protocol { 51 p := new(SocketAddress_Protocol) 52 *p = x 53 return p 54 } 55 56 func (x SocketAddress_Protocol) String() string { 57 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 58 } 59 60 func (SocketAddress_Protocol) Descriptor() protoreflect.EnumDescriptor { 61 return file_envoy_api_v2_core_address_proto_enumTypes[0].Descriptor() 62 } 63 64 func (SocketAddress_Protocol) Type() protoreflect.EnumType { 65 return &file_envoy_api_v2_core_address_proto_enumTypes[0] 66 } 67 68 func (x SocketAddress_Protocol) Number() protoreflect.EnumNumber { 69 return protoreflect.EnumNumber(x) 70 } 71 72 // Deprecated: Use SocketAddress_Protocol.Descriptor instead. 73 func (SocketAddress_Protocol) EnumDescriptor() ([]byte, []int) { 74 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{1, 0} 75 } 76 77 type Pipe struct { 78 state protoimpl.MessageState 79 sizeCache protoimpl.SizeCache 80 unknownFields protoimpl.UnknownFields 81 82 // Unix Domain Socket path. On Linux, paths starting with '@' will use the 83 // abstract namespace. The starting '@' is replaced by a null byte by Envoy. 84 // Paths starting with '@' will result in an error in environments other than 85 // Linux. 86 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 87 // The mode for the Pipe. Not applicable for abstract sockets. 88 Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` 89 } 90 91 func (x *Pipe) Reset() { 92 *x = Pipe{} 93 if protoimpl.UnsafeEnabled { 94 mi := &file_envoy_api_v2_core_address_proto_msgTypes[0] 95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 96 ms.StoreMessageInfo(mi) 97 } 98 } 99 100 func (x *Pipe) String() string { 101 return protoimpl.X.MessageStringOf(x) 102 } 103 104 func (*Pipe) ProtoMessage() {} 105 106 func (x *Pipe) ProtoReflect() protoreflect.Message { 107 mi := &file_envoy_api_v2_core_address_proto_msgTypes[0] 108 if protoimpl.UnsafeEnabled && x != nil { 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 if ms.LoadMessageInfo() == nil { 111 ms.StoreMessageInfo(mi) 112 } 113 return ms 114 } 115 return mi.MessageOf(x) 116 } 117 118 // Deprecated: Use Pipe.ProtoReflect.Descriptor instead. 119 func (*Pipe) Descriptor() ([]byte, []int) { 120 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{0} 121 } 122 123 func (x *Pipe) GetPath() string { 124 if x != nil { 125 return x.Path 126 } 127 return "" 128 } 129 130 func (x *Pipe) GetMode() uint32 { 131 if x != nil { 132 return x.Mode 133 } 134 return 0 135 } 136 137 // [#next-free-field: 7] 138 type SocketAddress struct { 139 state protoimpl.MessageState 140 sizeCache protoimpl.SizeCache 141 unknownFields protoimpl.UnknownFields 142 143 Protocol SocketAddress_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=envoy.api.v2.core.SocketAddress_Protocol" json:"protocol,omitempty"` 144 // The address for this socket. :ref:`Listeners <config_listeners>` will bind 145 // to the address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` 146 // to bind to any address. [#comment:TODO(zuercher) reinstate when implemented: 147 // It is possible to distinguish a Listener address via the prefix/suffix matching 148 // in :ref:`FilterChainMatch <envoy_api_msg_listener.FilterChainMatch>`.] When used 149 // within an upstream :ref:`BindConfig <envoy_api_msg_core.BindConfig>`, the address 150 // controls the source address of outbound connections. For :ref:`clusters 151 // <envoy_api_msg_Cluster>`, the cluster type determines whether the 152 // address must be an IP (*STATIC* or *EDS* clusters) or a hostname resolved by DNS 153 // (*STRICT_DNS* or *LOGICAL_DNS* clusters). Address resolution can be customized 154 // via :ref:`resolver_name <envoy_api_field_core.SocketAddress.resolver_name>`. 155 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` 156 // Types that are assignable to PortSpecifier: 157 // *SocketAddress_PortValue 158 // *SocketAddress_NamedPort 159 PortSpecifier isSocketAddress_PortSpecifier `protobuf_oneof:"port_specifier"` 160 // The name of the custom resolver. This must have been registered with Envoy. If 161 // this is empty, a context dependent default applies. If the address is a concrete 162 // IP address, no resolution will occur. If address is a hostname this 163 // should be set for resolution other than DNS. Specifying a custom resolver with 164 // *STRICT_DNS* or *LOGICAL_DNS* will generate an error at runtime. 165 ResolverName string `protobuf:"bytes,5,opt,name=resolver_name,json=resolverName,proto3" json:"resolver_name,omitempty"` 166 // When binding to an IPv6 address above, this enables `IPv4 compatibility 167 // <https://tools.ietf.org/html/rfc3493#page-11>`_. Binding to ``::`` will 168 // allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into 169 // IPv6 space as ``::FFFF:<IPv4-address>``. 170 Ipv4Compat bool `protobuf:"varint,6,opt,name=ipv4_compat,json=ipv4Compat,proto3" json:"ipv4_compat,omitempty"` 171 } 172 173 func (x *SocketAddress) Reset() { 174 *x = SocketAddress{} 175 if protoimpl.UnsafeEnabled { 176 mi := &file_envoy_api_v2_core_address_proto_msgTypes[1] 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 ms.StoreMessageInfo(mi) 179 } 180 } 181 182 func (x *SocketAddress) String() string { 183 return protoimpl.X.MessageStringOf(x) 184 } 185 186 func (*SocketAddress) ProtoMessage() {} 187 188 func (x *SocketAddress) ProtoReflect() protoreflect.Message { 189 mi := &file_envoy_api_v2_core_address_proto_msgTypes[1] 190 if protoimpl.UnsafeEnabled && x != nil { 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 if ms.LoadMessageInfo() == nil { 193 ms.StoreMessageInfo(mi) 194 } 195 return ms 196 } 197 return mi.MessageOf(x) 198 } 199 200 // Deprecated: Use SocketAddress.ProtoReflect.Descriptor instead. 201 func (*SocketAddress) Descriptor() ([]byte, []int) { 202 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{1} 203 } 204 205 func (x *SocketAddress) GetProtocol() SocketAddress_Protocol { 206 if x != nil { 207 return x.Protocol 208 } 209 return SocketAddress_TCP 210 } 211 212 func (x *SocketAddress) GetAddress() string { 213 if x != nil { 214 return x.Address 215 } 216 return "" 217 } 218 219 func (m *SocketAddress) GetPortSpecifier() isSocketAddress_PortSpecifier { 220 if m != nil { 221 return m.PortSpecifier 222 } 223 return nil 224 } 225 226 func (x *SocketAddress) GetPortValue() uint32 { 227 if x, ok := x.GetPortSpecifier().(*SocketAddress_PortValue); ok { 228 return x.PortValue 229 } 230 return 0 231 } 232 233 func (x *SocketAddress) GetNamedPort() string { 234 if x, ok := x.GetPortSpecifier().(*SocketAddress_NamedPort); ok { 235 return x.NamedPort 236 } 237 return "" 238 } 239 240 func (x *SocketAddress) GetResolverName() string { 241 if x != nil { 242 return x.ResolverName 243 } 244 return "" 245 } 246 247 func (x *SocketAddress) GetIpv4Compat() bool { 248 if x != nil { 249 return x.Ipv4Compat 250 } 251 return false 252 } 253 254 type isSocketAddress_PortSpecifier interface { 255 isSocketAddress_PortSpecifier() 256 } 257 258 type SocketAddress_PortValue struct { 259 PortValue uint32 `protobuf:"varint,3,opt,name=port_value,json=portValue,proto3,oneof"` 260 } 261 262 type SocketAddress_NamedPort struct { 263 // This is only valid if :ref:`resolver_name 264 // <envoy_api_field_core.SocketAddress.resolver_name>` is specified below and the 265 // named resolver is capable of named port resolution. 266 NamedPort string `protobuf:"bytes,4,opt,name=named_port,json=namedPort,proto3,oneof"` 267 } 268 269 func (*SocketAddress_PortValue) isSocketAddress_PortSpecifier() {} 270 271 func (*SocketAddress_NamedPort) isSocketAddress_PortSpecifier() {} 272 273 type TcpKeepalive struct { 274 state protoimpl.MessageState 275 sizeCache protoimpl.SizeCache 276 unknownFields protoimpl.UnknownFields 277 278 // Maximum number of keepalive probes to send without response before deciding 279 // the connection is dead. Default is to use the OS level configuration (unless 280 // overridden, Linux defaults to 9.) 281 KeepaliveProbes *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=keepalive_probes,json=keepaliveProbes,proto3" json:"keepalive_probes,omitempty"` 282 // The number of seconds a connection needs to be idle before keep-alive probes 283 // start being sent. Default is to use the OS level configuration (unless 284 // overridden, Linux defaults to 7200s (i.e., 2 hours.) 285 KeepaliveTime *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=keepalive_time,json=keepaliveTime,proto3" json:"keepalive_time,omitempty"` 286 // The number of seconds between keep-alive probes. Default is to use the OS 287 // level configuration (unless overridden, Linux defaults to 75s.) 288 KeepaliveInterval *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3" json:"keepalive_interval,omitempty"` 289 } 290 291 func (x *TcpKeepalive) Reset() { 292 *x = TcpKeepalive{} 293 if protoimpl.UnsafeEnabled { 294 mi := &file_envoy_api_v2_core_address_proto_msgTypes[2] 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 ms.StoreMessageInfo(mi) 297 } 298 } 299 300 func (x *TcpKeepalive) String() string { 301 return protoimpl.X.MessageStringOf(x) 302 } 303 304 func (*TcpKeepalive) ProtoMessage() {} 305 306 func (x *TcpKeepalive) ProtoReflect() protoreflect.Message { 307 mi := &file_envoy_api_v2_core_address_proto_msgTypes[2] 308 if protoimpl.UnsafeEnabled && x != nil { 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 if ms.LoadMessageInfo() == nil { 311 ms.StoreMessageInfo(mi) 312 } 313 return ms 314 } 315 return mi.MessageOf(x) 316 } 317 318 // Deprecated: Use TcpKeepalive.ProtoReflect.Descriptor instead. 319 func (*TcpKeepalive) Descriptor() ([]byte, []int) { 320 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{2} 321 } 322 323 func (x *TcpKeepalive) GetKeepaliveProbes() *wrappers.UInt32Value { 324 if x != nil { 325 return x.KeepaliveProbes 326 } 327 return nil 328 } 329 330 func (x *TcpKeepalive) GetKeepaliveTime() *wrappers.UInt32Value { 331 if x != nil { 332 return x.KeepaliveTime 333 } 334 return nil 335 } 336 337 func (x *TcpKeepalive) GetKeepaliveInterval() *wrappers.UInt32Value { 338 if x != nil { 339 return x.KeepaliveInterval 340 } 341 return nil 342 } 343 344 type BindConfig struct { 345 state protoimpl.MessageState 346 sizeCache protoimpl.SizeCache 347 unknownFields protoimpl.UnknownFields 348 349 // The address to bind to when creating a socket. 350 SourceAddress *SocketAddress `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` 351 // Whether to set the *IP_FREEBIND* option when creating the socket. When this 352 // flag is set to true, allows the :ref:`source_address 353 // <envoy_api_field_UpstreamBindConfig.source_address>` to be an IP address 354 // that is not configured on the system running Envoy. When this flag is set 355 // to false, the option *IP_FREEBIND* is disabled on the socket. When this 356 // flag is not set (default), the socket is not modified, i.e. the option is 357 // neither enabled nor disabled. 358 Freebind *wrappers.BoolValue `protobuf:"bytes,2,opt,name=freebind,proto3" json:"freebind,omitempty"` 359 // Additional socket options that may not be present in Envoy source code or 360 // precompiled binaries. 361 SocketOptions []*SocketOption `protobuf:"bytes,3,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"` 362 } 363 364 func (x *BindConfig) Reset() { 365 *x = BindConfig{} 366 if protoimpl.UnsafeEnabled { 367 mi := &file_envoy_api_v2_core_address_proto_msgTypes[3] 368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 369 ms.StoreMessageInfo(mi) 370 } 371 } 372 373 func (x *BindConfig) String() string { 374 return protoimpl.X.MessageStringOf(x) 375 } 376 377 func (*BindConfig) ProtoMessage() {} 378 379 func (x *BindConfig) ProtoReflect() protoreflect.Message { 380 mi := &file_envoy_api_v2_core_address_proto_msgTypes[3] 381 if protoimpl.UnsafeEnabled && x != nil { 382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 383 if ms.LoadMessageInfo() == nil { 384 ms.StoreMessageInfo(mi) 385 } 386 return ms 387 } 388 return mi.MessageOf(x) 389 } 390 391 // Deprecated: Use BindConfig.ProtoReflect.Descriptor instead. 392 func (*BindConfig) Descriptor() ([]byte, []int) { 393 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{3} 394 } 395 396 func (x *BindConfig) GetSourceAddress() *SocketAddress { 397 if x != nil { 398 return x.SourceAddress 399 } 400 return nil 401 } 402 403 func (x *BindConfig) GetFreebind() *wrappers.BoolValue { 404 if x != nil { 405 return x.Freebind 406 } 407 return nil 408 } 409 410 func (x *BindConfig) GetSocketOptions() []*SocketOption { 411 if x != nil { 412 return x.SocketOptions 413 } 414 return nil 415 } 416 417 // Addresses specify either a logical or physical address and port, which are 418 // used to tell Envoy where to bind/listen, connect to upstream and find 419 // management servers. 420 type Address struct { 421 state protoimpl.MessageState 422 sizeCache protoimpl.SizeCache 423 unknownFields protoimpl.UnknownFields 424 425 // Types that are assignable to Address: 426 // *Address_SocketAddress 427 // *Address_Pipe 428 Address isAddress_Address `protobuf_oneof:"address"` 429 } 430 431 func (x *Address) Reset() { 432 *x = Address{} 433 if protoimpl.UnsafeEnabled { 434 mi := &file_envoy_api_v2_core_address_proto_msgTypes[4] 435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 436 ms.StoreMessageInfo(mi) 437 } 438 } 439 440 func (x *Address) String() string { 441 return protoimpl.X.MessageStringOf(x) 442 } 443 444 func (*Address) ProtoMessage() {} 445 446 func (x *Address) ProtoReflect() protoreflect.Message { 447 mi := &file_envoy_api_v2_core_address_proto_msgTypes[4] 448 if protoimpl.UnsafeEnabled && x != nil { 449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 450 if ms.LoadMessageInfo() == nil { 451 ms.StoreMessageInfo(mi) 452 } 453 return ms 454 } 455 return mi.MessageOf(x) 456 } 457 458 // Deprecated: Use Address.ProtoReflect.Descriptor instead. 459 func (*Address) Descriptor() ([]byte, []int) { 460 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{4} 461 } 462 463 func (m *Address) GetAddress() isAddress_Address { 464 if m != nil { 465 return m.Address 466 } 467 return nil 468 } 469 470 func (x *Address) GetSocketAddress() *SocketAddress { 471 if x, ok := x.GetAddress().(*Address_SocketAddress); ok { 472 return x.SocketAddress 473 } 474 return nil 475 } 476 477 func (x *Address) GetPipe() *Pipe { 478 if x, ok := x.GetAddress().(*Address_Pipe); ok { 479 return x.Pipe 480 } 481 return nil 482 } 483 484 type isAddress_Address interface { 485 isAddress_Address() 486 } 487 488 type Address_SocketAddress struct { 489 SocketAddress *SocketAddress `protobuf:"bytes,1,opt,name=socket_address,json=socketAddress,proto3,oneof"` 490 } 491 492 type Address_Pipe struct { 493 Pipe *Pipe `protobuf:"bytes,2,opt,name=pipe,proto3,oneof"` 494 } 495 496 func (*Address_SocketAddress) isAddress_Address() {} 497 498 func (*Address_Pipe) isAddress_Address() {} 499 500 // CidrRange specifies an IP Address and a prefix length to construct 501 // the subnet mask for a `CIDR <https://tools.ietf.org/html/rfc4632>`_ range. 502 type CidrRange struct { 503 state protoimpl.MessageState 504 sizeCache protoimpl.SizeCache 505 unknownFields protoimpl.UnknownFields 506 507 // IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``. 508 AddressPrefix string `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"` 509 // Length of prefix, e.g. 0, 32. Defaults to 0 when unset. 510 PrefixLen *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"` 511 } 512 513 func (x *CidrRange) Reset() { 514 *x = CidrRange{} 515 if protoimpl.UnsafeEnabled { 516 mi := &file_envoy_api_v2_core_address_proto_msgTypes[5] 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 ms.StoreMessageInfo(mi) 519 } 520 } 521 522 func (x *CidrRange) String() string { 523 return protoimpl.X.MessageStringOf(x) 524 } 525 526 func (*CidrRange) ProtoMessage() {} 527 528 func (x *CidrRange) ProtoReflect() protoreflect.Message { 529 mi := &file_envoy_api_v2_core_address_proto_msgTypes[5] 530 if protoimpl.UnsafeEnabled && x != nil { 531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 532 if ms.LoadMessageInfo() == nil { 533 ms.StoreMessageInfo(mi) 534 } 535 return ms 536 } 537 return mi.MessageOf(x) 538 } 539 540 // Deprecated: Use CidrRange.ProtoReflect.Descriptor instead. 541 func (*CidrRange) Descriptor() ([]byte, []int) { 542 return file_envoy_api_v2_core_address_proto_rawDescGZIP(), []int{5} 543 } 544 545 func (x *CidrRange) GetAddressPrefix() string { 546 if x != nil { 547 return x.AddressPrefix 548 } 549 return "" 550 } 551 552 func (x *CidrRange) GetPrefixLen() *wrappers.UInt32Value { 553 if x != nil { 554 return x.PrefixLen 555 } 556 return nil 557 } 558 559 var File_envoy_api_v2_core_address_proto protoreflect.FileDescriptor 560 561 var file_envoy_api_v2_core_address_proto_rawDesc = []byte{ 562 0x0a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 563 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 564 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 565 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 566 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 567 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 568 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 569 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 570 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 571 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 572 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 573 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 574 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 575 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x04, 0x50, 0x69, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x70, 576 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 577 0x20, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 578 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x18, 0xff, 0x03, 579 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x0d, 0x53, 0x6f, 0x63, 0x6b, 0x65, 580 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 581 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 582 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 583 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x50, 0x72, 0x6f, 584 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 585 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x07, 0x61, 0x64, 0x64, 586 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 587 0x02, 0x20, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 588 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 589 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04, 0x18, 0xff, 0xff, 0x03, 0x48, 0x00, 0x52, 0x09, 0x70, 590 0x6f, 0x72, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 591 0x64, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 592 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 593 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 594 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 595 0x0a, 0x0b, 0x69, 0x70, 0x76, 0x34, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x18, 0x06, 0x20, 596 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x70, 0x76, 0x34, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x22, 597 0x1c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03, 0x54, 598 0x43, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01, 0x42, 0x15, 0x0a, 599 0x0e, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 600 0x03, 0xf8, 0x42, 0x01, 0x22, 0xe9, 0x01, 0x0a, 0x0c, 0x54, 0x63, 0x70, 0x4b, 0x65, 0x65, 0x70, 601 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x47, 0x0a, 0x10, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 602 0x76, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 603 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 604 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6b, 605 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x12, 0x43, 606 0x0a, 0x0e, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 607 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 608 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 609 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x54, 610 0x69, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 611 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 612 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 613 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x11, 0x6b, 614 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 615 0x22, 0xdf, 0x01, 0x0a, 0x0a, 0x42, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 616 0x51, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 617 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 618 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 619 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 620 0x02, 0x10, 0x01, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 621 0x73, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x72, 0x65, 0x65, 0x62, 0x69, 0x6e, 0x64, 0x18, 0x02, 622 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 623 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 624 0x52, 0x08, 0x66, 0x72, 0x65, 0x65, 0x62, 0x69, 0x6e, 0x64, 0x12, 0x46, 0x0a, 0x0e, 0x73, 0x6f, 625 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 626 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 627 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 628 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 629 0x6e, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x49, 630 0x0a, 0x0e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 631 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 632 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 633 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x6f, 0x63, 0x6b, 634 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x04, 0x70, 0x69, 0x70, 635 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 636 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x69, 0x70, 0x65, 637 0x48, 0x00, 0x52, 0x04, 0x70, 0x69, 0x70, 0x65, 0x42, 0x0e, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 638 0x65, 0x73, 0x73, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x82, 0x01, 0x0a, 0x09, 0x43, 0x69, 0x64, 639 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x0e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 640 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 641 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0d, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 642 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 643 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 644 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 645 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x18, 646 0x80, 0x01, 0x52, 0x09, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x4c, 0x65, 0x6e, 0x42, 0x55, 0x0a, 647 0x1f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 648 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 649 0x42, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 650 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 651 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 652 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 653 } 654 655 var ( 656 file_envoy_api_v2_core_address_proto_rawDescOnce sync.Once 657 file_envoy_api_v2_core_address_proto_rawDescData = file_envoy_api_v2_core_address_proto_rawDesc 658 ) 659 660 func file_envoy_api_v2_core_address_proto_rawDescGZIP() []byte { 661 file_envoy_api_v2_core_address_proto_rawDescOnce.Do(func() { 662 file_envoy_api_v2_core_address_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_address_proto_rawDescData) 663 }) 664 return file_envoy_api_v2_core_address_proto_rawDescData 665 } 666 667 var file_envoy_api_v2_core_address_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 668 var file_envoy_api_v2_core_address_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 669 var file_envoy_api_v2_core_address_proto_goTypes = []interface{}{ 670 (SocketAddress_Protocol)(0), // 0: envoy.api.v2.core.SocketAddress.Protocol 671 (*Pipe)(nil), // 1: envoy.api.v2.core.Pipe 672 (*SocketAddress)(nil), // 2: envoy.api.v2.core.SocketAddress 673 (*TcpKeepalive)(nil), // 3: envoy.api.v2.core.TcpKeepalive 674 (*BindConfig)(nil), // 4: envoy.api.v2.core.BindConfig 675 (*Address)(nil), // 5: envoy.api.v2.core.Address 676 (*CidrRange)(nil), // 6: envoy.api.v2.core.CidrRange 677 (*wrappers.UInt32Value)(nil), // 7: google.protobuf.UInt32Value 678 (*wrappers.BoolValue)(nil), // 8: google.protobuf.BoolValue 679 (*SocketOption)(nil), // 9: envoy.api.v2.core.SocketOption 680 } 681 var file_envoy_api_v2_core_address_proto_depIdxs = []int32{ 682 0, // 0: envoy.api.v2.core.SocketAddress.protocol:type_name -> envoy.api.v2.core.SocketAddress.Protocol 683 7, // 1: envoy.api.v2.core.TcpKeepalive.keepalive_probes:type_name -> google.protobuf.UInt32Value 684 7, // 2: envoy.api.v2.core.TcpKeepalive.keepalive_time:type_name -> google.protobuf.UInt32Value 685 7, // 3: envoy.api.v2.core.TcpKeepalive.keepalive_interval:type_name -> google.protobuf.UInt32Value 686 2, // 4: envoy.api.v2.core.BindConfig.source_address:type_name -> envoy.api.v2.core.SocketAddress 687 8, // 5: envoy.api.v2.core.BindConfig.freebind:type_name -> google.protobuf.BoolValue 688 9, // 6: envoy.api.v2.core.BindConfig.socket_options:type_name -> envoy.api.v2.core.SocketOption 689 2, // 7: envoy.api.v2.core.Address.socket_address:type_name -> envoy.api.v2.core.SocketAddress 690 1, // 8: envoy.api.v2.core.Address.pipe:type_name -> envoy.api.v2.core.Pipe 691 7, // 9: envoy.api.v2.core.CidrRange.prefix_len:type_name -> google.protobuf.UInt32Value 692 10, // [10:10] is the sub-list for method output_type 693 10, // [10:10] is the sub-list for method input_type 694 10, // [10:10] is the sub-list for extension type_name 695 10, // [10:10] is the sub-list for extension extendee 696 0, // [0:10] is the sub-list for field type_name 697 } 698 699 func init() { file_envoy_api_v2_core_address_proto_init() } 700 func file_envoy_api_v2_core_address_proto_init() { 701 if File_envoy_api_v2_core_address_proto != nil { 702 return 703 } 704 file_envoy_api_v2_core_socket_option_proto_init() 705 if !protoimpl.UnsafeEnabled { 706 file_envoy_api_v2_core_address_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 707 switch v := v.(*Pipe); i { 708 case 0: 709 return &v.state 710 case 1: 711 return &v.sizeCache 712 case 2: 713 return &v.unknownFields 714 default: 715 return nil 716 } 717 } 718 file_envoy_api_v2_core_address_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 719 switch v := v.(*SocketAddress); i { 720 case 0: 721 return &v.state 722 case 1: 723 return &v.sizeCache 724 case 2: 725 return &v.unknownFields 726 default: 727 return nil 728 } 729 } 730 file_envoy_api_v2_core_address_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 731 switch v := v.(*TcpKeepalive); i { 732 case 0: 733 return &v.state 734 case 1: 735 return &v.sizeCache 736 case 2: 737 return &v.unknownFields 738 default: 739 return nil 740 } 741 } 742 file_envoy_api_v2_core_address_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 743 switch v := v.(*BindConfig); i { 744 case 0: 745 return &v.state 746 case 1: 747 return &v.sizeCache 748 case 2: 749 return &v.unknownFields 750 default: 751 return nil 752 } 753 } 754 file_envoy_api_v2_core_address_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 755 switch v := v.(*Address); i { 756 case 0: 757 return &v.state 758 case 1: 759 return &v.sizeCache 760 case 2: 761 return &v.unknownFields 762 default: 763 return nil 764 } 765 } 766 file_envoy_api_v2_core_address_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 767 switch v := v.(*CidrRange); i { 768 case 0: 769 return &v.state 770 case 1: 771 return &v.sizeCache 772 case 2: 773 return &v.unknownFields 774 default: 775 return nil 776 } 777 } 778 } 779 file_envoy_api_v2_core_address_proto_msgTypes[1].OneofWrappers = []interface{}{ 780 (*SocketAddress_PortValue)(nil), 781 (*SocketAddress_NamedPort)(nil), 782 } 783 file_envoy_api_v2_core_address_proto_msgTypes[4].OneofWrappers = []interface{}{ 784 (*Address_SocketAddress)(nil), 785 (*Address_Pipe)(nil), 786 } 787 type x struct{} 788 out := protoimpl.TypeBuilder{ 789 File: protoimpl.DescBuilder{ 790 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 791 RawDescriptor: file_envoy_api_v2_core_address_proto_rawDesc, 792 NumEnums: 1, 793 NumMessages: 6, 794 NumExtensions: 0, 795 NumServices: 0, 796 }, 797 GoTypes: file_envoy_api_v2_core_address_proto_goTypes, 798 DependencyIndexes: file_envoy_api_v2_core_address_proto_depIdxs, 799 EnumInfos: file_envoy_api_v2_core_address_proto_enumTypes, 800 MessageInfos: file_envoy_api_v2_core_address_proto_msgTypes, 801 }.Build() 802 File_envoy_api_v2_core_address_proto = out.File 803 file_envoy_api_v2_core_address_proto_rawDesc = nil 804 file_envoy_api_v2_core_address_proto_goTypes = nil 805 file_envoy_api_v2_core_address_proto_depIdxs = nil 806 }