mirror of https://github.com/grpc/grpc-java.git
compiler: Use 'SERVICE_NAME' instead of duplicated '$Package$$service… (#5943)
* compiler: Use 'SERVICE_NAME' instead of duplicated '$Package$$service_name$' * compiler: Align indentation * Fix typo * Add modified golden files and all re-generated code to meet Travis CI and Windows build requirements See PR #5943 * Polishing
This commit is contained in:
parent
d7b9438d39
commit
47b11ab7a1
|
|
@ -44,8 +44,7 @@ public final class HandshakerServiceGrpc {
|
|||
HandshakerServiceGrpc.getDoHandshakeMethod = getDoHandshakeMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.alts.internal.HandshakerReq, io.grpc.alts.internal.HandshakerResp>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.gcp.HandshakerService", "DoHandshake"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DoHandshake"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.alts.internal.HandshakerReq.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class BenchmarkServiceGrpc {
|
|||
BenchmarkServiceGrpc.getUnaryCallMethod = getUnaryCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "UnaryCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnaryCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -76,8 +75,7 @@ public final class BenchmarkServiceGrpc {
|
|||
BenchmarkServiceGrpc.getStreamingCallMethod = getStreamingCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "StreamingCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -108,8 +106,7 @@ public final class BenchmarkServiceGrpc {
|
|||
BenchmarkServiceGrpc.getStreamingFromClientMethod = getStreamingFromClientMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "StreamingFromClient"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingFromClient"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -140,8 +137,7 @@ public final class BenchmarkServiceGrpc {
|
|||
BenchmarkServiceGrpc.getStreamingFromServerMethod = getStreamingFromServerMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "StreamingFromServer"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingFromServer"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -172,8 +168,7 @@ public final class BenchmarkServiceGrpc {
|
|||
BenchmarkServiceGrpc.getStreamingBothWaysMethod = getStreamingBothWaysMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.BenchmarkService", "StreamingBothWays"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingBothWays"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class ReportQpsScenarioServiceGrpc {
|
|||
ReportQpsScenarioServiceGrpc.getReportScenarioMethod = getReportScenarioMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Control.ScenarioResult, io.grpc.benchmarks.proto.Control.Void>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.ReportQpsScenarioService", "ReportScenario"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReportScenario"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Control.ScenarioResult.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class WorkerServiceGrpc {
|
|||
WorkerServiceGrpc.getRunServerMethod = getRunServerMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Control.ServerArgs, io.grpc.benchmarks.proto.Control.ServerStatus>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "RunServer"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunServer"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Control.ServerArgs.getDefaultInstance()))
|
||||
|
|
@ -76,8 +75,7 @@ public final class WorkerServiceGrpc {
|
|||
WorkerServiceGrpc.getRunClientMethod = getRunClientMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Control.ClientArgs, io.grpc.benchmarks.proto.Control.ClientStatus>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "RunClient"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunClient"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Control.ClientArgs.getDefaultInstance()))
|
||||
|
|
@ -108,8 +106,7 @@ public final class WorkerServiceGrpc {
|
|||
WorkerServiceGrpc.getCoreCountMethod = getCoreCountMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Control.CoreRequest, io.grpc.benchmarks.proto.Control.CoreResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "CoreCount"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CoreCount"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Control.CoreRequest.getDefaultInstance()))
|
||||
|
|
@ -140,8 +137,7 @@ public final class WorkerServiceGrpc {
|
|||
WorkerServiceGrpc.getQuitWorkerMethod = getQuitWorkerMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Control.Void, io.grpc.benchmarks.proto.Control.Void>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.WorkerService", "QuitWorker"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "QuitWorker"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.benchmarks.proto.Control.Void.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -46,11 +46,11 @@ $ protoc --plugin=protoc-gen-grpc-java=build/exe/java_plugin/protoc-gen-grpc-jav
|
|||
## Installing the codegen to Maven local repository
|
||||
This will compile a codegen and put it under your ``~/.m2/repository``. This
|
||||
will make it available to any build tool that pulls codegens from Maven
|
||||
repostiories.
|
||||
repositories.
|
||||
```
|
||||
$ ../gradlew publishToMavenLocal
|
||||
```
|
||||
|
||||
## Creating a release of GRPC Java
|
||||
## Creating a release of gRPC Java
|
||||
Please follow the instructions in ``RELEASING.md`` under the root directory for
|
||||
details on how to create a new release.
|
||||
|
|
|
|||
|
|
@ -407,11 +407,10 @@ static void PrintMethodFields(
|
|||
" if (($method_new_field_name$ = $service_class_name$.$method_new_field_name$) == null) {\n"
|
||||
" synchronized ($service_class_name$.class) {\n"
|
||||
" if (($method_new_field_name$ = $service_class_name$.$method_new_field_name$) == null) {\n"
|
||||
" $service_class_name$.$method_new_field_name$ = $method_new_field_name$ = \n"
|
||||
" $service_class_name$.$method_new_field_name$ = $method_new_field_name$ =\n"
|
||||
" $MethodDescriptor$.<$input_type$, $output_type$>newBuilder()\n"
|
||||
" .setType($MethodType$.$method_type$)\n"
|
||||
" .setFullMethodName(generateFullMethodName(\n"
|
||||
" \"$Package$$service_name$\", \"$method_name$\"))\n"
|
||||
" .setFullMethodName(generateFullMethodName(SERVICE_NAME, \"$method_name$\"))\n"
|
||||
" .setSampledToLocalTracing(true)\n"
|
||||
" .setRequestMarshaller($ProtoUtils$.marshaller(\n"
|
||||
" $input_type$.getDefaultInstance()))\n"
|
||||
|
|
|
|||
|
|
@ -48,8 +48,7 @@ public final class TestDeprecatedServiceGrpc {
|
|||
TestDeprecatedServiceGrpc.getDeprecatedMethodMethod = getDeprecatedMethodMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Test.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestDeprecatedService", "DeprecatedMethod"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeprecatedMethod"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.SimpleRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getUnaryCallMethod = getUnaryCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Test.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "UnaryCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnaryCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -79,8 +78,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getStreamingOutputCallMethod = getStreamingOutputCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, io.grpc.testing.compiler.Test.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "StreamingOutputCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingOutputCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -111,8 +109,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getStreamingInputCallMethod = getStreamingInputCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingInputCallRequest, io.grpc.testing.compiler.Test.StreamingInputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "StreamingInputCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingInputCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingInputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -143,8 +140,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getFullBidiCallMethod = getFullBidiCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, io.grpc.testing.compiler.Test.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "FullBidiCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FullBidiCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -175,8 +171,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getHalfBidiCallMethod = getHalfBidiCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, io.grpc.testing.compiler.Test.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "HalfBidiCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "HalfBidiCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -207,8 +202,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getImportMethod = getImportMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingInputCallRequest, io.grpc.testing.compiler.Test.StreamingInputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "Import"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Import"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingInputCallRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -48,8 +48,7 @@ public final class TestDeprecatedServiceGrpc {
|
|||
TestDeprecatedServiceGrpc.getDeprecatedMethodMethod = getDeprecatedMethodMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Test.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestDeprecatedService", "DeprecatedMethod"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeprecatedMethod"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.SimpleRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getUnaryCallMethod = getUnaryCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Test.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "UnaryCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnaryCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -78,8 +77,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getStreamingOutputCallMethod = getStreamingOutputCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, io.grpc.testing.compiler.Test.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "StreamingOutputCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingOutputCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -109,8 +107,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getStreamingInputCallMethod = getStreamingInputCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingInputCallRequest, io.grpc.testing.compiler.Test.StreamingInputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "StreamingInputCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingInputCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingInputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -140,8 +137,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getFullBidiCallMethod = getFullBidiCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, io.grpc.testing.compiler.Test.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "FullBidiCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FullBidiCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -171,8 +167,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getHalfBidiCallMethod = getHalfBidiCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, io.grpc.testing.compiler.Test.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "HalfBidiCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "HalfBidiCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -202,8 +197,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getImportMethod = getImportMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.StreamingInputCallRequest, io.grpc.testing.compiler.Test.StreamingInputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.compiler.TestService", "Import"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Import"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
|
||||
io.grpc.testing.compiler.Test.StreamingInputCallRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class LoadBalancerGrpc {
|
|||
LoadBalancerGrpc.getBalanceLoadMethod = getBalanceLoadMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.lb.v1.LoadBalanceRequest, io.grpc.lb.v1.LoadBalanceResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.lb.v1.LoadBalancer", "BalanceLoad"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "BalanceLoad"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.lb.v1.LoadBalanceRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class MetricsServiceGrpc {
|
|||
MetricsServiceGrpc.getGetAllGaugesMethod = getGetAllGaugesMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Metrics.EmptyMessage, io.grpc.testing.integration.Metrics.GaugeResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.MetricsService", "GetAllGauges"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAllGauges"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Metrics.EmptyMessage.getDefaultInstance()))
|
||||
|
|
@ -76,8 +75,7 @@ public final class MetricsServiceGrpc {
|
|||
MetricsServiceGrpc.getGetGaugeMethod = getGetGaugeMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Metrics.GaugeRequest, io.grpc.testing.integration.Metrics.GaugeResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.MetricsService", "GetGauge"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGauge"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Metrics.GaugeRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class ReconnectServiceGrpc {
|
|||
ReconnectServiceGrpc.getStartMethod = getStartMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integration.EmptyProtos.Empty>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.ReconnectService", "Start"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Start"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.EmptyProtos.Empty.getDefaultInstance()))
|
||||
|
|
@ -79,8 +78,7 @@ public final class ReconnectServiceGrpc {
|
|||
ReconnectServiceGrpc.getStopMethod = getStopMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integration.Messages.ReconnectInfo>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.ReconnectService", "Stop"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Stop"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.EmptyProtos.Empty.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -48,8 +48,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getEmptyCallMethod = getEmptyCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integration.EmptyProtos.Empty>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "EmptyCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "EmptyCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.EmptyProtos.Empty.getDefaultInstance()))
|
||||
|
|
@ -80,8 +79,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getUnaryCallMethod = getUnaryCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "UnaryCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnaryCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -112,8 +110,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getCacheableUnaryCallMethod = getCacheableUnaryCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Messages.SimpleRequest, io.grpc.testing.integration.Messages.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "CacheableUnaryCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CacheableUnaryCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Messages.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -144,8 +141,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getStreamingOutputCallMethod = getStreamingOutputCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, io.grpc.testing.integration.Messages.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "StreamingOutputCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingOutputCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Messages.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -176,8 +172,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getStreamingInputCallMethod = getStreamingInputCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Messages.StreamingInputCallRequest, io.grpc.testing.integration.Messages.StreamingInputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "StreamingInputCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingInputCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Messages.StreamingInputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -208,8 +203,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getFullDuplexCallMethod = getFullDuplexCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, io.grpc.testing.integration.Messages.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "FullDuplexCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FullDuplexCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Messages.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -240,8 +234,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getHalfDuplexCallMethod = getHalfDuplexCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.Messages.StreamingOutputCallRequest, io.grpc.testing.integration.Messages.StreamingOutputCallResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "HalfDuplexCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "HalfDuplexCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.Messages.StreamingOutputCallRequest.getDefaultInstance()))
|
||||
|
|
@ -272,8 +265,7 @@ public final class TestServiceGrpc {
|
|||
TestServiceGrpc.getUnimplementedCallMethod = getUnimplementedCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integration.EmptyProtos.Empty>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.TestService", "UnimplementedCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnimplementedCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.EmptyProtos.Empty.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -48,8 +48,7 @@ public final class UnimplementedServiceGrpc {
|
|||
UnimplementedServiceGrpc.getUnimplementedCallMethod = getUnimplementedCallMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integration.EmptyProtos.Empty>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.UnimplementedService", "UnimplementedCall"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnimplementedCall"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.integration.EmptyProtos.Empty.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -48,8 +48,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetTopChannelsMethod = getGetTopChannelsMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetTopChannelsRequest, io.grpc.channelz.v1.GetTopChannelsResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetTopChannels"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTopChannels"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetTopChannelsRequest.getDefaultInstance()))
|
||||
|
|
@ -80,8 +79,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetServersMethod = getGetServersMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetServersRequest, io.grpc.channelz.v1.GetServersResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetServers"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServers"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetServersRequest.getDefaultInstance()))
|
||||
|
|
@ -112,8 +110,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetServerMethod = getGetServerMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetServerRequest, io.grpc.channelz.v1.GetServerResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetServer"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServer"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetServerRequest.getDefaultInstance()))
|
||||
|
|
@ -144,8 +141,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetServerSocketsMethod = getGetServerSocketsMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetServerSocketsRequest, io.grpc.channelz.v1.GetServerSocketsResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetServerSockets"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServerSockets"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetServerSocketsRequest.getDefaultInstance()))
|
||||
|
|
@ -176,8 +172,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetChannelMethod = getGetChannelMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetChannelRequest, io.grpc.channelz.v1.GetChannelResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetChannel"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannel"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetChannelRequest.getDefaultInstance()))
|
||||
|
|
@ -208,8 +203,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetSubchannelMethod = getGetSubchannelMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetSubchannelRequest, io.grpc.channelz.v1.GetSubchannelResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetSubchannel"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSubchannel"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetSubchannelRequest.getDefaultInstance()))
|
||||
|
|
@ -240,8 +234,7 @@ public final class ChannelzGrpc {
|
|||
ChannelzGrpc.getGetSocketMethod = getGetSocketMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetSocketRequest, io.grpc.channelz.v1.GetSocketResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.channelz.v1.Channelz", "GetSocket"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSocket"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.channelz.v1.GetSocketRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class HealthGrpc {
|
|||
HealthGrpc.getCheckMethod = getCheckMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.health.v1.HealthCheckRequest, io.grpc.health.v1.HealthCheckResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.health.v1.Health", "Check"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Check"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.health.v1.HealthCheckRequest.getDefaultInstance()))
|
||||
|
|
@ -76,8 +75,7 @@ public final class HealthGrpc {
|
|||
HealthGrpc.getWatchMethod = getWatchMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.health.v1.HealthCheckRequest, io.grpc.health.v1.HealthCheckResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.health.v1.Health", "Watch"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Watch"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.health.v1.HealthCheckRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class ServerReflectionGrpc {
|
|||
ServerReflectionGrpc.getServerReflectionInfoMethod = getServerReflectionInfoMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.reflection.v1alpha.ServerReflectionRequest, io.grpc.reflection.v1alpha.ServerReflectionResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.reflection.v1alpha.ServerReflection", "ServerReflectionInfo"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ServerReflectionInfo"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.reflection.v1alpha.ServerReflectionRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class AnotherDynamicServiceGrpc {
|
|||
AnotherDynamicServiceGrpc.getMethodMethod = getMethodMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.reflection.testing.DynamicRequest, io.grpc.reflection.testing.DynamicReply>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.reflection.testing.AnotherDynamicService", "Method"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Method"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.reflection.testing.DynamicRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class DynamicServiceGrpc {
|
|||
DynamicServiceGrpc.getMethodMethod = getMethodMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.reflection.testing.DynamicRequest, io.grpc.reflection.testing.DynamicReply>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.reflection.testing.DynamicService", "Method"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Method"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.reflection.testing.DynamicRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class ReflectableServiceGrpc {
|
|||
ReflectableServiceGrpc.getMethodMethod = getMethodMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.reflection.testing.Request, io.grpc.reflection.testing.Reply>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.reflection.testing.ReflectableService", "Method"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Method"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.reflection.testing.Request.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class SimpleServiceGrpc {
|
|||
SimpleServiceGrpc.getUnaryRpcMethod = getUnaryRpcMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.SimpleService", "UnaryRpc"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnaryRpc"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.protobuf.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -79,8 +78,7 @@ public final class SimpleServiceGrpc {
|
|||
SimpleServiceGrpc.getClientStreamingRpcMethod = getClientStreamingRpcMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.SimpleService", "ClientStreamingRpc"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ClientStreamingRpc"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.protobuf.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -111,8 +109,7 @@ public final class SimpleServiceGrpc {
|
|||
SimpleServiceGrpc.getServerStreamingRpcMethod = getServerStreamingRpcMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.SimpleService", "ServerStreamingRpc"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ServerStreamingRpc"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.protobuf.SimpleRequest.getDefaultInstance()))
|
||||
|
|
@ -143,8 +140,7 @@ public final class SimpleServiceGrpc {
|
|||
SimpleServiceGrpc.getBidiStreamingRpcMethod = getBidiStreamingRpcMethod =
|
||||
io.grpc.MethodDescriptor.<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"grpc.testing.SimpleService", "BidiStreamingRpc"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "BidiStreamingRpc"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.grpc.testing.protobuf.SimpleRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -47,8 +47,7 @@ public final class ClusterDiscoveryServiceGrpc {
|
|||
ClusterDiscoveryServiceGrpc.getStreamClustersMethod = getStreamClustersMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DiscoveryRequest, io.envoyproxy.envoy.api.v2.DiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.api.v2.ClusterDiscoveryService", "StreamClusters"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamClusters"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DiscoveryRequest.getDefaultInstance()))
|
||||
|
|
@ -79,8 +78,7 @@ public final class ClusterDiscoveryServiceGrpc {
|
|||
ClusterDiscoveryServiceGrpc.getDeltaClustersMethod = getDeltaClustersMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest, io.envoyproxy.envoy.api.v2.DeltaDiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.api.v2.ClusterDiscoveryService", "DeltaClusters"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeltaClusters"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest.getDefaultInstance()))
|
||||
|
|
@ -111,8 +109,7 @@ public final class ClusterDiscoveryServiceGrpc {
|
|||
ClusterDiscoveryServiceGrpc.getFetchClustersMethod = getFetchClustersMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DiscoveryRequest, io.envoyproxy.envoy.api.v2.DiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.api.v2.ClusterDiscoveryService", "FetchClusters"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchClusters"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DiscoveryRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class EndpointDiscoveryServiceGrpc {
|
|||
EndpointDiscoveryServiceGrpc.getStreamEndpointsMethod = getStreamEndpointsMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DiscoveryRequest, io.envoyproxy.envoy.api.v2.DiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.api.v2.EndpointDiscoveryService", "StreamEndpoints"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamEndpoints"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DiscoveryRequest.getDefaultInstance()))
|
||||
|
|
@ -76,8 +75,7 @@ public final class EndpointDiscoveryServiceGrpc {
|
|||
EndpointDiscoveryServiceGrpc.getDeltaEndpointsMethod = getDeltaEndpointsMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest, io.envoyproxy.envoy.api.v2.DeltaDiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.api.v2.EndpointDiscoveryService", "DeltaEndpoints"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeltaEndpoints"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest.getDefaultInstance()))
|
||||
|
|
@ -108,8 +106,7 @@ public final class EndpointDiscoveryServiceGrpc {
|
|||
EndpointDiscoveryServiceGrpc.getFetchEndpointsMethod = getFetchEndpointsMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DiscoveryRequest, io.envoyproxy.envoy.api.v2.DiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.api.v2.EndpointDiscoveryService", "FetchEndpoints"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchEndpoints"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DiscoveryRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -52,8 +52,7 @@ public final class AggregatedDiscoveryServiceGrpc {
|
|||
AggregatedDiscoveryServiceGrpc.getStreamAggregatedResourcesMethod = getStreamAggregatedResourcesMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DiscoveryRequest, io.envoyproxy.envoy.api.v2.DiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.service.discovery.v2.AggregatedDiscoveryService", "StreamAggregatedResources"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamAggregatedResources"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DiscoveryRequest.getDefaultInstance()))
|
||||
|
|
@ -84,8 +83,7 @@ public final class AggregatedDiscoveryServiceGrpc {
|
|||
AggregatedDiscoveryServiceGrpc.getDeltaAggregatedResourcesMethod = getDeltaAggregatedResourcesMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest, io.envoyproxy.envoy.api.v2.DeltaDiscoveryResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.service.discovery.v2.AggregatedDiscoveryService", "DeltaAggregatedResources"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeltaAggregatedResources"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public final class LoadReportingServiceGrpc {
|
|||
LoadReportingServiceGrpc.getStreamLoadStatsMethod = getStreamLoadStatsMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.envoy.service.load_stats.v2.LoadStatsRequest, io.envoyproxy.envoy.service.load_stats.v2.LoadStatsResponse>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"envoy.service.load_stats.v2.LoadReportingService", "StreamLoadStats"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamLoadStats"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.envoy.service.load_stats.v2.LoadStatsRequest.getDefaultInstance()))
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ public final class OpenRcaServiceGrpc {
|
|||
OpenRcaServiceGrpc.getStreamCoreMetricsMethod = getStreamCoreMetricsMethod =
|
||||
io.grpc.MethodDescriptor.<io.envoyproxy.udpa.service.orca.v1.OrcaLoadReportRequest, io.envoyproxy.udpa.data.orca.v1.OrcaLoadReport>newBuilder()
|
||||
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
|
||||
.setFullMethodName(generateFullMethodName(
|
||||
"udpa.service.orca.v1.OpenRcaService", "StreamCoreMetrics"))
|
||||
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamCoreMetrics"))
|
||||
.setSampledToLocalTracing(true)
|
||||
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
|
||||
io.envoyproxy.udpa.service.orca.v1.OrcaLoadReportRequest.getDefaultInstance()))
|
||||
|
|
|
|||
Loading…
Reference in New Issue