fonchain-artistinfo/pb/artistinfoStatement/statement.validator.pb.go
2023-03-24 14:11:43 +08:00

86 lines
2.4 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 *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
}