...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/config/endpoint/v3/endpoint_components.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/config/endpoint/v3

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.14.0
     5  // source: envoy/config/endpoint/v3/endpoint_components.proto
     6  
     7  package envoy_config_endpoint_v3
     8  
     9  import (
    10  	_ "github.com/cncf/udpa/go/udpa/annotations"
    11  	v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v3"
    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_config.core.v3.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 *v3.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_config.route.v3.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_config_endpoint_v3_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_config_endpoint_v3_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_config_endpoint_v3_endpoint_components_proto_rawDescGZIP(), []int{0}
    93  }
    94  
    95  func (x *Endpoint) GetAddress() *v3.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 v3.HealthStatus `protobuf:"varint,2,opt,name=health_status,json=healthStatus,proto3,enum=envoy.config.core.v3.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_config.route.v3.RouteAction>` metadata_match field
   137  	// to subset the endpoints considered in cluster load balancing.
   138  	Metadata *v3.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_config_endpoint_v3_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_config_endpoint_v3_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_config_endpoint_v3_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() v3.HealthStatus {
   205  	if x != nil {
   206  		return x.HealthStatus
   207  	}
   208  	return v3.HealthStatus_UNKNOWN
   209  }
   210  
   211  func (x *LbEndpoint) GetMetadata() *v3.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 *v3.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_config_endpoint_v3_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_config_endpoint_v3_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_config_endpoint_v3_endpoint_components_proto_rawDescGZIP(), []int{2}
   317  }
   318  
   319  func (x *LocalityLbEndpoints) GetLocality() *v3.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_config.core.v3.HealthCheck.HttpHealthCheck.host>` and
   369  	// :ref:`authority <envoy_api_field_config.core.v3.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_config_endpoint_v3_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_config_endpoint_v3_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_config_endpoint_v3_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_config_endpoint_v3_endpoint_components_proto protoreflect.FileDescriptor
   422  
   423  var file_envoy_config_endpoint_v3_endpoint_components_proto_rawDesc = []byte{
   424  	0x0a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x65,
   425  	0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
   426  	0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70,
   427  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
   428  	0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x1a, 0x22,
   429  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72,
   430  	0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   431  	0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   432  	0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72,
   433  	0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   434  	0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
   435  	0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f,
   436  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72,
   437  	0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
   438  	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
   439  	0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
   440  	0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
   441  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
   442  	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
   443  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x03, 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x70,
   444  	0x6f, 0x69, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
   445  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
   446  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64,
   447  	0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x64, 0x0a,
   448  	0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f,
   449  	0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76,
   450  	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   451  	0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x48,
   452  	0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   453  	0x52, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e,
   454  	0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   455  	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x1a,
   456  	0x92, 0x01, 0x0a, 0x11, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43,
   457  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x76, 0x61,
   458  	0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04,
   459  	0x18, 0xff, 0xff, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
   460  	0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   461  	0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x37, 0x9a, 0xc5, 0x88,
   462  	0x1e, 0x32, 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32,
   463  	0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   464  	0x6e, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f,
   465  	0x6e, 0x66, 0x69, 0x67, 0x3a, 0x25, 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76,
   466  	0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   467  	0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x91, 0x03, 0x0a, 0x0a,
   468  	0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x65, 0x6e,
   469  	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65,
   470  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70,
   471  	0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
   472  	0x48, 0x00, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0d,
   473  	0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20,
   474  	0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4e,
   475  	0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74,
   476  	0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76,
   477  	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
   478  	0x33, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c,
   479  	0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3a, 0x0a, 0x08,
   480  	0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
   481  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f,
   482  	0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08,
   483  	0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x59, 0x0a, 0x15, 0x6c, 0x6f, 0x61, 0x64,
   484  	0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68,
   485  	0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   486  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32,
   487  	0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x28, 0x01, 0x52, 0x13,
   488  	0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x69,
   489  	0x67, 0x68, 0x74, 0x3a, 0x27, 0x9a, 0xc5, 0x88, 0x1e, 0x22, 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f,
   490  	0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
   491  	0x74, 0x2e, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x11, 0x0a, 0x0f,
   492  	0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22,
   493  	0x89, 0x03, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x62, 0x45, 0x6e,
   494  	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
   495  	0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   496  	0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
   497  	0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
   498  	0x69, 0x74, 0x79, 0x12, 0x47, 0x0a, 0x0c, 0x6c, 0x62, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   499  	0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   500  	0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
   501  	0x74, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52,
   502  	0x0b, 0x6c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x59, 0x0a, 0x15,
   503  	0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x77,
   504  	0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
   505  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49,
   506  	0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02,
   507  	0x28, 0x01, 0x52, 0x13, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e,
   508  	0x67, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72,
   509  	0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x2a, 0x03,
   510  	0x18, 0x80, 0x01, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3a, 0x0a,
   511  	0x09, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
   512  	0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   513  	0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09,
   514  	0x70, 0x72, 0x6f, 0x78, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 0x2b,
   515  	0x0a, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x65,
   516  	0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79,
   517  	0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x42, 0x4b, 0x0a, 0x26, 0x69,
   518  	0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
   519  	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   520  	0x6e, 0x74, 0x2e, 0x76, 0x33, 0x42, 0x17, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43,
   521  	0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
   522  	0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   523  }
   524  
   525  var (
   526  	file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescOnce sync.Once
   527  	file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescData = file_envoy_config_endpoint_v3_endpoint_components_proto_rawDesc
   528  )
   529  
   530  func file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescGZIP() []byte {
   531  	file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescOnce.Do(func() {
   532  		file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescData)
   533  	})
   534  	return file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescData
   535  }
   536  
   537  var file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   538  var file_envoy_config_endpoint_v3_endpoint_components_proto_goTypes = []interface{}{
   539  	(*Endpoint)(nil),                   // 0: envoy.config.endpoint.v3.Endpoint
   540  	(*LbEndpoint)(nil),                 // 1: envoy.config.endpoint.v3.LbEndpoint
   541  	(*LocalityLbEndpoints)(nil),        // 2: envoy.config.endpoint.v3.LocalityLbEndpoints
   542  	(*Endpoint_HealthCheckConfig)(nil), // 3: envoy.config.endpoint.v3.Endpoint.HealthCheckConfig
   543  	(*v3.Address)(nil),                 // 4: envoy.config.core.v3.Address
   544  	(v3.HealthStatus)(0),               // 5: envoy.config.core.v3.HealthStatus
   545  	(*v3.Metadata)(nil),                // 6: envoy.config.core.v3.Metadata
   546  	(*wrappers.UInt32Value)(nil),       // 7: google.protobuf.UInt32Value
   547  	(*v3.Locality)(nil),                // 8: envoy.config.core.v3.Locality
   548  }
   549  var file_envoy_config_endpoint_v3_endpoint_components_proto_depIdxs = []int32{
   550  	4,  // 0: envoy.config.endpoint.v3.Endpoint.address:type_name -> envoy.config.core.v3.Address
   551  	3,  // 1: envoy.config.endpoint.v3.Endpoint.health_check_config:type_name -> envoy.config.endpoint.v3.Endpoint.HealthCheckConfig
   552  	0,  // 2: envoy.config.endpoint.v3.LbEndpoint.endpoint:type_name -> envoy.config.endpoint.v3.Endpoint
   553  	5,  // 3: envoy.config.endpoint.v3.LbEndpoint.health_status:type_name -> envoy.config.core.v3.HealthStatus
   554  	6,  // 4: envoy.config.endpoint.v3.LbEndpoint.metadata:type_name -> envoy.config.core.v3.Metadata
   555  	7,  // 5: envoy.config.endpoint.v3.LbEndpoint.load_balancing_weight:type_name -> google.protobuf.UInt32Value
   556  	8,  // 6: envoy.config.endpoint.v3.LocalityLbEndpoints.locality:type_name -> envoy.config.core.v3.Locality
   557  	1,  // 7: envoy.config.endpoint.v3.LocalityLbEndpoints.lb_endpoints:type_name -> envoy.config.endpoint.v3.LbEndpoint
   558  	7,  // 8: envoy.config.endpoint.v3.LocalityLbEndpoints.load_balancing_weight:type_name -> google.protobuf.UInt32Value
   559  	7,  // 9: envoy.config.endpoint.v3.LocalityLbEndpoints.proximity:type_name -> google.protobuf.UInt32Value
   560  	10, // [10:10] is the sub-list for method output_type
   561  	10, // [10:10] is the sub-list for method input_type
   562  	10, // [10:10] is the sub-list for extension type_name
   563  	10, // [10:10] is the sub-list for extension extendee
   564  	0,  // [0:10] is the sub-list for field type_name
   565  }
   566  
   567  func init() { file_envoy_config_endpoint_v3_endpoint_components_proto_init() }
   568  func file_envoy_config_endpoint_v3_endpoint_components_proto_init() {
   569  	if File_envoy_config_endpoint_v3_endpoint_components_proto != nil {
   570  		return
   571  	}
   572  	if !protoimpl.UnsafeEnabled {
   573  		file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   574  			switch v := v.(*Endpoint); 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_config_endpoint_v3_endpoint_components_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   586  			switch v := v.(*LbEndpoint); 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_config_endpoint_v3_endpoint_components_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   598  			switch v := v.(*LocalityLbEndpoints); 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  		file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   610  			switch v := v.(*Endpoint_HealthCheckConfig); i {
   611  			case 0:
   612  				return &v.state
   613  			case 1:
   614  				return &v.sizeCache
   615  			case 2:
   616  				return &v.unknownFields
   617  			default:
   618  				return nil
   619  			}
   620  		}
   621  	}
   622  	file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes[1].OneofWrappers = []interface{}{
   623  		(*LbEndpoint_Endpoint)(nil),
   624  		(*LbEndpoint_EndpointName)(nil),
   625  	}
   626  	type x struct{}
   627  	out := protoimpl.TypeBuilder{
   628  		File: protoimpl.DescBuilder{
   629  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   630  			RawDescriptor: file_envoy_config_endpoint_v3_endpoint_components_proto_rawDesc,
   631  			NumEnums:      0,
   632  			NumMessages:   4,
   633  			NumExtensions: 0,
   634  			NumServices:   0,
   635  		},
   636  		GoTypes:           file_envoy_config_endpoint_v3_endpoint_components_proto_goTypes,
   637  		DependencyIndexes: file_envoy_config_endpoint_v3_endpoint_components_proto_depIdxs,
   638  		MessageInfos:      file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes,
   639  	}.Build()
   640  	File_envoy_config_endpoint_v3_endpoint_components_proto = out.File
   641  	file_envoy_config_endpoint_v3_endpoint_components_proto_rawDesc = nil
   642  	file_envoy_config_endpoint_v3_endpoint_components_proto_goTypes = nil
   643  	file_envoy_config_endpoint_v3_endpoint_components_proto_depIdxs = nil
   644  }
   645  

View as plain text