Class ExamplesGrpc (0.48.0)

public final class ExamplesGrpc

Service for managing Examples.

Inheritance

java.lang.Object > ExamplesGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(ExamplesGrpc.AsyncService service)

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

getCreateExampleMethod()

public static MethodDescriptor<CreateExampleRequest,Example> getCreateExampleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateExampleRequest,Example>

getDeleteExampleMethod()

public static MethodDescriptor<DeleteExampleRequest,Empty> getDeleteExampleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteExampleRequest,Empty>

getGetExampleMethod()

public static MethodDescriptor<GetExampleRequest,Example> getGetExampleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetExampleRequest,Example>

getListExamplesMethod()

public static MethodDescriptor<ListExamplesRequest,ListExamplesResponse> getListExamplesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListExamplesRequest,ListExamplesResponse>

getServiceDescriptor()

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

getUpdateExampleMethod()

public static MethodDescriptor<UpdateExampleRequest,Example> getUpdateExampleMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateExampleRequest,Example>

newBlockingStub(Channel channel)

public static ExamplesGrpc.ExamplesBlockingStub 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
ExamplesGrpc.ExamplesBlockingStub

newFutureStub(Channel channel)

public static ExamplesGrpc.ExamplesFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ExamplesGrpc.ExamplesFutureStub

newStub(Channel channel)

public static ExamplesGrpc.ExamplesStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ExamplesGrpc.ExamplesStub