Class TenantServiceGrpc (2.43.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
Type Description
String

Static Methods

bindService(TenantServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TenantServiceGrpc.AsyncService service)
Parameter
Name Description
service TenantServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateTenantMethod()

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

getDeleteTenantMethod()

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

getGetTenantMethod()

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

getListTenantsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateTenantMethod()

public static MethodDescriptor<UpdateTenantRequest,Tenant> getUpdateTenantMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
TenantServiceGrpc.TenantServiceStub