github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/endpoint/v3/endpoint.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/config/endpoint/v3/endpoint.proto 6 7 package envoy_config_endpoint_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/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 wrappers "github.com/golang/protobuf/ptypes/wrappers" 17 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 18 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 // This is a compile-time assertion that a sufficiently up-to-date version 31 // of the legacy proto package is being used. 32 const _ = proto.ProtoPackageIsVersion4 33 34 // Each route from RDS will map to a single cluster or traffic split across 35 // clusters using weights expressed in the RDS WeightedCluster. 36 // 37 // With EDS, each cluster is treated independently from a LB perspective, with 38 // LB taking place between the Localities within a cluster and at a finer 39 // granularity between the hosts within a locality. The percentage of traffic 40 // for each endpoint is determined by both its load_balancing_weight, and the 41 // load_balancing_weight of its locality. First, a locality will be selected, 42 // then an endpoint within that locality will be chose based on its weight. 43 // [#next-free-field: 6] 44 type ClusterLoadAssignment struct { 45 state protoimpl.MessageState 46 sizeCache protoimpl.SizeCache 47 unknownFields protoimpl.UnknownFields 48 49 // Name of the cluster. This will be the :ref:`service_name 50 // <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified 51 // in the cluster :ref:`EdsClusterConfig 52 // <envoy_v3_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`. 53 ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` 54 // List of endpoints to load balance to. 55 Endpoints []*LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"` 56 // Map of named endpoints that can be referenced in LocalityLbEndpoints. 57 // [#not-implemented-hide:] 58 NamedEndpoints map[string]*Endpoint `protobuf:"bytes,5,rep,name=named_endpoints,json=namedEndpoints,proto3" json:"named_endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 59 // Load balancing policy settings. 60 Policy *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"` 61 } 62 63 func (x *ClusterLoadAssignment) Reset() { 64 *x = ClusterLoadAssignment{} 65 if protoimpl.UnsafeEnabled { 66 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0] 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 ms.StoreMessageInfo(mi) 69 } 70 } 71 72 func (x *ClusterLoadAssignment) String() string { 73 return protoimpl.X.MessageStringOf(x) 74 } 75 76 func (*ClusterLoadAssignment) ProtoMessage() {} 77 78 func (x *ClusterLoadAssignment) ProtoReflect() protoreflect.Message { 79 mi := &file_envoy_config_endpoint_v3_endpoint_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 ClusterLoadAssignment.ProtoReflect.Descriptor instead. 91 func (*ClusterLoadAssignment) Descriptor() ([]byte, []int) { 92 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0} 93 } 94 95 func (x *ClusterLoadAssignment) GetClusterName() string { 96 if x != nil { 97 return x.ClusterName 98 } 99 return "" 100 } 101 102 func (x *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints { 103 if x != nil { 104 return x.Endpoints 105 } 106 return nil 107 } 108 109 func (x *ClusterLoadAssignment) GetNamedEndpoints() map[string]*Endpoint { 110 if x != nil { 111 return x.NamedEndpoints 112 } 113 return nil 114 } 115 116 func (x *ClusterLoadAssignment) GetPolicy() *ClusterLoadAssignment_Policy { 117 if x != nil { 118 return x.Policy 119 } 120 return nil 121 } 122 123 // Load balancing policy settings. 124 // [#next-free-field: 6] 125 type ClusterLoadAssignment_Policy struct { 126 state protoimpl.MessageState 127 sizeCache protoimpl.SizeCache 128 unknownFields protoimpl.UnknownFields 129 130 // Action to trim the overall incoming traffic to protect the upstream 131 // hosts. This action allows protection in case the hosts are unable to 132 // recover from an outage, or unable to autoscale or unable to handle 133 // incoming traffic volume for any reason. 134 // 135 // At the client each category is applied one after the other to generate 136 // the 'actual' drop percentage on all outgoing traffic. For example: 137 // 138 // .. code-block:: json 139 // 140 // { "drop_overloads": [ 141 // { "category": "throttle", "drop_percentage": 60 } 142 // { "category": "lb", "drop_percentage": 50 } 143 // ]} 144 // 145 // The actual drop percentages applied to the traffic at the clients will be 146 // "throttle"_drop = 60% 147 // "lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%. 148 // actual_outgoing_load = 20% // remaining after applying all categories. 149 // [#not-implemented-hide:] 150 DropOverloads []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"` 151 // Priority levels and localities are considered overprovisioned with this 152 // factor (in percentage). This means that we don't consider a priority 153 // level or locality unhealthy until the fraction of healthy hosts 154 // multiplied by the overprovisioning factor drops below 100. 155 // With the default value 140(1.4), Envoy doesn't consider a priority level 156 // or a locality unhealthy until their percentage of healthy hosts drops 157 // below 72%. For example: 158 // 159 // .. code-block:: json 160 // 161 // { "overprovisioning_factor": 100 } 162 // 163 // Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and 164 // :ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`. 165 OverprovisioningFactor *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=overprovisioning_factor,json=overprovisioningFactor,proto3" json:"overprovisioning_factor,omitempty"` 166 // The max time until which the endpoints from this assignment can be used. 167 // If no new assignments are received before this time expires the endpoints 168 // are considered stale and should be marked unhealthy. 169 // Defaults to 0 which means endpoints never go stale. 170 EndpointStaleAfter *duration.Duration `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"` 171 // Deprecated: Do not use. 172 HiddenEnvoyDeprecatedDisableOverprovisioning bool `protobuf:"varint,5,opt,name=hidden_envoy_deprecated_disable_overprovisioning,json=hiddenEnvoyDeprecatedDisableOverprovisioning,proto3" json:"hidden_envoy_deprecated_disable_overprovisioning,omitempty"` 173 } 174 175 func (x *ClusterLoadAssignment_Policy) Reset() { 176 *x = ClusterLoadAssignment_Policy{} 177 if protoimpl.UnsafeEnabled { 178 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1] 179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 180 ms.StoreMessageInfo(mi) 181 } 182 } 183 184 func (x *ClusterLoadAssignment_Policy) String() string { 185 return protoimpl.X.MessageStringOf(x) 186 } 187 188 func (*ClusterLoadAssignment_Policy) ProtoMessage() {} 189 190 func (x *ClusterLoadAssignment_Policy) ProtoReflect() protoreflect.Message { 191 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1] 192 if protoimpl.UnsafeEnabled && x != nil { 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 if ms.LoadMessageInfo() == nil { 195 ms.StoreMessageInfo(mi) 196 } 197 return ms 198 } 199 return mi.MessageOf(x) 200 } 201 202 // Deprecated: Use ClusterLoadAssignment_Policy.ProtoReflect.Descriptor instead. 203 func (*ClusterLoadAssignment_Policy) Descriptor() ([]byte, []int) { 204 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0, 0} 205 } 206 207 func (x *ClusterLoadAssignment_Policy) GetDropOverloads() []*ClusterLoadAssignment_Policy_DropOverload { 208 if x != nil { 209 return x.DropOverloads 210 } 211 return nil 212 } 213 214 func (x *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *wrappers.UInt32Value { 215 if x != nil { 216 return x.OverprovisioningFactor 217 } 218 return nil 219 } 220 221 func (x *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *duration.Duration { 222 if x != nil { 223 return x.EndpointStaleAfter 224 } 225 return nil 226 } 227 228 // Deprecated: Do not use. 229 func (x *ClusterLoadAssignment_Policy) GetHiddenEnvoyDeprecatedDisableOverprovisioning() bool { 230 if x != nil { 231 return x.HiddenEnvoyDeprecatedDisableOverprovisioning 232 } 233 return false 234 } 235 236 // [#not-implemented-hide:] 237 type ClusterLoadAssignment_Policy_DropOverload struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 // Identifier for the policy specifying the drop. 243 Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"` 244 // Percentage of traffic that should be dropped for the category. 245 DropPercentage *v3.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"` 246 } 247 248 func (x *ClusterLoadAssignment_Policy_DropOverload) Reset() { 249 *x = ClusterLoadAssignment_Policy_DropOverload{} 250 if protoimpl.UnsafeEnabled { 251 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3] 252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 253 ms.StoreMessageInfo(mi) 254 } 255 } 256 257 func (x *ClusterLoadAssignment_Policy_DropOverload) String() string { 258 return protoimpl.X.MessageStringOf(x) 259 } 260 261 func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage() {} 262 263 func (x *ClusterLoadAssignment_Policy_DropOverload) ProtoReflect() protoreflect.Message { 264 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3] 265 if protoimpl.UnsafeEnabled && x != nil { 266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 267 if ms.LoadMessageInfo() == nil { 268 ms.StoreMessageInfo(mi) 269 } 270 return ms 271 } 272 return mi.MessageOf(x) 273 } 274 275 // Deprecated: Use ClusterLoadAssignment_Policy_DropOverload.ProtoReflect.Descriptor instead. 276 func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor() ([]byte, []int) { 277 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0, 0, 0} 278 } 279 280 func (x *ClusterLoadAssignment_Policy_DropOverload) GetCategory() string { 281 if x != nil { 282 return x.Category 283 } 284 return "" 285 } 286 287 func (x *ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage() *v3.FractionalPercent { 288 if x != nil { 289 return x.DropPercentage 290 } 291 return nil 292 } 293 294 var File_envoy_config_endpoint_v3_endpoint_proto protoreflect.FileDescriptor 295 296 var file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = []byte{ 297 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x65, 298 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 299 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 300 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 301 0x2e, 0x76, 0x33, 0x1a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 302 0x67, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 303 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 304 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 305 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70, 306 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 307 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 308 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 309 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 310 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 311 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 312 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 313 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 314 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 315 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 316 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 317 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 318 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x08, 0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 319 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 320 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 321 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x63, 322 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x65, 0x6e, 323 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 324 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 325 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 326 0x79, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x65, 0x6e, 327 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x6c, 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 328 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 329 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 330 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 331 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 332 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 333 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 334 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 335 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 336 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 337 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 338 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 339 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x98, 0x05, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 340 0x12, 0x6a, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 341 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 342 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 343 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 344 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 345 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0d, 0x64, 346 0x72, 0x6f, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x5e, 0x0a, 0x17, 347 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 348 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 349 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 350 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 351 0x2a, 0x02, 0x20, 0x00, 0x52, 0x16, 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 352 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x14, 353 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x61, 354 0x66, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 355 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 356 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 357 0x12, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x6c, 0x65, 0x41, 0x66, 358 0x74, 0x65, 0x72, 0x12, 0x73, 0x0a, 0x30, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 359 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 360 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 361 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0b, 0x18, 362 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x2c, 0x68, 0x69, 0x64, 0x64, 363 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 364 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 365 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 366 0x70, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x08, 0x63, 0x61, 0x74, 367 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 368 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x49, 369 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 370 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 371 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 372 0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x50, 373 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x3a, 0x3d, 0x9a, 0xc5, 0x88, 0x1e, 0x38, 374 0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 375 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 376 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70, 377 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 0x2b, 0x0a, 378 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 379 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 380 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 381 0x1a, 0x65, 0x0a, 0x13, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 382 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 383 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c, 384 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 385 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 386 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 387 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22, 388 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75, 389 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 390 0x6e, 0x74, 0x42, 0x41, 0x0a, 0x26, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 391 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 392 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x45, 0x6e, 393 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 394 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 395 } 396 397 var ( 398 file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce sync.Once 399 file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = file_envoy_config_endpoint_v3_endpoint_proto_rawDesc 400 ) 401 402 func file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP() []byte { 403 file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce.Do(func() { 404 file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_endpoint_v3_endpoint_proto_rawDescData) 405 }) 406 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescData 407 } 408 409 var file_envoy_config_endpoint_v3_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 410 var file_envoy_config_endpoint_v3_endpoint_proto_goTypes = []interface{}{ 411 (*ClusterLoadAssignment)(nil), // 0: envoy.config.endpoint.v3.ClusterLoadAssignment 412 (*ClusterLoadAssignment_Policy)(nil), // 1: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy 413 nil, // 2: envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry 414 (*ClusterLoadAssignment_Policy_DropOverload)(nil), // 3: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload 415 (*LocalityLbEndpoints)(nil), // 4: envoy.config.endpoint.v3.LocalityLbEndpoints 416 (*wrappers.UInt32Value)(nil), // 5: google.protobuf.UInt32Value 417 (*duration.Duration)(nil), // 6: google.protobuf.Duration 418 (*Endpoint)(nil), // 7: envoy.config.endpoint.v3.Endpoint 419 (*v3.FractionalPercent)(nil), // 8: envoy.type.v3.FractionalPercent 420 } 421 var file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = []int32{ 422 4, // 0: envoy.config.endpoint.v3.ClusterLoadAssignment.endpoints:type_name -> envoy.config.endpoint.v3.LocalityLbEndpoints 423 2, // 1: envoy.config.endpoint.v3.ClusterLoadAssignment.named_endpoints:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry 424 1, // 2: envoy.config.endpoint.v3.ClusterLoadAssignment.policy:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.Policy 425 3, // 3: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.drop_overloads:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload 426 5, // 4: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.overprovisioning_factor:type_name -> google.protobuf.UInt32Value 427 6, // 5: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.endpoint_stale_after:type_name -> google.protobuf.Duration 428 7, // 6: envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry.value:type_name -> envoy.config.endpoint.v3.Endpoint 429 8, // 7: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload.drop_percentage:type_name -> envoy.type.v3.FractionalPercent 430 8, // [8:8] is the sub-list for method output_type 431 8, // [8:8] is the sub-list for method input_type 432 8, // [8:8] is the sub-list for extension type_name 433 8, // [8:8] is the sub-list for extension extendee 434 0, // [0:8] is the sub-list for field type_name 435 } 436 437 func init() { file_envoy_config_endpoint_v3_endpoint_proto_init() } 438 func file_envoy_config_endpoint_v3_endpoint_proto_init() { 439 if File_envoy_config_endpoint_v3_endpoint_proto != nil { 440 return 441 } 442 file_envoy_config_endpoint_v3_endpoint_components_proto_init() 443 if !protoimpl.UnsafeEnabled { 444 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 445 switch v := v.(*ClusterLoadAssignment); i { 446 case 0: 447 return &v.state 448 case 1: 449 return &v.sizeCache 450 case 2: 451 return &v.unknownFields 452 default: 453 return nil 454 } 455 } 456 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 457 switch v := v.(*ClusterLoadAssignment_Policy); i { 458 case 0: 459 return &v.state 460 case 1: 461 return &v.sizeCache 462 case 2: 463 return &v.unknownFields 464 default: 465 return nil 466 } 467 } 468 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 469 switch v := v.(*ClusterLoadAssignment_Policy_DropOverload); i { 470 case 0: 471 return &v.state 472 case 1: 473 return &v.sizeCache 474 case 2: 475 return &v.unknownFields 476 default: 477 return nil 478 } 479 } 480 } 481 type x struct{} 482 out := protoimpl.TypeBuilder{ 483 File: protoimpl.DescBuilder{ 484 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 485 RawDescriptor: file_envoy_config_endpoint_v3_endpoint_proto_rawDesc, 486 NumEnums: 0, 487 NumMessages: 4, 488 NumExtensions: 0, 489 NumServices: 0, 490 }, 491 GoTypes: file_envoy_config_endpoint_v3_endpoint_proto_goTypes, 492 DependencyIndexes: file_envoy_config_endpoint_v3_endpoint_proto_depIdxs, 493 MessageInfos: file_envoy_config_endpoint_v3_endpoint_proto_msgTypes, 494 }.Build() 495 File_envoy_config_endpoint_v3_endpoint_proto = out.File 496 file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = nil 497 file_envoy_config_endpoint_v3_endpoint_proto_goTypes = nil 498 file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = nil 499 }