123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.21.9
- // source: backend/operation/pasture.proto
- package operationPb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type AddPastureRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 牧场名称
- Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // 登录账号名称
- ManagerUser string `protobuf:"bytes,4,opt,name=manager_user,json=managerUser,proto3" json:"manager_user,omitempty"` // 牧场负责人名称
- ManagerPhone string `protobuf:"bytes,5,opt,name=manager_phone,json=managerPhone,proto3" json:"manager_phone,omitempty"` // 牧场负责人手机号
- Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` // 牧场地址
- IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
- CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
- CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
- }
- func (x *AddPastureRequest) Reset() {
- *x = AddPastureRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddPastureRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddPastureRequest) ProtoMessage() {}
- func (x *AddPastureRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AddPastureRequest.ProtoReflect.Descriptor instead.
- func (*AddPastureRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{0}
- }
- func (x *AddPastureRequest) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *AddPastureRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *AddPastureRequest) GetAccount() string {
- if x != nil {
- return x.Account
- }
- return ""
- }
- func (x *AddPastureRequest) GetManagerUser() string {
- if x != nil {
- return x.ManagerUser
- }
- return ""
- }
- func (x *AddPastureRequest) GetManagerPhone() string {
- if x != nil {
- return x.ManagerPhone
- }
- return ""
- }
- func (x *AddPastureRequest) GetAddress() string {
- if x != nil {
- return x.Address
- }
- return ""
- }
- func (x *AddPastureRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *AddPastureRequest) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *AddPastureRequest) GetCreatedAtFormat() string {
- if x != nil {
- return x.CreatedAtFormat
- }
- return ""
- }
- type SearchPastureRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 牧场名称
- ManagerUser string `protobuf:"bytes,2,opt,name=manager_user,json=managerUser,proto3" json:"manager_user,omitempty"` // 牧场负责人名称
- ManagerPhone string `protobuf:"bytes,3,opt,name=manager_phone,json=managerPhone,proto3" json:"manager_phone,omitempty"` // 牧场负责人手机号
- StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // 开始时间
- EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // 结束时间
- Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
- }
- func (x *SearchPastureRequest) Reset() {
- *x = SearchPastureRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchPastureRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchPastureRequest) ProtoMessage() {}
- func (x *SearchPastureRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SearchPastureRequest.ProtoReflect.Descriptor instead.
- func (*SearchPastureRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{1}
- }
- func (x *SearchPastureRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SearchPastureRequest) GetManagerUser() string {
- if x != nil {
- return x.ManagerUser
- }
- return ""
- }
- func (x *SearchPastureRequest) GetManagerPhone() string {
- if x != nil {
- return x.ManagerPhone
- }
- return ""
- }
- func (x *SearchPastureRequest) GetStartTime() int64 {
- if x != nil {
- return x.StartTime
- }
- return 0
- }
- func (x *SearchPastureRequest) GetEndTime() int64 {
- if x != nil {
- return x.EndTime
- }
- return 0
- }
- func (x *SearchPastureRequest) GetPagination() *PaginationModel {
- if x != nil {
- return x.Pagination
- }
- return nil
- }
- type SearchPastureResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- List []*AddPastureRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
- }
- func (x *SearchPastureResponse) Reset() {
- *x = SearchPastureResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchPastureResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchPastureResponse) ProtoMessage() {}
- func (x *SearchPastureResponse) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SearchPastureResponse.ProtoReflect.Descriptor instead.
- func (*SearchPastureResponse) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{2}
- }
- func (x *SearchPastureResponse) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *SearchPastureResponse) GetTotal() int32 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *SearchPastureResponse) GetList() []*AddPastureRequest {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 重置牧场登录密码
- type RestPasswordGroupPasture struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码(md5加密过的)
- }
- func (x *RestPasswordGroupPasture) Reset() {
- *x = RestPasswordGroupPasture{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RestPasswordGroupPasture) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RestPasswordGroupPasture) ProtoMessage() {}
- func (x *RestPasswordGroupPasture) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RestPasswordGroupPasture.ProtoReflect.Descriptor instead.
- func (*RestPasswordGroupPasture) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{3}
- }
- func (x *RestPasswordGroupPasture) GetPastureId() int64 {
- if x != nil {
- return x.PastureId
- }
- return 0
- }
- func (x *RestPasswordGroupPasture) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- type IsShowGroupPasture struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
- IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
- }
- func (x *IsShowGroupPasture) Reset() {
- *x = IsShowGroupPasture{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *IsShowGroupPasture) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IsShowGroupPasture) ProtoMessage() {}
- func (x *IsShowGroupPasture) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use IsShowGroupPasture.ProtoReflect.Descriptor instead.
- func (*IsShowGroupPasture) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{4}
- }
- func (x *IsShowGroupPasture) GetPastureId() int64 {
- if x != nil {
- return x.PastureId
- }
- return 0
- }
- func (x *IsShowGroupPasture) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- // 添加牧畜分类
- type AddCattleCategoryRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- ParentId CattleCategoryParent_Kind `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,enum=backend.operation.CattleCategoryParent_Kind" json:"parent_id,omitempty"` // 父类id
- ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 父类名称
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 牧畜分类名称
- Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"` // 畜牧类别编号
- IsShow IsShow_Kind `protobuf:"varint,6,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
- CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
- CreatedAtFormat string `protobuf:"bytes,8,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式
- }
- func (x *AddCattleCategoryRequest) Reset() {
- *x = AddCattleCategoryRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddCattleCategoryRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddCattleCategoryRequest) ProtoMessage() {}
- func (x *AddCattleCategoryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AddCattleCategoryRequest.ProtoReflect.Descriptor instead.
- func (*AddCattleCategoryRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{5}
- }
- func (x *AddCattleCategoryRequest) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *AddCattleCategoryRequest) GetParentId() CattleCategoryParent_Kind {
- if x != nil {
- return x.ParentId
- }
- return CattleCategoryParent_INVALID
- }
- func (x *AddCattleCategoryRequest) GetParentName() string {
- if x != nil {
- return x.ParentName
- }
- return ""
- }
- func (x *AddCattleCategoryRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *AddCattleCategoryRequest) GetNumber() string {
- if x != nil {
- return x.Number
- }
- return ""
- }
- func (x *AddCattleCategoryRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *AddCattleCategoryRequest) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *AddCattleCategoryRequest) GetCreatedAtFormat() string {
- if x != nil {
- return x.CreatedAtFormat
- }
- return ""
- }
- // 是否启用
- type IsShowCattleCategory struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CattleCategoryId int64 `protobuf:"varint,1,opt,name=cattle_category_id,json=cattleCategoryId,proto3" json:"cattle_category_id,omitempty"`
- IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
- }
- func (x *IsShowCattleCategory) Reset() {
- *x = IsShowCattleCategory{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *IsShowCattleCategory) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IsShowCattleCategory) ProtoMessage() {}
- func (x *IsShowCattleCategory) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use IsShowCattleCategory.ProtoReflect.Descriptor instead.
- func (*IsShowCattleCategory) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{6}
- }
- func (x *IsShowCattleCategory) GetCattleCategoryId() int64 {
- if x != nil {
- return x.CattleCategoryId
- }
- return 0
- }
- func (x *IsShowCattleCategory) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- // 畜牧分类查询列表
- type SearchCattleCategoryRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
- IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- Pagination *PaginationModel `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
- }
- func (x *SearchCattleCategoryRequest) Reset() {
- *x = SearchCattleCategoryRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchCattleCategoryRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchCattleCategoryRequest) ProtoMessage() {}
- func (x *SearchCattleCategoryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SearchCattleCategoryRequest.ProtoReflect.Descriptor instead.
- func (*SearchCattleCategoryRequest) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{7}
- }
- func (x *SearchCattleCategoryRequest) GetParentName() string {
- if x != nil {
- return x.ParentName
- }
- return ""
- }
- func (x *SearchCattleCategoryRequest) GetIsShow() IsShow_Kind {
- if x != nil {
- return x.IsShow
- }
- return IsShow_INVALID
- }
- func (x *SearchCattleCategoryRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SearchCattleCategoryRequest) GetPagination() *PaginationModel {
- if x != nil {
- return x.Pagination
- }
- return nil
- }
- type SearchCattleCategoryResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
- List []*AddCattleCategoryRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
- }
- func (x *SearchCattleCategoryResponse) Reset() {
- *x = SearchCattleCategoryResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_pasture_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SearchCattleCategoryResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SearchCattleCategoryResponse) ProtoMessage() {}
- func (x *SearchCattleCategoryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_pasture_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SearchCattleCategoryResponse.ProtoReflect.Descriptor instead.
- func (*SearchCattleCategoryResponse) Descriptor() ([]byte, []int) {
- return file_backend_operation_pasture_proto_rawDescGZIP(), []int{8}
- }
- func (x *SearchCattleCategoryResponse) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *SearchCattleCategoryResponse) GetTotal() int32 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- func (x *SearchCattleCategoryResponse) GetList() []*AddCattleCategoryRequest {
- if x != nil {
- return x.List
- }
- return nil
- }
- var File_backend_operation_pasture_proto protoreflect.FileDescriptor
- var file_backend_operation_pasture_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70,
- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x50, 0x61,
- 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61,
- 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a,
- 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x50, 0x68, 0x6f,
- 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07,
- 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
- 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
- 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,
- 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73, 0x74, 0x75,
- 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a,
- 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
- 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
- 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
- 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,
- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
- 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73,
- 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
- 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x73, 0x74,
- 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74,
- 0x22, 0x55, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
- 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70,
- 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
- 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x6c, 0x0a, 0x12, 0x49, 0x73, 0x53, 0x68, 0x6f,
- 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07,
- 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
- 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
- 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xc6, 0x02, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x43, 0x61, 0x74,
- 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
- 0x69, 0x64, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
- 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65,
- 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b,
- 0x69, 0x6e, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a,
- 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
- 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
- 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
- 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
- 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
- 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x7d,
- 0x0a, 0x14, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61,
- 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65,
- 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x10, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
- 0x72, 0x79, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
- 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
- 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xcf, 0x01,
- 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61,
- 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a,
- 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37,
- 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
- 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70,
- 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
- 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
- 0x89, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65,
- 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
- 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x04, 0x6c, 0x69,
- 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
- 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
- 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e,
- 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_backend_operation_pasture_proto_rawDescOnce sync.Once
- file_backend_operation_pasture_proto_rawDescData = file_backend_operation_pasture_proto_rawDesc
- )
- func file_backend_operation_pasture_proto_rawDescGZIP() []byte {
- file_backend_operation_pasture_proto_rawDescOnce.Do(func() {
- file_backend_operation_pasture_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_pasture_proto_rawDescData)
- })
- return file_backend_operation_pasture_proto_rawDescData
- }
- var file_backend_operation_pasture_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
- var file_backend_operation_pasture_proto_goTypes = []interface{}{
- (*AddPastureRequest)(nil), // 0: backend.operation.AddPastureRequest
- (*SearchPastureRequest)(nil), // 1: backend.operation.SearchPastureRequest
- (*SearchPastureResponse)(nil), // 2: backend.operation.SearchPastureResponse
- (*RestPasswordGroupPasture)(nil), // 3: backend.operation.RestPasswordGroupPasture
- (*IsShowGroupPasture)(nil), // 4: backend.operation.IsShowGroupPasture
- (*AddCattleCategoryRequest)(nil), // 5: backend.operation.AddCattleCategoryRequest
- (*IsShowCattleCategory)(nil), // 6: backend.operation.IsShowCattleCategory
- (*SearchCattleCategoryRequest)(nil), // 7: backend.operation.SearchCattleCategoryRequest
- (*SearchCattleCategoryResponse)(nil), // 8: backend.operation.SearchCattleCategoryResponse
- (IsShow_Kind)(0), // 9: backend.operation.IsShow.Kind
- (*PaginationModel)(nil), // 10: backend.operation.PaginationModel
- (CattleCategoryParent_Kind)(0), // 11: backend.operation.CattleCategoryParent.Kind
- }
- var file_backend_operation_pasture_proto_depIdxs = []int32{
- 9, // 0: backend.operation.AddPastureRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 10, // 1: backend.operation.SearchPastureRequest.pagination:type_name -> backend.operation.PaginationModel
- 0, // 2: backend.operation.SearchPastureResponse.list:type_name -> backend.operation.AddPastureRequest
- 9, // 3: backend.operation.IsShowGroupPasture.is_show:type_name -> backend.operation.IsShow.Kind
- 11, // 4: backend.operation.AddCattleCategoryRequest.parent_id:type_name -> backend.operation.CattleCategoryParent.Kind
- 9, // 5: backend.operation.AddCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 9, // 6: backend.operation.IsShowCattleCategory.is_show:type_name -> backend.operation.IsShow.Kind
- 9, // 7: backend.operation.SearchCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
- 10, // 8: backend.operation.SearchCattleCategoryRequest.pagination:type_name -> backend.operation.PaginationModel
- 5, // 9: backend.operation.SearchCattleCategoryResponse.list:type_name -> backend.operation.AddCattleCategoryRequest
- 10, // [10:10] is the sub-list for method output_type
- 10, // [10:10] is the sub-list for method input_type
- 10, // [10:10] is the sub-list for extension type_name
- 10, // [10:10] is the sub-list for extension extendee
- 0, // [0:10] is the sub-list for field type_name
- }
- func init() { file_backend_operation_pasture_proto_init() }
- func file_backend_operation_pasture_proto_init() {
- if File_backend_operation_pasture_proto != nil {
- return
- }
- file_backend_operation_enum_proto_init()
- file_backend_operation_pagination_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_backend_operation_pasture_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddPastureRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchPastureRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchPastureResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RestPasswordGroupPasture); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsShowGroupPasture); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddCattleCategoryRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsShowCattleCategory); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchCattleCategoryRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_pasture_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchCattleCategoryResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_backend_operation_pasture_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 9,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_backend_operation_pasture_proto_goTypes,
- DependencyIndexes: file_backend_operation_pasture_proto_depIdxs,
- MessageInfos: file_backend_operation_pasture_proto_msgTypes,
- }.Build()
- File_backend_operation_pasture_proto = out.File
- file_backend_operation_pasture_proto_rawDesc = nil
- file_backend_operation_pasture_proto_goTypes = nil
- file_backend_operation_pasture_proto_depIdxs = nil
- }
|