//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: keyapis/telemetry_control/v1/keyapis_telemetry_control_dictionary_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 DictionaryService
{
static readonly string __ServiceName = "keyapis.telemetry_control.v1.DictionaryService";
[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_GetDictionaryDeviceModelListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelListRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelListResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDictionaryDeviceModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostDictionaryDeviceModelResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteDictionaryDeviceModelRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteDictionaryDeviceModelResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryMrfListRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryMrfListResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryRfListRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryRfListResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetDictionaryDeviceModelList = new grpc::Method(
grpc::MethodType.ServerStreaming,
__ServiceName,
"GetDictionaryDeviceModelList",
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelListRequest,
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelListResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetDictionaryDeviceModelCount = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetDictionaryDeviceModelCount",
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelCountRequest,
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryDeviceModelCountResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_PostDictionaryDeviceModel = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"PostDictionaryDeviceModel",
__Marshaller_keyapis_telemetry_control_v1_PostDictionaryDeviceModelRequest,
__Marshaller_keyapis_telemetry_control_v1_PostDictionaryDeviceModelResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_DeleteDictionaryDeviceModel = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"DeleteDictionaryDeviceModel",
__Marshaller_keyapis_telemetry_control_v1_DeleteDictionaryDeviceModelRequest,
__Marshaller_keyapis_telemetry_control_v1_DeleteDictionaryDeviceModelResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetDictionaryMrfList = new grpc::Method(
grpc::MethodType.ServerStreaming,
__ServiceName,
"GetDictionaryMrfList",
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfListRequest,
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfListResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetDictionaryMrfCount = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetDictionaryMrfCount",
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfCountRequest,
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryMrfCountResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetDictionaryRfList = new grpc::Method(
grpc::MethodType.ServerStreaming,
__ServiceName,
"GetDictionaryRfList",
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfListRequest,
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfListResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_GetDictionaryRfCount = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"GetDictionaryRfCount",
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfCountRequest,
__Marshaller_keyapis_telemetry_control_v1_GetDictionaryRfCountResponse);
/// Service descriptor
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlDictionaryV1Reflection.Descriptor.Services[0]; }
}
/// Base class for server-side implementations of DictionaryService
[grpc::BindServiceMethod(typeof(DictionaryService), "BindService")]
public abstract partial class DictionaryServiceBase
{
///
/// Метод получения списка моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryDeviceModelList(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения количества моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryDeviceModelCount(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountRequest 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 PostDictionaryDeviceModel(global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelRequest 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 DeleteDictionaryDeviceModel(global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения списка элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryMrfList(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения количества элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryMrfCount(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения списка элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryRfList(global::Keyapis.TelemetryControl.V1.GetDictionaryRfListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
///
/// Метод получения количества элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryRfCount(global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// Client for DictionaryService
public partial class DictionaryServiceClient : grpc::ClientBase
{
/// Creates a new client for DictionaryService
/// The channel to use to make remote calls.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public DictionaryServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
/// Creates a new client for DictionaryService that uses a custom CallInvoker.
/// The callInvoker to use to make remote calls.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public DictionaryServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// Protected parameterless constructor to allow creation of test doubles.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected DictionaryServiceClient() : base()
{
}
/// Protected constructor to allow creation of configured clients.
/// The client configuration.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected DictionaryServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
///
/// Метод получения списка моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryDeviceModelList(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryDeviceModelList(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения списка моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryDeviceModelList(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelListRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncServerStreamingCall(__Method_GetDictionaryDeviceModelList, null, options, request);
}
///
/// Метод получения количества моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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.GetDictionaryDeviceModelCountResponse GetDictionaryDeviceModelCount(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryDeviceModelCount(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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.GetDictionaryDeviceModelCountResponse GetDictionaryDeviceModelCount(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetDictionaryDeviceModelCount, null, options, request);
}
///
/// Метод получения количества моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryDeviceModelCountAsync(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryDeviceModelCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества моделей ПУ.
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryDeviceModelCountAsync(global::Keyapis.TelemetryControl.V1.GetDictionaryDeviceModelCountRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetDictionaryDeviceModelCount, 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.PostDictionaryDeviceModelResponse PostDictionaryDeviceModel(global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return PostDictionaryDeviceModel(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.PostDictionaryDeviceModelResponse PostDictionaryDeviceModel(global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_PostDictionaryDeviceModel, 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 PostDictionaryDeviceModelAsync(global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return PostDictionaryDeviceModelAsync(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 PostDictionaryDeviceModelAsync(global::Keyapis.TelemetryControl.V1.PostDictionaryDeviceModelRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_PostDictionaryDeviceModel, 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.DeleteDictionaryDeviceModelResponse DeleteDictionaryDeviceModel(global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteDictionaryDeviceModel(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.DeleteDictionaryDeviceModelResponse DeleteDictionaryDeviceModel(global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_DeleteDictionaryDeviceModel, 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 DeleteDictionaryDeviceModelAsync(global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return DeleteDictionaryDeviceModelAsync(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 DeleteDictionaryDeviceModelAsync(global::Keyapis.TelemetryControl.V1.DeleteDictionaryDeviceModelRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_DeleteDictionaryDeviceModel, null, options, request);
}
///
/// Метод получения списка элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryMrfList(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryMrfList(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения списка элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryMrfList(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfListRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncServerStreamingCall(__Method_GetDictionaryMrfList, null, options, request);
}
///
/// Метод получения количества элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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.GetDictionaryMrfCountResponse GetDictionaryMrfCount(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryMrfCount(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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.GetDictionaryMrfCountResponse GetDictionaryMrfCount(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetDictionaryMrfCount, null, options, request);
}
///
/// Метод получения количества элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryMrfCountAsync(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryMrfCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества элементов справочника Макрорегионы (МРФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryMrfCountAsync(global::Keyapis.TelemetryControl.V1.GetDictionaryMrfCountRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetDictionaryMrfCount, null, options, request);
}
///
/// Метод получения списка элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryRfList(global::Keyapis.TelemetryControl.V1.GetDictionaryRfListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryRfList(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения списка элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryRfList(global::Keyapis.TelemetryControl.V1.GetDictionaryRfListRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncServerStreamingCall(__Method_GetDictionaryRfList, null, options, request);
}
///
/// Метод получения количества элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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.GetDictionaryRfCountResponse GetDictionaryRfCount(global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryRfCount(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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.GetDictionaryRfCountResponse GetDictionaryRfCount(global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetDictionaryRfCount, null, options, request);
}
///
/// Метод получения количества элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryRfCountAsync(global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetDictionaryRfCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
///
/// Метод получения количества элементов справочника Регионы (РФ).
/// Метод доступен для: Token: admin, service, application, bti, owner, employee, 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 GetDictionaryRfCountAsync(global::Keyapis.TelemetryControl.V1.GetDictionaryRfCountRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetDictionaryRfCount, null, options, request);
}
/// Creates a new instance of client from given ClientBaseConfiguration.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected override DictionaryServiceClient NewInstance(ClientBaseConfiguration configuration)
{
return new DictionaryServiceClient(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(DictionaryServiceBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_GetDictionaryDeviceModelList, serviceImpl.GetDictionaryDeviceModelList)
.AddMethod(__Method_GetDictionaryDeviceModelCount, serviceImpl.GetDictionaryDeviceModelCount)
.AddMethod(__Method_PostDictionaryDeviceModel, serviceImpl.PostDictionaryDeviceModel)
.AddMethod(__Method_DeleteDictionaryDeviceModel, serviceImpl.DeleteDictionaryDeviceModel)
.AddMethod(__Method_GetDictionaryMrfList, serviceImpl.GetDictionaryMrfList)
.AddMethod(__Method_GetDictionaryMrfCount, serviceImpl.GetDictionaryMrfCount)
.AddMethod(__Method_GetDictionaryRfList, serviceImpl.GetDictionaryRfList)
.AddMethod(__Method_GetDictionaryRfCount, serviceImpl.GetDictionaryRfCount).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, DictionaryServiceBase serviceImpl)
{
serviceBinder.AddMethod(__Method_GetDictionaryDeviceModelList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDictionaryDeviceModelList));
serviceBinder.AddMethod(__Method_GetDictionaryDeviceModelCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDictionaryDeviceModelCount));
serviceBinder.AddMethod(__Method_PostDictionaryDeviceModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostDictionaryDeviceModel));
serviceBinder.AddMethod(__Method_DeleteDictionaryDeviceModel, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteDictionaryDeviceModel));
serviceBinder.AddMethod(__Method_GetDictionaryMrfList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDictionaryMrfList));
serviceBinder.AddMethod(__Method_GetDictionaryMrfCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDictionaryMrfCount));
serviceBinder.AddMethod(__Method_GetDictionaryRfList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetDictionaryRfList));
serviceBinder.AddMethod(__Method_GetDictionaryRfCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetDictionaryRfCount));
}
}
}
#endregion