81 lines
2.1 KiB
Go
81 lines
2.1 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: api/reports/reports.proto
|
|
|
|
package reports
|
|
|
|
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 *Filtrate) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *GetAnnualReportListReq) Validate() error {
|
|
if this.Filtrate != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Filtrate); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("Filtrate", err)
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *GetAnnualReportListResp) 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 *AnnualReport) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *AddAnnualReportReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *AddAnnualReportResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditAnnualReportReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditAnnualReportResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *DeleteAnnualReportReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *DeleteAnnualReportResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *GetQuarterlyReportListReq) Validate() error {
|
|
if this.Filtrate != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Filtrate); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("Filtrate", err)
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *GetQuarterlyReportListResp) 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 *QuarterlyReport) Validate() error {
|
|
return nil
|
|
}
|