Class PartitionAssignmentServiceGrpc (1.6.1)

public final class PartitionAssignmentServiceGrpc

The service that a subscriber client application uses to determine which partitions it should connect to.

Inheritance

java.lang.Object > PartitionAssignmentServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getAssignPartitionsMethod()

public static MethodDescriptor<PartitionAssignmentRequest,PartitionAssignment> getAssignPartitionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<PartitionAssignmentRequest,PartitionAssignment>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingStub 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
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceBlockingStub

newFutureStub(Channel channel)

public static PartitionAssignmentServiceGrpc.PartitionAssignmentServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceFutureStub

newStub(Channel channel)

public static PartitionAssignmentServiceGrpc.PartitionAssignmentServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PartitionAssignmentServiceGrpc.PartitionAssignmentServiceStub