fonchain-artistinfo/pb/artistinfoStatement/statement.validator.pb.go
2023-04-17 09:35:03 +08:00

195 lines
5.5 KiB
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: Statement.proto
package statement
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 *Contracts) Validate() error {
return nil
}
func (this *ArtworkTxDetail) Validate() error {
return nil
}
func (this *ArtworkSoldTxDetail) Validate() error {
return nil
}
func (this *ArtworkCopyDetail) Validate() error {
return nil
}
func (this *ArtworkSoldCopyDetail) Validate() error {
return nil
}
func (this *ExcelOneInfo) Validate() error {
return nil
}
func (this *ExcelTwoInfo) Validate() error {
return nil
}
func (this *ArtworkSoldDetailList) Validate() error {
return nil
}
func (this *ArtistList) Validate() error {
for _, item := range this.ArtworkSoldDetailList {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkSoldDetailList", err)
}
}
}
return nil
}
func (this *UploadExcelOneTxRequest) Validate() error {
for _, item := range this.ExcelOneInfo {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ExcelOneInfo", err)
}
}
}
return nil
}
func (this *UploadExcelOneTxRespond) Validate() error {
return nil
}
func (this *UploadExcelTwoTxRequest) Validate() error {
for _, item := range this.ExcelTwoInfo {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ExcelTwoInfo", err)
}
}
}
return nil
}
func (this *UploadExcelTwoTxRespond) Validate() error {
return nil
}
func (this *UploadExcelOneCopyRequest) Validate() error {
for _, item := range this.ExcelOneInfo {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ExcelOneInfo", err)
}
}
}
return nil
}
func (this *UploadExcelOneCopyRespond) Validate() error {
return nil
}
func (this *UploadExcelTwoCopyRequest) Validate() error {
for _, item := range this.ExcelTwoInfo {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ExcelTwoInfo", err)
}
}
}
return nil
}
func (this *UploadExcelTwoCopyRespond) Validate() error {
return nil
}
func (this *GetAllBatchTimeTxRequest) Validate() error {
return nil
}
func (this *GetAllBatchTimeTxRespond) Validate() error {
return nil
}
func (this *GetAllBatchTimeCopyRequest) Validate() error {
return nil
}
func (this *GetAllBatchTimeCopyRespond) Validate() error {
return nil
}
func (this *GetArtworkSoldTxDetailListRequest) Validate() error {
return nil
}
func (this *GetArtworkSoldTxDetailListRespond) Validate() error {
for _, item := range this.ArtistList {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtistList", err)
}
}
}
return nil
}
func (this *GetArtworkSoldCopyDetailListRequest) Validate() error {
return nil
}
func (this *GetArtworkSoldCopyDetailListRespond) Validate() error {
for _, item := range this.ArtistList {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtistList", err)
}
}
}
return nil
}
func (this *StatementListRequest) Validate() error {
return nil
}
func (this *StatementListRespond) 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 *GetTxInfoByBatchUidRequest) Validate() error {
return nil
}
func (this *GetTxInfoByBatchUidRespond) Validate() error {
for _, item := range this.ArtworkTxDetail {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkTxDetail", err)
}
}
}
for _, item := range this.ArtworkSoldTxDetail {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkSoldTxDetail", err)
}
}
}
return nil
}
func (this *GetCopyInfoByBatchUidRequest) Validate() error {
return nil
}
func (this *GetCopyInfoByBatchUidRespond) Validate() error {
for _, item := range this.ArtworkCopyDetail {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkCopyDetail", err)
}
}
}
for _, item := range this.ArtworkSoldCopyDetail {
if item != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkSoldCopyDetail", err)
}
}
}
return nil
}