OperateInfoGreerGrpc.cs 85 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: Protos/OperateInfoGreer.proto
  4. // </auto-generated>
  5. #pragma warning disable 0414, 1591
  6. #region Designer generated code
  7. using grpc = global::Grpc.Core;
  8. public static partial class Operate
  9. {
  10. static readonly string __ServiceName = "Operate";
  11. static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
  12. {
  13. #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
  14. if (message is global::Google.Protobuf.IBufferMessage)
  15. {
  16. context.SetPayloadLength(message.CalculateSize());
  17. global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
  18. context.Complete();
  19. return;
  20. }
  21. #endif
  22. context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
  23. }
  24. static class __Helper_MessageCache<T>
  25. {
  26. public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
  27. }
  28. static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
  29. {
  30. #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
  31. if (__Helper_MessageCache<T>.IsBufferMessage)
  32. {
  33. return parser.ParseFrom(context.PayloadAsReadOnlySequence());
  34. }
  35. #endif
  36. return parser.ParseFrom(context.PayloadAsNewBuffer());
  37. }
  38. static readonly grpc::Marshaller<global::LoginRequest> __Marshaller_LoginRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::LoginRequest.Parser));
  39. static readonly grpc::Marshaller<global::LoginResponse> __Marshaller_LoginResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::LoginResponse.Parser));
  40. static readonly grpc::Marshaller<global::StudentLoginRequest> __Marshaller_StudentLoginRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLoginRequest.Parser));
  41. static readonly grpc::Marshaller<global::StudentLoginResponse> __Marshaller_StudentLoginResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLoginResponse.Parser));
  42. static readonly grpc::Marshaller<global::StudentLogoutRequest> __Marshaller_StudentLogoutRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLogoutRequest.Parser));
  43. static readonly grpc::Marshaller<global::StudentLogoutResponse> __Marshaller_StudentLogoutResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLogoutResponse.Parser));
  44. static readonly grpc::Marshaller<global::SearchAllRequest> __Marshaller_SearchAllRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchAllRequest.Parser));
  45. static readonly grpc::Marshaller<global::SearchInfoResponse> __Marshaller_SearchInfoResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchInfoResponse.Parser));
  46. static readonly grpc::Marshaller<global::SearchScoreResponse> __Marshaller_SearchScoreResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchScoreResponse.Parser));
  47. static readonly grpc::Marshaller<global::SearchTimeResponse> __Marshaller_SearchTimeResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchTimeResponse.Parser));
  48. static readonly grpc::Marshaller<global::SearchRequest> __Marshaller_SearchRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchRequest.Parser));
  49. static readonly grpc::Marshaller<global::StudentRegisterRequest> __Marshaller_StudentRegisterRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentRegisterRequest.Parser));
  50. static readonly grpc::Marshaller<global::StudentRegisterResponse> __Marshaller_StudentRegisterResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentRegisterResponse.Parser));
  51. static readonly grpc::Marshaller<global::DeleteBatchRequest> __Marshaller_DeleteBatchRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::DeleteBatchRequest.Parser));
  52. static readonly grpc::Marshaller<global::DeleteBatchResponse> __Marshaller_DeleteBatchResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::DeleteBatchResponse.Parser));
  53. static readonly grpc::Marshaller<global::StudentInfo> __Marshaller_StudentInfo = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentInfo.Parser));
  54. static readonly grpc::Marshaller<global::OperateResponse> __Marshaller_OperateResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::OperateResponse.Parser));
  55. static readonly grpc::Marshaller<global::StudentScore> __Marshaller_StudentScore = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentScore.Parser));
  56. static readonly grpc::Marshaller<global::StudentTime> __Marshaller_StudentTime = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentTime.Parser));
  57. static readonly grpc::Marshaller<global::MajorsInfosRequest> __Marshaller_MajorsInfosRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::MajorsInfosRequest.Parser));
  58. static readonly grpc::Marshaller<global::MajorsInfosResponse> __Marshaller_MajorsInfosResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::MajorsInfosResponse.Parser));
  59. static readonly grpc::Marshaller<global::CourseInfosRequest> __Marshaller_CourseInfosRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::CourseInfosRequest.Parser));
  60. static readonly grpc::Marshaller<global::CourseInfosResponse> __Marshaller_CourseInfosResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::CourseInfosResponse.Parser));
  61. static readonly grpc::Marshaller<global::ClassInfosRequest> __Marshaller_ClassInfosRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ClassInfosRequest.Parser));
  62. static readonly grpc::Marshaller<global::ClassInfosResponse> __Marshaller_ClassInfosResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ClassInfosResponse.Parser));
  63. static readonly grpc::Method<global::LoginRequest, global::LoginResponse> __Method_Login = new grpc::Method<global::LoginRequest, global::LoginResponse>(
  64. grpc::MethodType.Unary,
  65. __ServiceName,
  66. "Login",
  67. __Marshaller_LoginRequest,
  68. __Marshaller_LoginResponse);
  69. static readonly grpc::Method<global::StudentLoginRequest, global::StudentLoginResponse> __Method_StudentLogin = new grpc::Method<global::StudentLoginRequest, global::StudentLoginResponse>(
  70. grpc::MethodType.Unary,
  71. __ServiceName,
  72. "StudentLogin",
  73. __Marshaller_StudentLoginRequest,
  74. __Marshaller_StudentLoginResponse);
  75. static readonly grpc::Method<global::StudentLogoutRequest, global::StudentLogoutResponse> __Method_StudentLogout = new grpc::Method<global::StudentLogoutRequest, global::StudentLogoutResponse>(
  76. grpc::MethodType.Unary,
  77. __ServiceName,
  78. "StudentLogout",
  79. __Marshaller_StudentLogoutRequest,
  80. __Marshaller_StudentLogoutResponse);
  81. static readonly grpc::Method<global::SearchAllRequest, global::SearchInfoResponse> __Method_AllStudentInfoSearch = new grpc::Method<global::SearchAllRequest, global::SearchInfoResponse>(
  82. grpc::MethodType.Unary,
  83. __ServiceName,
  84. "AllStudentInfoSearch",
  85. __Marshaller_SearchAllRequest,
  86. __Marshaller_SearchInfoResponse);
  87. static readonly grpc::Method<global::SearchAllRequest, global::SearchScoreResponse> __Method_AllStudentScoreSearch = new grpc::Method<global::SearchAllRequest, global::SearchScoreResponse>(
  88. grpc::MethodType.Unary,
  89. __ServiceName,
  90. "AllStudentScoreSearch",
  91. __Marshaller_SearchAllRequest,
  92. __Marshaller_SearchScoreResponse);
  93. static readonly grpc::Method<global::SearchAllRequest, global::SearchTimeResponse> __Method_AllStudentTimeSearch = new grpc::Method<global::SearchAllRequest, global::SearchTimeResponse>(
  94. grpc::MethodType.Unary,
  95. __ServiceName,
  96. "AllStudentTimeSearch",
  97. __Marshaller_SearchAllRequest,
  98. __Marshaller_SearchTimeResponse);
  99. static readonly grpc::Method<global::SearchRequest, global::SearchInfoResponse> __Method_StudentInfoSearch = new grpc::Method<global::SearchRequest, global::SearchInfoResponse>(
  100. grpc::MethodType.Unary,
  101. __ServiceName,
  102. "StudentInfoSearch",
  103. __Marshaller_SearchRequest,
  104. __Marshaller_SearchInfoResponse);
  105. static readonly grpc::Method<global::SearchRequest, global::SearchScoreResponse> __Method_StudentScoreSearch = new grpc::Method<global::SearchRequest, global::SearchScoreResponse>(
  106. grpc::MethodType.Unary,
  107. __ServiceName,
  108. "StudentScoreSearch",
  109. __Marshaller_SearchRequest,
  110. __Marshaller_SearchScoreResponse);
  111. static readonly grpc::Method<global::SearchRequest, global::SearchTimeResponse> __Method_StudentTimeSearch = new grpc::Method<global::SearchRequest, global::SearchTimeResponse>(
  112. grpc::MethodType.Unary,
  113. __ServiceName,
  114. "StudentTimeSearch",
  115. __Marshaller_SearchRequest,
  116. __Marshaller_SearchTimeResponse);
  117. static readonly grpc::Method<global::StudentRegisterRequest, global::StudentRegisterResponse> __Method_StudentRegister = new grpc::Method<global::StudentRegisterRequest, global::StudentRegisterResponse>(
  118. grpc::MethodType.Unary,
  119. __ServiceName,
  120. "StudentRegister",
  121. __Marshaller_StudentRegisterRequest,
  122. __Marshaller_StudentRegisterResponse);
  123. static readonly grpc::Method<global::DeleteBatchRequest, global::DeleteBatchResponse> __Method_DeleteBatchStudentInfo = new grpc::Method<global::DeleteBatchRequest, global::DeleteBatchResponse>(
  124. grpc::MethodType.Unary,
  125. __ServiceName,
  126. "DeleteBatchStudentInfo",
  127. __Marshaller_DeleteBatchRequest,
  128. __Marshaller_DeleteBatchResponse);
  129. static readonly grpc::Method<global::StudentInfo, global::OperateResponse> __Method_StudentInfoUpdate = new grpc::Method<global::StudentInfo, global::OperateResponse>(
  130. grpc::MethodType.Unary,
  131. __ServiceName,
  132. "StudentInfoUpdate",
  133. __Marshaller_StudentInfo,
  134. __Marshaller_OperateResponse);
  135. static readonly grpc::Method<global::StudentInfo, global::OperateResponse> __Method_UserAuthentication = new grpc::Method<global::StudentInfo, global::OperateResponse>(
  136. grpc::MethodType.Unary,
  137. __ServiceName,
  138. "UserAuthentication",
  139. __Marshaller_StudentInfo,
  140. __Marshaller_OperateResponse);
  141. static readonly grpc::Method<global::StudentLoginRequest, global::OperateResponse> __Method_StudentPwdUpdate = new grpc::Method<global::StudentLoginRequest, global::OperateResponse>(
  142. grpc::MethodType.Unary,
  143. __ServiceName,
  144. "StudentPwdUpdate",
  145. __Marshaller_StudentLoginRequest,
  146. __Marshaller_OperateResponse);
  147. static readonly grpc::Method<global::StudentScore, global::OperateResponse> __Method_StudentScoreAdd = new grpc::Method<global::StudentScore, global::OperateResponse>(
  148. grpc::MethodType.Unary,
  149. __ServiceName,
  150. "StudentScoreAdd",
  151. __Marshaller_StudentScore,
  152. __Marshaller_OperateResponse);
  153. static readonly grpc::Method<global::StudentTime, global::OperateResponse> __Method_StudentTimeAdd = new grpc::Method<global::StudentTime, global::OperateResponse>(
  154. grpc::MethodType.Unary,
  155. __ServiceName,
  156. "StudentTimeAdd",
  157. __Marshaller_StudentTime,
  158. __Marshaller_OperateResponse);
  159. static readonly grpc::Method<global::MajorsInfosRequest, global::MajorsInfosResponse> __Method_GetAllMajorsInfos = new grpc::Method<global::MajorsInfosRequest, global::MajorsInfosResponse>(
  160. grpc::MethodType.Unary,
  161. __ServiceName,
  162. "GetAllMajorsInfos",
  163. __Marshaller_MajorsInfosRequest,
  164. __Marshaller_MajorsInfosResponse);
  165. static readonly grpc::Method<global::CourseInfosRequest, global::CourseInfosResponse> __Method_GetAllCourseInfos = new grpc::Method<global::CourseInfosRequest, global::CourseInfosResponse>(
  166. grpc::MethodType.Unary,
  167. __ServiceName,
  168. "GetAllCourseInfos",
  169. __Marshaller_CourseInfosRequest,
  170. __Marshaller_CourseInfosResponse);
  171. static readonly grpc::Method<global::ClassInfosRequest, global::ClassInfosResponse> __Method_GetAllClassInfos = new grpc::Method<global::ClassInfosRequest, global::ClassInfosResponse>(
  172. grpc::MethodType.Unary,
  173. __ServiceName,
  174. "GetAllClassInfos",
  175. __Marshaller_ClassInfosRequest,
  176. __Marshaller_ClassInfosResponse);
  177. /// <summary>Service descriptor</summary>
  178. public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
  179. {
  180. get { return global::OperateInfoGreerReflection.Descriptor.Services[0]; }
  181. }
  182. /// <summary>Base class for server-side implementations of Operate</summary>
  183. [grpc::BindServiceMethod(typeof(Operate), "BindService")]
  184. public abstract partial class OperateBase
  185. {
  186. /// <summary>
  187. /// 用户登录
  188. /// </summary>
  189. /// <param name="request">The request received from the client.</param>
  190. /// <param name="context">The context of the server-side call handler being invoked.</param>
  191. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  192. public virtual global::System.Threading.Tasks.Task<global::LoginResponse> Login(global::LoginRequest request, grpc::ServerCallContext context)
  193. {
  194. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  195. }
  196. /// <summary>
  197. /// 学生登录
  198. /// </summary>
  199. /// <param name="request">The request received from the client.</param>
  200. /// <param name="context">The context of the server-side call handler being invoked.</param>
  201. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  202. public virtual global::System.Threading.Tasks.Task<global::StudentLoginResponse> StudentLogin(global::StudentLoginRequest request, grpc::ServerCallContext context)
  203. {
  204. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  205. }
  206. /// <summary>
  207. /// 学生登出
  208. /// </summary>
  209. /// <param name="request">The request received from the client.</param>
  210. /// <param name="context">The context of the server-side call handler being invoked.</param>
  211. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  212. public virtual global::System.Threading.Tasks.Task<global::StudentLogoutResponse> StudentLogout(global::StudentLogoutRequest request, grpc::ServerCallContext context)
  213. {
  214. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  215. }
  216. /// <summary>
  217. /// 查询所有学生信息
  218. /// </summary>
  219. /// <param name="request">The request received from the client.</param>
  220. /// <param name="context">The context of the server-side call handler being invoked.</param>
  221. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  222. public virtual global::System.Threading.Tasks.Task<global::SearchInfoResponse> AllStudentInfoSearch(global::SearchAllRequest request, grpc::ServerCallContext context)
  223. {
  224. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  225. }
  226. /// <summary>
  227. /// 查询所有成绩信息
  228. /// </summary>
  229. /// <param name="request">The request received from the client.</param>
  230. /// <param name="context">The context of the server-side call handler being invoked.</param>
  231. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  232. public virtual global::System.Threading.Tasks.Task<global::SearchScoreResponse> AllStudentScoreSearch(global::SearchAllRequest request, grpc::ServerCallContext context)
  233. {
  234. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  235. }
  236. /// <summary>
  237. /// 查询所有练习时长信息
  238. /// </summary>
  239. /// <param name="request">The request received from the client.</param>
  240. /// <param name="context">The context of the server-side call handler being invoked.</param>
  241. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  242. public virtual global::System.Threading.Tasks.Task<global::SearchTimeResponse> AllStudentTimeSearch(global::SearchAllRequest request, grpc::ServerCallContext context)
  243. {
  244. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  245. }
  246. /// <summary>
  247. /// 学生信息条件查询
  248. /// </summary>
  249. /// <param name="request">The request received from the client.</param>
  250. /// <param name="context">The context of the server-side call handler being invoked.</param>
  251. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  252. public virtual global::System.Threading.Tasks.Task<global::SearchInfoResponse> StudentInfoSearch(global::SearchRequest request, grpc::ServerCallContext context)
  253. {
  254. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  255. }
  256. /// <summary>
  257. /// 学生成绩条件查询
  258. /// </summary>
  259. /// <param name="request">The request received from the client.</param>
  260. /// <param name="context">The context of the server-side call handler being invoked.</param>
  261. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  262. public virtual global::System.Threading.Tasks.Task<global::SearchScoreResponse> StudentScoreSearch(global::SearchRequest request, grpc::ServerCallContext context)
  263. {
  264. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  265. }
  266. /// <summary>
  267. /// 学生时长统计条件查询
  268. /// </summary>
  269. /// <param name="request">The request received from the client.</param>
  270. /// <param name="context">The context of the server-side call handler being invoked.</param>
  271. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  272. public virtual global::System.Threading.Tasks.Task<global::SearchTimeResponse> StudentTimeSearch(global::SearchRequest request, grpc::ServerCallContext context)
  273. {
  274. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  275. }
  276. /// <summary>
  277. /// 学生信息注册
  278. /// </summary>
  279. /// <param name="request">The request received from the client.</param>
  280. /// <param name="context">The context of the server-side call handler being invoked.</param>
  281. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  282. public virtual global::System.Threading.Tasks.Task<global::StudentRegisterResponse> StudentRegister(global::StudentRegisterRequest request, grpc::ServerCallContext context)
  283. {
  284. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  285. }
  286. /// <summary>
  287. /// 删除学生信息
  288. /// </summary>
  289. /// <param name="request">The request received from the client.</param>
  290. /// <param name="context">The context of the server-side call handler being invoked.</param>
  291. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  292. public virtual global::System.Threading.Tasks.Task<global::DeleteBatchResponse> DeleteBatchStudentInfo(global::DeleteBatchRequest request, grpc::ServerCallContext context)
  293. {
  294. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  295. }
  296. /// <summary>
  297. /// 学生信息更新
  298. /// </summary>
  299. /// <param name="request">The request received from the client.</param>
  300. /// <param name="context">The context of the server-side call handler being invoked.</param>
  301. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  302. public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentInfoUpdate(global::StudentInfo request, grpc::ServerCallContext context)
  303. {
  304. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  305. }
  306. /// <summary>
  307. /// 用户验证
  308. /// </summary>
  309. /// <param name="request">The request received from the client.</param>
  310. /// <param name="context">The context of the server-side call handler being invoked.</param>
  311. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  312. public virtual global::System.Threading.Tasks.Task<global::OperateResponse> UserAuthentication(global::StudentInfo request, grpc::ServerCallContext context)
  313. {
  314. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  315. }
  316. /// <summary>
  317. /// 学生登录密码更新
  318. /// </summary>
  319. /// <param name="request">The request received from the client.</param>
  320. /// <param name="context">The context of the server-side call handler being invoked.</param>
  321. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  322. public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentPwdUpdate(global::StudentLoginRequest request, grpc::ServerCallContext context)
  323. {
  324. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  325. }
  326. /// <summary>
  327. /// 学生成绩增加
  328. /// </summary>
  329. /// <param name="request">The request received from the client.</param>
  330. /// <param name="context">The context of the server-side call handler being invoked.</param>
  331. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  332. public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentScoreAdd(global::StudentScore request, grpc::ServerCallContext context)
  333. {
  334. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  335. }
  336. /// <summary>
  337. /// 学生时长信息添加
  338. /// </summary>
  339. /// <param name="request">The request received from the client.</param>
  340. /// <param name="context">The context of the server-side call handler being invoked.</param>
  341. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  342. public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentTimeAdd(global::StudentTime request, grpc::ServerCallContext context)
  343. {
  344. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  345. }
  346. /// <summary>
  347. /// 查询所有专业信息
  348. /// </summary>
  349. /// <param name="request">The request received from the client.</param>
  350. /// <param name="context">The context of the server-side call handler being invoked.</param>
  351. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  352. public virtual global::System.Threading.Tasks.Task<global::MajorsInfosResponse> GetAllMajorsInfos(global::MajorsInfosRequest request, grpc::ServerCallContext context)
  353. {
  354. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  355. }
  356. /// <summary>
  357. /// 查询所有课程信息
  358. /// </summary>
  359. /// <param name="request">The request received from the client.</param>
  360. /// <param name="context">The context of the server-side call handler being invoked.</param>
  361. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  362. public virtual global::System.Threading.Tasks.Task<global::CourseInfosResponse> GetAllCourseInfos(global::CourseInfosRequest request, grpc::ServerCallContext context)
  363. {
  364. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  365. }
  366. /// <summary>
  367. /// 查询所有班级信息
  368. /// </summary>
  369. /// <param name="request">The request received from the client.</param>
  370. /// <param name="context">The context of the server-side call handler being invoked.</param>
  371. /// <returns>The response to send back to the client (wrapped by a task).</returns>
  372. public virtual global::System.Threading.Tasks.Task<global::ClassInfosResponse> GetAllClassInfos(global::ClassInfosRequest request, grpc::ServerCallContext context)
  373. {
  374. throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
  375. }
  376. }
  377. /// <summary>Client for Operate</summary>
  378. public partial class OperateClient : grpc::ClientBase<OperateClient>
  379. {
  380. /// <summary>Creates a new client for Operate</summary>
  381. /// <param name="channel">The channel to use to make remote calls.</param>
  382. public OperateClient(grpc::ChannelBase channel) : base(channel)
  383. {
  384. }
  385. /// <summary>Creates a new client for Operate that uses a custom <c>CallInvoker</c>.</summary>
  386. /// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
  387. public OperateClient(grpc::CallInvoker callInvoker) : base(callInvoker)
  388. {
  389. }
  390. /// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
  391. protected OperateClient() : base()
  392. {
  393. }
  394. /// <summary>Protected constructor to allow creation of configured clients.</summary>
  395. /// <param name="configuration">The client configuration.</param>
  396. protected OperateClient(ClientBaseConfiguration configuration) : base(configuration)
  397. {
  398. }
  399. /// <summary>
  400. /// 用户登录
  401. /// </summary>
  402. /// <param name="request">The request to send to the server.</param>
  403. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  404. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  405. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  406. /// <returns>The response received from the server.</returns>
  407. public virtual global::LoginResponse Login(global::LoginRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  408. {
  409. return Login(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  410. }
  411. /// <summary>
  412. /// 用户登录
  413. /// </summary>
  414. /// <param name="request">The request to send to the server.</param>
  415. /// <param name="options">The options for the call.</param>
  416. /// <returns>The response received from the server.</returns>
  417. public virtual global::LoginResponse Login(global::LoginRequest request, grpc::CallOptions options)
  418. {
  419. return CallInvoker.BlockingUnaryCall(__Method_Login, null, options, request);
  420. }
  421. /// <summary>
  422. /// 用户登录
  423. /// </summary>
  424. /// <param name="request">The request to send to the server.</param>
  425. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  426. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  427. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  428. /// <returns>The call object.</returns>
  429. public virtual grpc::AsyncUnaryCall<global::LoginResponse> LoginAsync(global::LoginRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  430. {
  431. return LoginAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  432. }
  433. /// <summary>
  434. /// 用户登录
  435. /// </summary>
  436. /// <param name="request">The request to send to the server.</param>
  437. /// <param name="options">The options for the call.</param>
  438. /// <returns>The call object.</returns>
  439. public virtual grpc::AsyncUnaryCall<global::LoginResponse> LoginAsync(global::LoginRequest request, grpc::CallOptions options)
  440. {
  441. return CallInvoker.AsyncUnaryCall(__Method_Login, null, options, request);
  442. }
  443. /// <summary>
  444. /// 学生登录
  445. /// </summary>
  446. /// <param name="request">The request to send to the server.</param>
  447. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  448. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  449. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  450. /// <returns>The response received from the server.</returns>
  451. public virtual global::StudentLoginResponse StudentLogin(global::StudentLoginRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  452. {
  453. return StudentLogin(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  454. }
  455. /// <summary>
  456. /// 学生登录
  457. /// </summary>
  458. /// <param name="request">The request to send to the server.</param>
  459. /// <param name="options">The options for the call.</param>
  460. /// <returns>The response received from the server.</returns>
  461. public virtual global::StudentLoginResponse StudentLogin(global::StudentLoginRequest request, grpc::CallOptions options)
  462. {
  463. return CallInvoker.BlockingUnaryCall(__Method_StudentLogin, null, options, request);
  464. }
  465. /// <summary>
  466. /// 学生登录
  467. /// </summary>
  468. /// <param name="request">The request to send to the server.</param>
  469. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  470. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  471. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  472. /// <returns>The call object.</returns>
  473. public virtual grpc::AsyncUnaryCall<global::StudentLoginResponse> StudentLoginAsync(global::StudentLoginRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  474. {
  475. return StudentLoginAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  476. }
  477. /// <summary>
  478. /// 学生登录
  479. /// </summary>
  480. /// <param name="request">The request to send to the server.</param>
  481. /// <param name="options">The options for the call.</param>
  482. /// <returns>The call object.</returns>
  483. public virtual grpc::AsyncUnaryCall<global::StudentLoginResponse> StudentLoginAsync(global::StudentLoginRequest request, grpc::CallOptions options)
  484. {
  485. return CallInvoker.AsyncUnaryCall(__Method_StudentLogin, null, options, request);
  486. }
  487. /// <summary>
  488. /// 学生登出
  489. /// </summary>
  490. /// <param name="request">The request to send to the server.</param>
  491. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  492. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  493. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  494. /// <returns>The response received from the server.</returns>
  495. public virtual global::StudentLogoutResponse StudentLogout(global::StudentLogoutRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  496. {
  497. return StudentLogout(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  498. }
  499. /// <summary>
  500. /// 学生登出
  501. /// </summary>
  502. /// <param name="request">The request to send to the server.</param>
  503. /// <param name="options">The options for the call.</param>
  504. /// <returns>The response received from the server.</returns>
  505. public virtual global::StudentLogoutResponse StudentLogout(global::StudentLogoutRequest request, grpc::CallOptions options)
  506. {
  507. return CallInvoker.BlockingUnaryCall(__Method_StudentLogout, null, options, request);
  508. }
  509. /// <summary>
  510. /// 学生登出
  511. /// </summary>
  512. /// <param name="request">The request to send to the server.</param>
  513. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  514. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  515. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  516. /// <returns>The call object.</returns>
  517. public virtual grpc::AsyncUnaryCall<global::StudentLogoutResponse> StudentLogoutAsync(global::StudentLogoutRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  518. {
  519. return StudentLogoutAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  520. }
  521. /// <summary>
  522. /// 学生登出
  523. /// </summary>
  524. /// <param name="request">The request to send to the server.</param>
  525. /// <param name="options">The options for the call.</param>
  526. /// <returns>The call object.</returns>
  527. public virtual grpc::AsyncUnaryCall<global::StudentLogoutResponse> StudentLogoutAsync(global::StudentLogoutRequest request, grpc::CallOptions options)
  528. {
  529. return CallInvoker.AsyncUnaryCall(__Method_StudentLogout, null, options, request);
  530. }
  531. /// <summary>
  532. /// 查询所有学生信息
  533. /// </summary>
  534. /// <param name="request">The request to send to the server.</param>
  535. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  536. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  537. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  538. /// <returns>The response received from the server.</returns>
  539. public virtual global::SearchInfoResponse AllStudentInfoSearch(global::SearchAllRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  540. {
  541. return AllStudentInfoSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  542. }
  543. /// <summary>
  544. /// 查询所有学生信息
  545. /// </summary>
  546. /// <param name="request">The request to send to the server.</param>
  547. /// <param name="options">The options for the call.</param>
  548. /// <returns>The response received from the server.</returns>
  549. public virtual global::SearchInfoResponse AllStudentInfoSearch(global::SearchAllRequest request, grpc::CallOptions options)
  550. {
  551. return CallInvoker.BlockingUnaryCall(__Method_AllStudentInfoSearch, null, options, request);
  552. }
  553. /// <summary>
  554. /// 查询所有学生信息
  555. /// </summary>
  556. /// <param name="request">The request to send to the server.</param>
  557. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  558. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  559. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  560. /// <returns>The call object.</returns>
  561. public virtual grpc::AsyncUnaryCall<global::SearchInfoResponse> AllStudentInfoSearchAsync(global::SearchAllRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  562. {
  563. return AllStudentInfoSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  564. }
  565. /// <summary>
  566. /// 查询所有学生信息
  567. /// </summary>
  568. /// <param name="request">The request to send to the server.</param>
  569. /// <param name="options">The options for the call.</param>
  570. /// <returns>The call object.</returns>
  571. public virtual grpc::AsyncUnaryCall<global::SearchInfoResponse> AllStudentInfoSearchAsync(global::SearchAllRequest request, grpc::CallOptions options)
  572. {
  573. return CallInvoker.AsyncUnaryCall(__Method_AllStudentInfoSearch, null, options, request);
  574. }
  575. /// <summary>
  576. /// 查询所有成绩信息
  577. /// </summary>
  578. /// <param name="request">The request to send to the server.</param>
  579. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  580. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  581. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  582. /// <returns>The response received from the server.</returns>
  583. public virtual global::SearchScoreResponse AllStudentScoreSearch(global::SearchAllRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  584. {
  585. return AllStudentScoreSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  586. }
  587. /// <summary>
  588. /// 查询所有成绩信息
  589. /// </summary>
  590. /// <param name="request">The request to send to the server.</param>
  591. /// <param name="options">The options for the call.</param>
  592. /// <returns>The response received from the server.</returns>
  593. public virtual global::SearchScoreResponse AllStudentScoreSearch(global::SearchAllRequest request, grpc::CallOptions options)
  594. {
  595. return CallInvoker.BlockingUnaryCall(__Method_AllStudentScoreSearch, null, options, request);
  596. }
  597. /// <summary>
  598. /// 查询所有成绩信息
  599. /// </summary>
  600. /// <param name="request">The request to send to the server.</param>
  601. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  602. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  603. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  604. /// <returns>The call object.</returns>
  605. public virtual grpc::AsyncUnaryCall<global::SearchScoreResponse> AllStudentScoreSearchAsync(global::SearchAllRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  606. {
  607. return AllStudentScoreSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  608. }
  609. /// <summary>
  610. /// 查询所有成绩信息
  611. /// </summary>
  612. /// <param name="request">The request to send to the server.</param>
  613. /// <param name="options">The options for the call.</param>
  614. /// <returns>The call object.</returns>
  615. public virtual grpc::AsyncUnaryCall<global::SearchScoreResponse> AllStudentScoreSearchAsync(global::SearchAllRequest request, grpc::CallOptions options)
  616. {
  617. return CallInvoker.AsyncUnaryCall(__Method_AllStudentScoreSearch, null, options, request);
  618. }
  619. /// <summary>
  620. /// 查询所有练习时长信息
  621. /// </summary>
  622. /// <param name="request">The request to send to the server.</param>
  623. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  624. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  625. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  626. /// <returns>The response received from the server.</returns>
  627. public virtual global::SearchTimeResponse AllStudentTimeSearch(global::SearchAllRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  628. {
  629. return AllStudentTimeSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  630. }
  631. /// <summary>
  632. /// 查询所有练习时长信息
  633. /// </summary>
  634. /// <param name="request">The request to send to the server.</param>
  635. /// <param name="options">The options for the call.</param>
  636. /// <returns>The response received from the server.</returns>
  637. public virtual global::SearchTimeResponse AllStudentTimeSearch(global::SearchAllRequest request, grpc::CallOptions options)
  638. {
  639. return CallInvoker.BlockingUnaryCall(__Method_AllStudentTimeSearch, null, options, request);
  640. }
  641. /// <summary>
  642. /// 查询所有练习时长信息
  643. /// </summary>
  644. /// <param name="request">The request to send to the server.</param>
  645. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  646. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  647. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  648. /// <returns>The call object.</returns>
  649. public virtual grpc::AsyncUnaryCall<global::SearchTimeResponse> AllStudentTimeSearchAsync(global::SearchAllRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  650. {
  651. return AllStudentTimeSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  652. }
  653. /// <summary>
  654. /// 查询所有练习时长信息
  655. /// </summary>
  656. /// <param name="request">The request to send to the server.</param>
  657. /// <param name="options">The options for the call.</param>
  658. /// <returns>The call object.</returns>
  659. public virtual grpc::AsyncUnaryCall<global::SearchTimeResponse> AllStudentTimeSearchAsync(global::SearchAllRequest request, grpc::CallOptions options)
  660. {
  661. return CallInvoker.AsyncUnaryCall(__Method_AllStudentTimeSearch, null, options, request);
  662. }
  663. /// <summary>
  664. /// 学生信息条件查询
  665. /// </summary>
  666. /// <param name="request">The request to send to the server.</param>
  667. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  668. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  669. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  670. /// <returns>The response received from the server.</returns>
  671. public virtual global::SearchInfoResponse StudentInfoSearch(global::SearchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  672. {
  673. return StudentInfoSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  674. }
  675. /// <summary>
  676. /// 学生信息条件查询
  677. /// </summary>
  678. /// <param name="request">The request to send to the server.</param>
  679. /// <param name="options">The options for the call.</param>
  680. /// <returns>The response received from the server.</returns>
  681. public virtual global::SearchInfoResponse StudentInfoSearch(global::SearchRequest request, grpc::CallOptions options)
  682. {
  683. return CallInvoker.BlockingUnaryCall(__Method_StudentInfoSearch, null, options, request);
  684. }
  685. /// <summary>
  686. /// 学生信息条件查询
  687. /// </summary>
  688. /// <param name="request">The request to send to the server.</param>
  689. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  690. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  691. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  692. /// <returns>The call object.</returns>
  693. public virtual grpc::AsyncUnaryCall<global::SearchInfoResponse> StudentInfoSearchAsync(global::SearchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  694. {
  695. return StudentInfoSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  696. }
  697. /// <summary>
  698. /// 学生信息条件查询
  699. /// </summary>
  700. /// <param name="request">The request to send to the server.</param>
  701. /// <param name="options">The options for the call.</param>
  702. /// <returns>The call object.</returns>
  703. public virtual grpc::AsyncUnaryCall<global::SearchInfoResponse> StudentInfoSearchAsync(global::SearchRequest request, grpc::CallOptions options)
  704. {
  705. return CallInvoker.AsyncUnaryCall(__Method_StudentInfoSearch, null, options, request);
  706. }
  707. /// <summary>
  708. /// 学生成绩条件查询
  709. /// </summary>
  710. /// <param name="request">The request to send to the server.</param>
  711. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  712. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  713. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  714. /// <returns>The response received from the server.</returns>
  715. public virtual global::SearchScoreResponse StudentScoreSearch(global::SearchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  716. {
  717. return StudentScoreSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  718. }
  719. /// <summary>
  720. /// 学生成绩条件查询
  721. /// </summary>
  722. /// <param name="request">The request to send to the server.</param>
  723. /// <param name="options">The options for the call.</param>
  724. /// <returns>The response received from the server.</returns>
  725. public virtual global::SearchScoreResponse StudentScoreSearch(global::SearchRequest request, grpc::CallOptions options)
  726. {
  727. return CallInvoker.BlockingUnaryCall(__Method_StudentScoreSearch, null, options, request);
  728. }
  729. /// <summary>
  730. /// 学生成绩条件查询
  731. /// </summary>
  732. /// <param name="request">The request to send to the server.</param>
  733. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  734. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  735. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  736. /// <returns>The call object.</returns>
  737. public virtual grpc::AsyncUnaryCall<global::SearchScoreResponse> StudentScoreSearchAsync(global::SearchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  738. {
  739. return StudentScoreSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  740. }
  741. /// <summary>
  742. /// 学生成绩条件查询
  743. /// </summary>
  744. /// <param name="request">The request to send to the server.</param>
  745. /// <param name="options">The options for the call.</param>
  746. /// <returns>The call object.</returns>
  747. public virtual grpc::AsyncUnaryCall<global::SearchScoreResponse> StudentScoreSearchAsync(global::SearchRequest request, grpc::CallOptions options)
  748. {
  749. return CallInvoker.AsyncUnaryCall(__Method_StudentScoreSearch, null, options, request);
  750. }
  751. /// <summary>
  752. /// 学生时长统计条件查询
  753. /// </summary>
  754. /// <param name="request">The request to send to the server.</param>
  755. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  756. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  757. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  758. /// <returns>The response received from the server.</returns>
  759. public virtual global::SearchTimeResponse StudentTimeSearch(global::SearchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  760. {
  761. return StudentTimeSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  762. }
  763. /// <summary>
  764. /// 学生时长统计条件查询
  765. /// </summary>
  766. /// <param name="request">The request to send to the server.</param>
  767. /// <param name="options">The options for the call.</param>
  768. /// <returns>The response received from the server.</returns>
  769. public virtual global::SearchTimeResponse StudentTimeSearch(global::SearchRequest request, grpc::CallOptions options)
  770. {
  771. return CallInvoker.BlockingUnaryCall(__Method_StudentTimeSearch, null, options, request);
  772. }
  773. /// <summary>
  774. /// 学生时长统计条件查询
  775. /// </summary>
  776. /// <param name="request">The request to send to the server.</param>
  777. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  778. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  779. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  780. /// <returns>The call object.</returns>
  781. public virtual grpc::AsyncUnaryCall<global::SearchTimeResponse> StudentTimeSearchAsync(global::SearchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  782. {
  783. return StudentTimeSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  784. }
  785. /// <summary>
  786. /// 学生时长统计条件查询
  787. /// </summary>
  788. /// <param name="request">The request to send to the server.</param>
  789. /// <param name="options">The options for the call.</param>
  790. /// <returns>The call object.</returns>
  791. public virtual grpc::AsyncUnaryCall<global::SearchTimeResponse> StudentTimeSearchAsync(global::SearchRequest request, grpc::CallOptions options)
  792. {
  793. return CallInvoker.AsyncUnaryCall(__Method_StudentTimeSearch, null, options, request);
  794. }
  795. /// <summary>
  796. /// 学生信息注册
  797. /// </summary>
  798. /// <param name="request">The request to send to the server.</param>
  799. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  800. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  801. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  802. /// <returns>The response received from the server.</returns>
  803. public virtual global::StudentRegisterResponse StudentRegister(global::StudentRegisterRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  804. {
  805. return StudentRegister(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  806. }
  807. /// <summary>
  808. /// 学生信息注册
  809. /// </summary>
  810. /// <param name="request">The request to send to the server.</param>
  811. /// <param name="options">The options for the call.</param>
  812. /// <returns>The response received from the server.</returns>
  813. public virtual global::StudentRegisterResponse StudentRegister(global::StudentRegisterRequest request, grpc::CallOptions options)
  814. {
  815. return CallInvoker.BlockingUnaryCall(__Method_StudentRegister, null, options, request);
  816. }
  817. /// <summary>
  818. /// 学生信息注册
  819. /// </summary>
  820. /// <param name="request">The request to send to the server.</param>
  821. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  822. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  823. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  824. /// <returns>The call object.</returns>
  825. public virtual grpc::AsyncUnaryCall<global::StudentRegisterResponse> StudentRegisterAsync(global::StudentRegisterRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  826. {
  827. return StudentRegisterAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  828. }
  829. /// <summary>
  830. /// 学生信息注册
  831. /// </summary>
  832. /// <param name="request">The request to send to the server.</param>
  833. /// <param name="options">The options for the call.</param>
  834. /// <returns>The call object.</returns>
  835. public virtual grpc::AsyncUnaryCall<global::StudentRegisterResponse> StudentRegisterAsync(global::StudentRegisterRequest request, grpc::CallOptions options)
  836. {
  837. return CallInvoker.AsyncUnaryCall(__Method_StudentRegister, null, options, request);
  838. }
  839. /// <summary>
  840. /// 删除学生信息
  841. /// </summary>
  842. /// <param name="request">The request to send to the server.</param>
  843. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  844. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  845. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  846. /// <returns>The response received from the server.</returns>
  847. public virtual global::DeleteBatchResponse DeleteBatchStudentInfo(global::DeleteBatchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  848. {
  849. return DeleteBatchStudentInfo(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  850. }
  851. /// <summary>
  852. /// 删除学生信息
  853. /// </summary>
  854. /// <param name="request">The request to send to the server.</param>
  855. /// <param name="options">The options for the call.</param>
  856. /// <returns>The response received from the server.</returns>
  857. public virtual global::DeleteBatchResponse DeleteBatchStudentInfo(global::DeleteBatchRequest request, grpc::CallOptions options)
  858. {
  859. return CallInvoker.BlockingUnaryCall(__Method_DeleteBatchStudentInfo, null, options, request);
  860. }
  861. /// <summary>
  862. /// 删除学生信息
  863. /// </summary>
  864. /// <param name="request">The request to send to the server.</param>
  865. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  866. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  867. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  868. /// <returns>The call object.</returns>
  869. public virtual grpc::AsyncUnaryCall<global::DeleteBatchResponse> DeleteBatchStudentInfoAsync(global::DeleteBatchRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  870. {
  871. return DeleteBatchStudentInfoAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  872. }
  873. /// <summary>
  874. /// 删除学生信息
  875. /// </summary>
  876. /// <param name="request">The request to send to the server.</param>
  877. /// <param name="options">The options for the call.</param>
  878. /// <returns>The call object.</returns>
  879. public virtual grpc::AsyncUnaryCall<global::DeleteBatchResponse> DeleteBatchStudentInfoAsync(global::DeleteBatchRequest request, grpc::CallOptions options)
  880. {
  881. return CallInvoker.AsyncUnaryCall(__Method_DeleteBatchStudentInfo, null, options, request);
  882. }
  883. /// <summary>
  884. /// 学生信息更新
  885. /// </summary>
  886. /// <param name="request">The request to send to the server.</param>
  887. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  888. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  889. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  890. /// <returns>The response received from the server.</returns>
  891. public virtual global::OperateResponse StudentInfoUpdate(global::StudentInfo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  892. {
  893. return StudentInfoUpdate(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  894. }
  895. /// <summary>
  896. /// 学生信息更新
  897. /// </summary>
  898. /// <param name="request">The request to send to the server.</param>
  899. /// <param name="options">The options for the call.</param>
  900. /// <returns>The response received from the server.</returns>
  901. public virtual global::OperateResponse StudentInfoUpdate(global::StudentInfo request, grpc::CallOptions options)
  902. {
  903. return CallInvoker.BlockingUnaryCall(__Method_StudentInfoUpdate, null, options, request);
  904. }
  905. /// <summary>
  906. /// 学生信息更新
  907. /// </summary>
  908. /// <param name="request">The request to send to the server.</param>
  909. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  910. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  911. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  912. /// <returns>The call object.</returns>
  913. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentInfoUpdateAsync(global::StudentInfo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  914. {
  915. return StudentInfoUpdateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  916. }
  917. /// <summary>
  918. /// 学生信息更新
  919. /// </summary>
  920. /// <param name="request">The request to send to the server.</param>
  921. /// <param name="options">The options for the call.</param>
  922. /// <returns>The call object.</returns>
  923. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentInfoUpdateAsync(global::StudentInfo request, grpc::CallOptions options)
  924. {
  925. return CallInvoker.AsyncUnaryCall(__Method_StudentInfoUpdate, null, options, request);
  926. }
  927. /// <summary>
  928. /// 用户验证
  929. /// </summary>
  930. /// <param name="request">The request to send to the server.</param>
  931. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  932. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  933. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  934. /// <returns>The response received from the server.</returns>
  935. public virtual global::OperateResponse UserAuthentication(global::StudentInfo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  936. {
  937. return UserAuthentication(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  938. }
  939. /// <summary>
  940. /// 用户验证
  941. /// </summary>
  942. /// <param name="request">The request to send to the server.</param>
  943. /// <param name="options">The options for the call.</param>
  944. /// <returns>The response received from the server.</returns>
  945. public virtual global::OperateResponse UserAuthentication(global::StudentInfo request, grpc::CallOptions options)
  946. {
  947. return CallInvoker.BlockingUnaryCall(__Method_UserAuthentication, null, options, request);
  948. }
  949. /// <summary>
  950. /// 用户验证
  951. /// </summary>
  952. /// <param name="request">The request to send to the server.</param>
  953. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  954. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  955. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  956. /// <returns>The call object.</returns>
  957. public virtual grpc::AsyncUnaryCall<global::OperateResponse> UserAuthenticationAsync(global::StudentInfo request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  958. {
  959. return UserAuthenticationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  960. }
  961. /// <summary>
  962. /// 用户验证
  963. /// </summary>
  964. /// <param name="request">The request to send to the server.</param>
  965. /// <param name="options">The options for the call.</param>
  966. /// <returns>The call object.</returns>
  967. public virtual grpc::AsyncUnaryCall<global::OperateResponse> UserAuthenticationAsync(global::StudentInfo request, grpc::CallOptions options)
  968. {
  969. return CallInvoker.AsyncUnaryCall(__Method_UserAuthentication, null, options, request);
  970. }
  971. /// <summary>
  972. /// 学生登录密码更新
  973. /// </summary>
  974. /// <param name="request">The request to send to the server.</param>
  975. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  976. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  977. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  978. /// <returns>The response received from the server.</returns>
  979. public virtual global::OperateResponse StudentPwdUpdate(global::StudentLoginRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  980. {
  981. return StudentPwdUpdate(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  982. }
  983. /// <summary>
  984. /// 学生登录密码更新
  985. /// </summary>
  986. /// <param name="request">The request to send to the server.</param>
  987. /// <param name="options">The options for the call.</param>
  988. /// <returns>The response received from the server.</returns>
  989. public virtual global::OperateResponse StudentPwdUpdate(global::StudentLoginRequest request, grpc::CallOptions options)
  990. {
  991. return CallInvoker.BlockingUnaryCall(__Method_StudentPwdUpdate, null, options, request);
  992. }
  993. /// <summary>
  994. /// 学生登录密码更新
  995. /// </summary>
  996. /// <param name="request">The request to send to the server.</param>
  997. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  998. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  999. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1000. /// <returns>The call object.</returns>
  1001. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentPwdUpdateAsync(global::StudentLoginRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1002. {
  1003. return StudentPwdUpdateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1004. }
  1005. /// <summary>
  1006. /// 学生登录密码更新
  1007. /// </summary>
  1008. /// <param name="request">The request to send to the server.</param>
  1009. /// <param name="options">The options for the call.</param>
  1010. /// <returns>The call object.</returns>
  1011. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentPwdUpdateAsync(global::StudentLoginRequest request, grpc::CallOptions options)
  1012. {
  1013. return CallInvoker.AsyncUnaryCall(__Method_StudentPwdUpdate, null, options, request);
  1014. }
  1015. /// <summary>
  1016. /// 学生成绩增加
  1017. /// </summary>
  1018. /// <param name="request">The request to send to the server.</param>
  1019. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1020. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1021. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1022. /// <returns>The response received from the server.</returns>
  1023. public virtual global::OperateResponse StudentScoreAdd(global::StudentScore request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1024. {
  1025. return StudentScoreAdd(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1026. }
  1027. /// <summary>
  1028. /// 学生成绩增加
  1029. /// </summary>
  1030. /// <param name="request">The request to send to the server.</param>
  1031. /// <param name="options">The options for the call.</param>
  1032. /// <returns>The response received from the server.</returns>
  1033. public virtual global::OperateResponse StudentScoreAdd(global::StudentScore request, grpc::CallOptions options)
  1034. {
  1035. return CallInvoker.BlockingUnaryCall(__Method_StudentScoreAdd, null, options, request);
  1036. }
  1037. /// <summary>
  1038. /// 学生成绩增加
  1039. /// </summary>
  1040. /// <param name="request">The request to send to the server.</param>
  1041. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1042. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1043. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1044. /// <returns>The call object.</returns>
  1045. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentScoreAddAsync(global::StudentScore request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1046. {
  1047. return StudentScoreAddAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1048. }
  1049. /// <summary>
  1050. /// 学生成绩增加
  1051. /// </summary>
  1052. /// <param name="request">The request to send to the server.</param>
  1053. /// <param name="options">The options for the call.</param>
  1054. /// <returns>The call object.</returns>
  1055. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentScoreAddAsync(global::StudentScore request, grpc::CallOptions options)
  1056. {
  1057. return CallInvoker.AsyncUnaryCall(__Method_StudentScoreAdd, null, options, request);
  1058. }
  1059. /// <summary>
  1060. /// 学生时长信息添加
  1061. /// </summary>
  1062. /// <param name="request">The request to send to the server.</param>
  1063. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1064. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1065. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1066. /// <returns>The response received from the server.</returns>
  1067. public virtual global::OperateResponse StudentTimeAdd(global::StudentTime request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1068. {
  1069. return StudentTimeAdd(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1070. }
  1071. /// <summary>
  1072. /// 学生时长信息添加
  1073. /// </summary>
  1074. /// <param name="request">The request to send to the server.</param>
  1075. /// <param name="options">The options for the call.</param>
  1076. /// <returns>The response received from the server.</returns>
  1077. public virtual global::OperateResponse StudentTimeAdd(global::StudentTime request, grpc::CallOptions options)
  1078. {
  1079. return CallInvoker.BlockingUnaryCall(__Method_StudentTimeAdd, null, options, request);
  1080. }
  1081. /// <summary>
  1082. /// 学生时长信息添加
  1083. /// </summary>
  1084. /// <param name="request">The request to send to the server.</param>
  1085. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1086. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1087. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1088. /// <returns>The call object.</returns>
  1089. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentTimeAddAsync(global::StudentTime request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1090. {
  1091. return StudentTimeAddAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1092. }
  1093. /// <summary>
  1094. /// 学生时长信息添加
  1095. /// </summary>
  1096. /// <param name="request">The request to send to the server.</param>
  1097. /// <param name="options">The options for the call.</param>
  1098. /// <returns>The call object.</returns>
  1099. public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentTimeAddAsync(global::StudentTime request, grpc::CallOptions options)
  1100. {
  1101. return CallInvoker.AsyncUnaryCall(__Method_StudentTimeAdd, null, options, request);
  1102. }
  1103. /// <summary>
  1104. /// 查询所有专业信息
  1105. /// </summary>
  1106. /// <param name="request">The request to send to the server.</param>
  1107. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1108. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1109. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1110. /// <returns>The response received from the server.</returns>
  1111. public virtual global::MajorsInfosResponse GetAllMajorsInfos(global::MajorsInfosRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1112. {
  1113. return GetAllMajorsInfos(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1114. }
  1115. /// <summary>
  1116. /// 查询所有专业信息
  1117. /// </summary>
  1118. /// <param name="request">The request to send to the server.</param>
  1119. /// <param name="options">The options for the call.</param>
  1120. /// <returns>The response received from the server.</returns>
  1121. public virtual global::MajorsInfosResponse GetAllMajorsInfos(global::MajorsInfosRequest request, grpc::CallOptions options)
  1122. {
  1123. return CallInvoker.BlockingUnaryCall(__Method_GetAllMajorsInfos, null, options, request);
  1124. }
  1125. /// <summary>
  1126. /// 查询所有专业信息
  1127. /// </summary>
  1128. /// <param name="request">The request to send to the server.</param>
  1129. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1130. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1131. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1132. /// <returns>The call object.</returns>
  1133. public virtual grpc::AsyncUnaryCall<global::MajorsInfosResponse> GetAllMajorsInfosAsync(global::MajorsInfosRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1134. {
  1135. return GetAllMajorsInfosAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1136. }
  1137. /// <summary>
  1138. /// 查询所有专业信息
  1139. /// </summary>
  1140. /// <param name="request">The request to send to the server.</param>
  1141. /// <param name="options">The options for the call.</param>
  1142. /// <returns>The call object.</returns>
  1143. public virtual grpc::AsyncUnaryCall<global::MajorsInfosResponse> GetAllMajorsInfosAsync(global::MajorsInfosRequest request, grpc::CallOptions options)
  1144. {
  1145. return CallInvoker.AsyncUnaryCall(__Method_GetAllMajorsInfos, null, options, request);
  1146. }
  1147. /// <summary>
  1148. /// 查询所有课程信息
  1149. /// </summary>
  1150. /// <param name="request">The request to send to the server.</param>
  1151. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1152. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1153. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1154. /// <returns>The response received from the server.</returns>
  1155. public virtual global::CourseInfosResponse GetAllCourseInfos(global::CourseInfosRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1156. {
  1157. return GetAllCourseInfos(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1158. }
  1159. /// <summary>
  1160. /// 查询所有课程信息
  1161. /// </summary>
  1162. /// <param name="request">The request to send to the server.</param>
  1163. /// <param name="options">The options for the call.</param>
  1164. /// <returns>The response received from the server.</returns>
  1165. public virtual global::CourseInfosResponse GetAllCourseInfos(global::CourseInfosRequest request, grpc::CallOptions options)
  1166. {
  1167. return CallInvoker.BlockingUnaryCall(__Method_GetAllCourseInfos, null, options, request);
  1168. }
  1169. /// <summary>
  1170. /// 查询所有课程信息
  1171. /// </summary>
  1172. /// <param name="request">The request to send to the server.</param>
  1173. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1174. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1175. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1176. /// <returns>The call object.</returns>
  1177. public virtual grpc::AsyncUnaryCall<global::CourseInfosResponse> GetAllCourseInfosAsync(global::CourseInfosRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1178. {
  1179. return GetAllCourseInfosAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1180. }
  1181. /// <summary>
  1182. /// 查询所有课程信息
  1183. /// </summary>
  1184. /// <param name="request">The request to send to the server.</param>
  1185. /// <param name="options">The options for the call.</param>
  1186. /// <returns>The call object.</returns>
  1187. public virtual grpc::AsyncUnaryCall<global::CourseInfosResponse> GetAllCourseInfosAsync(global::CourseInfosRequest request, grpc::CallOptions options)
  1188. {
  1189. return CallInvoker.AsyncUnaryCall(__Method_GetAllCourseInfos, null, options, request);
  1190. }
  1191. /// <summary>
  1192. /// 查询所有班级信息
  1193. /// </summary>
  1194. /// <param name="request">The request to send to the server.</param>
  1195. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1196. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1197. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1198. /// <returns>The response received from the server.</returns>
  1199. public virtual global::ClassInfosResponse GetAllClassInfos(global::ClassInfosRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1200. {
  1201. return GetAllClassInfos(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1202. }
  1203. /// <summary>
  1204. /// 查询所有班级信息
  1205. /// </summary>
  1206. /// <param name="request">The request to send to the server.</param>
  1207. /// <param name="options">The options for the call.</param>
  1208. /// <returns>The response received from the server.</returns>
  1209. public virtual global::ClassInfosResponse GetAllClassInfos(global::ClassInfosRequest request, grpc::CallOptions options)
  1210. {
  1211. return CallInvoker.BlockingUnaryCall(__Method_GetAllClassInfos, null, options, request);
  1212. }
  1213. /// <summary>
  1214. /// 查询所有班级信息
  1215. /// </summary>
  1216. /// <param name="request">The request to send to the server.</param>
  1217. /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
  1218. /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
  1219. /// <param name="cancellationToken">An optional token for canceling the call.</param>
  1220. /// <returns>The call object.</returns>
  1221. public virtual grpc::AsyncUnaryCall<global::ClassInfosResponse> GetAllClassInfosAsync(global::ClassInfosRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
  1222. {
  1223. return GetAllClassInfosAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
  1224. }
  1225. /// <summary>
  1226. /// 查询所有班级信息
  1227. /// </summary>
  1228. /// <param name="request">The request to send to the server.</param>
  1229. /// <param name="options">The options for the call.</param>
  1230. /// <returns>The call object.</returns>
  1231. public virtual grpc::AsyncUnaryCall<global::ClassInfosResponse> GetAllClassInfosAsync(global::ClassInfosRequest request, grpc::CallOptions options)
  1232. {
  1233. return CallInvoker.AsyncUnaryCall(__Method_GetAllClassInfos, null, options, request);
  1234. }
  1235. /// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
  1236. protected override OperateClient NewInstance(ClientBaseConfiguration configuration)
  1237. {
  1238. return new OperateClient(configuration);
  1239. }
  1240. }
  1241. /// <summary>Creates service definition that can be registered with a server</summary>
  1242. /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
  1243. public static grpc::ServerServiceDefinition BindService(OperateBase serviceImpl)
  1244. {
  1245. return grpc::ServerServiceDefinition.CreateBuilder()
  1246. .AddMethod(__Method_Login, serviceImpl.Login)
  1247. .AddMethod(__Method_StudentLogin, serviceImpl.StudentLogin)
  1248. .AddMethod(__Method_StudentLogout, serviceImpl.StudentLogout)
  1249. .AddMethod(__Method_AllStudentInfoSearch, serviceImpl.AllStudentInfoSearch)
  1250. .AddMethod(__Method_AllStudentScoreSearch, serviceImpl.AllStudentScoreSearch)
  1251. .AddMethod(__Method_AllStudentTimeSearch, serviceImpl.AllStudentTimeSearch)
  1252. .AddMethod(__Method_StudentInfoSearch, serviceImpl.StudentInfoSearch)
  1253. .AddMethod(__Method_StudentScoreSearch, serviceImpl.StudentScoreSearch)
  1254. .AddMethod(__Method_StudentTimeSearch, serviceImpl.StudentTimeSearch)
  1255. .AddMethod(__Method_StudentRegister, serviceImpl.StudentRegister)
  1256. .AddMethod(__Method_DeleteBatchStudentInfo, serviceImpl.DeleteBatchStudentInfo)
  1257. .AddMethod(__Method_StudentInfoUpdate, serviceImpl.StudentInfoUpdate)
  1258. .AddMethod(__Method_UserAuthentication, serviceImpl.UserAuthentication)
  1259. .AddMethod(__Method_StudentPwdUpdate, serviceImpl.StudentPwdUpdate)
  1260. .AddMethod(__Method_StudentScoreAdd, serviceImpl.StudentScoreAdd)
  1261. .AddMethod(__Method_StudentTimeAdd, serviceImpl.StudentTimeAdd)
  1262. .AddMethod(__Method_GetAllMajorsInfos, serviceImpl.GetAllMajorsInfos)
  1263. .AddMethod(__Method_GetAllCourseInfos, serviceImpl.GetAllCourseInfos)
  1264. .AddMethod(__Method_GetAllClassInfos, serviceImpl.GetAllClassInfos).Build();
  1265. }
  1266. /// <summary>Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
  1267. /// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
  1268. /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
  1269. /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
  1270. public static void BindService(grpc::ServiceBinderBase serviceBinder, OperateBase serviceImpl)
  1271. {
  1272. serviceBinder.AddMethod(__Method_Login, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::LoginRequest, global::LoginResponse>(serviceImpl.Login));
  1273. serviceBinder.AddMethod(__Method_StudentLogin, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentLoginRequest, global::StudentLoginResponse>(serviceImpl.StudentLogin));
  1274. serviceBinder.AddMethod(__Method_StudentLogout, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentLogoutRequest, global::StudentLogoutResponse>(serviceImpl.StudentLogout));
  1275. serviceBinder.AddMethod(__Method_AllStudentInfoSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchAllRequest, global::SearchInfoResponse>(serviceImpl.AllStudentInfoSearch));
  1276. serviceBinder.AddMethod(__Method_AllStudentScoreSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchAllRequest, global::SearchScoreResponse>(serviceImpl.AllStudentScoreSearch));
  1277. serviceBinder.AddMethod(__Method_AllStudentTimeSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchAllRequest, global::SearchTimeResponse>(serviceImpl.AllStudentTimeSearch));
  1278. serviceBinder.AddMethod(__Method_StudentInfoSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchRequest, global::SearchInfoResponse>(serviceImpl.StudentInfoSearch));
  1279. serviceBinder.AddMethod(__Method_StudentScoreSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchRequest, global::SearchScoreResponse>(serviceImpl.StudentScoreSearch));
  1280. serviceBinder.AddMethod(__Method_StudentTimeSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchRequest, global::SearchTimeResponse>(serviceImpl.StudentTimeSearch));
  1281. serviceBinder.AddMethod(__Method_StudentRegister, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentRegisterRequest, global::StudentRegisterResponse>(serviceImpl.StudentRegister));
  1282. serviceBinder.AddMethod(__Method_DeleteBatchStudentInfo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::DeleteBatchRequest, global::DeleteBatchResponse>(serviceImpl.DeleteBatchStudentInfo));
  1283. serviceBinder.AddMethod(__Method_StudentInfoUpdate, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentInfo, global::OperateResponse>(serviceImpl.StudentInfoUpdate));
  1284. serviceBinder.AddMethod(__Method_UserAuthentication, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentInfo, global::OperateResponse>(serviceImpl.UserAuthentication));
  1285. serviceBinder.AddMethod(__Method_StudentPwdUpdate, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentLoginRequest, global::OperateResponse>(serviceImpl.StudentPwdUpdate));
  1286. serviceBinder.AddMethod(__Method_StudentScoreAdd, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentScore, global::OperateResponse>(serviceImpl.StudentScoreAdd));
  1287. serviceBinder.AddMethod(__Method_StudentTimeAdd, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentTime, global::OperateResponse>(serviceImpl.StudentTimeAdd));
  1288. serviceBinder.AddMethod(__Method_GetAllMajorsInfos, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::MajorsInfosRequest, global::MajorsInfosResponse>(serviceImpl.GetAllMajorsInfos));
  1289. serviceBinder.AddMethod(__Method_GetAllCourseInfos, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::CourseInfosRequest, global::CourseInfosResponse>(serviceImpl.GetAllCourseInfos));
  1290. serviceBinder.AddMethod(__Method_GetAllClassInfos, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::ClassInfosRequest, global::ClassInfosResponse>(serviceImpl.GetAllClassInfos));
  1291. }
  1292. }
  1293. #endregion