base.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1-devel
  4. // protoc v3.21.8
  5. // source: base.proto
  6. package base
  7. import (
  8. common "git.ikuban.com/server/pw-protobuf/api/common"
  9. _ "google.golang.org/genproto/googleapis/api/annotations"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type CheckTextRequest struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"` // 待审核的文本
  26. }
  27. func (x *CheckTextRequest) Reset() {
  28. *x = CheckTextRequest{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_base_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *CheckTextRequest) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*CheckTextRequest) ProtoMessage() {}
  39. func (x *CheckTextRequest) ProtoReflect() protoreflect.Message {
  40. mi := &file_base_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 CheckTextRequest.ProtoReflect.Descriptor instead.
  51. func (*CheckTextRequest) Descriptor() ([]byte, []int) {
  52. return file_base_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *CheckTextRequest) GetText() string {
  55. if x != nil {
  56. return x.Text
  57. }
  58. return ""
  59. }
  60. type CheckTextReply struct {
  61. state protoimpl.MessageState
  62. sizeCache protoimpl.SizeCache
  63. unknownFields protoimpl.UnknownFields
  64. IsPass bool `protobuf:"varint,1,opt,name=isPass,proto3" json:"isPass"` // 是否通过
  65. }
  66. func (x *CheckTextReply) Reset() {
  67. *x = CheckTextReply{}
  68. if protoimpl.UnsafeEnabled {
  69. mi := &file_base_proto_msgTypes[1]
  70. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  71. ms.StoreMessageInfo(mi)
  72. }
  73. }
  74. func (x *CheckTextReply) String() string {
  75. return protoimpl.X.MessageStringOf(x)
  76. }
  77. func (*CheckTextReply) ProtoMessage() {}
  78. func (x *CheckTextReply) ProtoReflect() protoreflect.Message {
  79. mi := &file_base_proto_msgTypes[1]
  80. if protoimpl.UnsafeEnabled && x != nil {
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. if ms.LoadMessageInfo() == nil {
  83. ms.StoreMessageInfo(mi)
  84. }
  85. return ms
  86. }
  87. return mi.MessageOf(x)
  88. }
  89. // Deprecated: Use CheckTextReply.ProtoReflect.Descriptor instead.
  90. func (*CheckTextReply) Descriptor() ([]byte, []int) {
  91. return file_base_proto_rawDescGZIP(), []int{1}
  92. }
  93. func (x *CheckTextReply) GetIsPass() bool {
  94. if x != nil {
  95. return x.IsPass
  96. }
  97. return false
  98. }
  99. type MediaID struct {
  100. state protoimpl.MessageState
  101. sizeCache protoimpl.SizeCache
  102. unknownFields protoimpl.UnknownFields
  103. MediaId string `protobuf:"bytes,1,opt,name=mediaId,proto3" json:"mediaId"`
  104. }
  105. func (x *MediaID) Reset() {
  106. *x = MediaID{}
  107. if protoimpl.UnsafeEnabled {
  108. mi := &file_base_proto_msgTypes[2]
  109. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  110. ms.StoreMessageInfo(mi)
  111. }
  112. }
  113. func (x *MediaID) String() string {
  114. return protoimpl.X.MessageStringOf(x)
  115. }
  116. func (*MediaID) ProtoMessage() {}
  117. func (x *MediaID) ProtoReflect() protoreflect.Message {
  118. mi := &file_base_proto_msgTypes[2]
  119. if protoimpl.UnsafeEnabled && x != nil {
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. if ms.LoadMessageInfo() == nil {
  122. ms.StoreMessageInfo(mi)
  123. }
  124. return ms
  125. }
  126. return mi.MessageOf(x)
  127. }
  128. // Deprecated: Use MediaID.ProtoReflect.Descriptor instead.
  129. func (*MediaID) Descriptor() ([]byte, []int) {
  130. return file_base_proto_rawDescGZIP(), []int{2}
  131. }
  132. func (x *MediaID) GetMediaId() string {
  133. if x != nil {
  134. return x.MediaId
  135. }
  136. return ""
  137. }
  138. type MaterialLink struct {
  139. state protoimpl.MessageState
  140. sizeCache protoimpl.SizeCache
  141. unknownFields protoimpl.UnknownFields
  142. Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
  143. }
  144. func (x *MaterialLink) Reset() {
  145. *x = MaterialLink{}
  146. if protoimpl.UnsafeEnabled {
  147. mi := &file_base_proto_msgTypes[3]
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. ms.StoreMessageInfo(mi)
  150. }
  151. }
  152. func (x *MaterialLink) String() string {
  153. return protoimpl.X.MessageStringOf(x)
  154. }
  155. func (*MaterialLink) ProtoMessage() {}
  156. func (x *MaterialLink) ProtoReflect() protoreflect.Message {
  157. mi := &file_base_proto_msgTypes[3]
  158. if protoimpl.UnsafeEnabled && x != nil {
  159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  160. if ms.LoadMessageInfo() == nil {
  161. ms.StoreMessageInfo(mi)
  162. }
  163. return ms
  164. }
  165. return mi.MessageOf(x)
  166. }
  167. // Deprecated: Use MaterialLink.ProtoReflect.Descriptor instead.
  168. func (*MaterialLink) Descriptor() ([]byte, []int) {
  169. return file_base_proto_rawDescGZIP(), []int{3}
  170. }
  171. func (x *MaterialLink) GetLink() string {
  172. if x != nil {
  173. return x.Link
  174. }
  175. return ""
  176. }
  177. type RandomNicknameReply struct {
  178. state protoimpl.MessageState
  179. sizeCache protoimpl.SizeCache
  180. unknownFields protoimpl.UnknownFields
  181. Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname"`
  182. }
  183. func (x *RandomNicknameReply) Reset() {
  184. *x = RandomNicknameReply{}
  185. if protoimpl.UnsafeEnabled {
  186. mi := &file_base_proto_msgTypes[4]
  187. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  188. ms.StoreMessageInfo(mi)
  189. }
  190. }
  191. func (x *RandomNicknameReply) String() string {
  192. return protoimpl.X.MessageStringOf(x)
  193. }
  194. func (*RandomNicknameReply) ProtoMessage() {}
  195. func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
  196. mi := &file_base_proto_msgTypes[4]
  197. if protoimpl.UnsafeEnabled && x != nil {
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. if ms.LoadMessageInfo() == nil {
  200. ms.StoreMessageInfo(mi)
  201. }
  202. return ms
  203. }
  204. return mi.MessageOf(x)
  205. }
  206. // Deprecated: Use RandomNicknameReply.ProtoReflect.Descriptor instead.
  207. func (*RandomNicknameReply) Descriptor() ([]byte, []int) {
  208. return file_base_proto_rawDescGZIP(), []int{4}
  209. }
  210. func (x *RandomNicknameReply) GetNickname() string {
  211. if x != nil {
  212. return x.Nickname
  213. }
  214. return ""
  215. }
  216. type RandomAvatarReply struct {
  217. state protoimpl.MessageState
  218. sizeCache protoimpl.SizeCache
  219. unknownFields protoimpl.UnknownFields
  220. AvatarUrl string `protobuf:"bytes,1,opt,name=avatarUrl,proto3" json:"avatarUrl"`
  221. }
  222. func (x *RandomAvatarReply) Reset() {
  223. *x = RandomAvatarReply{}
  224. if protoimpl.UnsafeEnabled {
  225. mi := &file_base_proto_msgTypes[5]
  226. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  227. ms.StoreMessageInfo(mi)
  228. }
  229. }
  230. func (x *RandomAvatarReply) String() string {
  231. return protoimpl.X.MessageStringOf(x)
  232. }
  233. func (*RandomAvatarReply) ProtoMessage() {}
  234. func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
  235. mi := &file_base_proto_msgTypes[5]
  236. if protoimpl.UnsafeEnabled && x != nil {
  237. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  238. if ms.LoadMessageInfo() == nil {
  239. ms.StoreMessageInfo(mi)
  240. }
  241. return ms
  242. }
  243. return mi.MessageOf(x)
  244. }
  245. // Deprecated: Use RandomAvatarReply.ProtoReflect.Descriptor instead.
  246. func (*RandomAvatarReply) Descriptor() ([]byte, []int) {
  247. return file_base_proto_rawDescGZIP(), []int{5}
  248. }
  249. func (x *RandomAvatarReply) GetAvatarUrl() string {
  250. if x != nil {
  251. return x.AvatarUrl
  252. }
  253. return ""
  254. }
  255. type RandomAvatarListReply struct {
  256. state protoimpl.MessageState
  257. sizeCache protoimpl.SizeCache
  258. unknownFields protoimpl.UnknownFields
  259. List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  260. }
  261. func (x *RandomAvatarListReply) Reset() {
  262. *x = RandomAvatarListReply{}
  263. if protoimpl.UnsafeEnabled {
  264. mi := &file_base_proto_msgTypes[6]
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. ms.StoreMessageInfo(mi)
  267. }
  268. }
  269. func (x *RandomAvatarListReply) String() string {
  270. return protoimpl.X.MessageStringOf(x)
  271. }
  272. func (*RandomAvatarListReply) ProtoMessage() {}
  273. func (x *RandomAvatarListReply) ProtoReflect() protoreflect.Message {
  274. mi := &file_base_proto_msgTypes[6]
  275. if protoimpl.UnsafeEnabled && x != nil {
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. if ms.LoadMessageInfo() == nil {
  278. ms.StoreMessageInfo(mi)
  279. }
  280. return ms
  281. }
  282. return mi.MessageOf(x)
  283. }
  284. // Deprecated: Use RandomAvatarListReply.ProtoReflect.Descriptor instead.
  285. func (*RandomAvatarListReply) Descriptor() ([]byte, []int) {
  286. return file_base_proto_rawDescGZIP(), []int{6}
  287. }
  288. func (x *RandomAvatarListReply) GetList() []string {
  289. if x != nil {
  290. return x.List
  291. }
  292. return make([]string, 0)
  293. }
  294. var File_base_proto protoreflect.FileDescriptor
  295. var file_base_proto_rawDesc = []byte{
  296. 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  297. 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  298. 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
  299. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  300. 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a,
  301. 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  302. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  303. 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x28, 0x0a, 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65,
  304. 0x78, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61, 0x73,
  305. 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x22,
  306. 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
  307. 0x64, 0x69, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x64,
  308. 0x69, 0x61, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
  309. 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01,
  310. 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x31, 0x0a, 0x13, 0x52, 0x61, 0x6e, 0x64,
  311. 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
  312. 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  313. 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x11, 0x52,
  314. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79,
  315. 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20,
  316. 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x2b,
  317. 0x0a, 0x15, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69,
  318. 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
  319. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x32, 0xbc, 0x06, 0x0a, 0x04,
  320. 0x42, 0x61, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69,
  321. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
  322. 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x61, 0x70, 0x69,
  323. 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b,
  324. 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  325. 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72,
  326. 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01,
  327. 0x2a, 0x12, 0x65, 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61,
  328. 0x72, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53,
  329. 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65,
  330. 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70,
  331. 0x6c, 0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69,
  332. 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x61,
  333. 0x76, 0x61, 0x74, 0x61, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64,
  334. 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70,
  335. 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a,
  336. 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e,
  337. 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c,
  338. 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  339. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x69, 0x6e,
  340. 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x49, 0x0a, 0x10, 0x52, 0x61,
  341. 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12,
  342. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52,
  343. 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x52, 0x61,
  344. 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  345. 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67,
  346. 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x53, 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  347. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e,
  348. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69,
  349. 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x54,
  350. 0x61, 0x67, 0x73, 0x42, 0x79, 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  351. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  352. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  353. 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x6d, 0x65, 0x42,
  354. 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  355. 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
  356. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x65,
  357. 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68,
  358. 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  359. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70,
  360. 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  361. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63,
  362. 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
  363. 0x4d, 0x65, 0x6d, 0x65, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  364. 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x1a, 0x1a, 0x2e, 0x61, 0x70,
  365. 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54,
  366. 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x52, 0x61, 0x6e,
  367. 0x64, 0x6f, 0x6d, 0x53, 0x77, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
  368. 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e,
  369. 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x78, 0x1a, 0x1a, 0x2e, 0x61,
  370. 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  371. 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70,
  372. 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b,
  373. 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f,
  374. 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  375. 0x62, 0x61, 0x73, 0x65, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  376. 0x33,
  377. }
  378. var (
  379. file_base_proto_rawDescOnce sync.Once
  380. file_base_proto_rawDescData = file_base_proto_rawDesc
  381. )
  382. func file_base_proto_rawDescGZIP() []byte {
  383. file_base_proto_rawDescOnce.Do(func() {
  384. file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
  385. })
  386. return file_base_proto_rawDescData
  387. }
  388. var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  389. var file_base_proto_goTypes = []interface{}{
  390. (*CheckTextRequest)(nil), // 0: api.base.CheckTextRequest
  391. (*CheckTextReply)(nil), // 1: api.base.CheckTextReply
  392. (*MediaID)(nil), // 2: api.base.MediaID
  393. (*MaterialLink)(nil), // 3: api.base.MaterialLink
  394. (*RandomNicknameReply)(nil), // 4: api.base.RandomNicknameReply
  395. (*RandomAvatarReply)(nil), // 5: api.base.RandomAvatarReply
  396. (*RandomAvatarListReply)(nil), // 6: api.base.RandomAvatarListReply
  397. (*common.SexReq)(nil), // 7: api.common.SexReq
  398. (*common.Ids)(nil), // 8: api.common.Ids
  399. (*common.MemeRequest)(nil), // 9: api.common.MemeRequest
  400. (*common.FindChatTopicRequest)(nil), // 10: api.common.FindChatTopicRequest
  401. (*common.RandomNum)(nil), // 11: api.common.RandomNum
  402. (*common.RandomNumAndSex)(nil), // 12: api.common.RandomNumAndSex
  403. (*common.RandomIntroduceReply)(nil), // 13: api.common.RandomIntroduceReply
  404. (*common.TagListReply)(nil), // 14: api.common.TagListReply
  405. (*common.MemeList)(nil), // 15: api.common.MemeList
  406. (*common.ChatTopicList)(nil), // 16: api.common.ChatTopicList
  407. (*common.CommonTextList)(nil), // 17: api.common.CommonTextList
  408. }
  409. var file_base_proto_depIdxs = []int32{
  410. 7, // 0: api.base.Base.RandomNickname:input_type -> api.common.SexReq
  411. 7, // 1: api.base.Base.RandomAvatar:input_type -> api.common.SexReq
  412. 7, // 2: api.base.Base.RandomIntroduce:input_type -> api.common.SexReq
  413. 7, // 3: api.base.Base.RandomAvatarList:input_type -> api.common.SexReq
  414. 7, // 4: api.base.Base.FindTagListBySex:input_type -> api.common.SexReq
  415. 8, // 5: api.base.Base.FindTagsByIDs:input_type -> api.common.Ids
  416. 9, // 6: api.base.Base.FindMemeByType:input_type -> api.common.MemeRequest
  417. 10, // 7: api.base.Base.FindChatTopic:input_type -> api.common.FindChatTopicRequest
  418. 11, // 8: api.base.Base.RandomMeme:input_type -> api.common.RandomNum
  419. 12, // 9: api.base.Base.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
  420. 4, // 10: api.base.Base.RandomNickname:output_type -> api.base.RandomNicknameReply
  421. 5, // 11: api.base.Base.RandomAvatar:output_type -> api.base.RandomAvatarReply
  422. 13, // 12: api.base.Base.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
  423. 6, // 13: api.base.Base.RandomAvatarList:output_type -> api.base.RandomAvatarListReply
  424. 14, // 14: api.base.Base.FindTagListBySex:output_type -> api.common.TagListReply
  425. 14, // 15: api.base.Base.FindTagsByIDs:output_type -> api.common.TagListReply
  426. 15, // 16: api.base.Base.FindMemeByType:output_type -> api.common.MemeList
  427. 16, // 17: api.base.Base.FindChatTopic:output_type -> api.common.ChatTopicList
  428. 17, // 18: api.base.Base.RandomMeme:output_type -> api.common.CommonTextList
  429. 17, // 19: api.base.Base.RandomSwiftMessage:output_type -> api.common.CommonTextList
  430. 10, // [10:20] is the sub-list for method output_type
  431. 0, // [0:10] is the sub-list for method input_type
  432. 0, // [0:0] is the sub-list for extension type_name
  433. 0, // [0:0] is the sub-list for extension extendee
  434. 0, // [0:0] is the sub-list for field type_name
  435. }
  436. func init() { file_base_proto_init() }
  437. func file_base_proto_init() {
  438. if File_base_proto != nil {
  439. return
  440. }
  441. if !protoimpl.UnsafeEnabled {
  442. file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  443. switch v := v.(*CheckTextRequest); i {
  444. case 0:
  445. return &v.state
  446. case 1:
  447. return &v.sizeCache
  448. case 2:
  449. return &v.unknownFields
  450. default:
  451. return nil
  452. }
  453. }
  454. file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  455. switch v := v.(*CheckTextReply); i {
  456. case 0:
  457. return &v.state
  458. case 1:
  459. return &v.sizeCache
  460. case 2:
  461. return &v.unknownFields
  462. default:
  463. return nil
  464. }
  465. }
  466. file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  467. switch v := v.(*MediaID); i {
  468. case 0:
  469. return &v.state
  470. case 1:
  471. return &v.sizeCache
  472. case 2:
  473. return &v.unknownFields
  474. default:
  475. return nil
  476. }
  477. }
  478. file_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  479. switch v := v.(*MaterialLink); i {
  480. case 0:
  481. return &v.state
  482. case 1:
  483. return &v.sizeCache
  484. case 2:
  485. return &v.unknownFields
  486. default:
  487. return nil
  488. }
  489. }
  490. file_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  491. switch v := v.(*RandomNicknameReply); i {
  492. case 0:
  493. return &v.state
  494. case 1:
  495. return &v.sizeCache
  496. case 2:
  497. return &v.unknownFields
  498. default:
  499. return nil
  500. }
  501. }
  502. file_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  503. switch v := v.(*RandomAvatarReply); i {
  504. case 0:
  505. return &v.state
  506. case 1:
  507. return &v.sizeCache
  508. case 2:
  509. return &v.unknownFields
  510. default:
  511. return nil
  512. }
  513. }
  514. file_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  515. switch v := v.(*RandomAvatarListReply); i {
  516. case 0:
  517. return &v.state
  518. case 1:
  519. return &v.sizeCache
  520. case 2:
  521. return &v.unknownFields
  522. default:
  523. return nil
  524. }
  525. }
  526. }
  527. type x struct{}
  528. out := protoimpl.TypeBuilder{
  529. File: protoimpl.DescBuilder{
  530. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  531. RawDescriptor: file_base_proto_rawDesc,
  532. NumEnums: 0,
  533. NumMessages: 7,
  534. NumExtensions: 0,
  535. NumServices: 1,
  536. },
  537. GoTypes: file_base_proto_goTypes,
  538. DependencyIndexes: file_base_proto_depIdxs,
  539. MessageInfos: file_base_proto_msgTypes,
  540. }.Build()
  541. File_base_proto = out.File
  542. file_base_proto_rawDesc = nil
  543. file_base_proto_goTypes = nil
  544. file_base_proto_depIdxs = nil
  545. }