Debian Codegraph @

envoy/extensions/load_balancing_policies/round_robin/v3/round_robin.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/load_balancing_policies/round_robin/v3/round_robin.proto
6
7 package round_robinv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/extensions/load_balancing_policies/common/v3"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // This configuration allows the built-in ROUND_ROBIN LB policy to be configured via the LB policy
26 // extension point. See the :ref:`load balancing architecture overview
27 // <arch_overview_load_balancing_types>` for more information.
28 type RoundRobin struct {
29 state protoimpl.MessageState
30 sizeCache protoimpl.SizeCache
31 unknownFields protoimpl.UnknownFields
32
33 // Configuration for slow start mode.
34 // If this configuration is not set, slow start will not be not enabled.
35 SlowStartConfig *v3.SlowStartConfig `protobuf:"bytes,1,opt,name=slow_start_config,json=slowStartConfig,proto3" json:"slow_start_config,omitempty"`
36 // Configuration for local zone aware load balancing or locality weighted load balancing.
37 LocalityLbConfig *v3.LocalityLbConfig `protobuf:"bytes,2,opt,name=locality_lb_config,json=localityLbConfig,proto3" json:"locality_lb_config,omitempty"`
38 }
39
40 func (x *RoundRobin) Reset() {
41 *x = RoundRobin{}
42 if protoimpl.UnsafeEnabled {
43 mi := &file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_msgTypes[0]
44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
45 ms.StoreMessageInfo(mi)
46 }
47 }
48
49 func (x *RoundRobin) String() string {
50 return protoimpl.X.MessageStringOf(x)
51 }
52
53 func (*RoundRobin) ProtoMessage() {}
54
55 func (x *RoundRobin) ProtoReflect() protoreflect.Message {
56 mi := &file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_msgTypes[0]
57 if protoimpl.UnsafeEnabled && x != nil {
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 if ms.LoadMessageInfo() == nil {
60 ms.StoreMessageInfo(mi)
61 }
62 return ms
63 }
64 return mi.MessageOf(x)
65 }
66
67 // Deprecated: Use RoundRobin.ProtoReflect.Descriptor instead.
68 func (*RoundRobin) Descriptor() ([]byte, []int) {
69 return file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescGZIP(), []int{0}
70 }
71
72 func (x *RoundRobin) GetSlowStartConfig() *v3.SlowStartConfig {
73 if x != nil {
74 return x.SlowStartConfig
75 }
76 return nil
77 }
78
79 func (x *RoundRobin) GetLocalityLbConfig() *v3.LocalityLbConfig {
80 if x != nil {
81 return x.LocalityLbConfig
82 }
83 return nil
84 }
85
86 var File_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto protoreflect.FileDescriptor
87
88 var file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDesc = []byte{
89 0x0a, 0x49, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
90 0x6e, 0x73, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e,
91 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x6e, 0x64,
92 0x5f, 0x72, 0x6f, 0x62, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f,
93 0x72, 0x6f, 0x62, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37, 0x65, 0x6e, 0x76,
94 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x6f,
95 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c,
96 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x62, 0x69,
97 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x3f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65,
98 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61,
99 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x63,
100 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
101 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
102 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
103 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x6f,
104 0x62, 0x69, 0x6e, 0x12, 0x6f, 0x0a, 0x11, 0x73, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x72,
105 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43,
106 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
107 0x73, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67,
108 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
109 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e,
110 0x66, 0x69, 0x67, 0x52, 0x0f, 0x73, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f,
111 0x6e, 0x66, 0x69, 0x67, 0x12, 0x72, 0x0a, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79,
112 0x5f, 0x6c, 0x62, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
113 0x32, 0x44, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
114 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69,
115 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
116 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x62,
117 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79,
118 0x4c, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xd0, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06,
119 0x02, 0x10, 0x02, 0x0a, 0x45, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
120 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
121 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69,
122 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x6e,
123 0x64, 0x5f, 0x72, 0x6f, 0x62, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x52, 0x6f, 0x75, 0x6e,
124 0x64, 0x52, 0x6f, 0x62, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x6c, 0x67,
125 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
126 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
127 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65,
128 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61,
129 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x72,
130 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x62, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x3b, 0x72, 0x6f,
131 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x6f, 0x62, 0x69, 0x6e, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
132 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescOnce sync.Once
137 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescData = file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDesc
138 )
139
140 func file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescGZIP() []byte {
141 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescOnce.Do(func() {
142 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescData)
143 })
144 return file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDescData
145 }
146
147 var file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_goTypes = []interface{}{
149 (*RoundRobin)(nil), // 0: envoy.extensions.load_balancing_policies.round_robin.v3.RoundRobin
150 (*v3.SlowStartConfig)(nil), // 1: envoy.extensions.load_balancing_policies.common.v3.SlowStartConfig
151 (*v3.LocalityLbConfig)(nil), // 2: envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig
152 }
153 var file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_depIdxs = []int32{
154 1, // 0: envoy.extensions.load_balancing_policies.round_robin.v3.RoundRobin.slow_start_config:type_name -> envoy.extensions.load_balancing_policies.common.v3.SlowStartConfig
155 2, // 1: envoy.extensions.load_balancing_policies.round_robin.v3.RoundRobin.locality_lb_config:type_name -> envoy.extensions.load_balancing_policies.common.v3.LocalityLbConfig
156 2, // [2:2] is the sub-list for method output_type
157 2, // [2:2] is the sub-list for method input_type
158 2, // [2:2] is the sub-list for extension type_name
159 2, // [2:2] is the sub-list for extension extendee
160 0, // [0:2] is the sub-list for field type_name
161 }
162
163 func init() { file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_init() }
164 func file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_init() {
165 if File_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto != nil {
166 return
167 }
168 if !protoimpl.UnsafeEnabled {
169 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
170 switch v := v.(*RoundRobin); i {
171 case 0:
172 return &v.state
173 case 1:
174 return &v.sizeCache
175 case 2:
176 return &v.unknownFields
177 default:
178 return nil
179 }
180 }
181 }
182 type x struct{}
183 out := protoimpl.TypeBuilder{
184 File: protoimpl.DescBuilder{
185 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
186 RawDescriptor: file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDesc,
187 NumEnums: 0,
188 NumMessages: 1,
189 NumExtensions: 0,
190 NumServices: 0,
191 },
192 GoTypes: file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_goTypes,
193 DependencyIndexes: file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_depIdxs,
194 MessageInfos: file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_msgTypes,
195 }.Build()
196 File_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto = out.File
197 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_rawDesc = nil
198 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_goTypes = nil
199 file_envoy_extensions_load_balancing_policies_round_robin_v3_round_robin_proto_depIdxs = nil
200 }