public static final class ManagedKafkaGrpc.ManagedKafkaFutureStub extends AbstractFutureStub<ManagedKafkaGrpc.ManagedKafkaFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ManagedKafka.
The service that a client application uses to manage Apache Kafka clusters,
topics and consumer groups.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ManagedKafkaGrpc.ManagedKafkaFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ManagedKafkaGrpc.ManagedKafkaFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createCluster(CreateClusterRequest request)
public ListenableFuture<Operation> createCluster(CreateClusterRequest request)
Creates a new cluster in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createTopic(CreateTopicRequest request)
public ListenableFuture<Topic> createTopic(CreateTopicRequest request)
Creates a new topic in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Topic> |
|
deleteCluster(DeleteClusterRequest request)
public ListenableFuture<Operation> deleteCluster(DeleteClusterRequest request)
Deletes a single cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteConsumerGroup(DeleteConsumerGroupRequest request)
public ListenableFuture<Empty> deleteConsumerGroup(DeleteConsumerGroupRequest request)
Deletes a single consumer group.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteTopic(DeleteTopicRequest request)
public ListenableFuture<Empty> deleteTopic(DeleteTopicRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getCluster(GetClusterRequest request)
public ListenableFuture<Cluster> getCluster(GetClusterRequest request)
Returns the properties of a single cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Cluster> |
|
getConsumerGroup(GetConsumerGroupRequest request)
public ListenableFuture<ConsumerGroup> getConsumerGroup(GetConsumerGroupRequest request)
Returns the properties of a single consumer group.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ConsumerGroup> |
|
getTopic(GetTopicRequest request)
public ListenableFuture<Topic> getTopic(GetTopicRequest request)
Returns the properties of a single topic.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Topic> |
|
listClusters(ListClustersRequest request)
public ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)
Lists the clusters in a given project and location.
listConsumerGroups(ListConsumerGroupsRequest request)
public ListenableFuture<ListConsumerGroupsResponse> listConsumerGroups(ListConsumerGroupsRequest request)
Lists the consumer groups in a given cluster.
listTopics(ListTopicsRequest request)
public ListenableFuture<ListTopicsResponse> listTopics(ListTopicsRequest request)
Lists the topics in a given cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListTopicsResponse> |
|
updateCluster(UpdateClusterRequest request)
public ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)
Updates the properties of a single cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateConsumerGroup(UpdateConsumerGroupRequest request)
public ListenableFuture<ConsumerGroup> updateConsumerGroup(UpdateConsumerGroupRequest request)
Updates the properties of a single consumer group.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ConsumerGroup> |
|
updateTopic(UpdateTopicRequest request)
public ListenableFuture<Topic> updateTopic(UpdateTopicRequest request)
Updates the properties of a single topic.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Topic> |
|