// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: pb/artshow.proto package artShow import ( fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" 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 *SaveShowReq) Validate() error { for _, item := range this.ShowArtwork { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("ShowArtwork", err) } } } return nil } func (this *SaveShowRes) Validate() error { return nil } func (this *CommonRes) Validate() error { return nil } func (this *ShowDetailReq) Validate() error { return nil } func (this *ShowDetail) Validate() error { return nil } func (this *ShowArtworkDetailRes) Validate() error { for _, item := range this.Data { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Data", err) } } } return nil } func (this *ShowListReq) Validate() error { return nil } func (this *ShowListRes) Validate() error { for _, item := range this.Data { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Data", err) } } } return nil } func (this *DelShowReq) Validate() error { return nil } func (this *ShowArtworkDetail) Validate() error { return nil } func (this *ShowStatisticalInfoReq) Validate() error { return nil } func (this *ShowStatisticalInfoRes) Validate() error { if this.Data != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Data); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Data", err) } } return nil } func (this *ShowStatisticalInfoRes_Num) Validate() error { return nil } func (this *ArtworkPriceReq) Validate() error { return nil } func (this *ArtworkPriceRes) Validate() error { if this.Data != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Data); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Data", err) } } return nil } func (this *ArtworkPriceRes_PriceInfo) Validate() error { return nil } func (this *ShowRel) Validate() error { return nil } func (this *SaveApplyReq) Validate() error { for _, item := range this.Rel { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Rel", err) } } } return nil } func (this *SaveApplyRes) Validate() error { return nil } func (this *ApplyListReq) Validate() error { return nil } func (this *ApplyListRes) Validate() error { for _, item := range this.Data { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Data", err) } } } return nil } func (this *ApplyShowReq) Validate() error { return nil } func (this *ApplyShowRes) Validate() error { if this.Apply != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Apply); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Apply", err) } } for _, item := range this.Show { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Show", err) } } } return nil } func (this *ApplyDetail) Validate() error { return nil } func (this *ShowRelListReq) Validate() error { return nil } func (this *ShowRelListRes) Validate() error { for _, item := range this.Data { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Data", err) } } } return nil } func (this *UpdateApplyStatusReq) Validate() error { return nil } func (this *DelApplyReq) Validate() error { return nil }