qrcode.pb.go 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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: qrcode.proto
  6. package qrcode
  7. import (
  8. _ "google.golang.org/genproto/googleapis/api/annotations"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. _ "google.golang.org/protobuf/types/known/emptypb"
  12. _ "google.golang.org/protobuf/types/known/structpb"
  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 CheckIsQrcodeRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
  27. }
  28. func (x *CheckIsQrcodeRequest) Reset() {
  29. *x = CheckIsQrcodeRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_qrcode_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *CheckIsQrcodeRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*CheckIsQrcodeRequest) ProtoMessage() {}
  40. func (x *CheckIsQrcodeRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_qrcode_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 CheckIsQrcodeRequest.ProtoReflect.Descriptor instead.
  52. func (*CheckIsQrcodeRequest) Descriptor() ([]byte, []int) {
  53. return file_qrcode_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *CheckIsQrcodeRequest) GetUrl() string {
  56. if x != nil {
  57. return x.Url
  58. }
  59. return ""
  60. }
  61. type CheckIsQrcodeReply struct {
  62. state protoimpl.MessageState
  63. sizeCache protoimpl.SizeCache
  64. unknownFields protoimpl.UnknownFields
  65. IsQrcode bool `protobuf:"varint,1,opt,name=isQrcode,proto3" json:"isQrcode"`
  66. }
  67. func (x *CheckIsQrcodeReply) Reset() {
  68. *x = CheckIsQrcodeReply{}
  69. if protoimpl.UnsafeEnabled {
  70. mi := &file_qrcode_proto_msgTypes[1]
  71. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  72. ms.StoreMessageInfo(mi)
  73. }
  74. }
  75. func (x *CheckIsQrcodeReply) String() string {
  76. return protoimpl.X.MessageStringOf(x)
  77. }
  78. func (*CheckIsQrcodeReply) ProtoMessage() {}
  79. func (x *CheckIsQrcodeReply) ProtoReflect() protoreflect.Message {
  80. mi := &file_qrcode_proto_msgTypes[1]
  81. if protoimpl.UnsafeEnabled && x != nil {
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. if ms.LoadMessageInfo() == nil {
  84. ms.StoreMessageInfo(mi)
  85. }
  86. return ms
  87. }
  88. return mi.MessageOf(x)
  89. }
  90. // Deprecated: Use CheckIsQrcodeReply.ProtoReflect.Descriptor instead.
  91. func (*CheckIsQrcodeReply) Descriptor() ([]byte, []int) {
  92. return file_qrcode_proto_rawDescGZIP(), []int{1}
  93. }
  94. func (x *CheckIsQrcodeReply) GetIsQrcode() bool {
  95. if x != nil {
  96. return x.IsQrcode
  97. }
  98. return false
  99. }
  100. var File_qrcode_proto protoreflect.FileDescriptor
  101. var file_qrcode_proto_rawDesc = []byte{
  102. 0x0a, 0x0c, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
  103. 0x61, 0x70, 0x69, 0x2e, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
  104. 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
  105. 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  106. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
  107. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  108. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
  109. 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x51, 0x72,
  110. 0x63, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75,
  111. 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x30, 0x0a,
  112. 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x51, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x65,
  113. 0x70, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x51, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x18,
  114. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x51, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x32,
  115. 0x79, 0x0a, 0x06, 0x51, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x6f, 0x0a, 0x0d, 0x43, 0x68, 0x65,
  116. 0x63, 0x6b, 0x49, 0x73, 0x51, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69,
  117. 0x2e, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x51,
  118. 0x72, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61,
  119. 0x70, 0x69, 0x2e, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49,
  120. 0x73, 0x51, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1c, 0x82, 0xd3,
  121. 0xe4, 0x93, 0x02, 0x16, 0x22, 0x11, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x71, 0x72, 0x63, 0x6f, 0x64,
  122. 0x65, 0x2f, 0x70, 0x61, 0x72, 0x73, 0x65, 0x3a, 0x01, 0x2a, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70,
  123. 0x69, 0x2e, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e,
  124. 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65,
  125. 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70,
  126. 0x69, 0x2f, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x3b, 0x71, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x62,
  127. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  128. }
  129. var (
  130. file_qrcode_proto_rawDescOnce sync.Once
  131. file_qrcode_proto_rawDescData = file_qrcode_proto_rawDesc
  132. )
  133. func file_qrcode_proto_rawDescGZIP() []byte {
  134. file_qrcode_proto_rawDescOnce.Do(func() {
  135. file_qrcode_proto_rawDescData = protoimpl.X.CompressGZIP(file_qrcode_proto_rawDescData)
  136. })
  137. return file_qrcode_proto_rawDescData
  138. }
  139. var file_qrcode_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  140. var file_qrcode_proto_goTypes = []interface{}{
  141. (*CheckIsQrcodeRequest)(nil), // 0: api.qrcode.CheckIsQrcodeRequest
  142. (*CheckIsQrcodeReply)(nil), // 1: api.qrcode.CheckIsQrcodeReply
  143. }
  144. var file_qrcode_proto_depIdxs = []int32{
  145. 0, // 0: api.qrcode.Qrcode.CheckIsQrcode:input_type -> api.qrcode.CheckIsQrcodeRequest
  146. 1, // 1: api.qrcode.Qrcode.CheckIsQrcode:output_type -> api.qrcode.CheckIsQrcodeReply
  147. 1, // [1:2] is the sub-list for method output_type
  148. 0, // [0:1] is the sub-list for method input_type
  149. 0, // [0:0] is the sub-list for extension type_name
  150. 0, // [0:0] is the sub-list for extension extendee
  151. 0, // [0:0] is the sub-list for field type_name
  152. }
  153. func init() { file_qrcode_proto_init() }
  154. func file_qrcode_proto_init() {
  155. if File_qrcode_proto != nil {
  156. return
  157. }
  158. if !protoimpl.UnsafeEnabled {
  159. file_qrcode_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  160. switch v := v.(*CheckIsQrcodeRequest); i {
  161. case 0:
  162. return &v.state
  163. case 1:
  164. return &v.sizeCache
  165. case 2:
  166. return &v.unknownFields
  167. default:
  168. return nil
  169. }
  170. }
  171. file_qrcode_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  172. switch v := v.(*CheckIsQrcodeReply); i {
  173. case 0:
  174. return &v.state
  175. case 1:
  176. return &v.sizeCache
  177. case 2:
  178. return &v.unknownFields
  179. default:
  180. return nil
  181. }
  182. }
  183. }
  184. type x struct{}
  185. out := protoimpl.TypeBuilder{
  186. File: protoimpl.DescBuilder{
  187. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  188. RawDescriptor: file_qrcode_proto_rawDesc,
  189. NumEnums: 0,
  190. NumMessages: 2,
  191. NumExtensions: 0,
  192. NumServices: 1,
  193. },
  194. GoTypes: file_qrcode_proto_goTypes,
  195. DependencyIndexes: file_qrcode_proto_depIdxs,
  196. MessageInfos: file_qrcode_proto_msgTypes,
  197. }.Build()
  198. File_qrcode_proto = out.File
  199. file_qrcode_proto_rawDesc = nil
  200. file_qrcode_proto_goTypes = nil
  201. file_qrcode_proto_depIdxs = nil
  202. }