mirror of https://github.com/grpc/grpc-java.git
compiler: Default to @generated=omit (#12080)
After many years of issue 9179 being open, there's been nothing to show that we need the javax.annotations.Generated annotation. Most tools use file paths and a few check for annotations with "Generated" in the name. ErrorProne has a few that check for javax.annotations.Generated, but only UnnecessarilyFullyQualified looks like it'd be a problem and it is disabled by default. We're not getting any more information, no users have reported issues with `@generated=omit`, and the existing dependency is annoying users, so just drop it. Given we will still retain the GrpcGenerated annotation, it seems highly likely things are already okay. Even if there are problems they would probably be addressed by adding a io.grpc.stub.annotations.Generated annotation or small tweaks. In the short-term, (non-Bazel) users can use `@generated=javax`, but long-term we could consider removing the option assuming we've resolved any outstanding issues. We will want to update the examples and the README to remove the org.apache.tomcat:annotations-api dependency after the next release. Fixes #9179
This commit is contained in:
parent
2fb09578a8
commit
f8700a13ad
|
|
@ -33,7 +33,6 @@ java_library(
|
||||||
"//api",
|
"//api",
|
||||||
"//protobuf",
|
"//protobuf",
|
||||||
"//stub",
|
"//stub",
|
||||||
"//stub:javax_annotation",
|
|
||||||
"@com_google_protobuf//:protobuf_java",
|
"@com_google_protobuf//:protobuf_java",
|
||||||
artifact("com.google.code.findbugs:jsr305"),
|
artifact("com.google.code.findbugs:jsr305"),
|
||||||
artifact("com.google.guava:guava"),
|
artifact("com.google.guava:guava"),
|
||||||
|
|
@ -47,7 +46,6 @@ java_library(
|
||||||
"//api",
|
"//api",
|
||||||
"//protobuf-lite",
|
"//protobuf-lite",
|
||||||
"//stub",
|
"//stub",
|
||||||
"//stub:javax_annotation",
|
|
||||||
artifact("com.google.code.findbugs:jsr305"),
|
artifact("com.google.code.findbugs:jsr305"),
|
||||||
artifact("com.google.guava:guava"),
|
artifact("com.google.guava:guava"),
|
||||||
],
|
],
|
||||||
|
|
@ -67,6 +65,5 @@ java_library(
|
||||||
visibility = ["//:__subpackages__"],
|
visibility = ["//:__subpackages__"],
|
||||||
exports = [
|
exports = [
|
||||||
artifact("com.google.auto.value:auto-value-annotations"),
|
artifact("com.google.auto.value:auto-value-annotations"),
|
||||||
artifact("org.apache.tomcat:annotations-api"), # @Generated for Java 9+
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [
|
||||||
"io.opencensus:opencensus-contrib-grpc-metrics:0.31.0",
|
"io.opencensus:opencensus-contrib-grpc-metrics:0.31.0",
|
||||||
"io.perfmark:perfmark-api:0.27.0",
|
"io.perfmark:perfmark-api:0.27.0",
|
||||||
"junit:junit:4.13.2",
|
"junit:junit:4.13.2",
|
||||||
"org.apache.tomcat:annotations-api:6.0.53",
|
|
||||||
"org.checkerframework:checker-qual:3.12.0",
|
"org.checkerframework:checker-qual:3.12.0",
|
||||||
"org.codehaus.mojo:animal-sniffer-annotations:1.24",
|
"org.codehaus.mojo:animal-sniffer-annotations:1.24",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/gcp/handshaker.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class HandshakerServiceGrpc {
|
public final class HandshakerServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service used to obtain stats for verifying LB behavior.
|
* A service used to obtain stats for verifying LB behavior.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class LoadBalancerStatsServiceGrpc {
|
public final class LoadBalancerStatsServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/metrics.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class MetricsServiceGrpc {
|
public final class MetricsServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service used to control reconnect server.
|
* A service used to control reconnect server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ReconnectServiceGrpc {
|
public final class ReconnectServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* performance with various types of payload.
|
* performance with various types of payload.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class TestServiceGrpc {
|
public final class TestServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* that case.
|
* that case.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class UnimplementedServiceGrpc {
|
public final class UnimplementedServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service to dynamically update the configuration of an xDS test client.
|
* A service to dynamically update the configuration of an xDS test client.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class XdsUpdateClientConfigureServiceGrpc {
|
public final class XdsUpdateClientConfigureServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service to remotely control health status of an xDS test server.
|
* A service to remotely control health status of an xDS test server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class XdsUpdateHealthServiceGrpc {
|
public final class XdsUpdateHealthServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service used to obtain stats for verifying LB behavior.
|
* A service used to obtain stats for verifying LB behavior.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class LoadBalancerStatsServiceGrpc {
|
public final class LoadBalancerStatsServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/metrics.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class MetricsServiceGrpc {
|
public final class MetricsServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service used to control reconnect server.
|
* A service used to control reconnect server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ReconnectServiceGrpc {
|
public final class ReconnectServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* performance with various types of payload.
|
* performance with various types of payload.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class TestServiceGrpc {
|
public final class TestServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* that case.
|
* that case.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class UnimplementedServiceGrpc {
|
public final class UnimplementedServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service to dynamically update the configuration of an xDS test client.
|
* A service to dynamically update the configuration of an xDS test client.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class XdsUpdateClientConfigureServiceGrpc {
|
public final class XdsUpdateClientConfigureServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service to remotely control health status of an xDS test server.
|
* A service to remotely control health status of an xDS test server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class XdsUpdateHealthServiceGrpc {
|
public final class XdsUpdateHealthServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/services.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class BenchmarkServiceGrpc {
|
public final class BenchmarkServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/services.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ReportQpsScenarioServiceGrpc {
|
public final class ReportQpsScenarioServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/services.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class WorkerServiceGrpc {
|
public final class WorkerServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ java_library(
|
||||||
"//api",
|
"//api",
|
||||||
"//protobuf",
|
"//protobuf",
|
||||||
"//stub",
|
"//stub",
|
||||||
"//stub:javax_annotation",
|
|
||||||
artifact("com.google.code.findbugs:jsr305"),
|
artifact("com.google.code.findbugs:jsr305"),
|
||||||
artifact("com.google.guava:guava"),
|
artifact("com.google.guava:guava"),
|
||||||
"@com_google_protobuf//:protobuf_java",
|
"@com_google_protobuf//:protobuf_java",
|
||||||
|
|
@ -35,7 +34,6 @@ java_library(
|
||||||
"//api",
|
"//api",
|
||||||
"//protobuf-lite",
|
"//protobuf-lite",
|
||||||
"//stub",
|
"//stub",
|
||||||
"//stub:javax_annotation",
|
|
||||||
artifact("com.google.code.findbugs:jsr305"),
|
artifact("com.google.code.findbugs:jsr305"),
|
||||||
artifact("com.google.guava:guava"),
|
artifact("com.google.guava:guava"),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,11 @@ protobuf {
|
||||||
inputs.file javaPluginPath
|
inputs.file javaPluginPath
|
||||||
}
|
}
|
||||||
ofSourceSet('test').configureEach {
|
ofSourceSet('test').configureEach {
|
||||||
plugins { grpc {} }
|
plugins {
|
||||||
|
grpc {
|
||||||
|
option '@generated=javax'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ofSourceSet('testLite').configureEach {
|
ofSourceSet('testLite').configureEach {
|
||||||
builtins {
|
builtins {
|
||||||
|
|
@ -193,7 +197,6 @@ protobuf {
|
||||||
plugins {
|
plugins {
|
||||||
grpc {
|
grpc {
|
||||||
option 'lite'
|
option 'lite'
|
||||||
option '@generated=omit'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ class JavaGrpcGenerator : public protobuf::compiler::CodeGenerator {
|
||||||
java_grpc_generator::ProtoFlavor flavor =
|
java_grpc_generator::ProtoFlavor flavor =
|
||||||
java_grpc_generator::ProtoFlavor::NORMAL;
|
java_grpc_generator::ProtoFlavor::NORMAL;
|
||||||
java_grpc_generator::GeneratedAnnotation generated_annotation =
|
java_grpc_generator::GeneratedAnnotation generated_annotation =
|
||||||
java_grpc_generator::GeneratedAnnotation::JAVAX;
|
java_grpc_generator::GeneratedAnnotation::OMIT;
|
||||||
|
|
||||||
bool disable_version = false;
|
bool disable_version = false;
|
||||||
for (size_t i = 0; i < options.size(); i++) {
|
for (size_t i = 0; i < options.size(); i++) {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/lb/v1/load_balancer.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class LoadBalancerGrpc {
|
public final class LoadBalancerGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service used to obtain stats for verifying LB behavior.
|
* A service used to obtain stats for verifying LB behavior.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class LoadBalancerStatsServiceGrpc {
|
public final class LoadBalancerStatsServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/metrics.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class MetricsServiceGrpc {
|
public final class MetricsServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service used to control reconnect server.
|
* A service used to control reconnect server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ReconnectServiceGrpc {
|
public final class ReconnectServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* performance with various types of payload.
|
* performance with various types of payload.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class TestServiceGrpc {
|
public final class TestServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* that case.
|
* that case.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class UnimplementedServiceGrpc {
|
public final class UnimplementedServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service to dynamically update the configuration of an xDS test client.
|
* A service to dynamically update the configuration of an xDS test client.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class XdsUpdateClientConfigureServiceGrpc {
|
public final class XdsUpdateClientConfigureServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A service to remotely control health status of an xDS test server.
|
* A service to remotely control health status of an xDS test server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/testing/test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class XdsUpdateHealthServiceGrpc {
|
public final class XdsUpdateHealthServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: test/echo/proto/echo.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class EchoTestServiceGrpc {
|
public final class EchoTestServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [
|
||||||
"io.opencensus:opencensus-contrib-grpc-metrics:0.31.0",
|
"io.opencensus:opencensus-contrib-grpc-metrics:0.31.0",
|
||||||
"io.perfmark:perfmark-api:0.27.0",
|
"io.perfmark:perfmark-api:0.27.0",
|
||||||
"junit:junit:4.13.2",
|
"junit:junit:4.13.2",
|
||||||
"org.apache.tomcat:annotations-api:6.0.53",
|
|
||||||
"org.checkerframework:checker-qual:3.12.0",
|
"org.checkerframework:checker-qual:3.12.0",
|
||||||
"org.codehaus.mojo:animal-sniffer-annotations:1.24",
|
"org.codehaus.mojo:animal-sniffer-annotations:1.24",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/lookup/v1/rls.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class RouteLookupServiceGrpc {
|
public final class RouteLookupServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* information.
|
* information.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/channelz/v1/channelz.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ChannelzGrpc {
|
public final class ChannelzGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/health/v1/health.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class HealthGrpc {
|
public final class HealthGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/reflection/v1/reflection.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ServerReflectionGrpc {
|
public final class ServerReflectionGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: grpc/reflection/v1alpha/reflection.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ServerReflectionGrpc {
|
public final class ServerReflectionGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* AnotherDynamicService
|
* AnotherDynamicService
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: io/grpc/reflection/testing/dynamic_reflection_test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class AnotherDynamicServiceGrpc {
|
public final class AnotherDynamicServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: io/grpc/reflection/testing/reflection_test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class AnotherReflectableServiceGrpc {
|
public final class AnotherReflectableServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A DynamicService
|
* A DynamicService
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: io/grpc/reflection/testing/dynamic_reflection_test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class DynamicServiceGrpc {
|
public final class DynamicServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: io/grpc/reflection/testing/reflection_test.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ReflectableServiceGrpc {
|
public final class ReflectableServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,3 @@ java_library(
|
||||||
artifact("org.codehaus.mojo:animal-sniffer-annotations"),
|
artifact("org.codehaus.mojo:animal-sniffer-annotations"),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
# javax.annotation.Generated is not included in the default root modules in 9,
|
|
||||||
# see: http://openjdk.java.net/jeps/320.
|
|
||||||
java_library(
|
|
||||||
name = "javax_annotation",
|
|
||||||
neverlink = 1, # @Generated is source-retention
|
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
exports = [artifact("org.apache.tomcat:annotations-api")],
|
|
||||||
)
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* A simple service for test.
|
* A simple service for test.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: io/grpc/testing/protobuf/simpleservice.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class SimpleServiceGrpc {
|
public final class SimpleServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* a new call to change backend reporting frequency.
|
* a new call to change backend reporting frequency.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: xds/service/orca/v3/orca.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class OpenRcaServiceGrpc {
|
public final class OpenRcaServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* the multiplexed singleton APIs at the Envoy instance and management server.
|
* the multiplexed singleton APIs at the Envoy instance and management server.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: envoy/service/discovery/v3/ads.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class AggregatedDiscoveryServiceGrpc {
|
public final class AggregatedDiscoveryServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: envoy/service/load_stats/v3/lrs.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class LoadReportingServiceGrpc {
|
public final class LoadReportingServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* Defines the Rate Limit Quota Service (RLQS).
|
* Defines the Rate Limit Quota Service (RLQS).
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: envoy/service/rate_limit_quota/v3/rlqs.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class RateLimitQuotaServiceGrpc {
|
public final class RateLimitQuotaServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@ import static io.grpc.MethodDescriptor.generateFullMethodName;
|
||||||
* also be used to get the current xDS states directly from the client.
|
* also be used to get the current xDS states directly from the client.
|
||||||
* </pre>
|
* </pre>
|
||||||
*/
|
*/
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "by gRPC proto compiler",
|
|
||||||
comments = "Source: envoy/service/status/v3/csds.proto")
|
|
||||||
@io.grpc.stub.annotations.GrpcGenerated
|
@io.grpc.stub.annotations.GrpcGenerated
|
||||||
public final class ClientStatusDiscoveryServiceGrpc {
|
public final class ClientStatusDiscoveryServiceGrpc {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue