common.pb.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.9
  5. // source: backend/operation/common.proto
  6. package operationPb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type ListCommon struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. NoEdit bool `protobuf:"varint,1,opt,name=NoEdit,proto3" json:"NoEdit,omitempty"`
  24. IsCreate bool `protobuf:"varint,2,opt,name=isCreate,proto3" json:"isCreate,omitempty"`
  25. IsUpdate bool `protobuf:"varint,3,opt,name=isUpdate,proto3" json:"isUpdate,omitempty"`
  26. IsUpdateSave bool `protobuf:"varint,4,opt,name=isUpdateSave,proto3" json:"isUpdateSave,omitempty"`
  27. }
  28. func (x *ListCommon) Reset() {
  29. *x = ListCommon{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_backend_operation_common_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *ListCommon) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*ListCommon) ProtoMessage() {}
  40. func (x *ListCommon) ProtoReflect() protoreflect.Message {
  41. mi := &file_backend_operation_common_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use ListCommon.ProtoReflect.Descriptor instead.
  52. func (*ListCommon) Descriptor() ([]byte, []int) {
  53. return file_backend_operation_common_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *ListCommon) GetNoEdit() bool {
  56. if x != nil {
  57. return x.NoEdit
  58. }
  59. return false
  60. }
  61. func (x *ListCommon) GetIsCreate() bool {
  62. if x != nil {
  63. return x.IsCreate
  64. }
  65. return false
  66. }
  67. func (x *ListCommon) GetIsUpdate() bool {
  68. if x != nil {
  69. return x.IsUpdate
  70. }
  71. return false
  72. }
  73. func (x *ListCommon) GetIsUpdateSave() bool {
  74. if x != nil {
  75. return x.IsUpdateSave
  76. }
  77. return false
  78. }
  79. var File_backend_operation_common_proto protoreflect.FileDescriptor
  80. var file_backend_operation_common_proto_rawDesc = []byte{
  81. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  82. 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  83. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  84. 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d,
  85. 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x6f, 0x45, 0x64, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01,
  86. 0x28, 0x08, 0x52, 0x06, 0x4e, 0x6f, 0x45, 0x64, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73,
  87. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73,
  88. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61,
  89. 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61,
  90. 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61,
  91. 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61,
  92. 0x74, 0x65, 0x53, 0x61, 0x76, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72,
  93. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  94. }
  95. var (
  96. file_backend_operation_common_proto_rawDescOnce sync.Once
  97. file_backend_operation_common_proto_rawDescData = file_backend_operation_common_proto_rawDesc
  98. )
  99. func file_backend_operation_common_proto_rawDescGZIP() []byte {
  100. file_backend_operation_common_proto_rawDescOnce.Do(func() {
  101. file_backend_operation_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_common_proto_rawDescData)
  102. })
  103. return file_backend_operation_common_proto_rawDescData
  104. }
  105. var file_backend_operation_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  106. var file_backend_operation_common_proto_goTypes = []interface{}{
  107. (*ListCommon)(nil), // 0: backend.operation.ListCommon
  108. }
  109. var file_backend_operation_common_proto_depIdxs = []int32{
  110. 0, // [0:0] is the sub-list for method output_type
  111. 0, // [0:0] is the sub-list for method input_type
  112. 0, // [0:0] is the sub-list for extension type_name
  113. 0, // [0:0] is the sub-list for extension extendee
  114. 0, // [0:0] is the sub-list for field type_name
  115. }
  116. func init() { file_backend_operation_common_proto_init() }
  117. func file_backend_operation_common_proto_init() {
  118. if File_backend_operation_common_proto != nil {
  119. return
  120. }
  121. if !protoimpl.UnsafeEnabled {
  122. file_backend_operation_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  123. switch v := v.(*ListCommon); i {
  124. case 0:
  125. return &v.state
  126. case 1:
  127. return &v.sizeCache
  128. case 2:
  129. return &v.unknownFields
  130. default:
  131. return nil
  132. }
  133. }
  134. }
  135. type x struct{}
  136. out := protoimpl.TypeBuilder{
  137. File: protoimpl.DescBuilder{
  138. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  139. RawDescriptor: file_backend_operation_common_proto_rawDesc,
  140. NumEnums: 0,
  141. NumMessages: 1,
  142. NumExtensions: 0,
  143. NumServices: 0,
  144. },
  145. GoTypes: file_backend_operation_common_proto_goTypes,
  146. DependencyIndexes: file_backend_operation_common_proto_depIdxs,
  147. MessageInfos: file_backend_operation_common_proto_msgTypes,
  148. }.Build()
  149. File_backend_operation_common_proto = out.File
  150. file_backend_operation_common_proto_rawDesc = nil
  151. file_backend_operation_common_proto_goTypes = nil
  152. file_backend_operation_common_proto_depIdxs = nil
  153. }