mirror of https://github.com/grpc/grpc-java.git
compiler: remove streaming calls from javadoc for newFutureStub
FutureStubs only support unary calls
This commit is contained in:
parent
06e823e251
commit
7aa807ce6d
|
|
@ -68,7 +68,7 @@ public final class BenchmarkServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static BenchmarkServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ public final class WorkerServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static WorkerServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -1078,8 +1078,8 @@ static void PrintService(const ServiceDescriptor* service,
|
|||
p->Print("}\n\n");
|
||||
|
||||
// TODO(nmittler): Replace with WriteDocComment once included by protobuf distro.
|
||||
GrpcWriteDocComment(p, " Creates a new ListenableFuture-style stub that supports unary and "
|
||||
"streaming output calls on the service");
|
||||
GrpcWriteDocComment(p, " Creates a new ListenableFuture-style stub that supports unary calls "
|
||||
"on the service");
|
||||
p->Print(
|
||||
*vars,
|
||||
"public static $service_name$FutureStub newFutureStub(\n"
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ public final class TestServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static TestServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ public final class TestServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static TestServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ public final class TestServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static TestServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public final class LoadBalancerGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static LoadBalancerFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public final class HealthGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static HealthFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ public final class MonitoringGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static MonitoringFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public final class ServerReflectionGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static ServerReflectionFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ public final class AnotherDynamicServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static AnotherDynamicServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ public final class DynamicServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static DynamicServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public final class ReflectableServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static ReflectableServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public final class MetricsServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static MetricsServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ public final class ReconnectServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static ReconnectServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ public final class TestServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static TestServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ public final class UnimplementedServiceGrpc {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
||||
* Creates a new ListenableFuture-style stub that supports unary calls on the service
|
||||
*/
|
||||
public static UnimplementedServiceFutureStub newFutureStub(
|
||||
io.grpc.Channel channel) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue