-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRpc.pb.go
6615 lines (5815 loc) · 225 KB
/
Rpc.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
// @project The EOS Open Storage
// @brief The EOS gRPC API, used by CTA and CERNBox
// @copyright Copyright 2024 CERN
// @license This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// NOTE: Compile for Go with:
// protoc ./eos_grpc.proto --go_out=plugins=grpc:.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc (unknown)
// source: Rpc.proto
package go_eosgrpc
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type TYPE int32
const (
TYPE_FILE TYPE = 0
TYPE_CONTAINER TYPE = 1
TYPE_LISTING TYPE = 2
TYPE_STAT TYPE = 3
)
// Enum value maps for TYPE.
var (
TYPE_name = map[int32]string{
0: "FILE",
1: "CONTAINER",
2: "LISTING",
3: "STAT",
}
TYPE_value = map[string]int32{
"FILE": 0,
"CONTAINER": 1,
"LISTING": 2,
"STAT": 3,
}
)
func (x TYPE) Enum() *TYPE {
p := new(TYPE)
*p = x
return p
}
func (x TYPE) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TYPE) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[0].Descriptor()
}
func (TYPE) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[0]
}
func (x TYPE) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use TYPE.Descriptor instead.
func (TYPE) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{0}
}
type QUOTATYPE int32
const (
QUOTATYPE_USER QUOTATYPE = 0
QUOTATYPE_GROUP QUOTATYPE = 2
QUOTATYPE_PROJECT QUOTATYPE = 3
)
// Enum value maps for QUOTATYPE.
var (
QUOTATYPE_name = map[int32]string{
0: "USER",
2: "GROUP",
3: "PROJECT",
}
QUOTATYPE_value = map[string]int32{
"USER": 0,
"GROUP": 2,
"PROJECT": 3,
}
)
func (x QUOTATYPE) Enum() *QUOTATYPE {
p := new(QUOTATYPE)
*p = x
return p
}
func (x QUOTATYPE) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (QUOTATYPE) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[1].Descriptor()
}
func (QUOTATYPE) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[1]
}
func (x QUOTATYPE) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use QUOTATYPE.Descriptor instead.
func (QUOTATYPE) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{1}
}
type QUOTAOP int32
const (
QUOTAOP_GET QUOTAOP = 0
QUOTAOP_SET QUOTAOP = 1
QUOTAOP_RM QUOTAOP = 2
QUOTAOP_RMNODE QUOTAOP = 3
)
// Enum value maps for QUOTAOP.
var (
QUOTAOP_name = map[int32]string{
0: "GET",
1: "SET",
2: "RM",
3: "RMNODE",
}
QUOTAOP_value = map[string]int32{
"GET": 0,
"SET": 1,
"RM": 2,
"RMNODE": 3,
}
)
func (x QUOTAOP) Enum() *QUOTAOP {
p := new(QUOTAOP)
*p = x
return p
}
func (x QUOTAOP) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (QUOTAOP) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[2].Descriptor()
}
func (QUOTAOP) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[2]
}
func (x QUOTAOP) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use QUOTAOP.Descriptor instead.
func (QUOTAOP) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{2}
}
type QUOTAENTRY int32
const (
QUOTAENTRY_NONE QUOTAENTRY = 0
QUOTAENTRY_VOLUME QUOTAENTRY = 1
QUOTAENTRY_INODE QUOTAENTRY = 2
)
// Enum value maps for QUOTAENTRY.
var (
QUOTAENTRY_name = map[int32]string{
0: "NONE",
1: "VOLUME",
2: "INODE",
}
QUOTAENTRY_value = map[string]int32{
"NONE": 0,
"VOLUME": 1,
"INODE": 2,
}
)
func (x QUOTAENTRY) Enum() *QUOTAENTRY {
p := new(QUOTAENTRY)
*p = x
return p
}
func (x QUOTAENTRY) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (QUOTAENTRY) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[3].Descriptor()
}
func (QUOTAENTRY) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[3]
}
func (x QUOTAENTRY) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use QUOTAENTRY.Descriptor instead.
func (QUOTAENTRY) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{3}
}
type NSRequest_VersionRequest_VERSION_CMD int32
const (
NSRequest_VersionRequest_CREATE NSRequest_VersionRequest_VERSION_CMD = 0
NSRequest_VersionRequest_PURGE NSRequest_VersionRequest_VERSION_CMD = 1
NSRequest_VersionRequest_LIST NSRequest_VersionRequest_VERSION_CMD = 2
NSRequest_VersionRequest_GRAB NSRequest_VersionRequest_VERSION_CMD = 3
)
// Enum value maps for NSRequest_VersionRequest_VERSION_CMD.
var (
NSRequest_VersionRequest_VERSION_CMD_name = map[int32]string{
0: "CREATE",
1: "PURGE",
2: "LIST",
3: "GRAB",
}
NSRequest_VersionRequest_VERSION_CMD_value = map[string]int32{
"CREATE": 0,
"PURGE": 1,
"LIST": 2,
"GRAB": 3,
}
)
func (x NSRequest_VersionRequest_VERSION_CMD) Enum() *NSRequest_VersionRequest_VERSION_CMD {
p := new(NSRequest_VersionRequest_VERSION_CMD)
*p = x
return p
}
func (x NSRequest_VersionRequest_VERSION_CMD) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSRequest_VersionRequest_VERSION_CMD) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[4].Descriptor()
}
func (NSRequest_VersionRequest_VERSION_CMD) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[4]
}
func (x NSRequest_VersionRequest_VERSION_CMD) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSRequest_VersionRequest_VERSION_CMD.Descriptor instead.
func (NSRequest_VersionRequest_VERSION_CMD) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{20, 7, 0}
}
type NSRequest_RecycleRequest_RECYCLE_CMD int32
const (
NSRequest_RecycleRequest_RESTORE NSRequest_RecycleRequest_RECYCLE_CMD = 0
NSRequest_RecycleRequest_PURGE NSRequest_RecycleRequest_RECYCLE_CMD = 1
NSRequest_RecycleRequest_LIST NSRequest_RecycleRequest_RECYCLE_CMD = 2
)
// Enum value maps for NSRequest_RecycleRequest_RECYCLE_CMD.
var (
NSRequest_RecycleRequest_RECYCLE_CMD_name = map[int32]string{
0: "RESTORE",
1: "PURGE",
2: "LIST",
}
NSRequest_RecycleRequest_RECYCLE_CMD_value = map[string]int32{
"RESTORE": 0,
"PURGE": 1,
"LIST": 2,
}
)
func (x NSRequest_RecycleRequest_RECYCLE_CMD) Enum() *NSRequest_RecycleRequest_RECYCLE_CMD {
p := new(NSRequest_RecycleRequest_RECYCLE_CMD)
*p = x
return p
}
func (x NSRequest_RecycleRequest_RECYCLE_CMD) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSRequest_RecycleRequest_RECYCLE_CMD) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[5].Descriptor()
}
func (NSRequest_RecycleRequest_RECYCLE_CMD) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[5]
}
func (x NSRequest_RecycleRequest_RECYCLE_CMD) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSRequest_RecycleRequest_RECYCLE_CMD.Descriptor instead.
func (NSRequest_RecycleRequest_RECYCLE_CMD) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{20, 8, 0}
}
type NSRequest_AclRequest_ACL_COMMAND int32
const (
NSRequest_AclRequest_NONE NSRequest_AclRequest_ACL_COMMAND = 0
NSRequest_AclRequest_MODIFY NSRequest_AclRequest_ACL_COMMAND = 1
NSRequest_AclRequest_LIST NSRequest_AclRequest_ACL_COMMAND = 2
)
// Enum value maps for NSRequest_AclRequest_ACL_COMMAND.
var (
NSRequest_AclRequest_ACL_COMMAND_name = map[int32]string{
0: "NONE",
1: "MODIFY",
2: "LIST",
}
NSRequest_AclRequest_ACL_COMMAND_value = map[string]int32{
"NONE": 0,
"MODIFY": 1,
"LIST": 2,
}
)
func (x NSRequest_AclRequest_ACL_COMMAND) Enum() *NSRequest_AclRequest_ACL_COMMAND {
p := new(NSRequest_AclRequest_ACL_COMMAND)
*p = x
return p
}
func (x NSRequest_AclRequest_ACL_COMMAND) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSRequest_AclRequest_ACL_COMMAND) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[6].Descriptor()
}
func (NSRequest_AclRequest_ACL_COMMAND) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[6]
}
func (x NSRequest_AclRequest_ACL_COMMAND) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSRequest_AclRequest_ACL_COMMAND.Descriptor instead.
func (NSRequest_AclRequest_ACL_COMMAND) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{20, 12, 0}
}
type NSRequest_AclRequest_ACL_TYPE int32
const (
NSRequest_AclRequest_USER_ACL NSRequest_AclRequest_ACL_TYPE = 0
NSRequest_AclRequest_SYS_ACL NSRequest_AclRequest_ACL_TYPE = 1
)
// Enum value maps for NSRequest_AclRequest_ACL_TYPE.
var (
NSRequest_AclRequest_ACL_TYPE_name = map[int32]string{
0: "USER_ACL",
1: "SYS_ACL",
}
NSRequest_AclRequest_ACL_TYPE_value = map[string]int32{
"USER_ACL": 0,
"SYS_ACL": 1,
}
)
func (x NSRequest_AclRequest_ACL_TYPE) Enum() *NSRequest_AclRequest_ACL_TYPE {
p := new(NSRequest_AclRequest_ACL_TYPE)
*p = x
return p
}
func (x NSRequest_AclRequest_ACL_TYPE) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSRequest_AclRequest_ACL_TYPE) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[7].Descriptor()
}
func (NSRequest_AclRequest_ACL_TYPE) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[7]
}
func (x NSRequest_AclRequest_ACL_TYPE) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSRequest_AclRequest_ACL_TYPE.Descriptor instead.
func (NSRequest_AclRequest_ACL_TYPE) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{20, 12, 1}
}
type NSRequest_ShareRequest_LsShare_OutFormat int32
const (
NSRequest_ShareRequest_LsShare_NONE NSRequest_ShareRequest_LsShare_OutFormat = 0 //
NSRequest_ShareRequest_LsShare_MONITORING NSRequest_ShareRequest_LsShare_OutFormat = 1 // [-m]
NSRequest_ShareRequest_LsShare_LISTING NSRequest_ShareRequest_LsShare_OutFormat = 2 // [-l]
NSRequest_ShareRequest_LsShare_JSON NSRequest_ShareRequest_LsShare_OutFormat = 3 // [grpc]
)
// Enum value maps for NSRequest_ShareRequest_LsShare_OutFormat.
var (
NSRequest_ShareRequest_LsShare_OutFormat_name = map[int32]string{
0: "NONE",
1: "MONITORING",
2: "LISTING",
3: "JSON",
}
NSRequest_ShareRequest_LsShare_OutFormat_value = map[string]int32{
"NONE": 0,
"MONITORING": 1,
"LISTING": 2,
"JSON": 3,
}
)
func (x NSRequest_ShareRequest_LsShare_OutFormat) Enum() *NSRequest_ShareRequest_LsShare_OutFormat {
p := new(NSRequest_ShareRequest_LsShare_OutFormat)
*p = x
return p
}
func (x NSRequest_ShareRequest_LsShare_OutFormat) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSRequest_ShareRequest_LsShare_OutFormat) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[8].Descriptor()
}
func (NSRequest_ShareRequest_LsShare_OutFormat) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[8]
}
func (x NSRequest_ShareRequest_LsShare_OutFormat) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSRequest_ShareRequest_LsShare_OutFormat.Descriptor instead.
func (NSRequest_ShareRequest_LsShare_OutFormat) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{20, 15, 0, 0}
}
type NSRequest_ShareRequest_OperateShare_Op int32
const (
NSRequest_ShareRequest_OperateShare_CREATE NSRequest_ShareRequest_OperateShare_Op = 0
NSRequest_ShareRequest_OperateShare_REMOVE NSRequest_ShareRequest_OperateShare_Op = 1
NSRequest_ShareRequest_OperateShare_SHARE NSRequest_ShareRequest_OperateShare_Op = 2
NSRequest_ShareRequest_OperateShare_UNSHARE NSRequest_ShareRequest_OperateShare_Op = 3
NSRequest_ShareRequest_OperateShare_ACCESS NSRequest_ShareRequest_OperateShare_Op = 4
NSRequest_ShareRequest_OperateShare_MODIFY NSRequest_ShareRequest_OperateShare_Op = 5
)
// Enum value maps for NSRequest_ShareRequest_OperateShare_Op.
var (
NSRequest_ShareRequest_OperateShare_Op_name = map[int32]string{
0: "CREATE",
1: "REMOVE",
2: "SHARE",
3: "UNSHARE",
4: "ACCESS",
5: "MODIFY",
}
NSRequest_ShareRequest_OperateShare_Op_value = map[string]int32{
"CREATE": 0,
"REMOVE": 1,
"SHARE": 2,
"UNSHARE": 3,
"ACCESS": 4,
"MODIFY": 5,
}
)
func (x NSRequest_ShareRequest_OperateShare_Op) Enum() *NSRequest_ShareRequest_OperateShare_Op {
p := new(NSRequest_ShareRequest_OperateShare_Op)
*p = x
return p
}
func (x NSRequest_ShareRequest_OperateShare_Op) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSRequest_ShareRequest_OperateShare_Op) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[9].Descriptor()
}
func (NSRequest_ShareRequest_OperateShare_Op) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[9]
}
func (x NSRequest_ShareRequest_OperateShare_Op) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSRequest_ShareRequest_OperateShare_Op.Descriptor instead.
func (NSRequest_ShareRequest_OperateShare_Op) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{20, 15, 1, 0}
}
type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE int32
const (
NSResponse_RecycleResponse_RecycleInfo_FILE NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE = 0
NSResponse_RecycleResponse_RecycleInfo_TREE NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE = 1
)
// Enum value maps for NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE.
var (
NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_name = map[int32]string{
0: "FILE",
1: "TREE",
}
NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_value = map[string]int32{
"FILE": 0,
"TREE": 1,
}
)
func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Enum() *NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE {
p := new(NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE)
*p = x
return p
}
func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Descriptor() protoreflect.EnumDescriptor {
return file_Rpc_proto_enumTypes[10].Descriptor()
}
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Type() protoreflect.EnumType {
return &file_Rpc_proto_enumTypes[10]
}
func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE.Descriptor instead.
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) EnumDescriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{21, 2, 0, 0}
}
type PingRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"`
Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *PingRequest) Reset() {
*x = PingRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingRequest) ProtoMessage() {}
func (x *PingRequest) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{0}
}
func (x *PingRequest) GetAuthkey() string {
if x != nil {
return x.Authkey
}
return ""
}
func (x *PingRequest) GetMessage() []byte {
if x != nil {
return x.Message
}
return nil
}
type PingReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *PingReply) Reset() {
*x = PingReply{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PingReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingReply) ProtoMessage() {}
func (x *PingReply) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PingReply.ProtoReflect.Descriptor instead.
func (*PingReply) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{1}
}
func (x *PingReply) GetMessage() []byte {
if x != nil {
return x.Message
}
return nil
}
type ContainerInsertRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Container []*ContainerMdProto `protobuf:"bytes,1,rep,name=container,proto3" json:"container,omitempty"`
Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"`
InheritMd bool `protobuf:"varint,3,opt,name=inherit_md,json=inheritMd,proto3" json:"inherit_md,omitempty"`
}
func (x *ContainerInsertRequest) Reset() {
*x = ContainerInsertRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContainerInsertRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContainerInsertRequest) ProtoMessage() {}
func (x *ContainerInsertRequest) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContainerInsertRequest.ProtoReflect.Descriptor instead.
func (*ContainerInsertRequest) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{2}
}
func (x *ContainerInsertRequest) GetContainer() []*ContainerMdProto {
if x != nil {
return x.Container
}
return nil
}
func (x *ContainerInsertRequest) GetAuthkey() string {
if x != nil {
return x.Authkey
}
return ""
}
func (x *ContainerInsertRequest) GetInheritMd() bool {
if x != nil {
return x.InheritMd
}
return false
}
type FileInsertRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Files []*FileMdProto `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"`
}
func (x *FileInsertRequest) Reset() {
*x = FileInsertRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileInsertRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileInsertRequest) ProtoMessage() {}
func (x *FileInsertRequest) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FileInsertRequest.ProtoReflect.Descriptor instead.
func (*FileInsertRequest) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{3}
}
func (x *FileInsertRequest) GetFiles() []*FileMdProto {
if x != nil {
return x.Files
}
return nil
}
func (x *FileInsertRequest) GetAuthkey() string {
if x != nil {
return x.Authkey
}
return ""
}
type InsertReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Message []string `protobuf:"bytes,1,rep,name=message,proto3" json:"message,omitempty"`
Retc []uint32 `protobuf:"varint,2,rep,packed,name=retc,proto3" json:"retc,omitempty"`
}
func (x *InsertReply) Reset() {
*x = InsertReply{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InsertReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InsertReply) ProtoMessage() {}
func (x *InsertReply) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InsertReply.ProtoReflect.Descriptor instead.
func (*InsertReply) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{4}
}
func (x *InsertReply) GetMessage() []string {
if x != nil {
return x.Message
}
return nil
}
func (x *InsertReply) GetRetc() []uint32 {
if x != nil {
return x.Retc
}
return nil
}
type Time struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Sec uint64 `protobuf:"varint,1,opt,name=sec,proto3" json:"sec,omitempty"`
NSec uint64 `protobuf:"varint,2,opt,name=n_sec,json=nSec,proto3" json:"n_sec,omitempty"`
}
func (x *Time) Reset() {
*x = Time{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Time) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Time) ProtoMessage() {}
func (x *Time) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Time.ProtoReflect.Descriptor instead.
func (*Time) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{5}
}
func (x *Time) GetSec() uint64 {
if x != nil {
return x.Sec
}
return 0
}
func (x *Time) GetNSec() uint64 {
if x != nil {
return x.NSec
}
return 0
}
type Checksum struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
}
func (x *Checksum) Reset() {
*x = Checksum{}
if protoimpl.UnsafeEnabled {
mi := &file_Rpc_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Checksum) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Checksum) ProtoMessage() {}
func (x *Checksum) ProtoReflect() protoreflect.Message {
mi := &file_Rpc_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Checksum.ProtoReflect.Descriptor instead.
func (*Checksum) Descriptor() ([]byte, []int) {
return file_Rpc_proto_rawDescGZIP(), []int{6}
}
func (x *Checksum) GetValue() []byte {
if x != nil {
return x.Value
}
return nil
}
func (x *Checksum) GetType() string {
if x != nil {
return x.Type
}
return ""
}
type FileMdProto struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ContId uint64 `protobuf:"varint,2,opt,name=cont_id,json=contId,proto3" json:"cont_id,omitempty"`
Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
LayoutId uint32 `protobuf:"varint,6,opt,name=layout_id,json=layoutId,proto3" json:"layout_id,omitempty"`
Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"`
Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
LinkName []byte `protobuf:"bytes,9,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"`
Ctime *Time `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime,omitempty"` // change time
Mtime *Time `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime,omitempty"` // modification time
Checksum *Checksum `protobuf:"bytes,12,opt,name=checksum,proto3" json:"checksum,omitempty"`
Locations []uint32 `protobuf:"varint,13,rep,packed,name=locations,proto3" json:"locations,omitempty"`
UnlinkLocations []uint32 `protobuf:"varint,14,rep,packed,name=unlink_locations,json=unlinkLocations,proto3" json:"unlink_locations,omitempty"`
Xattrs map[string][]byte `protobuf:"bytes,15,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`