-
Notifications
You must be signed in to change notification settings - Fork 171
/
cellsapi-config.validator.pb.go
169 lines (165 loc) · 4.61 KB
/
cellsapi-config.validator.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cellsapi-config.proto
package rest
import (
fmt "fmt"
math "math"
proto "google.golang.org/protobuf/proto"
_ "github.com/pydio/cells/v4/common/proto/install"
_ "github.com/pydio/cells/v4/common/proto/tree"
_ "github.com/pydio/cells/v4/common/proto/object"
_ "github.com/pydio/cells/v4/common/proto/ctl"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
func (this *Configuration) Validate() error {
return nil
}
func (this *ListDataSourceRequest) Validate() error {
return nil
}
func (this *DataSourceCollection) Validate() error {
for _, item := range this.DataSources {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("DataSources", err)
}
}
}
return nil
}
func (this *DeleteDataSourceResponse) Validate() error {
return nil
}
func (this *ListPeersAddressesRequest) Validate() error {
return nil
}
func (this *ListPeersAddressesResponse) Validate() error {
return nil
}
func (this *ListPeerFoldersRequest) Validate() error {
return nil
}
func (this *CreatePeerFolderRequest) Validate() error {
return nil
}
func (this *CreatePeerFolderResponse) Validate() error {
if this.Node != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Node); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Node", err)
}
}
return nil
}
func (this *ListStorageBucketsRequest) Validate() error {
if this.DataSource != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.DataSource); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("DataSource", err)
}
}
return nil
}
func (this *CreateStorageBucketRequest) Validate() error {
if this.DataSource != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.DataSource); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("DataSource", err)
}
}
return nil
}
func (this *CreateStorageBucketResponse) Validate() error {
return nil
}
func (this *Process) Validate() error {
return nil
}
func (this *ListProcessesRequest) Validate() error {
return nil
}
func (this *ListProcessesResponse) Validate() error {
for _, item := range this.Processes {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Processes", err)
}
}
}
return nil
}
func (this *ListVersioningPolicyRequest) Validate() error {
return nil
}
func (this *VersioningPolicyCollection) Validate() error {
for _, item := range this.Policies {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Policies", err)
}
}
}
return nil
}
func (this *ListVirtualNodesRequest) Validate() error {
return nil
}
func (this *ListServiceRequest) Validate() error {
return nil
}
func (this *ServiceCollection) Validate() error {
for _, item := range this.Services {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Services", err)
}
}
}
return nil
}
func (this *ControlServiceRequest) Validate() error {
return nil
}
func (this *DiscoveryRequest) Validate() error {
return nil
}
func (this *DiscoveryResponse) Validate() error {
// Validation of proto3 map<> fields is unsupported.
return nil
}
func (this *ConfigFormRequest) Validate() error {
return nil
}
func (this *OpenApiResponse) Validate() error {
return nil
}
func (this *ActionDescription) Validate() error {
return nil
}
func (this *SchedulerActionsRequest) Validate() error {
return nil
}
func (this *SchedulerActionsResponse) Validate() error {
// Validation of proto3 map<> fields is unsupported.
return nil
}
func (this *SchedulerActionFormRequest) Validate() error {
return nil
}
func (this *SchedulerActionFormResponse) Validate() error {
return nil
}
func (this *ListSitesRequest) Validate() error {
return nil
}
func (this *ListSitesResponse) Validate() error {
for _, item := range this.Sites {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Sites", err)
}
}
}
return nil
}