1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 package grpc_lb_v1
27
28 import (
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 durationpb "google.golang.org/protobuf/types/known/durationpb"
32 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 type LoadBalanceRequest struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49
50
51
52
53 LoadBalanceRequestType isLoadBalanceRequest_LoadBalanceRequestType `protobuf_oneof:"load_balance_request_type"`
54 }
55
56 func (x *LoadBalanceRequest) Reset() {
57 *x = LoadBalanceRequest{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *LoadBalanceRequest) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*LoadBalanceRequest) ProtoMessage() {}
70
71 func (x *LoadBalanceRequest) ProtoReflect() protoreflect.Message {
72 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83
84 func (*LoadBalanceRequest) Descriptor() ([]byte, []int) {
85 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (m *LoadBalanceRequest) GetLoadBalanceRequestType() isLoadBalanceRequest_LoadBalanceRequestType {
89 if m != nil {
90 return m.LoadBalanceRequestType
91 }
92 return nil
93 }
94
95 func (x *LoadBalanceRequest) GetInitialRequest() *InitialLoadBalanceRequest {
96 if x, ok := x.GetLoadBalanceRequestType().(*LoadBalanceRequest_InitialRequest); ok {
97 return x.InitialRequest
98 }
99 return nil
100 }
101
102 func (x *LoadBalanceRequest) GetClientStats() *ClientStats {
103 if x, ok := x.GetLoadBalanceRequestType().(*LoadBalanceRequest_ClientStats); ok {
104 return x.ClientStats
105 }
106 return nil
107 }
108
109 type isLoadBalanceRequest_LoadBalanceRequestType interface {
110 isLoadBalanceRequest_LoadBalanceRequestType()
111 }
112
113 type LoadBalanceRequest_InitialRequest struct {
114
115 InitialRequest *InitialLoadBalanceRequest `protobuf:"bytes,1,opt,name=initial_request,json=initialRequest,proto3,oneof"`
116 }
117
118 type LoadBalanceRequest_ClientStats struct {
119
120
121 ClientStats *ClientStats `protobuf:"bytes,2,opt,name=client_stats,json=clientStats,proto3,oneof"`
122 }
123
124 func (*LoadBalanceRequest_InitialRequest) isLoadBalanceRequest_LoadBalanceRequestType() {}
125
126 func (*LoadBalanceRequest_ClientStats) isLoadBalanceRequest_LoadBalanceRequestType() {}
127
128 type InitialLoadBalanceRequest struct {
129 state protoimpl.MessageState
130 sizeCache protoimpl.SizeCache
131 unknownFields protoimpl.UnknownFields
132
133
134
135
136
137 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
138 }
139
140 func (x *InitialLoadBalanceRequest) Reset() {
141 *x = InitialLoadBalanceRequest{}
142 if protoimpl.UnsafeEnabled {
143 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[1]
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 ms.StoreMessageInfo(mi)
146 }
147 }
148
149 func (x *InitialLoadBalanceRequest) String() string {
150 return protoimpl.X.MessageStringOf(x)
151 }
152
153 func (*InitialLoadBalanceRequest) ProtoMessage() {}
154
155 func (x *InitialLoadBalanceRequest) ProtoReflect() protoreflect.Message {
156 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[1]
157 if protoimpl.UnsafeEnabled && x != nil {
158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
159 if ms.LoadMessageInfo() == nil {
160 ms.StoreMessageInfo(mi)
161 }
162 return ms
163 }
164 return mi.MessageOf(x)
165 }
166
167
168 func (*InitialLoadBalanceRequest) Descriptor() ([]byte, []int) {
169 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{1}
170 }
171
172 func (x *InitialLoadBalanceRequest) GetName() string {
173 if x != nil {
174 return x.Name
175 }
176 return ""
177 }
178
179
180 type ClientStatsPerToken struct {
181 state protoimpl.MessageState
182 sizeCache protoimpl.SizeCache
183 unknownFields protoimpl.UnknownFields
184
185
186 LoadBalanceToken string `protobuf:"bytes,1,opt,name=load_balance_token,json=loadBalanceToken,proto3" json:"load_balance_token,omitempty"`
187
188 NumCalls int64 `protobuf:"varint,2,opt,name=num_calls,json=numCalls,proto3" json:"num_calls,omitempty"`
189 }
190
191 func (x *ClientStatsPerToken) Reset() {
192 *x = ClientStatsPerToken{}
193 if protoimpl.UnsafeEnabled {
194 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[2]
195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
196 ms.StoreMessageInfo(mi)
197 }
198 }
199
200 func (x *ClientStatsPerToken) String() string {
201 return protoimpl.X.MessageStringOf(x)
202 }
203
204 func (*ClientStatsPerToken) ProtoMessage() {}
205
206 func (x *ClientStatsPerToken) ProtoReflect() protoreflect.Message {
207 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[2]
208 if protoimpl.UnsafeEnabled && x != nil {
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 if ms.LoadMessageInfo() == nil {
211 ms.StoreMessageInfo(mi)
212 }
213 return ms
214 }
215 return mi.MessageOf(x)
216 }
217
218
219 func (*ClientStatsPerToken) Descriptor() ([]byte, []int) {
220 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{2}
221 }
222
223 func (x *ClientStatsPerToken) GetLoadBalanceToken() string {
224 if x != nil {
225 return x.LoadBalanceToken
226 }
227 return ""
228 }
229
230 func (x *ClientStatsPerToken) GetNumCalls() int64 {
231 if x != nil {
232 return x.NumCalls
233 }
234 return 0
235 }
236
237
238
239 type ClientStats struct {
240 state protoimpl.MessageState
241 sizeCache protoimpl.SizeCache
242 unknownFields protoimpl.UnknownFields
243
244
245 Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
246
247 NumCallsStarted int64 `protobuf:"varint,2,opt,name=num_calls_started,json=numCallsStarted,proto3" json:"num_calls_started,omitempty"`
248
249 NumCallsFinished int64 `protobuf:"varint,3,opt,name=num_calls_finished,json=numCallsFinished,proto3" json:"num_calls_finished,omitempty"`
250
251 NumCallsFinishedWithClientFailedToSend int64 `protobuf:"varint,6,opt,name=num_calls_finished_with_client_failed_to_send,json=numCallsFinishedWithClientFailedToSend,proto3" json:"num_calls_finished_with_client_failed_to_send,omitempty"`
252
253
254 NumCallsFinishedKnownReceived int64 `protobuf:"varint,7,opt,name=num_calls_finished_known_received,json=numCallsFinishedKnownReceived,proto3" json:"num_calls_finished_known_received,omitempty"`
255
256 CallsFinishedWithDrop []*ClientStatsPerToken `protobuf:"bytes,8,rep,name=calls_finished_with_drop,json=callsFinishedWithDrop,proto3" json:"calls_finished_with_drop,omitempty"`
257 }
258
259 func (x *ClientStats) Reset() {
260 *x = ClientStats{}
261 if protoimpl.UnsafeEnabled {
262 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[3]
263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
264 ms.StoreMessageInfo(mi)
265 }
266 }
267
268 func (x *ClientStats) String() string {
269 return protoimpl.X.MessageStringOf(x)
270 }
271
272 func (*ClientStats) ProtoMessage() {}
273
274 func (x *ClientStats) ProtoReflect() protoreflect.Message {
275 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[3]
276 if protoimpl.UnsafeEnabled && x != nil {
277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
278 if ms.LoadMessageInfo() == nil {
279 ms.StoreMessageInfo(mi)
280 }
281 return ms
282 }
283 return mi.MessageOf(x)
284 }
285
286
287 func (*ClientStats) Descriptor() ([]byte, []int) {
288 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{3}
289 }
290
291 func (x *ClientStats) GetTimestamp() *timestamppb.Timestamp {
292 if x != nil {
293 return x.Timestamp
294 }
295 return nil
296 }
297
298 func (x *ClientStats) GetNumCallsStarted() int64 {
299 if x != nil {
300 return x.NumCallsStarted
301 }
302 return 0
303 }
304
305 func (x *ClientStats) GetNumCallsFinished() int64 {
306 if x != nil {
307 return x.NumCallsFinished
308 }
309 return 0
310 }
311
312 func (x *ClientStats) GetNumCallsFinishedWithClientFailedToSend() int64 {
313 if x != nil {
314 return x.NumCallsFinishedWithClientFailedToSend
315 }
316 return 0
317 }
318
319 func (x *ClientStats) GetNumCallsFinishedKnownReceived() int64 {
320 if x != nil {
321 return x.NumCallsFinishedKnownReceived
322 }
323 return 0
324 }
325
326 func (x *ClientStats) GetCallsFinishedWithDrop() []*ClientStatsPerToken {
327 if x != nil {
328 return x.CallsFinishedWithDrop
329 }
330 return nil
331 }
332
333 type LoadBalanceResponse struct {
334 state protoimpl.MessageState
335 sizeCache protoimpl.SizeCache
336 unknownFields protoimpl.UnknownFields
337
338
339
340
341
342
343 LoadBalanceResponseType isLoadBalanceResponse_LoadBalanceResponseType `protobuf_oneof:"load_balance_response_type"`
344 }
345
346 func (x *LoadBalanceResponse) Reset() {
347 *x = LoadBalanceResponse{}
348 if protoimpl.UnsafeEnabled {
349 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[4]
350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
351 ms.StoreMessageInfo(mi)
352 }
353 }
354
355 func (x *LoadBalanceResponse) String() string {
356 return protoimpl.X.MessageStringOf(x)
357 }
358
359 func (*LoadBalanceResponse) ProtoMessage() {}
360
361 func (x *LoadBalanceResponse) ProtoReflect() protoreflect.Message {
362 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[4]
363 if protoimpl.UnsafeEnabled && x != nil {
364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
365 if ms.LoadMessageInfo() == nil {
366 ms.StoreMessageInfo(mi)
367 }
368 return ms
369 }
370 return mi.MessageOf(x)
371 }
372
373
374 func (*LoadBalanceResponse) Descriptor() ([]byte, []int) {
375 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{4}
376 }
377
378 func (m *LoadBalanceResponse) GetLoadBalanceResponseType() isLoadBalanceResponse_LoadBalanceResponseType {
379 if m != nil {
380 return m.LoadBalanceResponseType
381 }
382 return nil
383 }
384
385 func (x *LoadBalanceResponse) GetInitialResponse() *InitialLoadBalanceResponse {
386 if x, ok := x.GetLoadBalanceResponseType().(*LoadBalanceResponse_InitialResponse); ok {
387 return x.InitialResponse
388 }
389 return nil
390 }
391
392 func (x *LoadBalanceResponse) GetServerList() *ServerList {
393 if x, ok := x.GetLoadBalanceResponseType().(*LoadBalanceResponse_ServerList); ok {
394 return x.ServerList
395 }
396 return nil
397 }
398
399 func (x *LoadBalanceResponse) GetFallbackResponse() *FallbackResponse {
400 if x, ok := x.GetLoadBalanceResponseType().(*LoadBalanceResponse_FallbackResponse); ok {
401 return x.FallbackResponse
402 }
403 return nil
404 }
405
406 type isLoadBalanceResponse_LoadBalanceResponseType interface {
407 isLoadBalanceResponse_LoadBalanceResponseType()
408 }
409
410 type LoadBalanceResponse_InitialResponse struct {
411
412 InitialResponse *InitialLoadBalanceResponse `protobuf:"bytes,1,opt,name=initial_response,json=initialResponse,proto3,oneof"`
413 }
414
415 type LoadBalanceResponse_ServerList struct {
416
417
418 ServerList *ServerList `protobuf:"bytes,2,opt,name=server_list,json=serverList,proto3,oneof"`
419 }
420
421 type LoadBalanceResponse_FallbackResponse struct {
422
423
424 FallbackResponse *FallbackResponse `protobuf:"bytes,3,opt,name=fallback_response,json=fallbackResponse,proto3,oneof"`
425 }
426
427 func (*LoadBalanceResponse_InitialResponse) isLoadBalanceResponse_LoadBalanceResponseType() {}
428
429 func (*LoadBalanceResponse_ServerList) isLoadBalanceResponse_LoadBalanceResponseType() {}
430
431 func (*LoadBalanceResponse_FallbackResponse) isLoadBalanceResponse_LoadBalanceResponseType() {}
432
433 type FallbackResponse struct {
434 state protoimpl.MessageState
435 sizeCache protoimpl.SizeCache
436 unknownFields protoimpl.UnknownFields
437 }
438
439 func (x *FallbackResponse) Reset() {
440 *x = FallbackResponse{}
441 if protoimpl.UnsafeEnabled {
442 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[5]
443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
444 ms.StoreMessageInfo(mi)
445 }
446 }
447
448 func (x *FallbackResponse) String() string {
449 return protoimpl.X.MessageStringOf(x)
450 }
451
452 func (*FallbackResponse) ProtoMessage() {}
453
454 func (x *FallbackResponse) ProtoReflect() protoreflect.Message {
455 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[5]
456 if protoimpl.UnsafeEnabled && x != nil {
457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
458 if ms.LoadMessageInfo() == nil {
459 ms.StoreMessageInfo(mi)
460 }
461 return ms
462 }
463 return mi.MessageOf(x)
464 }
465
466
467 func (*FallbackResponse) Descriptor() ([]byte, []int) {
468 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{5}
469 }
470
471 type InitialLoadBalanceResponse struct {
472 state protoimpl.MessageState
473 sizeCache protoimpl.SizeCache
474 unknownFields protoimpl.UnknownFields
475
476
477
478
479 ClientStatsReportInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=client_stats_report_interval,json=clientStatsReportInterval,proto3" json:"client_stats_report_interval,omitempty"`
480 }
481
482 func (x *InitialLoadBalanceResponse) Reset() {
483 *x = InitialLoadBalanceResponse{}
484 if protoimpl.UnsafeEnabled {
485 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[6]
486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
487 ms.StoreMessageInfo(mi)
488 }
489 }
490
491 func (x *InitialLoadBalanceResponse) String() string {
492 return protoimpl.X.MessageStringOf(x)
493 }
494
495 func (*InitialLoadBalanceResponse) ProtoMessage() {}
496
497 func (x *InitialLoadBalanceResponse) ProtoReflect() protoreflect.Message {
498 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[6]
499 if protoimpl.UnsafeEnabled && x != nil {
500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
501 if ms.LoadMessageInfo() == nil {
502 ms.StoreMessageInfo(mi)
503 }
504 return ms
505 }
506 return mi.MessageOf(x)
507 }
508
509
510 func (*InitialLoadBalanceResponse) Descriptor() ([]byte, []int) {
511 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{6}
512 }
513
514 func (x *InitialLoadBalanceResponse) GetClientStatsReportInterval() *durationpb.Duration {
515 if x != nil {
516 return x.ClientStatsReportInterval
517 }
518 return nil
519 }
520
521 type ServerList struct {
522 state protoimpl.MessageState
523 sizeCache protoimpl.SizeCache
524 unknownFields protoimpl.UnknownFields
525
526
527
528
529
530 Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
531 }
532
533 func (x *ServerList) Reset() {
534 *x = ServerList{}
535 if protoimpl.UnsafeEnabled {
536 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[7]
537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
538 ms.StoreMessageInfo(mi)
539 }
540 }
541
542 func (x *ServerList) String() string {
543 return protoimpl.X.MessageStringOf(x)
544 }
545
546 func (*ServerList) ProtoMessage() {}
547
548 func (x *ServerList) ProtoReflect() protoreflect.Message {
549 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[7]
550 if protoimpl.UnsafeEnabled && x != nil {
551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
552 if ms.LoadMessageInfo() == nil {
553 ms.StoreMessageInfo(mi)
554 }
555 return ms
556 }
557 return mi.MessageOf(x)
558 }
559
560
561 func (*ServerList) Descriptor() ([]byte, []int) {
562 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{7}
563 }
564
565 func (x *ServerList) GetServers() []*Server {
566 if x != nil {
567 return x.Servers
568 }
569 return nil
570 }
571
572
573
574 type Server struct {
575 state protoimpl.MessageState
576 sizeCache protoimpl.SizeCache
577 unknownFields protoimpl.UnknownFields
578
579
580
581 IpAddress []byte `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
582
583 Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
584
585
586
587
588
589
590
591 LoadBalanceToken string `protobuf:"bytes,3,opt,name=load_balance_token,json=loadBalanceToken,proto3" json:"load_balance_token,omitempty"`
592
593
594
595 Drop bool `protobuf:"varint,4,opt,name=drop,proto3" json:"drop,omitempty"`
596 }
597
598 func (x *Server) Reset() {
599 *x = Server{}
600 if protoimpl.UnsafeEnabled {
601 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[8]
602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
603 ms.StoreMessageInfo(mi)
604 }
605 }
606
607 func (x *Server) String() string {
608 return protoimpl.X.MessageStringOf(x)
609 }
610
611 func (*Server) ProtoMessage() {}
612
613 func (x *Server) ProtoReflect() protoreflect.Message {
614 mi := &file_grpc_lb_v1_load_balancer_proto_msgTypes[8]
615 if protoimpl.UnsafeEnabled && x != nil {
616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
617 if ms.LoadMessageInfo() == nil {
618 ms.StoreMessageInfo(mi)
619 }
620 return ms
621 }
622 return mi.MessageOf(x)
623 }
624
625
626 func (*Server) Descriptor() ([]byte, []int) {
627 return file_grpc_lb_v1_load_balancer_proto_rawDescGZIP(), []int{8}
628 }
629
630 func (x *Server) GetIpAddress() []byte {
631 if x != nil {
632 return x.IpAddress
633 }
634 return nil
635 }
636
637 func (x *Server) GetPort() int32 {
638 if x != nil {
639 return x.Port
640 }
641 return 0
642 }
643
644 func (x *Server) GetLoadBalanceToken() string {
645 if x != nil {
646 return x.LoadBalanceToken
647 }
648 return ""
649 }
650
651 func (x *Server) GetDrop() bool {
652 if x != nil {
653 return x.Drop
654 }
655 return false
656 }
657
658 var File_grpc_lb_v1_load_balancer_proto protoreflect.FileDescriptor
659
660 var file_grpc_lb_v1_load_balancer_proto_rawDesc = []byte{
661 0x0a, 0x1e, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6c, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x61,
662 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
663 0x12, 0x0a, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f,
664 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75,
665 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
666 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
667 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x01,
668 0x0a, 0x12, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71,
669 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x0f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f,
670 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
671 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69,
672 0x61, 0x6c, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71,
673 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52,
674 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
675 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
676 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
677 0x53, 0x74, 0x61, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
678 0x74, 0x61, 0x74, 0x73, 0x42, 0x1b, 0x0a, 0x19, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c,
679 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70,
680 0x65, 0x22, 0x2f, 0x0a, 0x19, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x6f, 0x61, 0x64,
681 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
682 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
683 0x6d, 0x65, 0x22, 0x60, 0x0a, 0x13, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74,
684 0x73, 0x50, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x6f, 0x61,
685 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
686 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e,
687 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6d, 0x5f, 0x63,
688 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x43,
689 0x61, 0x6c, 0x6c, 0x73, 0x22, 0xb0, 0x03, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
690 0x74, 0x61, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
691 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
692 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
693 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2a,
694 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72,
695 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x43, 0x61,
696 0x6c, 0x6c, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x75,
697 0x6d, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
698 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x43, 0x61, 0x6c, 0x6c, 0x73,
699 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x5d, 0x0a, 0x2d, 0x6e, 0x75, 0x6d, 0x5f,
700 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x77,
701 0x69, 0x74, 0x68, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65,
702 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
703 0x26, 0x6e, 0x75, 0x6d, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
704 0x64, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x65,
705 0x64, 0x54, 0x6f, 0x53, 0x65, 0x6e, 0x64, 0x12, 0x48, 0x0a, 0x21, 0x6e, 0x75, 0x6d, 0x5f, 0x63,
706 0x61, 0x6c, 0x6c, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x6b, 0x6e,
707 0x6f, 0x77, 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01,
708 0x28, 0x03, 0x52, 0x1d, 0x6e, 0x75, 0x6d, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x46, 0x69, 0x6e, 0x69,
709 0x73, 0x68, 0x65, 0x64, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
710 0x64, 0x12, 0x58, 0x0a, 0x18, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73,
711 0x68, 0x65, 0x64, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x08, 0x20,
712 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31,
713 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x54,
714 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x15, 0x63, 0x61, 0x6c, 0x6c, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73,
715 0x68, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x44, 0x72, 0x6f, 0x70, 0x4a, 0x04, 0x08, 0x04, 0x10,
716 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x90, 0x02, 0x0a, 0x13, 0x4c, 0x6f, 0x61, 0x64,
717 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
718 0x53, 0x0a, 0x10, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f,
719 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x70, 0x63,
720 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x6f,
721 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
722 0x65, 0x48, 0x00, 0x52, 0x0f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70,
723 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6c,
724 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x70, 0x63,
725 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73,
726 0x74, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12,
727 0x4b, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x70,
728 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x70,
729 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
730 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x10, 0x66, 0x61, 0x6c, 0x6c,
731 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1c, 0x0a, 0x1a,
732 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73,
733 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x46, 0x61,
734 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e,
735 0x0a, 0x1a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c,
736 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x1c,
737 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x70,
738 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
739 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
740 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x19, 0x63,
741 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
742 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x40,
743 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07,
744 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e,
745 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65,
746 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04,
747 0x22, 0x83, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x69,
748 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
749 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f,
750 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x2c,
751 0x0a, 0x12, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74,
752 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x6f, 0x61, 0x64,
753 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04,
754 0x64, 0x72, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70,
755 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x32, 0x62, 0x0a, 0x0c, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61,
756 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
757 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e,
758 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
759 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e,
760 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
761 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x57, 0x0a, 0x0d, 0x69, 0x6f,
762 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4c, 0x6f, 0x61,
763 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
764 0x5a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
765 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
766 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x6c, 0x62,
767 0x5f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
768 }
769
770 var (
771 file_grpc_lb_v1_load_balancer_proto_rawDescOnce sync.Once
772 file_grpc_lb_v1_load_balancer_proto_rawDescData = file_grpc_lb_v1_load_balancer_proto_rawDesc
773 )
774
775 func file_grpc_lb_v1_load_balancer_proto_rawDescGZIP() []byte {
776 file_grpc_lb_v1_load_balancer_proto_rawDescOnce.Do(func() {
777 file_grpc_lb_v1_load_balancer_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_lb_v1_load_balancer_proto_rawDescData)
778 })
779 return file_grpc_lb_v1_load_balancer_proto_rawDescData
780 }
781
782 var file_grpc_lb_v1_load_balancer_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
783 var file_grpc_lb_v1_load_balancer_proto_goTypes = []interface{}{
784 (*LoadBalanceRequest)(nil),
785 (*InitialLoadBalanceRequest)(nil),
786 (*ClientStatsPerToken)(nil),
787 (*ClientStats)(nil),
788 (*LoadBalanceResponse)(nil),
789 (*FallbackResponse)(nil),
790 (*InitialLoadBalanceResponse)(nil),
791 (*ServerList)(nil),
792 (*Server)(nil),
793 (*timestamppb.Timestamp)(nil),
794 (*durationpb.Duration)(nil),
795 }
796 var file_grpc_lb_v1_load_balancer_proto_depIdxs = []int32{
797 1,
798 3,
799 9,
800 2,
801 6,
802 7,
803 5,
804 10,
805 8,
806 0,
807 4,
808 10,
809 9,
810 9,
811 9,
812 0,
813 }
814
815 func init() { file_grpc_lb_v1_load_balancer_proto_init() }
816 func file_grpc_lb_v1_load_balancer_proto_init() {
817 if File_grpc_lb_v1_load_balancer_proto != nil {
818 return
819 }
820 if !protoimpl.UnsafeEnabled {
821 file_grpc_lb_v1_load_balancer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
822 switch v := v.(*LoadBalanceRequest); i {
823 case 0:
824 return &v.state
825 case 1:
826 return &v.sizeCache
827 case 2:
828 return &v.unknownFields
829 default:
830 return nil
831 }
832 }
833 file_grpc_lb_v1_load_balancer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
834 switch v := v.(*InitialLoadBalanceRequest); i {
835 case 0:
836 return &v.state
837 case 1:
838 return &v.sizeCache
839 case 2:
840 return &v.unknownFields
841 default:
842 return nil
843 }
844 }
845 file_grpc_lb_v1_load_balancer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
846 switch v := v.(*ClientStatsPerToken); i {
847 case 0:
848 return &v.state
849 case 1:
850 return &v.sizeCache
851 case 2:
852 return &v.unknownFields
853 default:
854 return nil
855 }
856 }
857 file_grpc_lb_v1_load_balancer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
858 switch v := v.(*ClientStats); i {
859 case 0:
860 return &v.state
861 case 1:
862 return &v.sizeCache
863 case 2:
864 return &v.unknownFields
865 default:
866 return nil
867 }
868 }
869 file_grpc_lb_v1_load_balancer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
870 switch v := v.(*LoadBalanceResponse); i {
871 case 0:
872 return &v.state
873 case 1:
874 return &v.sizeCache
875 case 2:
876 return &v.unknownFields
877 default:
878 return nil
879 }
880 }
881 file_grpc_lb_v1_load_balancer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
882 switch v := v.(*FallbackResponse); i {
883 case 0:
884 return &v.state
885 case 1:
886 return &v.sizeCache
887 case 2:
888 return &v.unknownFields
889 default:
890 return nil
891 }
892 }
893 file_grpc_lb_v1_load_balancer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
894 switch v := v.(*InitialLoadBalanceResponse); i {
895 case 0:
896 return &v.state
897 case 1:
898 return &v.sizeCache
899 case 2:
900 return &v.unknownFields
901 default:
902 return nil
903 }
904 }
905 file_grpc_lb_v1_load_balancer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
906 switch v := v.(*ServerList); i {
907 case 0:
908 return &v.state
909 case 1:
910 return &v.sizeCache
911 case 2:
912 return &v.unknownFields
913 default:
914 return nil
915 }
916 }
917 file_grpc_lb_v1_load_balancer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
918 switch v := v.(*Server); i {
919 case 0:
920 return &v.state
921 case 1:
922 return &v.sizeCache
923 case 2:
924 return &v.unknownFields
925 default:
926 return nil
927 }
928 }
929 }
930 file_grpc_lb_v1_load_balancer_proto_msgTypes[0].OneofWrappers = []interface{}{
931 (*LoadBalanceRequest_InitialRequest)(nil),
932 (*LoadBalanceRequest_ClientStats)(nil),
933 }
934 file_grpc_lb_v1_load_balancer_proto_msgTypes[4].OneofWrappers = []interface{}{
935 (*LoadBalanceResponse_InitialResponse)(nil),
936 (*LoadBalanceResponse_ServerList)(nil),
937 (*LoadBalanceResponse_FallbackResponse)(nil),
938 }
939 type x struct{}
940 out := protoimpl.TypeBuilder{
941 File: protoimpl.DescBuilder{
942 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
943 RawDescriptor: file_grpc_lb_v1_load_balancer_proto_rawDesc,
944 NumEnums: 0,
945 NumMessages: 9,
946 NumExtensions: 0,
947 NumServices: 1,
948 },
949 GoTypes: file_grpc_lb_v1_load_balancer_proto_goTypes,
950 DependencyIndexes: file_grpc_lb_v1_load_balancer_proto_depIdxs,
951 MessageInfos: file_grpc_lb_v1_load_balancer_proto_msgTypes,
952 }.Build()
953 File_grpc_lb_v1_load_balancer_proto = out.File
954 file_grpc_lb_v1_load_balancer_proto_rawDesc = nil
955 file_grpc_lb_v1_load_balancer_proto_goTypes = nil
956 file_grpc_lb_v1_load_balancer_proto_depIdxs = nil
957 }
958
View as plain text