Class AdminServiceGrpc (1.12.22)

public final class AdminServiceGrpc

The service that a client application uses to manage topics and subscriptions, such creating, listing, and deleting topics and subscriptions.

Inheritance

java.lang.Object > AdminServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(AdminServiceGrpc.AsyncService service)

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

getCreateReservationMethod()

public static MethodDescriptor<CreateReservationRequest,Reservation> getCreateReservationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateReservationRequest,Reservation>

getCreateSubscriptionMethod()

public static MethodDescriptor<CreateSubscriptionRequest,Subscription> getCreateSubscriptionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSubscriptionRequest,Subscription>

getCreateTopicMethod()

public static MethodDescriptor<CreateTopicRequest,Topic> getCreateTopicMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateTopicRequest,Topic>

getDeleteReservationMethod()

public static MethodDescriptor<DeleteReservationRequest,Empty> getDeleteReservationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteReservationRequest,Empty>

getDeleteSubscriptionMethod()

public static MethodDescriptor<DeleteSubscriptionRequest,Empty> getDeleteSubscriptionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteSubscriptionRequest,Empty>

getDeleteTopicMethod()

public static MethodDescriptor<DeleteTopicRequest,Empty> getDeleteTopicMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteTopicRequest,Empty>

getGetReservationMethod()

public static MethodDescriptor<GetReservationRequest,Reservation> getGetReservationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetReservationRequest,Reservation>

getGetSubscriptionMethod()

public static MethodDescriptor<GetSubscriptionRequest,Subscription> getGetSubscriptionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSubscriptionRequest,Subscription>

getGetTopicMethod()

public static MethodDescriptor<GetTopicRequest,Topic> getGetTopicMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTopicRequest,Topic>

getGetTopicPartitionsMethod()

public static MethodDescriptor<GetTopicPartitionsRequest,TopicPartitions> getGetTopicPartitionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTopicPartitionsRequest,TopicPartitions>

getListReservationTopicsMethod()

public static MethodDescriptor<ListReservationTopicsRequest,ListReservationTopicsResponse> getListReservationTopicsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListReservationTopicsRequest,ListReservationTopicsResponse>

getListReservationsMethod()

public static MethodDescriptor<ListReservationsRequest,ListReservationsResponse> getListReservationsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListReservationsRequest,ListReservationsResponse>

getListSubscriptionsMethod()

public static MethodDescriptor<ListSubscriptionsRequest,ListSubscriptionsResponse> getListSubscriptionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSubscriptionsRequest,ListSubscriptionsResponse>

getListTopicSubscriptionsMethod()

public static MethodDescriptor<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> getListTopicSubscriptionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse>

getListTopicsMethod()

public static MethodDescriptor<ListTopicsRequest,ListTopicsResponse> getListTopicsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTopicsRequest,ListTopicsResponse>

getSeekSubscriptionMethod()

public static MethodDescriptor<SeekSubscriptionRequest,Operation> getSeekSubscriptionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SeekSubscriptionRequest,Operation>

getServiceDescriptor()

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

getUpdateReservationMethod()

public static MethodDescriptor<UpdateReservationRequest,Reservation> getUpdateReservationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateReservationRequest,Reservation>

getUpdateSubscriptionMethod()

public static MethodDescriptor<UpdateSubscriptionRequest,Subscription> getUpdateSubscriptionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateSubscriptionRequest,Subscription>

getUpdateTopicMethod()

public static MethodDescriptor<UpdateTopicRequest,Topic> getUpdateTopicMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateTopicRequest,Topic>

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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AdminServiceGrpc.AdminServiceBlockingStub

newFutureStub(Channel channel)

public static AdminServiceGrpc.AdminServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AdminServiceGrpc.AdminServiceFutureStub

newStub(Channel channel)

public static AdminServiceGrpc.AdminServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AdminServiceGrpc.AdminServiceStub