// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/vc/v1/keyapis_vc_camera_v1.proto // // Original file comments: // // Сервис работы с камерами #pragma warning disable 0414, 1591 #region Designer generated code using grpc = global::Grpc.Core; namespace Keyapis.Vc.V1 { /// /// Сервис работы с камерами /// public static partial class CameraService { static readonly string __ServiceName = "keyapis.vc.v1.CameraService"; [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] 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)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static class __Helper_MessageCache { public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] 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()); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRoomCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRoomCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRoomCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRoomCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRoomListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRoomListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRoomListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRoomListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRtspUrlExternalIdRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraRtspUrlExternalIdResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomAttachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomAttachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomAttachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomAttachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomDetachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomDetachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomDetachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomDetachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomAttachListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomAttachListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomAttachListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomAttachListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomDetachListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomDetachListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PutCameraRoomDetachListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PutCameraRoomDetachListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_DeleteCameraRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.DeleteCameraRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_DeleteCameraResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.DeleteCameraResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PostCameraRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PostCameraRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_PostCameraResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.PostCameraResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraCalendarRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraCalendarRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraCalendarResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraCalendarResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraIntervalsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraIntervalsRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_vc_v1_GetCameraIntervalsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Vc.V1.GetCameraIntervalsResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCameraRoomCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetCameraRoomCount", __Marshaller_keyapis_vc_v1_GetCameraRoomCountRequest, __Marshaller_keyapis_vc_v1_GetCameraRoomCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCameraRoomList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetCameraRoomList", __Marshaller_keyapis_vc_v1_GetCameraRoomListRequest, __Marshaller_keyapis_vc_v1_GetCameraRoomListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCamera = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetCamera", __Marshaller_keyapis_vc_v1_GetCameraRequest, __Marshaller_keyapis_vc_v1_GetCameraResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCameraList = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetCameraList", __Marshaller_keyapis_vc_v1_GetCameraListRequest, __Marshaller_keyapis_vc_v1_GetCameraListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCameraRtspUrlExternalId = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetCameraRtspUrlExternalId", __Marshaller_keyapis_vc_v1_GetCameraRtspUrlExternalIdRequest, __Marshaller_keyapis_vc_v1_GetCameraRtspUrlExternalIdResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutCameraRoomAttach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutCameraRoomAttach", __Marshaller_keyapis_vc_v1_PutCameraRoomAttachRequest, __Marshaller_keyapis_vc_v1_PutCameraRoomAttachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutCameraRoomDetach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutCameraRoomDetach", __Marshaller_keyapis_vc_v1_PutCameraRoomDetachRequest, __Marshaller_keyapis_vc_v1_PutCameraRoomDetachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutCameraRoomAttachList = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutCameraRoomAttachList", __Marshaller_keyapis_vc_v1_PutCameraRoomAttachListRequest, __Marshaller_keyapis_vc_v1_PutCameraRoomAttachListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutCameraRoomDetachList = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutCameraRoomDetachList", __Marshaller_keyapis_vc_v1_PutCameraRoomDetachListRequest, __Marshaller_keyapis_vc_v1_PutCameraRoomDetachListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_DeleteCamera = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "DeleteCamera", __Marshaller_keyapis_vc_v1_DeleteCameraRequest, __Marshaller_keyapis_vc_v1_DeleteCameraResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostCamera = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostCamera", __Marshaller_keyapis_vc_v1_PostCameraRequest, __Marshaller_keyapis_vc_v1_PostCameraResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCameraCalendar = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetCameraCalendar", __Marshaller_keyapis_vc_v1_GetCameraCalendarRequest, __Marshaller_keyapis_vc_v1_GetCameraCalendarResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetCameraIntervals = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetCameraIntervals", __Marshaller_keyapis_vc_v1_GetCameraIntervalsRequest, __Marshaller_keyapis_vc_v1_GetCameraIntervalsResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::Keyapis.Vc.V1.KeyapisVcCameraV1Reflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of CameraService [grpc::BindServiceMethod(typeof(CameraService), "BindService")] public abstract partial class CameraServiceBase { /// /// Метод получения количества связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCameraRoomCount(global::Keyapis.Vc.V1.GetCameraRoomCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCameraRoomList(global::Keyapis.Vc.V1.GetCameraRoomListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения камеры. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCamera(global::Keyapis.Vc.V1.GetCameraRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка камер. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCameraList(global::Keyapis.Vc.V1.GetCameraListRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения RTSP-ссылки по идентификатору камеры в vcfront. /// Метод доступен для: admin, service. /// Метод доступен для: ApiKey /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCameraRtspUrlExternalId(global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод привязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutCameraRoomAttach(global::Keyapis.Vc.V1.PutCameraRoomAttachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод отвязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutCameraRoomDetach(global::Keyapis.Vc.V1.PutCameraRoomDetachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод пакетной привязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutCameraRoomAttachList(global::Keyapis.Vc.V1.PutCameraRoomAttachListRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод пакетной отвязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutCameraRoomDetachList(global::Keyapis.Vc.V1.PutCameraRoomDetachListRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления камеры. /// Метод доступен для: admin, service, bti /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task DeleteCamera(global::Keyapis.Vc.V1.DeleteCameraRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод создания камеры. /// Метод доступен для: admin, service, bti /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PostCamera(global::Keyapis.Vc.V1.PostCameraRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения дней, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCameraCalendar(global::Keyapis.Vc.V1.GetCameraCalendarRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения интервалов, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// 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). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetCameraIntervals(global::Keyapis.Vc.V1.GetCameraIntervalsRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } } /// Client for CameraService public partial class CameraServiceClient : grpc::ClientBase { /// Creates a new client for CameraService /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public CameraServiceClient(grpc::ChannelBase channel) : base(channel) { } /// Creates a new client for CameraService that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public CameraServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected CameraServiceClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected CameraServiceClient(ClientBaseConfiguration configuration) : base(configuration) { } /// /// Метод получения количества связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraRoomCountResponse GetCameraRoomCount(global::Keyapis.Vc.V1.GetCameraRoomCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraRoomCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraRoomCountResponse GetCameraRoomCount(global::Keyapis.Vc.V1.GetCameraRoomCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetCameraRoomCount, null, options, request); } /// /// Метод получения количества связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraRoomCountAsync(global::Keyapis.Vc.V1.GetCameraRoomCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraRoomCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraRoomCountAsync(global::Keyapis.Vc.V1.GetCameraRoomCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetCameraRoomCount, null, options, request); } /// /// Метод получения списка связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetCameraRoomList(global::Keyapis.Vc.V1.GetCameraRoomListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraRoomList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка связей камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetCameraRoomList(global::Keyapis.Vc.V1.GetCameraRoomListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetCameraRoomList, null, options, request); } /// /// Метод получения камеры. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraResponse GetCamera(global::Keyapis.Vc.V1.GetCameraRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCamera(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения камеры. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraResponse GetCamera(global::Keyapis.Vc.V1.GetCameraRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetCamera, null, options, request); } /// /// Метод получения камеры. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraAsync(global::Keyapis.Vc.V1.GetCameraRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения камеры. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraAsync(global::Keyapis.Vc.V1.GetCameraRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetCamera, null, options, request); } /// /// Метод получения списка камер. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraListResponse GetCameraList(global::Keyapis.Vc.V1.GetCameraListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка камер. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraListResponse GetCameraList(global::Keyapis.Vc.V1.GetCameraListRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetCameraList, null, options, request); } /// /// Метод получения списка камер. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraListAsync(global::Keyapis.Vc.V1.GetCameraListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraListAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка камер. /// Для owner, employee параметр scope.vc_company_id подставляется из токена. /// Метод доступен для: admin, service, bti, ltp_first, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraListAsync(global::Keyapis.Vc.V1.GetCameraListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetCameraList, null, options, request); } /// /// Метод получения RTSP-ссылки по идентификатору камеры в vcfront. /// Метод доступен для: admin, service. /// Метод доступен для: ApiKey /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdResponse GetCameraRtspUrlExternalId(global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraRtspUrlExternalId(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения RTSP-ссылки по идентификатору камеры в vcfront. /// Метод доступен для: admin, service. /// Метод доступен для: ApiKey /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdResponse GetCameraRtspUrlExternalId(global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetCameraRtspUrlExternalId, null, options, request); } /// /// Метод получения RTSP-ссылки по идентификатору камеры в vcfront. /// Метод доступен для: admin, service. /// Метод доступен для: ApiKey /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraRtspUrlExternalIdAsync(global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraRtspUrlExternalIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения RTSP-ссылки по идентификатору камеры в vcfront. /// Метод доступен для: admin, service. /// Метод доступен для: ApiKey /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraRtspUrlExternalIdAsync(global::Keyapis.Vc.V1.GetCameraRtspUrlExternalIdRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetCameraRtspUrlExternalId, null, options, request); } /// /// Метод привязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomAttachResponse PutCameraRoomAttach(global::Keyapis.Vc.V1.PutCameraRoomAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomAttach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод привязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomAttachResponse PutCameraRoomAttach(global::Keyapis.Vc.V1.PutCameraRoomAttachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutCameraRoomAttach, null, options, request); } /// /// Метод привязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomAttachAsync(global::Keyapis.Vc.V1.PutCameraRoomAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomAttachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод привязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomAttachAsync(global::Keyapis.Vc.V1.PutCameraRoomAttachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutCameraRoomAttach, null, options, request); } /// /// Метод отвязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomDetachResponse PutCameraRoomDetach(global::Keyapis.Vc.V1.PutCameraRoomDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomDetach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод отвязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomDetachResponse PutCameraRoomDetach(global::Keyapis.Vc.V1.PutCameraRoomDetachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutCameraRoomDetach, null, options, request); } /// /// Метод отвязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomDetachAsync(global::Keyapis.Vc.V1.PutCameraRoomDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomDetachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод отвязки камеры и квартиры. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomDetachAsync(global::Keyapis.Vc.V1.PutCameraRoomDetachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutCameraRoomDetach, null, options, request); } /// /// Метод пакетной привязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomAttachListResponse PutCameraRoomAttachList(global::Keyapis.Vc.V1.PutCameraRoomAttachListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomAttachList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод пакетной привязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomAttachListResponse PutCameraRoomAttachList(global::Keyapis.Vc.V1.PutCameraRoomAttachListRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutCameraRoomAttachList, null, options, request); } /// /// Метод пакетной привязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomAttachListAsync(global::Keyapis.Vc.V1.PutCameraRoomAttachListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomAttachListAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод пакетной привязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomAttachListAsync(global::Keyapis.Vc.V1.PutCameraRoomAttachListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutCameraRoomAttachList, null, options, request); } /// /// Метод пакетной отвязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomDetachListResponse PutCameraRoomDetachList(global::Keyapis.Vc.V1.PutCameraRoomDetachListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomDetachList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод пакетной отвязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PutCameraRoomDetachListResponse PutCameraRoomDetachList(global::Keyapis.Vc.V1.PutCameraRoomDetachListRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutCameraRoomDetachList, null, options, request); } /// /// Метод пакетной отвязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomDetachListAsync(global::Keyapis.Vc.V1.PutCameraRoomDetachListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutCameraRoomDetachListAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод пакетной отвязки камер и квартир. /// Метод доступен для: admin, service, bti, owner, employee /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutCameraRoomDetachListAsync(global::Keyapis.Vc.V1.PutCameraRoomDetachListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutCameraRoomDetachList, null, options, request); } /// /// Метод удаления камеры. /// Метод доступен для: admin, service, bti /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.DeleteCameraResponse DeleteCamera(global::Keyapis.Vc.V1.DeleteCameraRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteCamera(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления камеры. /// Метод доступен для: admin, service, bti /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.DeleteCameraResponse DeleteCamera(global::Keyapis.Vc.V1.DeleteCameraRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_DeleteCamera, null, options, request); } /// /// Метод удаления камеры. /// Метод доступен для: admin, service, bti /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall DeleteCameraAsync(global::Keyapis.Vc.V1.DeleteCameraRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteCameraAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления камеры. /// Метод доступен для: admin, service, bti /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall DeleteCameraAsync(global::Keyapis.Vc.V1.DeleteCameraRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_DeleteCamera, null, options, request); } /// /// Метод создания камеры. /// Метод доступен для: admin, service, bti /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PostCameraResponse PostCamera(global::Keyapis.Vc.V1.PostCameraRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostCamera(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод создания камеры. /// Метод доступен для: admin, service, bti /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.PostCameraResponse PostCamera(global::Keyapis.Vc.V1.PostCameraRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostCamera, null, options, request); } /// /// Метод создания камеры. /// Метод доступен для: admin, service, bti /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostCameraAsync(global::Keyapis.Vc.V1.PostCameraRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostCameraAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод создания камеры. /// Метод доступен для: admin, service, bti /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostCameraAsync(global::Keyapis.Vc.V1.PostCameraRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostCamera, null, options, request); } /// /// Метод получения дней, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraCalendarResponse GetCameraCalendar(global::Keyapis.Vc.V1.GetCameraCalendarRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraCalendar(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения дней, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraCalendarResponse GetCameraCalendar(global::Keyapis.Vc.V1.GetCameraCalendarRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetCameraCalendar, null, options, request); } /// /// Метод получения дней, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraCalendarAsync(global::Keyapis.Vc.V1.GetCameraCalendarRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraCalendarAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения дней, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraCalendarAsync(global::Keyapis.Vc.V1.GetCameraCalendarRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetCameraCalendar, null, options, request); } /// /// Метод получения интервалов, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraIntervalsResponse GetCameraIntervals(global::Keyapis.Vc.V1.GetCameraIntervalsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraIntervals(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения интервалов, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.Vc.V1.GetCameraIntervalsResponse GetCameraIntervals(global::Keyapis.Vc.V1.GetCameraIntervalsRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetCameraIntervals, null, options, request); } /// /// Метод получения интервалов, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// 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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraIntervalsAsync(global::Keyapis.Vc.V1.GetCameraIntervalsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetCameraIntervalsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения интервалов, когда доступны записи. /// Метод доступен для: admin, service, owner, company, master. /// Для ролей типа owner, company, master необходимо сделать проверку на доступность камеры этому пользователю /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetCameraIntervalsAsync(global::Keyapis.Vc.V1.GetCameraIntervalsRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetCameraIntervals, null, options, request); } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override CameraServiceClient NewInstance(ClientBaseConfiguration configuration) { return new CameraServiceClient(configuration); } } /// Creates service definition that can be registered with a server /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static grpc::ServerServiceDefinition BindService(CameraServiceBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetCameraRoomCount, serviceImpl.GetCameraRoomCount) .AddMethod(__Method_GetCameraRoomList, serviceImpl.GetCameraRoomList) .AddMethod(__Method_GetCamera, serviceImpl.GetCamera) .AddMethod(__Method_GetCameraList, serviceImpl.GetCameraList) .AddMethod(__Method_GetCameraRtspUrlExternalId, serviceImpl.GetCameraRtspUrlExternalId) .AddMethod(__Method_PutCameraRoomAttach, serviceImpl.PutCameraRoomAttach) .AddMethod(__Method_PutCameraRoomDetach, serviceImpl.PutCameraRoomDetach) .AddMethod(__Method_PutCameraRoomAttachList, serviceImpl.PutCameraRoomAttachList) .AddMethod(__Method_PutCameraRoomDetachList, serviceImpl.PutCameraRoomDetachList) .AddMethod(__Method_DeleteCamera, serviceImpl.DeleteCamera) .AddMethod(__Method_PostCamera, serviceImpl.PostCamera) .AddMethod(__Method_GetCameraCalendar, serviceImpl.GetCameraCalendar) .AddMethod(__Method_GetCameraIntervals, serviceImpl.GetCameraIntervals).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. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static void BindService(grpc::ServiceBinderBase serviceBinder, CameraServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetCameraRoomCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCameraRoomCount)); serviceBinder.AddMethod(__Method_GetCameraRoomList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetCameraRoomList)); serviceBinder.AddMethod(__Method_GetCamera, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCamera)); serviceBinder.AddMethod(__Method_GetCameraList, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCameraList)); serviceBinder.AddMethod(__Method_GetCameraRtspUrlExternalId, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCameraRtspUrlExternalId)); serviceBinder.AddMethod(__Method_PutCameraRoomAttach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutCameraRoomAttach)); serviceBinder.AddMethod(__Method_PutCameraRoomDetach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutCameraRoomDetach)); serviceBinder.AddMethod(__Method_PutCameraRoomAttachList, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutCameraRoomAttachList)); serviceBinder.AddMethod(__Method_PutCameraRoomDetachList, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutCameraRoomDetachList)); serviceBinder.AddMethod(__Method_DeleteCamera, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteCamera)); serviceBinder.AddMethod(__Method_PostCamera, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostCamera)); serviceBinder.AddMethod(__Method_GetCameraCalendar, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCameraCalendar)); serviceBinder.AddMethod(__Method_GetCameraIntervals, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetCameraIntervals)); } } } #endregion