71 lines
1.9 KiB
Go
71 lines
1.9 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: pb/exhibition.proto
|
|
|
|
package exhibition
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
proto "github.com/golang/protobuf/proto"
|
|
_ "github.com/mwitkow/go-proto-validators"
|
|
_ "google.golang.org/protobuf/types/descriptorpb"
|
|
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 *RegisterInfo) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *SaveRegisterRecordResp) 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 *CheckPhoneResp) 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 *CheckIdCardResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *RecordListReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *RecordListResp) 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 *ExportRecordReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *ExportInfo) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *ExportRecordResp) 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
|
|
}
|