#pragma warning disable 0414, 1591, 8981, 0612
#region Designer generated code
using grpc = global::Grpc.Core;
namespace udb.core.Tenant.Services.V1 {
public static partial class TenantService
{
static readonly string __ServiceName = "udb.core.tenant.services.v1.TenantService";
[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<T>
{
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<T>(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser<T> parser) where T : global::Google.Protobuf.IMessage<T>
{
#if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION
if (__Helper_MessageCache<T>.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<global::udb.core.Tenant.Services.V1.CreateTenantRequest> __Marshaller_udb_core_tenant_services_v1_CreateTenantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.CreateTenantRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.CreateTenantResponse> __Marshaller_udb_core_tenant_services_v1_CreateTenantResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.CreateTenantResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.GetTenantRequest> __Marshaller_udb_core_tenant_services_v1_GetTenantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.GetTenantRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.GetTenantResponse> __Marshaller_udb_core_tenant_services_v1_GetTenantResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.GetTenantResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.ListTenantsRequest> __Marshaller_udb_core_tenant_services_v1_ListTenantsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.ListTenantsRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.ListTenantsResponse> __Marshaller_udb_core_tenant_services_v1_ListTenantsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.ListTenantsResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.UpdateTenantRequest> __Marshaller_udb_core_tenant_services_v1_UpdateTenantRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.UpdateTenantRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.UpdateTenantResponse> __Marshaller_udb_core_tenant_services_v1_UpdateTenantResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.UpdateTenantResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.GetTenantConfigRequest> __Marshaller_udb_core_tenant_services_v1_GetTenantConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.GetTenantConfigRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.GetTenantConfigResponse> __Marshaller_udb_core_tenant_services_v1_GetTenantConfigResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.GetTenantConfigResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest> __Marshaller_udb_core_tenant_services_v1_UpdateTenantConfigRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Marshaller<global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse> __Marshaller_udb_core_tenant_services_v1_UpdateTenantConfigResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse.Parser));
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::udb.core.Tenant.Services.V1.CreateTenantRequest, global::udb.core.Tenant.Services.V1.CreateTenantResponse> __Method_CreateTenant = new grpc::Method<global::udb.core.Tenant.Services.V1.CreateTenantRequest, global::udb.core.Tenant.Services.V1.CreateTenantResponse>(
grpc::MethodType.Unary,
__ServiceName,
"CreateTenant",
__Marshaller_udb_core_tenant_services_v1_CreateTenantRequest,
__Marshaller_udb_core_tenant_services_v1_CreateTenantResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::udb.core.Tenant.Services.V1.GetTenantRequest, global::udb.core.Tenant.Services.V1.GetTenantResponse> __Method_GetTenant = new grpc::Method<global::udb.core.Tenant.Services.V1.GetTenantRequest, global::udb.core.Tenant.Services.V1.GetTenantResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetTenant",
__Marshaller_udb_core_tenant_services_v1_GetTenantRequest,
__Marshaller_udb_core_tenant_services_v1_GetTenantResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::udb.core.Tenant.Services.V1.ListTenantsRequest, global::udb.core.Tenant.Services.V1.ListTenantsResponse> __Method_ListTenants = new grpc::Method<global::udb.core.Tenant.Services.V1.ListTenantsRequest, global::udb.core.Tenant.Services.V1.ListTenantsResponse>(
grpc::MethodType.Unary,
__ServiceName,
"ListTenants",
__Marshaller_udb_core_tenant_services_v1_ListTenantsRequest,
__Marshaller_udb_core_tenant_services_v1_ListTenantsResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::udb.core.Tenant.Services.V1.UpdateTenantRequest, global::udb.core.Tenant.Services.V1.UpdateTenantResponse> __Method_UpdateTenant = new grpc::Method<global::udb.core.Tenant.Services.V1.UpdateTenantRequest, global::udb.core.Tenant.Services.V1.UpdateTenantResponse>(
grpc::MethodType.Unary,
__ServiceName,
"UpdateTenant",
__Marshaller_udb_core_tenant_services_v1_UpdateTenantRequest,
__Marshaller_udb_core_tenant_services_v1_UpdateTenantResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::udb.core.Tenant.Services.V1.GetTenantConfigRequest, global::udb.core.Tenant.Services.V1.GetTenantConfigResponse> __Method_GetTenantConfig = new grpc::Method<global::udb.core.Tenant.Services.V1.GetTenantConfigRequest, global::udb.core.Tenant.Services.V1.GetTenantConfigResponse>(
grpc::MethodType.Unary,
__ServiceName,
"GetTenantConfig",
__Marshaller_udb_core_tenant_services_v1_GetTenantConfigRequest,
__Marshaller_udb_core_tenant_services_v1_GetTenantConfigResponse);
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
static readonly grpc::Method<global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest, global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse> __Method_UpdateTenantConfig = new grpc::Method<global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest, global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse>(
grpc::MethodType.Unary,
__ServiceName,
"UpdateTenantConfig",
__Marshaller_udb_core_tenant_services_v1_UpdateTenantConfigRequest,
__Marshaller_udb_core_tenant_services_v1_UpdateTenantConfigResponse);
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
{
get { return global::udb.core.Tenant.Services.V1.TenantServiceReflection.Descriptor.Services[0]; }
}
[grpc::BindServiceMethod(typeof(TenantService), "BindService")]
public abstract partial class TenantServiceBase
{
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::System.Threading.Tasks.Task<global::udb.core.Tenant.Services.V1.CreateTenantResponse> CreateTenant(global::udb.core.Tenant.Services.V1.CreateTenantRequest 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<global::udb.core.Tenant.Services.V1.GetTenantResponse> GetTenant(global::udb.core.Tenant.Services.V1.GetTenantRequest 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<global::udb.core.Tenant.Services.V1.ListTenantsResponse> ListTenants(global::udb.core.Tenant.Services.V1.ListTenantsRequest 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<global::udb.core.Tenant.Services.V1.UpdateTenantResponse> UpdateTenant(global::udb.core.Tenant.Services.V1.UpdateTenantRequest 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<global::udb.core.Tenant.Services.V1.GetTenantConfigResponse> GetTenantConfig(global::udb.core.Tenant.Services.V1.GetTenantConfigRequest 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<global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse> UpdateTenantConfig(global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest request, grpc::ServerCallContext context)
{
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
}
}
public partial class TenantServiceClient : grpc::ClientBase<TenantServiceClient>
{
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public TenantServiceClient(grpc::ChannelBase channel) : base(channel)
{
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public TenantServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker)
{
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected TenantServiceClient() : base()
{
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected TenantServiceClient(ClientBaseConfiguration configuration) : base(configuration)
{
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.CreateTenantResponse CreateTenant(global::udb.core.Tenant.Services.V1.CreateTenantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return CreateTenant(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.CreateTenantResponse CreateTenant(global::udb.core.Tenant.Services.V1.CreateTenantRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_CreateTenant, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.CreateTenantResponse> CreateTenantAsync(global::udb.core.Tenant.Services.V1.CreateTenantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return CreateTenantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.CreateTenantResponse> CreateTenantAsync(global::udb.core.Tenant.Services.V1.CreateTenantRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_CreateTenant, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.GetTenantResponse GetTenant(global::udb.core.Tenant.Services.V1.GetTenantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTenant(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.GetTenantResponse GetTenant(global::udb.core.Tenant.Services.V1.GetTenantRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetTenant, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.GetTenantResponse> GetTenantAsync(global::udb.core.Tenant.Services.V1.GetTenantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTenantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.GetTenantResponse> GetTenantAsync(global::udb.core.Tenant.Services.V1.GetTenantRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetTenant, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.ListTenantsResponse ListTenants(global::udb.core.Tenant.Services.V1.ListTenantsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return ListTenants(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.ListTenantsResponse ListTenants(global::udb.core.Tenant.Services.V1.ListTenantsRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_ListTenants, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.ListTenantsResponse> ListTenantsAsync(global::udb.core.Tenant.Services.V1.ListTenantsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return ListTenantsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.ListTenantsResponse> ListTenantsAsync(global::udb.core.Tenant.Services.V1.ListTenantsRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_ListTenants, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.UpdateTenantResponse UpdateTenant(global::udb.core.Tenant.Services.V1.UpdateTenantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateTenant(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.UpdateTenantResponse UpdateTenant(global::udb.core.Tenant.Services.V1.UpdateTenantRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_UpdateTenant, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.UpdateTenantResponse> UpdateTenantAsync(global::udb.core.Tenant.Services.V1.UpdateTenantRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateTenantAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.UpdateTenantResponse> UpdateTenantAsync(global::udb.core.Tenant.Services.V1.UpdateTenantRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_UpdateTenant, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.GetTenantConfigResponse GetTenantConfig(global::udb.core.Tenant.Services.V1.GetTenantConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTenantConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.GetTenantConfigResponse GetTenantConfig(global::udb.core.Tenant.Services.V1.GetTenantConfigRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_GetTenantConfig, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.GetTenantConfigResponse> GetTenantConfigAsync(global::udb.core.Tenant.Services.V1.GetTenantConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return GetTenantConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.GetTenantConfigResponse> GetTenantConfigAsync(global::udb.core.Tenant.Services.V1.GetTenantConfigRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_GetTenantConfig, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse UpdateTenantConfig(global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateTenantConfig(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse UpdateTenantConfig(global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest request, grpc::CallOptions options)
{
return CallInvoker.BlockingUnaryCall(__Method_UpdateTenantConfig, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse> UpdateTenantConfigAsync(global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
{
return UpdateTenantConfigAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken));
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public virtual grpc::AsyncUnaryCall<global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse> UpdateTenantConfigAsync(global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest request, grpc::CallOptions options)
{
return CallInvoker.AsyncUnaryCall(__Method_UpdateTenantConfig, null, options, request);
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
protected override TenantServiceClient NewInstance(ClientBaseConfiguration configuration)
{
return new TenantServiceClient(configuration);
}
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public static grpc::ServerServiceDefinition BindService(TenantServiceBase serviceImpl)
{
return grpc::ServerServiceDefinition.CreateBuilder()
.AddMethod(__Method_CreateTenant, serviceImpl.CreateTenant)
.AddMethod(__Method_GetTenant, serviceImpl.GetTenant)
.AddMethod(__Method_ListTenants, serviceImpl.ListTenants)
.AddMethod(__Method_UpdateTenant, serviceImpl.UpdateTenant)
.AddMethod(__Method_GetTenantConfig, serviceImpl.GetTenantConfig)
.AddMethod(__Method_UpdateTenantConfig, serviceImpl.UpdateTenantConfig).Build();
}
[global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)]
public static void BindService(grpc::ServiceBinderBase serviceBinder, TenantServiceBase serviceImpl)
{
serviceBinder.AddMethod(__Method_CreateTenant, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::udb.core.Tenant.Services.V1.CreateTenantRequest, global::udb.core.Tenant.Services.V1.CreateTenantResponse>(serviceImpl.CreateTenant));
serviceBinder.AddMethod(__Method_GetTenant, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::udb.core.Tenant.Services.V1.GetTenantRequest, global::udb.core.Tenant.Services.V1.GetTenantResponse>(serviceImpl.GetTenant));
serviceBinder.AddMethod(__Method_ListTenants, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::udb.core.Tenant.Services.V1.ListTenantsRequest, global::udb.core.Tenant.Services.V1.ListTenantsResponse>(serviceImpl.ListTenants));
serviceBinder.AddMethod(__Method_UpdateTenant, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::udb.core.Tenant.Services.V1.UpdateTenantRequest, global::udb.core.Tenant.Services.V1.UpdateTenantResponse>(serviceImpl.UpdateTenant));
serviceBinder.AddMethod(__Method_GetTenantConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::udb.core.Tenant.Services.V1.GetTenantConfigRequest, global::udb.core.Tenant.Services.V1.GetTenantConfigResponse>(serviceImpl.GetTenantConfig));
serviceBinder.AddMethod(__Method_UpdateTenantConfig, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::udb.core.Tenant.Services.V1.UpdateTenantConfigRequest, global::udb.core.Tenant.Services.V1.UpdateTenantConfigResponse>(serviceImpl.UpdateTenantConfig));
}
}
}
#endregion