// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: pb/bundle.proto

package bundle

import (
	fmt "fmt"
	math "math"
	proto "github.com/golang/protobuf/proto"
	_ "google.golang.org/protobuf/types/descriptorpb"
	_ "github.com/mwitkow/go-proto-validators"
	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 *CommonResponse) Validate() error {
	return nil
}
func (this *BundleProfile) Validate() error {
	for _, item := range this.SelectValueAddService {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("SelectValueAddService", err)
			}
		}
	}
	for _, item := range this.BundleProfileLang {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("BundleProfileLang", err)
			}
		}
	}
	return nil
}
func (this *BundleProfileLang) Validate() error {
	for _, item := range this.ValueAddServiceLang {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("ValueAddServiceLang", err)
			}
		}
	}
	return nil
}
func (this *SaveResponse) Validate() error {
	return nil
}
func (this *SelectValueAddService) Validate() error {
	return nil
}
func (this *DelBundleRequest) Validate() error {
	return nil
}
func (this *BundleListRequest) Validate() error {
	return nil
}
func (this *BundleListResponse) Validate() error {
	for _, item := range this.Bundles {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("Bundles", err)
			}
		}
	}
	return nil
}
func (this *BundleDetailRequest) Validate() error {
	return nil
}
func (this *HandShelfRequest) Validate() error {
	return nil
}
func (this *BundleDetailResponse) Validate() error {
	if this.Bundle != nil {
		if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Bundle); err != nil {
			return github_com_mwitkow_go_proto_validators.FieldError("Bundle", err)
		}
	}
	return nil
}
func (this *BundleDetailResponseV2) Validate() error {
	if this.Bundle != nil {
		if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Bundle); err != nil {
			return github_com_mwitkow_go_proto_validators.FieldError("Bundle", err)
		}
	}
	for _, item := range this.SelectValueAddService {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("SelectValueAddService", err)
			}
		}
	}
	return nil
}
func (this *OrderRecord) Validate() error {
	return nil
}
func (this *OrderRecordsRequest) Validate() error {
	return nil
}
func (this *OrderRecordsResponse) Validate() error {
	for _, item := range this.OrderRecords {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("OrderRecords", err)
			}
		}
	}
	return nil
}
func (this *OrderRecordsDetailRequest) Validate() error {
	return nil
}
func (this *OrderRecordsDetailResponse) Validate() error {
	if this.OrderRecord != nil {
		if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.OrderRecord); err != nil {
			return github_com_mwitkow_go_proto_validators.FieldError("OrderRecord", err)
		}
	}
	return nil
}
func (this *ValueAddBundleProfile) Validate() error {
	return nil
}
func (this *CreateValueAddBundleRequest) Validate() error {
	if !(this.Num > 29) {
		return github_com_mwitkow_go_proto_validators.FieldError("Num", fmt.Errorf(`至少数为30,最多数为100`))
	}
	if !(this.Num < 101) {
		return github_com_mwitkow_go_proto_validators.FieldError("Num", fmt.Errorf(`至少数为30,最多数为100`))
	}
	return nil
}
func (this *CreateValueAddBundleResponse) Validate() error {
	return nil
}
func (this *ValueAddBundleListRequest) Validate() error {
	return nil
}
func (this *ValueAddBundleListResponse) 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 *ValueAddBundleDetailRequest) Validate() error {
	return nil
}
func (this *ValueAddBundleDetailResponse) 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 *FinancialConfirmationRequest) Validate() error {
	return nil
}
func (this *ValueAddService) Validate() error {
	for _, item := range this.ServiceLang {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("ServiceLang", err)
			}
		}
	}
	return nil
}
func (this *ValueAddServiceLang) Validate() error {
	for _, item := range this.Options {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("Options", err)
			}
		}
	}
	return nil
}
func (this *ValueAddPriceOptions) Validate() error {
	return nil
}
func (this *ValueAddServiceListRequest) Validate() error {
	return nil
}
func (this *ValueAddServiceListResponse) Validate() error {
	for _, item := range this.ValueAddServiceList {
		if item != nil {
			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
				return github_com_mwitkow_go_proto_validators.FieldError("ValueAddServiceList", err)
			}
		}
	}
	return nil
}
func (this *ValueAddServiceDetailRequest) Validate() error {
	return nil
}
func (this *ValueAddServiceDetailResponse) Validate() error {
	if this.ValueAddServiceLang != nil {
		if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.ValueAddServiceLang); err != nil {
			return github_com_mwitkow_go_proto_validators.FieldError("ValueAddServiceLang", err)
		}
	}
	return nil
}
func (this *BundleExtendRequest) Validate() error {
	return nil
}
func (this *BundleExtendResponse) Validate() error {
	return nil
}
func (this *BundleExtendRecordsListRequest) Validate() error {
	return nil
}
func (this *BundleExtendRecordsListResponse) 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 *BundleExtendRecordItem) Validate() error {
	return nil
}
func (this *SetBundleBalanceRequest) Validate() error {
	return nil
}
func (this *SetBundleBalanceResponse) Validate() error {
	return nil
}