forked from google/trillian
/
quotapb.pb.go
967 lines (878 loc) · 35.6 KB
/
quotapb.pb.go
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: quotapb.proto
package quotapb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import field_mask "google.golang.org/genproto/protobuf/field_mask"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Possible states of a quota configuration.
type Config_State int32
const (
// Unknown quota state. Invalid.
Config_UNKNOWN_CONFIG_STATE Config_State = 0
// Quota is enabled.
Config_ENABLED Config_State = 1
// Quota is disabled (considered infinite).
Config_DISABLED Config_State = 2
)
var Config_State_name = map[int32]string{
0: "UNKNOWN_CONFIG_STATE",
1: "ENABLED",
2: "DISABLED",
}
var Config_State_value = map[string]int32{
"UNKNOWN_CONFIG_STATE": 0,
"ENABLED": 1,
"DISABLED": 2,
}
func (x Config_State) String() string {
return proto.EnumName(Config_State_name, int32(x))
}
func (Config_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{0, 0}
}
// Possible views for ListConfig.
type ListConfigsRequest_ListView int32
const (
// Only the Config name gets returned.
ListConfigsRequest_BASIC ListConfigsRequest_ListView = 0
// Complete Config.
ListConfigsRequest_FULL ListConfigsRequest_ListView = 1
)
var ListConfigsRequest_ListView_name = map[int32]string{
0: "BASIC",
1: "FULL",
}
var ListConfigsRequest_ListView_value = map[string]int32{
"BASIC": 0,
"FULL": 1,
}
func (x ListConfigsRequest_ListView) String() string {
return proto.EnumName(ListConfigsRequest_ListView_name, int32(x))
}
func (ListConfigsRequest_ListView) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{6, 0}
}
// Configuration of a quota.
//
// Quotas contain a certain number of tokens that get applied to their
// corresponding entities. Global quotas apply to all operations, tree and user
// quotas to certain trees and users, respectively.
//
// Performing an operation costs a certain number of tokens (usually one). Once
// a quota has no more tokens available, requests that would subtract from it
// are denied with a resource_exhausted error.
//
// Tokens may be replenished in two different ways: either by passage of time or
// sequencing progress. Time-based replenishment adds a fixed amount of tokens
// after a certain interval. Sequencing-based adds a token for each leaf
// processed by the sequencer. Sequencing-based replenishment may only be used
// with global and tree quotas.
//
// A quota may be disabled or removed at any time. The effect is the same: a
// disabled or non-existing quota is considered infinite by the quota system.
// (Disabling is handy if you plan to re-enable a quota later on.)
type Config struct {
// Name of the config, eg, “quotas/trees/1234/read/config”.
// Readonly.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// State of the config.
State Config_State `protobuf:"varint,2,opt,name=state,enum=quotapb.Config_State" json:"state,omitempty"`
// Max number of tokens available for the config.
MaxTokens int64 `protobuf:"varint,3,opt,name=max_tokens,json=maxTokens" json:"max_tokens,omitempty"`
// Replenishment strategy used by the config.
//
// Types that are valid to be assigned to ReplenishmentStrategy:
// *Config_SequencingBased
// *Config_TimeBased
ReplenishmentStrategy isConfig_ReplenishmentStrategy `protobuf_oneof:"replenishment_strategy"`
// Current number of tokens available for the config.
// May be higher than max_tokens for DISABLED configs, which are considered to
// have "infinite" tokens.
// Readonly.
CurrentTokens int64 `protobuf:"varint,6,opt,name=current_tokens,json=currentTokens" json:"current_tokens,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Config) Reset() { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{0}
}
func (m *Config) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Config.Unmarshal(m, b)
}
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
}
func (dst *Config) XXX_Merge(src proto.Message) {
xxx_messageInfo_Config.Merge(dst, src)
}
func (m *Config) XXX_Size() int {
return xxx_messageInfo_Config.Size(m)
}
func (m *Config) XXX_DiscardUnknown() {
xxx_messageInfo_Config.DiscardUnknown(m)
}
var xxx_messageInfo_Config proto.InternalMessageInfo
type isConfig_ReplenishmentStrategy interface {
isConfig_ReplenishmentStrategy()
}
type Config_SequencingBased struct {
SequencingBased *SequencingBasedStrategy `protobuf:"bytes,4,opt,name=sequencing_based,json=sequencingBased,oneof"`
}
type Config_TimeBased struct {
TimeBased *TimeBasedStrategy `protobuf:"bytes,5,opt,name=time_based,json=timeBased,oneof"`
}
func (*Config_SequencingBased) isConfig_ReplenishmentStrategy() {}
func (*Config_TimeBased) isConfig_ReplenishmentStrategy() {}
func (m *Config) GetReplenishmentStrategy() isConfig_ReplenishmentStrategy {
if m != nil {
return m.ReplenishmentStrategy
}
return nil
}
func (m *Config) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Config) GetState() Config_State {
if m != nil {
return m.State
}
return Config_UNKNOWN_CONFIG_STATE
}
func (m *Config) GetMaxTokens() int64 {
if m != nil {
return m.MaxTokens
}
return 0
}
func (m *Config) GetSequencingBased() *SequencingBasedStrategy {
if x, ok := m.GetReplenishmentStrategy().(*Config_SequencingBased); ok {
return x.SequencingBased
}
return nil
}
func (m *Config) GetTimeBased() *TimeBasedStrategy {
if x, ok := m.GetReplenishmentStrategy().(*Config_TimeBased); ok {
return x.TimeBased
}
return nil
}
func (m *Config) GetCurrentTokens() int64 {
if m != nil {
return m.CurrentTokens
}
return 0
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Config) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Config_OneofMarshaler, _Config_OneofUnmarshaler, _Config_OneofSizer, []interface{}{
(*Config_SequencingBased)(nil),
(*Config_TimeBased)(nil),
}
}
func _Config_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Config)
// replenishment_strategy
switch x := m.ReplenishmentStrategy.(type) {
case *Config_SequencingBased:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SequencingBased); err != nil {
return err
}
case *Config_TimeBased:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.TimeBased); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Config.ReplenishmentStrategy has unexpected type %T", x)
}
return nil
}
func _Config_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Config)
switch tag {
case 4: // replenishment_strategy.sequencing_based
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(SequencingBasedStrategy)
err := b.DecodeMessage(msg)
m.ReplenishmentStrategy = &Config_SequencingBased{msg}
return true, err
case 5: // replenishment_strategy.time_based
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(TimeBasedStrategy)
err := b.DecodeMessage(msg)
m.ReplenishmentStrategy = &Config_TimeBased{msg}
return true, err
default:
return false, nil
}
}
func _Config_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Config)
// replenishment_strategy
switch x := m.ReplenishmentStrategy.(type) {
case *Config_SequencingBased:
s := proto.Size(x.SequencingBased)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Config_TimeBased:
s := proto.Size(x.TimeBased)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Sequencing-based replenishment strategy settings.
//
// Only global/write and trees/write quotas may use sequencing-based
// replenishment.
type SequencingBasedStrategy struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SequencingBasedStrategy) Reset() { *m = SequencingBasedStrategy{} }
func (m *SequencingBasedStrategy) String() string { return proto.CompactTextString(m) }
func (*SequencingBasedStrategy) ProtoMessage() {}
func (*SequencingBasedStrategy) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{1}
}
func (m *SequencingBasedStrategy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SequencingBasedStrategy.Unmarshal(m, b)
}
func (m *SequencingBasedStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SequencingBasedStrategy.Marshal(b, m, deterministic)
}
func (dst *SequencingBasedStrategy) XXX_Merge(src proto.Message) {
xxx_messageInfo_SequencingBasedStrategy.Merge(dst, src)
}
func (m *SequencingBasedStrategy) XXX_Size() int {
return xxx_messageInfo_SequencingBasedStrategy.Size(m)
}
func (m *SequencingBasedStrategy) XXX_DiscardUnknown() {
xxx_messageInfo_SequencingBasedStrategy.DiscardUnknown(m)
}
var xxx_messageInfo_SequencingBasedStrategy proto.InternalMessageInfo
// Time-based replenishment strategy settings.
type TimeBasedStrategy struct {
// Number of tokens to replenish at every replenish_interval_seconds.
TokensToReplenish int64 `protobuf:"varint,1,opt,name=tokens_to_replenish,json=tokensToReplenish" json:"tokens_to_replenish,omitempty"`
// Interval at which tokens_to_replenish get replenished.
ReplenishIntervalSeconds int64 `protobuf:"varint,2,opt,name=replenish_interval_seconds,json=replenishIntervalSeconds" json:"replenish_interval_seconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TimeBasedStrategy) Reset() { *m = TimeBasedStrategy{} }
func (m *TimeBasedStrategy) String() string { return proto.CompactTextString(m) }
func (*TimeBasedStrategy) ProtoMessage() {}
func (*TimeBasedStrategy) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{2}
}
func (m *TimeBasedStrategy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TimeBasedStrategy.Unmarshal(m, b)
}
func (m *TimeBasedStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TimeBasedStrategy.Marshal(b, m, deterministic)
}
func (dst *TimeBasedStrategy) XXX_Merge(src proto.Message) {
xxx_messageInfo_TimeBasedStrategy.Merge(dst, src)
}
func (m *TimeBasedStrategy) XXX_Size() int {
return xxx_messageInfo_TimeBasedStrategy.Size(m)
}
func (m *TimeBasedStrategy) XXX_DiscardUnknown() {
xxx_messageInfo_TimeBasedStrategy.DiscardUnknown(m)
}
var xxx_messageInfo_TimeBasedStrategy proto.InternalMessageInfo
func (m *TimeBasedStrategy) GetTokensToReplenish() int64 {
if m != nil {
return m.TokensToReplenish
}
return 0
}
func (m *TimeBasedStrategy) GetReplenishIntervalSeconds() int64 {
if m != nil {
return m.ReplenishIntervalSeconds
}
return 0
}
// CreateConfig request.
type CreateConfigRequest struct {
// Name of the config to create.
// For example, "quotas/global/read/config" (global/read quota) or
// "quotas/trees/1234/write/config" (write quota for tree 1234).
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Config to be created.
Config *Config `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} }
func (m *CreateConfigRequest) String() string { return proto.CompactTextString(m) }
func (*CreateConfigRequest) ProtoMessage() {}
func (*CreateConfigRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{3}
}
func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateConfigRequest.Unmarshal(m, b)
}
func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateConfigRequest.Marshal(b, m, deterministic)
}
func (dst *CreateConfigRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateConfigRequest.Merge(dst, src)
}
func (m *CreateConfigRequest) XXX_Size() int {
return xxx_messageInfo_CreateConfigRequest.Size(m)
}
func (m *CreateConfigRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateConfigRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateConfigRequest proto.InternalMessageInfo
func (m *CreateConfigRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateConfigRequest) GetConfig() *Config {
if m != nil {
return m.Config
}
return nil
}
// DeleteConfig request.
type DeleteConfigRequest struct {
// Name of the config to delete.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteConfigRequest) Reset() { *m = DeleteConfigRequest{} }
func (m *DeleteConfigRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteConfigRequest) ProtoMessage() {}
func (*DeleteConfigRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{4}
}
func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteConfigRequest.Unmarshal(m, b)
}
func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteConfigRequest.Marshal(b, m, deterministic)
}
func (dst *DeleteConfigRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteConfigRequest.Merge(dst, src)
}
func (m *DeleteConfigRequest) XXX_Size() int {
return xxx_messageInfo_DeleteConfigRequest.Size(m)
}
func (m *DeleteConfigRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteConfigRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteConfigRequest proto.InternalMessageInfo
func (m *DeleteConfigRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// GetConfig request.
type GetConfigRequest struct {
// Name of the config to retrieve.
// For example, "quotas/global/read/config".
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} }
func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) }
func (*GetConfigRequest) ProtoMessage() {}
func (*GetConfigRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{5}
}
func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b)
}
func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic)
}
func (dst *GetConfigRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConfigRequest.Merge(dst, src)
}
func (m *GetConfigRequest) XXX_Size() int {
return xxx_messageInfo_GetConfigRequest.Size(m)
}
func (m *GetConfigRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetConfigRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo
func (m *GetConfigRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// ListConfig request.
type ListConfigsRequest struct {
// Names of the config to retrieve. For example, "quotas/global/read/config".
// If empty, all configs are listed.
// Name components may be substituted by "-" to search for all variations of
// that component. For example:
// - "quotas/global/-/config" (both read and write global quotas)
// - "quotas/trees/-/-/config" (all tree quotas)
Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"`
// View specifies how much data to return.
View ListConfigsRequest_ListView `protobuf:"varint,2,opt,name=view,enum=quotapb.ListConfigsRequest_ListView" json:"view,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} }
func (m *ListConfigsRequest) String() string { return proto.CompactTextString(m) }
func (*ListConfigsRequest) ProtoMessage() {}
func (*ListConfigsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{6}
}
func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListConfigsRequest.Unmarshal(m, b)
}
func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListConfigsRequest.Marshal(b, m, deterministic)
}
func (dst *ListConfigsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListConfigsRequest.Merge(dst, src)
}
func (m *ListConfigsRequest) XXX_Size() int {
return xxx_messageInfo_ListConfigsRequest.Size(m)
}
func (m *ListConfigsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListConfigsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListConfigsRequest proto.InternalMessageInfo
func (m *ListConfigsRequest) GetNames() []string {
if m != nil {
return m.Names
}
return nil
}
func (m *ListConfigsRequest) GetView() ListConfigsRequest_ListView {
if m != nil {
return m.View
}
return ListConfigsRequest_BASIC
}
// ListConfig response.
type ListConfigsResponse struct {
// Configs matching the request filter.
Configs []*Config `protobuf:"bytes,1,rep,name=configs" json:"configs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} }
func (m *ListConfigsResponse) String() string { return proto.CompactTextString(m) }
func (*ListConfigsResponse) ProtoMessage() {}
func (*ListConfigsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{7}
}
func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListConfigsResponse.Unmarshal(m, b)
}
func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListConfigsResponse.Marshal(b, m, deterministic)
}
func (dst *ListConfigsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListConfigsResponse.Merge(dst, src)
}
func (m *ListConfigsResponse) XXX_Size() int {
return xxx_messageInfo_ListConfigsResponse.Size(m)
}
func (m *ListConfigsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListConfigsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListConfigsResponse proto.InternalMessageInfo
func (m *ListConfigsResponse) GetConfigs() []*Config {
if m != nil {
return m.Configs
}
return nil
}
// Updates a quota config according to the update_mask provided.
//
// Some config changes will cause the current number of tokens to be updated, as
// listed below:
//
// * If max_tokens is reduced and the current number of tokens is greater than
// the new max_tokens, the current number of tokens is reduced to max_tokens.
// This happens so the quota is immediately conformant to the new
// configuration.
//
// * A state transition from disabled to enabled causes the quota to be fully
// replenished. This happens so the re-enabled quota will enter in action in a
// known, predictable state.
//
// A "full replenish", also called "reset", may be forced via the reset_quota
// parameter, regardless of any other changes. For convenience, reset only
// requests (name and reset_quota = true) are allowed.
type UpdateConfigRequest struct {
// Name of the config to update.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Config to update. Only the fields specified by update_mask need to be
// filled.
Config *Config `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"`
// Fields modified by the update request.
// For example: "state" or "max_tokens".
UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
// If true the updated quota is reset, regardless of the update's contents.
// A reset quota is replenished to its maximum number of tokens.
ResetQuota bool `protobuf:"varint,4,opt,name=reset_quota,json=resetQuota" json:"reset_quota,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateConfigRequest) Reset() { *m = UpdateConfigRequest{} }
func (m *UpdateConfigRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateConfigRequest) ProtoMessage() {}
func (*UpdateConfigRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_quotapb_e21da34a69faec1d, []int{8}
}
func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateConfigRequest.Unmarshal(m, b)
}
func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateConfigRequest.Marshal(b, m, deterministic)
}
func (dst *UpdateConfigRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateConfigRequest.Merge(dst, src)
}
func (m *UpdateConfigRequest) XXX_Size() int {
return xxx_messageInfo_UpdateConfigRequest.Size(m)
}
func (m *UpdateConfigRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateConfigRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateConfigRequest proto.InternalMessageInfo
func (m *UpdateConfigRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UpdateConfigRequest) GetConfig() *Config {
if m != nil {
return m.Config
}
return nil
}
func (m *UpdateConfigRequest) GetUpdateMask() *field_mask.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
func (m *UpdateConfigRequest) GetResetQuota() bool {
if m != nil {
return m.ResetQuota
}
return false
}
func init() {
proto.RegisterType((*Config)(nil), "quotapb.Config")
proto.RegisterType((*SequencingBasedStrategy)(nil), "quotapb.SequencingBasedStrategy")
proto.RegisterType((*TimeBasedStrategy)(nil), "quotapb.TimeBasedStrategy")
proto.RegisterType((*CreateConfigRequest)(nil), "quotapb.CreateConfigRequest")
proto.RegisterType((*DeleteConfigRequest)(nil), "quotapb.DeleteConfigRequest")
proto.RegisterType((*GetConfigRequest)(nil), "quotapb.GetConfigRequest")
proto.RegisterType((*ListConfigsRequest)(nil), "quotapb.ListConfigsRequest")
proto.RegisterType((*ListConfigsResponse)(nil), "quotapb.ListConfigsResponse")
proto.RegisterType((*UpdateConfigRequest)(nil), "quotapb.UpdateConfigRequest")
proto.RegisterEnum("quotapb.Config_State", Config_State_name, Config_State_value)
proto.RegisterEnum("quotapb.ListConfigsRequest_ListView", ListConfigsRequest_ListView_name, ListConfigsRequest_ListView_value)
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// QuotaClient is the client API for Quota service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type QuotaClient interface {
// Creates a new quota.
CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*Config, error)
// Deletes an existing quota. Non-existing quotas are considered infinite by
// the quota system.
DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// Retrieves a quota by name.
GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*Config, error)
// Lists quotas according to the specified criteria.
ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error)
// Updates a quota.
UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*Config, error)
}
type quotaClient struct {
cc *grpc.ClientConn
}
func NewQuotaClient(cc *grpc.ClientConn) QuotaClient {
return "aClient{cc}
}
func (c *quotaClient) CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*Config, error) {
out := new(Config)
err := c.cc.Invoke(ctx, "/quotapb.Quota/CreateConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *quotaClient) DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/quotapb.Quota/DeleteConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *quotaClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*Config, error) {
out := new(Config)
err := c.cc.Invoke(ctx, "/quotapb.Quota/GetConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *quotaClient) ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error) {
out := new(ListConfigsResponse)
err := c.cc.Invoke(ctx, "/quotapb.Quota/ListConfigs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *quotaClient) UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*Config, error) {
out := new(Config)
err := c.cc.Invoke(ctx, "/quotapb.Quota/UpdateConfig", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Quota service
type QuotaServer interface {
// Creates a new quota.
CreateConfig(context.Context, *CreateConfigRequest) (*Config, error)
// Deletes an existing quota. Non-existing quotas are considered infinite by
// the quota system.
DeleteConfig(context.Context, *DeleteConfigRequest) (*empty.Empty, error)
// Retrieves a quota by name.
GetConfig(context.Context, *GetConfigRequest) (*Config, error)
// Lists quotas according to the specified criteria.
ListConfigs(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error)
// Updates a quota.
UpdateConfig(context.Context, *UpdateConfigRequest) (*Config, error)
}
func RegisterQuotaServer(s *grpc.Server, srv QuotaServer) {
s.RegisterService(&_Quota_serviceDesc, srv)
}
func _Quota_CreateConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuotaServer).CreateConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/quotapb.Quota/CreateConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuotaServer).CreateConfig(ctx, req.(*CreateConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Quota_DeleteConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuotaServer).DeleteConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/quotapb.Quota/DeleteConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuotaServer).DeleteConfig(ctx, req.(*DeleteConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Quota_GetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuotaServer).GetConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/quotapb.Quota/GetConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuotaServer).GetConfig(ctx, req.(*GetConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Quota_ListConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListConfigsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuotaServer).ListConfigs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/quotapb.Quota/ListConfigs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuotaServer).ListConfigs(ctx, req.(*ListConfigsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Quota_UpdateConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuotaServer).UpdateConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/quotapb.Quota/UpdateConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuotaServer).UpdateConfig(ctx, req.(*UpdateConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Quota_serviceDesc = grpc.ServiceDesc{
ServiceName: "quotapb.Quota",
HandlerType: (*QuotaServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateConfig",
Handler: _Quota_CreateConfig_Handler,
},
{
MethodName: "DeleteConfig",
Handler: _Quota_DeleteConfig_Handler,
},
{
MethodName: "GetConfig",
Handler: _Quota_GetConfig_Handler,
},
{
MethodName: "ListConfigs",
Handler: _Quota_ListConfigs_Handler,
},
{
MethodName: "UpdateConfig",
Handler: _Quota_UpdateConfig_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "quotapb.proto",
}
func init() { proto.RegisterFile("quotapb.proto", fileDescriptor_quotapb_e21da34a69faec1d) }
var fileDescriptor_quotapb_e21da34a69faec1d = []byte{
// 759 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x4e, 0x13, 0x41,
0x18, 0x65, 0xfb, 0x47, 0xfb, 0x95, 0x9f, 0x32, 0x45, 0x58, 0x0a, 0x86, 0xcd, 0x46, 0xb4, 0x94,
0xa4, 0x0d, 0xf5, 0xc6, 0x08, 0x26, 0xd2, 0x52, 0xb0, 0xb1, 0x94, 0xb8, 0x2d, 0x7a, 0xb9, 0x99,
0xb6, 0x43, 0x5d, 0xe9, 0xee, 0x96, 0x9d, 0x29, 0x3f, 0x31, 0x5e, 0x68, 0xe2, 0x13, 0x18, 0xdf,
0xc3, 0x77, 0xf1, 0x15, 0x7c, 0x03, 0x5f, 0xc0, 0xec, 0xcc, 0xee, 0x5a, 0xda, 0x22, 0x5c, 0x78,
0xb7, 0xf3, 0x9d, 0xb3, 0xe7, 0x3b, 0xdf, 0xcc, 0x99, 0x81, 0xd9, 0xf3, 0x81, 0xcd, 0x70, 0xbf,
0x95, 0xef, 0x3b, 0x36, 0xb3, 0xd1, 0xb4, 0xb7, 0xcc, 0xac, 0x75, 0x6d, 0xbb, 0xdb, 0x23, 0x05,
0xdc, 0x37, 0x0a, 0xd8, 0xb2, 0x6c, 0x86, 0x99, 0x61, 0x5b, 0x54, 0xd0, 0x32, 0xab, 0x1e, 0xca,
0x57, 0xad, 0xc1, 0x69, 0x81, 0x98, 0x7d, 0x76, 0xed, 0x81, 0xca, 0x28, 0x78, 0x6a, 0x90, 0x5e,
0x47, 0x37, 0x31, 0x3d, 0x13, 0x0c, 0xf5, 0x77, 0x08, 0x62, 0x65, 0xdb, 0x3a, 0x35, 0xba, 0x08,
0x41, 0xc4, 0xc2, 0x26, 0x91, 0x25, 0x45, 0xca, 0x26, 0x34, 0xfe, 0x8d, 0xb6, 0x20, 0x4a, 0x19,
0x66, 0x44, 0x0e, 0x29, 0x52, 0x76, 0xae, 0xf8, 0x20, 0xef, 0x7b, 0x14, 0xff, 0xe4, 0x1b, 0x2e,
0xa8, 0x09, 0x0e, 0x7a, 0x08, 0x60, 0xe2, 0x2b, 0x9d, 0xd9, 0x67, 0xc4, 0xa2, 0x72, 0x58, 0x91,
0xb2, 0x61, 0x2d, 0x61, 0xe2, 0xab, 0x26, 0x2f, 0xa0, 0x23, 0x48, 0x51, 0x72, 0x3e, 0x20, 0x56,
0xdb, 0xb0, 0xba, 0x7a, 0x0b, 0x53, 0xd2, 0x91, 0x23, 0x8a, 0x94, 0x4d, 0x16, 0x95, 0x40, 0xb6,
0x11, 0x10, 0x4a, 0x2e, 0xde, 0x60, 0x0e, 0x66, 0xa4, 0x7b, 0xfd, 0x6a, 0x4a, 0x9b, 0xa7, 0x37,
0x21, 0xb4, 0x03, 0xc0, 0x0c, 0x93, 0x78, 0x42, 0x51, 0x2e, 0x94, 0x09, 0x84, 0x9a, 0x86, 0x49,
0x46, 0x25, 0x12, 0xcc, 0x2f, 0xa2, 0x0d, 0x98, 0x6b, 0x0f, 0x1c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