fonchain-artistinfo/pb/contract/contract.validator.pb.go
2023-03-28 15:42:30 +08:00

122 lines
3.2 KiB
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: contract.proto
package artistContract
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 *CreateContractRequest) Validate() error {
return nil
}
func (this *CreateContractRespond) Validate() error {
return nil
}
func (this *ContractListMgmtRequest) Validate() error {
return nil
}
func (this *ContractListMgmtRespond) 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 *ContractHistoryByLockMgmtRequest) Validate() error {
return nil
}
func (this *ContractHistoryByLockMgmtRespond) 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 *ContractListRequest) Validate() error {
return nil
}
func (this *ContractListRespond) 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 *SignContractRequest) Validate() error {
return nil
}
func (this *SignContractRespond) Validate() error {
return nil
}
func (this *FinishContractRequest) Validate() error {
return nil
}
func (this *FinishContractRespond) Validate() error {
if this.Contract != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Contract); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Contract", err)
}
}
return nil
}
func (this *ContractTxListRequest) Validate() error {
return nil
}
func (this *ContractTxListRespond) 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 *GetContractInfoByContractUidRequest) Validate() error {
return nil
}
func (this *GetContractInfoByContractUidRespond) 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 *GetContractRequest) Validate() error {
return nil
}
func (this *UpdateContractRequest) Validate() error {
return nil
}
func (this *UpdateContractRespond) Validate() error {
return nil
}
func (this *UpdateContractTxRequest) Validate() error {
return nil
}
func (this *UpdateContractTxRespond) Validate() error {
return nil
}