// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_control/v1/keyapis_telemetry_control_device_v1.proto // // Original file comments: // // Сервис реализует функционал управления приборами учёта(ПУ) #pragma warning disable 0414, 1591 #region Designer generated code using grpc = global::Grpc.Core; namespace Keyapis.TelemetryControl.V1 { /// /// Сервис приборов учёта (ПУ). /// Авторизация: /// - Authorization: Bearer token. /// - X-Api-Key: apiKey /// public static partial class DeviceService { static readonly string __ServiceName = "keyapis.telemetry_control.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_telemetry_control_v1_PostDeviceFullDuplexRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceFullDuplexRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceFullDuplexResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceFullDuplexResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceReplaceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceReplaceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceReplaceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceReplaceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteDeviceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteDeviceResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceIndicatorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDeviceIndicatorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceIndicatorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceIndicatorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointAttachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointAttachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointDetachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointDetachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceGroupListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceGroupListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupAttachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupAttachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupDetachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupDetachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDeviceFullDuplex = new grpc::Method( grpc::MethodType.DuplexStreaming, __ServiceName, "PostDeviceFullDuplex", __Marshaller_keyapis_telemetry_control_v1_PostDeviceFullDuplexRequest, __Marshaller_keyapis_telemetry_control_v1_PostDeviceFullDuplexResponse); [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_telemetry_control_v1_GetDeviceRequest, __Marshaller_keyapis_telemetry_control_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_telemetry_control_v1_GetDeviceListRequest, __Marshaller_keyapis_telemetry_control_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_telemetry_control_v1_GetDeviceCountRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceCountResponse); [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_telemetry_control_v1_PostDeviceReplaceRequest, __Marshaller_keyapis_telemetry_control_v1_PostDeviceReplaceResponse); [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_telemetry_control_v1_PostDeviceRequest, __Marshaller_keyapis_telemetry_control_v1_PostDeviceResponse); [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_telemetry_control_v1_DeleteDeviceRequest, __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostDeviceIndicator = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostDeviceIndicator", __Marshaller_keyapis_telemetry_control_v1_PostDeviceIndicatorRequest, __Marshaller_keyapis_telemetry_control_v1_PostDeviceIndicatorResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceIndicator = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceIndicator", __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceIndicatorList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetDeviceIndicatorList", __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorListRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceIndicatorCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceIndicatorCount", __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorCountRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_DeleteDeviceIndicator = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "DeleteDeviceIndicator", __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceIndicatorRequest, __Marshaller_keyapis_telemetry_control_v1_DeleteDeviceIndicatorResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceIndicatorMetricPointList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetDeviceIndicatorMetricPointList", __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointListRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceIndicatorMetricPointCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceIndicatorMetricPointCount", __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointCountRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceIndicatorMetricPointCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutDeviceIndicatorMetricPointAttach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutDeviceIndicatorMetricPointAttach", __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointAttachRequest, __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointAttachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutDeviceIndicatorMetricPointDetach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutDeviceIndicatorMetricPointDetach", __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointDetachRequest, __Marshaller_keyapis_telemetry_control_v1_PutDeviceIndicatorMetricPointDetachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceGroupList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetDeviceGroupList", __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupListRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetDeviceGroupCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetDeviceGroupCount", __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupCountRequest, __Marshaller_keyapis_telemetry_control_v1_GetDeviceGroupCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutDeviceGroupAttach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutDeviceGroupAttach", __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupAttachRequest, __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupAttachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutDeviceGroupDetach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutDeviceGroupDetach", __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupDetachRequest, __Marshaller_keyapis_telemetry_control_v1_PutDeviceGroupDetachResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlDeviceV1Reflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of DeviceService [grpc::BindServiceMethod(typeof(DeviceService), "BindService")] public abstract partial class DeviceServiceBase { /// /// Полнодуплексный метод отправки команд на сервер и получения изменения со стороны сервера. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: Без учета разрешений /// /// Used for reading requests 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 PostDeviceFullDuplex(grpc::IAsyncStreamReader requestStream, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения ПУ. /// Разрешения: telemetry_control:device:card, telemetry_control:device:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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 GetDevice(global::Keyapis.TelemetryControl.V1.GetDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// 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.TelemetryControl.V1.GetDeviceListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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 GetDeviceCount(global::Keyapis.TelemetryControl.V1.GetDeviceCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод замены прибора учета. /// Создает ПУ и привязывает его индикаторы к ТУ исходного ПУ. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PostDeviceReplace(global::Keyapis.TelemetryControl.V1.PostDeviceReplaceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения прибора учета. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления прибора учета. /// Разрешения: telemetry_control:device:remove, telemetry_control:device:remove:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 DeleteDevice(global::Keyapis.TelemetryControl.V1.DeleteDeviceRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения индикатора. /// Поддерживает создание и обновление. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PostDeviceIndicator(global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения индикатора. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicator(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// 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 GetDeviceIndicatorList(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorCount(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления индикаторa. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 DeleteDeviceIndicator(global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// 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 GetDeviceIndicatorMetricPointList(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorMetricPointCount(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения связи индикаторов и ТУ. /// Поддерживает только создание связи. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PutDeviceIndicatorMetricPointAttach(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления связи индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PutDeviceIndicatorMetricPointDetach(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 GetDeviceGroupList(global::Keyapis.TelemetryControl.V1.GetDeviceGroupListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 GetDeviceGroupCount(global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения связей ПУ и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 PutDeviceGroupAttach(global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 PutDeviceGroupDetach(global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachRequest 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) { } /// /// Полнодуплексный метод отправки команд на сервер и получения изменения со стороны сервера. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: Без учета разрешений /// /// 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::AsyncDuplexStreamingCall PostDeviceFullDuplex(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceFullDuplex(new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Полнодуплексный метод отправки команд на сервер и получения изменения со стороны сервера. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: Без учета разрешений /// /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncDuplexStreamingCall PostDeviceFullDuplex(grpc::CallOptions options) { return CallInvoker.AsyncDuplexStreamingCall(__Method_PostDeviceFullDuplex, null, options); } /// /// Метод получения ПУ. /// Разрешения: telemetry_control:device:card, telemetry_control:device:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceResponse GetDevice(global::Keyapis.TelemetryControl.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)); } /// /// Метод получения ПУ. /// Разрешения: telemetry_control:device:card, telemetry_control:device:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceResponse GetDevice(global::Keyapis.TelemetryControl.V1.GetDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDevice, null, options, request); } /// /// Метод получения ПУ. /// Разрешения: telemetry_control:device:card, telemetry_control:device:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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 GetDeviceAsync(global::Keyapis.TelemetryControl.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)); } /// /// Метод получения ПУ. /// Разрешения: telemetry_control:device:card, telemetry_control:device:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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 GetDeviceAsync(global::Keyapis.TelemetryControl.V1.GetDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDevice, null, options, request); } /// /// Метод получения списка приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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::AsyncServerStreamingCall GetDeviceList(global::Keyapis.TelemetryControl.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)); } /// /// Метод получения списка приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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::AsyncServerStreamingCall GetDeviceList(global::Keyapis.TelemetryControl.V1.GetDeviceListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetDeviceList, null, options, request); } /// /// Метод получения количества приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceCountResponse GetDeviceCount(global::Keyapis.TelemetryControl.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)); } /// /// Метод получения количества приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceCountResponse GetDeviceCount(global::Keyapis.TelemetryControl.V1.GetDeviceCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceCount, null, options, request); } /// /// Метод получения количества приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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 GetDeviceCountAsync(global::Keyapis.TelemetryControl.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)); } /// /// Метод получения количества приборов учета. /// Разрешения: telemetry_control:device:list, telemetry_control:device:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee, master. При наличии разрешений. /// Метод доступен для: 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 GetDeviceCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceCount, null, options, request); } /// /// Метод замены прибора учета. /// Создает ПУ и привязывает его индикаторы к ТУ исходного ПУ. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceReplaceResponse PostDeviceReplace(global::Keyapis.TelemetryControl.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)); } /// /// Метод замены прибора учета. /// Создает ПУ и привязывает его индикаторы к ТУ исходного ПУ. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceReplaceResponse PostDeviceReplace(global::Keyapis.TelemetryControl.V1.PostDeviceReplaceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDeviceReplace, null, options, request); } /// /// Метод замены прибора учета. /// Создает ПУ и привязывает его индикаторы к ТУ исходного ПУ. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PostDeviceReplaceAsync(global::Keyapis.TelemetryControl.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)); } /// /// Метод замены прибора учета. /// Создает ПУ и привязывает его индикаторы к ТУ исходного ПУ. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PostDeviceReplaceAsync(global::Keyapis.TelemetryControl.V1.PostDeviceReplaceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDeviceReplace, null, options, request); } /// /// Метод сохранения прибора учета. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceResponse PostDevice(global::Keyapis.TelemetryControl.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)); } /// /// Метод сохранения прибора учета. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceResponse PostDevice(global::Keyapis.TelemetryControl.V1.PostDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDevice, null, options, request); } /// /// Метод сохранения прибора учета. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.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)); } /// /// Метод сохранения прибора учета. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:device:save, telemetry_control:device:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDevice, null, options, request); } /// /// Метод удаления прибора учета. /// Разрешения: telemetry_control:device:remove, telemetry_control:device:remove:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.DeleteDeviceResponse DeleteDevice(global::Keyapis.TelemetryControl.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)); } /// /// Метод удаления прибора учета. /// Разрешения: telemetry_control:device:remove, telemetry_control:device:remove:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.DeleteDeviceResponse DeleteDevice(global::Keyapis.TelemetryControl.V1.DeleteDeviceRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_DeleteDevice, null, options, request); } /// /// Метод удаления прибора учета. /// Разрешения: telemetry_control:device:remove, telemetry_control:device:remove:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 DeleteDeviceAsync(global::Keyapis.TelemetryControl.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)); } /// /// Метод удаления прибора учета. /// Разрешения: telemetry_control:device:remove, telemetry_control:device:remove:own. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 DeleteDeviceAsync(global::Keyapis.TelemetryControl.V1.DeleteDeviceRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_DeleteDevice, null, options, request); } /// /// Метод сохранения индикатора. /// Поддерживает создание и обновление. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceIndicatorResponse PostDeviceIndicator(global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceIndicator(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения индикатора. /// Поддерживает создание и обновление. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PostDeviceIndicatorResponse PostDeviceIndicator(global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostDeviceIndicator, null, options, request); } /// /// Метод сохранения индикатора. /// Поддерживает создание и обновление. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PostDeviceIndicatorAsync(global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostDeviceIndicatorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения индикатора. /// Поддерживает создание и обновление. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PostDeviceIndicatorAsync(global::Keyapis.TelemetryControl.V1.PostDeviceIndicatorRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostDeviceIndicator, null, options, request); } /// /// Метод получения индикатора. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceIndicatorResponse GetDeviceIndicator(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicator(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения индикатора. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceIndicatorResponse GetDeviceIndicator(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceIndicator, null, options, request); } /// /// Метод получения индикатора. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorAsync(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения индикатора. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorAsync(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceIndicator, null, options, request); } /// /// Метод получения списка индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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::AsyncServerStreamingCall GetDeviceIndicatorList(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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::AsyncServerStreamingCall GetDeviceIndicatorList(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetDeviceIndicatorList, null, options, request); } /// /// Метод получения количества индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceIndicatorCountResponse GetDeviceIndicatorCount(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceIndicatorCountResponse GetDeviceIndicatorCount(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceIndicatorCount, null, options, request); } /// /// Метод получения количества индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества индикаторов. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceIndicatorCount, null, options, request); } /// /// Метод удаления индикаторa. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.DeleteDeviceIndicatorResponse DeleteDeviceIndicator(global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteDeviceIndicator(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления индикаторa. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.DeleteDeviceIndicatorResponse DeleteDeviceIndicator(global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_DeleteDeviceIndicator, null, options, request); } /// /// Метод удаления индикаторa. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 DeleteDeviceIndicatorAsync(global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteDeviceIndicatorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления индикаторa. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 DeleteDeviceIndicatorAsync(global::Keyapis.TelemetryControl.V1.DeleteDeviceIndicatorRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_DeleteDeviceIndicator, null, options, request); } /// /// Метод получения списка связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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::AsyncServerStreamingCall GetDeviceIndicatorMetricPointList(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorMetricPointList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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::AsyncServerStreamingCall GetDeviceIndicatorMetricPointList(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetDeviceIndicatorMetricPointList, null, options, request); } /// /// Метод получения количества связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountResponse GetDeviceIndicatorMetricPointCount(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorMetricPointCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountResponse GetDeviceIndicatorMetricPointCount(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceIndicatorMetricPointCount, null, options, request); } /// /// Метод получения количества связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorMetricPointCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceIndicatorMetricPointCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. Без учета разрешений. /// Метод доступен для: 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 GetDeviceIndicatorMetricPointCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceIndicatorMetricPointCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceIndicatorMetricPointCount, null, options, request); } /// /// Метод сохранения связи индикаторов и ТУ. /// Поддерживает только создание связи. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachResponse PutDeviceIndicatorMetricPointAttach(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceIndicatorMetricPointAttach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения связи индикаторов и ТУ. /// Поддерживает только создание связи. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachResponse PutDeviceIndicatorMetricPointAttach(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutDeviceIndicatorMetricPointAttach, null, options, request); } /// /// Метод сохранения связи индикаторов и ТУ. /// Поддерживает только создание связи. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PutDeviceIndicatorMetricPointAttachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceIndicatorMetricPointAttachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения связи индикаторов и ТУ. /// Поддерживает только создание связи. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PutDeviceIndicatorMetricPointAttachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointAttachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutDeviceIndicatorMetricPointAttach, null, options, request); } /// /// Метод удаления связи индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachResponse PutDeviceIndicatorMetricPointDetach(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceIndicatorMetricPointDetach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления связи индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, 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.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachResponse PutDeviceIndicatorMetricPointDetach(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutDeviceIndicatorMetricPointDetach, null, options, request); } /// /// Метод удаления связи индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PutDeviceIndicatorMetricPointDetachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceIndicatorMetricPointDetachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления связи индикаторов и ТУ. /// Метод доступен для: Token: admin, service, bti, seller, application, 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 PutDeviceIndicatorMetricPointDetachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceIndicatorMetricPointDetachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutDeviceIndicatorMetricPointDetach, null, options, request); } /// /// Метод получения списка связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 GetDeviceGroupList(global::Keyapis.TelemetryControl.V1.GetDeviceGroupListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceGroupList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 GetDeviceGroupList(global::Keyapis.TelemetryControl.V1.GetDeviceGroupListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetDeviceGroupList, null, options, request); } /// /// Метод получения количества связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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.TelemetryControl.V1.GetDeviceGroupCountResponse GetDeviceGroupCount(global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceGroupCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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.TelemetryControl.V1.GetDeviceGroupCountResponse GetDeviceGroupCount(global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetDeviceGroupCount, null, options, request); } /// /// Метод получения количества связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 GetDeviceGroupCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetDeviceGroupCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 GetDeviceGroupCountAsync(global::Keyapis.TelemetryControl.V1.GetDeviceGroupCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetDeviceGroupCount, null, options, request); } /// /// Метод сохранения связей ПУ и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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.TelemetryControl.V1.PutDeviceGroupAttachResponse PutDeviceGroupAttach(global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceGroupAttach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения связей ПУ и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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.TelemetryControl.V1.PutDeviceGroupAttachResponse PutDeviceGroupAttach(global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutDeviceGroupAttach, null, options, request); } /// /// Метод сохранения связей ПУ и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 PutDeviceGroupAttachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceGroupAttachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения связей ПУ и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 PutDeviceGroupAttachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceGroupAttachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutDeviceGroupAttach, null, options, request); } /// /// Метод удаления связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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.TelemetryControl.V1.PutDeviceGroupDetachResponse PutDeviceGroupDetach(global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceGroupDetach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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.TelemetryControl.V1.PutDeviceGroupDetachResponse PutDeviceGroupDetach(global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutDeviceGroupDetach, null, options, request); } /// /// Метод удаления связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 PutDeviceGroupDetachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutDeviceGroupDetachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления связей ПУ и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// 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 PutDeviceGroupDetachAsync(global::Keyapis.TelemetryControl.V1.PutDeviceGroupDetachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutDeviceGroupDetach, 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_PostDeviceFullDuplex, serviceImpl.PostDeviceFullDuplex) .AddMethod(__Method_GetDevice, serviceImpl.GetDevice) .AddMethod(__Method_GetDeviceList, serviceImpl.GetDeviceList) .AddMethod(__Method_GetDeviceCount, serviceImpl.GetDeviceCount) .AddMethod(__Method_PostDeviceReplace, serviceImpl.PostDeviceReplace) .AddMethod(__Method_PostDevice, serviceImpl.PostDevice) .AddMethod(__Method_DeleteDevice, serviceImpl.DeleteDevice) .AddMethod(__Method_PostDeviceIndicator, serviceImpl.PostDeviceIndicator) .AddMethod(__Method_GetDeviceIndicator, serviceImpl.GetDeviceIndicator) .AddMethod(__Method_GetDeviceIndicatorList, serviceImpl.GetDeviceIndicatorList) .AddMethod(__Method_GetDeviceIndicatorCount, serviceImpl.GetDeviceIndicatorCount) .AddMethod(__Method_DeleteDeviceIndicator, serviceImpl.DeleteDeviceIndicator) .AddMethod(__Method_GetDeviceIndicatorMetricPointList, serviceImpl.GetDeviceIndicatorMetricPointList) .AddMethod(__Method_GetDeviceIndicatorMetricPointCount, serviceImpl.GetDeviceIndicatorMetricPointCount) .AddMethod(__Method_PutDeviceIndicatorMetricPointAttach, serviceImpl.PutDeviceIndicatorMetricPointAttach) .AddMethod(__Method_PutDeviceIndicatorMetricPointDetach, serviceImpl.PutDeviceIndicatorMetricPointDetach) .AddMethod(__Method_GetDeviceGroupList, serviceImpl.GetDeviceGroupList) .AddMethod(__Method_GetDeviceGroupCount, serviceImpl.GetDeviceGroupCount) .AddMethod(__Method_PutDeviceGroupAttach, serviceImpl.PutDeviceGroupAttach) .AddMethod(__Method_PutDeviceGroupDetach, serviceImpl.PutDeviceGroupDetach).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_PostDeviceFullDuplex, serviceImpl == null ? null : new grpc::DuplexStreamingServerMethod(serviceImpl.PostDeviceFullDuplex)); 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_PostDeviceReplace, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDeviceReplace)); serviceBinder.AddMethod(__Method_PostDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDevice)); serviceBinder.AddMethod(__Method_DeleteDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteDevice)); serviceBinder.AddMethod(__Method_PostDeviceIndicator, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDeviceIndicator)); serviceBinder.AddMethod(__Method_GetDeviceIndicator, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceIndicator)); serviceBinder.AddMethod(__Method_GetDeviceIndicatorList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDeviceIndicatorList)); serviceBinder.AddMethod(__Method_GetDeviceIndicatorCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceIndicatorCount)); serviceBinder.AddMethod(__Method_DeleteDeviceIndicator, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteDeviceIndicator)); serviceBinder.AddMethod(__Method_GetDeviceIndicatorMetricPointList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDeviceIndicatorMetricPointList)); serviceBinder.AddMethod(__Method_GetDeviceIndicatorMetricPointCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceIndicatorMetricPointCount)); serviceBinder.AddMethod(__Method_PutDeviceIndicatorMetricPointAttach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutDeviceIndicatorMetricPointAttach)); serviceBinder.AddMethod(__Method_PutDeviceIndicatorMetricPointDetach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutDeviceIndicatorMetricPointDetach)); serviceBinder.AddMethod(__Method_GetDeviceGroupList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDeviceGroupList)); serviceBinder.AddMethod(__Method_GetDeviceGroupCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDeviceGroupCount)); serviceBinder.AddMethod(__Method_PutDeviceGroupAttach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutDeviceGroupAttach)); serviceBinder.AddMethod(__Method_PutDeviceGroupDetach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutDeviceGroupDetach)); } } } #endregion