// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_control/v1/keyapis_telemetry_control_building_v1.proto // // Original file comments: // // Сервис реализует функционал управления объектами строительства телеметрии #pragma warning disable 0414, 1591 #region Designer generated code using grpc = global::Grpc.Core; namespace Keyapis.TelemetryControl.V1 { /// /// Сервис управления объектами строительства телеметрии. /// Авторизация: /// - Authorization: Bearer token. /// - X-Api-Key: apiKey /// public static partial class BuildingService { static readonly string __ServiceName = "keyapis.telemetry_control.v1.BuildingService"; [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_GetBuildingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostBuildingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostBuildingRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostBuildingResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostBuildingResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostBuildingFullDuplexRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PostBuildingFullDuplexResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PostBuildingFullDuplexResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteBuildingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_DeleteBuildingResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.DeleteBuildingResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupListRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingGroupListRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupListResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingGroupListResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupCountRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupCountResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupAttachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupAttachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupDetachRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupDetachResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetBuilding = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetBuilding", __Marshaller_keyapis_telemetry_control_v1_GetBuildingRequest, __Marshaller_keyapis_telemetry_control_v1_GetBuildingResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetBuildingList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetBuildingList", __Marshaller_keyapis_telemetry_control_v1_GetBuildingListRequest, __Marshaller_keyapis_telemetry_control_v1_GetBuildingListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetBuildingCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetBuildingCount", __Marshaller_keyapis_telemetry_control_v1_GetBuildingCountRequest, __Marshaller_keyapis_telemetry_control_v1_GetBuildingCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostBuilding = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PostBuilding", __Marshaller_keyapis_telemetry_control_v1_PostBuildingRequest, __Marshaller_keyapis_telemetry_control_v1_PostBuildingResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PostBuildingFullDuplex = new grpc::Method( grpc::MethodType.DuplexStreaming, __ServiceName, "PostBuildingFullDuplex", __Marshaller_keyapis_telemetry_control_v1_PostBuildingFullDuplexRequest, __Marshaller_keyapis_telemetry_control_v1_PostBuildingFullDuplexResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_DeleteBuilding = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "DeleteBuilding", __Marshaller_keyapis_telemetry_control_v1_DeleteBuildingRequest, __Marshaller_keyapis_telemetry_control_v1_DeleteBuildingResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetBuildingGroupList = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "GetBuildingGroupList", __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupListRequest, __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupListResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_GetBuildingGroupCount = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "GetBuildingGroupCount", __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupCountRequest, __Marshaller_keyapis_telemetry_control_v1_GetBuildingGroupCountResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutBuildingGroupAttach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutBuildingGroupAttach", __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupAttachRequest, __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupAttachResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PutBuildingGroupDetach = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PutBuildingGroupDetach", __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupDetachRequest, __Marshaller_keyapis_telemetry_control_v1_PutBuildingGroupDetachResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::Keyapis.TelemetryControl.V1.KeyapisTelemetryControlBuildingV1Reflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of BuildingService [grpc::BindServiceMethod(typeof(BuildingService), "BindService")] public abstract partial class BuildingServiceBase { /// /// Метод получения объекта строительства. /// Разрешения: telemetry_control:building:card, telemetry_control:building:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetBuilding(global::Keyapis.TelemetryControl.V1.GetBuildingRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetBuildingList(global::Keyapis.TelemetryControl.V1.GetBuildingListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetBuildingCount(global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения объекта строительства. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:building:save, telemetry_control:building:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PostBuilding(global::Keyapis.TelemetryControl.V1.PostBuildingRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Полнодуплексный метод отправки статусов на сервер и получения изменения со стороны сервера. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: Без учета разрешений /// /// Used for reading requests from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PostBuildingFullDuplex(grpc::IAsyncStreamReader requestStream, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления объекта строительства. /// Разрешения: telemetry_control:building:remove, telemetry_control:building:remove:own. /// Метод доступен для: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task DeleteBuilding(global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения списка связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetBuildingGroupList(global::Keyapis.TelemetryControl.V1.GetBuildingGroupListRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод получения количества связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task GetBuildingGroupCount(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод сохранения связей объектов строительства и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutBuildingGroupAttach(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// Метод удаления связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PutBuildingGroupDetach(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } } /// Client for BuildingService public partial class BuildingServiceClient : grpc::ClientBase { /// Creates a new client for BuildingService /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public BuildingServiceClient(grpc::ChannelBase channel) : base(channel) { } /// Creates a new client for BuildingService that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public BuildingServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected BuildingServiceClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected BuildingServiceClient(ClientBaseConfiguration configuration) : base(configuration) { } /// /// Метод получения объекта строительства. /// Разрешения: telemetry_control:building:card, telemetry_control:building:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.GetBuildingResponse GetBuilding(global::Keyapis.TelemetryControl.V1.GetBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuilding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения объекта строительства. /// Разрешения: telemetry_control:building:card, telemetry_control:building:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.GetBuildingResponse GetBuilding(global::Keyapis.TelemetryControl.V1.GetBuildingRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetBuilding, null, options, request); } /// /// Метод получения объекта строительства. /// Разрешения: telemetry_control:building:card, telemetry_control:building:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetBuildingAsync(global::Keyapis.TelemetryControl.V1.GetBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения объекта строительства. /// Разрешения: telemetry_control:building:card, telemetry_control:building:card:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetBuildingAsync(global::Keyapis.TelemetryControl.V1.GetBuildingRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetBuilding, null, options, request); } /// /// Метод получения списка объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetBuildingList(global::Keyapis.TelemetryControl.V1.GetBuildingListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetBuildingList(global::Keyapis.TelemetryControl.V1.GetBuildingListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetBuildingList, null, options, request); } /// /// Метод получения количества объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.GetBuildingCountResponse GetBuildingCount(global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.GetBuildingCountResponse GetBuildingCount(global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetBuildingCount, null, options, request); } /// /// Метод получения количества объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetBuildingCountAsync(global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества объектов строительства. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetBuildingCountAsync(global::Keyapis.TelemetryControl.V1.GetBuildingCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetBuildingCount, null, options, request); } /// /// Метод сохранения объекта строительства. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:building:save, telemetry_control:building:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.PostBuildingResponse PostBuilding(global::Keyapis.TelemetryControl.V1.PostBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostBuilding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения объекта строительства. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:building:save, telemetry_control:building:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.PostBuildingResponse PostBuilding(global::Keyapis.TelemetryControl.V1.PostBuildingRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PostBuilding, null, options, request); } /// /// Метод сохранения объекта строительства. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:building:save, telemetry_control:building:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostBuildingAsync(global::Keyapis.TelemetryControl.V1.PostBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostBuildingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения объекта строительства. /// Поддерживает создание и обновление. /// Разрешения: telemetry_control:building:save, telemetry_control:building:save:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PostBuildingAsync(global::Keyapis.TelemetryControl.V1.PostBuildingRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PostBuilding, null, options, request); } /// /// Полнодуплексный метод отправки статусов на сервер и получения изменения со стороны сервера. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: Без учета разрешений /// /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncDuplexStreamingCall PostBuildingFullDuplex(grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PostBuildingFullDuplex(new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Полнодуплексный метод отправки статусов на сервер и получения изменения со стороны сервера. /// Разрешения: telemetry_control:building:list, telemetry_control:building:list:own. /// Метод доступен для: Token: admin, service, bti, seller, application, owner, employee. При наличии разрешений. /// Метод доступен для: ApiKey: Без учета разрешений /// /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncDuplexStreamingCall PostBuildingFullDuplex(grpc::CallOptions options) { return CallInvoker.AsyncDuplexStreamingCall(__Method_PostBuildingFullDuplex, null, options); } /// /// Метод удаления объекта строительства. /// Разрешения: telemetry_control:building:remove, telemetry_control:building:remove:own. /// Метод доступен для: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.DeleteBuildingResponse DeleteBuilding(global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteBuilding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления объекта строительства. /// Разрешения: telemetry_control:building:remove, telemetry_control:building:remove:own. /// Метод доступен для: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.DeleteBuildingResponse DeleteBuilding(global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_DeleteBuilding, null, options, request); } /// /// Метод удаления объекта строительства. /// Разрешения: telemetry_control:building:remove, telemetry_control:building:remove:own. /// Метод доступен для: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall DeleteBuildingAsync(global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return DeleteBuildingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления объекта строительства. /// Разрешения: telemetry_control:building:remove, telemetry_control:building:remove:own. /// Метод доступен для: admin, service, bti, seller, application, owner, employee. При наличии разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall DeleteBuildingAsync(global::Keyapis.TelemetryControl.V1.DeleteBuildingRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_DeleteBuilding, null, options, request); } /// /// Метод получения списка связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetBuildingGroupList(global::Keyapis.TelemetryControl.V1.GetBuildingGroupListRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingGroupList(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения списка связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall GetBuildingGroupList(global::Keyapis.TelemetryControl.V1.GetBuildingGroupListRequest request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_GetBuildingGroupList, null, options, request); } /// /// Метод получения количества связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountResponse GetBuildingGroupCount(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingGroupCount(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountResponse GetBuildingGroupCount(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_GetBuildingGroupCount, null, options, request); } /// /// Метод получения количества связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetBuildingGroupCountAsync(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GetBuildingGroupCountAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод получения количества связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GetBuildingGroupCountAsync(global::Keyapis.TelemetryControl.V1.GetBuildingGroupCountRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_GetBuildingGroupCount, null, options, request); } /// /// Метод сохранения связей объектов строительства и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachResponse PutBuildingGroupAttach(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutBuildingGroupAttach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения связей объектов строительства и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachResponse PutBuildingGroupAttach(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutBuildingGroupAttach, null, options, request); } /// /// Метод сохранения связей объектов строительства и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutBuildingGroupAttachAsync(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutBuildingGroupAttachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод сохранения связей объектов строительства и группы пользователя. /// Поддерживает только создание. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutBuildingGroupAttachAsync(global::Keyapis.TelemetryControl.V1.PutBuildingGroupAttachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutBuildingGroupAttach, null, options, request); } /// /// Метод удаления связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachResponse PutBuildingGroupDetach(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutBuildingGroupDetach(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachResponse PutBuildingGroupDetach(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PutBuildingGroupDetach, null, options, request); } /// /// Метод удаления связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutBuildingGroupDetachAsync(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PutBuildingGroupDetachAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// Метод удаления связей объектов строительства и группы пользователя. /// Метод доступен для: Token: admin, service, bti, seller. Без учета разрешений /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PutBuildingGroupDetachAsync(global::Keyapis.TelemetryControl.V1.PutBuildingGroupDetachRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PutBuildingGroupDetach, null, options, request); } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override BuildingServiceClient NewInstance(ClientBaseConfiguration configuration) { return new BuildingServiceClient(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(BuildingServiceBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetBuilding, serviceImpl.GetBuilding) .AddMethod(__Method_GetBuildingList, serviceImpl.GetBuildingList) .AddMethod(__Method_GetBuildingCount, serviceImpl.GetBuildingCount) .AddMethod(__Method_PostBuilding, serviceImpl.PostBuilding) .AddMethod(__Method_PostBuildingFullDuplex, serviceImpl.PostBuildingFullDuplex) .AddMethod(__Method_DeleteBuilding, serviceImpl.DeleteBuilding) .AddMethod(__Method_GetBuildingGroupList, serviceImpl.GetBuildingGroupList) .AddMethod(__Method_GetBuildingGroupCount, serviceImpl.GetBuildingGroupCount) .AddMethod(__Method_PutBuildingGroupAttach, serviceImpl.PutBuildingGroupAttach) .AddMethod(__Method_PutBuildingGroupDetach, serviceImpl.PutBuildingGroupDetach).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, BuildingServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetBuilding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetBuilding)); serviceBinder.AddMethod(__Method_GetBuildingList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetBuildingList)); serviceBinder.AddMethod(__Method_GetBuildingCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetBuildingCount)); serviceBinder.AddMethod(__Method_PostBuilding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PostBuilding)); serviceBinder.AddMethod(__Method_PostBuildingFullDuplex, serviceImpl == null ? null : new grpc::DuplexStreamingServerMethod(serviceImpl.PostBuildingFullDuplex)); serviceBinder.AddMethod(__Method_DeleteBuilding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.DeleteBuilding)); serviceBinder.AddMethod(__Method_GetBuildingGroupList, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.GetBuildingGroupList)); serviceBinder.AddMethod(__Method_GetBuildingGroupCount, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetBuildingGroupCount)); serviceBinder.AddMethod(__Method_PutBuildingGroupAttach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutBuildingGroupAttach)); serviceBinder.AddMethod(__Method_PutBuildingGroupDetach, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PutBuildingGroupDetach)); } } } #endregion