github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/api/v2/endpoint/endpoint_components.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/endpoint/endpoint_components.proto 6 7 package envoy_api_v2_endpoint 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 core "github.com/hxx258456/ccgo/go-control-plane/envoy/api/v2/core" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 wrappers "github.com/golang/protobuf/ptypes/wrappers" 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 // Upstream host identifier. 33 type Endpoint struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // The upstream host address. 39 // 40 // .. attention:: 41 // 42 // The form of host address depends on the given cluster type. For STATIC or EDS, 43 // it is expected to be a direct IP address (or something resolvable by the 44 // specified :ref:`resolver <envoy_api_field_core.SocketAddress.resolver_name>` 45 // in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname, 46 // and will be resolved via DNS. 47 Address *core.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 48 // The optional health check configuration is used as configuration for the 49 // health checker to contact the health checked host. 50 // 51 // .. attention:: 52 // 53 // This takes into effect only for upstream clusters with 54 // :ref:`active health checking <arch_overview_health_checking>` enabled. 55 HealthCheckConfig *Endpoint_HealthCheckConfig `protobuf:"bytes,2,opt,name=health_check_config,json=healthCheckConfig,proto3" json:"health_check_config,omitempty"` 56 // The hostname associated with this endpoint. This hostname is not used for routing or address 57 // resolution. If provided, it will be associated with the endpoint, and can be used for features 58 // that require a hostname, like 59 // :ref:`auto_host_rewrite <envoy_api_field_route.RouteAction.auto_host_rewrite>`. 60 Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` 61 } 62 63 func (x *Endpoint) Reset() { 64 *x = Endpoint{} 65 if protoimpl.UnsafeEnabled { 66 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[0] 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 ms.StoreMessageInfo(mi) 69 } 70 } 71 72 func (x *Endpoint) String() string { 73 return protoimpl.X.MessageStringOf(x) 74 } 75 76 func (*Endpoint) ProtoMessage() {} 77 78 func (x *Endpoint) ProtoReflect() protoreflect.Message { 79 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[0] 80 if protoimpl.UnsafeEnabled && x != nil { 81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 82 if ms.LoadMessageInfo() == nil { 83 ms.StoreMessageInfo(mi) 84 } 85 return ms 86 } 87 return mi.MessageOf(x) 88 } 89 90 // Deprecated: Use Endpoint.ProtoReflect.Descriptor instead. 91 func (*Endpoint) Descriptor() ([]byte, []int) { 92 return file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescGZIP(), []int{0} 93 } 94 95 func (x *Endpoint) GetAddress() *core.Address { 96 if x != nil { 97 return x.Address 98 } 99 return nil 100 } 101 102 func (x *Endpoint) GetHealthCheckConfig() *Endpoint_HealthCheckConfig { 103 if x != nil { 104 return x.HealthCheckConfig 105 } 106 return nil 107 } 108 109 func (x *Endpoint) GetHostname() string { 110 if x != nil { 111 return x.Hostname 112 } 113 return "" 114 } 115 116 // An Endpoint that Envoy can route traffic to. 117 // [#next-free-field: 6] 118 type LbEndpoint struct { 119 state protoimpl.MessageState 120 sizeCache protoimpl.SizeCache 121 unknownFields protoimpl.UnknownFields 122 123 // Upstream host identifier or a named reference. 124 // 125 // Types that are assignable to HostIdentifier: 126 // *LbEndpoint_Endpoint 127 // *LbEndpoint_EndpointName 128 HostIdentifier isLbEndpoint_HostIdentifier `protobuf_oneof:"host_identifier"` 129 // Optional health status when known and supplied by EDS server. 130 HealthStatus core.HealthStatus `protobuf:"varint,2,opt,name=health_status,json=healthStatus,proto3,enum=envoy.api.v2.core.HealthStatus" json:"health_status,omitempty"` 131 // The endpoint metadata specifies values that may be used by the load 132 // balancer to select endpoints in a cluster for a given request. The filter 133 // name should be specified as *envoy.lb*. An example boolean key-value pair 134 // is *canary*, providing the optional canary status of the upstream host. 135 // This may be matched against in a route's 136 // :ref:`RouteAction <envoy_api_msg_route.RouteAction>` metadata_match field 137 // to subset the endpoints considered in cluster load balancing. 138 Metadata *core.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` 139 // The optional load balancing weight of the upstream host; at least 1. 140 // Envoy uses the load balancing weight in some of the built in load 141 // balancers. The load balancing weight for an endpoint is divided by the sum 142 // of the weights of all endpoints in the endpoint's locality to produce a 143 // percentage of traffic for the endpoint. This percentage is then further 144 // weighted by the endpoint's locality's load balancing weight from 145 // LocalityLbEndpoints. If unspecified, each host is presumed to have equal 146 // weight in a locality. The sum of the weights of all endpoints in the 147 // endpoint's locality must not exceed uint32_t maximal value (4294967295). 148 LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"` 149 } 150 151 func (x *LbEndpoint) Reset() { 152 *x = LbEndpoint{} 153 if protoimpl.UnsafeEnabled { 154 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[1] 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 ms.StoreMessageInfo(mi) 157 } 158 } 159 160 func (x *LbEndpoint) String() string { 161 return protoimpl.X.MessageStringOf(x) 162 } 163 164 func (*LbEndpoint) ProtoMessage() {} 165 166 func (x *LbEndpoint) ProtoReflect() protoreflect.Message { 167 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[1] 168 if protoimpl.UnsafeEnabled && x != nil { 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 if ms.LoadMessageInfo() == nil { 171 ms.StoreMessageInfo(mi) 172 } 173 return ms 174 } 175 return mi.MessageOf(x) 176 } 177 178 // Deprecated: Use LbEndpoint.ProtoReflect.Descriptor instead. 179 func (*LbEndpoint) Descriptor() ([]byte, []int) { 180 return file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescGZIP(), []int{1} 181 } 182 183 func (m *LbEndpoint) GetHostIdentifier() isLbEndpoint_HostIdentifier { 184 if m != nil { 185 return m.HostIdentifier 186 } 187 return nil 188 } 189 190 func (x *LbEndpoint) GetEndpoint() *Endpoint { 191 if x, ok := x.GetHostIdentifier().(*LbEndpoint_Endpoint); ok { 192 return x.Endpoint 193 } 194 return nil 195 } 196 197 func (x *LbEndpoint) GetEndpointName() string { 198 if x, ok := x.GetHostIdentifier().(*LbEndpoint_EndpointName); ok { 199 return x.EndpointName 200 } 201 return "" 202 } 203 204 func (x *LbEndpoint) GetHealthStatus() core.HealthStatus { 205 if x != nil { 206 return x.HealthStatus 207 } 208 return core.HealthStatus_UNKNOWN 209 } 210 211 func (x *LbEndpoint) GetMetadata() *core.Metadata { 212 if x != nil { 213 return x.Metadata 214 } 215 return nil 216 } 217 218 func (x *LbEndpoint) GetLoadBalancingWeight() *wrappers.UInt32Value { 219 if x != nil { 220 return x.LoadBalancingWeight 221 } 222 return nil 223 } 224 225 type isLbEndpoint_HostIdentifier interface { 226 isLbEndpoint_HostIdentifier() 227 } 228 229 type LbEndpoint_Endpoint struct { 230 Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3,oneof"` 231 } 232 233 type LbEndpoint_EndpointName struct { 234 // [#not-implemented-hide:] 235 EndpointName string `protobuf:"bytes,5,opt,name=endpoint_name,json=endpointName,proto3,oneof"` 236 } 237 238 func (*LbEndpoint_Endpoint) isLbEndpoint_HostIdentifier() {} 239 240 func (*LbEndpoint_EndpointName) isLbEndpoint_HostIdentifier() {} 241 242 // A group of endpoints belonging to a Locality. 243 // One can have multiple LocalityLbEndpoints for a locality, but this is 244 // generally only done if the different groups need to have different load 245 // balancing weights or different priorities. 246 // [#next-free-field: 7] 247 type LocalityLbEndpoints struct { 248 state protoimpl.MessageState 249 sizeCache protoimpl.SizeCache 250 unknownFields protoimpl.UnknownFields 251 252 // Identifies location of where the upstream hosts run. 253 Locality *core.Locality `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"` 254 // The group of endpoints belonging to the locality specified. 255 LbEndpoints []*LbEndpoint `protobuf:"bytes,2,rep,name=lb_endpoints,json=lbEndpoints,proto3" json:"lb_endpoints,omitempty"` 256 // Optional: Per priority/region/zone/sub_zone weight; at least 1. The load 257 // balancing weight for a locality is divided by the sum of the weights of all 258 // localities at the same priority level to produce the effective percentage 259 // of traffic for the locality. The sum of the weights of all localities at 260 // the same priority level must not exceed uint32_t maximal value (4294967295). 261 // 262 // Locality weights are only considered when :ref:`locality weighted load 263 // balancing <arch_overview_load_balancing_locality_weighted_lb>` is 264 // configured. These weights are ignored otherwise. If no weights are 265 // specified when locality weighted load balancing is enabled, the locality is 266 // assigned no load. 267 LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"` 268 // Optional: the priority for this LocalityLbEndpoints. If unspecified this will 269 // default to the highest priority (0). 270 // 271 // Under usual circumstances, Envoy will only select endpoints for the highest 272 // priority (0). In the event all endpoints for a particular priority are 273 // unavailable/unhealthy, Envoy will fail over to selecting endpoints for the 274 // next highest priority group. 275 // 276 // Priorities should range from 0 (highest) to N (lowest) without skipping. 277 Priority uint32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` 278 // Optional: Per locality proximity value which indicates how close this 279 // locality is from the source locality. This value only provides ordering 280 // information (lower the value, closer it is to the source locality). 281 // This will be consumed by load balancing schemes that need proximity order 282 // to determine where to route the requests. 283 // [#not-implemented-hide:] 284 Proximity *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=proximity,proto3" json:"proximity,omitempty"` 285 } 286 287 func (x *LocalityLbEndpoints) Reset() { 288 *x = LocalityLbEndpoints{} 289 if protoimpl.UnsafeEnabled { 290 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[2] 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 ms.StoreMessageInfo(mi) 293 } 294 } 295 296 func (x *LocalityLbEndpoints) String() string { 297 return protoimpl.X.MessageStringOf(x) 298 } 299 300 func (*LocalityLbEndpoints) ProtoMessage() {} 301 302 func (x *LocalityLbEndpoints) ProtoReflect() protoreflect.Message { 303 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[2] 304 if protoimpl.UnsafeEnabled && x != nil { 305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 306 if ms.LoadMessageInfo() == nil { 307 ms.StoreMessageInfo(mi) 308 } 309 return ms 310 } 311 return mi.MessageOf(x) 312 } 313 314 // Deprecated: Use LocalityLbEndpoints.ProtoReflect.Descriptor instead. 315 func (*LocalityLbEndpoints) Descriptor() ([]byte, []int) { 316 return file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescGZIP(), []int{2} 317 } 318 319 func (x *LocalityLbEndpoints) GetLocality() *core.Locality { 320 if x != nil { 321 return x.Locality 322 } 323 return nil 324 } 325 326 func (x *LocalityLbEndpoints) GetLbEndpoints() []*LbEndpoint { 327 if x != nil { 328 return x.LbEndpoints 329 } 330 return nil 331 } 332 333 func (x *LocalityLbEndpoints) GetLoadBalancingWeight() *wrappers.UInt32Value { 334 if x != nil { 335 return x.LoadBalancingWeight 336 } 337 return nil 338 } 339 340 func (x *LocalityLbEndpoints) GetPriority() uint32 { 341 if x != nil { 342 return x.Priority 343 } 344 return 0 345 } 346 347 func (x *LocalityLbEndpoints) GetProximity() *wrappers.UInt32Value { 348 if x != nil { 349 return x.Proximity 350 } 351 return nil 352 } 353 354 // The optional health check configuration. 355 type Endpoint_HealthCheckConfig struct { 356 state protoimpl.MessageState 357 sizeCache protoimpl.SizeCache 358 unknownFields protoimpl.UnknownFields 359 360 // Optional alternative health check port value. 361 // 362 // By default the health check address port of an upstream host is the same 363 // as the host's serving address port. This provides an alternative health 364 // check port. Setting this with a non-zero value allows an upstream host 365 // to have different health check address port. 366 PortValue uint32 `protobuf:"varint,1,opt,name=port_value,json=portValue,proto3" json:"port_value,omitempty"` 367 // By default, the host header for L7 health checks is controlled by cluster level configuration 368 // (see: :ref:`host <envoy_api_field_core.HealthCheck.HttpHealthCheck.host>` and 369 // :ref:`authority <envoy_api_field_core.HealthCheck.GrpcHealthCheck.authority>`). Setting this 370 // to a non-empty value allows overriding the cluster level configuration for a specific 371 // endpoint. 372 Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` 373 } 374 375 func (x *Endpoint_HealthCheckConfig) Reset() { 376 *x = Endpoint_HealthCheckConfig{} 377 if protoimpl.UnsafeEnabled { 378 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[3] 379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 380 ms.StoreMessageInfo(mi) 381 } 382 } 383 384 func (x *Endpoint_HealthCheckConfig) String() string { 385 return protoimpl.X.MessageStringOf(x) 386 } 387 388 func (*Endpoint_HealthCheckConfig) ProtoMessage() {} 389 390 func (x *Endpoint_HealthCheckConfig) ProtoReflect() protoreflect.Message { 391 mi := &file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[3] 392 if protoimpl.UnsafeEnabled && x != nil { 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 if ms.LoadMessageInfo() == nil { 395 ms.StoreMessageInfo(mi) 396 } 397 return ms 398 } 399 return mi.MessageOf(x) 400 } 401 402 // Deprecated: Use Endpoint_HealthCheckConfig.ProtoReflect.Descriptor instead. 403 func (*Endpoint_HealthCheckConfig) Descriptor() ([]byte, []int) { 404 return file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescGZIP(), []int{0, 0} 405 } 406 407 func (x *Endpoint_HealthCheckConfig) GetPortValue() uint32 { 408 if x != nil { 409 return x.PortValue 410 } 411 return 0 412 } 413 414 func (x *Endpoint_HealthCheckConfig) GetHostname() string { 415 if x != nil { 416 return x.Hostname 417 } 418 return "" 419 } 420 421 var File_envoy_api_v2_endpoint_endpoint_components_proto protoreflect.FileDescriptor 422 423 var file_envoy_api_v2_endpoint_endpoint_components_proto_rawDesc = []byte{ 424 0x0a, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x65, 425 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 426 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 427 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 428 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 429 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 430 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 431 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 432 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 433 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 434 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 435 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 436 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 437 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 438 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 439 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 440 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 441 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 442 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x02, 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 443 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 444 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 445 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 446 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x13, 0x68, 0x65, 0x61, 0x6c, 447 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 448 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 449 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 450 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 451 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 452 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 453 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 454 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x59, 0x0a, 0x11, 0x48, 0x65, 0x61, 0x6c, 0x74, 455 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x0a, 456 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 457 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04, 0x18, 0xff, 0xff, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x72, 458 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 459 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 460 0x6d, 0x65, 0x22, 0xdf, 0x02, 0x0a, 0x0a, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 461 0x74, 0x12, 0x3d, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 462 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 463 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 464 0x6f, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 465 0x12, 0x25, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 466 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 467 0x69, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x6c, 0x74, 468 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 469 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 470 0x72, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 471 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x37, 0x0a, 472 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 473 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 474 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 475 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x59, 0x0a, 0x15, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 476 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 477 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 478 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 479 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 0x01, 0x52, 0x13, 0x6c, 0x6f, 480 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x69, 0x67, 0x68, 481 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 482 0x66, 0x69, 0x65, 0x72, 0x22, 0xd1, 0x02, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 483 0x79, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 484 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 485 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 486 0x72, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x08, 0x6c, 0x6f, 0x63, 487 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x44, 0x0a, 0x0c, 0x6c, 0x62, 0x5f, 0x65, 0x6e, 0x64, 0x70, 488 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 489 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 490 0x69, 0x6e, 0x74, 0x2e, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 491 0x6c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x59, 0x0a, 0x15, 0x6c, 492 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 493 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 494 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 495 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 496 0x01, 0x52, 0x13, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 497 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 498 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03, 0x18, 499 0x80, 0x01, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3a, 0x0a, 0x09, 500 0x70, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 501 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 502 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x70, 503 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x42, 0x68, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 504 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 505 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 506 0x17, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 507 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x1a, 508 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 509 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 510 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 511 } 512 513 var ( 514 file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescOnce sync.Once 515 file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescData = file_envoy_api_v2_endpoint_endpoint_components_proto_rawDesc 516 ) 517 518 func file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescGZIP() []byte { 519 file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescOnce.Do(func() { 520 file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescData) 521 }) 522 return file_envoy_api_v2_endpoint_endpoint_components_proto_rawDescData 523 } 524 525 var file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 526 var file_envoy_api_v2_endpoint_endpoint_components_proto_goTypes = []interface{}{ 527 (*Endpoint)(nil), // 0: envoy.api.v2.endpoint.Endpoint 528 (*LbEndpoint)(nil), // 1: envoy.api.v2.endpoint.LbEndpoint 529 (*LocalityLbEndpoints)(nil), // 2: envoy.api.v2.endpoint.LocalityLbEndpoints 530 (*Endpoint_HealthCheckConfig)(nil), // 3: envoy.api.v2.endpoint.Endpoint.HealthCheckConfig 531 (*core.Address)(nil), // 4: envoy.api.v2.core.Address 532 (core.HealthStatus)(0), // 5: envoy.api.v2.core.HealthStatus 533 (*core.Metadata)(nil), // 6: envoy.api.v2.core.Metadata 534 (*wrappers.UInt32Value)(nil), // 7: google.protobuf.UInt32Value 535 (*core.Locality)(nil), // 8: envoy.api.v2.core.Locality 536 } 537 var file_envoy_api_v2_endpoint_endpoint_components_proto_depIdxs = []int32{ 538 4, // 0: envoy.api.v2.endpoint.Endpoint.address:type_name -> envoy.api.v2.core.Address 539 3, // 1: envoy.api.v2.endpoint.Endpoint.health_check_config:type_name -> envoy.api.v2.endpoint.Endpoint.HealthCheckConfig 540 0, // 2: envoy.api.v2.endpoint.LbEndpoint.endpoint:type_name -> envoy.api.v2.endpoint.Endpoint 541 5, // 3: envoy.api.v2.endpoint.LbEndpoint.health_status:type_name -> envoy.api.v2.core.HealthStatus 542 6, // 4: envoy.api.v2.endpoint.LbEndpoint.metadata:type_name -> envoy.api.v2.core.Metadata 543 7, // 5: envoy.api.v2.endpoint.LbEndpoint.load_balancing_weight:type_name -> google.protobuf.UInt32Value 544 8, // 6: envoy.api.v2.endpoint.LocalityLbEndpoints.locality:type_name -> envoy.api.v2.core.Locality 545 1, // 7: envoy.api.v2.endpoint.LocalityLbEndpoints.lb_endpoints:type_name -> envoy.api.v2.endpoint.LbEndpoint 546 7, // 8: envoy.api.v2.endpoint.LocalityLbEndpoints.load_balancing_weight:type_name -> google.protobuf.UInt32Value 547 7, // 9: envoy.api.v2.endpoint.LocalityLbEndpoints.proximity:type_name -> google.protobuf.UInt32Value 548 10, // [10:10] is the sub-list for method output_type 549 10, // [10:10] is the sub-list for method input_type 550 10, // [10:10] is the sub-list for extension type_name 551 10, // [10:10] is the sub-list for extension extendee 552 0, // [0:10] is the sub-list for field type_name 553 } 554 555 func init() { file_envoy_api_v2_endpoint_endpoint_components_proto_init() } 556 func file_envoy_api_v2_endpoint_endpoint_components_proto_init() { 557 if File_envoy_api_v2_endpoint_endpoint_components_proto != nil { 558 return 559 } 560 if !protoimpl.UnsafeEnabled { 561 file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 562 switch v := v.(*Endpoint); i { 563 case 0: 564 return &v.state 565 case 1: 566 return &v.sizeCache 567 case 2: 568 return &v.unknownFields 569 default: 570 return nil 571 } 572 } 573 file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 574 switch v := v.(*LbEndpoint); i { 575 case 0: 576 return &v.state 577 case 1: 578 return &v.sizeCache 579 case 2: 580 return &v.unknownFields 581 default: 582 return nil 583 } 584 } 585 file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 586 switch v := v.(*LocalityLbEndpoints); i { 587 case 0: 588 return &v.state 589 case 1: 590 return &v.sizeCache 591 case 2: 592 return &v.unknownFields 593 default: 594 return nil 595 } 596 } 597 file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 598 switch v := v.(*Endpoint_HealthCheckConfig); i { 599 case 0: 600 return &v.state 601 case 1: 602 return &v.sizeCache 603 case 2: 604 return &v.unknownFields 605 default: 606 return nil 607 } 608 } 609 } 610 file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes[1].OneofWrappers = []interface{}{ 611 (*LbEndpoint_Endpoint)(nil), 612 (*LbEndpoint_EndpointName)(nil), 613 } 614 type x struct{} 615 out := protoimpl.TypeBuilder{ 616 File: protoimpl.DescBuilder{ 617 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 618 RawDescriptor: file_envoy_api_v2_endpoint_endpoint_components_proto_rawDesc, 619 NumEnums: 0, 620 NumMessages: 4, 621 NumExtensions: 0, 622 NumServices: 0, 623 }, 624 GoTypes: file_envoy_api_v2_endpoint_endpoint_components_proto_goTypes, 625 DependencyIndexes: file_envoy_api_v2_endpoint_endpoint_components_proto_depIdxs, 626 MessageInfos: file_envoy_api_v2_endpoint_endpoint_components_proto_msgTypes, 627 }.Build() 628 File_envoy_api_v2_endpoint_endpoint_components_proto = out.File 629 file_envoy_api_v2_endpoint_endpoint_components_proto_rawDesc = nil 630 file_envoy_api_v2_endpoint_endpoint_components_proto_goTypes = nil 631 file_envoy_api_v2_endpoint_endpoint_components_proto_depIdxs = nil 632 }