github.com/s7techlab/cckit@v0.10.5/extensions/debug/debug_state.validator.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: debug/debug_state.proto 3 4 package debug 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/genproto/googleapis/api/annotations" 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 *Prefix) Validate() error { 20 return nil 21 } 22 func (this *Prefixes) Validate() error { 23 for _, item := range this.Prefixes { 24 if item != nil { 25 if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { 26 return github_com_mwitkow_go_proto_validators.FieldError("Prefixes", err) 27 } 28 } 29 } 30 return nil 31 } 32 func (this *PrefixesMatchCount) Validate() error { 33 // Validation of proto3 map<> fields is unsupported. 34 return nil 35 } 36 func (this *CompositeKeys) Validate() error { 37 for _, item := range this.Keys { 38 if item != nil { 39 if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { 40 return github_com_mwitkow_go_proto_validators.FieldError("Keys", err) 41 } 42 } 43 } 44 return nil 45 } 46 func (this *CompositeKey) Validate() error { 47 return nil 48 } 49 func (this *Value) Validate() error { 50 return nil 51 }