123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.21.9
- // source: backend/operation/enum.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 IsShow_Kind int32
- const (
- IsShow_INVALID IsShow_Kind = 0 // 无效
- IsShow_OK IsShow_Kind = 1 // 是
- IsShow_NO IsShow_Kind = 2 // 否
- )
- // Enum value maps for IsShow_Kind.
- var (
- IsShow_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "OK",
- 2: "NO",
- }
- IsShow_Kind_value = map[string]int32{
- "INVALID": 0,
- "OK": 1,
- "NO": 2,
- }
- )
- func (x IsShow_Kind) Enum() *IsShow_Kind {
- p := new(IsShow_Kind)
- *p = x
- return p
- }
- func (x IsShow_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (IsShow_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[0].Descriptor()
- }
- func (IsShow_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[0]
- }
- func (x IsShow_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use IsShow_Kind.Descriptor instead.
- func (IsShow_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{0, 0}
- }
- type CattleCategoryParent_Kind int32
- const (
- CattleCategoryParent_INVALID CattleCategoryParent_Kind = 0 // 无效
- CattleCategoryParent_LACTATION_CAW CattleCategoryParent_Kind = 1 // 泌乳牛
- CattleCategoryParent_FATTEN_CAW CattleCategoryParent_Kind = 2 // 育肥牛
- CattleCategoryParent_RESERVE_CAW CattleCategoryParent_Kind = 3 // 后备牛
- CattleCategoryParent_DRY_CAW CattleCategoryParent_Kind = 4 // 干奶牛
- CattleCategoryParent_PERINATAL_CAW CattleCategoryParent_Kind = 5 // 泌乳牛
- CattleCategoryParent_OTHER_CAW CattleCategoryParent_Kind = 6 // 其他
- )
- // Enum value maps for CattleCategoryParent_Kind.
- var (
- CattleCategoryParent_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "LACTATION_CAW",
- 2: "FATTEN_CAW",
- 3: "RESERVE_CAW",
- 4: "DRY_CAW",
- 5: "PERINATAL_CAW",
- 6: "OTHER_CAW",
- }
- CattleCategoryParent_Kind_value = map[string]int32{
- "INVALID": 0,
- "LACTATION_CAW": 1,
- "FATTEN_CAW": 2,
- "RESERVE_CAW": 3,
- "DRY_CAW": 4,
- "PERINATAL_CAW": 5,
- "OTHER_CAW": 6,
- }
- )
- func (x CattleCategoryParent_Kind) Enum() *CattleCategoryParent_Kind {
- p := new(CattleCategoryParent_Kind)
- *p = x
- return p
- }
- func (x CattleCategoryParent_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (CattleCategoryParent_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[1].Descriptor()
- }
- func (CattleCategoryParent_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[1]
- }
- func (x CattleCategoryParent_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use CattleCategoryParent_Kind.Descriptor instead.
- func (CattleCategoryParent_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{1, 0}
- }
- type ForageCategoryParent_Kind int32
- const (
- ForageCategoryParent_INVALID ForageCategoryParent_Kind = 0 // 无效
- ForageCategoryParent_ROUGHAGE ForageCategoryParent_Kind = 1 // 粗料
- ForageCategoryParent_CONCENTRATE ForageCategoryParent_Kind = 2 // 精料(浓缩料)
- ForageCategoryParent_HALF_ROUGHAGE_HALF_CONCENTRATE ForageCategoryParent_Kind = 3 // 粗料精料各半
- ForageCategoryParent_OTHER ForageCategoryParent_Kind = 4 // 其他
- )
- // Enum value maps for ForageCategoryParent_Kind.
- var (
- ForageCategoryParent_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "ROUGHAGE",
- 2: "CONCENTRATE",
- 3: "HALF_ROUGHAGE_HALF_CONCENTRATE",
- 4: "OTHER",
- }
- ForageCategoryParent_Kind_value = map[string]int32{
- "INVALID": 0,
- "ROUGHAGE": 1,
- "CONCENTRATE": 2,
- "HALF_ROUGHAGE_HALF_CONCENTRATE": 3,
- "OTHER": 4,
- }
- )
- func (x ForageCategoryParent_Kind) Enum() *ForageCategoryParent_Kind {
- p := new(ForageCategoryParent_Kind)
- *p = x
- return p
- }
- func (x ForageCategoryParent_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ForageCategoryParent_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[2].Descriptor()
- }
- func (ForageCategoryParent_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[2]
- }
- func (x ForageCategoryParent_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ForageCategoryParent_Kind.Descriptor instead.
- func (ForageCategoryParent_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{2, 0}
- }
- type ForageSource_Kind int32
- const (
- ForageSource_INVALID ForageSource_Kind = 0 // 无效
- ForageSource_SYSTEM_BUILT_IN ForageSource_Kind = 1 // 系统内置
- ForageSource_USER_DEFINED ForageSource_Kind = 2 // 用户自定义
- )
- // Enum value maps for ForageSource_Kind.
- var (
- ForageSource_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "SYSTEM_BUILT_IN",
- 2: "USER_DEFINED",
- }
- ForageSource_Kind_value = map[string]int32{
- "INVALID": 0,
- "SYSTEM_BUILT_IN": 1,
- "USER_DEFINED": 2,
- }
- )
- func (x ForageSource_Kind) Enum() *ForageSource_Kind {
- p := new(ForageSource_Kind)
- *p = x
- return p
- }
- func (x ForageSource_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ForageSource_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[3].Descriptor()
- }
- func (ForageSource_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[3]
- }
- func (x ForageSource_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ForageSource_Kind.Descriptor instead.
- func (ForageSource_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{3, 0}
- }
- type JumpDelaType_Kind int32
- const (
- JumpDelaType_INVALID JumpDelaType_Kind = 0 // 禁用
- JumpDelaType_THREE JumpDelaType_Kind = 1 // 3秒
- JumpDelaType_SIX JumpDelaType_Kind = 2 // 6秒
- JumpDelaType_NINE JumpDelaType_Kind = 3 // 9秒
- )
- // Enum value maps for JumpDelaType_Kind.
- var (
- JumpDelaType_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "THREE",
- 2: "SIX",
- 3: "NINE",
- }
- JumpDelaType_Kind_value = map[string]int32{
- "INVALID": 0,
- "THREE": 1,
- "SIX": 2,
- "NINE": 3,
- }
- )
- func (x JumpDelaType_Kind) Enum() *JumpDelaType_Kind {
- p := new(JumpDelaType_Kind)
- *p = x
- return p
- }
- func (x JumpDelaType_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (JumpDelaType_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[4].Descriptor()
- }
- func (JumpDelaType_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[4]
- }
- func (x JumpDelaType_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use JumpDelaType_Kind.Descriptor instead.
- func (JumpDelaType_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{4, 0}
- }
- type ForagePlanType_Kind int32
- const (
- ForagePlanType_INVALID ForagePlanType_Kind = 0 // 无
- ForagePlanType_FORKLIFT ForagePlanType_Kind = 1 // 铲车
- ForagePlanType_CONCENTRATE ForagePlanType_Kind = 2 // 精料
- )
- // Enum value maps for ForagePlanType_Kind.
- var (
- ForagePlanType_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "FORKLIFT",
- 2: "CONCENTRATE",
- }
- ForagePlanType_Kind_value = map[string]int32{
- "INVALID": 0,
- "FORKLIFT": 1,
- "CONCENTRATE": 2,
- }
- )
- func (x ForagePlanType_Kind) Enum() *ForagePlanType_Kind {
- p := new(ForagePlanType_Kind)
- *p = x
- return p
- }
- func (x ForagePlanType_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ForagePlanType_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[5].Descriptor()
- }
- func (ForagePlanType_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[5]
- }
- func (x ForagePlanType_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ForagePlanType_Kind.Descriptor instead.
- func (ForagePlanType_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{5, 0}
- }
- type DataSource_Kind int32
- const (
- DataSource_INVALID DataSource_Kind = 0 // 无
- DataSource_BACKGROUND_ADD DataSource_Kind = 1 // 后台手动添加
- DataSource_EXCEL_IMPORT DataSource_Kind = 2 // excel报表导入
- DataSource_FROM_PASTURE DataSource_Kind = 3 // 来自牧场
- )
- // Enum value maps for DataSource_Kind.
- var (
- DataSource_Kind_name = map[int32]string{
- 0: "INVALID",
- 1: "BACKGROUND_ADD",
- 2: "EXCEL_IMPORT",
- 3: "FROM_PASTURE",
- }
- DataSource_Kind_value = map[string]int32{
- "INVALID": 0,
- "BACKGROUND_ADD": 1,
- "EXCEL_IMPORT": 2,
- "FROM_PASTURE": 3,
- }
- )
- func (x DataSource_Kind) Enum() *DataSource_Kind {
- p := new(DataSource_Kind)
- *p = x
- return p
- }
- func (x DataSource_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (DataSource_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_operation_enum_proto_enumTypes[6].Descriptor()
- }
- func (DataSource_Kind) Type() protoreflect.EnumType {
- return &file_backend_operation_enum_proto_enumTypes[6]
- }
- func (x DataSource_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use DataSource_Kind.Descriptor instead.
- func (DataSource_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{6, 0}
- }
- // 字段类型
- type IsShow struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *IsShow) Reset() {
- *x = IsShow{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *IsShow) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*IsShow) ProtoMessage() {}
- func (x *IsShow) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 IsShow.ProtoReflect.Descriptor instead.
- func (*IsShow) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{0}
- }
- type CattleCategoryParent struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *CattleCategoryParent) Reset() {
- *x = CattleCategoryParent{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CattleCategoryParent) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CattleCategoryParent) ProtoMessage() {}
- func (x *CattleCategoryParent) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 CattleCategoryParent.ProtoReflect.Descriptor instead.
- func (*CattleCategoryParent) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{1}
- }
- // 饲料类别
- type ForageCategoryParent struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ForageCategoryParent) Reset() {
- *x = ForageCategoryParent{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ForageCategoryParent) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ForageCategoryParent) ProtoMessage() {}
- func (x *ForageCategoryParent) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 ForageCategoryParent.ProtoReflect.Descriptor instead.
- func (*ForageCategoryParent) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{2}
- }
- // 饲料来源
- type ForageSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ForageSource) Reset() {
- *x = ForageSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ForageSource) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ForageSource) ProtoMessage() {}
- func (x *ForageSource) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 ForageSource.ProtoReflect.Descriptor instead.
- func (*ForageSource) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{3}
- }
- // 跳转延迟
- type JumpDelaType struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *JumpDelaType) Reset() {
- *x = JumpDelaType{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *JumpDelaType) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*JumpDelaType) ProtoMessage() {}
- func (x *JumpDelaType) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 JumpDelaType.ProtoReflect.Descriptor instead.
- func (*JumpDelaType) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{4}
- }
- // 计划类型
- type ForagePlanType struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ForagePlanType) Reset() {
- *x = ForagePlanType{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ForagePlanType) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ForagePlanType) ProtoMessage() {}
- func (x *ForagePlanType) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 ForagePlanType.ProtoReflect.Descriptor instead.
- func (*ForagePlanType) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{5}
- }
- type DataSource struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *DataSource) Reset() {
- *x = DataSource{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_operation_enum_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DataSource) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DataSource) ProtoMessage() {}
- func (x *DataSource) ProtoReflect() protoreflect.Message {
- mi := &file_backend_operation_enum_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 DataSource.ProtoReflect.Descriptor instead.
- func (*DataSource) Descriptor() ([]byte, []int) {
- return file_backend_operation_enum_proto_rawDescGZIP(), []int{6}
- }
- var File_backend_operation_enum_proto protoreflect.FileDescriptor
- var file_backend_operation_enum_proto_rawDesc = []byte{
- 0x0a, 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, 0x12, 0x11,
- 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0x2d, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x23, 0x0a, 0x04, 0x4b,
- 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00,
- 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x4e, 0x4f, 0x10, 0x02,
- 0x22, 0x8e, 0x01, 0x0a, 0x14, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67,
- 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x76, 0x0a, 0x04, 0x4b, 0x69, 0x6e,
- 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x11,
- 0x0a, 0x0d, 0x4c, 0x41, 0x43, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x57, 0x10,
- 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x41, 0x54, 0x54, 0x45, 0x4e, 0x5f, 0x43, 0x41, 0x57, 0x10,
- 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x5f, 0x43, 0x41, 0x57,
- 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x52, 0x59, 0x5f, 0x43, 0x41, 0x57, 0x10, 0x04, 0x12,
- 0x11, 0x0a, 0x0d, 0x50, 0x45, 0x52, 0x49, 0x4e, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x43, 0x41, 0x57,
- 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x57, 0x10,
- 0x06, 0x22, 0x79, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67,
- 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x61, 0x0a, 0x04, 0x4b, 0x69, 0x6e,
- 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0c,
- 0x0a, 0x08, 0x52, 0x4f, 0x55, 0x47, 0x48, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b,
- 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x22, 0x0a,
- 0x1e, 0x48, 0x41, 0x4c, 0x46, 0x5f, 0x52, 0x4f, 0x55, 0x47, 0x48, 0x41, 0x47, 0x45, 0x5f, 0x48,
- 0x41, 0x4c, 0x46, 0x5f, 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x54, 0x45, 0x10,
- 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x04, 0x22, 0x4a, 0x0a, 0x0c,
- 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x3a, 0x0a, 0x04,
- 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10,
- 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x42, 0x55, 0x49, 0x4c,
- 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44,
- 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x22, 0x41, 0x0a, 0x0c, 0x4a, 0x75, 0x6d, 0x70,
- 0x44, 0x65, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x31, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64,
- 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a,
- 0x05, 0x54, 0x48, 0x52, 0x45, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x49, 0x58, 0x10,
- 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x44, 0x0a, 0x0e, 0x46,
- 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x32, 0x0a,
- 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44,
- 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x4f, 0x52, 0x4b, 0x4c, 0x49, 0x46, 0x54, 0x10, 0x01,
- 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x54, 0x45, 0x10,
- 0x02, 0x22, 0x59, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22,
- 0x4b, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c,
- 0x49, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x43, 0x4b, 0x47, 0x52, 0x4f, 0x55,
- 0x4e, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x58, 0x43, 0x45,
- 0x4c, 0x5f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x52,
- 0x4f, 0x4d, 0x5f, 0x50, 0x41, 0x53, 0x54, 0x55, 0x52, 0x45, 0x10, 0x03, 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_enum_proto_rawDescOnce sync.Once
- file_backend_operation_enum_proto_rawDescData = file_backend_operation_enum_proto_rawDesc
- )
- func file_backend_operation_enum_proto_rawDescGZIP() []byte {
- file_backend_operation_enum_proto_rawDescOnce.Do(func() {
- file_backend_operation_enum_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_enum_proto_rawDescData)
- })
- return file_backend_operation_enum_proto_rawDescData
- }
- var file_backend_operation_enum_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
- var file_backend_operation_enum_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
- var file_backend_operation_enum_proto_goTypes = []interface{}{
- (IsShow_Kind)(0), // 0: backend.operation.IsShow.Kind
- (CattleCategoryParent_Kind)(0), // 1: backend.operation.CattleCategoryParent.Kind
- (ForageCategoryParent_Kind)(0), // 2: backend.operation.ForageCategoryParent.Kind
- (ForageSource_Kind)(0), // 3: backend.operation.ForageSource.Kind
- (JumpDelaType_Kind)(0), // 4: backend.operation.JumpDelaType.Kind
- (ForagePlanType_Kind)(0), // 5: backend.operation.ForagePlanType.Kind
- (DataSource_Kind)(0), // 6: backend.operation.DataSource.Kind
- (*IsShow)(nil), // 7: backend.operation.IsShow
- (*CattleCategoryParent)(nil), // 8: backend.operation.CattleCategoryParent
- (*ForageCategoryParent)(nil), // 9: backend.operation.ForageCategoryParent
- (*ForageSource)(nil), // 10: backend.operation.ForageSource
- (*JumpDelaType)(nil), // 11: backend.operation.JumpDelaType
- (*ForagePlanType)(nil), // 12: backend.operation.ForagePlanType
- (*DataSource)(nil), // 13: backend.operation.DataSource
- }
- var file_backend_operation_enum_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_backend_operation_enum_proto_init() }
- func file_backend_operation_enum_proto_init() {
- if File_backend_operation_enum_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_backend_operation_enum_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsShow); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_enum_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CattleCategoryParent); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_enum_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ForageCategoryParent); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_enum_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ForageSource); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_enum_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*JumpDelaType); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_enum_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ForagePlanType); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_operation_enum_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DataSource); 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_enum_proto_rawDesc,
- NumEnums: 7,
- NumMessages: 7,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_backend_operation_enum_proto_goTypes,
- DependencyIndexes: file_backend_operation_enum_proto_depIdxs,
- EnumInfos: file_backend_operation_enum_proto_enumTypes,
- MessageInfos: file_backend_operation_enum_proto_msgTypes,
- }.Build()
- File_backend_operation_enum_proto = out.File
- file_backend_operation_enum_proto_rawDesc = nil
- file_backend_operation_enum_proto_goTypes = nil
- file_backend_operation_enum_proto_depIdxs = nil
- }
|