basics.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  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: basics.proto
  6. package basics
  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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_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_basics_proto protoreflect.FileDescriptor
  295. var file_basics_proto_rawDesc = []byte{
  296. 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
  297. 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
  298. 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
  299. 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
  300. 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  301. 0x6f, 0x22, 0x26, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65,
  302. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20,
  303. 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x28, 0x0a, 0x0e, 0x43, 0x68, 0x65,
  304. 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69,
  305. 0x73, 0x50, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50,
  306. 0x61, 0x73, 0x73, 0x22, 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x12, 0x18,
  307. 0x0a, 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  308. 0x07, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65,
  309. 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b,
  310. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x31, 0x0a, 0x13,
  311. 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65,
  312. 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  313. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  314. 0x31, 0x0a, 0x11, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52,
  315. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72,
  316. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
  317. 0x72, 0x6c, 0x22, 0x2b, 0x0a, 0x15, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74,
  318. 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c,
  319. 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x32,
  320. 0xc4, 0x06, 0x0a, 0x06, 0x42, 0x61, 0x73, 0x69, 0x63, 0x73, 0x12, 0x6d, 0x0a, 0x0e, 0x52, 0x61,
  321. 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x2e, 0x61,
  322. 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71,
  323. 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x61,
  324. 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c,
  325. 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  326. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6e, 0x69,
  327. 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x67, 0x0a, 0x0c, 0x52, 0x61, 0x6e,
  328. 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  329. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e,
  330. 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f,
  331. 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x24, 0x82, 0xd3,
  332. 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  333. 0x6e, 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x3a,
  334. 0x01, 0x2a, 0x12, 0x70, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74, 0x72,
  335. 0x6f, 0x64, 0x75, 0x63, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  336. 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  337. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x49, 0x6e, 0x74,
  338. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x27, 0x82, 0xd3, 0xe4,
  339. 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  340. 0x2f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  341. 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x4b, 0x0a, 0x10, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76,
  342. 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  343. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x21, 0x2e, 0x61,
  344. 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
  345. 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
  346. 0x00, 0x12, 0x40, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74,
  347. 0x42, 0x79, 0x53, 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  348. 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  349. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  350. 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x73, 0x42,
  351. 0x79, 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  352. 0x6e, 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  353. 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
  354. 0x41, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x6d, 0x65, 0x42, 0x79, 0x54, 0x79, 0x70,
  355. 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d,
  356. 0x65, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69,
  357. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74,
  358. 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f,
  359. 0x70, 0x69, 0x63, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  360. 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65,
  361. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  362. 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x69, 0x73, 0x74,
  363. 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d, 0x65, 0x6d, 0x65,
  364. 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61,
  365. 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  366. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x4c,
  367. 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x53,
  368. 0x77, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x61, 0x70,
  369. 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e,
  370. 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x78, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
  371. 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74,
  372. 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61,
  373. 0x73, 0x69, 0x63, 0x73, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62,
  374. 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77,
  375. 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61,
  376. 0x73, 0x69, 0x63, 0x73, 0x3b, 0x62, 0x61, 0x73, 0x69, 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
  377. 0x74, 0x6f, 0x33,
  378. }
  379. var (
  380. file_basics_proto_rawDescOnce sync.Once
  381. file_basics_proto_rawDescData = file_basics_proto_rawDesc
  382. )
  383. func file_basics_proto_rawDescGZIP() []byte {
  384. file_basics_proto_rawDescOnce.Do(func() {
  385. file_basics_proto_rawDescData = protoimpl.X.CompressGZIP(file_basics_proto_rawDescData)
  386. })
  387. return file_basics_proto_rawDescData
  388. }
  389. var file_basics_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  390. var file_basics_proto_goTypes = []interface{}{
  391. (*CheckTextRequest)(nil), // 0: api.basics.CheckTextRequest
  392. (*CheckTextReply)(nil), // 1: api.basics.CheckTextReply
  393. (*MediaID)(nil), // 2: api.basics.MediaID
  394. (*MaterialLink)(nil), // 3: api.basics.MaterialLink
  395. (*RandomNicknameReply)(nil), // 4: api.basics.RandomNicknameReply
  396. (*RandomAvatarReply)(nil), // 5: api.basics.RandomAvatarReply
  397. (*RandomAvatarListReply)(nil), // 6: api.basics.RandomAvatarListReply
  398. (*common.SexReq)(nil), // 7: api.common.SexReq
  399. (*common.Ids)(nil), // 8: api.common.Ids
  400. (*common.MemeRequest)(nil), // 9: api.common.MemeRequest
  401. (*common.FindChatTopicRequest)(nil), // 10: api.common.FindChatTopicRequest
  402. (*common.RandomNum)(nil), // 11: api.common.RandomNum
  403. (*common.RandomNumAndSex)(nil), // 12: api.common.RandomNumAndSex
  404. (*common.RandomIntroduceReply)(nil), // 13: api.common.RandomIntroduceReply
  405. (*common.TagListReply)(nil), // 14: api.common.TagListReply
  406. (*common.MemeList)(nil), // 15: api.common.MemeList
  407. (*common.ChatTopicList)(nil), // 16: api.common.ChatTopicList
  408. (*common.CommonTextList)(nil), // 17: api.common.CommonTextList
  409. }
  410. var file_basics_proto_depIdxs = []int32{
  411. 7, // 0: api.basics.Basics.RandomNickname:input_type -> api.common.SexReq
  412. 7, // 1: api.basics.Basics.RandomAvatar:input_type -> api.common.SexReq
  413. 7, // 2: api.basics.Basics.RandomIntroduce:input_type -> api.common.SexReq
  414. 7, // 3: api.basics.Basics.RandomAvatarList:input_type -> api.common.SexReq
  415. 7, // 4: api.basics.Basics.FindTagListBySex:input_type -> api.common.SexReq
  416. 8, // 5: api.basics.Basics.FindTagsByIDs:input_type -> api.common.Ids
  417. 9, // 6: api.basics.Basics.FindMemeByType:input_type -> api.common.MemeRequest
  418. 10, // 7: api.basics.Basics.FindChatTopic:input_type -> api.common.FindChatTopicRequest
  419. 11, // 8: api.basics.Basics.RandomMeme:input_type -> api.common.RandomNum
  420. 12, // 9: api.basics.Basics.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
  421. 4, // 10: api.basics.Basics.RandomNickname:output_type -> api.basics.RandomNicknameReply
  422. 5, // 11: api.basics.Basics.RandomAvatar:output_type -> api.basics.RandomAvatarReply
  423. 13, // 12: api.basics.Basics.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
  424. 6, // 13: api.basics.Basics.RandomAvatarList:output_type -> api.basics.RandomAvatarListReply
  425. 14, // 14: api.basics.Basics.FindTagListBySex:output_type -> api.common.TagListReply
  426. 14, // 15: api.basics.Basics.FindTagsByIDs:output_type -> api.common.TagListReply
  427. 15, // 16: api.basics.Basics.FindMemeByType:output_type -> api.common.MemeList
  428. 16, // 17: api.basics.Basics.FindChatTopic:output_type -> api.common.ChatTopicList
  429. 17, // 18: api.basics.Basics.RandomMeme:output_type -> api.common.CommonTextList
  430. 17, // 19: api.basics.Basics.RandomSwiftMessage:output_type -> api.common.CommonTextList
  431. 10, // [10:20] is the sub-list for method output_type
  432. 0, // [0:10] is the sub-list for method input_type
  433. 0, // [0:0] is the sub-list for extension type_name
  434. 0, // [0:0] is the sub-list for extension extendee
  435. 0, // [0:0] is the sub-list for field type_name
  436. }
  437. func init() { file_basics_proto_init() }
  438. func file_basics_proto_init() {
  439. if File_basics_proto != nil {
  440. return
  441. }
  442. if !protoimpl.UnsafeEnabled {
  443. file_basics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  444. switch v := v.(*CheckTextRequest); i {
  445. case 0:
  446. return &v.state
  447. case 1:
  448. return &v.sizeCache
  449. case 2:
  450. return &v.unknownFields
  451. default:
  452. return nil
  453. }
  454. }
  455. file_basics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  456. switch v := v.(*CheckTextReply); i {
  457. case 0:
  458. return &v.state
  459. case 1:
  460. return &v.sizeCache
  461. case 2:
  462. return &v.unknownFields
  463. default:
  464. return nil
  465. }
  466. }
  467. file_basics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  468. switch v := v.(*MediaID); i {
  469. case 0:
  470. return &v.state
  471. case 1:
  472. return &v.sizeCache
  473. case 2:
  474. return &v.unknownFields
  475. default:
  476. return nil
  477. }
  478. }
  479. file_basics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  480. switch v := v.(*MaterialLink); i {
  481. case 0:
  482. return &v.state
  483. case 1:
  484. return &v.sizeCache
  485. case 2:
  486. return &v.unknownFields
  487. default:
  488. return nil
  489. }
  490. }
  491. file_basics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  492. switch v := v.(*RandomNicknameReply); i {
  493. case 0:
  494. return &v.state
  495. case 1:
  496. return &v.sizeCache
  497. case 2:
  498. return &v.unknownFields
  499. default:
  500. return nil
  501. }
  502. }
  503. file_basics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  504. switch v := v.(*RandomAvatarReply); i {
  505. case 0:
  506. return &v.state
  507. case 1:
  508. return &v.sizeCache
  509. case 2:
  510. return &v.unknownFields
  511. default:
  512. return nil
  513. }
  514. }
  515. file_basics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  516. switch v := v.(*RandomAvatarListReply); i {
  517. case 0:
  518. return &v.state
  519. case 1:
  520. return &v.sizeCache
  521. case 2:
  522. return &v.unknownFields
  523. default:
  524. return nil
  525. }
  526. }
  527. }
  528. type x struct{}
  529. out := protoimpl.TypeBuilder{
  530. File: protoimpl.DescBuilder{
  531. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  532. RawDescriptor: file_basics_proto_rawDesc,
  533. NumEnums: 0,
  534. NumMessages: 7,
  535. NumExtensions: 0,
  536. NumServices: 1,
  537. },
  538. GoTypes: file_basics_proto_goTypes,
  539. DependencyIndexes: file_basics_proto_depIdxs,
  540. MessageInfos: file_basics_proto_msgTypes,
  541. }.Build()
  542. File_basics_proto = out.File
  543. file_basics_proto_rawDesc = nil
  544. file_basics_proto_goTypes = nil
  545. file_basics_proto_depIdxs = nil
  546. }