compiler: Use fully qualified String in codegen (#10321)

Currently, the gRPC compiler isn't properly using the fully qualified
string name `java.lang.String` instead of `String`. Update the generator
to use the `$String$` alias to avoid compile issues with protobuf
messages called String.

Fixes #10316.
This commit is contained in:
Philip K. Warren 2023-06-29 12:50:13 -05:00 committed by GitHub
parent f902e16d3d
commit 3808e707f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 116 additions and 116 deletions

View File

@ -12,7 +12,7 @@ public final class HandshakerServiceGrpc {
private HandshakerServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.gcp.HandshakerService";
public static final java.lang.String SERVICE_NAME = "grpc.gcp.HandshakerService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.alts.internal.HandshakerReq,
@ -261,9 +261,9 @@ public final class HandshakerServiceGrpc {
private static final class HandshakerServiceMethodDescriptorSupplier
extends HandshakerServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
HandshakerServiceMethodDescriptorSupplier(String methodName) {
HandshakerServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class BenchmarkServiceGrpc {
private BenchmarkServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.BenchmarkService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.BenchmarkService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest,
@ -552,9 +552,9 @@ public final class BenchmarkServiceGrpc {
private static final class BenchmarkServiceMethodDescriptorSupplier
extends BenchmarkServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
BenchmarkServiceMethodDescriptorSupplier(String methodName) {
BenchmarkServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class ReportQpsScenarioServiceGrpc {
private ReportQpsScenarioServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.ReportQpsScenarioService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.ReportQpsScenarioService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ScenarioResult,
@ -273,9 +273,9 @@ public final class ReportQpsScenarioServiceGrpc {
private static final class ReportQpsScenarioServiceMethodDescriptorSupplier
extends ReportQpsScenarioServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ReportQpsScenarioServiceMethodDescriptorSupplier(String methodName) {
ReportQpsScenarioServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class WorkerServiceGrpc {
private WorkerServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.WorkerService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.WorkerService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ServerArgs,
@ -504,9 +504,9 @@ public final class WorkerServiceGrpc {
private static final class WorkerServiceMethodDescriptorSupplier
extends WorkerServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
WorkerServiceMethodDescriptorSupplier(String methodName) {
WorkerServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -989,9 +989,9 @@ static void PrintGetServiceDescriptorMethod(const ServiceDescriptor* service,
"private static final class $proto_method_descriptor_supplier$\n"
" extends $proto_base_descriptor_supplier$\n"
" implements $ProtoMethodDescriptorSupplier$ {\n"
" private final String methodName;\n"
" private final $String$ methodName;\n"
"\n"
" $proto_method_descriptor_supplier$(String methodName) {\n"
" $proto_method_descriptor_supplier$($String$ methodName) {\n"
" this.methodName = methodName;\n"
" }\n"
"\n"
@ -1149,7 +1149,7 @@ static void PrintService(const ServiceDescriptor* service,
p->Print(
*vars,
"public static final String SERVICE_NAME = "
"public static final $String$ SERVICE_NAME = "
"\"$Package$$service_name$\";\n\n");
PrintMethodFields(service, vars, p, flavor);

View File

@ -16,7 +16,7 @@ public final class TestDeprecatedServiceGrpc {
private TestDeprecatedServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.compiler.TestDeprecatedService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.compiler.TestDeprecatedService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest,
@ -301,9 +301,9 @@ public final class TestDeprecatedServiceGrpc {
private static final class TestDeprecatedServiceMethodDescriptorSupplier
extends TestDeprecatedServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
TestDeprecatedServiceMethodDescriptorSupplier(String methodName) {
TestDeprecatedServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class TestServiceGrpc {
private TestServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.compiler.TestService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.compiler.TestService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest,
@ -811,9 +811,9 @@ public final class TestServiceGrpc {
private static final class TestServiceMethodDescriptorSupplier
extends TestServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
TestServiceMethodDescriptorSupplier(String methodName) {
TestServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -16,7 +16,7 @@ public final class TestDeprecatedServiceGrpc {
private TestDeprecatedServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.compiler.TestDeprecatedService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.compiler.TestDeprecatedService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest,

View File

@ -15,7 +15,7 @@ public final class TestServiceGrpc {
private TestServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.compiler.TestService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.compiler.TestService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest,

View File

@ -12,7 +12,7 @@ public final class LoadBalancerGrpc {
private LoadBalancerGrpc() {}
public static final String SERVICE_NAME = "grpc.lb.v1.LoadBalancer";
public static final java.lang.String SERVICE_NAME = "grpc.lb.v1.LoadBalancer";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.lb.v1.LoadBalanceRequest,
@ -251,9 +251,9 @@ public final class LoadBalancerGrpc {
private static final class LoadBalancerMethodDescriptorSupplier
extends LoadBalancerBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
LoadBalancerMethodDescriptorSupplier(String methodName) {
LoadBalancerMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class LoadBalancerStatsServiceGrpc {
private LoadBalancerStatsServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.LoadBalancerStatsService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.LoadBalancerStatsService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.LoadBalancerStatsRequest,
@ -376,9 +376,9 @@ public final class LoadBalancerStatsServiceGrpc {
private static final class LoadBalancerStatsServiceMethodDescriptorSupplier
extends LoadBalancerStatsServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
LoadBalancerStatsServiceMethodDescriptorSupplier(String methodName) {
LoadBalancerStatsServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class MetricsServiceGrpc {
private MetricsServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.MetricsService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.MetricsService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Metrics.EmptyMessage,
@ -351,9 +351,9 @@ public final class MetricsServiceGrpc {
private static final class MetricsServiceMethodDescriptorSupplier
extends MetricsServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
MetricsServiceMethodDescriptorSupplier(String methodName) {
MetricsServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class ReconnectServiceGrpc {
private ReconnectServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.ReconnectService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.ReconnectService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.ReconnectParams,
@ -352,9 +352,9 @@ public final class ReconnectServiceGrpc {
private static final class ReconnectServiceMethodDescriptorSupplier
extends ReconnectServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ReconnectServiceMethodDescriptorSupplier(String methodName) {
ReconnectServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -16,7 +16,7 @@ public final class TestServiceGrpc {
private TestServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.TestService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.TestService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
@ -843,9 +843,9 @@ public final class TestServiceGrpc {
private static final class TestServiceMethodDescriptorSupplier
extends TestServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
TestServiceMethodDescriptorSupplier(String methodName) {
TestServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -16,7 +16,7 @@ public final class UnimplementedServiceGrpc {
private UnimplementedServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.UnimplementedService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.UnimplementedService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
@ -297,9 +297,9 @@ public final class UnimplementedServiceGrpc {
private static final class UnimplementedServiceMethodDescriptorSupplier
extends UnimplementedServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
UnimplementedServiceMethodDescriptorSupplier(String methodName) {
UnimplementedServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class XdsUpdateClientConfigureServiceGrpc {
private XdsUpdateClientConfigureServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.XdsUpdateClientConfigureService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.XdsUpdateClientConfigureService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.ClientConfigureRequest,
@ -291,9 +291,9 @@ public final class XdsUpdateClientConfigureServiceGrpc {
private static final class XdsUpdateClientConfigureServiceMethodDescriptorSupplier
extends XdsUpdateClientConfigureServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
XdsUpdateClientConfigureServiceMethodDescriptorSupplier(String methodName) {
XdsUpdateClientConfigureServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class XdsUpdateHealthServiceGrpc {
private XdsUpdateHealthServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.XdsUpdateHealthService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.XdsUpdateHealthService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty,
@ -352,9 +352,9 @@ public final class XdsUpdateHealthServiceGrpc {
private static final class XdsUpdateHealthServiceMethodDescriptorSupplier
extends XdsUpdateHealthServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
XdsUpdateHealthServiceMethodDescriptorSupplier(String methodName) {
XdsUpdateHealthServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class EchoTestServiceGrpc {
private EchoTestServiceGrpc() {}
public static final String SERVICE_NAME = "proto.EchoTestService";
public static final java.lang.String SERVICE_NAME = "proto.EchoTestService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.istio.test.Echo.EchoRequest,
@ -334,9 +334,9 @@ public final class EchoTestServiceGrpc {
private static final class EchoTestServiceMethodDescriptorSupplier
extends EchoTestServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
EchoTestServiceMethodDescriptorSupplier(String methodName) {
EchoTestServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class RouteLookupServiceGrpc {
private RouteLookupServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.lookup.v1.RouteLookupService";
public static final java.lang.String SERVICE_NAME = "grpc.lookup.v1.RouteLookupService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.lookup.v1.RouteLookupRequest,
@ -273,9 +273,9 @@ public final class RouteLookupServiceGrpc {
private static final class RouteLookupServiceMethodDescriptorSupplier
extends RouteLookupServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
RouteLookupServiceMethodDescriptorSupplier(String methodName) {
RouteLookupServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -16,7 +16,7 @@ public final class ChannelzGrpc {
private ChannelzGrpc() {}
public static final String SERVICE_NAME = "grpc.channelz.v1.Channelz";
public static final java.lang.String SERVICE_NAME = "grpc.channelz.v1.Channelz";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetTopChannelsRequest,
@ -811,9 +811,9 @@ public final class ChannelzGrpc {
private static final class ChannelzMethodDescriptorSupplier
extends ChannelzBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ChannelzMethodDescriptorSupplier(String methodName) {
ChannelzMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class HealthGrpc {
private HealthGrpc() {}
public static final String SERVICE_NAME = "grpc.health.v1.Health";
public static final java.lang.String SERVICE_NAME = "grpc.health.v1.Health";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.health.v1.HealthCheckRequest,
@ -388,9 +388,9 @@ public final class HealthGrpc {
private static final class HealthMethodDescriptorSupplier
extends HealthBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
HealthMethodDescriptorSupplier(String methodName) {
HealthMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class ServerReflectionGrpc {
private ServerReflectionGrpc() {}
public static final String SERVICE_NAME = "grpc.reflection.v1alpha.ServerReflection";
public static final java.lang.String SERVICE_NAME = "grpc.reflection.v1alpha.ServerReflection";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.reflection.v1alpha.ServerReflectionRequest,
@ -253,9 +253,9 @@ public final class ServerReflectionGrpc {
private static final class ServerReflectionMethodDescriptorSupplier
extends ServerReflectionBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ServerReflectionMethodDescriptorSupplier(String methodName) {
ServerReflectionMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class AnotherDynamicServiceGrpc {
private AnotherDynamicServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.reflection.testing.AnotherDynamicService";
public static final java.lang.String SERVICE_NAME = "grpc.reflection.testing.AnotherDynamicService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.reflection.testing.DynamicRequest,
@ -291,9 +291,9 @@ public final class AnotherDynamicServiceGrpc {
private static final class AnotherDynamicServiceMethodDescriptorSupplier
extends AnotherDynamicServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
AnotherDynamicServiceMethodDescriptorSupplier(String methodName) {
AnotherDynamicServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class AnotherReflectableServiceGrpc {
private AnotherReflectableServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.reflection.testing.AnotherReflectableService";
public static final java.lang.String SERVICE_NAME = "grpc.reflection.testing.AnotherReflectableService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.reflection.testing.Request,
@ -261,9 +261,9 @@ public final class AnotherReflectableServiceGrpc {
private static final class AnotherReflectableServiceMethodDescriptorSupplier
extends AnotherReflectableServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
AnotherReflectableServiceMethodDescriptorSupplier(String methodName) {
AnotherReflectableServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class DynamicServiceGrpc {
private DynamicServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.reflection.testing.DynamicService";
public static final java.lang.String SERVICE_NAME = "grpc.reflection.testing.DynamicService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.reflection.testing.DynamicRequest,
@ -291,9 +291,9 @@ public final class DynamicServiceGrpc {
private static final class DynamicServiceMethodDescriptorSupplier
extends DynamicServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
DynamicServiceMethodDescriptorSupplier(String methodName) {
DynamicServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class ReflectableServiceGrpc {
private ReflectableServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.reflection.testing.ReflectableService";
public static final java.lang.String SERVICE_NAME = "grpc.reflection.testing.ReflectableService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.reflection.testing.Request,
@ -261,9 +261,9 @@ public final class ReflectableServiceGrpc {
private static final class ReflectableServiceMethodDescriptorSupplier
extends ReflectableServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ReflectableServiceMethodDescriptorSupplier(String methodName) {
ReflectableServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class SimpleServiceGrpc {
private SimpleServiceGrpc() {}
public static final String SERVICE_NAME = "grpc.testing.SimpleService";
public static final java.lang.String SERVICE_NAME = "grpc.testing.SimpleService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest,
@ -492,9 +492,9 @@ public final class SimpleServiceGrpc {
private static final class SimpleServiceMethodDescriptorSupplier
extends SimpleServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
SimpleServiceMethodDescriptorSupplier(String methodName) {
SimpleServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -22,7 +22,7 @@ public final class OpenRcaServiceGrpc {
private OpenRcaServiceGrpc() {}
public static final String SERVICE_NAME = "xds.service.orca.v3.OpenRcaService";
public static final java.lang.String SERVICE_NAME = "xds.service.orca.v3.OpenRcaService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<com.github.xds.service.orca.v3.OrcaLoadReportRequest,
@ -314,9 +314,9 @@ public final class OpenRcaServiceGrpc {
private static final class OpenRcaServiceMethodDescriptorSupplier
extends OpenRcaServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
OpenRcaServiceMethodDescriptorSupplier(String methodName) {
OpenRcaServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -15,7 +15,7 @@ public final class ClusterDiscoveryServiceGrpc {
private ClusterDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.api.v2.ClusterDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.api.v2.ClusterDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DiscoveryRequest,
@ -393,9 +393,9 @@ public final class ClusterDiscoveryServiceGrpc {
private static final class ClusterDiscoveryServiceMethodDescriptorSupplier
extends ClusterDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ClusterDiscoveryServiceMethodDescriptorSupplier(String methodName) {
ClusterDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class EndpointDiscoveryServiceGrpc {
private EndpointDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.api.v2.EndpointDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.api.v2.EndpointDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DiscoveryRequest,
@ -383,9 +383,9 @@ public final class EndpointDiscoveryServiceGrpc {
private static final class EndpointDiscoveryServiceMethodDescriptorSupplier
extends EndpointDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
EndpointDiscoveryServiceMethodDescriptorSupplier(String methodName) {
EndpointDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -18,7 +18,7 @@ public final class ListenerDiscoveryServiceGrpc {
private ListenerDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.api.v2.ListenerDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.api.v2.ListenerDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest,
@ -411,9 +411,9 @@ public final class ListenerDiscoveryServiceGrpc {
private static final class ListenerDiscoveryServiceMethodDescriptorSupplier
extends ListenerDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ListenerDiscoveryServiceMethodDescriptorSupplier(String methodName) {
ListenerDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -19,7 +19,7 @@ public final class RouteDiscoveryServiceGrpc {
private RouteDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.api.v2.RouteDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.api.v2.RouteDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DiscoveryRequest,
@ -417,9 +417,9 @@ public final class RouteDiscoveryServiceGrpc {
private static final class RouteDiscoveryServiceMethodDescriptorSupplier
extends RouteDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
RouteDiscoveryServiceMethodDescriptorSupplier(String methodName) {
RouteDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -21,7 +21,7 @@ public final class ScopedRoutesDiscoveryServiceGrpc {
private ScopedRoutesDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.api.v2.ScopedRoutesDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.api.v2.ScopedRoutesDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DiscoveryRequest,
@ -429,9 +429,9 @@ public final class ScopedRoutesDiscoveryServiceGrpc {
private static final class ScopedRoutesDiscoveryServiceMethodDescriptorSupplier
extends ScopedRoutesDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ScopedRoutesDiscoveryServiceMethodDescriptorSupplier(String methodName) {
ScopedRoutesDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -24,7 +24,7 @@ public final class VirtualHostDiscoveryServiceGrpc {
private VirtualHostDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.api.v2.VirtualHostDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.api.v2.VirtualHostDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest,
@ -317,9 +317,9 @@ public final class VirtualHostDiscoveryServiceGrpc {
private static final class VirtualHostDiscoveryServiceMethodDescriptorSupplier
extends VirtualHostDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
VirtualHostDiscoveryServiceMethodDescriptorSupplier(String methodName) {
VirtualHostDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -20,7 +20,7 @@ public final class AggregatedDiscoveryServiceGrpc {
private AggregatedDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.discovery.v2.AggregatedDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.service.discovery.v2.AggregatedDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DiscoveryRequest,
@ -356,9 +356,9 @@ public final class AggregatedDiscoveryServiceGrpc {
private static final class AggregatedDiscoveryServiceMethodDescriptorSupplier
extends AggregatedDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
AggregatedDiscoveryServiceMethodDescriptorSupplier(String methodName) {
AggregatedDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class SecretDiscoveryServiceGrpc {
private SecretDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.discovery.v2.SecretDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.service.discovery.v2.SecretDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.api.v2.DeltaDiscoveryRequest,
@ -375,9 +375,9 @@ public final class SecretDiscoveryServiceGrpc {
private static final class SecretDiscoveryServiceMethodDescriptorSupplier
extends SecretDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
SecretDiscoveryServiceMethodDescriptorSupplier(String methodName) {
SecretDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -20,7 +20,7 @@ public final class AggregatedDiscoveryServiceGrpc {
private AggregatedDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.discovery.v3.AggregatedDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.service.discovery.v3.AggregatedDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.service.discovery.v3.DiscoveryRequest,
@ -356,9 +356,9 @@ public final class AggregatedDiscoveryServiceGrpc {
private static final class AggregatedDiscoveryServiceMethodDescriptorSupplier
extends AggregatedDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
AggregatedDiscoveryServiceMethodDescriptorSupplier(String methodName) {
AggregatedDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class LoadReportingServiceGrpc {
private LoadReportingServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.load_stats.v2.LoadReportingService";
public static final java.lang.String SERVICE_NAME = "envoy.service.load_stats.v2.LoadReportingService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.service.load_stats.v2.LoadStatsRequest,
@ -303,9 +303,9 @@ public final class LoadReportingServiceGrpc {
private static final class LoadReportingServiceMethodDescriptorSupplier
extends LoadReportingServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
LoadReportingServiceMethodDescriptorSupplier(String methodName) {
LoadReportingServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -12,7 +12,7 @@ public final class LoadReportingServiceGrpc {
private LoadReportingServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.load_stats.v3.LoadReportingService";
public static final java.lang.String SERVICE_NAME = "envoy.service.load_stats.v3.LoadReportingService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.service.load_stats.v3.LoadStatsRequest,
@ -303,9 +303,9 @@ public final class LoadReportingServiceGrpc {
private static final class LoadReportingServiceMethodDescriptorSupplier
extends LoadReportingServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
LoadReportingServiceMethodDescriptorSupplier(String methodName) {
LoadReportingServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}

View File

@ -17,7 +17,7 @@ public final class ClientStatusDiscoveryServiceGrpc {
private ClientStatusDiscoveryServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.status.v3.ClientStatusDiscoveryService";
public static final java.lang.String SERVICE_NAME = "envoy.service.status.v3.ClientStatusDiscoveryService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<io.envoyproxy.envoy.service.status.v3.ClientStatusRequest,
@ -348,9 +348,9 @@ public final class ClientStatusDiscoveryServiceGrpc {
private static final class ClientStatusDiscoveryServiceMethodDescriptorSupplier
extends ClientStatusDiscoveryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
private final java.lang.String methodName;
ClientStatusDiscoveryServiceMethodDescriptorSupplier(String methodName) {
ClientStatusDiscoveryServiceMethodDescriptorSupplier(java.lang.String methodName) {
this.methodName = methodName;
}