compiler: remove streaming calls from javadoc for newFutureStub

FutureStubs only support unary calls
This commit is contained in:
Eric Gribkoff 2017-05-02 10:24:23 -07:00 committed by GitHub
parent 06e823e251
commit 7aa807ce6d
17 changed files with 18 additions and 18 deletions

View File

@ -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( public static BenchmarkServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static WorkerServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -1078,8 +1078,8 @@ static void PrintService(const ServiceDescriptor* service,
p->Print("}\n\n"); p->Print("}\n\n");
// TODO(nmittler): Replace with WriteDocComment once included by protobuf distro. // TODO(nmittler): Replace with WriteDocComment once included by protobuf distro.
GrpcWriteDocComment(p, " Creates a new ListenableFuture-style stub that supports unary and " GrpcWriteDocComment(p, " Creates a new ListenableFuture-style stub that supports unary calls "
"streaming output calls on the service"); "on the service");
p->Print( p->Print(
*vars, *vars,
"public static $service_name$FutureStub newFutureStub(\n" "public static $service_name$FutureStub newFutureStub(\n"

View File

@ -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( public static TestServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static TestServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static TestServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static LoadBalancerFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static HealthFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static MonitoringFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static ServerReflectionFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static AnotherDynamicServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static DynamicServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static ReflectableServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static MetricsServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static ReconnectServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static TestServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {

View File

@ -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( public static UnimplementedServiceFutureStub newFutureStub(
io.grpc.Channel channel) { io.grpc.Channel channel) {