Class TenantServiceGrpc (2.36.0)

public final class TenantServiceGrpc

A service that handles tenant management, including CRUD and enumeration.

Inheritance

java.lang.Object > TenantServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(TenantServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TenantServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceTenantServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateTenantMethod()

public static MethodDescriptor<CreateTenantRequest,Tenant> getCreateTenantMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateTenantRequest,Tenant>

getDeleteTenantMethod()

public static MethodDescriptor<DeleteTenantRequest,Empty> getDeleteTenantMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteTenantRequest,Empty>

getGetTenantMethod()

public static MethodDescriptor<GetTenantRequest,Tenant> getGetTenantMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTenantRequest,Tenant>

getListTenantsMethod()

public static MethodDescriptor<ListTenantsRequest,ListTenantsResponse> getListTenantsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTenantsRequest,ListTenantsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateTenantMethod()

public static MethodDescriptor<UpdateTenantRequest,Tenant> getUpdateTenantMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateTenantRequest,Tenant>

newBlockingStub(Channel channel)

public static TenantServiceGrpc.TenantServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TenantServiceGrpc.TenantServiceBlockingStub

newFutureStub(Channel channel)

public static TenantServiceGrpc.TenantServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TenantServiceGrpc.TenantServiceFutureStub

newStub(Channel channel)

public static TenantServiceGrpc.TenantServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TenantServiceGrpc.TenantServiceStub