public final class AdminServiceGrpc
The service that a client application uses to manage topics and
subscriptions, such creating, listing, and deleting topics and subscriptions.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(AdminServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(AdminServiceGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getCreateReservationMethod()
public static MethodDescriptor<CreateReservationRequest,Reservation> getCreateReservationMethod()
getCreateSubscriptionMethod()
public static MethodDescriptor<CreateSubscriptionRequest,Subscription> getCreateSubscriptionMethod()
getCreateTopicMethod()
public static MethodDescriptor<CreateTopicRequest,Topic> getCreateTopicMethod()
getDeleteReservationMethod()
public static MethodDescriptor<DeleteReservationRequest,Empty> getDeleteReservationMethod()
getDeleteSubscriptionMethod()
public static MethodDescriptor<DeleteSubscriptionRequest,Empty> getDeleteSubscriptionMethod()
getDeleteTopicMethod()
public static MethodDescriptor<DeleteTopicRequest,Empty> getDeleteTopicMethod()
getGetReservationMethod()
public static MethodDescriptor<GetReservationRequest,Reservation> getGetReservationMethod()
getGetSubscriptionMethod()
public static MethodDescriptor<GetSubscriptionRequest,Subscription> getGetSubscriptionMethod()
getGetTopicMethod()
public static MethodDescriptor<GetTopicRequest,Topic> getGetTopicMethod()
getGetTopicPartitionsMethod()
public static MethodDescriptor<GetTopicPartitionsRequest,TopicPartitions> getGetTopicPartitionsMethod()
getListReservationTopicsMethod()
public static MethodDescriptor<ListReservationTopicsRequest,ListReservationTopicsResponse> getListReservationTopicsMethod()
getListReservationsMethod()
public static MethodDescriptor<ListReservationsRequest,ListReservationsResponse> getListReservationsMethod()
getListSubscriptionsMethod()
public static MethodDescriptor<ListSubscriptionsRequest,ListSubscriptionsResponse> getListSubscriptionsMethod()
getListTopicSubscriptionsMethod()
public static MethodDescriptor<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> getListTopicSubscriptionsMethod()
getListTopicsMethod()
public static MethodDescriptor<ListTopicsRequest,ListTopicsResponse> getListTopicsMethod()
getSeekSubscriptionMethod()
public static MethodDescriptor<SeekSubscriptionRequest,Operation> getSeekSubscriptionMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getUpdateReservationMethod()
public static MethodDescriptor<UpdateReservationRequest,Reservation> getUpdateReservationMethod()
getUpdateSubscriptionMethod()
public static MethodDescriptor<UpdateSubscriptionRequest,Subscription> getUpdateSubscriptionMethod()
getUpdateTopicMethod()
public static MethodDescriptor<UpdateTopicRequest,Topic> getUpdateTopicMethod()
newBlockingStub(Channel channel)
public static AdminServiceGrpc.AdminServiceBlockingStub 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
|
newFutureStub(Channel channel)
public static AdminServiceGrpc.AdminServiceFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static AdminServiceGrpc.AdminServiceStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|