forked from sodafoundation/strato
/
s3.pb.go
2115 lines (1862 loc) · 71.4 KB
/
s3.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
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: s3.proto
package s3
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// 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
type ACL struct {
Canned string `protobuf:"bytes,1,opt,name=canned,proto3" json:"canned,omitempty"`
FULL_CONTROL []string `protobuf:"bytes,2,rep,name=FULL_CONTROL,json=FULLCONTROL,proto3" json:"FULL_CONTROL,omitempty"`
WRITE []string `protobuf:"bytes,3,rep,name=WRITE,proto3" json:"WRITE,omitempty"`
WRITE_ACP []string `protobuf:"bytes,4,rep,name=WRITE_ACP,json=WRITEACP,proto3" json:"WRITE_ACP,omitempty"`
READ []string `protobuf:"bytes,5,rep,name=READ,proto3" json:"READ,omitempty"`
READ_ACP []string `protobuf:"bytes,6,rep,name=READ_ACP,json=READACP,proto3" json:"READ_ACP,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ACL) Reset() { *m = ACL{} }
func (m *ACL) String() string { return proto.CompactTextString(m) }
func (*ACL) ProtoMessage() {}
func (*ACL) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{0}
}
func (m *ACL) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ACL.Unmarshal(m, b)
}
func (m *ACL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ACL.Marshal(b, m, deterministic)
}
func (m *ACL) XXX_Merge(src proto.Message) {
xxx_messageInfo_ACL.Merge(m, src)
}
func (m *ACL) XXX_Size() int {
return xxx_messageInfo_ACL.Size(m)
}
func (m *ACL) XXX_DiscardUnknown() {
xxx_messageInfo_ACL.DiscardUnknown(m)
}
var xxx_messageInfo_ACL proto.InternalMessageInfo
func (m *ACL) GetCanned() string {
if m != nil {
return m.Canned
}
return ""
}
func (m *ACL) GetFULL_CONTROL() []string {
if m != nil {
return m.FULL_CONTROL
}
return nil
}
func (m *ACL) GetWRITE() []string {
if m != nil {
return m.WRITE
}
return nil
}
func (m *ACL) GetWRITE_ACP() []string {
if m != nil {
return m.WRITE_ACP
}
return nil
}
func (m *ACL) GetREAD() []string {
if m != nil {
return m.READ
}
return nil
}
func (m *ACL) GetREAD_ACP() []string {
if m != nil {
return m.READ_ACP
}
return nil
}
type ServerSideEncryption struct {
CryptScheme string `protobuf:"bytes,1,opt,name=cryptScheme,proto3" json:"cryptScheme,omitempty"`
Algorithm string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
MasterKeyId string `protobuf:"bytes,3,opt,name=masterKeyId,proto3" json:"masterKeyId,omitempty"`
Mandtory bool `protobuf:"varint,4,opt,name=mandtory,proto3" json:"mandtory,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServerSideEncryption) Reset() { *m = ServerSideEncryption{} }
func (m *ServerSideEncryption) String() string { return proto.CompactTextString(m) }
func (*ServerSideEncryption) ProtoMessage() {}
func (*ServerSideEncryption) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{1}
}
func (m *ServerSideEncryption) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerSideEncryption.Unmarshal(m, b)
}
func (m *ServerSideEncryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServerSideEncryption.Marshal(b, m, deterministic)
}
func (m *ServerSideEncryption) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServerSideEncryption.Merge(m, src)
}
func (m *ServerSideEncryption) XXX_Size() int {
return xxx_messageInfo_ServerSideEncryption.Size(m)
}
func (m *ServerSideEncryption) XXX_DiscardUnknown() {
xxx_messageInfo_ServerSideEncryption.DiscardUnknown(m)
}
var xxx_messageInfo_ServerSideEncryption proto.InternalMessageInfo
func (m *ServerSideEncryption) GetCryptScheme() string {
if m != nil {
return m.CryptScheme
}
return ""
}
func (m *ServerSideEncryption) GetAlgorithm() string {
if m != nil {
return m.Algorithm
}
return ""
}
func (m *ServerSideEncryption) GetMasterKeyId() string {
if m != nil {
return m.MasterKeyId
}
return ""
}
func (m *ServerSideEncryption) GetMandtory() bool {
if m != nil {
return m.Mandtory
}
return false
}
type VersioningConfiguration struct {
Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
MfaDelete string `protobuf:"bytes,2,opt,name=MfaDelete,proto3" json:"MfaDelete,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VersioningConfiguration) Reset() { *m = VersioningConfiguration{} }
func (m *VersioningConfiguration) String() string { return proto.CompactTextString(m) }
func (*VersioningConfiguration) ProtoMessage() {}
func (*VersioningConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{2}
}
func (m *VersioningConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VersioningConfiguration.Unmarshal(m, b)
}
func (m *VersioningConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VersioningConfiguration.Marshal(b, m, deterministic)
}
func (m *VersioningConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_VersioningConfiguration.Merge(m, src)
}
func (m *VersioningConfiguration) XXX_Size() int {
return xxx_messageInfo_VersioningConfiguration.Size(m)
}
func (m *VersioningConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_VersioningConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_VersioningConfiguration proto.InternalMessageInfo
func (m *VersioningConfiguration) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *VersioningConfiguration) GetMfaDelete() string {
if m != nil {
return m.MfaDelete
}
return ""
}
type RedirectAllRequestsTo struct {
HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"`
Protocol []string `protobuf:"bytes,2,rep,name=protocol,proto3" json:"protocol,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RedirectAllRequestsTo) Reset() { *m = RedirectAllRequestsTo{} }
func (m *RedirectAllRequestsTo) String() string { return proto.CompactTextString(m) }
func (*RedirectAllRequestsTo) ProtoMessage() {}
func (*RedirectAllRequestsTo) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{3}
}
func (m *RedirectAllRequestsTo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RedirectAllRequestsTo.Unmarshal(m, b)
}
func (m *RedirectAllRequestsTo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RedirectAllRequestsTo.Marshal(b, m, deterministic)
}
func (m *RedirectAllRequestsTo) XXX_Merge(src proto.Message) {
xxx_messageInfo_RedirectAllRequestsTo.Merge(m, src)
}
func (m *RedirectAllRequestsTo) XXX_Size() int {
return xxx_messageInfo_RedirectAllRequestsTo.Size(m)
}
func (m *RedirectAllRequestsTo) XXX_DiscardUnknown() {
xxx_messageInfo_RedirectAllRequestsTo.DiscardUnknown(m)
}
var xxx_messageInfo_RedirectAllRequestsTo proto.InternalMessageInfo
func (m *RedirectAllRequestsTo) GetHostName() string {
if m != nil {
return m.HostName
}
return ""
}
func (m *RedirectAllRequestsTo) GetProtocol() []string {
if m != nil {
return m.Protocol
}
return nil
}
type Redirect struct {
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
HostName string `protobuf:"bytes,2,opt,name=hostName,proto3" json:"hostName,omitempty"`
ReplaceKeyPrefixWith string `protobuf:"bytes,3,opt,name=replaceKeyPrefixWith,proto3" json:"replaceKeyPrefixWith,omitempty"`
ReplaceKeyWith string `protobuf:"bytes,4,opt,name=replaceKeyWith,proto3" json:"replaceKeyWith,omitempty"`
HttpRedirectCode string `protobuf:"bytes,5,opt,name=httpRedirectCode,proto3" json:"httpRedirectCode,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Redirect) Reset() { *m = Redirect{} }
func (m *Redirect) String() string { return proto.CompactTextString(m) }
func (*Redirect) ProtoMessage() {}
func (*Redirect) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{4}
}
func (m *Redirect) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Redirect.Unmarshal(m, b)
}
func (m *Redirect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Redirect.Marshal(b, m, deterministic)
}
func (m *Redirect) XXX_Merge(src proto.Message) {
xxx_messageInfo_Redirect.Merge(m, src)
}
func (m *Redirect) XXX_Size() int {
return xxx_messageInfo_Redirect.Size(m)
}
func (m *Redirect) XXX_DiscardUnknown() {
xxx_messageInfo_Redirect.DiscardUnknown(m)
}
var xxx_messageInfo_Redirect proto.InternalMessageInfo
func (m *Redirect) GetProtocol() string {
if m != nil {
return m.Protocol
}
return ""
}
func (m *Redirect) GetHostName() string {
if m != nil {
return m.HostName
}
return ""
}
func (m *Redirect) GetReplaceKeyPrefixWith() string {
if m != nil {
return m.ReplaceKeyPrefixWith
}
return ""
}
func (m *Redirect) GetReplaceKeyWith() string {
if m != nil {
return m.ReplaceKeyWith
}
return ""
}
func (m *Redirect) GetHttpRedirectCode() string {
if m != nil {
return m.HttpRedirectCode
}
return ""
}
type Condition struct {
KeyPrefixEquals string `protobuf:"bytes,1,opt,name=keyPrefixEquals,proto3" json:"keyPrefixEquals,omitempty"`
HttpErrorCodeReturnedEquals string `protobuf:"bytes,2,opt,name=httpErrorCodeReturnedEquals,proto3" json:"httpErrorCodeReturnedEquals,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Condition) Reset() { *m = Condition{} }
func (m *Condition) String() string { return proto.CompactTextString(m) }
func (*Condition) ProtoMessage() {}
func (*Condition) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{5}
}
func (m *Condition) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Condition.Unmarshal(m, b)
}
func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Condition.Marshal(b, m, deterministic)
}
func (m *Condition) XXX_Merge(src proto.Message) {
xxx_messageInfo_Condition.Merge(m, src)
}
func (m *Condition) XXX_Size() int {
return xxx_messageInfo_Condition.Size(m)
}
func (m *Condition) XXX_DiscardUnknown() {
xxx_messageInfo_Condition.DiscardUnknown(m)
}
var xxx_messageInfo_Condition proto.InternalMessageInfo
func (m *Condition) GetKeyPrefixEquals() string {
if m != nil {
return m.KeyPrefixEquals
}
return ""
}
func (m *Condition) GetHttpErrorCodeReturnedEquals() string {
if m != nil {
return m.HttpErrorCodeReturnedEquals
}
return ""
}
type RoutingRules struct {
Redirect *Redirect `protobuf:"bytes,1,opt,name=redirect,proto3" json:"redirect,omitempty"`
Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RoutingRules) Reset() { *m = RoutingRules{} }
func (m *RoutingRules) String() string { return proto.CompactTextString(m) }
func (*RoutingRules) ProtoMessage() {}
func (*RoutingRules) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{6}
}
func (m *RoutingRules) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RoutingRules.Unmarshal(m, b)
}
func (m *RoutingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RoutingRules.Marshal(b, m, deterministic)
}
func (m *RoutingRules) XXX_Merge(src proto.Message) {
xxx_messageInfo_RoutingRules.Merge(m, src)
}
func (m *RoutingRules) XXX_Size() int {
return xxx_messageInfo_RoutingRules.Size(m)
}
func (m *RoutingRules) XXX_DiscardUnknown() {
xxx_messageInfo_RoutingRules.DiscardUnknown(m)
}
var xxx_messageInfo_RoutingRules proto.InternalMessageInfo
func (m *RoutingRules) GetRedirect() *Redirect {
if m != nil {
return m.Redirect
}
return nil
}
func (m *RoutingRules) GetCondition() *Condition {
if m != nil {
return m.Condition
}
return nil
}
type WebsiteConfiguration struct {
IndexDocument string `protobuf:"bytes,1,opt,name=indexDocument,proto3" json:"indexDocument,omitempty"`
ErrorDocument string `protobuf:"bytes,2,opt,name=errorDocument,proto3" json:"errorDocument,omitempty"`
RedirectAllRequestsTo *RedirectAllRequestsTo `protobuf:"bytes,3,opt,name=redirectAllRequestsTo,proto3" json:"redirectAllRequestsTo,omitempty"`
RoutingRules []*RoutingRules `protobuf:"bytes,4,rep,name=routingRules,proto3" json:"routingRules,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WebsiteConfiguration) Reset() { *m = WebsiteConfiguration{} }
func (m *WebsiteConfiguration) String() string { return proto.CompactTextString(m) }
func (*WebsiteConfiguration) ProtoMessage() {}
func (*WebsiteConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{7}
}
func (m *WebsiteConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WebsiteConfiguration.Unmarshal(m, b)
}
func (m *WebsiteConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WebsiteConfiguration.Marshal(b, m, deterministic)
}
func (m *WebsiteConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_WebsiteConfiguration.Merge(m, src)
}
func (m *WebsiteConfiguration) XXX_Size() int {
return xxx_messageInfo_WebsiteConfiguration.Size(m)
}
func (m *WebsiteConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_WebsiteConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_WebsiteConfiguration proto.InternalMessageInfo
func (m *WebsiteConfiguration) GetIndexDocument() string {
if m != nil {
return m.IndexDocument
}
return ""
}
func (m *WebsiteConfiguration) GetErrorDocument() string {
if m != nil {
return m.ErrorDocument
}
return ""
}
func (m *WebsiteConfiguration) GetRedirectAllRequestsTo() *RedirectAllRequestsTo {
if m != nil {
return m.RedirectAllRequestsTo
}
return nil
}
func (m *WebsiteConfiguration) GetRoutingRules() []*RoutingRules {
if m != nil {
return m.RoutingRules
}
return nil
}
type CORSConfiguration struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
AllowedMethods string `protobuf:"bytes,2,opt,name=allowedMethods,proto3" json:"allowedMethods,omitempty"`
AllowedOrigins string `protobuf:"bytes,3,opt,name=allowedOrigins,proto3" json:"allowedOrigins,omitempty"`
AllowedHeaders string `protobuf:"bytes,4,opt,name=allowedHeaders,proto3" json:"allowedHeaders,omitempty"`
MaxAgeSeconds string `protobuf:"bytes,5,opt,name=maxAgeSeconds,proto3" json:"maxAgeSeconds,omitempty"`
ExposedHeaders string `protobuf:"bytes,6,opt,name=exposedHeaders,proto3" json:"exposedHeaders,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CORSConfiguration) Reset() { *m = CORSConfiguration{} }
func (m *CORSConfiguration) String() string { return proto.CompactTextString(m) }
func (*CORSConfiguration) ProtoMessage() {}
func (*CORSConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{8}
}
func (m *CORSConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CORSConfiguration.Unmarshal(m, b)
}
func (m *CORSConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CORSConfiguration.Marshal(b, m, deterministic)
}
func (m *CORSConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_CORSConfiguration.Merge(m, src)
}
func (m *CORSConfiguration) XXX_Size() int {
return xxx_messageInfo_CORSConfiguration.Size(m)
}
func (m *CORSConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_CORSConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_CORSConfiguration proto.InternalMessageInfo
func (m *CORSConfiguration) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CORSConfiguration) GetAllowedMethods() string {
if m != nil {
return m.AllowedMethods
}
return ""
}
func (m *CORSConfiguration) GetAllowedOrigins() string {
if m != nil {
return m.AllowedOrigins
}
return ""
}
func (m *CORSConfiguration) GetAllowedHeaders() string {
if m != nil {
return m.AllowedHeaders
}
return ""
}
func (m *CORSConfiguration) GetMaxAgeSeconds() string {
if m != nil {
return m.MaxAgeSeconds
}
return ""
}
func (m *CORSConfiguration) GetExposedHeaders() string {
if m != nil {
return m.ExposedHeaders
}
return ""
}
type Destination struct {
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
StorageClass string `protobuf:"bytes,2,opt,name=storageClass,proto3" json:"storageClass,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Destination) Reset() { *m = Destination{} }
func (m *Destination) String() string { return proto.CompactTextString(m) }
func (*Destination) ProtoMessage() {}
func (*Destination) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{9}
}
func (m *Destination) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Destination.Unmarshal(m, b)
}
func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Destination.Marshal(b, m, deterministic)
}
func (m *Destination) XXX_Merge(src proto.Message) {
xxx_messageInfo_Destination.Merge(m, src)
}
func (m *Destination) XXX_Size() int {
return xxx_messageInfo_Destination.Size(m)
}
func (m *Destination) XXX_DiscardUnknown() {
xxx_messageInfo_Destination.DiscardUnknown(m)
}
var xxx_messageInfo_Destination proto.InternalMessageInfo
func (m *Destination) GetBucket() string {
if m != nil {
return m.Bucket
}
return ""
}
func (m *Destination) GetStorageClass() string {
if m != nil {
return m.StorageClass
}
return ""
}
type ReplicationRole struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
Destination *Destination `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplicationRole) Reset() { *m = ReplicationRole{} }
func (m *ReplicationRole) String() string { return proto.CompactTextString(m) }
func (*ReplicationRole) ProtoMessage() {}
func (*ReplicationRole) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{10}
}
func (m *ReplicationRole) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplicationRole.Unmarshal(m, b)
}
func (m *ReplicationRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplicationRole.Marshal(b, m, deterministic)
}
func (m *ReplicationRole) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplicationRole.Merge(m, src)
}
func (m *ReplicationRole) XXX_Size() int {
return xxx_messageInfo_ReplicationRole.Size(m)
}
func (m *ReplicationRole) XXX_DiscardUnknown() {
xxx_messageInfo_ReplicationRole.DiscardUnknown(m)
}
var xxx_messageInfo_ReplicationRole proto.InternalMessageInfo
func (m *ReplicationRole) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ReplicationRole) GetPrefix() string {
if m != nil {
return m.Prefix
}
return ""
}
func (m *ReplicationRole) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
func (m *ReplicationRole) GetDestination() *Destination {
if m != nil {
return m.Destination
}
return nil
}
type ReplicationConfiguration struct {
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
Rules []*ReplicationRole `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplicationConfiguration) Reset() { *m = ReplicationConfiguration{} }
func (m *ReplicationConfiguration) String() string { return proto.CompactTextString(m) }
func (*ReplicationConfiguration) ProtoMessage() {}
func (*ReplicationConfiguration) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{11}
}
func (m *ReplicationConfiguration) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplicationConfiguration.Unmarshal(m, b)
}
func (m *ReplicationConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplicationConfiguration.Marshal(b, m, deterministic)
}
func (m *ReplicationConfiguration) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplicationConfiguration.Merge(m, src)
}
func (m *ReplicationConfiguration) XXX_Size() int {
return xxx_messageInfo_ReplicationConfiguration.Size(m)
}
func (m *ReplicationConfiguration) XXX_DiscardUnknown() {
xxx_messageInfo_ReplicationConfiguration.DiscardUnknown(m)
}
var xxx_messageInfo_ReplicationConfiguration proto.InternalMessageInfo
func (m *ReplicationConfiguration) GetRole() string {
if m != nil {
return m.Role
}
return ""
}
func (m *ReplicationConfiguration) GetRules() []*ReplicationRole {
if m != nil {
return m.Rules
}
return nil
}
type Tag struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Tag) Reset() { *m = Tag{} }
func (m *Tag) String() string { return proto.CompactTextString(m) }
func (*Tag) ProtoMessage() {}
func (*Tag) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{12}
}
func (m *Tag) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Tag.Unmarshal(m, b)
}
func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
}
func (m *Tag) XXX_Merge(src proto.Message) {
xxx_messageInfo_Tag.Merge(m, src)
}
func (m *Tag) XXX_Size() int {
return xxx_messageInfo_Tag.Size(m)
}
func (m *Tag) XXX_DiscardUnknown() {
xxx_messageInfo_Tag.DiscardUnknown(m)
}
var xxx_messageInfo_Tag proto.InternalMessageInfo
func (m *Tag) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *Tag) GetVal() string {
if m != nil {
return m.Val
}
return ""
}
type LifecycleFilter struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
Tags []*Tag `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LifecycleFilter) Reset() { *m = LifecycleFilter{} }
func (m *LifecycleFilter) String() string { return proto.CompactTextString(m) }
func (*LifecycleFilter) ProtoMessage() {}
func (*LifecycleFilter) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{13}
}
func (m *LifecycleFilter) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LifecycleFilter.Unmarshal(m, b)
}
func (m *LifecycleFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LifecycleFilter.Marshal(b, m, deterministic)
}
func (m *LifecycleFilter) XXX_Merge(src proto.Message) {
xxx_messageInfo_LifecycleFilter.Merge(m, src)
}
func (m *LifecycleFilter) XXX_Size() int {
return xxx_messageInfo_LifecycleFilter.Size(m)
}
func (m *LifecycleFilter) XXX_DiscardUnknown() {
xxx_messageInfo_LifecycleFilter.DiscardUnknown(m)
}
var xxx_messageInfo_LifecycleFilter proto.InternalMessageInfo
func (m *LifecycleFilter) GetPrefix() string {
if m != nil {
return m.Prefix
}
return ""
}
func (m *LifecycleFilter) GetTags() []*Tag {
if m != nil {
return m.Tags
}
return nil
}
type Action struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Day string `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"`
DeleteMarker string `protobuf:"bytes,4,opt,name=deleteMarker,proto3" json:"deleteMarker,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Action) Reset() { *m = Action{} }
func (m *Action) String() string { return proto.CompactTextString(m) }
func (*Action) ProtoMessage() {}
func (*Action) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{14}
}
func (m *Action) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Action.Unmarshal(m, b)
}
func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Action.Marshal(b, m, deterministic)
}
func (m *Action) XXX_Merge(src proto.Message) {
xxx_messageInfo_Action.Merge(m, src)
}
func (m *Action) XXX_Size() int {
return xxx_messageInfo_Action.Size(m)
}
func (m *Action) XXX_DiscardUnknown() {
xxx_messageInfo_Action.DiscardUnknown(m)
}
var xxx_messageInfo_Action proto.InternalMessageInfo
func (m *Action) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Action) GetDay() string {
if m != nil {
return m.Day
}
return ""
}
func (m *Action) GetDeleteMarker() string {
if m != nil {
return m.DeleteMarker
}
return ""
}
type LifecycleRole struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Filter *LifecycleFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LifecycleRole) Reset() { *m = LifecycleRole{} }
func (m *LifecycleRole) String() string { return proto.CompactTextString(m) }
func (*LifecycleRole) ProtoMessage() {}
func (*LifecycleRole) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{15}
}
func (m *LifecycleRole) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LifecycleRole.Unmarshal(m, b)
}
func (m *LifecycleRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LifecycleRole.Marshal(b, m, deterministic)
}
func (m *LifecycleRole) XXX_Merge(src proto.Message) {
xxx_messageInfo_LifecycleRole.Merge(m, src)
}
func (m *LifecycleRole) XXX_Size() int {
return xxx_messageInfo_LifecycleRole.Size(m)
}
func (m *LifecycleRole) XXX_DiscardUnknown() {
xxx_messageInfo_LifecycleRole.DiscardUnknown(m)
}
var xxx_messageInfo_LifecycleRole proto.InternalMessageInfo
func (m *LifecycleRole) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *LifecycleRole) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *LifecycleRole) GetFilter() *LifecycleFilter {
if m != nil {
return m.Filter
}
return nil
}
func (m *LifecycleRole) GetActions() []*Action {
if m != nil {
return m.Actions
}
return nil
}
type ReplicationInfo struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"`
StorageClass string `protobuf:"bytes,3,opt,name=storageClass,proto3" json:"storageClass,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReplicationInfo) Reset() { *m = ReplicationInfo{} }
func (m *ReplicationInfo) String() string { return proto.CompactTextString(m) }
func (*ReplicationInfo) ProtoMessage() {}
func (*ReplicationInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_005e34be4304e022, []int{16}
}
func (m *ReplicationInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReplicationInfo.Unmarshal(m, b)
}
func (m *ReplicationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplicationInfo.Marshal(b, m, deterministic)
}
func (m *ReplicationInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplicationInfo.Merge(m, src)
}
func (m *ReplicationInfo) XXX_Size() int {
return xxx_messageInfo_ReplicationInfo.Size(m)
}
func (m *ReplicationInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ReplicationInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ReplicationInfo proto.InternalMessageInfo
func (m *ReplicationInfo) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
func (m *ReplicationInfo) GetBackend() string {
if m != nil {
return m.Backend
}
return ""
}
func (m *ReplicationInfo) GetStorageClass() string {
if m != nil {
return m.StorageClass
}
return ""
}
type Bucket struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
OwnerDisplayName string `protobuf:"bytes,3,opt,name=ownerDisplayName,proto3" json:"ownerDisplayName,omitempty"`
Acl *ACL `protobuf:"bytes,4,opt,name=acl,proto3" json:"acl,omitempty"`
CreationDate int64 `protobuf:"varint,5,opt,name=creationDate,proto3" json:"creationDate,omitempty"`
Transient bool `protobuf:"varint,6,opt,name=transient,proto3" json:"transient,omitempty"`
Deleted bool `protobuf:"varint,7,opt,name=deleted,proto3" json:"deleted,omitempty"`
ServerSideEncryption *ServerSideEncryption `protobuf:"bytes,8,opt,name=serverSideEncryption,proto3" json:"serverSideEncryption,omitempty"`
VersioningConfiguration *VersioningConfiguration `protobuf:"bytes,9,opt,name=versioningConfiguration,proto3" json:"versioningConfiguration,omitempty"`
Backend string `protobuf:"bytes,10,opt,name=backend,proto3" json:"backend,omitempty"`