// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: api/supplier/supplier.proto package supplier 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 *GetImportRecordRequest) Validate() error { return nil } func (this *GetImportRecordResponse) Validate() error { return nil } func (this *CreateImportRecordRequest) Validate() error { return nil } func (this *CreateImportRecordResponse) Validate() error { return nil } func (this *GetCountryRegionListResponse) 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 *CountryRegion) Validate() error { return nil } func (this *GetCountryRegionInfoRequest) Validate() error { return nil } func (this *GetCountryRegionListRequest) Validate() error { return nil } func (this *OrganizeDictionary) Validate() error { return nil } func (this *GetOrganizeDictionaryListResponse) 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 *CreateOrganizeDictionaryRequest) Validate() error { return nil } func (this *CreateOrganizeDictionaryResponse) Validate() error { return nil } func (this *GetOrganizeDictionaryListRequest) Validate() error { return nil } func (this *GetSupplierListRequest) Validate() error { return nil } func (this *GetSupplierListResponse) 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 *SupplierInfo) Validate() error { for _, item := range this.Attachments { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Attachments", err) } } } return nil } func (this *UpdateSupplierRequest) Validate() error { for _, item := range this.Attachments { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Attachments", err) } } } return nil } func (this *CreateSupplierRequest) Validate() error { for _, item := range this.Attachments { if item != nil { if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil { return github_com_mwitkow_go_proto_validators.FieldError("Attachments", err) } } } return nil } func (this *Attachment) Validate() error { return nil } func (this *CreateSupplierResponse) Validate() error { return nil } func (this *GetSupplierRequest) Validate() error { return nil }