github.com/s7techlab/cckit@v0.10.5/state/schema/schema.validator.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: schema/schema.proto 3 4 package schema 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators" 10 _ "google.golang.org/protobuf/types/known/anypb" 11 math "math" 12 ) 13 14 // Reference imports to suppress errors if they are not otherwise used. 15 var _ = proto.Marshal 16 var _ = fmt.Errorf 17 var _ = math.Inf 18 19 func (this *KeyRefId) Validate() error { 20 return nil 21 } 22 func (this *KeyRef) Validate() error { 23 return nil 24 } 25 func (this *List) Validate() error { 26 for _, item := range this.Items { 27 if item != nil { 28 if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { 29 return github_com_mwitkow_go_proto_validators.FieldError("Items", err) 30 } 31 } 32 } 33 return nil 34 }