base.pb.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: base.proto
  6. package base
  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 UserAndPartnerIdParam struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. PartnerId string `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`
  24. UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId"`
  25. }
  26. func (x *UserAndPartnerIdParam) Reset() {
  27. *x = UserAndPartnerIdParam{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_base_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *UserAndPartnerIdParam) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*UserAndPartnerIdParam) ProtoMessage() {}
  38. func (x *UserAndPartnerIdParam) ProtoReflect() protoreflect.Message {
  39. mi := &file_base_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 UserAndPartnerIdParam.ProtoReflect.Descriptor instead.
  50. func (*UserAndPartnerIdParam) Descriptor() ([]byte, []int) {
  51. return file_base_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *UserAndPartnerIdParam) GetPartnerId() string {
  54. if x != nil {
  55. return x.PartnerId
  56. }
  57. return ""
  58. }
  59. func (x *UserAndPartnerIdParam) GetUserId() string {
  60. if x != nil {
  61. return x.UserId
  62. }
  63. return ""
  64. }
  65. type User1AndUser2IdParam struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. User1 string `protobuf:"bytes,1,opt,name=user1,proto3" json:"user1"`
  70. User2 string `protobuf:"bytes,2,opt,name=user2,proto3" json:"user2"`
  71. }
  72. func (x *User1AndUser2IdParam) Reset() {
  73. *x = User1AndUser2IdParam{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_base_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *User1AndUser2IdParam) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*User1AndUser2IdParam) ProtoMessage() {}
  84. func (x *User1AndUser2IdParam) ProtoReflect() protoreflect.Message {
  85. mi := &file_base_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use User1AndUser2IdParam.ProtoReflect.Descriptor instead.
  96. func (*User1AndUser2IdParam) Descriptor() ([]byte, []int) {
  97. return file_base_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *User1AndUser2IdParam) GetUser1() string {
  100. if x != nil {
  101. return x.User1
  102. }
  103. return ""
  104. }
  105. func (x *User1AndUser2IdParam) GetUser2() string {
  106. if x != nil {
  107. return x.User2
  108. }
  109. return ""
  110. }
  111. type PartnerIDParam struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. PartnerID string `protobuf:"bytes,1,opt,name=partnerID,proto3" json:"partnerID"`
  116. }
  117. func (x *PartnerIDParam) Reset() {
  118. *x = PartnerIDParam{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_base_proto_msgTypes[2]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *PartnerIDParam) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*PartnerIDParam) ProtoMessage() {}
  129. func (x *PartnerIDParam) ProtoReflect() protoreflect.Message {
  130. mi := &file_base_proto_msgTypes[2]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use PartnerIDParam.ProtoReflect.Descriptor instead.
  141. func (*PartnerIDParam) Descriptor() ([]byte, []int) {
  142. return file_base_proto_rawDescGZIP(), []int{2}
  143. }
  144. func (x *PartnerIDParam) GetPartnerID() string {
  145. if x != nil {
  146. return x.PartnerID
  147. }
  148. return ""
  149. }
  150. type UserIDParam struct {
  151. state protoimpl.MessageState
  152. sizeCache protoimpl.SizeCache
  153. unknownFields protoimpl.UnknownFields
  154. UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"`
  155. }
  156. func (x *UserIDParam) Reset() {
  157. *x = UserIDParam{}
  158. if protoimpl.UnsafeEnabled {
  159. mi := &file_base_proto_msgTypes[3]
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. ms.StoreMessageInfo(mi)
  162. }
  163. }
  164. func (x *UserIDParam) String() string {
  165. return protoimpl.X.MessageStringOf(x)
  166. }
  167. func (*UserIDParam) ProtoMessage() {}
  168. func (x *UserIDParam) ProtoReflect() protoreflect.Message {
  169. mi := &file_base_proto_msgTypes[3]
  170. if protoimpl.UnsafeEnabled && x != nil {
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. if ms.LoadMessageInfo() == nil {
  173. ms.StoreMessageInfo(mi)
  174. }
  175. return ms
  176. }
  177. return mi.MessageOf(x)
  178. }
  179. // Deprecated: Use UserIDParam.ProtoReflect.Descriptor instead.
  180. func (*UserIDParam) Descriptor() ([]byte, []int) {
  181. return file_base_proto_rawDescGZIP(), []int{3}
  182. }
  183. func (x *UserIDParam) GetUserId() string {
  184. if x != nil {
  185. return x.UserId
  186. }
  187. return ""
  188. }
  189. var File_base_proto protoreflect.FileDescriptor
  190. var file_base_proto_rawDesc = []byte{
  191. 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  192. 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x41, 0x6e,
  193. 0x64, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
  194. 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  195. 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a,
  196. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75,
  197. 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x31, 0x41, 0x6e,
  198. 0x64, 0x55, 0x73, 0x65, 0x72, 0x32, 0x49, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x14, 0x0a,
  199. 0x05, 0x75, 0x73, 0x65, 0x72, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73,
  200. 0x65, 0x72, 0x31, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x18, 0x02, 0x20, 0x01,
  201. 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x32, 0x22, 0x2e, 0x0a, 0x0e, 0x50, 0x61, 0x72,
  202. 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70,
  203. 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  204. 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x25, 0x0a, 0x0b, 0x55, 0x73, 0x65,
  205. 0x72, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
  206. 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  207. 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x50, 0x01, 0x5a, 0x2f,
  208. 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73,
  209. 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  210. 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x62,
  211. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  212. }
  213. var (
  214. file_base_proto_rawDescOnce sync.Once
  215. file_base_proto_rawDescData = file_base_proto_rawDesc
  216. )
  217. func file_base_proto_rawDescGZIP() []byte {
  218. file_base_proto_rawDescOnce.Do(func() {
  219. file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
  220. })
  221. return file_base_proto_rawDescData
  222. }
  223. var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  224. var file_base_proto_goTypes = []interface{}{
  225. (*UserAndPartnerIdParam)(nil), // 0: api.base.UserAndPartnerIdParam
  226. (*User1AndUser2IdParam)(nil), // 1: api.base.User1AndUser2IdParam
  227. (*PartnerIDParam)(nil), // 2: api.base.PartnerIDParam
  228. (*UserIDParam)(nil), // 3: api.base.UserIDParam
  229. }
  230. var file_base_proto_depIdxs = []int32{
  231. 0, // [0:0] is the sub-list for method output_type
  232. 0, // [0:0] is the sub-list for method input_type
  233. 0, // [0:0] is the sub-list for extension type_name
  234. 0, // [0:0] is the sub-list for extension extendee
  235. 0, // [0:0] is the sub-list for field type_name
  236. }
  237. func init() { file_base_proto_init() }
  238. func file_base_proto_init() {
  239. if File_base_proto != nil {
  240. return
  241. }
  242. if !protoimpl.UnsafeEnabled {
  243. file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  244. switch v := v.(*UserAndPartnerIdParam); i {
  245. case 0:
  246. return &v.state
  247. case 1:
  248. return &v.sizeCache
  249. case 2:
  250. return &v.unknownFields
  251. default:
  252. return nil
  253. }
  254. }
  255. file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  256. switch v := v.(*User1AndUser2IdParam); i {
  257. case 0:
  258. return &v.state
  259. case 1:
  260. return &v.sizeCache
  261. case 2:
  262. return &v.unknownFields
  263. default:
  264. return nil
  265. }
  266. }
  267. file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  268. switch v := v.(*PartnerIDParam); i {
  269. case 0:
  270. return &v.state
  271. case 1:
  272. return &v.sizeCache
  273. case 2:
  274. return &v.unknownFields
  275. default:
  276. return nil
  277. }
  278. }
  279. file_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  280. switch v := v.(*UserIDParam); i {
  281. case 0:
  282. return &v.state
  283. case 1:
  284. return &v.sizeCache
  285. case 2:
  286. return &v.unknownFields
  287. default:
  288. return nil
  289. }
  290. }
  291. }
  292. type x struct{}
  293. out := protoimpl.TypeBuilder{
  294. File: protoimpl.DescBuilder{
  295. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  296. RawDescriptor: file_base_proto_rawDesc,
  297. NumEnums: 0,
  298. NumMessages: 4,
  299. NumExtensions: 0,
  300. NumServices: 0,
  301. },
  302. GoTypes: file_base_proto_goTypes,
  303. DependencyIndexes: file_base_proto_depIdxs,
  304. MessageInfos: file_base_proto_msgTypes,
  305. }.Build()
  306. File_base_proto = out.File
  307. file_base_proto_rawDesc = nil
  308. file_base_proto_goTypes = nil
  309. file_base_proto_depIdxs = nil
  310. }