Class ExamplesGrpc (0.60.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
Type Description
String

Static Methods

bindService(ExamplesGrpc.AsyncService service)

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

getCreateExampleMethod()

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

getDeleteExampleMethod()

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

getGetExampleMethod()

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

getListExamplesMethod()

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

getServiceDescriptor()

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

getUpdateExampleMethod()

public static MethodDescriptor<UpdateExampleRequest,Example> getUpdateExampleMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
ExamplesGrpc.ExamplesStub