//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: keyapis/telemetry_control/v1/keyapis_telemetry_control_template_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
///
public static partial class TemplateService
{
static readonly string __ServiceName = "keyapis.telemetry_control.v1.TemplateService";
[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_GetTemplateDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateDeviceRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateDeviceResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateDeviceListRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateDeviceListResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostTemplateDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostTemplateDeviceRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostTemplateDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostTemplateDeviceResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteTemplateDeviceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteTemplateDeviceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorListRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorListResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostTemplateIndicatorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostTemplateIndicatorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteTemplateIndicatorRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteTemplateIndicatorResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetTemplateDevice = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetTemplateDevice",
__Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceRequest,
__Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetTemplateDeviceList = new grpc::Method(
grpc::MethodType.ServerStreaming,
__ServiceName,
"GetTemplateDeviceList",
__Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceListRequest,
__Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceListResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetTemplateDeviceCount = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetTemplateDeviceCount",
__Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceCountRequest,
__Marshaller_keyapis_telemetry_control_v1_GetTemplateDeviceCountResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_PostTemplateDevice = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"PostTemplateDevice",
__Marshaller_keyapis_telemetry_control_v1_PostTemplateDeviceRequest,
__Marshaller_keyapis_telemetry_control_v1_PostTemplateDeviceResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_DeleteTemplateDevice = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"DeleteTemplateDevice",
__Marshaller_keyapis_telemetry_control_v1_DeleteTemplateDeviceRequest,
__Marshaller_keyapis_telemetry_control_v1_DeleteTemplateDeviceResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetTemplateIndicator = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetTemplateIndicator",
__Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorRequest,
__Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetTemplateIndicatorList = new grpc::Method(
grpc::MethodType.ServerStreaming,
__ServiceName,
"GetTemplateIndicatorList",
__Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorListRequest,
__Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorListResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetTemplateIndicatorCount = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetTemplateIndicatorCount",
__Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorCountRequest,
__Marshaller_keyapis_telemetry_control_v1_GetTemplateIndicatorCountResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_PostTemplateIndicator = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"PostTemplateIndicator",
__Marshaller_keyapis_telemetry_control_v1_PostTemplateIndicatorRequest,
__Marshaller_keyapis_telemetry_control_v1_PostTemplateIndicatorResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_DeleteTemplateIndicator = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"DeleteTemplateIndicator",
__Marshaller_keyapis_telemetry_control_v1_DeleteTemplateIndicatorRequest,
__Marshaller_keyapis_telemetry_control_v1_DeleteTemplateIndicatorResponse);
/// Service descriptor
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlTemplateV1Reflection.Descriptor.Services[0]; }
}
/// Base class for server-side implementations of TemplateService
[grpc::BindServiceMethod(typeof(TemplateService), "BindService")]
public abstract partial class TemplateServiceBase
{
///
/// Метод получения шаблона ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDevice(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения списка шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceList(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения количества шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceCount(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод сохранения шаблона ПУ.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 PostTemplateDevice(global::Keyapis.TelemetryControl.V1.PostTemplateDeviceRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод удаления шаблона ПУ.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 DeleteTemplateDevice(global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения шаблона индикатора.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicator(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения списка шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorList(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения количества шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorCount(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод сохранения шаблонов индикатора.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 PostTemplateIndicator(global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод удаления шаблона шаблона индикатора.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 DeleteTemplateIndicator(global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// Client for TemplateService
public partial class TemplateServiceClient : grpc::ClientBase
{
/// Creates a new client for TemplateService
/// The channel to use to make remote calls.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public TemplateServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
/// Creates a new client for TemplateService that uses a custom CallInvoker.
/// The callInvoker to use to make remote calls.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public TemplateServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// Protected parameterless constructor to allow creation of test doubles.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected TemplateServiceClient() : base()
{
}
/// Protected constructor to allow creation of configured clients.
/// The client configuration.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected TemplateServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
///
/// Метод получения шаблона ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateDeviceResponse GetTemplateDevice(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения шаблона ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateDeviceResponse GetTemplateDevice(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetTemplateDevice, null, options, request);
}
///
/// Метод получения шаблона ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceAsync(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения шаблона ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceAsync(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetTemplateDevice, null, options, request);
}
///
/// Метод получения списка шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceList(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateDeviceList(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения списка шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceList(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceListRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncServerStreamingCall(__Method_GetTemplateDeviceList, null, options, request);
}
///
/// Метод получения количества шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateDeviceCountResponse GetTemplateDeviceCount(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateDeviceCount(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateDeviceCountResponse GetTemplateDeviceCount(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetTemplateDeviceCount, null, options, request);
}
///
/// Метод получения количества шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceCountAsync(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateDeviceCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества шаблонов ПУ.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateDeviceCountAsync(global::Keyapis.TelemetryControl.V1.GetTemplateDeviceCountRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetTemplateDeviceCount, null, options, request);
}
///
/// Метод сохранения шаблона ПУ.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.PostTemplateDeviceResponse PostTemplateDevice(global::Keyapis.TelemetryControl.V1.PostTemplateDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return PostTemplateDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод сохранения шаблона ПУ.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.PostTemplateDeviceResponse PostTemplateDevice(global::Keyapis.TelemetryControl.V1.PostTemplateDeviceRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_PostTemplateDevice, null, options, request);
}
///
/// Метод сохранения шаблона ПУ.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 PostTemplateDeviceAsync(global::Keyapis.TelemetryControl.V1.PostTemplateDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return PostTemplateDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод сохранения шаблона ПУ.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 PostTemplateDeviceAsync(global::Keyapis.TelemetryControl.V1.PostTemplateDeviceRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_PostTemplateDevice, null, options, request);
}
///
/// Метод удаления шаблона ПУ.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.DeleteTemplateDeviceResponse DeleteTemplateDevice(global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteTemplateDevice(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод удаления шаблона ПУ.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.DeleteTemplateDeviceResponse DeleteTemplateDevice(global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteTemplateDevice, null, options, request);
}
///
/// Метод удаления шаблона ПУ.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 DeleteTemplateDeviceAsync(global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteTemplateDeviceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод удаления шаблона ПУ.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 DeleteTemplateDeviceAsync(global::Keyapis.TelemetryControl.V1.DeleteTemplateDeviceRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteTemplateDevice, null, options, request);
}
///
/// Метод получения шаблона индикатора.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateIndicatorResponse GetTemplateIndicator(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateIndicator(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения шаблона индикатора.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateIndicatorResponse GetTemplateIndicator(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetTemplateIndicator, null, options, request);
}
///
/// Метод получения шаблона индикатора.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorAsync(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateIndicatorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения шаблона индикатора.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorAsync(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetTemplateIndicator, null, options, request);
}
///
/// Метод получения списка шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorList(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateIndicatorList(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения списка шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorList(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorListRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncServerStreamingCall(__Method_GetTemplateIndicatorList, null, options, request);
}
///
/// Метод получения количества шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateIndicatorCountResponse GetTemplateIndicatorCount(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateIndicatorCount(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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.GetTemplateIndicatorCountResponse GetTemplateIndicatorCount(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetTemplateIndicatorCount, null, options, request);
}
///
/// Метод получения количества шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorCountAsync(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTemplateIndicatorCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества шаблонов индикаторов.
/// Метод доступен для: Token: service, application, admin, owner, employee, 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 GetTemplateIndicatorCountAsync(global::Keyapis.TelemetryControl.V1.GetTemplateIndicatorCountRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetTemplateIndicatorCount, null, options, request);
}
///
/// Метод сохранения шаблонов индикатора.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.PostTemplateIndicatorResponse PostTemplateIndicator(global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return PostTemplateIndicator(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод сохранения шаблонов индикатора.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.PostTemplateIndicatorResponse PostTemplateIndicator(global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_PostTemplateIndicator, null, options, request);
}
///
/// Метод сохранения шаблонов индикатора.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 PostTemplateIndicatorAsync(global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return PostTemplateIndicatorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод сохранения шаблонов индикатора.
/// Поддерживает создание и обновление.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 PostTemplateIndicatorAsync(global::Keyapis.TelemetryControl.V1.PostTemplateIndicatorRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_PostTemplateIndicator, null, options, request);
}
///
/// Метод удаления шаблона шаблона индикатора.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.DeleteTemplateIndicatorResponse DeleteTemplateIndicator(global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteTemplateIndicator(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод удаления шаблона шаблона индикатора.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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.DeleteTemplateIndicatorResponse DeleteTemplateIndicator(global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteTemplateIndicator, null, options, request);
}
///
/// Метод удаления шаблона шаблона индикатора.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 DeleteTemplateIndicatorAsync(global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteTemplateIndicatorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод удаления шаблона шаблона индикатора.
/// Метод доступен для: Token: admin, service, application. Без учета разрешений
///
/// 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 DeleteTemplateIndicatorAsync(global::Keyapis.TelemetryControl.V1.DeleteTemplateIndicatorRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteTemplateIndicator, null, options, request);
}
/// Creates a new instance of client from given ClientBaseConfiguration.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected override TemplateServiceClient NewInstance(ClientBaseConfiguration configuration)
{
return new TemplateServiceClient(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(TemplateServiceBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_GetTemplateDevice, serviceImpl.GetTemplateDevice)
.AddMethod(__Method_GetTemplateDeviceList, serviceImpl.GetTemplateDeviceList)
.AddMethod(__Method_GetTemplateDeviceCount, serviceImpl.GetTemplateDeviceCount)
.AddMethod(__Method_PostTemplateDevice, serviceImpl.PostTemplateDevice)
.AddMethod(__Method_DeleteTemplateDevice, serviceImpl.DeleteTemplateDevice)
.AddMethod(__Method_GetTemplateIndicator, serviceImpl.GetTemplateIndicator)
.AddMethod(__Method_GetTemplateIndicatorList, serviceImpl.GetTemplateIndicatorList)
.AddMethod(__Method_GetTemplateIndicatorCount, serviceImpl.GetTemplateIndicatorCount)
.AddMethod(__Method_PostTemplateIndicator, serviceImpl.PostTemplateIndicator)
.AddMethod(__Method_DeleteTemplateIndicator, serviceImpl.DeleteTemplateIndicator).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, TemplateServiceBase serviceImpl)
{
serviceBinder.AddMethod(__Method_GetTemplateDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetTemplateDevice));
serviceBinder.AddMethod(__Method_GetTemplateDeviceList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetTemplateDeviceList));
serviceBinder.AddMethod(__Method_GetTemplateDeviceCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetTemplateDeviceCount));
serviceBinder.AddMethod(__Method_PostTemplateDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostTemplateDevice));
serviceBinder.AddMethod(__Method_DeleteTemplateDevice, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteTemplateDevice));
serviceBinder.AddMethod(__Method_GetTemplateIndicator, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetTemplateIndicator));
serviceBinder.AddMethod(__Method_GetTemplateIndicatorList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetTemplateIndicatorList));
serviceBinder.AddMethod(__Method_GetTemplateIndicatorCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetTemplateIndicatorCount));
serviceBinder.AddMethod(__Method_PostTemplateIndicator, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostTemplateIndicator));
serviceBinder.AddMethod(__Method_DeleteTemplateIndicator, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteTemplateIndicator));
}
}
}
#endregion