base.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.14.0
  5. // source: base.proto
  6. package base
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. // This is a compile-time assertion that a sufficiently up-to-date version
  21. // of the legacy proto package is being used.
  22. const _ = proto.ProtoPackageIsVersion4
  23. type ErrorCode int32
  24. const (
  25. ErrorCode_OK ErrorCode = 0
  26. )
  27. // Enum value maps for ErrorCode.
  28. var (
  29. ErrorCode_name = map[int32]string{
  30. 0: "OK",
  31. }
  32. ErrorCode_value = map[string]int32{
  33. "OK": 0,
  34. }
  35. )
  36. func (x ErrorCode) Enum() *ErrorCode {
  37. p := new(ErrorCode)
  38. *p = x
  39. return p
  40. }
  41. func (x ErrorCode) String() string {
  42. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  43. }
  44. func (ErrorCode) Descriptor() protoreflect.EnumDescriptor {
  45. return file_base_proto_enumTypes[0].Descriptor()
  46. }
  47. func (ErrorCode) Type() protoreflect.EnumType {
  48. return &file_base_proto_enumTypes[0]
  49. }
  50. func (x ErrorCode) Number() protoreflect.EnumNumber {
  51. return protoreflect.EnumNumber(x)
  52. }
  53. // Deprecated: Use ErrorCode.Descriptor instead.
  54. func (ErrorCode) EnumDescriptor() ([]byte, []int) {
  55. return file_base_proto_rawDescGZIP(), []int{0}
  56. }
  57. type DefaultRequest struct {
  58. state protoimpl.MessageState
  59. sizeCache protoimpl.SizeCache
  60. unknownFields protoimpl.UnknownFields
  61. }
  62. func (x *DefaultRequest) Reset() {
  63. *x = DefaultRequest{}
  64. if protoimpl.UnsafeEnabled {
  65. mi := &file_base_proto_msgTypes[0]
  66. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  67. ms.StoreMessageInfo(mi)
  68. }
  69. }
  70. func (x *DefaultRequest) String() string {
  71. return protoimpl.X.MessageStringOf(x)
  72. }
  73. func (*DefaultRequest) ProtoMessage() {}
  74. func (x *DefaultRequest) ProtoReflect() protoreflect.Message {
  75. mi := &file_base_proto_msgTypes[0]
  76. if protoimpl.UnsafeEnabled && x != nil {
  77. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  78. if ms.LoadMessageInfo() == nil {
  79. ms.StoreMessageInfo(mi)
  80. }
  81. return ms
  82. }
  83. return mi.MessageOf(x)
  84. }
  85. // Deprecated: Use DefaultRequest.ProtoReflect.Descriptor instead.
  86. func (*DefaultRequest) Descriptor() ([]byte, []int) {
  87. return file_base_proto_rawDescGZIP(), []int{0}
  88. }
  89. type DefaultReply struct {
  90. state protoimpl.MessageState
  91. sizeCache protoimpl.SizeCache
  92. unknownFields protoimpl.UnknownFields
  93. }
  94. func (x *DefaultReply) Reset() {
  95. *x = DefaultReply{}
  96. if protoimpl.UnsafeEnabled {
  97. mi := &file_base_proto_msgTypes[1]
  98. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  99. ms.StoreMessageInfo(mi)
  100. }
  101. }
  102. func (x *DefaultReply) String() string {
  103. return protoimpl.X.MessageStringOf(x)
  104. }
  105. func (*DefaultReply) ProtoMessage() {}
  106. func (x *DefaultReply) ProtoReflect() protoreflect.Message {
  107. mi := &file_base_proto_msgTypes[1]
  108. if protoimpl.UnsafeEnabled && x != nil {
  109. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  110. if ms.LoadMessageInfo() == nil {
  111. ms.StoreMessageInfo(mi)
  112. }
  113. return ms
  114. }
  115. return mi.MessageOf(x)
  116. }
  117. // Deprecated: Use DefaultReply.ProtoReflect.Descriptor instead.
  118. func (*DefaultReply) Descriptor() ([]byte, []int) {
  119. return file_base_proto_rawDescGZIP(), []int{1}
  120. }
  121. type SignUpRequest struct {
  122. state protoimpl.MessageState
  123. sizeCache protoimpl.SizeCache
  124. unknownFields protoimpl.UnknownFields
  125. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  126. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  127. }
  128. func (x *SignUpRequest) Reset() {
  129. *x = SignUpRequest{}
  130. if protoimpl.UnsafeEnabled {
  131. mi := &file_base_proto_msgTypes[2]
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. ms.StoreMessageInfo(mi)
  134. }
  135. }
  136. func (x *SignUpRequest) String() string {
  137. return protoimpl.X.MessageStringOf(x)
  138. }
  139. func (*SignUpRequest) ProtoMessage() {}
  140. func (x *SignUpRequest) ProtoReflect() protoreflect.Message {
  141. mi := &file_base_proto_msgTypes[2]
  142. if protoimpl.UnsafeEnabled && x != nil {
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. if ms.LoadMessageInfo() == nil {
  145. ms.StoreMessageInfo(mi)
  146. }
  147. return ms
  148. }
  149. return mi.MessageOf(x)
  150. }
  151. // Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
  152. func (*SignUpRequest) Descriptor() ([]byte, []int) {
  153. return file_base_proto_rawDescGZIP(), []int{2}
  154. }
  155. func (x *SignUpRequest) GetName() string {
  156. if x != nil {
  157. return x.Name
  158. }
  159. return ""
  160. }
  161. func (x *SignUpRequest) GetPassword() string {
  162. if x != nil {
  163. return x.Password
  164. }
  165. return ""
  166. }
  167. type SignInReply struct {
  168. state protoimpl.MessageState
  169. sizeCache protoimpl.SizeCache
  170. unknownFields protoimpl.UnknownFields
  171. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  172. }
  173. func (x *SignInReply) Reset() {
  174. *x = SignInReply{}
  175. if protoimpl.UnsafeEnabled {
  176. mi := &file_base_proto_msgTypes[3]
  177. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  178. ms.StoreMessageInfo(mi)
  179. }
  180. }
  181. func (x *SignInReply) String() string {
  182. return protoimpl.X.MessageStringOf(x)
  183. }
  184. func (*SignInReply) ProtoMessage() {}
  185. func (x *SignInReply) ProtoReflect() protoreflect.Message {
  186. mi := &file_base_proto_msgTypes[3]
  187. if protoimpl.UnsafeEnabled && x != nil {
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. if ms.LoadMessageInfo() == nil {
  190. ms.StoreMessageInfo(mi)
  191. }
  192. return ms
  193. }
  194. return mi.MessageOf(x)
  195. }
  196. // Deprecated: Use SignInReply.ProtoReflect.Descriptor instead.
  197. func (*SignInReply) Descriptor() ([]byte, []int) {
  198. return file_base_proto_rawDescGZIP(), []int{3}
  199. }
  200. func (x *SignInReply) GetToken() string {
  201. if x != nil {
  202. return x.Token
  203. }
  204. return ""
  205. }
  206. type SignInRequest struct {
  207. state protoimpl.MessageState
  208. sizeCache protoimpl.SizeCache
  209. unknownFields protoimpl.UnknownFields
  210. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
  211. Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
  212. CodeID string `protobuf:"bytes,3,opt,name=CodeID,proto3" json:"CodeID,omitempty"`
  213. VerifyCode string `protobuf:"bytes,4,opt,name=VerifyCode,proto3" json:"VerifyCode,omitempty"`
  214. }
  215. func (x *SignInRequest) Reset() {
  216. *x = SignInRequest{}
  217. if protoimpl.UnsafeEnabled {
  218. mi := &file_base_proto_msgTypes[4]
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. ms.StoreMessageInfo(mi)
  221. }
  222. }
  223. func (x *SignInRequest) String() string {
  224. return protoimpl.X.MessageStringOf(x)
  225. }
  226. func (*SignInRequest) ProtoMessage() {}
  227. func (x *SignInRequest) ProtoReflect() protoreflect.Message {
  228. mi := &file_base_proto_msgTypes[4]
  229. if protoimpl.UnsafeEnabled && x != nil {
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. if ms.LoadMessageInfo() == nil {
  232. ms.StoreMessageInfo(mi)
  233. }
  234. return ms
  235. }
  236. return mi.MessageOf(x)
  237. }
  238. // Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
  239. func (*SignInRequest) Descriptor() ([]byte, []int) {
  240. return file_base_proto_rawDescGZIP(), []int{4}
  241. }
  242. func (x *SignInRequest) GetName() string {
  243. if x != nil {
  244. return x.Name
  245. }
  246. return ""
  247. }
  248. func (x *SignInRequest) GetPassword() string {
  249. if x != nil {
  250. return x.Password
  251. }
  252. return ""
  253. }
  254. func (x *SignInRequest) GetCodeID() string {
  255. if x != nil {
  256. return x.CodeID
  257. }
  258. return ""
  259. }
  260. func (x *SignInRequest) GetVerifyCode() string {
  261. if x != nil {
  262. return x.VerifyCode
  263. }
  264. return ""
  265. }
  266. type GenVerifyImageRequest struct {
  267. state protoimpl.MessageState
  268. sizeCache protoimpl.SizeCache
  269. unknownFields protoimpl.UnknownFields
  270. Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  271. Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
  272. }
  273. func (x *GenVerifyImageRequest) Reset() {
  274. *x = GenVerifyImageRequest{}
  275. if protoimpl.UnsafeEnabled {
  276. mi := &file_base_proto_msgTypes[5]
  277. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  278. ms.StoreMessageInfo(mi)
  279. }
  280. }
  281. func (x *GenVerifyImageRequest) String() string {
  282. return protoimpl.X.MessageStringOf(x)
  283. }
  284. func (*GenVerifyImageRequest) ProtoMessage() {}
  285. func (x *GenVerifyImageRequest) ProtoReflect() protoreflect.Message {
  286. mi := &file_base_proto_msgTypes[5]
  287. if protoimpl.UnsafeEnabled && x != nil {
  288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  289. if ms.LoadMessageInfo() == nil {
  290. ms.StoreMessageInfo(mi)
  291. }
  292. return ms
  293. }
  294. return mi.MessageOf(x)
  295. }
  296. // Deprecated: Use GenVerifyImageRequest.ProtoReflect.Descriptor instead.
  297. func (*GenVerifyImageRequest) Descriptor() ([]byte, []int) {
  298. return file_base_proto_rawDescGZIP(), []int{5}
  299. }
  300. func (x *GenVerifyImageRequest) GetHeight() int32 {
  301. if x != nil {
  302. return x.Height
  303. }
  304. return 0
  305. }
  306. func (x *GenVerifyImageRequest) GetWidth() int32 {
  307. if x != nil {
  308. return x.Width
  309. }
  310. return 0
  311. }
  312. type GenVerifyImageReply struct {
  313. state protoimpl.MessageState
  314. sizeCache protoimpl.SizeCache
  315. unknownFields protoimpl.UnknownFields
  316. CodeId string `protobuf:"bytes,1,opt,name=codeId,proto3" json:"codeId,omitempty"`
  317. ImageBase64 string `protobuf:"bytes,2,opt,name=imageBase64,proto3" json:"imageBase64,omitempty"`
  318. }
  319. func (x *GenVerifyImageReply) Reset() {
  320. *x = GenVerifyImageReply{}
  321. if protoimpl.UnsafeEnabled {
  322. mi := &file_base_proto_msgTypes[6]
  323. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  324. ms.StoreMessageInfo(mi)
  325. }
  326. }
  327. func (x *GenVerifyImageReply) String() string {
  328. return protoimpl.X.MessageStringOf(x)
  329. }
  330. func (*GenVerifyImageReply) ProtoMessage() {}
  331. func (x *GenVerifyImageReply) ProtoReflect() protoreflect.Message {
  332. mi := &file_base_proto_msgTypes[6]
  333. if protoimpl.UnsafeEnabled && x != nil {
  334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  335. if ms.LoadMessageInfo() == nil {
  336. ms.StoreMessageInfo(mi)
  337. }
  338. return ms
  339. }
  340. return mi.MessageOf(x)
  341. }
  342. // Deprecated: Use GenVerifyImageReply.ProtoReflect.Descriptor instead.
  343. func (*GenVerifyImageReply) Descriptor() ([]byte, []int) {
  344. return file_base_proto_rawDescGZIP(), []int{6}
  345. }
  346. func (x *GenVerifyImageReply) GetCodeId() string {
  347. if x != nil {
  348. return x.CodeId
  349. }
  350. return ""
  351. }
  352. func (x *GenVerifyImageReply) GetImageBase64() string {
  353. if x != nil {
  354. return x.ImageBase64
  355. }
  356. return ""
  357. }
  358. var File_base_proto protoreflect.FileDescriptor
  359. var file_base_proto_rawDesc = []byte{
  360. 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x62, 0x61,
  361. 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71,
  362. 0x75, 0x65, 0x73, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52,
  363. 0x65, 0x70, 0x6c, 0x79, 0x22, 0x3f, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65,
  364. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  365. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73,
  366. 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73,
  367. 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x23, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52,
  368. 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
  369. 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x77, 0x0a, 0x0d, 0x53, 0x69,
  370. 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4e,
  371. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  372. 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  373. 0x09, 0x52, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43,
  374. 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x6f, 0x64,
  375. 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64,
  376. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43,
  377. 0x6f, 0x64, 0x65, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
  378. 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
  379. 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65,
  380. 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20,
  381. 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65,
  382. 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6c,
  383. 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  384. 0x09, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6d, 0x61,
  385. 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  386. 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x2a, 0x13, 0x0a, 0x09, 0x45,
  387. 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00,
  388. 0x32, 0xf1, 0x01, 0x0a, 0x03, 0x41, 0x70, 0x69, 0x12, 0x33, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e,
  389. 0x55, 0x70, 0x12, 0x13, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70,
  390. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44,
  391. 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x32, 0x0a,
  392. 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x13, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x53,
  393. 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62,
  394. 0x61, 0x73, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
  395. 0x00, 0x12, 0x35, 0x0a, 0x07, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x12, 0x14, 0x2e, 0x62,
  396. 0x61, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  397. 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
  398. 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x56,
  399. 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x62, 0x61, 0x73,
  400. 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65,
  401. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x47,
  402. 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70,
  403. 0x6c, 0x79, 0x22, 0x00, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x62, 0x06,
  404. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  405. }
  406. var (
  407. file_base_proto_rawDescOnce sync.Once
  408. file_base_proto_rawDescData = file_base_proto_rawDesc
  409. )
  410. func file_base_proto_rawDescGZIP() []byte {
  411. file_base_proto_rawDescOnce.Do(func() {
  412. file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
  413. })
  414. return file_base_proto_rawDescData
  415. }
  416. var file_base_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  417. var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  418. var file_base_proto_goTypes = []interface{}{
  419. (ErrorCode)(0), // 0: base.ErrorCode
  420. (*DefaultRequest)(nil), // 1: base.DefaultRequest
  421. (*DefaultReply)(nil), // 2: base.DefaultReply
  422. (*SignUpRequest)(nil), // 3: base.SignUpRequest
  423. (*SignInReply)(nil), // 4: base.SignInReply
  424. (*SignInRequest)(nil), // 5: base.SignInRequest
  425. (*GenVerifyImageRequest)(nil), // 6: base.GenVerifyImageRequest
  426. (*GenVerifyImageReply)(nil), // 7: base.GenVerifyImageReply
  427. }
  428. var file_base_proto_depIdxs = []int32{
  429. 3, // 0: base.Api.SignUp:input_type -> base.SignUpRequest
  430. 5, // 1: base.Api.SignIn:input_type -> base.SignInRequest
  431. 1, // 2: base.Api.SignOut:input_type -> base.DefaultRequest
  432. 6, // 3: base.Api.GenVerifyImage:input_type -> base.GenVerifyImageRequest
  433. 2, // 4: base.Api.SignUp:output_type -> base.DefaultReply
  434. 4, // 5: base.Api.SignIn:output_type -> base.SignInReply
  435. 2, // 6: base.Api.SignOut:output_type -> base.DefaultReply
  436. 7, // 7: base.Api.GenVerifyImage:output_type -> base.GenVerifyImageReply
  437. 4, // [4:8] is the sub-list for method output_type
  438. 0, // [0:4] is the sub-list for method input_type
  439. 0, // [0:0] is the sub-list for extension type_name
  440. 0, // [0:0] is the sub-list for extension extendee
  441. 0, // [0:0] is the sub-list for field type_name
  442. }
  443. func init() { file_base_proto_init() }
  444. func file_base_proto_init() {
  445. if File_base_proto != nil {
  446. return
  447. }
  448. if !protoimpl.UnsafeEnabled {
  449. file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  450. switch v := v.(*DefaultRequest); i {
  451. case 0:
  452. return &v.state
  453. case 1:
  454. return &v.sizeCache
  455. case 2:
  456. return &v.unknownFields
  457. default:
  458. return nil
  459. }
  460. }
  461. file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  462. switch v := v.(*DefaultReply); i {
  463. case 0:
  464. return &v.state
  465. case 1:
  466. return &v.sizeCache
  467. case 2:
  468. return &v.unknownFields
  469. default:
  470. return nil
  471. }
  472. }
  473. file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  474. switch v := v.(*SignUpRequest); i {
  475. case 0:
  476. return &v.state
  477. case 1:
  478. return &v.sizeCache
  479. case 2:
  480. return &v.unknownFields
  481. default:
  482. return nil
  483. }
  484. }
  485. file_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  486. switch v := v.(*SignInReply); i {
  487. case 0:
  488. return &v.state
  489. case 1:
  490. return &v.sizeCache
  491. case 2:
  492. return &v.unknownFields
  493. default:
  494. return nil
  495. }
  496. }
  497. file_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  498. switch v := v.(*SignInRequest); i {
  499. case 0:
  500. return &v.state
  501. case 1:
  502. return &v.sizeCache
  503. case 2:
  504. return &v.unknownFields
  505. default:
  506. return nil
  507. }
  508. }
  509. file_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  510. switch v := v.(*GenVerifyImageRequest); i {
  511. case 0:
  512. return &v.state
  513. case 1:
  514. return &v.sizeCache
  515. case 2:
  516. return &v.unknownFields
  517. default:
  518. return nil
  519. }
  520. }
  521. file_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  522. switch v := v.(*GenVerifyImageReply); i {
  523. case 0:
  524. return &v.state
  525. case 1:
  526. return &v.sizeCache
  527. case 2:
  528. return &v.unknownFields
  529. default:
  530. return nil
  531. }
  532. }
  533. }
  534. type x struct{}
  535. out := protoimpl.TypeBuilder{
  536. File: protoimpl.DescBuilder{
  537. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  538. RawDescriptor: file_base_proto_rawDesc,
  539. NumEnums: 1,
  540. NumMessages: 7,
  541. NumExtensions: 0,
  542. NumServices: 1,
  543. },
  544. GoTypes: file_base_proto_goTypes,
  545. DependencyIndexes: file_base_proto_depIdxs,
  546. EnumInfos: file_base_proto_enumTypes,
  547. MessageInfos: file_base_proto_msgTypes,
  548. }.Build()
  549. File_base_proto = out.File
  550. file_base_proto_rawDesc = nil
  551. file_base_proto_goTypes = nil
  552. file_base_proto_depIdxs = nil
  553. }