fonchain-artistinfo/pb/contract/contract.validator.pb.go
2023-03-03 16:18:00 +08:00

80 lines
1.9 KiB
Go

// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: contract.proto
package contract
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 *CreateContractRequest) Validate() error {
return nil
}
func (this *CreateContractRespond) Validate() error {
return nil
}
func (this *FinishContractRequest) Validate() error {
return nil
}
func (this *FinishContractRespond) Validate() error {
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 *ContractData) Validate() error {
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 *SignContractRequest) Validate() error {
return nil
}
func (this *SignContractRespond) Validate() error {
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
}