-
Notifications
You must be signed in to change notification settings - Fork 171
/
cellsapi-broker.validator.pb.go
76 lines (72 loc) · 2.21 KB
/
cellsapi-broker.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cellsapi-broker.proto
package rest
import (
fmt "fmt"
math "math"
proto "google.golang.org/protobuf/proto"
_ "github.com/pydio/cells/v4/common/proto/activity"
_ "github.com/pydio/cells/v4/common/proto/log"
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 *ActivitiesCollection) Validate() error {
for _, item := range this.Activities {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Activities", err)
}
}
}
return nil
}
func (this *SubscriptionsCollection) Validate() error {
for _, item := range this.Subscriptions {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Subscriptions", err)
}
}
}
return nil
}
func (this *LogCollection) Validate() error {
for _, item := range this.Lines {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Lines", err)
}
}
}
return nil
}
func (this *LogMessageCollection) Validate() error {
for _, item := range this.Logs {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Logs", err)
}
}
}
return nil
}
func (this *TimeRangeResultCollection) Validate() error {
for _, item := range this.Results {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Results", err)
}
}
}
for _, item := range this.Links {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Links", err)
}
}
}
return nil
}