Class AdminServiceGrpc (1.14.8)

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
Type Description
String

Static Methods

bindService(AdminServiceGrpc.AsyncService service)

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

getCreateReservationMethod()

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

getCreateSubscriptionMethod()

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

getCreateTopicMethod()

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

getDeleteReservationMethod()

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

getDeleteSubscriptionMethod()

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

getDeleteTopicMethod()

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

getGetReservationMethod()

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

getGetSubscriptionMethod()

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

getGetTopicMethod()

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

getGetTopicPartitionsMethod()

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

getListReservationTopicsMethod()

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

getListReservationsMethod()

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

getListSubscriptionsMethod()

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

getListTopicSubscriptionsMethod()

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

getListTopicsMethod()

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

getSeekSubscriptionMethod()

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

getServiceDescriptor()

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

getUpdateReservationMethod()

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

getUpdateSubscriptionMethod()

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

getUpdateTopicMethod()

public static MethodDescriptor<UpdateTopicRequest,Topic> getUpdateTopicMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
AdminServiceGrpc.AdminServiceStub