public class GrpcAdminServiceStub extends AdminServiceStub
gRPC stub implementation for the AdminService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcAdminServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAdminServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(AdminServiceStubSettings settings)
public static final GrpcAdminServiceStub create(AdminServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcAdminServiceStub(AdminServiceStubSettings settings, ClientContext clientContext)
protected GrpcAdminServiceStub(AdminServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcAdminServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcAdminServiceStub(AdminServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcAdminServiceStub(AdminServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAdminServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createReservationCallable()
public UnaryCallable<CreateReservationRequest,Reservation> createReservationCallable()
Returns
Overrides
createSubscriptionCallable()
public UnaryCallable<CreateSubscriptionRequest,Subscription> createSubscriptionCallable()
Returns
Overrides
createTopicCallable()
public UnaryCallable<CreateTopicRequest,Topic> createTopicCallable()
Returns
Overrides
deleteReservationCallable()
public UnaryCallable<DeleteReservationRequest,Empty> deleteReservationCallable()
Returns
Overrides
deleteSubscriptionCallable()
public UnaryCallable<DeleteSubscriptionRequest,Empty> deleteSubscriptionCallable()
Returns
Overrides
deleteTopicCallable()
public UnaryCallable<DeleteTopicRequest,Empty> deleteTopicCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getReservationCallable()
public UnaryCallable<GetReservationRequest,Reservation> getReservationCallable()
Returns
Overrides
getSubscriptionCallable()
public UnaryCallable<GetSubscriptionRequest,Subscription> getSubscriptionCallable()
Returns
Overrides
getTopicCallable()
public UnaryCallable<GetTopicRequest,Topic> getTopicCallable()
Returns
Overrides
getTopicPartitionsCallable()
public UnaryCallable<GetTopicPartitionsRequest,TopicPartitions> getTopicPartitionsCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listReservationTopicsCallable()
public UnaryCallable<ListReservationTopicsRequest,ListReservationTopicsResponse> listReservationTopicsCallable()
Returns
Overrides
listReservationTopicsPagedCallable()
public UnaryCallable<ListReservationTopicsRequest,AdminServiceClient.ListReservationTopicsPagedResponse> listReservationTopicsPagedCallable()
Returns
Overrides
listReservationsCallable()
public UnaryCallable<ListReservationsRequest,ListReservationsResponse> listReservationsCallable()
Returns
Overrides
listReservationsPagedCallable()
public UnaryCallable<ListReservationsRequest,AdminServiceClient.ListReservationsPagedResponse> listReservationsPagedCallable()
Returns
Overrides
listSubscriptionsCallable()
public UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> listSubscriptionsCallable()
Returns
Overrides
listSubscriptionsPagedCallable()
public UnaryCallable<ListSubscriptionsRequest,AdminServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsPagedCallable()
Returns
Overrides
listTopicSubscriptionsCallable()
public UnaryCallable<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> listTopicSubscriptionsCallable()
Returns
Overrides
listTopicSubscriptionsPagedCallable()
public UnaryCallable<ListTopicSubscriptionsRequest,AdminServiceClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsPagedCallable()
Returns
Overrides
listTopicsCallable()
public UnaryCallable<ListTopicsRequest,ListTopicsResponse> listTopicsCallable()
Returns
Overrides
listTopicsPagedCallable()
public UnaryCallable<ListTopicsRequest,AdminServiceClient.ListTopicsPagedResponse> listTopicsPagedCallable()
Returns
Overrides
seekSubscriptionCallable()
public UnaryCallable<SeekSubscriptionRequest,Operation> seekSubscriptionCallable()
Returns
Overrides
seekSubscriptionOperationCallable()
public OperationCallable<SeekSubscriptionRequest,SeekSubscriptionResponse,OperationMetadata> seekSubscriptionOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateReservationCallable()
public UnaryCallable<UpdateReservationRequest,Reservation> updateReservationCallable()
Returns
Overrides
updateSubscriptionCallable()
public UnaryCallable<UpdateSubscriptionRequest,Subscription> updateSubscriptionCallable()
Returns
Overrides
updateTopicCallable()
public UnaryCallable<UpdateTopicRequest,Topic> updateTopicCallable()
Returns
Overrides