pagination.pb.go 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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/pagination.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 PaginationModel struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Page int32 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"`
  24. PageSize int32 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
  25. PageOffset int32 `protobuf:"varint,3,opt,name=PageOffset,proto3" json:"PageOffset,omitempty"`
  26. }
  27. func (x *PaginationModel) Reset() {
  28. *x = PaginationModel{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_backend_operation_pagination_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *PaginationModel) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*PaginationModel) ProtoMessage() {}
  39. func (x *PaginationModel) ProtoReflect() protoreflect.Message {
  40. mi := &file_backend_operation_pagination_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use PaginationModel.ProtoReflect.Descriptor instead.
  51. func (*PaginationModel) Descriptor() ([]byte, []int) {
  52. return file_backend_operation_pagination_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *PaginationModel) GetPage() int32 {
  55. if x != nil {
  56. return x.Page
  57. }
  58. return 0
  59. }
  60. func (x *PaginationModel) GetPageSize() int32 {
  61. if x != nil {
  62. return x.PageSize
  63. }
  64. return 0
  65. }
  66. func (x *PaginationModel) GetPageOffset() int32 {
  67. if x != nil {
  68. return x.PageOffset
  69. }
  70. return 0
  71. }
  72. var File_backend_operation_pagination_proto protoreflect.FileDescriptor
  73. var file_backend_operation_pagination_proto_rawDesc = []byte{
  74. 0x0a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  75. 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
  76. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  77. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, 0x0a, 0x0f, 0x50, 0x61, 0x67, 0x69, 0x6e,
  78. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61,
  79. 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1a,
  80. 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  81. 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x61,
  82. 0x67, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
  83. 0x50, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b,
  84. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
  85. 0x74, 0x6f, 0x33,
  86. }
  87. var (
  88. file_backend_operation_pagination_proto_rawDescOnce sync.Once
  89. file_backend_operation_pagination_proto_rawDescData = file_backend_operation_pagination_proto_rawDesc
  90. )
  91. func file_backend_operation_pagination_proto_rawDescGZIP() []byte {
  92. file_backend_operation_pagination_proto_rawDescOnce.Do(func() {
  93. file_backend_operation_pagination_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_pagination_proto_rawDescData)
  94. })
  95. return file_backend_operation_pagination_proto_rawDescData
  96. }
  97. var file_backend_operation_pagination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  98. var file_backend_operation_pagination_proto_goTypes = []interface{}{
  99. (*PaginationModel)(nil), // 0: backend.operation.PaginationModel
  100. }
  101. var file_backend_operation_pagination_proto_depIdxs = []int32{
  102. 0, // [0:0] is the sub-list for method output_type
  103. 0, // [0:0] is the sub-list for method input_type
  104. 0, // [0:0] is the sub-list for extension type_name
  105. 0, // [0:0] is the sub-list for extension extendee
  106. 0, // [0:0] is the sub-list for field type_name
  107. }
  108. func init() { file_backend_operation_pagination_proto_init() }
  109. func file_backend_operation_pagination_proto_init() {
  110. if File_backend_operation_pagination_proto != nil {
  111. return
  112. }
  113. if !protoimpl.UnsafeEnabled {
  114. file_backend_operation_pagination_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  115. switch v := v.(*PaginationModel); i {
  116. case 0:
  117. return &v.state
  118. case 1:
  119. return &v.sizeCache
  120. case 2:
  121. return &v.unknownFields
  122. default:
  123. return nil
  124. }
  125. }
  126. }
  127. type x struct{}
  128. out := protoimpl.TypeBuilder{
  129. File: protoimpl.DescBuilder{
  130. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  131. RawDescriptor: file_backend_operation_pagination_proto_rawDesc,
  132. NumEnums: 0,
  133. NumMessages: 1,
  134. NumExtensions: 0,
  135. NumServices: 0,
  136. },
  137. GoTypes: file_backend_operation_pagination_proto_goTypes,
  138. DependencyIndexes: file_backend_operation_pagination_proto_depIdxs,
  139. MessageInfos: file_backend_operation_pagination_proto_msgTypes,
  140. }.Build()
  141. File_backend_operation_pagination_proto = out.File
  142. file_backend_operation_pagination_proto_rawDesc = nil
  143. file_backend_operation_pagination_proto_goTypes = nil
  144. file_backend_operation_pagination_proto_depIdxs = nil
  145. }