// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: servicesAdmin.proto // #pragma warning disable 0414, 1591, 8981 #region Designer generated code using grpc = global::Grpc.Core; namespace ServicesAdmin { public static partial class ServiceservicesAdmin { static readonly string __ServiceName = "servicesAdmin.ServiceservicesAdmin"; [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_servicesAdmin_ContractedServicesRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.ContractedServicesRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_ContractedServicesResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.ContractedServicesResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_RequestQueueRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.RequestQueueRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_RequestQueueResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.RequestQueueResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_StatusSupplyRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.StatusSupplyRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_StatusSupplyResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.StatusSupplyResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_ServiceStatusRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.ServiceStatusRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_ServiceStatusResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.ServiceStatusResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_UserVcdRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.UserVcdRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_UserVcdResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.UserVcdResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_firewallRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.firewallRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_servicesAdmin_firewallResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesAdmin.firewallResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_ContractedServicesService = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "ContractedServicesService", __Marshaller_servicesAdmin_ContractedServicesRequest, __Marshaller_servicesAdmin_ContractedServicesResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_RequestQueueService = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "RequestQueueService", __Marshaller_servicesAdmin_RequestQueueRequest, __Marshaller_servicesAdmin_RequestQueueResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_StatusSupplyService = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "StatusSupplyService", __Marshaller_servicesAdmin_StatusSupplyRequest, __Marshaller_servicesAdmin_StatusSupplyResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_ServiceStatusService = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "ServiceStatusService", __Marshaller_servicesAdmin_ServiceStatusRequest, __Marshaller_servicesAdmin_ServiceStatusResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_UserVcdServices = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "UserVcdServices", __Marshaller_servicesAdmin_UserVcdRequest, __Marshaller_servicesAdmin_UserVcdResponse); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_firewallServices = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "firewallServices", __Marshaller_servicesAdmin_firewallRequest, __Marshaller_servicesAdmin_firewallResponse); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::ServicesAdmin.ServicesAdminReflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of ServiceservicesAdmin [grpc::BindServiceMethod(typeof(ServiceservicesAdmin), "BindService")] public abstract partial class ServiceservicesAdminBase { [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task ContractedServicesService(global::ServicesAdmin.ContractedServicesRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task RequestQueueService(global::ServicesAdmin.RequestQueueRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task StatusSupplyService(global::ServicesAdmin.StatusSupplyRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task ServiceStatusService(global::ServicesAdmin.ServiceStatusRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task UserVcdServices(global::ServicesAdmin.UserVcdRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task firewallServices(global::ServicesAdmin.firewallRequest request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } } /// Client for ServiceservicesAdmin public partial class ServiceservicesAdminClient : grpc::ClientBase { /// Creates a new client for ServiceservicesAdmin /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public ServiceservicesAdminClient(grpc::ChannelBase channel) : base(channel) { } /// Creates a new client for ServiceservicesAdmin that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public ServiceservicesAdminClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected ServiceservicesAdminClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected ServiceservicesAdminClient(ClientBaseConfiguration configuration) : base(configuration) { } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.ContractedServicesResponse ContractedServicesService(global::ServicesAdmin.ContractedServicesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ContractedServicesService(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.ContractedServicesResponse ContractedServicesService(global::ServicesAdmin.ContractedServicesRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_ContractedServicesService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ContractedServicesServiceAsync(global::ServicesAdmin.ContractedServicesRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ContractedServicesServiceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ContractedServicesServiceAsync(global::ServicesAdmin.ContractedServicesRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_ContractedServicesService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.RequestQueueResponse RequestQueueService(global::ServicesAdmin.RequestQueueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return RequestQueueService(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.RequestQueueResponse RequestQueueService(global::ServicesAdmin.RequestQueueRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_RequestQueueService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall RequestQueueServiceAsync(global::ServicesAdmin.RequestQueueRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return RequestQueueServiceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall RequestQueueServiceAsync(global::ServicesAdmin.RequestQueueRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_RequestQueueService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.StatusSupplyResponse StatusSupplyService(global::ServicesAdmin.StatusSupplyRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StatusSupplyService(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.StatusSupplyResponse StatusSupplyService(global::ServicesAdmin.StatusSupplyRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_StatusSupplyService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StatusSupplyServiceAsync(global::ServicesAdmin.StatusSupplyRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StatusSupplyServiceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StatusSupplyServiceAsync(global::ServicesAdmin.StatusSupplyRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_StatusSupplyService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.ServiceStatusResponse ServiceStatusService(global::ServicesAdmin.ServiceStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ServiceStatusService(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.ServiceStatusResponse ServiceStatusService(global::ServicesAdmin.ServiceStatusRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_ServiceStatusService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ServiceStatusServiceAsync(global::ServicesAdmin.ServiceStatusRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ServiceStatusServiceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ServiceStatusServiceAsync(global::ServicesAdmin.ServiceStatusRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_ServiceStatusService, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.UserVcdResponse UserVcdServices(global::ServicesAdmin.UserVcdRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return UserVcdServices(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.UserVcdResponse UserVcdServices(global::ServicesAdmin.UserVcdRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_UserVcdServices, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall UserVcdServicesAsync(global::ServicesAdmin.UserVcdRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return UserVcdServicesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall UserVcdServicesAsync(global::ServicesAdmin.UserVcdRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_UserVcdServices, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.firewallResponse firewallServices(global::ServicesAdmin.firewallRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return firewallServices(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::ServicesAdmin.firewallResponse firewallServices(global::ServicesAdmin.firewallRequest request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_firewallServices, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall firewallServicesAsync(global::ServicesAdmin.firewallRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return firewallServicesAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall firewallServicesAsync(global::ServicesAdmin.firewallRequest request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_firewallServices, null, options, request); } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override ServiceservicesAdminClient NewInstance(ClientBaseConfiguration configuration) { return new ServiceservicesAdminClient(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(ServiceservicesAdminBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_ContractedServicesService, serviceImpl.ContractedServicesService) .AddMethod(__Method_RequestQueueService, serviceImpl.RequestQueueService) .AddMethod(__Method_StatusSupplyService, serviceImpl.StatusSupplyService) .AddMethod(__Method_ServiceStatusService, serviceImpl.ServiceStatusService) .AddMethod(__Method_UserVcdServices, serviceImpl.UserVcdServices) .AddMethod(__Method_firewallServices, serviceImpl.firewallServices).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, ServiceservicesAdminBase serviceImpl) { serviceBinder.AddMethod(__Method_ContractedServicesService, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ContractedServicesService)); serviceBinder.AddMethod(__Method_RequestQueueService, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.RequestQueueService)); serviceBinder.AddMethod(__Method_StatusSupplyService, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StatusSupplyService)); serviceBinder.AddMethod(__Method_ServiceStatusService, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ServiceStatusService)); serviceBinder.AddMethod(__Method_UserVcdServices, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UserVcdServices)); serviceBinder.AddMethod(__Method_firewallServices, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.firewallServices)); } } } #endregion