Class TopicStatsServiceGrpc (1.13.0)

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
TypeDescription
String

Static Methods

bindService(TopicStatsServiceGrpc.AsyncService service)

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

getComputeHeadCursorMethod()

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

getComputeMessageStatsMethod()

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

getComputeTimeCursorMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TopicStatsServiceGrpc.TopicStatsServiceStub