base.pb.go 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: base.proto
  6. package base
  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 AuthorizationRequest struct {
  23. state protoimpl.MessageState
  24. sizeCache protoimpl.SizeCache
  25. unknownFields protoimpl.UnknownFields
  26. JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
  27. }
  28. func (x *AuthorizationRequest) Reset() {
  29. *x = AuthorizationRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_base_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *AuthorizationRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*AuthorizationRequest) ProtoMessage() {}
  40. func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_base_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 AuthorizationRequest.ProtoReflect.Descriptor instead.
  52. func (*AuthorizationRequest) Descriptor() ([]byte, []int) {
  53. return file_base_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *AuthorizationRequest) GetJsCode() string {
  56. if x != nil {
  57. return x.JsCode
  58. }
  59. return ""
  60. }
  61. type TokenReply struct {
  62. state protoimpl.MessageState
  63. sizeCache protoimpl.SizeCache
  64. unknownFields protoimpl.UnknownFields
  65. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  66. }
  67. func (x *TokenReply) Reset() {
  68. *x = TokenReply{}
  69. if protoimpl.UnsafeEnabled {
  70. mi := &file_base_proto_msgTypes[1]
  71. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  72. ms.StoreMessageInfo(mi)
  73. }
  74. }
  75. func (x *TokenReply) String() string {
  76. return protoimpl.X.MessageStringOf(x)
  77. }
  78. func (*TokenReply) ProtoMessage() {}
  79. func (x *TokenReply) ProtoReflect() protoreflect.Message {
  80. mi := &file_base_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 TokenReply.ProtoReflect.Descriptor instead.
  91. func (*TokenReply) Descriptor() ([]byte, []int) {
  92. return file_base_proto_rawDescGZIP(), []int{1}
  93. }
  94. func (x *TokenReply) GetToken() string {
  95. if x != nil {
  96. return x.Token
  97. }
  98. return ""
  99. }
  100. type DebugLoginRequest struct {
  101. state protoimpl.MessageState
  102. sizeCache protoimpl.SizeCache
  103. unknownFields protoimpl.UnknownFields
  104. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
  105. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  106. }
  107. func (x *DebugLoginRequest) Reset() {
  108. *x = DebugLoginRequest{}
  109. if protoimpl.UnsafeEnabled {
  110. mi := &file_base_proto_msgTypes[2]
  111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  112. ms.StoreMessageInfo(mi)
  113. }
  114. }
  115. func (x *DebugLoginRequest) String() string {
  116. return protoimpl.X.MessageStringOf(x)
  117. }
  118. func (*DebugLoginRequest) ProtoMessage() {}
  119. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  120. mi := &file_base_proto_msgTypes[2]
  121. if protoimpl.UnsafeEnabled && x != nil {
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. if ms.LoadMessageInfo() == nil {
  124. ms.StoreMessageInfo(mi)
  125. }
  126. return ms
  127. }
  128. return mi.MessageOf(x)
  129. }
  130. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  131. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  132. return file_base_proto_rawDescGZIP(), []int{2}
  133. }
  134. func (x *DebugLoginRequest) GetId() string {
  135. if x != nil {
  136. return x.Id
  137. }
  138. return ""
  139. }
  140. func (x *DebugLoginRequest) GetCode() string {
  141. if x != nil {
  142. return x.Code
  143. }
  144. return ""
  145. }
  146. var File_base_proto protoreflect.FileDescriptor
  147. var file_base_proto_rawDesc = []byte{
  148. 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x61, 0x70,
  149. 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  150. 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
  151. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  152. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
  153. 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  154. 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  155. 0x2e, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  156. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64,
  157. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22,
  158. 0x22, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a,
  159. 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
  160. 0x6b, 0x65, 0x6e, 0x22, 0x37, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69,
  161. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  162. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
  163. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x3d, 0x0a, 0x08,
  164. 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e,
  165. 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65,
  166. 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70,
  167. 0x69, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
  168. 0x74, 0x6f, 0x33,
  169. }
  170. var (
  171. file_base_proto_rawDescOnce sync.Once
  172. file_base_proto_rawDescData = file_base_proto_rawDesc
  173. )
  174. func file_base_proto_rawDescGZIP() []byte {
  175. file_base_proto_rawDescOnce.Do(func() {
  176. file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
  177. })
  178. return file_base_proto_rawDescData
  179. }
  180. var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  181. var file_base_proto_goTypes = []interface{}{
  182. (*AuthorizationRequest)(nil), // 0: api.base.AuthorizationRequest
  183. (*TokenReply)(nil), // 1: api.base.TokenReply
  184. (*DebugLoginRequest)(nil), // 2: api.base.DebugLoginRequest
  185. }
  186. var file_base_proto_depIdxs = []int32{
  187. 0, // [0:0] is the sub-list for method output_type
  188. 0, // [0:0] is the sub-list for method input_type
  189. 0, // [0:0] is the sub-list for extension type_name
  190. 0, // [0:0] is the sub-list for extension extendee
  191. 0, // [0:0] is the sub-list for field type_name
  192. }
  193. func init() { file_base_proto_init() }
  194. func file_base_proto_init() {
  195. if File_base_proto != nil {
  196. return
  197. }
  198. if !protoimpl.UnsafeEnabled {
  199. file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  200. switch v := v.(*AuthorizationRequest); i {
  201. case 0:
  202. return &v.state
  203. case 1:
  204. return &v.sizeCache
  205. case 2:
  206. return &v.unknownFields
  207. default:
  208. return nil
  209. }
  210. }
  211. file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  212. switch v := v.(*TokenReply); i {
  213. case 0:
  214. return &v.state
  215. case 1:
  216. return &v.sizeCache
  217. case 2:
  218. return &v.unknownFields
  219. default:
  220. return nil
  221. }
  222. }
  223. file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  224. switch v := v.(*DebugLoginRequest); i {
  225. case 0:
  226. return &v.state
  227. case 1:
  228. return &v.sizeCache
  229. case 2:
  230. return &v.unknownFields
  231. default:
  232. return nil
  233. }
  234. }
  235. }
  236. type x struct{}
  237. out := protoimpl.TypeBuilder{
  238. File: protoimpl.DescBuilder{
  239. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  240. RawDescriptor: file_base_proto_rawDesc,
  241. NumEnums: 0,
  242. NumMessages: 3,
  243. NumExtensions: 0,
  244. NumServices: 0,
  245. },
  246. GoTypes: file_base_proto_goTypes,
  247. DependencyIndexes: file_base_proto_depIdxs,
  248. MessageInfos: file_base_proto_msgTypes,
  249. }.Build()
  250. File_base_proto = out.File
  251. file_base_proto_rawDesc = nil
  252. file_base_proto_goTypes = nil
  253. file_base_proto_depIdxs = nil
  254. }