pagination.pb.go 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc v3.17.3
  5. // source: common/pagination/pagination.proto
  6. package pagination
  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 PaginationBody struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Now uint32 `protobuf:"varint,1,opt,name=now,proto3" json:"now,omitempty"`
  24. Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  25. }
  26. func (x *PaginationBody) Reset() {
  27. *x = PaginationBody{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_common_pagination_pagination_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *PaginationBody) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*PaginationBody) ProtoMessage() {}
  38. func (x *PaginationBody) ProtoReflect() protoreflect.Message {
  39. mi := &file_common_pagination_pagination_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use PaginationBody.ProtoReflect.Descriptor instead.
  50. func (*PaginationBody) Descriptor() ([]byte, []int) {
  51. return file_common_pagination_pagination_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *PaginationBody) GetNow() uint32 {
  54. if x != nil {
  55. return x.Now
  56. }
  57. return 0
  58. }
  59. func (x *PaginationBody) GetSize() uint32 {
  60. if x != nil {
  61. return x.Size
  62. }
  63. return 0
  64. }
  65. var File_common_pagination_pagination_proto protoreflect.FileDescriptor
  66. var file_common_pagination_pagination_proto_rawDesc = []byte{
  67. 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  68. 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
  69. 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  70. 0x22, 0x36, 0x0a, 0x0e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f,
  71. 0x64, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  72. 0x03, 0x6e, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
  73. 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69,
  74. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x38, 0x74, 0x74, 0x6d, 0x79, 0x6c, 0x69,
  75. 0x66, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x65, 0x75, 0x73, 0x7a, 0x68, 0x61, 0x6f, 0x2f,
  76. 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67,
  77. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  78. 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  79. }
  80. var (
  81. file_common_pagination_pagination_proto_rawDescOnce sync.Once
  82. file_common_pagination_pagination_proto_rawDescData = file_common_pagination_pagination_proto_rawDesc
  83. )
  84. func file_common_pagination_pagination_proto_rawDescGZIP() []byte {
  85. file_common_pagination_pagination_proto_rawDescOnce.Do(func() {
  86. file_common_pagination_pagination_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_pagination_pagination_proto_rawDescData)
  87. })
  88. return file_common_pagination_pagination_proto_rawDescData
  89. }
  90. var file_common_pagination_pagination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  91. var file_common_pagination_pagination_proto_goTypes = []interface{}{
  92. (*PaginationBody)(nil), // 0: pagination.PaginationBody
  93. }
  94. var file_common_pagination_pagination_proto_depIdxs = []int32{
  95. 0, // [0:0] is the sub-list for method output_type
  96. 0, // [0:0] is the sub-list for method input_type
  97. 0, // [0:0] is the sub-list for extension type_name
  98. 0, // [0:0] is the sub-list for extension extendee
  99. 0, // [0:0] is the sub-list for field type_name
  100. }
  101. func init() { file_common_pagination_pagination_proto_init() }
  102. func file_common_pagination_pagination_proto_init() {
  103. if File_common_pagination_pagination_proto != nil {
  104. return
  105. }
  106. if !protoimpl.UnsafeEnabled {
  107. file_common_pagination_pagination_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  108. switch v := v.(*PaginationBody); i {
  109. case 0:
  110. return &v.state
  111. case 1:
  112. return &v.sizeCache
  113. case 2:
  114. return &v.unknownFields
  115. default:
  116. return nil
  117. }
  118. }
  119. }
  120. type x struct{}
  121. out := protoimpl.TypeBuilder{
  122. File: protoimpl.DescBuilder{
  123. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  124. RawDescriptor: file_common_pagination_pagination_proto_rawDesc,
  125. NumEnums: 0,
  126. NumMessages: 1,
  127. NumExtensions: 0,
  128. NumServices: 0,
  129. },
  130. GoTypes: file_common_pagination_pagination_proto_goTypes,
  131. DependencyIndexes: file_common_pagination_pagination_proto_depIdxs,
  132. MessageInfos: file_common_pagination_pagination_proto_msgTypes,
  133. }.Build()
  134. File_common_pagination_pagination_proto = out.File
  135. file_common_pagination_pagination_proto_rawDesc = nil
  136. file_common_pagination_pagination_proto_goTypes = nil
  137. file_common_pagination_pagination_proto_depIdxs = nil
  138. }