123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: Protos/OperateInfoGreer.proto
- // </auto-generated>
- #pragma warning disable 0414, 1591
- #region Designer generated code
- using grpc = global::Grpc.Core;
- public static partial class Operate
- {
- static readonly string __ServiceName = "Operate";
- static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context)
- {
- #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
- if (message is global::Google.Protobuf.IBufferMessage)
- {
- context.SetPayloadLength(message.CalculateSize());
- global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter());
- context.Complete();
- return;
- }
- #endif
- context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message));
- }
- static class __Helper_MessageCache<T>
- {
- public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T));
- }
- static T __Helper_DeserializeMessage<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
- {
- #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
- if (__Helper_MessageCache<T>.IsBufferMessage)
- {
- return parser.ParseFrom(context.PayloadAsReadOnlySequence());
- }
- #endif
- return parser.ParseFrom(context.PayloadAsNewBuffer());
- }
- static readonly grpc::Marshaller<global::LoginRequest> __Marshaller_LoginRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::LoginRequest.Parser));
- static readonly grpc::Marshaller<global::LoginResponse> __Marshaller_LoginResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::LoginResponse.Parser));
- static readonly grpc::Marshaller<global::StudentLoginRequest> __Marshaller_StudentLoginRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLoginRequest.Parser));
- static readonly grpc::Marshaller<global::StudentLoginResponse> __Marshaller_StudentLoginResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLoginResponse.Parser));
- static readonly grpc::Marshaller<global::StudentLogoutRequest> __Marshaller_StudentLogoutRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLogoutRequest.Parser));
- static readonly grpc::Marshaller<global::StudentLogoutResponse> __Marshaller_StudentLogoutResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentLogoutResponse.Parser));
- static readonly grpc::Marshaller<global::SearchAllRequest> __Marshaller_SearchAllRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchAllRequest.Parser));
- static readonly grpc::Marshaller<global::SearchInfoResponse> __Marshaller_SearchInfoResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchInfoResponse.Parser));
- static readonly grpc::Marshaller<global::SearchScoreResponse> __Marshaller_SearchScoreResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchScoreResponse.Parser));
- static readonly grpc::Marshaller<global::SearchTimeResponse> __Marshaller_SearchTimeResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchTimeResponse.Parser));
- static readonly grpc::Marshaller<global::SearchRequest> __Marshaller_SearchRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::SearchRequest.Parser));
- static readonly grpc::Marshaller<global::StudentRegisterRequest> __Marshaller_StudentRegisterRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentRegisterRequest.Parser));
- static readonly grpc::Marshaller<global::StudentRegisterResponse> __Marshaller_StudentRegisterResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentRegisterResponse.Parser));
- static readonly grpc::Marshaller<global::DeleteBatchRequest> __Marshaller_DeleteBatchRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::DeleteBatchRequest.Parser));
- static readonly grpc::Marshaller<global::DeleteBatchResponse> __Marshaller_DeleteBatchResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::DeleteBatchResponse.Parser));
- static readonly grpc::Marshaller<global::StudentInfo> __Marshaller_StudentInfo = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentInfo.Parser));
- static readonly grpc::Marshaller<global::OperateResponse> __Marshaller_OperateResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::OperateResponse.Parser));
- static readonly grpc::Marshaller<global::StudentScore> __Marshaller_StudentScore = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentScore.Parser));
- static readonly grpc::Marshaller<global::StudentTime> __Marshaller_StudentTime = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::StudentTime.Parser));
- static readonly grpc::Marshaller<global::MajorsInfosRequest> __Marshaller_MajorsInfosRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::MajorsInfosRequest.Parser));
- static readonly grpc::Marshaller<global::MajorsInfosResponse> __Marshaller_MajorsInfosResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::MajorsInfosResponse.Parser));
- static readonly grpc::Marshaller<global::CourseInfosRequest> __Marshaller_CourseInfosRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::CourseInfosRequest.Parser));
- static readonly grpc::Marshaller<global::CourseInfosResponse> __Marshaller_CourseInfosResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::CourseInfosResponse.Parser));
- static readonly grpc::Marshaller<global::ClassInfosRequest> __Marshaller_ClassInfosRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ClassInfosRequest.Parser));
- static readonly grpc::Marshaller<global::ClassInfosResponse> __Marshaller_ClassInfosResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ClassInfosResponse.Parser));
- static readonly grpc::Method<global::LoginRequest, global::LoginResponse> __Method_Login = new grpc::Method<global::LoginRequest, global::LoginResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "Login",
- __Marshaller_LoginRequest,
- __Marshaller_LoginResponse);
- static readonly grpc::Method<global::StudentLoginRequest, global::StudentLoginResponse> __Method_StudentLogin = new grpc::Method<global::StudentLoginRequest, global::StudentLoginResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentLogin",
- __Marshaller_StudentLoginRequest,
- __Marshaller_StudentLoginResponse);
- static readonly grpc::Method<global::StudentLogoutRequest, global::StudentLogoutResponse> __Method_StudentLogout = new grpc::Method<global::StudentLogoutRequest, global::StudentLogoutResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentLogout",
- __Marshaller_StudentLogoutRequest,
- __Marshaller_StudentLogoutResponse);
- static readonly grpc::Method<global::SearchAllRequest, global::SearchInfoResponse> __Method_AllStudentInfoSearch = new grpc::Method<global::SearchAllRequest, global::SearchInfoResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "AllStudentInfoSearch",
- __Marshaller_SearchAllRequest,
- __Marshaller_SearchInfoResponse);
- static readonly grpc::Method<global::SearchAllRequest, global::SearchScoreResponse> __Method_AllStudentScoreSearch = new grpc::Method<global::SearchAllRequest, global::SearchScoreResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "AllStudentScoreSearch",
- __Marshaller_SearchAllRequest,
- __Marshaller_SearchScoreResponse);
- static readonly grpc::Method<global::SearchAllRequest, global::SearchTimeResponse> __Method_AllStudentTimeSearch = new grpc::Method<global::SearchAllRequest, global::SearchTimeResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "AllStudentTimeSearch",
- __Marshaller_SearchAllRequest,
- __Marshaller_SearchTimeResponse);
- static readonly grpc::Method<global::SearchRequest, global::SearchInfoResponse> __Method_StudentInfoSearch = new grpc::Method<global::SearchRequest, global::SearchInfoResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentInfoSearch",
- __Marshaller_SearchRequest,
- __Marshaller_SearchInfoResponse);
- static readonly grpc::Method<global::SearchRequest, global::SearchScoreResponse> __Method_StudentScoreSearch = new grpc::Method<global::SearchRequest, global::SearchScoreResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentScoreSearch",
- __Marshaller_SearchRequest,
- __Marshaller_SearchScoreResponse);
- static readonly grpc::Method<global::SearchRequest, global::SearchTimeResponse> __Method_StudentTimeSearch = new grpc::Method<global::SearchRequest, global::SearchTimeResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentTimeSearch",
- __Marshaller_SearchRequest,
- __Marshaller_SearchTimeResponse);
- static readonly grpc::Method<global::StudentRegisterRequest, global::StudentRegisterResponse> __Method_StudentRegister = new grpc::Method<global::StudentRegisterRequest, global::StudentRegisterResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentRegister",
- __Marshaller_StudentRegisterRequest,
- __Marshaller_StudentRegisterResponse);
- static readonly grpc::Method<global::DeleteBatchRequest, global::DeleteBatchResponse> __Method_DeleteBatchStudentInfo = new grpc::Method<global::DeleteBatchRequest, global::DeleteBatchResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "DeleteBatchStudentInfo",
- __Marshaller_DeleteBatchRequest,
- __Marshaller_DeleteBatchResponse);
- static readonly grpc::Method<global::StudentInfo, global::OperateResponse> __Method_StudentInfoUpdate = new grpc::Method<global::StudentInfo, global::OperateResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentInfoUpdate",
- __Marshaller_StudentInfo,
- __Marshaller_OperateResponse);
- static readonly grpc::Method<global::StudentInfo, global::OperateResponse> __Method_UserAuthentication = new grpc::Method<global::StudentInfo, global::OperateResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "UserAuthentication",
- __Marshaller_StudentInfo,
- __Marshaller_OperateResponse);
- static readonly grpc::Method<global::StudentLoginRequest, global::OperateResponse> __Method_StudentPwdUpdate = new grpc::Method<global::StudentLoginRequest, global::OperateResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentPwdUpdate",
- __Marshaller_StudentLoginRequest,
- __Marshaller_OperateResponse);
- static readonly grpc::Method<global::StudentScore, global::OperateResponse> __Method_StudentScoreAdd = new grpc::Method<global::StudentScore, global::OperateResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentScoreAdd",
- __Marshaller_StudentScore,
- __Marshaller_OperateResponse);
- static readonly grpc::Method<global::StudentTime, global::OperateResponse> __Method_StudentTimeAdd = new grpc::Method<global::StudentTime, global::OperateResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "StudentTimeAdd",
- __Marshaller_StudentTime,
- __Marshaller_OperateResponse);
- static readonly grpc::Method<global::MajorsInfosRequest, global::MajorsInfosResponse> __Method_GetAllMajorsInfos = new grpc::Method<global::MajorsInfosRequest, global::MajorsInfosResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "GetAllMajorsInfos",
- __Marshaller_MajorsInfosRequest,
- __Marshaller_MajorsInfosResponse);
- static readonly grpc::Method<global::CourseInfosRequest, global::CourseInfosResponse> __Method_GetAllCourseInfos = new grpc::Method<global::CourseInfosRequest, global::CourseInfosResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "GetAllCourseInfos",
- __Marshaller_CourseInfosRequest,
- __Marshaller_CourseInfosResponse);
- static readonly grpc::Method<global::ClassInfosRequest, global::ClassInfosResponse> __Method_GetAllClassInfos = new grpc::Method<global::ClassInfosRequest, global::ClassInfosResponse>(
- grpc::MethodType.Unary,
- __ServiceName,
- "GetAllClassInfos",
- __Marshaller_ClassInfosRequest,
- __Marshaller_ClassInfosResponse);
- /// <summary>Service descriptor</summary>
- public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
- {
- get { return global::OperateInfoGreerReflection.Descriptor.Services[0]; }
- }
- /// <summary>Base class for server-side implementations of Operate</summary>
- [grpc::BindServiceMethod(typeof(Operate), "BindService")]
- public abstract partial class OperateBase
- {
- /// <summary>
- /// 用户登录
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::LoginResponse> Login(global::LoginRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生登录
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::StudentLoginResponse> StudentLogin(global::StudentLoginRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生登出
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::StudentLogoutResponse> StudentLogout(global::StudentLogoutRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 查询所有学生信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::SearchInfoResponse> AllStudentInfoSearch(global::SearchAllRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 查询所有成绩信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::SearchScoreResponse> AllStudentScoreSearch(global::SearchAllRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 查询所有练习时长信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::SearchTimeResponse> AllStudentTimeSearch(global::SearchAllRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生信息条件查询
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::SearchInfoResponse> StudentInfoSearch(global::SearchRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生成绩条件查询
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::SearchScoreResponse> StudentScoreSearch(global::SearchRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生时长统计条件查询
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::SearchTimeResponse> StudentTimeSearch(global::SearchRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生信息注册
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::StudentRegisterResponse> StudentRegister(global::StudentRegisterRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 删除学生信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::DeleteBatchResponse> DeleteBatchStudentInfo(global::DeleteBatchRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生信息更新
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentInfoUpdate(global::StudentInfo request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 用户验证
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::OperateResponse> UserAuthentication(global::StudentInfo request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生登录密码更新
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentPwdUpdate(global::StudentLoginRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生成绩增加
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentScoreAdd(global::StudentScore request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 学生时长信息添加
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::OperateResponse> StudentTimeAdd(global::StudentTime request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 查询所有专业信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::MajorsInfosResponse> GetAllMajorsInfos(global::MajorsInfosRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 查询所有课程信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::CourseInfosResponse> GetAllCourseInfos(global::CourseInfosRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- /// <summary>
- /// 查询所有班级信息
- /// </summary>
- /// <param name="request">The request received from the client.</param>
- /// <param name="context">The context of the server-side call handler being invoked.</param>
- /// <returns>The response to send back to the client (wrapped by a task).</returns>
- public virtual global::System.Threading.Tasks.Task<global::ClassInfosResponse> GetAllClassInfos(global::ClassInfosRequest request, grpc::ServerCallContext context)
- {
- throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
- }
- }
- /// <summary>Client for Operate</summary>
- public partial class OperateClient : grpc::ClientBase<OperateClient>
- {
- /// <summary>Creates a new client for Operate</summary>
- /// <param name="channel">The channel to use to make remote calls.</param>
- public OperateClient(grpc::ChannelBase channel) : base(channel)
- {
- }
- /// <summary>Creates a new client for Operate that uses a custom <c>CallInvoker</c>.</summary>
- /// <param name="callInvoker">The callInvoker to use to make remote calls.</param>
- public OperateClient(grpc::CallInvoker callInvoker) : base(callInvoker)
- {
- }
- /// <summary>Protected parameterless constructor to allow creation of test doubles.</summary>
- protected OperateClient() : base()
- {
- }
- /// <summary>Protected constructor to allow creation of configured clients.</summary>
- /// <param name="configuration">The client configuration.</param>
- protected OperateClient(ClientBaseConfiguration configuration) : base(configuration)
- {
- }
- /// <summary>
- /// 用户登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return Login(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 用户登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::LoginResponse Login(global::LoginRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_Login, null, options, request);
- }
- /// <summary>
- /// 用户登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return LoginAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 用户登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::LoginResponse> LoginAsync(global::LoginRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_Login, null, options, request);
- }
- /// <summary>
- /// 学生登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentLogin(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::StudentLoginResponse StudentLogin(global::StudentLoginRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentLogin, null, options, request);
- }
- /// <summary>
- /// 学生登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentLoginAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生登录
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::StudentLoginResponse> StudentLoginAsync(global::StudentLoginRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentLogin, null, options, request);
- }
- /// <summary>
- /// 学生登出
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentLogout(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生登出
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::StudentLogoutResponse StudentLogout(global::StudentLogoutRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentLogout, null, options, request);
- }
- /// <summary>
- /// 学生登出
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentLogoutAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生登出
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::StudentLogoutResponse> StudentLogoutAsync(global::StudentLogoutRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentLogout, null, options, request);
- }
- /// <summary>
- /// 查询所有学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return AllStudentInfoSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::SearchInfoResponse AllStudentInfoSearch(global::SearchAllRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_AllStudentInfoSearch, null, options, request);
- }
- /// <summary>
- /// 查询所有学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return AllStudentInfoSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::SearchInfoResponse> AllStudentInfoSearchAsync(global::SearchAllRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_AllStudentInfoSearch, null, options, request);
- }
- /// <summary>
- /// 查询所有成绩信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return AllStudentScoreSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有成绩信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::SearchScoreResponse AllStudentScoreSearch(global::SearchAllRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_AllStudentScoreSearch, null, options, request);
- }
- /// <summary>
- /// 查询所有成绩信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return AllStudentScoreSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有成绩信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::SearchScoreResponse> AllStudentScoreSearchAsync(global::SearchAllRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_AllStudentScoreSearch, null, options, request);
- }
- /// <summary>
- /// 查询所有练习时长信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return AllStudentTimeSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有练习时长信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::SearchTimeResponse AllStudentTimeSearch(global::SearchAllRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_AllStudentTimeSearch, null, options, request);
- }
- /// <summary>
- /// 查询所有练习时长信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return AllStudentTimeSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有练习时长信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::SearchTimeResponse> AllStudentTimeSearchAsync(global::SearchAllRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_AllStudentTimeSearch, null, options, request);
- }
- /// <summary>
- /// 学生信息条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentInfoSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生信息条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::SearchInfoResponse StudentInfoSearch(global::SearchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentInfoSearch, null, options, request);
- }
- /// <summary>
- /// 学生信息条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentInfoSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生信息条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::SearchInfoResponse> StudentInfoSearchAsync(global::SearchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentInfoSearch, null, options, request);
- }
- /// <summary>
- /// 学生成绩条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentScoreSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生成绩条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::SearchScoreResponse StudentScoreSearch(global::SearchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentScoreSearch, null, options, request);
- }
- /// <summary>
- /// 学生成绩条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentScoreSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生成绩条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::SearchScoreResponse> StudentScoreSearchAsync(global::SearchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentScoreSearch, null, options, request);
- }
- /// <summary>
- /// 学生时长统计条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentTimeSearch(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生时长统计条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::SearchTimeResponse StudentTimeSearch(global::SearchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentTimeSearch, null, options, request);
- }
- /// <summary>
- /// 学生时长统计条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentTimeSearchAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生时长统计条件查询
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::SearchTimeResponse> StudentTimeSearchAsync(global::SearchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentTimeSearch, null, options, request);
- }
- /// <summary>
- /// 学生信息注册
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentRegister(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生信息注册
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::StudentRegisterResponse StudentRegister(global::StudentRegisterRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentRegister, null, options, request);
- }
- /// <summary>
- /// 学生信息注册
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentRegisterAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生信息注册
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::StudentRegisterResponse> StudentRegisterAsync(global::StudentRegisterRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentRegister, null, options, request);
- }
- /// <summary>
- /// 删除学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return DeleteBatchStudentInfo(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 删除学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::DeleteBatchResponse DeleteBatchStudentInfo(global::DeleteBatchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_DeleteBatchStudentInfo, null, options, request);
- }
- /// <summary>
- /// 删除学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return DeleteBatchStudentInfoAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 删除学生信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::DeleteBatchResponse> DeleteBatchStudentInfoAsync(global::DeleteBatchRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_DeleteBatchStudentInfo, null, options, request);
- }
- /// <summary>
- /// 学生信息更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentInfoUpdate(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生信息更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::OperateResponse StudentInfoUpdate(global::StudentInfo request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentInfoUpdate, null, options, request);
- }
- /// <summary>
- /// 学生信息更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentInfoUpdateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生信息更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentInfoUpdateAsync(global::StudentInfo request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentInfoUpdate, null, options, request);
- }
- /// <summary>
- /// 用户验证
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return UserAuthentication(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 用户验证
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::OperateResponse UserAuthentication(global::StudentInfo request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_UserAuthentication, null, options, request);
- }
- /// <summary>
- /// 用户验证
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return UserAuthenticationAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 用户验证
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::OperateResponse> UserAuthenticationAsync(global::StudentInfo request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_UserAuthentication, null, options, request);
- }
- /// <summary>
- /// 学生登录密码更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentPwdUpdate(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生登录密码更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::OperateResponse StudentPwdUpdate(global::StudentLoginRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentPwdUpdate, null, options, request);
- }
- /// <summary>
- /// 学生登录密码更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentPwdUpdateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生登录密码更新
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentPwdUpdateAsync(global::StudentLoginRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentPwdUpdate, null, options, request);
- }
- /// <summary>
- /// 学生成绩增加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentScoreAdd(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生成绩增加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::OperateResponse StudentScoreAdd(global::StudentScore request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentScoreAdd, null, options, request);
- }
- /// <summary>
- /// 学生成绩增加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentScoreAddAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生成绩增加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentScoreAddAsync(global::StudentScore request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentScoreAdd, null, options, request);
- }
- /// <summary>
- /// 学生时长信息添加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return StudentTimeAdd(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生时长信息添加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::OperateResponse StudentTimeAdd(global::StudentTime request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_StudentTimeAdd, null, options, request);
- }
- /// <summary>
- /// 学生时长信息添加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return StudentTimeAddAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 学生时长信息添加
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::OperateResponse> StudentTimeAddAsync(global::StudentTime request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_StudentTimeAdd, null, options, request);
- }
- /// <summary>
- /// 查询所有专业信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return GetAllMajorsInfos(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有专业信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::MajorsInfosResponse GetAllMajorsInfos(global::MajorsInfosRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_GetAllMajorsInfos, null, options, request);
- }
- /// <summary>
- /// 查询所有专业信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return GetAllMajorsInfosAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有专业信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::MajorsInfosResponse> GetAllMajorsInfosAsync(global::MajorsInfosRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_GetAllMajorsInfos, null, options, request);
- }
- /// <summary>
- /// 查询所有课程信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return GetAllCourseInfos(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有课程信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::CourseInfosResponse GetAllCourseInfos(global::CourseInfosRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_GetAllCourseInfos, null, options, request);
- }
- /// <summary>
- /// 查询所有课程信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return GetAllCourseInfosAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有课程信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::CourseInfosResponse> GetAllCourseInfosAsync(global::CourseInfosRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_GetAllCourseInfos, null, options, request);
- }
- /// <summary>
- /// 查询所有班级信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The response received from the server.</returns>
- 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))
- {
- return GetAllClassInfos(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有班级信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The response received from the server.</returns>
- public virtual global::ClassInfosResponse GetAllClassInfos(global::ClassInfosRequest request, grpc::CallOptions options)
- {
- return CallInvoker.BlockingUnaryCall(__Method_GetAllClassInfos, null, options, request);
- }
- /// <summary>
- /// 查询所有班级信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
- /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
- /// <param name="cancellationToken">An optional token for canceling the call.</param>
- /// <returns>The call object.</returns>
- 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))
- {
- return GetAllClassInfosAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
- }
- /// <summary>
- /// 查询所有班级信息
- /// </summary>
- /// <param name="request">The request to send to the server.</param>
- /// <param name="options">The options for the call.</param>
- /// <returns>The call object.</returns>
- public virtual grpc::AsyncUnaryCall<global::ClassInfosResponse> GetAllClassInfosAsync(global::ClassInfosRequest request, grpc::CallOptions options)
- {
- return CallInvoker.AsyncUnaryCall(__Method_GetAllClassInfos, null, options, request);
- }
- /// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary>
- protected override OperateClient NewInstance(ClientBaseConfiguration configuration)
- {
- return new OperateClient(configuration);
- }
- }
- /// <summary>Creates service definition that can be registered with a server</summary>
- /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
- public static grpc::ServerServiceDefinition BindService(OperateBase serviceImpl)
- {
- return grpc::ServerServiceDefinition.CreateBuilder()
- .AddMethod(__Method_Login, serviceImpl.Login)
- .AddMethod(__Method_StudentLogin, serviceImpl.StudentLogin)
- .AddMethod(__Method_StudentLogout, serviceImpl.StudentLogout)
- .AddMethod(__Method_AllStudentInfoSearch, serviceImpl.AllStudentInfoSearch)
- .AddMethod(__Method_AllStudentScoreSearch, serviceImpl.AllStudentScoreSearch)
- .AddMethod(__Method_AllStudentTimeSearch, serviceImpl.AllStudentTimeSearch)
- .AddMethod(__Method_StudentInfoSearch, serviceImpl.StudentInfoSearch)
- .AddMethod(__Method_StudentScoreSearch, serviceImpl.StudentScoreSearch)
- .AddMethod(__Method_StudentTimeSearch, serviceImpl.StudentTimeSearch)
- .AddMethod(__Method_StudentRegister, serviceImpl.StudentRegister)
- .AddMethod(__Method_DeleteBatchStudentInfo, serviceImpl.DeleteBatchStudentInfo)
- .AddMethod(__Method_StudentInfoUpdate, serviceImpl.StudentInfoUpdate)
- .AddMethod(__Method_UserAuthentication, serviceImpl.UserAuthentication)
- .AddMethod(__Method_StudentPwdUpdate, serviceImpl.StudentPwdUpdate)
- .AddMethod(__Method_StudentScoreAdd, serviceImpl.StudentScoreAdd)
- .AddMethod(__Method_StudentTimeAdd, serviceImpl.StudentTimeAdd)
- .AddMethod(__Method_GetAllMajorsInfos, serviceImpl.GetAllMajorsInfos)
- .AddMethod(__Method_GetAllCourseInfos, serviceImpl.GetAllCourseInfos)
- .AddMethod(__Method_GetAllClassInfos, serviceImpl.GetAllClassInfos).Build();
- }
- /// <summary>Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
- /// Note: this method is part of an experimental API that can change or be removed without any prior notice.</summary>
- /// <param name="serviceBinder">Service methods will be bound by calling <c>AddMethod</c> on this object.</param>
- /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
- public static void BindService(grpc::ServiceBinderBase serviceBinder, OperateBase serviceImpl)
- {
- serviceBinder.AddMethod(__Method_Login, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::LoginRequest, global::LoginResponse>(serviceImpl.Login));
- serviceBinder.AddMethod(__Method_StudentLogin, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentLoginRequest, global::StudentLoginResponse>(serviceImpl.StudentLogin));
- serviceBinder.AddMethod(__Method_StudentLogout, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentLogoutRequest, global::StudentLogoutResponse>(serviceImpl.StudentLogout));
- serviceBinder.AddMethod(__Method_AllStudentInfoSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchAllRequest, global::SearchInfoResponse>(serviceImpl.AllStudentInfoSearch));
- serviceBinder.AddMethod(__Method_AllStudentScoreSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchAllRequest, global::SearchScoreResponse>(serviceImpl.AllStudentScoreSearch));
- serviceBinder.AddMethod(__Method_AllStudentTimeSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchAllRequest, global::SearchTimeResponse>(serviceImpl.AllStudentTimeSearch));
- serviceBinder.AddMethod(__Method_StudentInfoSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchRequest, global::SearchInfoResponse>(serviceImpl.StudentInfoSearch));
- serviceBinder.AddMethod(__Method_StudentScoreSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchRequest, global::SearchScoreResponse>(serviceImpl.StudentScoreSearch));
- serviceBinder.AddMethod(__Method_StudentTimeSearch, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::SearchRequest, global::SearchTimeResponse>(serviceImpl.StudentTimeSearch));
- serviceBinder.AddMethod(__Method_StudentRegister, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentRegisterRequest, global::StudentRegisterResponse>(serviceImpl.StudentRegister));
- serviceBinder.AddMethod(__Method_DeleteBatchStudentInfo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::DeleteBatchRequest, global::DeleteBatchResponse>(serviceImpl.DeleteBatchStudentInfo));
- serviceBinder.AddMethod(__Method_StudentInfoUpdate, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentInfo, global::OperateResponse>(serviceImpl.StudentInfoUpdate));
- serviceBinder.AddMethod(__Method_UserAuthentication, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentInfo, global::OperateResponse>(serviceImpl.UserAuthentication));
- serviceBinder.AddMethod(__Method_StudentPwdUpdate, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentLoginRequest, global::OperateResponse>(serviceImpl.StudentPwdUpdate));
- serviceBinder.AddMethod(__Method_StudentScoreAdd, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentScore, global::OperateResponse>(serviceImpl.StudentScoreAdd));
- serviceBinder.AddMethod(__Method_StudentTimeAdd, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::StudentTime, global::OperateResponse>(serviceImpl.StudentTimeAdd));
- serviceBinder.AddMethod(__Method_GetAllMajorsInfos, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::MajorsInfosRequest, global::MajorsInfosResponse>(serviceImpl.GetAllMajorsInfos));
- serviceBinder.AddMethod(__Method_GetAllCourseInfos, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::CourseInfosRequest, global::CourseInfosResponse>(serviceImpl.GetAllCourseInfos));
- serviceBinder.AddMethod(__Method_GetAllClassInfos, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::ClassInfosRequest, global::ClassInfosResponse>(serviceImpl.GetAllClassInfos));
- }
- }
- #endregion
|