You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fonchain-artshow/pb/artShow/artshow.validator.pb.go

220 lines
5.8 KiB
Go

// 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.Artwork {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Artwork", err)
}
}
}
for _, item := range this.DelArtwork {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("DelArtwork", 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 *ShowDetailRes) 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 *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 *ShowListForArtworkReq) 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 *ShowListForArtworkRes) 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 *ArtworkDetail) Validate() error {
return nil
}
func (this *ArtworkPriceDetail) Validate() error {
return nil
}
func (this *ArtworkPriceListRes) 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 *DelArtworkDetail) 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 *DelShowRel) 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)
}
}
}
for _, item := range this.DelRel {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("DelRel", 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
}