Class TopicStatsServiceGrpc (1.14.7)

public final class TopicStatsServiceGrpc

This service allows users to get stats about messages in their topic.

Inheritance

java.lang.Object > TopicStatsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TopicStatsServiceGrpc.AsyncService service)

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

getComputeHeadCursorMethod()

public static MethodDescriptor<ComputeHeadCursorRequest,ComputeHeadCursorResponse> getComputeHeadCursorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ComputeHeadCursorRequest,ComputeHeadCursorResponse>

getComputeMessageStatsMethod()

public static MethodDescriptor<ComputeMessageStatsRequest,ComputeMessageStatsResponse> getComputeMessageStatsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ComputeMessageStatsRequest,ComputeMessageStatsResponse>

getComputeTimeCursorMethod()

public static MethodDescriptor<ComputeTimeCursorRequest,ComputeTimeCursorResponse> getComputeTimeCursorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ComputeTimeCursorRequest,ComputeTimeCursorResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static TopicStatsServiceGrpc.TopicStatsServiceBlockingStub 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
TopicStatsServiceGrpc.TopicStatsServiceBlockingStub

newFutureStub(Channel channel)

public static TopicStatsServiceGrpc.TopicStatsServiceFutureStub 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
TopicStatsServiceGrpc.TopicStatsServiceFutureStub

newStub(Channel channel)

public static TopicStatsServiceGrpc.TopicStatsServiceStub 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
TopicStatsServiceGrpc.TopicStatsServiceStub