// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/device/v1/keyapis_device_device_v1.proto // // Original file comments: // // Сервис реализует функционал управления устройствами #pragma warning disable 0414, 1591 #region Designer generated code using grpc = global::Grpc.Core; namespace Keyapis.Device.V1 { /// /// Сервис устройств /// public static partial class DeviceService { static readonly string __ServiceName = "keyapis.device.v1.DeviceService"; [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_device_v1_GetDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PutDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PutDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PutDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PutDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceInstallPresetRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceInstallPresetRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceInstallPresetResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceInstallPresetResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceReplaceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceReplaceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceReplaceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceReplaceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceReconfigureRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceReconfigureRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceReconfigureResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceReconfigureResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceConfigurationStatusesRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceConfigurationStatusesResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceConfigurationStatusRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceConfigurationStatusRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_PostDeviceConfigurationStatusResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.PostDeviceConfigurationStatusResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_DeleteDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.DeleteDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_DeleteDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.DeleteDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceLiteRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceLiteRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_device_v1_GetDeviceLiteResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.Device.V1.GetDeviceLiteResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDevice = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDevice", __Marshaller_keyapis_device_v1_GetDeviceRequest, __Marshaller_keyapis_device_v1_GetDeviceResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetDeviceList", __Marshaller_keyapis_device_v1_GetDeviceListRequest, __Marshaller_keyapis_device_v1_GetDeviceListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceCount", __Marshaller_keyapis_device_v1_GetDeviceCountRequest, __Marshaller_keyapis_device_v1_GetDeviceCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDevice = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostDevice", __Marshaller_keyapis_device_v1_PostDeviceRequest, __Marshaller_keyapis_device_v1_PostDeviceResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutDevice = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutDevice", __Marshaller_keyapis_device_v1_PutDeviceRequest, __Marshaller_keyapis_device_v1_PutDeviceResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDeviceInstallPreset = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostDeviceInstallPreset", __Marshaller_keyapis_device_v1_PostDeviceInstallPresetRequest, __Marshaller_keyapis_device_v1_PostDeviceInstallPresetResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDeviceReplace = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostDeviceReplace", __Marshaller_keyapis_device_v1_PostDeviceReplaceRequest, __Marshaller_keyapis_device_v1_PostDeviceReplaceResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDeviceReconfigure = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostDeviceReconfigure", __Marshaller_keyapis_device_v1_PostDeviceReconfigureRequest, __Marshaller_keyapis_device_v1_PostDeviceReconfigureResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceConfigurationStatuses = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceConfigurationStatuses", __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusesRequest, __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusesResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDeviceConfigurationStatus = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostDeviceConfigurationStatus", __Marshaller_keyapis_device_v1_PostDeviceConfigurationStatusRequest, __Marshaller_keyapis_device_v1_PostDeviceConfigurationStatusResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceConfigurationStatusGroupedList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetDeviceConfigurationStatusGroupedList", __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedListRequest, __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceConfigurationStatusGroupedCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceConfigurationStatusGroupedCount", __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedCountRequest, __Marshaller_keyapis_device_v1_GetDeviceConfigurationStatusGroupedCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_DeleteDevice = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "DeleteDevice", __Marshaller_keyapis_device_v1_DeleteDeviceRequest, __Marshaller_keyapis_device_v1_DeleteDeviceResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceLite = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceLite", __Marshaller_keyapis_device_v1_GetDeviceLiteRequest, __Marshaller_keyapis_device_v1_GetDeviceLiteResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::Keyapis.Device.V1.KeyapisDeviceDeviceV1Reflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of DeviceService [grpc::BindServiceMethod(typeof(DeviceService), "BindService")] public abstract partial class DeviceServiceBase { /// /// Метод получаения устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDevice(global::Keyapis.Device.V1.GetDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceList(global::Keyapis.Device.V1.GetDeviceListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceCount(global::Keyapis.Device.V1.GetDeviceCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод создания устройства. /// Метод доступен для: admin, bti, service, owner, employee. /// Для 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 PostDevice(global::Keyapis.Device.V1.PostDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод изменения устройства. /// Метод доступен для: admin, bti, service /// /// 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 PutDevice(global::Keyapis.Device.V1.PutDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод установки пресета на устройство. /// Метод доступен для: admin, service /// /// 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 PostDeviceInstallPreset(global::Keyapis.Device.V1.PostDeviceInstallPresetRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод замены устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=655256574. /// Метод доступен для: admin, bti, service /// /// 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 PostDeviceReplace(global::Keyapis.Device.V1.PostDeviceReplaceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод переконфигурирования устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=630337555. /// Метод доступен для: admin, bti, service /// /// 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 PostDeviceReconfigure(global::Keyapis.Device.V1.PostDeviceReconfigureRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения статусов конфигурации устройства. /// Метод доступен для: admin, service, bti, ltp_first /// /// 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 GetDeviceConfigurationStatuses(global::Keyapis.Device.V1.GetDeviceConfigurationStatusesRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод изменения статуса конфигурации устройства. /// Метод доступен для: admin, service /// /// 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 PostDeviceConfigurationStatus(global::Keyapis.Device.V1.PostDeviceConfigurationStatusRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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 GetDeviceConfigurationStatusGroupedList(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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 GetDeviceConfigurationStatusGroupedCount(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления устройства. /// Метод доступен для: admin, service /// /// 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 DeleteDevice(global::Keyapis.Device.V1.DeleteDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получаения упрощенного устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first. /// Метод доступен для: 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 GetDeviceLite(global::Keyapis.Device.V1.GetDeviceLiteRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } } /// Client for DeviceService public partial class DeviceServiceClient : grpc::ClientBase { /// Creates a new client for DeviceService /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public DeviceServiceClient(grpc::ChannelBase channel) : base(channel) { } /// Creates a new client for DeviceService that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public DeviceServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected DeviceServiceClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected DeviceServiceClient(ClientBaseConfiguration configuration) : base(configuration) { } /// /// Метод получаения устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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.Device.V1.GetDeviceResponse GetDevice(global::Keyapis.Device.V1.GetDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получаения устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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.Device.V1.GetDeviceResponse GetDevice(global::Keyapis.Device.V1.GetDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDevice, null, options, request); } /// /// Метод получаения устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceAsync(global::Keyapis.Device.V1.GetDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получаения устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceAsync(global::Keyapis.Device.V1.GetDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDevice, null, options, request); } /// /// Метод получения списка устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceList(global::Keyapis.Device.V1.GetDeviceListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceList(global::Keyapis.Device.V1.GetDeviceListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetDeviceList, null, options, request); } /// /// Метод получения количества устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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.Device.V1.GetDeviceCountResponse GetDeviceCount(global::Keyapis.Device.V1.GetDeviceCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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.Device.V1.GetDeviceCountResponse GetDeviceCount(global::Keyapis.Device.V1.GetDeviceCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceCount, null, options, request); } /// /// Метод получения количества устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceCountAsync(global::Keyapis.Device.V1.GetDeviceCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества устройств. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first /// /// 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 GetDeviceCountAsync(global::Keyapis.Device.V1.GetDeviceCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceCount, null, options, request); } /// /// Метод создания устройства. /// Метод доступен для: admin, bti, service, owner, employee. /// Для 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.Device.V1.PostDeviceResponse PostDevice(global::Keyapis.Device.V1.PostDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод создания устройства. /// Метод доступен для: admin, bti, service, owner, employee. /// Для 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.Device.V1.PostDeviceResponse PostDevice(global::Keyapis.Device.V1.PostDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDevice, null, options, request); } /// /// Метод создания устройства. /// Метод доступен для: admin, bti, service, owner, employee. /// Для 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 PostDeviceAsync(global::Keyapis.Device.V1.PostDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод создания устройства. /// Метод доступен для: admin, bti, service, owner, employee. /// Для 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 PostDeviceAsync(global::Keyapis.Device.V1.PostDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDevice, null, options, request); } /// /// Метод изменения устройства. /// Метод доступен для: admin, bti, service /// /// 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.Device.V1.PutDeviceResponse PutDevice(global::Keyapis.Device.V1.PutDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод изменения устройства. /// Метод доступен для: admin, bti, service /// /// 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.Device.V1.PutDeviceResponse PutDevice(global::Keyapis.Device.V1.PutDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutDevice, null, options, request); } /// /// Метод изменения устройства. /// Метод доступен для: admin, bti, service /// /// 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 PutDeviceAsync(global::Keyapis.Device.V1.PutDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод изменения устройства. /// Метод доступен для: admin, bti, service /// /// 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 PutDeviceAsync(global::Keyapis.Device.V1.PutDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutDevice, null, options, request); } /// /// Метод установки пресета на устройство. /// Метод доступен для: admin, service /// /// 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.Device.V1.PostDeviceInstallPresetResponse PostDeviceInstallPreset(global::Keyapis.Device.V1.PostDeviceInstallPresetRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceInstallPreset(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод установки пресета на устройство. /// Метод доступен для: admin, service /// /// 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.Device.V1.PostDeviceInstallPresetResponse PostDeviceInstallPreset(global::Keyapis.Device.V1.PostDeviceInstallPresetRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDeviceInstallPreset, null, options, request); } /// /// Метод установки пресета на устройство. /// Метод доступен для: admin, service /// /// 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 PostDeviceInstallPresetAsync(global::Keyapis.Device.V1.PostDeviceInstallPresetRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceInstallPresetAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод установки пресета на устройство. /// Метод доступен для: admin, service /// /// 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 PostDeviceInstallPresetAsync(global::Keyapis.Device.V1.PostDeviceInstallPresetRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDeviceInstallPreset, null, options, request); } /// /// Метод замены устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=655256574. /// Метод доступен для: admin, bti, service /// /// 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.Device.V1.PostDeviceReplaceResponse PostDeviceReplace(global::Keyapis.Device.V1.PostDeviceReplaceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceReplace(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод замены устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=655256574. /// Метод доступен для: admin, bti, service /// /// 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.Device.V1.PostDeviceReplaceResponse PostDeviceReplace(global::Keyapis.Device.V1.PostDeviceReplaceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDeviceReplace, null, options, request); } /// /// Метод замены устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=655256574. /// Метод доступен для: admin, bti, service /// /// 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 PostDeviceReplaceAsync(global::Keyapis.Device.V1.PostDeviceReplaceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceReplaceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод замены устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=655256574. /// Метод доступен для: admin, bti, service /// /// 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 PostDeviceReplaceAsync(global::Keyapis.Device.V1.PostDeviceReplaceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDeviceReplace, null, options, request); } /// /// Метод переконфигурирования устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=630337555. /// Метод доступен для: admin, bti, service /// /// 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.Device.V1.PostDeviceReconfigureResponse PostDeviceReconfigure(global::Keyapis.Device.V1.PostDeviceReconfigureRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceReconfigure(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод переконфигурирования устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=630337555. /// Метод доступен для: admin, bti, service /// /// 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.Device.V1.PostDeviceReconfigureResponse PostDeviceReconfigure(global::Keyapis.Device.V1.PostDeviceReconfigureRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDeviceReconfigure, null, options, request); } /// /// Метод переконфигурирования устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=630337555. /// Метод доступен для: admin, bti, service /// /// 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 PostDeviceReconfigureAsync(global::Keyapis.Device.V1.PostDeviceReconfigureRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceReconfigureAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод переконфигурирования устройста. /// Логика работы метода: https://confluence.rt.ru/pages/viewpage.action?pageId=630337555. /// Метод доступен для: admin, bti, service /// /// 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 PostDeviceReconfigureAsync(global::Keyapis.Device.V1.PostDeviceReconfigureRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDeviceReconfigure, null, options, request); } /// /// Метод получения статусов конфигурации устройства. /// Метод доступен для: admin, service, bti, ltp_first /// /// 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.Device.V1.GetDeviceConfigurationStatusesResponse GetDeviceConfigurationStatuses(global::Keyapis.Device.V1.GetDeviceConfigurationStatusesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceConfigurationStatuses(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения статусов конфигурации устройства. /// Метод доступен для: admin, service, bti, ltp_first /// /// 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.Device.V1.GetDeviceConfigurationStatusesResponse GetDeviceConfigurationStatuses(global::Keyapis.Device.V1.GetDeviceConfigurationStatusesRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceConfigurationStatuses, null, options, request); } /// /// Метод получения статусов конфигурации устройства. /// Метод доступен для: admin, service, bti, ltp_first /// /// 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 GetDeviceConfigurationStatusesAsync(global::Keyapis.Device.V1.GetDeviceConfigurationStatusesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceConfigurationStatusesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения статусов конфигурации устройства. /// Метод доступен для: admin, service, bti, ltp_first /// /// 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 GetDeviceConfigurationStatusesAsync(global::Keyapis.Device.V1.GetDeviceConfigurationStatusesRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceConfigurationStatuses, null, options, request); } /// /// Метод изменения статуса конфигурации устройства. /// Метод доступен для: admin, service /// /// 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.Device.V1.PostDeviceConfigurationStatusResponse PostDeviceConfigurationStatus(global::Keyapis.Device.V1.PostDeviceConfigurationStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceConfigurationStatus(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод изменения статуса конфигурации устройства. /// Метод доступен для: admin, service /// /// 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.Device.V1.PostDeviceConfigurationStatusResponse PostDeviceConfigurationStatus(global::Keyapis.Device.V1.PostDeviceConfigurationStatusRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDeviceConfigurationStatus, null, options, request); } /// /// Метод изменения статуса конфигурации устройства. /// Метод доступен для: admin, service /// /// 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 PostDeviceConfigurationStatusAsync(global::Keyapis.Device.V1.PostDeviceConfigurationStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceConfigurationStatusAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод изменения статуса конфигурации устройства. /// Метод доступен для: admin, service /// /// 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 PostDeviceConfigurationStatusAsync(global::Keyapis.Device.V1.PostDeviceConfigurationStatusRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDeviceConfigurationStatus, null, options, request); } /// /// Метод получения списка конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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 GetDeviceConfigurationStatusGroupedList(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceConfigurationStatusGroupedList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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 GetDeviceConfigurationStatusGroupedList(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetDeviceConfigurationStatusGroupedList, null, options, request); } /// /// Метод получения количества конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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.Device.V1.GetDeviceConfigurationStatusGroupedCountResponse GetDeviceConfigurationStatusGroupedCount(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceConfigurationStatusGroupedCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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.Device.V1.GetDeviceConfigurationStatusGroupedCountResponse GetDeviceConfigurationStatusGroupedCount(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceConfigurationStatusGroupedCount, null, options, request); } /// /// Метод получения количества конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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 GetDeviceConfigurationStatusGroupedCountAsync(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceConfigurationStatusGroupedCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества конфигураций сгруппированных по устройствам. /// Метод доступен для: admin, service /// /// 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 GetDeviceConfigurationStatusGroupedCountAsync(global::Keyapis.Device.V1.GetDeviceConfigurationStatusGroupedCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceConfigurationStatusGroupedCount, null, options, request); } /// /// Метод удаления устройства. /// Метод доступен для: admin, service /// /// 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.Device.V1.DeleteDeviceResponse DeleteDevice(global::Keyapis.Device.V1.DeleteDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления устройства. /// Метод доступен для: admin, service /// /// 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.Device.V1.DeleteDeviceResponse DeleteDevice(global::Keyapis.Device.V1.DeleteDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_DeleteDevice, null, options, request); } /// /// Метод удаления устройства. /// Метод доступен для: admin, service /// /// 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 DeleteDeviceAsync(global::Keyapis.Device.V1.DeleteDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления устройства. /// Метод доступен для: admin, service /// /// 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 DeleteDeviceAsync(global::Keyapis.Device.V1.DeleteDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_DeleteDevice, null, options, request); } /// /// Метод получаения упрощенного устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first. /// Метод доступен для: 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.Device.V1.GetDeviceLiteResponse GetDeviceLite(global::Keyapis.Device.V1.GetDeviceLiteRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceLite(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получаения упрощенного устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first. /// Метод доступен для: 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.Device.V1.GetDeviceLiteResponse GetDeviceLite(global::Keyapis.Device.V1.GetDeviceLiteRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceLite, null, options, request); } /// /// Метод получаения упрощенного устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first. /// Метод доступен для: 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 GetDeviceLiteAsync(global::Keyapis.Device.V1.GetDeviceLiteRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceLiteAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получаения упрощенного устройства. /// Метод доступен для: admin, service, owner, employee, bti, ltp_first. /// Метод доступен для: 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 GetDeviceLiteAsync(global::Keyapis.Device.V1.GetDeviceLiteRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceLite, null, options, request); } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override DeviceServiceClient NewInstance(ClientBaseConfiguration configuration) { return new DeviceServiceClient(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(DeviceServiceBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetDevice, serviceImpl.GetDevice) .AddMethod(__Method_GetDeviceList, serviceImpl.GetDeviceList) .AddMethod(__Method_GetDeviceCount, serviceImpl.GetDeviceCount) .AddMethod(__Method_PostDevice, serviceImpl.PostDevice) .AddMethod(__Method_PutDevice, serviceImpl.PutDevice) .AddMethod(__Method_PostDeviceInstallPreset, serviceImpl.PostDeviceInstallPreset) .AddMethod(__Method_PostDeviceReplace, serviceImpl.PostDeviceReplace) .AddMethod(__Method_PostDeviceReconfigure, serviceImpl.PostDeviceReconfigure) .AddMethod(__Method_GetDeviceConfigurationStatuses, serviceImpl.GetDeviceConfigurationStatuses) .AddMethod(__Method_PostDeviceConfigurationStatus, serviceImpl.PostDeviceConfigurationStatus) .AddMethod(__Method_GetDeviceConfigurationStatusGroupedList, serviceImpl.GetDeviceConfigurationStatusGroupedList) .AddMethod(__Method_GetDeviceConfigurationStatusGroupedCount, serviceImpl.GetDeviceConfigurationStatusGroupedCount) .AddMethod(__Method_DeleteDevice, serviceImpl.DeleteDevice) .AddMethod(__Method_GetDeviceLite, serviceImpl.GetDeviceLite).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, DeviceServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDevice)); serviceBinder.AddMethod(__Method_GetDeviceList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDeviceList)); serviceBinder.AddMethod(__Method_GetDeviceCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceCount)); serviceBinder.AddMethod(__Method_PostDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDevice)); serviceBinder.AddMethod(__Method_PutDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutDevice)); serviceBinder.AddMethod(__Method_PostDeviceInstallPreset, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDeviceInstallPreset)); serviceBinder.AddMethod(__Method_PostDeviceReplace, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDeviceReplace)); serviceBinder.AddMethod(__Method_PostDeviceReconfigure, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDeviceReconfigure)); serviceBinder.AddMethod(__Method_GetDeviceConfigurationStatuses, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceConfigurationStatuses)); serviceBinder.AddMethod(__Method_PostDeviceConfigurationStatus, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDeviceConfigurationStatus)); serviceBinder.AddMethod(__Method_GetDeviceConfigurationStatusGroupedList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDeviceConfigurationStatusGroupedList)); serviceBinder.AddMethod(__Method_GetDeviceConfigurationStatusGroupedCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceConfigurationStatusGroupedCount)); serviceBinder.AddMethod(__Method_DeleteDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteDevice)); serviceBinder.AddMethod(__Method_GetDeviceLite, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceLite)); } } } #endregion