...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/config/endpoint/v3/endpoint.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.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/type/v3"
    12  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    13  	proto "github.com/golang/protobuf/proto"
    14  	duration "github.com/golang/protobuf/ptypes/duration"
    15  	wrappers "github.com/golang/protobuf/ptypes/wrappers"
    16  	_ "google.golang.org/genproto/googleapis/api/annotations"
    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_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified
    51  	// in the cluster :ref:`EdsClusterConfig
    52  	// <envoy_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, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
   307  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   308  	0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   309  	0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
   310  	0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   311  	0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   312  	0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   313  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   314  	0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
   315  	0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70,
   316  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
   317  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x08,
   318  	0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73,
   319  	0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74,
   320  	0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
   321  	0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e,
   322  	0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
   323  	0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
   324  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76,
   325  	0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70,
   326  	0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
   327  	0x12, 0x6c, 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   328  	0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   329  	0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
   330  	0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64,
   331  	0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64,
   332  	0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e,
   333  	0x6e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4e,
   334  	0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36,
   335  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e,
   336  	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
   337  	0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
   338  	0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x8f,
   339  	0x05, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x6a, 0x0a, 0x0e, 0x64, 0x72, 0x6f,
   340  	0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   341  	0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   342  	0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75,
   343  	0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
   344  	0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x76,
   345  	0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x4f, 0x76, 0x65, 0x72,
   346  	0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x5e, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f,
   347  	0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72,
   348  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   349  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
   350  	0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x20, 0x00, 0x52, 0x16, 0x6f,
   351  	0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x46,
   352  	0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
   353  	0x74, 0x5f, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20,
   354  	0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   355  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08,
   356  	0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
   357  	0x6e, 0x74, 0x53, 0x74, 0x61, 0x6c, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x30,
   358  	0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70,
   359  	0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f,
   360  	0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
   361  	0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x2c, 0x68, 0x69, 0x64, 0x64,
   362  	0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
   363  	0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76,
   364  	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f,
   365  	0x70, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x08, 0x63, 0x61, 0x74,
   366  	0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
   367  	0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x49,
   368  	0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
   369  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   370  	0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   371  	0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x50,
   372  	0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x3a, 0x3d, 0x9a, 0xc5, 0x88, 0x1e, 0x38,
   373  	0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43,
   374  	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
   375  	0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70,
   376  	0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 0x2b, 0x0a,
   377  	0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c,
   378  	0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
   379  	0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02,
   380  	0x1a, 0x65, 0x0a, 0x13, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
   381  	0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   382  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c,
   383  	0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
   384  	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
   385  	0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61,
   386  	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22,
   387  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75,
   388  	0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
   389  	0x6e, 0x74, 0x42, 0x41, 0x0a, 0x26, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
   390  	0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   391  	0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x45, 0x6e,
   392  	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8,
   393  	0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   394  }
   395  
   396  var (
   397  	file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce sync.Once
   398  	file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = file_envoy_config_endpoint_v3_endpoint_proto_rawDesc
   399  )
   400  
   401  func file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP() []byte {
   402  	file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce.Do(func() {
   403  		file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_endpoint_v3_endpoint_proto_rawDescData)
   404  	})
   405  	return file_envoy_config_endpoint_v3_endpoint_proto_rawDescData
   406  }
   407  
   408  var file_envoy_config_endpoint_v3_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   409  var file_envoy_config_endpoint_v3_endpoint_proto_goTypes = []interface{}{
   410  	(*ClusterLoadAssignment)(nil),        // 0: envoy.config.endpoint.v3.ClusterLoadAssignment
   411  	(*ClusterLoadAssignment_Policy)(nil), // 1: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy
   412  	nil,                                  // 2: envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry
   413  	(*ClusterLoadAssignment_Policy_DropOverload)(nil), // 3: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload
   414  	(*LocalityLbEndpoints)(nil),                       // 4: envoy.config.endpoint.v3.LocalityLbEndpoints
   415  	(*wrappers.UInt32Value)(nil),                      // 5: google.protobuf.UInt32Value
   416  	(*duration.Duration)(nil),                         // 6: google.protobuf.Duration
   417  	(*Endpoint)(nil),                                  // 7: envoy.config.endpoint.v3.Endpoint
   418  	(*v3.FractionalPercent)(nil),                      // 8: envoy.type.v3.FractionalPercent
   419  }
   420  var file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = []int32{
   421  	4, // 0: envoy.config.endpoint.v3.ClusterLoadAssignment.endpoints:type_name -> envoy.config.endpoint.v3.LocalityLbEndpoints
   422  	2, // 1: envoy.config.endpoint.v3.ClusterLoadAssignment.named_endpoints:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry
   423  	1, // 2: envoy.config.endpoint.v3.ClusterLoadAssignment.policy:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.Policy
   424  	3, // 3: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.drop_overloads:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload
   425  	5, // 4: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.overprovisioning_factor:type_name -> google.protobuf.UInt32Value
   426  	6, // 5: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.endpoint_stale_after:type_name -> google.protobuf.Duration
   427  	7, // 6: envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry.value:type_name -> envoy.config.endpoint.v3.Endpoint
   428  	8, // 7: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload.drop_percentage:type_name -> envoy.type.v3.FractionalPercent
   429  	8, // [8:8] is the sub-list for method output_type
   430  	8, // [8:8] is the sub-list for method input_type
   431  	8, // [8:8] is the sub-list for extension type_name
   432  	8, // [8:8] is the sub-list for extension extendee
   433  	0, // [0:8] is the sub-list for field type_name
   434  }
   435  
   436  func init() { file_envoy_config_endpoint_v3_endpoint_proto_init() }
   437  func file_envoy_config_endpoint_v3_endpoint_proto_init() {
   438  	if File_envoy_config_endpoint_v3_endpoint_proto != nil {
   439  		return
   440  	}
   441  	file_envoy_config_endpoint_v3_endpoint_components_proto_init()
   442  	if !protoimpl.UnsafeEnabled {
   443  		file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   444  			switch v := v.(*ClusterLoadAssignment); i {
   445  			case 0:
   446  				return &v.state
   447  			case 1:
   448  				return &v.sizeCache
   449  			case 2:
   450  				return &v.unknownFields
   451  			default:
   452  				return nil
   453  			}
   454  		}
   455  		file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   456  			switch v := v.(*ClusterLoadAssignment_Policy); i {
   457  			case 0:
   458  				return &v.state
   459  			case 1:
   460  				return &v.sizeCache
   461  			case 2:
   462  				return &v.unknownFields
   463  			default:
   464  				return nil
   465  			}
   466  		}
   467  		file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   468  			switch v := v.(*ClusterLoadAssignment_Policy_DropOverload); i {
   469  			case 0:
   470  				return &v.state
   471  			case 1:
   472  				return &v.sizeCache
   473  			case 2:
   474  				return &v.unknownFields
   475  			default:
   476  				return nil
   477  			}
   478  		}
   479  	}
   480  	type x struct{}
   481  	out := protoimpl.TypeBuilder{
   482  		File: protoimpl.DescBuilder{
   483  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   484  			RawDescriptor: file_envoy_config_endpoint_v3_endpoint_proto_rawDesc,
   485  			NumEnums:      0,
   486  			NumMessages:   4,
   487  			NumExtensions: 0,
   488  			NumServices:   0,
   489  		},
   490  		GoTypes:           file_envoy_config_endpoint_v3_endpoint_proto_goTypes,
   491  		DependencyIndexes: file_envoy_config_endpoint_v3_endpoint_proto_depIdxs,
   492  		MessageInfos:      file_envoy_config_endpoint_v3_endpoint_proto_msgTypes,
   493  	}.Build()
   494  	File_envoy_config_endpoint_v3_endpoint_proto = out.File
   495  	file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = nil
   496  	file_envoy_config_endpoint_v3_endpoint_proto_goTypes = nil
   497  	file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = nil
   498  }
   499  

View as plain text