//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: servicesCloudConfig.proto
//
#pragma warning disable 0414, 1591, 8981
#region Designer generated code
using grpc = global::Grpc.Core;
namespace ServicesCloudConfig {
public static partial class servicesCloudConfigService
{
static readonly string __ServiceName = "servicesCloudConfig.servicesCloudConfigService";
[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_servicesCloudConfig_ProductTypeRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.ProductTypeRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_ProductTypeResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.ProductTypeResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_PlansServiceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.PlansServiceRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_PlansServiceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.PlansServiceResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_ServicesAllContractedRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.ServicesAllContractedRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_ServicesContractedResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.ServicesContractedResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_IpServiceByIdRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.IpServiceByIdRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_IpServiceByIdResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.IpServiceByIdResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_ServicesByProductTypeRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.ServicesByProductTypeRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller __Marshaller_servicesCloudConfig_ServicesByProductTypeResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::ServicesCloudConfig.ServicesByProductTypeResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_getProductType = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"getProductType",
__Marshaller_servicesCloudConfig_ProductTypeRequest,
__Marshaller_servicesCloudConfig_ProductTypeResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_getPlansService = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"getPlansService",
__Marshaller_servicesCloudConfig_PlansServiceRequest,
__Marshaller_servicesCloudConfig_PlansServiceResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_getServicesAllContracted = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"getServicesAllContracted",
__Marshaller_servicesCloudConfig_ServicesAllContractedRequest,
__Marshaller_servicesCloudConfig_ServicesContractedResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_getIpServiceById = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"getIpServiceById",
__Marshaller_servicesCloudConfig_IpServiceByIdRequest,
__Marshaller_servicesCloudConfig_IpServiceByIdResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method __Method_getServicesCatalog = new grpc::Method(
grpc::MethodType.Unary,
__ServiceName,
"getServicesCatalog",
__Marshaller_servicesCloudConfig_ServicesByProductTypeRequest,
__Marshaller_servicesCloudConfig_ServicesByProductTypeResponse);
/// Service descriptor
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::ServicesCloudConfig.ServicesCloudConfigReflection.Descriptor.Services[0]; }
}
/// Base class for server-side implementations of servicesCloudConfigService
[grpc::BindServiceMethod(typeof(servicesCloudConfigService), "BindService")]
public abstract partial class servicesCloudConfigServiceBase
{
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::System.Threading.Tasks.Task getProductType(global::ServicesCloudConfig.ProductTypeRequest 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 getPlansService(global::ServicesCloudConfig.PlansServiceRequest 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 getServicesAllContracted(global::ServicesCloudConfig.ServicesAllContractedRequest 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 getIpServiceById(global::ServicesCloudConfig.IpServiceByIdRequest 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 getServicesCatalog(global::ServicesCloudConfig.ServicesByProductTypeRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
/// Client for servicesCloudConfigService
public partial class servicesCloudConfigServiceClient : grpc::ClientBase
{
/// Creates a new client for servicesCloudConfigService
/// The channel to use to make remote calls.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public servicesCloudConfigServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
/// Creates a new client for servicesCloudConfigService that uses a custom CallInvoker.
/// The callInvoker to use to make remote calls.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public servicesCloudConfigServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
/// Protected parameterless constructor to allow creation of test doubles.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected servicesCloudConfigServiceClient() : base()
{
}
/// Protected constructor to allow creation of configured clients.
/// The client configuration.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected servicesCloudConfigServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.ProductTypeResponse getProductType(global::ServicesCloudConfig.ProductTypeRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getProductType(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.ProductTypeResponse getProductType(global::ServicesCloudConfig.ProductTypeRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_getProductType, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getProductTypeAsync(global::ServicesCloudConfig.ProductTypeRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getProductTypeAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getProductTypeAsync(global::ServicesCloudConfig.ProductTypeRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_getProductType, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.PlansServiceResponse getPlansService(global::ServicesCloudConfig.PlansServiceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getPlansService(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.PlansServiceResponse getPlansService(global::ServicesCloudConfig.PlansServiceRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_getPlansService, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getPlansServiceAsync(global::ServicesCloudConfig.PlansServiceRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getPlansServiceAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getPlansServiceAsync(global::ServicesCloudConfig.PlansServiceRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_getPlansService, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.ServicesContractedResponse getServicesAllContracted(global::ServicesCloudConfig.ServicesAllContractedRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getServicesAllContracted(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.ServicesContractedResponse getServicesAllContracted(global::ServicesCloudConfig.ServicesAllContractedRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_getServicesAllContracted, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getServicesAllContractedAsync(global::ServicesCloudConfig.ServicesAllContractedRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getServicesAllContractedAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getServicesAllContractedAsync(global::ServicesCloudConfig.ServicesAllContractedRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_getServicesAllContracted, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.IpServiceByIdResponse getIpServiceById(global::ServicesCloudConfig.IpServiceByIdRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getIpServiceById(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.IpServiceByIdResponse getIpServiceById(global::ServicesCloudConfig.IpServiceByIdRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_getIpServiceById, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getIpServiceByIdAsync(global::ServicesCloudConfig.IpServiceByIdRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getIpServiceByIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getIpServiceByIdAsync(global::ServicesCloudConfig.IpServiceByIdRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_getIpServiceById, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.ServicesByProductTypeResponse getServicesCatalog(global::ServicesCloudConfig.ServicesByProductTypeRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getServicesCatalog(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::ServicesCloudConfig.ServicesByProductTypeResponse getServicesCatalog(global::ServicesCloudConfig.ServicesByProductTypeRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_getServicesCatalog, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getServicesCatalogAsync(global::ServicesCloudConfig.ServicesByProductTypeRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return getServicesCatalogAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall getServicesCatalogAsync(global::ServicesCloudConfig.ServicesByProductTypeRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_getServicesCatalog, null, options, request);
}
/// Creates a new instance of client from given ClientBaseConfiguration.
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected override servicesCloudConfigServiceClient NewInstance(ClientBaseConfiguration configuration)
{
return new servicesCloudConfigServiceClient(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(servicesCloudConfigServiceBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_getProductType, serviceImpl.getProductType)
.AddMethod(__Method_getPlansService, serviceImpl.getPlansService)
.AddMethod(__Method_getServicesAllContracted, serviceImpl.getServicesAllContracted)
.AddMethod(__Method_getIpServiceById, serviceImpl.getIpServiceById)
.AddMethod(__Method_getServicesCatalog, serviceImpl.getServicesCatalog).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, servicesCloudConfigServiceBase serviceImpl)
{
serviceBinder.AddMethod(__Method_getProductType, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.getProductType));
serviceBinder.AddMethod(__Method_getPlansService, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.getPlansService));
serviceBinder.AddMethod(__Method_getServicesAllContracted, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.getServicesAllContracted));
serviceBinder.AddMethod(__Method_getIpServiceById, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.getIpServiceById));
serviceBinder.AddMethod(__Method_getServicesCatalog, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.getServicesCatalog));
}
}
}
#endregion