forked from pydio/cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
graph.pb.go
127 lines (107 loc) · 5.35 KB
/
graph.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: graph.proto
package rest
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import idm "github.com/pydio/cells/common/proto/idm"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type UserStateRequest struct {
Segment string `protobuf:"bytes,1,opt,name=Segment" json:"Segment,omitempty"`
}
func (m *UserStateRequest) Reset() { *m = UserStateRequest{} }
func (m *UserStateRequest) String() string { return proto.CompactTextString(m) }
func (*UserStateRequest) ProtoMessage() {}
func (*UserStateRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
func (m *UserStateRequest) GetSegment() string {
if m != nil {
return m.Segment
}
return ""
}
type UserStateResponse struct {
Workspaces []*idm.Workspace `protobuf:"bytes,1,rep,name=Workspaces" json:"Workspaces,omitempty"`
WorkspacesAccesses map[string]string `protobuf:"bytes,2,rep,name=WorkspacesAccesses" json:"WorkspacesAccesses,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *UserStateResponse) Reset() { *m = UserStateResponse{} }
func (m *UserStateResponse) String() string { return proto.CompactTextString(m) }
func (*UserStateResponse) ProtoMessage() {}
func (*UserStateResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
func (m *UserStateResponse) GetWorkspaces() []*idm.Workspace {
if m != nil {
return m.Workspaces
}
return nil
}
func (m *UserStateResponse) GetWorkspacesAccesses() map[string]string {
if m != nil {
return m.WorkspacesAccesses
}
return nil
}
type RelationRequest struct {
UserId string `protobuf:"bytes,1,opt,name=UserId" json:"UserId,omitempty"`
}
func (m *RelationRequest) Reset() { *m = RelationRequest{} }
func (m *RelationRequest) String() string { return proto.CompactTextString(m) }
func (*RelationRequest) ProtoMessage() {}
func (*RelationRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
func (m *RelationRequest) GetUserId() string {
if m != nil {
return m.UserId
}
return ""
}
type RelationResponse struct {
SharedCells []*idm.Workspace `protobuf:"bytes,1,rep,name=SharedCells" json:"SharedCells,omitempty"`
BelongsToTeams []*idm.Role `protobuf:"bytes,3,rep,name=BelongsToTeams" json:"BelongsToTeams,omitempty"`
}
func (m *RelationResponse) Reset() { *m = RelationResponse{} }
func (m *RelationResponse) String() string { return proto.CompactTextString(m) }
func (*RelationResponse) ProtoMessage() {}
func (*RelationResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
func (m *RelationResponse) GetSharedCells() []*idm.Workspace {
if m != nil {
return m.SharedCells
}
return nil
}
func (m *RelationResponse) GetBelongsToTeams() []*idm.Role {
if m != nil {
return m.BelongsToTeams
}
return nil
}
func init() {
proto.RegisterType((*UserStateRequest)(nil), "rest.UserStateRequest")
proto.RegisterType((*UserStateResponse)(nil), "rest.UserStateResponse")
proto.RegisterType((*RelationRequest)(nil), "rest.RelationRequest")
proto.RegisterType((*RelationResponse)(nil), "rest.RelationResponse")
}
func init() { proto.RegisterFile("graph.proto", fileDescriptor5) }
var fileDescriptor5 = []byte{
// 310 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4f, 0xc2, 0x40,
0x10, 0x85, 0x53, 0x50, 0x0c, 0x43, 0x82, 0xb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