check.pb.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0-devel
  4. // protoc v4.22.3
  5. // source: check.proto
  6. package check
  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. emptypb "google.golang.org/protobuf/types/known/emptypb"
  13. reflect "reflect"
  14. sync "sync"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type CheckTextHttpRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content"` // 内容 (文本)
  27. }
  28. func (x *CheckTextHttpRequest) Reset() {
  29. *x = CheckTextHttpRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_check_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *CheckTextHttpRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*CheckTextHttpRequest) ProtoMessage() {}
  40. func (x *CheckTextHttpRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_check_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use CheckTextHttpRequest.ProtoReflect.Descriptor instead.
  52. func (*CheckTextHttpRequest) Descriptor() ([]byte, []int) {
  53. return file_check_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *CheckTextHttpRequest) GetContent() string {
  56. if x != nil {
  57. return x.Content
  58. }
  59. return ""
  60. }
  61. type CheckRequest struct {
  62. state protoimpl.MessageState
  63. sizeCache protoimpl.SizeCache
  64. unknownFields protoimpl.UnknownFields
  65. Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content"` // 内容 (url或者文本)
  66. Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level"` // 审核的等级 (0是最高级)
  67. OpenId string `protobuf:"bytes,3,opt,name=openId,proto3" json:"openId"`
  68. AppId string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId"`
  69. IsMiniProgram bool `protobuf:"varint,5,opt,name=isMiniProgram,proto3" json:"isMiniProgram"` // 是否是小程序用户
  70. }
  71. func (x *CheckRequest) Reset() {
  72. *x = CheckRequest{}
  73. if protoimpl.UnsafeEnabled {
  74. mi := &file_check_proto_msgTypes[1]
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. ms.StoreMessageInfo(mi)
  77. }
  78. }
  79. func (x *CheckRequest) String() string {
  80. return protoimpl.X.MessageStringOf(x)
  81. }
  82. func (*CheckRequest) ProtoMessage() {}
  83. func (x *CheckRequest) ProtoReflect() protoreflect.Message {
  84. mi := &file_check_proto_msgTypes[1]
  85. if protoimpl.UnsafeEnabled && x != nil {
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. if ms.LoadMessageInfo() == nil {
  88. ms.StoreMessageInfo(mi)
  89. }
  90. return ms
  91. }
  92. return mi.MessageOf(x)
  93. }
  94. // Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
  95. func (*CheckRequest) Descriptor() ([]byte, []int) {
  96. return file_check_proto_rawDescGZIP(), []int{1}
  97. }
  98. func (x *CheckRequest) GetContent() string {
  99. if x != nil {
  100. return x.Content
  101. }
  102. return ""
  103. }
  104. func (x *CheckRequest) GetLevel() int64 {
  105. if x != nil {
  106. return x.Level
  107. }
  108. return 0
  109. }
  110. func (x *CheckRequest) GetOpenId() string {
  111. if x != nil {
  112. return x.OpenId
  113. }
  114. return ""
  115. }
  116. func (x *CheckRequest) GetAppId() string {
  117. if x != nil {
  118. return x.AppId
  119. }
  120. return ""
  121. }
  122. func (x *CheckRequest) GetIsMiniProgram() bool {
  123. if x != nil {
  124. return x.IsMiniProgram
  125. }
  126. return false
  127. }
  128. type CheckReply struct {
  129. state protoimpl.MessageState
  130. sizeCache protoimpl.SizeCache
  131. unknownFields protoimpl.UnknownFields
  132. IsUnPass bool `protobuf:"varint,1,opt,name=isUnPass,proto3" json:"isUnPass"`
  133. Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result"`
  134. BlackPictureId int64 `protobuf:"varint,3,opt,name=blackPictureId,proto3" json:"blackPictureId"`
  135. }
  136. func (x *CheckReply) Reset() {
  137. *x = CheckReply{}
  138. if protoimpl.UnsafeEnabled {
  139. mi := &file_check_proto_msgTypes[2]
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. ms.StoreMessageInfo(mi)
  142. }
  143. }
  144. func (x *CheckReply) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*CheckReply) ProtoMessage() {}
  148. func (x *CheckReply) ProtoReflect() protoreflect.Message {
  149. mi := &file_check_proto_msgTypes[2]
  150. if protoimpl.UnsafeEnabled && x != nil {
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. if ms.LoadMessageInfo() == nil {
  153. ms.StoreMessageInfo(mi)
  154. }
  155. return ms
  156. }
  157. return mi.MessageOf(x)
  158. }
  159. // Deprecated: Use CheckReply.ProtoReflect.Descriptor instead.
  160. func (*CheckReply) Descriptor() ([]byte, []int) {
  161. return file_check_proto_rawDescGZIP(), []int{2}
  162. }
  163. func (x *CheckReply) GetIsUnPass() bool {
  164. if x != nil {
  165. return x.IsUnPass
  166. }
  167. return false
  168. }
  169. func (x *CheckReply) GetResult() string {
  170. if x != nil {
  171. return x.Result
  172. }
  173. return ""
  174. }
  175. func (x *CheckReply) GetBlackPictureId() int64 {
  176. if x != nil {
  177. return x.BlackPictureId
  178. }
  179. return 0
  180. }
  181. var File_check_proto protoreflect.FileDescriptor
  182. var file_check_proto_rawDesc = []byte{
  183. 0x0a, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x61,
  184. 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  185. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  186. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  187. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
  188. 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
  189. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x14,
  190. 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71,
  191. 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
  192. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x92,
  193. 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  194. 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  195. 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76,
  196. 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12,
  197. 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  198. 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
  199. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x24, 0x0a,
  200. 0x0d, 0x69, 0x73, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x05,
  201. 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67,
  202. 0x72, 0x61, 0x6d, 0x22, 0x68, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c,
  203. 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x55, 0x6e, 0x50, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20,
  204. 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x55, 0x6e, 0x50, 0x61, 0x73, 0x73, 0x12, 0x16, 0x0a,
  205. 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72,
  206. 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x50, 0x69,
  207. 0x63, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62,
  208. 0x6c, 0x61, 0x63, 0x6b, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x32, 0xde, 0x04,
  209. 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x3d, 0x0a, 0x09, 0x43, 0x68, 0x65, 0x63, 0x6b,
  210. 0x54, 0x65, 0x78, 0x74, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b,
  211. 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e,
  212. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,
  213. 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50,
  214. 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65,
  215. 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  216. 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63,
  217. 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63,
  218. 0x6b, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65,
  219. 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  220. 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63,
  221. 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, 0x6f, 0x6e,
  222. 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x61, 0x69, 0x64, 0x75, 0x54, 0x6f, 0x6b, 0x65,
  223. 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  224. 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  225. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  226. 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x69, 0x63, 0x74,
  227. 0x75, 0x72, 0x65, 0x56, 0x32, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63,
  228. 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
  229. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
  230. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b,
  231. 0x53, 0x63, 0x72, 0x69, 0x70, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75,
  232. 0x72, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43,
  233. 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70,
  234. 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x70,
  235. 0x6c, 0x79, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78,
  236. 0x74, 0x48, 0x74, 0x74, 0x70, 0x12, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63,
  237. 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x48, 0x74, 0x74, 0x70, 0x52,
  238. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65,
  239. 0x63, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1a, 0x82,
  240. 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,
  241. 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x12, 0x53, 0x0a, 0x0d, 0x43, 0x68, 0x65,
  242. 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69,
  243. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x64, 0x65,
  244. 0x6e, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61,
  245. 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49,
  246. 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x40,
  247. 0x0a, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x01, 0x5a, 0x31, 0x67,
  248. 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65,
  249. 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  250. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x3b, 0x63, 0x68, 0x65, 0x63, 0x6b,
  251. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  252. }
  253. var (
  254. file_check_proto_rawDescOnce sync.Once
  255. file_check_proto_rawDescData = file_check_proto_rawDesc
  256. )
  257. func file_check_proto_rawDescGZIP() []byte {
  258. file_check_proto_rawDescOnce.Do(func() {
  259. file_check_proto_rawDescData = protoimpl.X.CompressGZIP(file_check_proto_rawDescData)
  260. })
  261. return file_check_proto_rawDescData
  262. }
  263. var file_check_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  264. var file_check_proto_goTypes = []interface{}{
  265. (*CheckTextHttpRequest)(nil), // 0: api.check.CheckTextHttpRequest
  266. (*CheckRequest)(nil), // 1: api.check.CheckRequest
  267. (*CheckReply)(nil), // 2: api.check.CheckReply
  268. (*emptypb.Empty)(nil), // 3: google.protobuf.Empty
  269. (*common.CheckIdentifyRequest)(nil), // 4: api.common.CheckIdentifyRequest
  270. (*common.CheckIdentifyReply)(nil), // 5: api.common.CheckIdentifyReply
  271. }
  272. var file_check_proto_depIdxs = []int32{
  273. 1, // 0: api.check.Check.CheckText:input_type -> api.check.CheckRequest
  274. 1, // 1: api.check.Check.CheckPicture:input_type -> api.check.CheckRequest
  275. 1, // 2: api.check.Check.CheckVoice:input_type -> api.check.CheckRequest
  276. 3, // 3: api.check.Check.CronRefreshBaiduToken:input_type -> google.protobuf.Empty
  277. 1, // 4: api.check.Check.CheckPictureV2:input_type -> api.check.CheckRequest
  278. 1, // 5: api.check.Check.CheckScripSamplePicture:input_type -> api.check.CheckRequest
  279. 0, // 6: api.check.Check.CheckTextHttp:input_type -> api.check.CheckTextHttpRequest
  280. 4, // 7: api.check.Check.CheckIdentify:input_type -> api.common.CheckIdentifyRequest
  281. 2, // 8: api.check.Check.CheckText:output_type -> api.check.CheckReply
  282. 2, // 9: api.check.Check.CheckPicture:output_type -> api.check.CheckReply
  283. 2, // 10: api.check.Check.CheckVoice:output_type -> api.check.CheckReply
  284. 3, // 11: api.check.Check.CronRefreshBaiduToken:output_type -> google.protobuf.Empty
  285. 2, // 12: api.check.Check.CheckPictureV2:output_type -> api.check.CheckReply
  286. 2, // 13: api.check.Check.CheckScripSamplePicture:output_type -> api.check.CheckReply
  287. 2, // 14: api.check.Check.CheckTextHttp:output_type -> api.check.CheckReply
  288. 5, // 15: api.check.Check.CheckIdentify:output_type -> api.common.CheckIdentifyReply
  289. 8, // [8:16] is the sub-list for method output_type
  290. 0, // [0:8] is the sub-list for method input_type
  291. 0, // [0:0] is the sub-list for extension type_name
  292. 0, // [0:0] is the sub-list for extension extendee
  293. 0, // [0:0] is the sub-list for field type_name
  294. }
  295. func init() { file_check_proto_init() }
  296. func file_check_proto_init() {
  297. if File_check_proto != nil {
  298. return
  299. }
  300. if !protoimpl.UnsafeEnabled {
  301. file_check_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  302. switch v := v.(*CheckTextHttpRequest); i {
  303. case 0:
  304. return &v.state
  305. case 1:
  306. return &v.sizeCache
  307. case 2:
  308. return &v.unknownFields
  309. default:
  310. return nil
  311. }
  312. }
  313. file_check_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  314. switch v := v.(*CheckRequest); i {
  315. case 0:
  316. return &v.state
  317. case 1:
  318. return &v.sizeCache
  319. case 2:
  320. return &v.unknownFields
  321. default:
  322. return nil
  323. }
  324. }
  325. file_check_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  326. switch v := v.(*CheckReply); i {
  327. case 0:
  328. return &v.state
  329. case 1:
  330. return &v.sizeCache
  331. case 2:
  332. return &v.unknownFields
  333. default:
  334. return nil
  335. }
  336. }
  337. }
  338. type x struct{}
  339. out := protoimpl.TypeBuilder{
  340. File: protoimpl.DescBuilder{
  341. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  342. RawDescriptor: file_check_proto_rawDesc,
  343. NumEnums: 0,
  344. NumMessages: 3,
  345. NumExtensions: 0,
  346. NumServices: 1,
  347. },
  348. GoTypes: file_check_proto_goTypes,
  349. DependencyIndexes: file_check_proto_depIdxs,
  350. MessageInfos: file_check_proto_msgTypes,
  351. }.Build()
  352. File_check_proto = out.File
  353. file_check_proto_rawDesc = nil
  354. file_check_proto_goTypes = nil
  355. file_check_proto_depIdxs = nil
  356. }