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