From 56d92149a9c906d545bf38e222d75a3379842168 Mon Sep 17 00:00:00 2001 From: Alfred Fuller Date: Fri, 28 Jul 2023 09:40:13 -0700 Subject: [PATCH] Move test protos into `connectrpc.conformance` package (#510) So they don't conflict with the grpc c++ library. --- cmd/client/main.go | 40 +- cmd/serverconnect/main.go | 4 +- cmd/servergrpc/main.go | 4 +- .../conformanceconnect}/test.connect.go | 391 +++-- .../conformance}/messages.pb.go | 979 ++++++----- .../go/connectrpc/conformance/test.pb.go | 318 ++++ .../conformance}/test_grpc.pb.go | 94 +- internal/gen/proto/go/grpc/testing/test.pb.go | 297 ---- internal/interop/interop.go | 4 +- internal/interop/interopconnect/test_cases.go | 158 +- .../interop/interopconnect/test_server.go | 44 +- internal/interop/interopgrpc/test_cases.go | 142 +- internal/interop/interopgrpc/test_server.go | 42 +- .../conformance}/messages.proto | 16 +- .../conformance}/test.proto | 22 +- .../conformance}/messages_pb.ts | 136 +- .../conformance}/test_connect.ts | 66 +- .../conformance}/TestServiceClientPb.ts | 264 +-- .../conformance}/messages_pb.d.ts | 0 .../conformance}/messages_pb.js | 1544 ++++++++--------- .../conformance}/test_pb.d.ts | 2 +- .../conformance}/test_pb.js | 6 +- web/server/interop.ts | 2 +- web/server/routes.ts | 6 +- web/spec/connect-web.callback.spec.ts | 4 +- web/spec/connect-web.promise.spec.ts | 4 +- web/spec/grpc-web.spec.ts | 4 +- 27 files changed, 2336 insertions(+), 2257 deletions(-) rename internal/gen/proto/connect/{grpc/testing/testingconnect => connectrpc/conformance/conformanceconnect}/test.connect.go (64%) rename internal/gen/proto/go/{grpc/testing => connectrpc/conformance}/messages.pb.go (54%) create mode 100644 internal/gen/proto/go/connectrpc/conformance/test.pb.go rename internal/gen/proto/go/{grpc/testing => connectrpc/conformance}/test_grpc.pb.go (93%) delete mode 100644 internal/gen/proto/go/grpc/testing/test.pb.go rename proto/{grpc/testing => connectrpc/conformance}/messages.proto (93%) rename proto/{grpc/testing => connectrpc/conformance}/test.proto (87%) rename web/gen/proto/connect-web/{grpc/testing => connectrpc/conformance}/messages_pb.ts (88%) rename web/gen/proto/connect-web/{grpc/testing => connectrpc/conformance}/test_connect.ts (78%) rename web/gen/proto/grpc-web/{grpc/testing => connectrpc/conformance}/TestServiceClientPb.ts (64%) rename web/gen/proto/grpc-web/{grpc/testing => connectrpc/conformance}/messages_pb.d.ts (100%) rename web/gen/proto/grpc-web/{grpc/testing => connectrpc/conformance}/messages_pb.js (59%) rename web/gen/proto/grpc-web/{grpc/testing => connectrpc/conformance}/test_pb.d.ts (57%) rename web/gen/proto/grpc-web/{grpc/testing => connectrpc/conformance}/test_pb.js (80%) diff --git a/cmd/client/main.go b/cmd/client/main.go index 6b86f540..e1b7df47 100644 --- a/cmd/client/main.go +++ b/cmd/client/main.go @@ -27,8 +27,8 @@ import ( "os" "github.com/bufbuild/connect-crosstest/internal/console" - "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/grpc/testing/testingconnect" - testgrpc "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/connectrpc/conformance/conformanceconnect" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" "github.com/bufbuild/connect-crosstest/internal/interop/interopconnect" "github.com/bufbuild/connect-crosstest/internal/interop/interopgrpc" "github.com/bufbuild/connect-go" @@ -213,24 +213,24 @@ func run(flags *flags) { clientOptions = append(clientOptions, connect.WithGRPCWeb()) } // create test clients using the transport and client options - uncompressedClient := testingconnect.NewTestServiceClient( + uncompressedClient := conformanceconnect.NewTestServiceClient( &http.Client{Transport: transport}, serverURL.String(), clientOptions..., ) - unresolvableClient := testingconnect.NewTestServiceClient( + unresolvableClient := conformanceconnect.NewTestServiceClient( &http.Client{Transport: transport}, "https://unresolvable-host.some.domain", clientOptions..., ) - unimplementedClient := testingconnect.NewUnimplementedServiceClient( + unimplementedClient := conformanceconnect.NewUnimplementedServiceClient( &http.Client{Transport: transport}, serverURL.String(), clientOptions..., ) // add compress options to create compressed client clientOptions = append(clientOptions, connect.WithSendGzip()) - compressedClient := testingconnect.NewTestServiceClient( + compressedClient := conformanceconnect.NewTestServiceClient( &http.Client{Transport: transport}, serverURL.String(), clientOptions..., @@ -240,13 +240,13 @@ func run(flags *flags) { switch flags.implementation { // We skipped those client and bidi streaming tests for http 1 test case connectH1, connectGRPCH1, connectGRPCWebH1: - for _, client := range []testingconnect.TestServiceClient{uncompressedClient, compressedClient} { + for _, client := range []conformanceconnect.TestServiceClient{uncompressedClient, compressedClient} { testConnectUnary(client) testConnectServerStreaming(client) } testConnectSpecialClients(unresolvableClient, unimplementedClient) case connectGRPCH2, connectH2, connectGRPCWebH2: - for _, client := range []testingconnect.TestServiceClient{uncompressedClient, compressedClient} { + for _, client := range []conformanceconnect.TestServiceClient{uncompressedClient, compressedClient} { testConnectUnary(client) testConnectServerStreaming(client) testConnectClientStreaming(client) @@ -255,7 +255,7 @@ func run(flags *flags) { } testConnectSpecialClients(unresolvableClient, unimplementedClient) case connectH3: - for _, client := range []testingconnect.TestServiceClient{uncompressedClient, compressedClient} { + for _, client := range []conformanceconnect.TestServiceClient{uncompressedClient, compressedClient} { testConnectUnary(client) testConnectServerStreaming(client) testConnectClientStreaming(client) @@ -265,7 +265,7 @@ func run(flags *flags) { } testConnectSpecialClients(unresolvableClient, unimplementedClient) case connectGRPCWebH3: - for _, client := range []testingconnect.TestServiceClient{uncompressedClient, compressedClient} { + for _, client := range []conformanceconnect.TestServiceClient{uncompressedClient, compressedClient} { // For tests that depend on trailers, we only run them for HTTP2, since the HTTP3 client // does not yet have trailers support https://github.com/quic-go/quic-go/issues/2266 // Once trailer support is available, they will be reenabled. @@ -278,7 +278,7 @@ func run(flags *flags) { } } -func testConnectUnary(client testingconnect.TestServiceClient) { +func testConnectUnary(client conformanceconnect.TestServiceClient) { interopconnect.DoEmptyUnaryCall(console.NewTB(), client) interopconnect.DoCacheableUnaryCall(console.NewTB(), client) interopconnect.DoLargeUnaryCall(console.NewTB(), client) @@ -290,7 +290,7 @@ func testConnectUnary(client testingconnect.TestServiceClient) { interopconnect.DoFailWithNonASCIIError(console.NewTB(), client) } -func testConnectServerStreaming(client testingconnect.TestServiceClient) { +func testConnectServerStreaming(client conformanceconnect.TestServiceClient) { interopconnect.DoServerStreaming(console.NewTB(), client) interopconnect.DoCustomMetadataServerStreaming(console.NewTB(), client) interopconnect.DoDuplicatedCustomMetadataServerStreaming(console.NewTB(), client) @@ -299,12 +299,12 @@ func testConnectServerStreaming(client testingconnect.TestServiceClient) { interopconnect.DoFailServerStreamingAfterResponse(console.NewTB(), client) } -func testConnectClientStreaming(client testingconnect.TestServiceClient) { +func testConnectClientStreaming(client conformanceconnect.TestServiceClient) { interopconnect.DoClientStreaming(console.NewTB(), client) interopconnect.DoCancelAfterBegin(console.NewTB(), client) } -func testConnectBidiStreaming(client testingconnect.TestServiceClient) { +func testConnectBidiStreaming(client conformanceconnect.TestServiceClient) { interopconnect.DoPingPong(console.NewTB(), client) interopconnect.DoEmptyStream(console.NewTB(), client) interopconnect.DoCancelAfterFirstResponse(console.NewTB(), client) @@ -314,8 +314,8 @@ func testConnectBidiStreaming(client testingconnect.TestServiceClient) { } func testConnectSpecialClients( - unresolvableClient testingconnect.TestServiceClient, - unimplementedClient testingconnect.UnimplementedServiceClient, + unresolvableClient conformanceconnect.TestServiceClient, + unimplementedClient conformanceconnect.UnimplementedServiceClient, ) { interopconnect.DoUnresolvableHost(console.NewTB(), unresolvableClient) interopconnect.DoUnimplementedService(console.NewTB(), unimplementedClient) @@ -323,8 +323,8 @@ func testConnectSpecialClients( } func testGrpc(clientConn *grpc.ClientConn, unresolvableClientConn *grpc.ClientConn) { - client := testgrpc.NewTestServiceClient(clientConn) - unresolvableClient := testgrpc.NewTestServiceClient(unresolvableClientConn) + client := conformance.NewTestServiceClient(clientConn) + unresolvableClient := conformance.NewTestServiceClient(unresolvableClientConn) for _, args := range [][]grpc.CallOption{ nil, {grpc.UseCompressor(gzip.Name)}, @@ -347,8 +347,8 @@ func testGrpc(clientConn *grpc.ClientConn, unresolvableClientConn *grpc.ClientCo interopgrpc.DoFailServerStreamingWithNonASCIIError(console.NewTB(), client, args...) interopgrpc.DoFailServerStreamingAfterResponse(console.NewTB(), client, args...) } - interopgrpc.DoUnimplementedService(console.NewTB(), testgrpc.NewUnimplementedServiceClient(clientConn)) - interopgrpc.DoUnimplementedServerStreamingService(console.NewTB(), testgrpc.NewUnimplementedServiceClient(clientConn)) + interopgrpc.DoUnimplementedService(console.NewTB(), conformance.NewUnimplementedServiceClient(clientConn)) + interopgrpc.DoUnimplementedServerStreamingService(console.NewTB(), conformance.NewUnimplementedServiceClient(clientConn)) interopgrpc.DoUnresolvableHost(console.NewTB(), unresolvableClient) } diff --git a/cmd/serverconnect/main.go b/cmd/serverconnect/main.go index 11ce8239..f5a8eb72 100644 --- a/cmd/serverconnect/main.go +++ b/cmd/serverconnect/main.go @@ -27,7 +27,7 @@ import ( "syscall" "time" - "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/grpc/testing/testingconnect" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/connectrpc/conformance/conformanceconnect" serverpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/server/v1" "github.com/bufbuild/connect-crosstest/internal/interop/interopconnect" "github.com/quic-go/quic-go/http3" @@ -101,7 +101,7 @@ func bind(cmd *cobra.Command, flagset *flags) error { func run(flags *flags) { mux := http.NewServeMux() - mux.Handle(testingconnect.NewTestServiceHandler( + mux.Handle(conformanceconnect.NewTestServiceHandler( interopconnect.NewTestServiceHandler(), )) corsHandler := cors.New(cors.Options{ diff --git a/cmd/servergrpc/main.go b/cmd/servergrpc/main.go index f1323763..c8696bf0 100644 --- a/cmd/servergrpc/main.go +++ b/cmd/servergrpc/main.go @@ -22,7 +22,7 @@ import ( "net" "os" - testrpc "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" serverpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/server/v1" "github.com/bufbuild/connect-crosstest/internal/interop/interopgrpc" "github.com/spf13/cobra" @@ -99,7 +99,7 @@ func run(flagset *flags) { log.Fatalf("failed to marshal server metadata: %v", err) } _, _ = fmt.Fprintln(os.Stdout, string(bytes)) - testrpc.RegisterTestServiceServer(server, interopgrpc.NewTestServer()) + conformance.RegisterTestServiceServer(server, interopgrpc.NewTestServer()) _ = server.Serve(lis) defer server.GracefulStop() } diff --git a/internal/gen/proto/connect/grpc/testing/testingconnect/test.connect.go b/internal/gen/proto/connect/connectrpc/conformance/conformanceconnect/test.connect.go similarity index 64% rename from internal/gen/proto/connect/grpc/testing/testingconnect/test.connect.go rename to internal/gen/proto/connect/connectrpc/conformance/conformanceconnect/test.connect.go index ab3a1b90..bbc849f0 100644 --- a/internal/gen/proto/connect/grpc/testing/testingconnect/test.connect.go +++ b/internal/gen/proto/connect/connectrpc/conformance/conformanceconnect/test.connect.go @@ -14,14 +14,14 @@ // Code generated by protoc-gen-connect-go. DO NOT EDIT. // -// Source: grpc/testing/test.proto +// Source: connectrpc/conformance/test.proto -package testingconnect +package conformanceconnect import ( context "context" errors "errors" - testing "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + conformance "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" connect_go "github.com/bufbuild/connect-go" emptypb "google.golang.org/protobuf/types/known/emptypb" http "net/http" @@ -37,18 +37,18 @@ const _ = connect_go.IsAtLeastVersion1_7_0 const ( // TestServiceName is the fully-qualified name of the TestService service. - TestServiceName = "grpc.testing.TestService" + TestServiceName = "connectrpc.conformance.TestService" // UnimplementedServiceName is the fully-qualified name of the UnimplementedService service. - UnimplementedServiceName = "grpc.testing.UnimplementedService" + UnimplementedServiceName = "connectrpc.conformance.UnimplementedService" // ReconnectServiceName is the fully-qualified name of the ReconnectService service. - ReconnectServiceName = "grpc.testing.ReconnectService" + ReconnectServiceName = "connectrpc.conformance.ReconnectService" // LoadBalancerStatsServiceName is the fully-qualified name of the LoadBalancerStatsService service. - LoadBalancerStatsServiceName = "grpc.testing.LoadBalancerStatsService" + LoadBalancerStatsServiceName = "connectrpc.conformance.LoadBalancerStatsService" // XdsUpdateHealthServiceName is the fully-qualified name of the XdsUpdateHealthService service. - XdsUpdateHealthServiceName = "grpc.testing.XdsUpdateHealthService" + XdsUpdateHealthServiceName = "connectrpc.conformance.XdsUpdateHealthService" // XdsUpdateClientConfigureServiceName is the fully-qualified name of the // XdsUpdateClientConfigureService service. - XdsUpdateClientConfigureServiceName = "grpc.testing.XdsUpdateClientConfigureService" + XdsUpdateClientConfigureServiceName = "connectrpc.conformance.XdsUpdateClientConfigureService" ) // These constants are the fully-qualified names of the RPCs defined in this package. They're @@ -60,94 +60,94 @@ const ( // period. const ( // TestServiceEmptyCallProcedure is the fully-qualified name of the TestService's EmptyCall RPC. - TestServiceEmptyCallProcedure = "/grpc.testing.TestService/EmptyCall" + TestServiceEmptyCallProcedure = "/connectrpc.conformance.TestService/EmptyCall" // TestServiceUnaryCallProcedure is the fully-qualified name of the TestService's UnaryCall RPC. - TestServiceUnaryCallProcedure = "/grpc.testing.TestService/UnaryCall" + TestServiceUnaryCallProcedure = "/connectrpc.conformance.TestService/UnaryCall" // TestServiceFailUnaryCallProcedure is the fully-qualified name of the TestService's FailUnaryCall // RPC. - TestServiceFailUnaryCallProcedure = "/grpc.testing.TestService/FailUnaryCall" + TestServiceFailUnaryCallProcedure = "/connectrpc.conformance.TestService/FailUnaryCall" // TestServiceCacheableUnaryCallProcedure is the fully-qualified name of the TestService's // CacheableUnaryCall RPC. - TestServiceCacheableUnaryCallProcedure = "/grpc.testing.TestService/CacheableUnaryCall" + TestServiceCacheableUnaryCallProcedure = "/connectrpc.conformance.TestService/CacheableUnaryCall" // TestServiceStreamingOutputCallProcedure is the fully-qualified name of the TestService's // StreamingOutputCall RPC. - TestServiceStreamingOutputCallProcedure = "/grpc.testing.TestService/StreamingOutputCall" + TestServiceStreamingOutputCallProcedure = "/connectrpc.conformance.TestService/StreamingOutputCall" // TestServiceFailStreamingOutputCallProcedure is the fully-qualified name of the TestService's // FailStreamingOutputCall RPC. - TestServiceFailStreamingOutputCallProcedure = "/grpc.testing.TestService/FailStreamingOutputCall" + TestServiceFailStreamingOutputCallProcedure = "/connectrpc.conformance.TestService/FailStreamingOutputCall" // TestServiceStreamingInputCallProcedure is the fully-qualified name of the TestService's // StreamingInputCall RPC. - TestServiceStreamingInputCallProcedure = "/grpc.testing.TestService/StreamingInputCall" + TestServiceStreamingInputCallProcedure = "/connectrpc.conformance.TestService/StreamingInputCall" // TestServiceFullDuplexCallProcedure is the fully-qualified name of the TestService's // FullDuplexCall RPC. - TestServiceFullDuplexCallProcedure = "/grpc.testing.TestService/FullDuplexCall" + TestServiceFullDuplexCallProcedure = "/connectrpc.conformance.TestService/FullDuplexCall" // TestServiceHalfDuplexCallProcedure is the fully-qualified name of the TestService's // HalfDuplexCall RPC. - TestServiceHalfDuplexCallProcedure = "/grpc.testing.TestService/HalfDuplexCall" + TestServiceHalfDuplexCallProcedure = "/connectrpc.conformance.TestService/HalfDuplexCall" // TestServiceUnimplementedCallProcedure is the fully-qualified name of the TestService's // UnimplementedCall RPC. - TestServiceUnimplementedCallProcedure = "/grpc.testing.TestService/UnimplementedCall" + TestServiceUnimplementedCallProcedure = "/connectrpc.conformance.TestService/UnimplementedCall" // TestServiceUnimplementedStreamingOutputCallProcedure is the fully-qualified name of the // TestService's UnimplementedStreamingOutputCall RPC. - TestServiceUnimplementedStreamingOutputCallProcedure = "/grpc.testing.TestService/UnimplementedStreamingOutputCall" + TestServiceUnimplementedStreamingOutputCallProcedure = "/connectrpc.conformance.TestService/UnimplementedStreamingOutputCall" // UnimplementedServiceUnimplementedCallProcedure is the fully-qualified name of the // UnimplementedService's UnimplementedCall RPC. - UnimplementedServiceUnimplementedCallProcedure = "/grpc.testing.UnimplementedService/UnimplementedCall" + UnimplementedServiceUnimplementedCallProcedure = "/connectrpc.conformance.UnimplementedService/UnimplementedCall" // UnimplementedServiceUnimplementedStreamingOutputCallProcedure is the fully-qualified name of the // UnimplementedService's UnimplementedStreamingOutputCall RPC. - UnimplementedServiceUnimplementedStreamingOutputCallProcedure = "/grpc.testing.UnimplementedService/UnimplementedStreamingOutputCall" + UnimplementedServiceUnimplementedStreamingOutputCallProcedure = "/connectrpc.conformance.UnimplementedService/UnimplementedStreamingOutputCall" // ReconnectServiceStartProcedure is the fully-qualified name of the ReconnectService's Start RPC. - ReconnectServiceStartProcedure = "/grpc.testing.ReconnectService/Start" + ReconnectServiceStartProcedure = "/connectrpc.conformance.ReconnectService/Start" // ReconnectServiceStopProcedure is the fully-qualified name of the ReconnectService's Stop RPC. - ReconnectServiceStopProcedure = "/grpc.testing.ReconnectService/Stop" + ReconnectServiceStopProcedure = "/connectrpc.conformance.ReconnectService/Stop" // LoadBalancerStatsServiceGetClientStatsProcedure is the fully-qualified name of the // LoadBalancerStatsService's GetClientStats RPC. - LoadBalancerStatsServiceGetClientStatsProcedure = "/grpc.testing.LoadBalancerStatsService/GetClientStats" + LoadBalancerStatsServiceGetClientStatsProcedure = "/connectrpc.conformance.LoadBalancerStatsService/GetClientStats" // LoadBalancerStatsServiceGetClientAccumulatedStatsProcedure is the fully-qualified name of the // LoadBalancerStatsService's GetClientAccumulatedStats RPC. - LoadBalancerStatsServiceGetClientAccumulatedStatsProcedure = "/grpc.testing.LoadBalancerStatsService/GetClientAccumulatedStats" + LoadBalancerStatsServiceGetClientAccumulatedStatsProcedure = "/connectrpc.conformance.LoadBalancerStatsService/GetClientAccumulatedStats" // XdsUpdateHealthServiceSetServingProcedure is the fully-qualified name of the // XdsUpdateHealthService's SetServing RPC. - XdsUpdateHealthServiceSetServingProcedure = "/grpc.testing.XdsUpdateHealthService/SetServing" + XdsUpdateHealthServiceSetServingProcedure = "/connectrpc.conformance.XdsUpdateHealthService/SetServing" // XdsUpdateHealthServiceSetNotServingProcedure is the fully-qualified name of the // XdsUpdateHealthService's SetNotServing RPC. - XdsUpdateHealthServiceSetNotServingProcedure = "/grpc.testing.XdsUpdateHealthService/SetNotServing" + XdsUpdateHealthServiceSetNotServingProcedure = "/connectrpc.conformance.XdsUpdateHealthService/SetNotServing" // XdsUpdateClientConfigureServiceConfigureProcedure is the fully-qualified name of the // XdsUpdateClientConfigureService's Configure RPC. - XdsUpdateClientConfigureServiceConfigureProcedure = "/grpc.testing.XdsUpdateClientConfigureService/Configure" + XdsUpdateClientConfigureServiceConfigureProcedure = "/connectrpc.conformance.XdsUpdateClientConfigureService/Configure" ) -// TestServiceClient is a client for the grpc.testing.TestService service. +// TestServiceClient is a client for the connectrpc.conformance.TestService service. type TestServiceClient interface { // One empty request followed by one empty response. EmptyCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) // One request followed by one response. - UnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) + UnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) // One request followed by one response. This RPC always fails. - FailUnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) + FailUnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) // One request followed by one response. Response has cache control // headers set such that a caching HTTP proxy (such as GFE) can // satisfy subsequent requests. - CacheableUnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) + CacheableUnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) // One request followed by a sequence of responses (streamed download). // The server returns the payload with client desired type and sizes. - StreamingOutputCall(context.Context, *connect_go.Request[testing.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[testing.StreamingOutputCallResponse], error) + StreamingOutputCall(context.Context, *connect_go.Request[conformance.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[conformance.StreamingOutputCallResponse], error) // One request followed by a sequence of responses (streamed download). // The server returns the payload with client desired type and sizes. // This RPC always responds with an error status. - FailStreamingOutputCall(context.Context, *connect_go.Request[testing.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[testing.StreamingOutputCallResponse], error) + FailStreamingOutputCall(context.Context, *connect_go.Request[conformance.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[conformance.StreamingOutputCallResponse], error) // A sequence of requests followed by one response (streamed upload). // The server returns the aggregated size of client payload as the result. - StreamingInputCall(context.Context) *connect_go.ClientStreamForClient[testing.StreamingInputCallRequest, testing.StreamingInputCallResponse] + StreamingInputCall(context.Context) *connect_go.ClientStreamForClient[conformance.StreamingInputCallRequest, conformance.StreamingInputCallResponse] // A sequence of requests with each request served by the server immediately. // As one request could lead to multiple responses, this interface // demonstrates the idea of full duplexing. - FullDuplexCall(context.Context) *connect_go.BidiStreamForClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] + FullDuplexCall(context.Context) *connect_go.BidiStreamForClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] // A sequence of requests followed by a sequence of responses. // The server buffers all the client requests and then serves them in order. A // stream of responses are returned to the client when the server starts with // first request. - HalfDuplexCall(context.Context) *connect_go.BidiStreamForClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] + HalfDuplexCall(context.Context) *connect_go.BidiStreamForClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] // The test server will not implement this method. It will be used // to test the behavior when clients call unimplemented methods. UnimplementedCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) @@ -156,10 +156,10 @@ type TestServiceClient interface { UnimplementedStreamingOutputCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.ServerStreamForClient[emptypb.Empty], error) } -// NewTestServiceClient constructs a client for the grpc.testing.TestService service. By default, it -// uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends -// uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or -// connect.WithGRPCWeb() options. +// NewTestServiceClient constructs a client for the connectrpc.conformance.TestService service. By +// default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, +// and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the +// connect.WithGRPC() or connect.WithGRPCWeb() options. // // The URL supplied here should be the base URL for the Connect or gRPC server (for example, // http://api.acme.com or https://acme.com/grpc). @@ -171,43 +171,43 @@ func NewTestServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts baseURL+TestServiceEmptyCallProcedure, opts..., ), - unaryCall: connect_go.NewClient[testing.SimpleRequest, testing.SimpleResponse]( + unaryCall: connect_go.NewClient[conformance.SimpleRequest, conformance.SimpleResponse]( httpClient, baseURL+TestServiceUnaryCallProcedure, opts..., ), - failUnaryCall: connect_go.NewClient[testing.SimpleRequest, testing.SimpleResponse]( + failUnaryCall: connect_go.NewClient[conformance.SimpleRequest, conformance.SimpleResponse]( httpClient, baseURL+TestServiceFailUnaryCallProcedure, opts..., ), - cacheableUnaryCall: connect_go.NewClient[testing.SimpleRequest, testing.SimpleResponse]( + cacheableUnaryCall: connect_go.NewClient[conformance.SimpleRequest, conformance.SimpleResponse]( httpClient, baseURL+TestServiceCacheableUnaryCallProcedure, connect_go.WithIdempotency(connect_go.IdempotencyNoSideEffects), connect_go.WithClientOptions(opts...), ), - streamingOutputCall: connect_go.NewClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]( + streamingOutputCall: connect_go.NewClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]( httpClient, baseURL+TestServiceStreamingOutputCallProcedure, opts..., ), - failStreamingOutputCall: connect_go.NewClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]( + failStreamingOutputCall: connect_go.NewClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]( httpClient, baseURL+TestServiceFailStreamingOutputCallProcedure, opts..., ), - streamingInputCall: connect_go.NewClient[testing.StreamingInputCallRequest, testing.StreamingInputCallResponse]( + streamingInputCall: connect_go.NewClient[conformance.StreamingInputCallRequest, conformance.StreamingInputCallResponse]( httpClient, baseURL+TestServiceStreamingInputCallProcedure, opts..., ), - fullDuplexCall: connect_go.NewClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]( + fullDuplexCall: connect_go.NewClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]( httpClient, baseURL+TestServiceFullDuplexCallProcedure, opts..., ), - halfDuplexCall: connect_go.NewClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]( + halfDuplexCall: connect_go.NewClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]( httpClient, baseURL+TestServiceHalfDuplexCallProcedure, opts..., @@ -228,104 +228,105 @@ func NewTestServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts // testServiceClient implements TestServiceClient. type testServiceClient struct { emptyCall *connect_go.Client[emptypb.Empty, emptypb.Empty] - unaryCall *connect_go.Client[testing.SimpleRequest, testing.SimpleResponse] - failUnaryCall *connect_go.Client[testing.SimpleRequest, testing.SimpleResponse] - cacheableUnaryCall *connect_go.Client[testing.SimpleRequest, testing.SimpleResponse] - streamingOutputCall *connect_go.Client[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] - failStreamingOutputCall *connect_go.Client[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] - streamingInputCall *connect_go.Client[testing.StreamingInputCallRequest, testing.StreamingInputCallResponse] - fullDuplexCall *connect_go.Client[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] - halfDuplexCall *connect_go.Client[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] + unaryCall *connect_go.Client[conformance.SimpleRequest, conformance.SimpleResponse] + failUnaryCall *connect_go.Client[conformance.SimpleRequest, conformance.SimpleResponse] + cacheableUnaryCall *connect_go.Client[conformance.SimpleRequest, conformance.SimpleResponse] + streamingOutputCall *connect_go.Client[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] + failStreamingOutputCall *connect_go.Client[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] + streamingInputCall *connect_go.Client[conformance.StreamingInputCallRequest, conformance.StreamingInputCallResponse] + fullDuplexCall *connect_go.Client[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] + halfDuplexCall *connect_go.Client[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] unimplementedCall *connect_go.Client[emptypb.Empty, emptypb.Empty] unimplementedStreamingOutputCall *connect_go.Client[emptypb.Empty, emptypb.Empty] } -// EmptyCall calls grpc.testing.TestService.EmptyCall. +// EmptyCall calls connectrpc.conformance.TestService.EmptyCall. func (c *testServiceClient) EmptyCall(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { return c.emptyCall.CallUnary(ctx, req) } -// UnaryCall calls grpc.testing.TestService.UnaryCall. -func (c *testServiceClient) UnaryCall(ctx context.Context, req *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) { +// UnaryCall calls connectrpc.conformance.TestService.UnaryCall. +func (c *testServiceClient) UnaryCall(ctx context.Context, req *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) { return c.unaryCall.CallUnary(ctx, req) } -// FailUnaryCall calls grpc.testing.TestService.FailUnaryCall. -func (c *testServiceClient) FailUnaryCall(ctx context.Context, req *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) { +// FailUnaryCall calls connectrpc.conformance.TestService.FailUnaryCall. +func (c *testServiceClient) FailUnaryCall(ctx context.Context, req *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) { return c.failUnaryCall.CallUnary(ctx, req) } -// CacheableUnaryCall calls grpc.testing.TestService.CacheableUnaryCall. -func (c *testServiceClient) CacheableUnaryCall(ctx context.Context, req *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) { +// CacheableUnaryCall calls connectrpc.conformance.TestService.CacheableUnaryCall. +func (c *testServiceClient) CacheableUnaryCall(ctx context.Context, req *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) { return c.cacheableUnaryCall.CallUnary(ctx, req) } -// StreamingOutputCall calls grpc.testing.TestService.StreamingOutputCall. -func (c *testServiceClient) StreamingOutputCall(ctx context.Context, req *connect_go.Request[testing.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[testing.StreamingOutputCallResponse], error) { +// StreamingOutputCall calls connectrpc.conformance.TestService.StreamingOutputCall. +func (c *testServiceClient) StreamingOutputCall(ctx context.Context, req *connect_go.Request[conformance.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[conformance.StreamingOutputCallResponse], error) { return c.streamingOutputCall.CallServerStream(ctx, req) } -// FailStreamingOutputCall calls grpc.testing.TestService.FailStreamingOutputCall. -func (c *testServiceClient) FailStreamingOutputCall(ctx context.Context, req *connect_go.Request[testing.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[testing.StreamingOutputCallResponse], error) { +// FailStreamingOutputCall calls connectrpc.conformance.TestService.FailStreamingOutputCall. +func (c *testServiceClient) FailStreamingOutputCall(ctx context.Context, req *connect_go.Request[conformance.StreamingOutputCallRequest]) (*connect_go.ServerStreamForClient[conformance.StreamingOutputCallResponse], error) { return c.failStreamingOutputCall.CallServerStream(ctx, req) } -// StreamingInputCall calls grpc.testing.TestService.StreamingInputCall. -func (c *testServiceClient) StreamingInputCall(ctx context.Context) *connect_go.ClientStreamForClient[testing.StreamingInputCallRequest, testing.StreamingInputCallResponse] { +// StreamingInputCall calls connectrpc.conformance.TestService.StreamingInputCall. +func (c *testServiceClient) StreamingInputCall(ctx context.Context) *connect_go.ClientStreamForClient[conformance.StreamingInputCallRequest, conformance.StreamingInputCallResponse] { return c.streamingInputCall.CallClientStream(ctx) } -// FullDuplexCall calls grpc.testing.TestService.FullDuplexCall. -func (c *testServiceClient) FullDuplexCall(ctx context.Context) *connect_go.BidiStreamForClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] { +// FullDuplexCall calls connectrpc.conformance.TestService.FullDuplexCall. +func (c *testServiceClient) FullDuplexCall(ctx context.Context) *connect_go.BidiStreamForClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] { return c.fullDuplexCall.CallBidiStream(ctx) } -// HalfDuplexCall calls grpc.testing.TestService.HalfDuplexCall. -func (c *testServiceClient) HalfDuplexCall(ctx context.Context) *connect_go.BidiStreamForClient[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse] { +// HalfDuplexCall calls connectrpc.conformance.TestService.HalfDuplexCall. +func (c *testServiceClient) HalfDuplexCall(ctx context.Context) *connect_go.BidiStreamForClient[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse] { return c.halfDuplexCall.CallBidiStream(ctx) } -// UnimplementedCall calls grpc.testing.TestService.UnimplementedCall. +// UnimplementedCall calls connectrpc.conformance.TestService.UnimplementedCall. func (c *testServiceClient) UnimplementedCall(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { return c.unimplementedCall.CallUnary(ctx, req) } -// UnimplementedStreamingOutputCall calls grpc.testing.TestService.UnimplementedStreamingOutputCall. +// UnimplementedStreamingOutputCall calls +// connectrpc.conformance.TestService.UnimplementedStreamingOutputCall. func (c *testServiceClient) UnimplementedStreamingOutputCall(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.ServerStreamForClient[emptypb.Empty], error) { return c.unimplementedStreamingOutputCall.CallServerStream(ctx, req) } -// TestServiceHandler is an implementation of the grpc.testing.TestService service. +// TestServiceHandler is an implementation of the connectrpc.conformance.TestService service. type TestServiceHandler interface { // One empty request followed by one empty response. EmptyCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) // One request followed by one response. - UnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) + UnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) // One request followed by one response. This RPC always fails. - FailUnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) + FailUnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) // One request followed by one response. Response has cache control // headers set such that a caching HTTP proxy (such as GFE) can // satisfy subsequent requests. - CacheableUnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) + CacheableUnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) // One request followed by a sequence of responses (streamed download). // The server returns the payload with client desired type and sizes. - StreamingOutputCall(context.Context, *connect_go.Request[testing.StreamingOutputCallRequest], *connect_go.ServerStream[testing.StreamingOutputCallResponse]) error + StreamingOutputCall(context.Context, *connect_go.Request[conformance.StreamingOutputCallRequest], *connect_go.ServerStream[conformance.StreamingOutputCallResponse]) error // One request followed by a sequence of responses (streamed download). // The server returns the payload with client desired type and sizes. // This RPC always responds with an error status. - FailStreamingOutputCall(context.Context, *connect_go.Request[testing.StreamingOutputCallRequest], *connect_go.ServerStream[testing.StreamingOutputCallResponse]) error + FailStreamingOutputCall(context.Context, *connect_go.Request[conformance.StreamingOutputCallRequest], *connect_go.ServerStream[conformance.StreamingOutputCallResponse]) error // A sequence of requests followed by one response (streamed upload). // The server returns the aggregated size of client payload as the result. - StreamingInputCall(context.Context, *connect_go.ClientStream[testing.StreamingInputCallRequest]) (*connect_go.Response[testing.StreamingInputCallResponse], error) + StreamingInputCall(context.Context, *connect_go.ClientStream[conformance.StreamingInputCallRequest]) (*connect_go.Response[conformance.StreamingInputCallResponse], error) // A sequence of requests with each request served by the server immediately. // As one request could lead to multiple responses, this interface // demonstrates the idea of full duplexing. - FullDuplexCall(context.Context, *connect_go.BidiStream[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]) error + FullDuplexCall(context.Context, *connect_go.BidiStream[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]) error // A sequence of requests followed by a sequence of responses. // The server buffers all the client requests and then serves them in order. A // stream of responses are returned to the client when the server starts with // first request. - HalfDuplexCall(context.Context, *connect_go.BidiStream[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]) error + HalfDuplexCall(context.Context, *connect_go.BidiStream[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]) error // The test server will not implement this method. It will be used // to test the behavior when clients call unimplemented methods. UnimplementedCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) @@ -396,7 +397,7 @@ func NewTestServiceHandler(svc TestServiceHandler, opts ...connect_go.HandlerOpt svc.UnimplementedStreamingOutputCall, opts..., ) - return "/grpc.testing.TestService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + return "/connectrpc.conformance.TestService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case TestServiceEmptyCallProcedure: testServiceEmptyCallHandler.ServeHTTP(w, r) @@ -430,50 +431,51 @@ func NewTestServiceHandler(svc TestServiceHandler, opts ...connect_go.HandlerOpt type UnimplementedTestServiceHandler struct{} func (UnimplementedTestServiceHandler) EmptyCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.EmptyCall is not implemented")) + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.EmptyCall is not implemented")) } -func (UnimplementedTestServiceHandler) UnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.UnaryCall is not implemented")) +func (UnimplementedTestServiceHandler) UnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.UnaryCall is not implemented")) } -func (UnimplementedTestServiceHandler) FailUnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.FailUnaryCall is not implemented")) +func (UnimplementedTestServiceHandler) FailUnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.FailUnaryCall is not implemented")) } -func (UnimplementedTestServiceHandler) CacheableUnaryCall(context.Context, *connect_go.Request[testing.SimpleRequest]) (*connect_go.Response[testing.SimpleResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.CacheableUnaryCall is not implemented")) +func (UnimplementedTestServiceHandler) CacheableUnaryCall(context.Context, *connect_go.Request[conformance.SimpleRequest]) (*connect_go.Response[conformance.SimpleResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.CacheableUnaryCall is not implemented")) } -func (UnimplementedTestServiceHandler) StreamingOutputCall(context.Context, *connect_go.Request[testing.StreamingOutputCallRequest], *connect_go.ServerStream[testing.StreamingOutputCallResponse]) error { - return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.StreamingOutputCall is not implemented")) +func (UnimplementedTestServiceHandler) StreamingOutputCall(context.Context, *connect_go.Request[conformance.StreamingOutputCallRequest], *connect_go.ServerStream[conformance.StreamingOutputCallResponse]) error { + return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.StreamingOutputCall is not implemented")) } -func (UnimplementedTestServiceHandler) FailStreamingOutputCall(context.Context, *connect_go.Request[testing.StreamingOutputCallRequest], *connect_go.ServerStream[testing.StreamingOutputCallResponse]) error { - return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.FailStreamingOutputCall is not implemented")) +func (UnimplementedTestServiceHandler) FailStreamingOutputCall(context.Context, *connect_go.Request[conformance.StreamingOutputCallRequest], *connect_go.ServerStream[conformance.StreamingOutputCallResponse]) error { + return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.FailStreamingOutputCall is not implemented")) } -func (UnimplementedTestServiceHandler) StreamingInputCall(context.Context, *connect_go.ClientStream[testing.StreamingInputCallRequest]) (*connect_go.Response[testing.StreamingInputCallResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.StreamingInputCall is not implemented")) +func (UnimplementedTestServiceHandler) StreamingInputCall(context.Context, *connect_go.ClientStream[conformance.StreamingInputCallRequest]) (*connect_go.Response[conformance.StreamingInputCallResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.StreamingInputCall is not implemented")) } -func (UnimplementedTestServiceHandler) FullDuplexCall(context.Context, *connect_go.BidiStream[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]) error { - return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.FullDuplexCall is not implemented")) +func (UnimplementedTestServiceHandler) FullDuplexCall(context.Context, *connect_go.BidiStream[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]) error { + return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.FullDuplexCall is not implemented")) } -func (UnimplementedTestServiceHandler) HalfDuplexCall(context.Context, *connect_go.BidiStream[testing.StreamingOutputCallRequest, testing.StreamingOutputCallResponse]) error { - return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.HalfDuplexCall is not implemented")) +func (UnimplementedTestServiceHandler) HalfDuplexCall(context.Context, *connect_go.BidiStream[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]) error { + return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.HalfDuplexCall is not implemented")) } func (UnimplementedTestServiceHandler) UnimplementedCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.UnimplementedCall is not implemented")) + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.UnimplementedCall is not implemented")) } func (UnimplementedTestServiceHandler) UnimplementedStreamingOutputCall(context.Context, *connect_go.Request[emptypb.Empty], *connect_go.ServerStream[emptypb.Empty]) error { - return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.TestService.UnimplementedStreamingOutputCall is not implemented")) + return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.TestService.UnimplementedStreamingOutputCall is not implemented")) } -// UnimplementedServiceClient is a client for the grpc.testing.UnimplementedService service. +// UnimplementedServiceClient is a client for the connectrpc.conformance.UnimplementedService +// service. type UnimplementedServiceClient interface { // A call that no server should implement UnimplementedCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) @@ -481,10 +483,11 @@ type UnimplementedServiceClient interface { UnimplementedStreamingOutputCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.ServerStreamForClient[emptypb.Empty], error) } -// NewUnimplementedServiceClient constructs a client for the grpc.testing.UnimplementedService -// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for -// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply -// the connect.WithGRPC() or connect.WithGRPCWeb() options. +// NewUnimplementedServiceClient constructs a client for the +// connectrpc.conformance.UnimplementedService service. By default, it uses the Connect protocol +// with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To +// use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() +// options. // // The URL supplied here should be the base URL for the Connect or gRPC server (for example, // http://api.acme.com or https://acme.com/grpc). @@ -510,19 +513,19 @@ type unimplementedServiceClient struct { unimplementedStreamingOutputCall *connect_go.Client[emptypb.Empty, emptypb.Empty] } -// UnimplementedCall calls grpc.testing.UnimplementedService.UnimplementedCall. +// UnimplementedCall calls connectrpc.conformance.UnimplementedService.UnimplementedCall. func (c *unimplementedServiceClient) UnimplementedCall(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { return c.unimplementedCall.CallUnary(ctx, req) } // UnimplementedStreamingOutputCall calls -// grpc.testing.UnimplementedService.UnimplementedStreamingOutputCall. +// connectrpc.conformance.UnimplementedService.UnimplementedStreamingOutputCall. func (c *unimplementedServiceClient) UnimplementedStreamingOutputCall(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.ServerStreamForClient[emptypb.Empty], error) { return c.unimplementedStreamingOutputCall.CallServerStream(ctx, req) } -// UnimplementedServiceHandler is an implementation of the grpc.testing.UnimplementedService -// service. +// UnimplementedServiceHandler is an implementation of the +// connectrpc.conformance.UnimplementedService service. type UnimplementedServiceHandler interface { // A call that no server should implement UnimplementedCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) @@ -546,7 +549,7 @@ func NewUnimplementedServiceHandler(svc UnimplementedServiceHandler, opts ...con svc.UnimplementedStreamingOutputCall, opts..., ) - return "/grpc.testing.UnimplementedService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + return "/connectrpc.conformance.UnimplementedService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case UnimplementedServiceUnimplementedCallProcedure: unimplementedServiceUnimplementedCallHandler.ServeHTTP(w, r) @@ -562,35 +565,35 @@ func NewUnimplementedServiceHandler(svc UnimplementedServiceHandler, opts ...con type UnimplementedUnimplementedServiceHandler struct{} func (UnimplementedUnimplementedServiceHandler) UnimplementedCall(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.UnimplementedService.UnimplementedCall is not implemented")) + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.UnimplementedService.UnimplementedCall is not implemented")) } func (UnimplementedUnimplementedServiceHandler) UnimplementedStreamingOutputCall(context.Context, *connect_go.Request[emptypb.Empty], *connect_go.ServerStream[emptypb.Empty]) error { - return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.UnimplementedService.UnimplementedStreamingOutputCall is not implemented")) + return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.UnimplementedService.UnimplementedStreamingOutputCall is not implemented")) } -// ReconnectServiceClient is a client for the grpc.testing.ReconnectService service. +// ReconnectServiceClient is a client for the connectrpc.conformance.ReconnectService service. type ReconnectServiceClient interface { - Start(context.Context, *connect_go.Request[testing.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) - Stop(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[testing.ReconnectInfo], error) + Start(context.Context, *connect_go.Request[conformance.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) + Stop(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[conformance.ReconnectInfo], error) } -// NewReconnectServiceClient constructs a client for the grpc.testing.ReconnectService service. By -// default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, -// and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the -// connect.WithGRPC() or connect.WithGRPCWeb() options. +// NewReconnectServiceClient constructs a client for the connectrpc.conformance.ReconnectService +// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for +// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply +// the connect.WithGRPC() or connect.WithGRPCWeb() options. // // The URL supplied here should be the base URL for the Connect or gRPC server (for example, // http://api.acme.com or https://acme.com/grpc). func NewReconnectServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) ReconnectServiceClient { baseURL = strings.TrimRight(baseURL, "/") return &reconnectServiceClient{ - start: connect_go.NewClient[testing.ReconnectParams, emptypb.Empty]( + start: connect_go.NewClient[conformance.ReconnectParams, emptypb.Empty]( httpClient, baseURL+ReconnectServiceStartProcedure, opts..., ), - stop: connect_go.NewClient[emptypb.Empty, testing.ReconnectInfo]( + stop: connect_go.NewClient[emptypb.Empty, conformance.ReconnectInfo]( httpClient, baseURL+ReconnectServiceStopProcedure, opts..., @@ -600,24 +603,25 @@ func NewReconnectServiceClient(httpClient connect_go.HTTPClient, baseURL string, // reconnectServiceClient implements ReconnectServiceClient. type reconnectServiceClient struct { - start *connect_go.Client[testing.ReconnectParams, emptypb.Empty] - stop *connect_go.Client[emptypb.Empty, testing.ReconnectInfo] + start *connect_go.Client[conformance.ReconnectParams, emptypb.Empty] + stop *connect_go.Client[emptypb.Empty, conformance.ReconnectInfo] } -// Start calls grpc.testing.ReconnectService.Start. -func (c *reconnectServiceClient) Start(ctx context.Context, req *connect_go.Request[testing.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) { +// Start calls connectrpc.conformance.ReconnectService.Start. +func (c *reconnectServiceClient) Start(ctx context.Context, req *connect_go.Request[conformance.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) { return c.start.CallUnary(ctx, req) } -// Stop calls grpc.testing.ReconnectService.Stop. -func (c *reconnectServiceClient) Stop(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[testing.ReconnectInfo], error) { +// Stop calls connectrpc.conformance.ReconnectService.Stop. +func (c *reconnectServiceClient) Stop(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[conformance.ReconnectInfo], error) { return c.stop.CallUnary(ctx, req) } -// ReconnectServiceHandler is an implementation of the grpc.testing.ReconnectService service. +// ReconnectServiceHandler is an implementation of the connectrpc.conformance.ReconnectService +// service. type ReconnectServiceHandler interface { - Start(context.Context, *connect_go.Request[testing.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) - Stop(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[testing.ReconnectInfo], error) + Start(context.Context, *connect_go.Request[conformance.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) + Stop(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[conformance.ReconnectInfo], error) } // NewReconnectServiceHandler builds an HTTP handler from the service implementation. It returns the @@ -636,7 +640,7 @@ func NewReconnectServiceHandler(svc ReconnectServiceHandler, opts ...connect_go. svc.Stop, opts..., ) - return "/grpc.testing.ReconnectService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + return "/connectrpc.conformance.ReconnectService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case ReconnectServiceStartProcedure: reconnectServiceStartHandler.ServeHTTP(w, r) @@ -651,38 +655,40 @@ func NewReconnectServiceHandler(svc ReconnectServiceHandler, opts ...connect_go. // UnimplementedReconnectServiceHandler returns CodeUnimplemented from all methods. type UnimplementedReconnectServiceHandler struct{} -func (UnimplementedReconnectServiceHandler) Start(context.Context, *connect_go.Request[testing.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.ReconnectService.Start is not implemented")) +func (UnimplementedReconnectServiceHandler) Start(context.Context, *connect_go.Request[conformance.ReconnectParams]) (*connect_go.Response[emptypb.Empty], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.ReconnectService.Start is not implemented")) } -func (UnimplementedReconnectServiceHandler) Stop(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[testing.ReconnectInfo], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.ReconnectService.Stop is not implemented")) +func (UnimplementedReconnectServiceHandler) Stop(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[conformance.ReconnectInfo], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.ReconnectService.Stop is not implemented")) } -// LoadBalancerStatsServiceClient is a client for the grpc.testing.LoadBalancerStatsService service. +// LoadBalancerStatsServiceClient is a client for the +// connectrpc.conformance.LoadBalancerStatsService service. type LoadBalancerStatsServiceClient interface { // Gets the backend distribution for RPCs sent by a test client. - GetClientStats(context.Context, *connect_go.Request[testing.LoadBalancerStatsRequest]) (*connect_go.Response[testing.LoadBalancerStatsResponse], error) + GetClientStats(context.Context, *connect_go.Request[conformance.LoadBalancerStatsRequest]) (*connect_go.Response[conformance.LoadBalancerStatsResponse], error) // Gets the accumulated stats for RPCs sent by a test client. - GetClientAccumulatedStats(context.Context, *connect_go.Request[testing.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[testing.LoadBalancerAccumulatedStatsResponse], error) + GetClientAccumulatedStats(context.Context, *connect_go.Request[conformance.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[conformance.LoadBalancerAccumulatedStatsResponse], error) } // NewLoadBalancerStatsServiceClient constructs a client for the -// grpc.testing.LoadBalancerStatsService service. By default, it uses the Connect protocol with the -// binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the -// gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options. +// connectrpc.conformance.LoadBalancerStatsService service. By default, it uses the Connect protocol +// with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To +// use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() +// options. // // The URL supplied here should be the base URL for the Connect or gRPC server (for example, // http://api.acme.com or https://acme.com/grpc). func NewLoadBalancerStatsServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) LoadBalancerStatsServiceClient { baseURL = strings.TrimRight(baseURL, "/") return &loadBalancerStatsServiceClient{ - getClientStats: connect_go.NewClient[testing.LoadBalancerStatsRequest, testing.LoadBalancerStatsResponse]( + getClientStats: connect_go.NewClient[conformance.LoadBalancerStatsRequest, conformance.LoadBalancerStatsResponse]( httpClient, baseURL+LoadBalancerStatsServiceGetClientStatsProcedure, opts..., ), - getClientAccumulatedStats: connect_go.NewClient[testing.LoadBalancerAccumulatedStatsRequest, testing.LoadBalancerAccumulatedStatsResponse]( + getClientAccumulatedStats: connect_go.NewClient[conformance.LoadBalancerAccumulatedStatsRequest, conformance.LoadBalancerAccumulatedStatsResponse]( httpClient, baseURL+LoadBalancerStatsServiceGetClientAccumulatedStatsProcedure, opts..., @@ -692,27 +698,28 @@ func NewLoadBalancerStatsServiceClient(httpClient connect_go.HTTPClient, baseURL // loadBalancerStatsServiceClient implements LoadBalancerStatsServiceClient. type loadBalancerStatsServiceClient struct { - getClientStats *connect_go.Client[testing.LoadBalancerStatsRequest, testing.LoadBalancerStatsResponse] - getClientAccumulatedStats *connect_go.Client[testing.LoadBalancerAccumulatedStatsRequest, testing.LoadBalancerAccumulatedStatsResponse] + getClientStats *connect_go.Client[conformance.LoadBalancerStatsRequest, conformance.LoadBalancerStatsResponse] + getClientAccumulatedStats *connect_go.Client[conformance.LoadBalancerAccumulatedStatsRequest, conformance.LoadBalancerAccumulatedStatsResponse] } -// GetClientStats calls grpc.testing.LoadBalancerStatsService.GetClientStats. -func (c *loadBalancerStatsServiceClient) GetClientStats(ctx context.Context, req *connect_go.Request[testing.LoadBalancerStatsRequest]) (*connect_go.Response[testing.LoadBalancerStatsResponse], error) { +// GetClientStats calls connectrpc.conformance.LoadBalancerStatsService.GetClientStats. +func (c *loadBalancerStatsServiceClient) GetClientStats(ctx context.Context, req *connect_go.Request[conformance.LoadBalancerStatsRequest]) (*connect_go.Response[conformance.LoadBalancerStatsResponse], error) { return c.getClientStats.CallUnary(ctx, req) } -// GetClientAccumulatedStats calls grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats. -func (c *loadBalancerStatsServiceClient) GetClientAccumulatedStats(ctx context.Context, req *connect_go.Request[testing.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[testing.LoadBalancerAccumulatedStatsResponse], error) { +// GetClientAccumulatedStats calls +// connectrpc.conformance.LoadBalancerStatsService.GetClientAccumulatedStats. +func (c *loadBalancerStatsServiceClient) GetClientAccumulatedStats(ctx context.Context, req *connect_go.Request[conformance.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[conformance.LoadBalancerAccumulatedStatsResponse], error) { return c.getClientAccumulatedStats.CallUnary(ctx, req) } -// LoadBalancerStatsServiceHandler is an implementation of the grpc.testing.LoadBalancerStatsService -// service. +// LoadBalancerStatsServiceHandler is an implementation of the +// connectrpc.conformance.LoadBalancerStatsService service. type LoadBalancerStatsServiceHandler interface { // Gets the backend distribution for RPCs sent by a test client. - GetClientStats(context.Context, *connect_go.Request[testing.LoadBalancerStatsRequest]) (*connect_go.Response[testing.LoadBalancerStatsResponse], error) + GetClientStats(context.Context, *connect_go.Request[conformance.LoadBalancerStatsRequest]) (*connect_go.Response[conformance.LoadBalancerStatsResponse], error) // Gets the accumulated stats for RPCs sent by a test client. - GetClientAccumulatedStats(context.Context, *connect_go.Request[testing.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[testing.LoadBalancerAccumulatedStatsResponse], error) + GetClientAccumulatedStats(context.Context, *connect_go.Request[conformance.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[conformance.LoadBalancerAccumulatedStatsResponse], error) } // NewLoadBalancerStatsServiceHandler builds an HTTP handler from the service implementation. It @@ -731,7 +738,7 @@ func NewLoadBalancerStatsServiceHandler(svc LoadBalancerStatsServiceHandler, opt svc.GetClientAccumulatedStats, opts..., ) - return "/grpc.testing.LoadBalancerStatsService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + return "/connectrpc.conformance.LoadBalancerStatsService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case LoadBalancerStatsServiceGetClientStatsProcedure: loadBalancerStatsServiceGetClientStatsHandler.ServeHTTP(w, r) @@ -746,24 +753,26 @@ func NewLoadBalancerStatsServiceHandler(svc LoadBalancerStatsServiceHandler, opt // UnimplementedLoadBalancerStatsServiceHandler returns CodeUnimplemented from all methods. type UnimplementedLoadBalancerStatsServiceHandler struct{} -func (UnimplementedLoadBalancerStatsServiceHandler) GetClientStats(context.Context, *connect_go.Request[testing.LoadBalancerStatsRequest]) (*connect_go.Response[testing.LoadBalancerStatsResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.LoadBalancerStatsService.GetClientStats is not implemented")) +func (UnimplementedLoadBalancerStatsServiceHandler) GetClientStats(context.Context, *connect_go.Request[conformance.LoadBalancerStatsRequest]) (*connect_go.Response[conformance.LoadBalancerStatsResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.LoadBalancerStatsService.GetClientStats is not implemented")) } -func (UnimplementedLoadBalancerStatsServiceHandler) GetClientAccumulatedStats(context.Context, *connect_go.Request[testing.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[testing.LoadBalancerAccumulatedStatsResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats is not implemented")) +func (UnimplementedLoadBalancerStatsServiceHandler) GetClientAccumulatedStats(context.Context, *connect_go.Request[conformance.LoadBalancerAccumulatedStatsRequest]) (*connect_go.Response[conformance.LoadBalancerAccumulatedStatsResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.LoadBalancerStatsService.GetClientAccumulatedStats is not implemented")) } -// XdsUpdateHealthServiceClient is a client for the grpc.testing.XdsUpdateHealthService service. +// XdsUpdateHealthServiceClient is a client for the connectrpc.conformance.XdsUpdateHealthService +// service. type XdsUpdateHealthServiceClient interface { SetServing(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) SetNotServing(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) } -// NewXdsUpdateHealthServiceClient constructs a client for the grpc.testing.XdsUpdateHealthService -// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for -// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply -// the connect.WithGRPC() or connect.WithGRPCWeb() options. +// NewXdsUpdateHealthServiceClient constructs a client for the +// connectrpc.conformance.XdsUpdateHealthService service. By default, it uses the Connect protocol +// with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To +// use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() +// options. // // The URL supplied here should be the base URL for the Connect or gRPC server (for example, // http://api.acme.com or https://acme.com/grpc). @@ -789,18 +798,18 @@ type xdsUpdateHealthServiceClient struct { setNotServing *connect_go.Client[emptypb.Empty, emptypb.Empty] } -// SetServing calls grpc.testing.XdsUpdateHealthService.SetServing. +// SetServing calls connectrpc.conformance.XdsUpdateHealthService.SetServing. func (c *xdsUpdateHealthServiceClient) SetServing(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { return c.setServing.CallUnary(ctx, req) } -// SetNotServing calls grpc.testing.XdsUpdateHealthService.SetNotServing. +// SetNotServing calls connectrpc.conformance.XdsUpdateHealthService.SetNotServing. func (c *xdsUpdateHealthServiceClient) SetNotServing(ctx context.Context, req *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { return c.setNotServing.CallUnary(ctx, req) } -// XdsUpdateHealthServiceHandler is an implementation of the grpc.testing.XdsUpdateHealthService -// service. +// XdsUpdateHealthServiceHandler is an implementation of the +// connectrpc.conformance.XdsUpdateHealthService service. type XdsUpdateHealthServiceHandler interface { SetServing(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) SetNotServing(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) @@ -822,7 +831,7 @@ func NewXdsUpdateHealthServiceHandler(svc XdsUpdateHealthServiceHandler, opts .. svc.SetNotServing, opts..., ) - return "/grpc.testing.XdsUpdateHealthService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + return "/connectrpc.conformance.XdsUpdateHealthService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case XdsUpdateHealthServiceSetServingProcedure: xdsUpdateHealthServiceSetServingHandler.ServeHTTP(w, r) @@ -838,32 +847,32 @@ func NewXdsUpdateHealthServiceHandler(svc XdsUpdateHealthServiceHandler, opts .. type UnimplementedXdsUpdateHealthServiceHandler struct{} func (UnimplementedXdsUpdateHealthServiceHandler) SetServing(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.XdsUpdateHealthService.SetServing is not implemented")) + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.XdsUpdateHealthService.SetServing is not implemented")) } func (UnimplementedXdsUpdateHealthServiceHandler) SetNotServing(context.Context, *connect_go.Request[emptypb.Empty]) (*connect_go.Response[emptypb.Empty], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.XdsUpdateHealthService.SetNotServing is not implemented")) + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.XdsUpdateHealthService.SetNotServing is not implemented")) } // XdsUpdateClientConfigureServiceClient is a client for the -// grpc.testing.XdsUpdateClientConfigureService service. +// connectrpc.conformance.XdsUpdateClientConfigureService service. type XdsUpdateClientConfigureServiceClient interface { // Update the tes client's configuration. - Configure(context.Context, *connect_go.Request[testing.ClientConfigureRequest]) (*connect_go.Response[testing.ClientConfigureResponse], error) + Configure(context.Context, *connect_go.Request[conformance.ClientConfigureRequest]) (*connect_go.Response[conformance.ClientConfigureResponse], error) } // NewXdsUpdateClientConfigureServiceClient constructs a client for the -// grpc.testing.XdsUpdateClientConfigureService service. By default, it uses the Connect protocol -// with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To -// use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() -// options. +// connectrpc.conformance.XdsUpdateClientConfigureService service. By default, it uses the Connect +// protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed +// requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or +// connect.WithGRPCWeb() options. // // The URL supplied here should be the base URL for the Connect or gRPC server (for example, // http://api.acme.com or https://acme.com/grpc). func NewXdsUpdateClientConfigureServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) XdsUpdateClientConfigureServiceClient { baseURL = strings.TrimRight(baseURL, "/") return &xdsUpdateClientConfigureServiceClient{ - configure: connect_go.NewClient[testing.ClientConfigureRequest, testing.ClientConfigureResponse]( + configure: connect_go.NewClient[conformance.ClientConfigureRequest, conformance.ClientConfigureResponse]( httpClient, baseURL+XdsUpdateClientConfigureServiceConfigureProcedure, opts..., @@ -873,19 +882,19 @@ func NewXdsUpdateClientConfigureServiceClient(httpClient connect_go.HTTPClient, // xdsUpdateClientConfigureServiceClient implements XdsUpdateClientConfigureServiceClient. type xdsUpdateClientConfigureServiceClient struct { - configure *connect_go.Client[testing.ClientConfigureRequest, testing.ClientConfigureResponse] + configure *connect_go.Client[conformance.ClientConfigureRequest, conformance.ClientConfigureResponse] } -// Configure calls grpc.testing.XdsUpdateClientConfigureService.Configure. -func (c *xdsUpdateClientConfigureServiceClient) Configure(ctx context.Context, req *connect_go.Request[testing.ClientConfigureRequest]) (*connect_go.Response[testing.ClientConfigureResponse], error) { +// Configure calls connectrpc.conformance.XdsUpdateClientConfigureService.Configure. +func (c *xdsUpdateClientConfigureServiceClient) Configure(ctx context.Context, req *connect_go.Request[conformance.ClientConfigureRequest]) (*connect_go.Response[conformance.ClientConfigureResponse], error) { return c.configure.CallUnary(ctx, req) } // XdsUpdateClientConfigureServiceHandler is an implementation of the -// grpc.testing.XdsUpdateClientConfigureService service. +// connectrpc.conformance.XdsUpdateClientConfigureService service. type XdsUpdateClientConfigureServiceHandler interface { // Update the tes client's configuration. - Configure(context.Context, *connect_go.Request[testing.ClientConfigureRequest]) (*connect_go.Response[testing.ClientConfigureResponse], error) + Configure(context.Context, *connect_go.Request[conformance.ClientConfigureRequest]) (*connect_go.Response[conformance.ClientConfigureResponse], error) } // NewXdsUpdateClientConfigureServiceHandler builds an HTTP handler from the service implementation. @@ -899,7 +908,7 @@ func NewXdsUpdateClientConfigureServiceHandler(svc XdsUpdateClientConfigureServi svc.Configure, opts..., ) - return "/grpc.testing.XdsUpdateClientConfigureService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + return "/connectrpc.conformance.XdsUpdateClientConfigureService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { switch r.URL.Path { case XdsUpdateClientConfigureServiceConfigureProcedure: xdsUpdateClientConfigureServiceConfigureHandler.ServeHTTP(w, r) @@ -912,6 +921,6 @@ func NewXdsUpdateClientConfigureServiceHandler(svc XdsUpdateClientConfigureServi // UnimplementedXdsUpdateClientConfigureServiceHandler returns CodeUnimplemented from all methods. type UnimplementedXdsUpdateClientConfigureServiceHandler struct{} -func (UnimplementedXdsUpdateClientConfigureServiceHandler) Configure(context.Context, *connect_go.Request[testing.ClientConfigureRequest]) (*connect_go.Response[testing.ClientConfigureResponse], error) { - return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("grpc.testing.XdsUpdateClientConfigureService.Configure is not implemented")) +func (UnimplementedXdsUpdateClientConfigureServiceHandler) Configure(context.Context, *connect_go.Request[conformance.ClientConfigureRequest]) (*connect_go.Response[conformance.ClientConfigureResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("connectrpc.conformance.XdsUpdateClientConfigureService.Configure is not implemented")) } diff --git a/internal/gen/proto/go/grpc/testing/messages.pb.go b/internal/gen/proto/go/connectrpc/conformance/messages.pb.go similarity index 54% rename from internal/gen/proto/go/grpc/testing/messages.pb.go rename to internal/gen/proto/go/connectrpc/conformance/messages.pb.go index f0b5452a..a7a1e22a 100644 --- a/internal/gen/proto/go/grpc/testing/messages.pb.go +++ b/internal/gen/proto/go/connectrpc/conformance/messages.pb.go @@ -34,9 +34,9 @@ // versions: // protoc-gen-go v1.28.1 // protoc (unknown) -// source: grpc/testing/messages.proto +// source: connectrpc/conformance/messages.proto -package testing +package conformance import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -83,11 +83,11 @@ func (x PayloadType) String() string { } func (PayloadType) Descriptor() protoreflect.EnumDescriptor { - return file_grpc_testing_messages_proto_enumTypes[0].Descriptor() + return file_connectrpc_conformance_messages_proto_enumTypes[0].Descriptor() } func (PayloadType) Type() protoreflect.EnumType { - return &file_grpc_testing_messages_proto_enumTypes[0] + return &file_connectrpc_conformance_messages_proto_enumTypes[0] } func (x PayloadType) Number() protoreflect.EnumNumber { @@ -96,7 +96,7 @@ func (x PayloadType) Number() protoreflect.EnumNumber { // Deprecated: Use PayloadType.Descriptor instead. func (PayloadType) EnumDescriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{0} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{0} } // The type of route that a client took to reach a server w.r.t. gRPCLB. @@ -141,11 +141,11 @@ func (x GrpclbRouteType) String() string { } func (GrpclbRouteType) Descriptor() protoreflect.EnumDescriptor { - return file_grpc_testing_messages_proto_enumTypes[1].Descriptor() + return file_connectrpc_conformance_messages_proto_enumTypes[1].Descriptor() } func (GrpclbRouteType) Type() protoreflect.EnumType { - return &file_grpc_testing_messages_proto_enumTypes[1] + return &file_connectrpc_conformance_messages_proto_enumTypes[1] } func (x GrpclbRouteType) Number() protoreflect.EnumNumber { @@ -154,7 +154,7 @@ func (x GrpclbRouteType) Number() protoreflect.EnumNumber { // Deprecated: Use GrpclbRouteType.Descriptor instead. func (GrpclbRouteType) EnumDescriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{1} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{1} } // Type of RPCs to send. @@ -188,11 +188,11 @@ func (x ClientConfigureRequest_RpcType) String() string { } func (ClientConfigureRequest_RpcType) Descriptor() protoreflect.EnumDescriptor { - return file_grpc_testing_messages_proto_enumTypes[2].Descriptor() + return file_connectrpc_conformance_messages_proto_enumTypes[2].Descriptor() } func (ClientConfigureRequest_RpcType) Type() protoreflect.EnumType { - return &file_grpc_testing_messages_proto_enumTypes[2] + return &file_connectrpc_conformance_messages_proto_enumTypes[2] } func (x ClientConfigureRequest_RpcType) Number() protoreflect.EnumNumber { @@ -201,7 +201,7 @@ func (x ClientConfigureRequest_RpcType) Number() protoreflect.EnumNumber { // Deprecated: Use ClientConfigureRequest_RpcType.Descriptor instead. func (ClientConfigureRequest_RpcType) EnumDescriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{15, 0} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{15, 0} } // A block of data, to simply increase gRPC message size. @@ -211,7 +211,7 @@ type Payload struct { unknownFields protoimpl.UnknownFields // The type of data in body. - Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.PayloadType" json:"type,omitempty"` + Type PayloadType `protobuf:"varint,1,opt,name=type,proto3,enum=connectrpc.conformance.PayloadType" json:"type,omitempty"` // Primary contents of payload. Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` } @@ -219,7 +219,7 @@ type Payload struct { func (x *Payload) Reset() { *x = Payload{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[0] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -232,7 +232,7 @@ func (x *Payload) String() string { func (*Payload) ProtoMessage() {} func (x *Payload) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[0] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -245,7 +245,7 @@ func (x *Payload) ProtoReflect() protoreflect.Message { // Deprecated: Use Payload.ProtoReflect.Descriptor instead. func (*Payload) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{0} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{0} } func (x *Payload) GetType() PayloadType { @@ -276,7 +276,7 @@ type EchoStatus struct { func (x *EchoStatus) Reset() { *x = EchoStatus{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[1] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -289,7 +289,7 @@ func (x *EchoStatus) String() string { func (*EchoStatus) ProtoMessage() {} func (x *EchoStatus) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[1] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -302,7 +302,7 @@ func (x *EchoStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use EchoStatus.ProtoReflect.Descriptor instead. func (*EchoStatus) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{1} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{1} } func (x *EchoStatus) GetCode() int32 { @@ -327,7 +327,7 @@ type SimpleRequest struct { // Desired payload type in the response from the server. // If response_type is RANDOM, server randomly chooses one from other formats. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` + ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=connectrpc.conformance.PayloadType" json:"response_type,omitempty"` // Desired payload size in the response from the server. ResponseSize int32 `protobuf:"varint,2,opt,name=response_size,json=responseSize,proto3" json:"response_size,omitempty"` // Optional input payload sent along with the request. @@ -354,7 +354,7 @@ type SimpleRequest struct { func (x *SimpleRequest) Reset() { *x = SimpleRequest{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[2] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -367,7 +367,7 @@ func (x *SimpleRequest) String() string { func (*SimpleRequest) ProtoMessage() {} func (x *SimpleRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[2] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -380,7 +380,7 @@ func (x *SimpleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SimpleRequest.ProtoReflect.Descriptor instead. func (*SimpleRequest) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{2} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{2} } func (x *SimpleRequest) GetResponseType() PayloadType { @@ -470,7 +470,7 @@ type SimpleResponse struct { // but the same across all RPC's made to a particular server instance. ServerId string `protobuf:"bytes,4,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // gRPCLB Path. - GrpclbRouteType GrpclbRouteType `protobuf:"varint,5,opt,name=grpclb_route_type,json=grpclbRouteType,proto3,enum=grpc.testing.GrpclbRouteType" json:"grpclb_route_type,omitempty"` + GrpclbRouteType GrpclbRouteType `protobuf:"varint,5,opt,name=grpclb_route_type,json=grpclbRouteType,proto3,enum=connectrpc.conformance.GrpclbRouteType" json:"grpclb_route_type,omitempty"` // Server hostname. Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"` } @@ -478,7 +478,7 @@ type SimpleResponse struct { func (x *SimpleResponse) Reset() { *x = SimpleResponse{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[3] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -491,7 +491,7 @@ func (x *SimpleResponse) String() string { func (*SimpleResponse) ProtoMessage() {} func (x *SimpleResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[3] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -504,7 +504,7 @@ func (x *SimpleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SimpleResponse.ProtoReflect.Descriptor instead. func (*SimpleResponse) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{3} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{3} } func (x *SimpleResponse) GetPayload() *Payload { @@ -567,7 +567,7 @@ type StreamingInputCallRequest struct { func (x *StreamingInputCallRequest) Reset() { *x = StreamingInputCallRequest{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[4] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -580,7 +580,7 @@ func (x *StreamingInputCallRequest) String() string { func (*StreamingInputCallRequest) ProtoMessage() {} func (x *StreamingInputCallRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[4] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -593,7 +593,7 @@ func (x *StreamingInputCallRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamingInputCallRequest.ProtoReflect.Descriptor instead. func (*StreamingInputCallRequest) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{4} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{4} } func (x *StreamingInputCallRequest) GetPayload() *Payload { @@ -623,7 +623,7 @@ type StreamingInputCallResponse struct { func (x *StreamingInputCallResponse) Reset() { *x = StreamingInputCallResponse{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[5] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -636,7 +636,7 @@ func (x *StreamingInputCallResponse) String() string { func (*StreamingInputCallResponse) ProtoMessage() {} func (x *StreamingInputCallResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[5] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -649,7 +649,7 @@ func (x *StreamingInputCallResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamingInputCallResponse.ProtoReflect.Descriptor instead. func (*StreamingInputCallResponse) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{5} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{5} } func (x *StreamingInputCallResponse) GetAggregatedPayloadSize() int32 { @@ -680,7 +680,7 @@ type ResponseParameters struct { func (x *ResponseParameters) Reset() { *x = ResponseParameters{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[6] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -693,7 +693,7 @@ func (x *ResponseParameters) String() string { func (*ResponseParameters) ProtoMessage() {} func (x *ResponseParameters) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[6] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -706,7 +706,7 @@ func (x *ResponseParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ResponseParameters.ProtoReflect.Descriptor instead. func (*ResponseParameters) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{6} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{6} } func (x *ResponseParameters) GetSize() int32 { @@ -740,7 +740,7 @@ type StreamingOutputCallRequest struct { // If response_type is RANDOM, the payload from each response in the stream // might be of different types. This is to simulate a mixed type of payload // stream. - ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=grpc.testing.PayloadType" json:"response_type,omitempty"` + ResponseType PayloadType `protobuf:"varint,1,opt,name=response_type,json=responseType,proto3,enum=connectrpc.conformance.PayloadType" json:"response_type,omitempty"` // Configuration for each expected response message. ResponseParameters []*ResponseParameters `protobuf:"bytes,2,rep,name=response_parameters,json=responseParameters,proto3" json:"response_parameters,omitempty"` // Optional input payload sent along with the request. @@ -752,7 +752,7 @@ type StreamingOutputCallRequest struct { func (x *StreamingOutputCallRequest) Reset() { *x = StreamingOutputCallRequest{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[7] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -765,7 +765,7 @@ func (x *StreamingOutputCallRequest) String() string { func (*StreamingOutputCallRequest) ProtoMessage() {} func (x *StreamingOutputCallRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[7] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -778,7 +778,7 @@ func (x *StreamingOutputCallRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamingOutputCallRequest.ProtoReflect.Descriptor instead. func (*StreamingOutputCallRequest) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{7} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{7} } func (x *StreamingOutputCallRequest) GetResponseType() PayloadType { @@ -822,7 +822,7 @@ type StreamingOutputCallResponse struct { func (x *StreamingOutputCallResponse) Reset() { *x = StreamingOutputCallResponse{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[8] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -835,7 +835,7 @@ func (x *StreamingOutputCallResponse) String() string { func (*StreamingOutputCallResponse) ProtoMessage() {} func (x *StreamingOutputCallResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[8] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -848,7 +848,7 @@ func (x *StreamingOutputCallResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamingOutputCallResponse.ProtoReflect.Descriptor instead. func (*StreamingOutputCallResponse) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{8} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{8} } func (x *StreamingOutputCallResponse) GetPayload() *Payload { @@ -871,7 +871,7 @@ type ReconnectParams struct { func (x *ReconnectParams) Reset() { *x = ReconnectParams{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[9] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -884,7 +884,7 @@ func (x *ReconnectParams) String() string { func (*ReconnectParams) ProtoMessage() {} func (x *ReconnectParams) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[9] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -897,7 +897,7 @@ func (x *ReconnectParams) ProtoReflect() protoreflect.Message { // Deprecated: Use ReconnectParams.ProtoReflect.Descriptor instead. func (*ReconnectParams) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{9} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{9} } func (x *ReconnectParams) GetMaxReconnectBackoffMs() int32 { @@ -922,7 +922,7 @@ type ReconnectInfo struct { func (x *ReconnectInfo) Reset() { *x = ReconnectInfo{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[10] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -935,7 +935,7 @@ func (x *ReconnectInfo) String() string { func (*ReconnectInfo) ProtoMessage() {} func (x *ReconnectInfo) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[10] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -948,7 +948,7 @@ func (x *ReconnectInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ReconnectInfo.ProtoReflect.Descriptor instead. func (*ReconnectInfo) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{10} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{10} } func (x *ReconnectInfo) GetPassed() bool { @@ -979,7 +979,7 @@ type LoadBalancerStatsRequest struct { func (x *LoadBalancerStatsRequest) Reset() { *x = LoadBalancerStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[11] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -992,7 +992,7 @@ func (x *LoadBalancerStatsRequest) String() string { func (*LoadBalancerStatsRequest) ProtoMessage() {} func (x *LoadBalancerStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[11] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1005,7 +1005,7 @@ func (x *LoadBalancerStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LoadBalancerStatsRequest.ProtoReflect.Descriptor instead. func (*LoadBalancerStatsRequest) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{11} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{11} } func (x *LoadBalancerStatsRequest) GetNumRpcs() int32 { @@ -1037,7 +1037,7 @@ type LoadBalancerStatsResponse struct { func (x *LoadBalancerStatsResponse) Reset() { *x = LoadBalancerStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[12] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1050,7 +1050,7 @@ func (x *LoadBalancerStatsResponse) String() string { func (*LoadBalancerStatsResponse) ProtoMessage() {} func (x *LoadBalancerStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[12] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1063,7 +1063,7 @@ func (x *LoadBalancerStatsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LoadBalancerStatsResponse.ProtoReflect.Descriptor instead. func (*LoadBalancerStatsResponse) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{12} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{12} } func (x *LoadBalancerStatsResponse) GetRpcsByPeer() map[string]int32 { @@ -1097,7 +1097,7 @@ type LoadBalancerAccumulatedStatsRequest struct { func (x *LoadBalancerAccumulatedStatsRequest) Reset() { *x = LoadBalancerAccumulatedStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[13] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1110,7 +1110,7 @@ func (x *LoadBalancerAccumulatedStatsRequest) String() string { func (*LoadBalancerAccumulatedStatsRequest) ProtoMessage() {} func (x *LoadBalancerAccumulatedStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[13] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1123,7 +1123,7 @@ func (x *LoadBalancerAccumulatedStatsRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use LoadBalancerAccumulatedStatsRequest.ProtoReflect.Descriptor instead. func (*LoadBalancerAccumulatedStatsRequest) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{13} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{13} } // Accumulated stats for RPCs sent by a test client. @@ -1155,7 +1155,7 @@ type LoadBalancerAccumulatedStatsResponse struct { func (x *LoadBalancerAccumulatedStatsResponse) Reset() { *x = LoadBalancerAccumulatedStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[14] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1168,7 +1168,7 @@ func (x *LoadBalancerAccumulatedStatsResponse) String() string { func (*LoadBalancerAccumulatedStatsResponse) ProtoMessage() {} func (x *LoadBalancerAccumulatedStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[14] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1181,7 +1181,7 @@ func (x *LoadBalancerAccumulatedStatsResponse) ProtoReflect() protoreflect.Messa // Deprecated: Use LoadBalancerAccumulatedStatsResponse.ProtoReflect.Descriptor instead. func (*LoadBalancerAccumulatedStatsResponse) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{14} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{14} } // Deprecated: Do not use. @@ -1222,7 +1222,7 @@ type ClientConfigureRequest struct { unknownFields protoimpl.UnknownFields // The types of RPCs the client sends. - Types []ClientConfigureRequest_RpcType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=grpc.testing.ClientConfigureRequest_RpcType" json:"types,omitempty"` + Types []ClientConfigureRequest_RpcType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=connectrpc.conformance.ClientConfigureRequest_RpcType" json:"types,omitempty"` // The collection of custom metadata to be attached to RPCs sent by the client. Metadata []*ClientConfigureRequest_Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` // The deadline to use, in seconds, for all RPCs. If unset or zero, the @@ -1233,7 +1233,7 @@ type ClientConfigureRequest struct { func (x *ClientConfigureRequest) Reset() { *x = ClientConfigureRequest{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[15] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1246,7 +1246,7 @@ func (x *ClientConfigureRequest) String() string { func (*ClientConfigureRequest) ProtoMessage() {} func (x *ClientConfigureRequest) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[15] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1259,7 +1259,7 @@ func (x *ClientConfigureRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientConfigureRequest.ProtoReflect.Descriptor instead. func (*ClientConfigureRequest) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{15} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{15} } func (x *ClientConfigureRequest) GetTypes() []ClientConfigureRequest_RpcType { @@ -1293,7 +1293,7 @@ type ClientConfigureResponse struct { func (x *ClientConfigureResponse) Reset() { *x = ClientConfigureResponse{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[16] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1306,7 +1306,7 @@ func (x *ClientConfigureResponse) String() string { func (*ClientConfigureResponse) ProtoMessage() {} func (x *ClientConfigureResponse) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[16] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1319,7 +1319,7 @@ func (x *ClientConfigureResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientConfigureResponse.ProtoReflect.Descriptor instead. func (*ClientConfigureResponse) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{16} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{16} } type ErrorDetail struct { @@ -1334,7 +1334,7 @@ type ErrorDetail struct { func (x *ErrorDetail) Reset() { *x = ErrorDetail{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[17] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1347,7 +1347,7 @@ func (x *ErrorDetail) String() string { func (*ErrorDetail) ProtoMessage() {} func (x *ErrorDetail) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[17] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1360,7 +1360,7 @@ func (x *ErrorDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead. func (*ErrorDetail) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{17} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{17} } func (x *ErrorDetail) GetReason() string { @@ -1390,7 +1390,7 @@ type ErrorStatus struct { func (x *ErrorStatus) Reset() { *x = ErrorStatus{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[18] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1403,7 +1403,7 @@ func (x *ErrorStatus) String() string { func (*ErrorStatus) ProtoMessage() {} func (x *ErrorStatus) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[18] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1416,7 +1416,7 @@ func (x *ErrorStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead. func (*ErrorStatus) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{18} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{18} } func (x *ErrorStatus) GetCode() int32 { @@ -1452,7 +1452,7 @@ type LoadBalancerStatsResponse_RpcsByPeer struct { func (x *LoadBalancerStatsResponse_RpcsByPeer) Reset() { *x = LoadBalancerStatsResponse_RpcsByPeer{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[19] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1465,7 +1465,7 @@ func (x *LoadBalancerStatsResponse_RpcsByPeer) String() string { func (*LoadBalancerStatsResponse_RpcsByPeer) ProtoMessage() {} func (x *LoadBalancerStatsResponse_RpcsByPeer) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[19] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1478,7 +1478,7 @@ func (x *LoadBalancerStatsResponse_RpcsByPeer) ProtoReflect() protoreflect.Messa // Deprecated: Use LoadBalancerStatsResponse_RpcsByPeer.ProtoReflect.Descriptor instead. func (*LoadBalancerStatsResponse_RpcsByPeer) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{12, 0} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{12, 0} } func (x *LoadBalancerStatsResponse_RpcsByPeer) GetRpcsByPeer() map[string]int32 { @@ -1503,7 +1503,7 @@ type LoadBalancerAccumulatedStatsResponse_MethodStats struct { func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) Reset() { *x = LoadBalancerAccumulatedStatsResponse_MethodStats{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[26] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1516,7 +1516,7 @@ func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) String() string { func (*LoadBalancerAccumulatedStatsResponse_MethodStats) ProtoMessage() {} func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[26] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1529,7 +1529,7 @@ func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) ProtoReflect() protor // Deprecated: Use LoadBalancerAccumulatedStatsResponse_MethodStats.ProtoReflect.Descriptor instead. func (*LoadBalancerAccumulatedStatsResponse_MethodStats) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{14, 3} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{14, 3} } func (x *LoadBalancerAccumulatedStatsResponse_MethodStats) GetRpcsStarted() int32 { @@ -1552,7 +1552,7 @@ type ClientConfigureRequest_Metadata struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type ClientConfigureRequest_RpcType `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.testing.ClientConfigureRequest_RpcType" json:"type,omitempty"` + Type ClientConfigureRequest_RpcType `protobuf:"varint,1,opt,name=type,proto3,enum=connectrpc.conformance.ClientConfigureRequest_RpcType" json:"type,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` } @@ -1560,7 +1560,7 @@ type ClientConfigureRequest_Metadata struct { func (x *ClientConfigureRequest_Metadata) Reset() { *x = ClientConfigureRequest_Metadata{} if protoimpl.UnsafeEnabled { - mi := &file_grpc_testing_messages_proto_msgTypes[29] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1573,7 +1573,7 @@ func (x *ClientConfigureRequest_Metadata) String() string { func (*ClientConfigureRequest_Metadata) ProtoMessage() {} func (x *ClientConfigureRequest_Metadata) ProtoReflect() protoreflect.Message { - mi := &file_grpc_testing_messages_proto_msgTypes[29] + mi := &file_connectrpc_conformance_messages_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1586,7 +1586,7 @@ func (x *ClientConfigureRequest_Metadata) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientConfigureRequest_Metadata.ProtoReflect.Descriptor instead. func (*ClientConfigureRequest_Metadata) Descriptor() ([]byte, []int) { - return file_grpc_testing_messages_proto_rawDescGZIP(), []int{15, 0} + return file_connectrpc_conformance_messages_proto_rawDescGZIP(), []int{15, 0} } func (x *ClientConfigureRequest_Metadata) GetType() ClientConfigureRequest_RpcType { @@ -1610,391 +1610,412 @@ func (x *ClientConfigureRequest_Metadata) GetValue() string { return "" } -var File_grpc_testing_messages_proto protoreflect.FileDescriptor - -var file_grpc_testing_messages_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x19, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x62, 0x6f, 0x64, 0x79, 0x22, 0x3a, 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0xa8, 0x04, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, - 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x6c, - 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0c, 0x66, 0x69, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, - 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x4f, 0x61, 0x75, - 0x74, 0x68, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, - 0x73, 0x73, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x63, 0x68, - 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x65, 0x63, - 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, - 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, - 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x67, - 0x72, 0x70, 0x63, 0x6c, 0x62, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x66, 0x69, 0x6c, 0x6c, 0x47, 0x72, 0x70, 0x63, - 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x82, 0x02, 0x0a, 0x0e, - 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, - 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, - 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x11, 0x67, 0x72, 0x70, - 0x63, 0x6c, 0x62, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, +var File_connectrpc_conformance_messages_proto protoreflect.FileDescriptor + +var file_connectrpc_conformance_messages_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x1a, + 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, + 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x07, 0x50, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, + 0x64, 0x79, 0x22, 0x3a, 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xc6, + 0x04, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x48, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, + 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x39, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, + 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, + 0x6c, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x4f, + 0x61, 0x75, 0x74, 0x68, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x13, 0x72, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x70, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, + 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x65, 0x78, 0x70, 0x65, + 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0e, + 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x33, 0x0a, 0x16, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x6c, + 0x62, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x13, 0x66, 0x69, 0x6c, 0x6c, 0x47, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, + 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x96, 0x02, 0x0a, 0x0e, 0x53, 0x69, 0x6d, 0x70, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x70, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x53, 0x63, 0x6f, + 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x53, 0x0a, 0x11, 0x67, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x95, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, - 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, + 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, - 0x47, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, - 0x73, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x43, 0x6f, - 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x22, 0x54, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x85, - 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x55, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x6f, - 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x22, 0xa3, 0x02, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x51, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x52, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x41, 0x0a, 0x0f, 0x72, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4e, 0x0a, 0x1b, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, - 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x70, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x4a, 0x0a, 0x0f, - 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, - 0x37, 0x0a, 0x18, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x42, - 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x4d, 0x73, 0x22, 0x46, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, - 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x6d, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x4d, 0x73, - 0x22, 0x56, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, - 0x6e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x22, 0xe2, 0x04, 0x0a, 0x19, 0x4c, 0x6f, 0x61, - 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x62, - 0x79, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, - 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, - 0x75, 0x72, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x62, 0x79, 0x5f, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, - 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, + 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x47, 0x0a, 0x11, 0x65, 0x78, 0x70, + 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x10, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x64, 0x22, 0x54, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, + 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x36, 0x0a, 0x17, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x15, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x50, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, + 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x55, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, + 0x22, 0xcb, 0x02, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x48, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, + 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5b, 0x0a, 0x13, 0x72, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x52, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, + 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x4b, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x58, + 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, + 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x4a, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x6d, + 0x61, 0x78, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x62, 0x61, 0x63, + 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x6d, + 0x61, 0x78, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x6f, + 0x66, 0x66, 0x4d, 0x73, 0x22, 0x46, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x05, 0x52, 0x09, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x4d, 0x73, 0x22, 0x56, 0x0a, 0x18, + 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x5f, + 0x72, 0x70, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x52, + 0x70, 0x63, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, + 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x53, 0x65, 0x63, 0x22, 0x8a, 0x05, 0x0a, 0x19, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x65, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, + 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, + 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x70, 0x63, + 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, + 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x69, 0x0a, 0x0e, 0x72, 0x70, + 0x63, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x42, 0x79, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x1a, 0xb1, 0x01, 0x0a, 0x0a, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, - 0x50, 0x65, 0x65, 0x72, 0x12, 0x64, 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x62, 0x79, 0x5f, - 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x2e, 0x52, - 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, - 0x72, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x1a, 0x3d, 0x0a, 0x0f, 0x52, 0x70, - 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x52, 0x70, 0x63, - 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x73, 0x0a, 0x11, 0x52, 0x70, 0x63, 0x73, - 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x48, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, - 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, - 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x25, 0x0a, - 0x23, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, - 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x86, 0x09, 0x0a, 0x24, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8e, 0x01, - 0x0a, 0x1a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, - 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x74, - 0x61, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, 0x6e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x94, - 0x01, 0x0a, 0x1c, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, - 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x1a, 0xbb, 0x01, 0x0a, 0x0a, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, + 0x50, 0x65, 0x65, 0x72, 0x12, 0x6e, 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x62, 0x79, 0x5f, + 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, + 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x2e, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, + 0x65, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x73, 0x42, 0x79, + 0x50, 0x65, 0x65, 0x72, 0x1a, 0x3d, 0x0a, 0x0f, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, + 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x50, 0x65, 0x65, + 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x7d, 0x0a, 0x11, 0x52, 0x70, 0x63, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x52, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, + 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x70, 0x63, 0x73, + 0x42, 0x79, 0x50, 0x65, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x25, 0x0a, 0x23, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, - 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x18, 0x6e, 0x75, 0x6d, - 0x52, 0x70, 0x63, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x42, 0x79, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x19, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, - 0x63, 0x73, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x75, - 0x6d, 0x52, 0x70, 0x63, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x15, 0x6e, 0x75, - 0x6d, 0x52, 0x70, 0x63, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x12, 0x70, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, - 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc2, 0x09, 0x0a, 0x24, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x1a, 0x49, 0x0a, 0x1b, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, - 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x4b, 0x0a, 0x1d, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, - 0x65, 0x64, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a, - 0x1a, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x79, - 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xcf, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x68, - 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x5f, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, - 0x70, 0x63, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x1a, 0x39, - 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x81, 0x01, 0x0a, 0x13, 0x53, 0x74, + 0x65, 0x12, 0x98, 0x01, 0x0a, 0x1a, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, + 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, + 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, 0x6e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x9e, 0x01, 0x0a, + 0x1c, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, + 0x64, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, + 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, + 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, + 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x18, 0x6e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x65, 0x64, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x95, 0x01, + 0x0a, 0x19, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, + 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x57, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, + 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x15, + 0x6e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x7a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x70, + 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x50, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x54, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, + 0x79, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x1a, 0x49, 0x0a, 0x1b, 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x1d, + 0x4e, 0x75, 0x6d, 0x52, 0x70, 0x63, 0x73, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, + 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x48, 0x0a, 0x1a, 0x4e, 0x75, 0x6d, + 0x52, 0x70, 0x63, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0xd9, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x70, 0x63, 0x73, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x6c, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, + 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, + 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x8b, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5e, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, + 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe9, 0x02, + 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x87, 0x03, 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x70, - 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x6f, - 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x1a, 0x74, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x29, - 0x0a, 0x07, 0x52, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4d, 0x50, - 0x54, 0x59, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x41, - 0x52, 0x59, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, - 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, - 0x61, 0x69, 0x6e, 0x22, 0x6b, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x2a, 0x1f, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, - 0x00, 0x2a, 0x6f, 0x0a, 0x0f, 0x47, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, - 0x4f, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, - 0x4e, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, - 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, - 0x4b, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, - 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x45, 0x4e, 0x44, - 0x10, 0x02, 0x42, 0xbc, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2d, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x74, 0x65, 0x73, 0x74, 0x2f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x58, 0xaa, 0x02, 0x0c, 0x47, 0x72, 0x70, 0x63, 0x2e, - 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0xca, 0x02, 0x0c, 0x47, 0x72, 0x70, 0x63, 0x5c, 0x54, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0xe2, 0x02, 0x18, 0x47, 0x72, 0x70, 0x63, 0x5c, 0x54, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x0d, 0x47, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, - 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, + 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, + 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x74, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x1a, 0x7e, 0x0a, 0x08, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x29, 0x0a, 0x07, + 0x52, 0x70, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4d, 0x50, 0x54, 0x59, + 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x41, 0x52, 0x59, + 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x22, 0x6b, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, + 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2a, 0x1f, + 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, + 0x0c, 0x43, 0x4f, 0x4d, 0x50, 0x52, 0x45, 0x53, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x2a, + 0x6f, 0x0a, 0x0f, 0x47, 0x72, 0x70, 0x63, 0x6c, 0x62, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, 0x55, + 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, + 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, 0x55, 0x54, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, + 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x52, 0x50, 0x43, 0x4c, 0x42, 0x5f, 0x52, 0x4f, 0x55, 0x54, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x45, 0x4e, 0x44, 0x10, 0x02, + 0x42, 0xf8, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x42, + 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2d, 0x63, 0x72, + 0x6f, 0x73, 0x73, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x6e, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, 0x16, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0xca, 0x02, 0x16, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, + 0x5c, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0xe2, 0x02, 0x22, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x5c, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x17, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x3a, 0x3a, + 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( - file_grpc_testing_messages_proto_rawDescOnce sync.Once - file_grpc_testing_messages_proto_rawDescData = file_grpc_testing_messages_proto_rawDesc + file_connectrpc_conformance_messages_proto_rawDescOnce sync.Once + file_connectrpc_conformance_messages_proto_rawDescData = file_connectrpc_conformance_messages_proto_rawDesc ) -func file_grpc_testing_messages_proto_rawDescGZIP() []byte { - file_grpc_testing_messages_proto_rawDescOnce.Do(func() { - file_grpc_testing_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_testing_messages_proto_rawDescData) +func file_connectrpc_conformance_messages_proto_rawDescGZIP() []byte { + file_connectrpc_conformance_messages_proto_rawDescOnce.Do(func() { + file_connectrpc_conformance_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_connectrpc_conformance_messages_proto_rawDescData) }) - return file_grpc_testing_messages_proto_rawDescData -} - -var file_grpc_testing_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_grpc_testing_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_grpc_testing_messages_proto_goTypes = []interface{}{ - (PayloadType)(0), // 0: grpc.testing.PayloadType - (GrpclbRouteType)(0), // 1: grpc.testing.GrpclbRouteType - (ClientConfigureRequest_RpcType)(0), // 2: grpc.testing.ClientConfigureRequest.RpcType - (*Payload)(nil), // 3: grpc.testing.Payload - (*EchoStatus)(nil), // 4: grpc.testing.EchoStatus - (*SimpleRequest)(nil), // 5: grpc.testing.SimpleRequest - (*SimpleResponse)(nil), // 6: grpc.testing.SimpleResponse - (*StreamingInputCallRequest)(nil), // 7: grpc.testing.StreamingInputCallRequest - (*StreamingInputCallResponse)(nil), // 8: grpc.testing.StreamingInputCallResponse - (*ResponseParameters)(nil), // 9: grpc.testing.ResponseParameters - (*StreamingOutputCallRequest)(nil), // 10: grpc.testing.StreamingOutputCallRequest - (*StreamingOutputCallResponse)(nil), // 11: grpc.testing.StreamingOutputCallResponse - (*ReconnectParams)(nil), // 12: grpc.testing.ReconnectParams - (*ReconnectInfo)(nil), // 13: grpc.testing.ReconnectInfo - (*LoadBalancerStatsRequest)(nil), // 14: grpc.testing.LoadBalancerStatsRequest - (*LoadBalancerStatsResponse)(nil), // 15: grpc.testing.LoadBalancerStatsResponse - (*LoadBalancerAccumulatedStatsRequest)(nil), // 16: grpc.testing.LoadBalancerAccumulatedStatsRequest - (*LoadBalancerAccumulatedStatsResponse)(nil), // 17: grpc.testing.LoadBalancerAccumulatedStatsResponse - (*ClientConfigureRequest)(nil), // 18: grpc.testing.ClientConfigureRequest - (*ClientConfigureResponse)(nil), // 19: grpc.testing.ClientConfigureResponse - (*ErrorDetail)(nil), // 20: grpc.testing.ErrorDetail - (*ErrorStatus)(nil), // 21: grpc.testing.ErrorStatus - (*LoadBalancerStatsResponse_RpcsByPeer)(nil), // 22: grpc.testing.LoadBalancerStatsResponse.RpcsByPeer - nil, // 23: grpc.testing.LoadBalancerStatsResponse.RpcsByPeerEntry - nil, // 24: grpc.testing.LoadBalancerStatsResponse.RpcsByMethodEntry - nil, // 25: grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.RpcsByPeerEntry - nil, // 26: grpc.testing.LoadBalancerAccumulatedStatsResponse.NumRpcsStartedByMethodEntry - nil, // 27: grpc.testing.LoadBalancerAccumulatedStatsResponse.NumRpcsSucceededByMethodEntry - nil, // 28: grpc.testing.LoadBalancerAccumulatedStatsResponse.NumRpcsFailedByMethodEntry - (*LoadBalancerAccumulatedStatsResponse_MethodStats)(nil), // 29: grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats - nil, // 30: grpc.testing.LoadBalancerAccumulatedStatsResponse.StatsPerMethodEntry - nil, // 31: grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.ResultEntry - (*ClientConfigureRequest_Metadata)(nil), // 32: grpc.testing.ClientConfigureRequest.Metadata + return file_connectrpc_conformance_messages_proto_rawDescData +} + +var file_connectrpc_conformance_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_connectrpc_conformance_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 30) +var file_connectrpc_conformance_messages_proto_goTypes = []interface{}{ + (PayloadType)(0), // 0: connectrpc.conformance.PayloadType + (GrpclbRouteType)(0), // 1: connectrpc.conformance.GrpclbRouteType + (ClientConfigureRequest_RpcType)(0), // 2: connectrpc.conformance.ClientConfigureRequest.RpcType + (*Payload)(nil), // 3: connectrpc.conformance.Payload + (*EchoStatus)(nil), // 4: connectrpc.conformance.EchoStatus + (*SimpleRequest)(nil), // 5: connectrpc.conformance.SimpleRequest + (*SimpleResponse)(nil), // 6: connectrpc.conformance.SimpleResponse + (*StreamingInputCallRequest)(nil), // 7: connectrpc.conformance.StreamingInputCallRequest + (*StreamingInputCallResponse)(nil), // 8: connectrpc.conformance.StreamingInputCallResponse + (*ResponseParameters)(nil), // 9: connectrpc.conformance.ResponseParameters + (*StreamingOutputCallRequest)(nil), // 10: connectrpc.conformance.StreamingOutputCallRequest + (*StreamingOutputCallResponse)(nil), // 11: connectrpc.conformance.StreamingOutputCallResponse + (*ReconnectParams)(nil), // 12: connectrpc.conformance.ReconnectParams + (*ReconnectInfo)(nil), // 13: connectrpc.conformance.ReconnectInfo + (*LoadBalancerStatsRequest)(nil), // 14: connectrpc.conformance.LoadBalancerStatsRequest + (*LoadBalancerStatsResponse)(nil), // 15: connectrpc.conformance.LoadBalancerStatsResponse + (*LoadBalancerAccumulatedStatsRequest)(nil), // 16: connectrpc.conformance.LoadBalancerAccumulatedStatsRequest + (*LoadBalancerAccumulatedStatsResponse)(nil), // 17: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse + (*ClientConfigureRequest)(nil), // 18: connectrpc.conformance.ClientConfigureRequest + (*ClientConfigureResponse)(nil), // 19: connectrpc.conformance.ClientConfigureResponse + (*ErrorDetail)(nil), // 20: connectrpc.conformance.ErrorDetail + (*ErrorStatus)(nil), // 21: connectrpc.conformance.ErrorStatus + (*LoadBalancerStatsResponse_RpcsByPeer)(nil), // 22: connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer + nil, // 23: connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeerEntry + nil, // 24: connectrpc.conformance.LoadBalancerStatsResponse.RpcsByMethodEntry + nil, // 25: connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.RpcsByPeerEntry + nil, // 26: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.NumRpcsStartedByMethodEntry + nil, // 27: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.NumRpcsSucceededByMethodEntry + nil, // 28: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.NumRpcsFailedByMethodEntry + (*LoadBalancerAccumulatedStatsResponse_MethodStats)(nil), // 29: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats + nil, // 30: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.StatsPerMethodEntry + nil, // 31: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.ResultEntry + (*ClientConfigureRequest_Metadata)(nil), // 32: connectrpc.conformance.ClientConfigureRequest.Metadata (*wrapperspb.BoolValue)(nil), // 33: google.protobuf.BoolValue (*anypb.Any)(nil), // 34: google.protobuf.Any } -var file_grpc_testing_messages_proto_depIdxs = []int32{ - 0, // 0: grpc.testing.Payload.type:type_name -> grpc.testing.PayloadType - 0, // 1: grpc.testing.SimpleRequest.response_type:type_name -> grpc.testing.PayloadType - 3, // 2: grpc.testing.SimpleRequest.payload:type_name -> grpc.testing.Payload - 33, // 3: grpc.testing.SimpleRequest.response_compressed:type_name -> google.protobuf.BoolValue - 4, // 4: grpc.testing.SimpleRequest.response_status:type_name -> grpc.testing.EchoStatus - 33, // 5: grpc.testing.SimpleRequest.expect_compressed:type_name -> google.protobuf.BoolValue - 3, // 6: grpc.testing.SimpleResponse.payload:type_name -> grpc.testing.Payload - 1, // 7: grpc.testing.SimpleResponse.grpclb_route_type:type_name -> grpc.testing.GrpclbRouteType - 3, // 8: grpc.testing.StreamingInputCallRequest.payload:type_name -> grpc.testing.Payload - 33, // 9: grpc.testing.StreamingInputCallRequest.expect_compressed:type_name -> google.protobuf.BoolValue - 33, // 10: grpc.testing.ResponseParameters.compressed:type_name -> google.protobuf.BoolValue - 0, // 11: grpc.testing.StreamingOutputCallRequest.response_type:type_name -> grpc.testing.PayloadType - 9, // 12: grpc.testing.StreamingOutputCallRequest.response_parameters:type_name -> grpc.testing.ResponseParameters - 3, // 13: grpc.testing.StreamingOutputCallRequest.payload:type_name -> grpc.testing.Payload - 4, // 14: grpc.testing.StreamingOutputCallRequest.response_status:type_name -> grpc.testing.EchoStatus - 3, // 15: grpc.testing.StreamingOutputCallResponse.payload:type_name -> grpc.testing.Payload - 23, // 16: grpc.testing.LoadBalancerStatsResponse.rpcs_by_peer:type_name -> grpc.testing.LoadBalancerStatsResponse.RpcsByPeerEntry - 24, // 17: grpc.testing.LoadBalancerStatsResponse.rpcs_by_method:type_name -> grpc.testing.LoadBalancerStatsResponse.RpcsByMethodEntry - 26, // 18: grpc.testing.LoadBalancerAccumulatedStatsResponse.num_rpcs_started_by_method:type_name -> grpc.testing.LoadBalancerAccumulatedStatsResponse.NumRpcsStartedByMethodEntry - 27, // 19: grpc.testing.LoadBalancerAccumulatedStatsResponse.num_rpcs_succeeded_by_method:type_name -> grpc.testing.LoadBalancerAccumulatedStatsResponse.NumRpcsSucceededByMethodEntry - 28, // 20: grpc.testing.LoadBalancerAccumulatedStatsResponse.num_rpcs_failed_by_method:type_name -> grpc.testing.LoadBalancerAccumulatedStatsResponse.NumRpcsFailedByMethodEntry - 30, // 21: grpc.testing.LoadBalancerAccumulatedStatsResponse.stats_per_method:type_name -> grpc.testing.LoadBalancerAccumulatedStatsResponse.StatsPerMethodEntry - 2, // 22: grpc.testing.ClientConfigureRequest.types:type_name -> grpc.testing.ClientConfigureRequest.RpcType - 32, // 23: grpc.testing.ClientConfigureRequest.metadata:type_name -> grpc.testing.ClientConfigureRequest.Metadata - 34, // 24: grpc.testing.ErrorStatus.details:type_name -> google.protobuf.Any - 25, // 25: grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.rpcs_by_peer:type_name -> grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.RpcsByPeerEntry - 22, // 26: grpc.testing.LoadBalancerStatsResponse.RpcsByMethodEntry.value:type_name -> grpc.testing.LoadBalancerStatsResponse.RpcsByPeer - 31, // 27: grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.result:type_name -> grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.ResultEntry - 29, // 28: grpc.testing.LoadBalancerAccumulatedStatsResponse.StatsPerMethodEntry.value:type_name -> grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats - 2, // 29: grpc.testing.ClientConfigureRequest.Metadata.type:type_name -> grpc.testing.ClientConfigureRequest.RpcType +var file_connectrpc_conformance_messages_proto_depIdxs = []int32{ + 0, // 0: connectrpc.conformance.Payload.type:type_name -> connectrpc.conformance.PayloadType + 0, // 1: connectrpc.conformance.SimpleRequest.response_type:type_name -> connectrpc.conformance.PayloadType + 3, // 2: connectrpc.conformance.SimpleRequest.payload:type_name -> connectrpc.conformance.Payload + 33, // 3: connectrpc.conformance.SimpleRequest.response_compressed:type_name -> google.protobuf.BoolValue + 4, // 4: connectrpc.conformance.SimpleRequest.response_status:type_name -> connectrpc.conformance.EchoStatus + 33, // 5: connectrpc.conformance.SimpleRequest.expect_compressed:type_name -> google.protobuf.BoolValue + 3, // 6: connectrpc.conformance.SimpleResponse.payload:type_name -> connectrpc.conformance.Payload + 1, // 7: connectrpc.conformance.SimpleResponse.grpclb_route_type:type_name -> connectrpc.conformance.GrpclbRouteType + 3, // 8: connectrpc.conformance.StreamingInputCallRequest.payload:type_name -> connectrpc.conformance.Payload + 33, // 9: connectrpc.conformance.StreamingInputCallRequest.expect_compressed:type_name -> google.protobuf.BoolValue + 33, // 10: connectrpc.conformance.ResponseParameters.compressed:type_name -> google.protobuf.BoolValue + 0, // 11: connectrpc.conformance.StreamingOutputCallRequest.response_type:type_name -> connectrpc.conformance.PayloadType + 9, // 12: connectrpc.conformance.StreamingOutputCallRequest.response_parameters:type_name -> connectrpc.conformance.ResponseParameters + 3, // 13: connectrpc.conformance.StreamingOutputCallRequest.payload:type_name -> connectrpc.conformance.Payload + 4, // 14: connectrpc.conformance.StreamingOutputCallRequest.response_status:type_name -> connectrpc.conformance.EchoStatus + 3, // 15: connectrpc.conformance.StreamingOutputCallResponse.payload:type_name -> connectrpc.conformance.Payload + 23, // 16: connectrpc.conformance.LoadBalancerStatsResponse.rpcs_by_peer:type_name -> connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeerEntry + 24, // 17: connectrpc.conformance.LoadBalancerStatsResponse.rpcs_by_method:type_name -> connectrpc.conformance.LoadBalancerStatsResponse.RpcsByMethodEntry + 26, // 18: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.num_rpcs_started_by_method:type_name -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.NumRpcsStartedByMethodEntry + 27, // 19: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.num_rpcs_succeeded_by_method:type_name -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.NumRpcsSucceededByMethodEntry + 28, // 20: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.num_rpcs_failed_by_method:type_name -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.NumRpcsFailedByMethodEntry + 30, // 21: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.stats_per_method:type_name -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.StatsPerMethodEntry + 2, // 22: connectrpc.conformance.ClientConfigureRequest.types:type_name -> connectrpc.conformance.ClientConfigureRequest.RpcType + 32, // 23: connectrpc.conformance.ClientConfigureRequest.metadata:type_name -> connectrpc.conformance.ClientConfigureRequest.Metadata + 34, // 24: connectrpc.conformance.ErrorStatus.details:type_name -> google.protobuf.Any + 25, // 25: connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.rpcs_by_peer:type_name -> connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.RpcsByPeerEntry + 22, // 26: connectrpc.conformance.LoadBalancerStatsResponse.RpcsByMethodEntry.value:type_name -> connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer + 31, // 27: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.result:type_name -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.ResultEntry + 29, // 28: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.StatsPerMethodEntry.value:type_name -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats + 2, // 29: connectrpc.conformance.ClientConfigureRequest.Metadata.type:type_name -> connectrpc.conformance.ClientConfigureRequest.RpcType 30, // [30:30] is the sub-list for method output_type 30, // [30:30] is the sub-list for method input_type 30, // [30:30] is the sub-list for extension type_name @@ -2002,13 +2023,13 @@ var file_grpc_testing_messages_proto_depIdxs = []int32{ 0, // [0:30] is the sub-list for field type_name } -func init() { file_grpc_testing_messages_proto_init() } -func file_grpc_testing_messages_proto_init() { - if File_grpc_testing_messages_proto != nil { +func init() { file_connectrpc_conformance_messages_proto_init() } +func file_connectrpc_conformance_messages_proto_init() { + if File_connectrpc_conformance_messages_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_grpc_testing_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Payload); i { case 0: return &v.state @@ -2020,7 +2041,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EchoStatus); i { case 0: return &v.state @@ -2032,7 +2053,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SimpleRequest); i { case 0: return &v.state @@ -2044,7 +2065,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SimpleResponse); i { case 0: return &v.state @@ -2056,7 +2077,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StreamingInputCallRequest); i { case 0: return &v.state @@ -2068,7 +2089,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StreamingInputCallResponse); i { case 0: return &v.state @@ -2080,7 +2101,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ResponseParameters); i { case 0: return &v.state @@ -2092,7 +2113,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StreamingOutputCallRequest); i { case 0: return &v.state @@ -2104,7 +2125,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StreamingOutputCallResponse); i { case 0: return &v.state @@ -2116,7 +2137,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReconnectParams); i { case 0: return &v.state @@ -2128,7 +2149,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReconnectInfo); i { case 0: return &v.state @@ -2140,7 +2161,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadBalancerStatsRequest); i { case 0: return &v.state @@ -2152,7 +2173,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadBalancerStatsResponse); i { case 0: return &v.state @@ -2164,7 +2185,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadBalancerAccumulatedStatsRequest); i { case 0: return &v.state @@ -2176,7 +2197,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadBalancerAccumulatedStatsResponse); i { case 0: return &v.state @@ -2188,7 +2209,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientConfigureRequest); i { case 0: return &v.state @@ -2200,7 +2221,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientConfigureResponse); i { case 0: return &v.state @@ -2212,7 +2233,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ErrorDetail); i { case 0: return &v.state @@ -2224,7 +2245,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ErrorStatus); i { case 0: return &v.state @@ -2236,7 +2257,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadBalancerStatsResponse_RpcsByPeer); i { case 0: return &v.state @@ -2248,7 +2269,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoadBalancerAccumulatedStatsResponse_MethodStats); i { case 0: return &v.state @@ -2260,7 +2281,7 @@ func file_grpc_testing_messages_proto_init() { return nil } } - file_grpc_testing_messages_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_connectrpc_conformance_messages_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClientConfigureRequest_Metadata); i { case 0: return &v.state @@ -2277,19 +2298,19 @@ func file_grpc_testing_messages_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpc_testing_messages_proto_rawDesc, + RawDescriptor: file_connectrpc_conformance_messages_proto_rawDesc, NumEnums: 3, NumMessages: 30, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_grpc_testing_messages_proto_goTypes, - DependencyIndexes: file_grpc_testing_messages_proto_depIdxs, - EnumInfos: file_grpc_testing_messages_proto_enumTypes, - MessageInfos: file_grpc_testing_messages_proto_msgTypes, + GoTypes: file_connectrpc_conformance_messages_proto_goTypes, + DependencyIndexes: file_connectrpc_conformance_messages_proto_depIdxs, + EnumInfos: file_connectrpc_conformance_messages_proto_enumTypes, + MessageInfos: file_connectrpc_conformance_messages_proto_msgTypes, }.Build() - File_grpc_testing_messages_proto = out.File - file_grpc_testing_messages_proto_rawDesc = nil - file_grpc_testing_messages_proto_goTypes = nil - file_grpc_testing_messages_proto_depIdxs = nil + File_connectrpc_conformance_messages_proto = out.File + file_connectrpc_conformance_messages_proto_rawDesc = nil + file_connectrpc_conformance_messages_proto_goTypes = nil + file_connectrpc_conformance_messages_proto_depIdxs = nil } diff --git a/internal/gen/proto/go/connectrpc/conformance/test.pb.go b/internal/gen/proto/go/connectrpc/conformance/test.pb.go new file mode 100644 index 00000000..e2bdcdac --- /dev/null +++ b/internal/gen/proto/go/connectrpc/conformance/test.pb.go @@ -0,0 +1,318 @@ +// Copyright 2022 Buf Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// This is copied from gRPC's testing Protobuf definitions: https://github.com/grpc/grpc/blob/master/src/proto/grpc/testing/test.proto +// +// The TestService has been extended to include the following RPCs: +// FailUnaryCall(SimpleRequest) returns (SimpleResponse): this RPC is a unary +// call that always returns a readable non-ASCII error with error details. +// FailStreamingOutputCall(StreamingOutputCallRequest) returns (stream StreamingOutputCallResponse): +// this RPC is a server streaming call that always returns a readable non-ASCII error with error details. +// UnimplementedStreamingOutputCall(google.protobuf.Empty) returns (stream google.protobuf.Empty): this RPC +// is a server streaming call that will not be implemented. +// +// The UnimplementedService has been extended to include the following RPCs: +// UnimplementedStreamingOutputCall(google.protobuf.Empty) returns (stream google.protobuf.Empty): this RPC +// is a server streaming call that will not be implemented. + +// Copyright 2015-2016 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// An integration test service that covers all the method signature permutations +// of unary/streaming requests/responses. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc (unknown) +// source: connectrpc/conformance/test.proto + +package conformance + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_connectrpc_conformance_test_proto protoreflect.FileDescriptor + +var file_connectrpc_conformance_test_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x25, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, + 0x92, 0x09, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x3b, 0x0a, 0x09, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x5a, 0x0a, 0x09, + 0x55, 0x6e, 0x61, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, + 0x63, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, + 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0d, 0x46, 0x61, 0x69, 0x6c, + 0x55, 0x6e, 0x61, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, + 0x63, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, + 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x12, 0x43, 0x61, 0x63, 0x68, + 0x65, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x25, + 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, + 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, + 0x02, 0x01, 0x12, 0x80, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, + 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x84, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x69, 0x6c, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, + 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, + 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7d, 0x0a, 0x12, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, + 0x6c, 0x6c, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x12, 0x7d, 0x0a, 0x0e, 0x46, + 0x75, 0x6c, 0x6c, 0x44, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x32, 0x2e, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, + 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x7d, 0x0a, 0x0e, 0x48, 0x61, + 0x6c, 0x66, 0x44, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x32, 0x2e, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, + 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x11, 0x55, 0x6e, 0x69, + 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x54, + 0x0a, 0x20, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, + 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x30, 0x01, 0x32, 0xb1, 0x01, 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, + 0x11, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x43, 0x61, + 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x12, 0x54, 0x0a, 0x20, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x30, 0x01, 0x32, 0xa3, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, + 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, + 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, + 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x32, 0xae, + 0x02, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, 0x2e, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x98, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x12, 0x3b, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, + 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3c, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, + 0x97, 0x01, 0x0a, 0x16, 0x58, 0x64, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x53, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x4e, + 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x8f, 0x01, 0x0a, 0x1f, 0x58, 0x64, + 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, + 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xf4, 0x01, 0x0a, 0x1a, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x63, + 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x09, 0x54, 0x65, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x2d, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2f, + 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x43, 0x43, + 0x58, 0xaa, 0x02, 0x16, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, + 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0xca, 0x02, 0x16, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, 0x5c, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0xe2, 0x02, 0x22, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x72, 0x70, 0x63, + 0x5c, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_connectrpc_conformance_test_proto_goTypes = []interface{}{ + (*emptypb.Empty)(nil), // 0: google.protobuf.Empty + (*SimpleRequest)(nil), // 1: connectrpc.conformance.SimpleRequest + (*StreamingOutputCallRequest)(nil), // 2: connectrpc.conformance.StreamingOutputCallRequest + (*StreamingInputCallRequest)(nil), // 3: connectrpc.conformance.StreamingInputCallRequest + (*ReconnectParams)(nil), // 4: connectrpc.conformance.ReconnectParams + (*LoadBalancerStatsRequest)(nil), // 5: connectrpc.conformance.LoadBalancerStatsRequest + (*LoadBalancerAccumulatedStatsRequest)(nil), // 6: connectrpc.conformance.LoadBalancerAccumulatedStatsRequest + (*ClientConfigureRequest)(nil), // 7: connectrpc.conformance.ClientConfigureRequest + (*SimpleResponse)(nil), // 8: connectrpc.conformance.SimpleResponse + (*StreamingOutputCallResponse)(nil), // 9: connectrpc.conformance.StreamingOutputCallResponse + (*StreamingInputCallResponse)(nil), // 10: connectrpc.conformance.StreamingInputCallResponse + (*ReconnectInfo)(nil), // 11: connectrpc.conformance.ReconnectInfo + (*LoadBalancerStatsResponse)(nil), // 12: connectrpc.conformance.LoadBalancerStatsResponse + (*LoadBalancerAccumulatedStatsResponse)(nil), // 13: connectrpc.conformance.LoadBalancerAccumulatedStatsResponse + (*ClientConfigureResponse)(nil), // 14: connectrpc.conformance.ClientConfigureResponse +} +var file_connectrpc_conformance_test_proto_depIdxs = []int32{ + 0, // 0: connectrpc.conformance.TestService.EmptyCall:input_type -> google.protobuf.Empty + 1, // 1: connectrpc.conformance.TestService.UnaryCall:input_type -> connectrpc.conformance.SimpleRequest + 1, // 2: connectrpc.conformance.TestService.FailUnaryCall:input_type -> connectrpc.conformance.SimpleRequest + 1, // 3: connectrpc.conformance.TestService.CacheableUnaryCall:input_type -> connectrpc.conformance.SimpleRequest + 2, // 4: connectrpc.conformance.TestService.StreamingOutputCall:input_type -> connectrpc.conformance.StreamingOutputCallRequest + 2, // 5: connectrpc.conformance.TestService.FailStreamingOutputCall:input_type -> connectrpc.conformance.StreamingOutputCallRequest + 3, // 6: connectrpc.conformance.TestService.StreamingInputCall:input_type -> connectrpc.conformance.StreamingInputCallRequest + 2, // 7: connectrpc.conformance.TestService.FullDuplexCall:input_type -> connectrpc.conformance.StreamingOutputCallRequest + 2, // 8: connectrpc.conformance.TestService.HalfDuplexCall:input_type -> connectrpc.conformance.StreamingOutputCallRequest + 0, // 9: connectrpc.conformance.TestService.UnimplementedCall:input_type -> google.protobuf.Empty + 0, // 10: connectrpc.conformance.TestService.UnimplementedStreamingOutputCall:input_type -> google.protobuf.Empty + 0, // 11: connectrpc.conformance.UnimplementedService.UnimplementedCall:input_type -> google.protobuf.Empty + 0, // 12: connectrpc.conformance.UnimplementedService.UnimplementedStreamingOutputCall:input_type -> google.protobuf.Empty + 4, // 13: connectrpc.conformance.ReconnectService.Start:input_type -> connectrpc.conformance.ReconnectParams + 0, // 14: connectrpc.conformance.ReconnectService.Stop:input_type -> google.protobuf.Empty + 5, // 15: connectrpc.conformance.LoadBalancerStatsService.GetClientStats:input_type -> connectrpc.conformance.LoadBalancerStatsRequest + 6, // 16: connectrpc.conformance.LoadBalancerStatsService.GetClientAccumulatedStats:input_type -> connectrpc.conformance.LoadBalancerAccumulatedStatsRequest + 0, // 17: connectrpc.conformance.XdsUpdateHealthService.SetServing:input_type -> google.protobuf.Empty + 0, // 18: connectrpc.conformance.XdsUpdateHealthService.SetNotServing:input_type -> google.protobuf.Empty + 7, // 19: connectrpc.conformance.XdsUpdateClientConfigureService.Configure:input_type -> connectrpc.conformance.ClientConfigureRequest + 0, // 20: connectrpc.conformance.TestService.EmptyCall:output_type -> google.protobuf.Empty + 8, // 21: connectrpc.conformance.TestService.UnaryCall:output_type -> connectrpc.conformance.SimpleResponse + 8, // 22: connectrpc.conformance.TestService.FailUnaryCall:output_type -> connectrpc.conformance.SimpleResponse + 8, // 23: connectrpc.conformance.TestService.CacheableUnaryCall:output_type -> connectrpc.conformance.SimpleResponse + 9, // 24: connectrpc.conformance.TestService.StreamingOutputCall:output_type -> connectrpc.conformance.StreamingOutputCallResponse + 9, // 25: connectrpc.conformance.TestService.FailStreamingOutputCall:output_type -> connectrpc.conformance.StreamingOutputCallResponse + 10, // 26: connectrpc.conformance.TestService.StreamingInputCall:output_type -> connectrpc.conformance.StreamingInputCallResponse + 9, // 27: connectrpc.conformance.TestService.FullDuplexCall:output_type -> connectrpc.conformance.StreamingOutputCallResponse + 9, // 28: connectrpc.conformance.TestService.HalfDuplexCall:output_type -> connectrpc.conformance.StreamingOutputCallResponse + 0, // 29: connectrpc.conformance.TestService.UnimplementedCall:output_type -> google.protobuf.Empty + 0, // 30: connectrpc.conformance.TestService.UnimplementedStreamingOutputCall:output_type -> google.protobuf.Empty + 0, // 31: connectrpc.conformance.UnimplementedService.UnimplementedCall:output_type -> google.protobuf.Empty + 0, // 32: connectrpc.conformance.UnimplementedService.UnimplementedStreamingOutputCall:output_type -> google.protobuf.Empty + 0, // 33: connectrpc.conformance.ReconnectService.Start:output_type -> google.protobuf.Empty + 11, // 34: connectrpc.conformance.ReconnectService.Stop:output_type -> connectrpc.conformance.ReconnectInfo + 12, // 35: connectrpc.conformance.LoadBalancerStatsService.GetClientStats:output_type -> connectrpc.conformance.LoadBalancerStatsResponse + 13, // 36: connectrpc.conformance.LoadBalancerStatsService.GetClientAccumulatedStats:output_type -> connectrpc.conformance.LoadBalancerAccumulatedStatsResponse + 0, // 37: connectrpc.conformance.XdsUpdateHealthService.SetServing:output_type -> google.protobuf.Empty + 0, // 38: connectrpc.conformance.XdsUpdateHealthService.SetNotServing:output_type -> google.protobuf.Empty + 14, // 39: connectrpc.conformance.XdsUpdateClientConfigureService.Configure:output_type -> connectrpc.conformance.ClientConfigureResponse + 20, // [20:40] is the sub-list for method output_type + 0, // [0:20] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_connectrpc_conformance_test_proto_init() } +func file_connectrpc_conformance_test_proto_init() { + if File_connectrpc_conformance_test_proto != nil { + return + } + file_connectrpc_conformance_messages_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_connectrpc_conformance_test_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 6, + }, + GoTypes: file_connectrpc_conformance_test_proto_goTypes, + DependencyIndexes: file_connectrpc_conformance_test_proto_depIdxs, + }.Build() + File_connectrpc_conformance_test_proto = out.File + file_connectrpc_conformance_test_proto_rawDesc = nil + file_connectrpc_conformance_test_proto_goTypes = nil + file_connectrpc_conformance_test_proto_depIdxs = nil +} diff --git a/internal/gen/proto/go/grpc/testing/test_grpc.pb.go b/internal/gen/proto/go/connectrpc/conformance/test_grpc.pb.go similarity index 93% rename from internal/gen/proto/go/grpc/testing/test_grpc.pb.go rename to internal/gen/proto/go/connectrpc/conformance/test_grpc.pb.go index cf91cc8e..6bd0f0d6 100644 --- a/internal/gen/proto/go/grpc/testing/test_grpc.pb.go +++ b/internal/gen/proto/go/connectrpc/conformance/test_grpc.pb.go @@ -16,9 +16,9 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc (unknown) -// source: grpc/testing/test.proto +// source: connectrpc/conformance/test.proto -package testing +package conformance import ( context "context" @@ -84,7 +84,7 @@ func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient { func (c *testServiceClient) EmptyCall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/EmptyCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.TestService/EmptyCall", in, out, opts...) if err != nil { return nil, err } @@ -93,7 +93,7 @@ func (c *testServiceClient) EmptyCall(ctx context.Context, in *emptypb.Empty, op func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/UnaryCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.TestService/UnaryCall", in, out, opts...) if err != nil { return nil, err } @@ -102,7 +102,7 @@ func (c *testServiceClient) UnaryCall(ctx context.Context, in *SimpleRequest, op func (c *testServiceClient) FailUnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/FailUnaryCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.TestService/FailUnaryCall", in, out, opts...) if err != nil { return nil, err } @@ -111,7 +111,7 @@ func (c *testServiceClient) FailUnaryCall(ctx context.Context, in *SimpleRequest func (c *testServiceClient) CacheableUnaryCall(ctx context.Context, in *SimpleRequest, opts ...grpc.CallOption) (*SimpleResponse, error) { out := new(SimpleResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/CacheableUnaryCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.TestService/CacheableUnaryCall", in, out, opts...) if err != nil { return nil, err } @@ -119,7 +119,7 @@ func (c *testServiceClient) CacheableUnaryCall(ctx context.Context, in *SimpleRe } func (c *testServiceClient) StreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_StreamingOutputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[0], "/grpc.testing.TestService/StreamingOutputCall", opts...) + stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[0], "/connectrpc.conformance.TestService/StreamingOutputCall", opts...) if err != nil { return nil, err } @@ -151,7 +151,7 @@ func (x *testServiceStreamingOutputCallClient) Recv() (*StreamingOutputCallRespo } func (c *testServiceClient) FailStreamingOutputCall(ctx context.Context, in *StreamingOutputCallRequest, opts ...grpc.CallOption) (TestService_FailStreamingOutputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[1], "/grpc.testing.TestService/FailStreamingOutputCall", opts...) + stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[1], "/connectrpc.conformance.TestService/FailStreamingOutputCall", opts...) if err != nil { return nil, err } @@ -183,7 +183,7 @@ func (x *testServiceFailStreamingOutputCallClient) Recv() (*StreamingOutputCallR } func (c *testServiceClient) StreamingInputCall(ctx context.Context, opts ...grpc.CallOption) (TestService_StreamingInputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[2], "/grpc.testing.TestService/StreamingInputCall", opts...) + stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[2], "/connectrpc.conformance.TestService/StreamingInputCall", opts...) if err != nil { return nil, err } @@ -217,7 +217,7 @@ func (x *testServiceStreamingInputCallClient) CloseAndRecv() (*StreamingInputCal } func (c *testServiceClient) FullDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_FullDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[3], "/grpc.testing.TestService/FullDuplexCall", opts...) + stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[3], "/connectrpc.conformance.TestService/FullDuplexCall", opts...) if err != nil { return nil, err } @@ -248,7 +248,7 @@ func (x *testServiceFullDuplexCallClient) Recv() (*StreamingOutputCallResponse, } func (c *testServiceClient) HalfDuplexCall(ctx context.Context, opts ...grpc.CallOption) (TestService_HalfDuplexCallClient, error) { - stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[4], "/grpc.testing.TestService/HalfDuplexCall", opts...) + stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[4], "/connectrpc.conformance.TestService/HalfDuplexCall", opts...) if err != nil { return nil, err } @@ -280,7 +280,7 @@ func (x *testServiceHalfDuplexCallClient) Recv() (*StreamingOutputCallResponse, func (c *testServiceClient) UnimplementedCall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.TestService/UnimplementedCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.TestService/UnimplementedCall", in, out, opts...) if err != nil { return nil, err } @@ -288,7 +288,7 @@ func (c *testServiceClient) UnimplementedCall(ctx context.Context, in *emptypb.E } func (c *testServiceClient) UnimplementedStreamingOutputCall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (TestService_UnimplementedStreamingOutputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[5], "/grpc.testing.TestService/UnimplementedStreamingOutputCall", opts...) + stream, err := c.cc.NewStream(ctx, &TestService_ServiceDesc.Streams[5], "/connectrpc.conformance.TestService/UnimplementedStreamingOutputCall", opts...) if err != nil { return nil, err } @@ -421,7 +421,7 @@ func _TestService_EmptyCall_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.TestService/EmptyCall", + FullMethod: "/connectrpc.conformance.TestService/EmptyCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TestServiceServer).EmptyCall(ctx, req.(*emptypb.Empty)) @@ -439,7 +439,7 @@ func _TestService_UnaryCall_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.TestService/UnaryCall", + FullMethod: "/connectrpc.conformance.TestService/UnaryCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TestServiceServer).UnaryCall(ctx, req.(*SimpleRequest)) @@ -457,7 +457,7 @@ func _TestService_FailUnaryCall_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.TestService/FailUnaryCall", + FullMethod: "/connectrpc.conformance.TestService/FailUnaryCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TestServiceServer).FailUnaryCall(ctx, req.(*SimpleRequest)) @@ -475,7 +475,7 @@ func _TestService_CacheableUnaryCall_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.TestService/CacheableUnaryCall", + FullMethod: "/connectrpc.conformance.TestService/CacheableUnaryCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TestServiceServer).CacheableUnaryCall(ctx, req.(*SimpleRequest)) @@ -613,7 +613,7 @@ func _TestService_UnimplementedCall_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.TestService/UnimplementedCall", + FullMethod: "/connectrpc.conformance.TestService/UnimplementedCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TestServiceServer).UnimplementedCall(ctx, req.(*emptypb.Empty)) @@ -646,7 +646,7 @@ func (x *testServiceUnimplementedStreamingOutputCallServer) Send(m *emptypb.Empt // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var TestService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.TestService", + ServiceName: "connectrpc.conformance.TestService", HandlerType: (*TestServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -704,7 +704,7 @@ var TestService_ServiceDesc = grpc.ServiceDesc{ ServerStreams: true, }, }, - Metadata: "grpc/testing/test.proto", + Metadata: "connectrpc/conformance/test.proto", } // UnimplementedServiceClient is the client API for UnimplementedService service. @@ -727,7 +727,7 @@ func NewUnimplementedServiceClient(cc grpc.ClientConnInterface) UnimplementedSer func (c *unimplementedServiceClient) UnimplementedCall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.UnimplementedService/UnimplementedCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.UnimplementedService/UnimplementedCall", in, out, opts...) if err != nil { return nil, err } @@ -735,7 +735,7 @@ func (c *unimplementedServiceClient) UnimplementedCall(ctx context.Context, in * } func (c *unimplementedServiceClient) UnimplementedStreamingOutputCall(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (UnimplementedService_UnimplementedStreamingOutputCallClient, error) { - stream, err := c.cc.NewStream(ctx, &UnimplementedService_ServiceDesc.Streams[0], "/grpc.testing.UnimplementedService/UnimplementedStreamingOutputCall", opts...) + stream, err := c.cc.NewStream(ctx, &UnimplementedService_ServiceDesc.Streams[0], "/connectrpc.conformance.UnimplementedService/UnimplementedStreamingOutputCall", opts...) if err != nil { return nil, err } @@ -810,7 +810,7 @@ func _UnimplementedService_UnimplementedCall_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.UnimplementedService/UnimplementedCall", + FullMethod: "/connectrpc.conformance.UnimplementedService/UnimplementedCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UnimplementedServiceServer).UnimplementedCall(ctx, req.(*emptypb.Empty)) @@ -843,7 +843,7 @@ func (x *unimplementedServiceUnimplementedStreamingOutputCallServer) Send(m *emp // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var UnimplementedService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.UnimplementedService", + ServiceName: "connectrpc.conformance.UnimplementedService", HandlerType: (*UnimplementedServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -858,7 +858,7 @@ var UnimplementedService_ServiceDesc = grpc.ServiceDesc{ ServerStreams: true, }, }, - Metadata: "grpc/testing/test.proto", + Metadata: "connectrpc/conformance/test.proto", } // ReconnectServiceClient is the client API for ReconnectService service. @@ -879,7 +879,7 @@ func NewReconnectServiceClient(cc grpc.ClientConnInterface) ReconnectServiceClie func (c *reconnectServiceClient) Start(ctx context.Context, in *ReconnectParams, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.ReconnectService/Start", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.ReconnectService/Start", in, out, opts...) if err != nil { return nil, err } @@ -888,7 +888,7 @@ func (c *reconnectServiceClient) Start(ctx context.Context, in *ReconnectParams, func (c *reconnectServiceClient) Stop(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ReconnectInfo, error) { out := new(ReconnectInfo) - err := c.cc.Invoke(ctx, "/grpc.testing.ReconnectService/Stop", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.ReconnectService/Stop", in, out, opts...) if err != nil { return nil, err } @@ -937,7 +937,7 @@ func _ReconnectService_Start_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.ReconnectService/Start", + FullMethod: "/connectrpc.conformance.ReconnectService/Start", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReconnectServiceServer).Start(ctx, req.(*ReconnectParams)) @@ -955,7 +955,7 @@ func _ReconnectService_Stop_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.ReconnectService/Stop", + FullMethod: "/connectrpc.conformance.ReconnectService/Stop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReconnectServiceServer).Stop(ctx, req.(*emptypb.Empty)) @@ -967,7 +967,7 @@ func _ReconnectService_Stop_Handler(srv interface{}, ctx context.Context, dec fu // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var ReconnectService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.ReconnectService", + ServiceName: "connectrpc.conformance.ReconnectService", HandlerType: (*ReconnectServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -980,7 +980,7 @@ var ReconnectService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "grpc/testing/test.proto", + Metadata: "connectrpc/conformance/test.proto", } // LoadBalancerStatsServiceClient is the client API for LoadBalancerStatsService service. @@ -1003,7 +1003,7 @@ func NewLoadBalancerStatsServiceClient(cc grpc.ClientConnInterface) LoadBalancer func (c *loadBalancerStatsServiceClient) GetClientStats(ctx context.Context, in *LoadBalancerStatsRequest, opts ...grpc.CallOption) (*LoadBalancerStatsResponse, error) { out := new(LoadBalancerStatsResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.LoadBalancerStatsService/GetClientStats", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.LoadBalancerStatsService/GetClientStats", in, out, opts...) if err != nil { return nil, err } @@ -1012,7 +1012,7 @@ func (c *loadBalancerStatsServiceClient) GetClientStats(ctx context.Context, in func (c *loadBalancerStatsServiceClient) GetClientAccumulatedStats(ctx context.Context, in *LoadBalancerAccumulatedStatsRequest, opts ...grpc.CallOption) (*LoadBalancerAccumulatedStatsResponse, error) { out := new(LoadBalancerAccumulatedStatsResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.LoadBalancerStatsService/GetClientAccumulatedStats", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.LoadBalancerStatsService/GetClientAccumulatedStats", in, out, opts...) if err != nil { return nil, err } @@ -1064,7 +1064,7 @@ func _LoadBalancerStatsService_GetClientStats_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.LoadBalancerStatsService/GetClientStats", + FullMethod: "/connectrpc.conformance.LoadBalancerStatsService/GetClientStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LoadBalancerStatsServiceServer).GetClientStats(ctx, req.(*LoadBalancerStatsRequest)) @@ -1082,7 +1082,7 @@ func _LoadBalancerStatsService_GetClientAccumulatedStats_Handler(srv interface{} } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.LoadBalancerStatsService/GetClientAccumulatedStats", + FullMethod: "/connectrpc.conformance.LoadBalancerStatsService/GetClientAccumulatedStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(LoadBalancerStatsServiceServer).GetClientAccumulatedStats(ctx, req.(*LoadBalancerAccumulatedStatsRequest)) @@ -1094,7 +1094,7 @@ func _LoadBalancerStatsService_GetClientAccumulatedStats_Handler(srv interface{} // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var LoadBalancerStatsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.LoadBalancerStatsService", + ServiceName: "connectrpc.conformance.LoadBalancerStatsService", HandlerType: (*LoadBalancerStatsServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1107,7 +1107,7 @@ var LoadBalancerStatsService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "grpc/testing/test.proto", + Metadata: "connectrpc/conformance/test.proto", } // XdsUpdateHealthServiceClient is the client API for XdsUpdateHealthService service. @@ -1128,7 +1128,7 @@ func NewXdsUpdateHealthServiceClient(cc grpc.ClientConnInterface) XdsUpdateHealt func (c *xdsUpdateHealthServiceClient) SetServing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.XdsUpdateHealthService/SetServing", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.XdsUpdateHealthService/SetServing", in, out, opts...) if err != nil { return nil, err } @@ -1137,7 +1137,7 @@ func (c *xdsUpdateHealthServiceClient) SetServing(ctx context.Context, in *empty func (c *xdsUpdateHealthServiceClient) SetNotServing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/grpc.testing.XdsUpdateHealthService/SetNotServing", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.XdsUpdateHealthService/SetNotServing", in, out, opts...) if err != nil { return nil, err } @@ -1187,7 +1187,7 @@ func _XdsUpdateHealthService_SetServing_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.XdsUpdateHealthService/SetServing", + FullMethod: "/connectrpc.conformance.XdsUpdateHealthService/SetServing", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(XdsUpdateHealthServiceServer).SetServing(ctx, req.(*emptypb.Empty)) @@ -1205,7 +1205,7 @@ func _XdsUpdateHealthService_SetNotServing_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.XdsUpdateHealthService/SetNotServing", + FullMethod: "/connectrpc.conformance.XdsUpdateHealthService/SetNotServing", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(XdsUpdateHealthServiceServer).SetNotServing(ctx, req.(*emptypb.Empty)) @@ -1217,7 +1217,7 @@ func _XdsUpdateHealthService_SetNotServing_Handler(srv interface{}, ctx context. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var XdsUpdateHealthService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.XdsUpdateHealthService", + ServiceName: "connectrpc.conformance.XdsUpdateHealthService", HandlerType: (*XdsUpdateHealthServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1230,7 +1230,7 @@ var XdsUpdateHealthService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "grpc/testing/test.proto", + Metadata: "connectrpc/conformance/test.proto", } // XdsUpdateClientConfigureServiceClient is the client API for XdsUpdateClientConfigureService service. @@ -1251,7 +1251,7 @@ func NewXdsUpdateClientConfigureServiceClient(cc grpc.ClientConnInterface) XdsUp func (c *xdsUpdateClientConfigureServiceClient) Configure(ctx context.Context, in *ClientConfigureRequest, opts ...grpc.CallOption) (*ClientConfigureResponse, error) { out := new(ClientConfigureResponse) - err := c.cc.Invoke(ctx, "/grpc.testing.XdsUpdateClientConfigureService/Configure", in, out, opts...) + err := c.cc.Invoke(ctx, "/connectrpc.conformance.XdsUpdateClientConfigureService/Configure", in, out, opts...) if err != nil { return nil, err } @@ -1298,7 +1298,7 @@ func _XdsUpdateClientConfigureService_Configure_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/grpc.testing.XdsUpdateClientConfigureService/Configure", + FullMethod: "/connectrpc.conformance.XdsUpdateClientConfigureService/Configure", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(XdsUpdateClientConfigureServiceServer).Configure(ctx, req.(*ClientConfigureRequest)) @@ -1310,7 +1310,7 @@ func _XdsUpdateClientConfigureService_Configure_Handler(srv interface{}, ctx con // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var XdsUpdateClientConfigureService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "grpc.testing.XdsUpdateClientConfigureService", + ServiceName: "connectrpc.conformance.XdsUpdateClientConfigureService", HandlerType: (*XdsUpdateClientConfigureServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1319,5 +1319,5 @@ var XdsUpdateClientConfigureService_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "grpc/testing/test.proto", + Metadata: "connectrpc/conformance/test.proto", } diff --git a/internal/gen/proto/go/grpc/testing/test.pb.go b/internal/gen/proto/go/grpc/testing/test.pb.go deleted file mode 100644 index 3c5c024e..00000000 --- a/internal/gen/proto/go/grpc/testing/test.pb.go +++ /dev/null @@ -1,297 +0,0 @@ -// Copyright 2022 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// This is copied from gRPC's testing Protobuf definitions: https://github.com/grpc/grpc/blob/master/src/proto/grpc/testing/test.proto -// -// The TestService has been extended to include the following RPCs: -// FailUnaryCall(SimpleRequest) returns (SimpleResponse): this RPC is a unary -// call that always returns a readable non-ASCII error with error details. -// FailStreamingOutputCall(StreamingOutputCallRequest) returns (stream StreamingOutputCallResponse): -// this RPC is a server streaming call that always returns a readable non-ASCII error with error details. -// UnimplementedStreamingOutputCall(google.protobuf.Empty) returns (stream google.protobuf.Empty): this RPC -// is a server streaming call that will not be implemented. -// -// The UnimplementedService has been extended to include the following RPCs: -// UnimplementedStreamingOutputCall(google.protobuf.Empty) returns (stream google.protobuf.Empty): this RPC -// is a server streaming call that will not be implemented. - -// Copyright 2015-2016 gRPC authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// An integration test service that covers all the method signature permutations -// of unary/streaming requests/responses. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc (unknown) -// source: grpc/testing/test.proto - -package testing - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - emptypb "google.golang.org/protobuf/types/known/emptypb" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -var File_grpc_testing_test_proto protoreflect.FileDescriptor - -var file_grpc_testing_test_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x74, - 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x32, 0xf0, 0x07, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x46, - 0x0a, 0x09, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x1b, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x46, 0x61, 0x69, 0x6c, 0x55, 0x6e, - 0x61, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x54, 0x0a, 0x12, 0x43, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x55, - 0x6e, 0x61, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, - 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x6c, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, - 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, - 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, - 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x70, 0x0a, 0x17, 0x46, 0x61, 0x69, 0x6c, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, - 0x6c, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, - 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x69, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x27, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, - 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x28, 0x01, 0x12, 0x69, 0x0a, 0x0e, 0x46, 0x75, 0x6c, 0x6c, 0x44, 0x75, 0x70, 0x6c, 0x65, - 0x78, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, - 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x69, - 0x0a, 0x0e, 0x48, 0x61, 0x6c, 0x66, 0x44, 0x75, 0x70, 0x6c, 0x65, 0x78, 0x43, 0x61, 0x6c, 0x6c, - 0x12, 0x28, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, - 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x11, 0x55, 0x6e, 0x69, - 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x54, - 0x0a, 0x20, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x61, - 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x30, 0x01, 0x32, 0xb1, 0x01, 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, - 0x11, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x43, 0x61, - 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x12, 0x54, 0x0a, 0x20, 0x55, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x30, 0x01, 0x32, 0x8f, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, - 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3b, 0x0a, - 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x52, 0x65, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x32, 0x86, 0x02, 0x0a, 0x18, 0x4c, - 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, - 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, - 0x19, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, - 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x31, 0x2e, 0x67, 0x72, 0x70, - 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x4c, 0x6f, 0x61, - 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x41, 0x63, 0x63, 0x75, 0x6d, 0x75, 0x6c, - 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x32, 0x97, 0x01, 0x0a, 0x16, 0x58, 0x64, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3c, - 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x0d, - 0x53, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x7b, 0x0a, - 0x1f, 0x58, 0x64, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x58, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x24, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xb8, 0x01, 0x0a, 0x10, 0x63, - 0x6f, 0x6d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x42, - 0x09, 0x54, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x75, 0x66, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2d, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x74, - 0x65, 0x73, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, - 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0xa2, 0x02, 0x03, 0x47, 0x54, 0x58, 0xaa, 0x02, 0x0c, 0x47, - 0x72, 0x70, 0x63, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0xca, 0x02, 0x0c, 0x47, 0x72, - 0x70, 0x63, 0x5c, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0xe2, 0x02, 0x18, 0x47, 0x72, 0x70, - 0x63, 0x5c, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x47, 0x72, 0x70, 0x63, 0x3a, 0x3a, 0x54, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_grpc_testing_test_proto_goTypes = []interface{}{ - (*emptypb.Empty)(nil), // 0: google.protobuf.Empty - (*SimpleRequest)(nil), // 1: grpc.testing.SimpleRequest - (*StreamingOutputCallRequest)(nil), // 2: grpc.testing.StreamingOutputCallRequest - (*StreamingInputCallRequest)(nil), // 3: grpc.testing.StreamingInputCallRequest - (*ReconnectParams)(nil), // 4: grpc.testing.ReconnectParams - (*LoadBalancerStatsRequest)(nil), // 5: grpc.testing.LoadBalancerStatsRequest - (*LoadBalancerAccumulatedStatsRequest)(nil), // 6: grpc.testing.LoadBalancerAccumulatedStatsRequest - (*ClientConfigureRequest)(nil), // 7: grpc.testing.ClientConfigureRequest - (*SimpleResponse)(nil), // 8: grpc.testing.SimpleResponse - (*StreamingOutputCallResponse)(nil), // 9: grpc.testing.StreamingOutputCallResponse - (*StreamingInputCallResponse)(nil), // 10: grpc.testing.StreamingInputCallResponse - (*ReconnectInfo)(nil), // 11: grpc.testing.ReconnectInfo - (*LoadBalancerStatsResponse)(nil), // 12: grpc.testing.LoadBalancerStatsResponse - (*LoadBalancerAccumulatedStatsResponse)(nil), // 13: grpc.testing.LoadBalancerAccumulatedStatsResponse - (*ClientConfigureResponse)(nil), // 14: grpc.testing.ClientConfigureResponse -} -var file_grpc_testing_test_proto_depIdxs = []int32{ - 0, // 0: grpc.testing.TestService.EmptyCall:input_type -> google.protobuf.Empty - 1, // 1: grpc.testing.TestService.UnaryCall:input_type -> grpc.testing.SimpleRequest - 1, // 2: grpc.testing.TestService.FailUnaryCall:input_type -> grpc.testing.SimpleRequest - 1, // 3: grpc.testing.TestService.CacheableUnaryCall:input_type -> grpc.testing.SimpleRequest - 2, // 4: grpc.testing.TestService.StreamingOutputCall:input_type -> grpc.testing.StreamingOutputCallRequest - 2, // 5: grpc.testing.TestService.FailStreamingOutputCall:input_type -> grpc.testing.StreamingOutputCallRequest - 3, // 6: grpc.testing.TestService.StreamingInputCall:input_type -> grpc.testing.StreamingInputCallRequest - 2, // 7: grpc.testing.TestService.FullDuplexCall:input_type -> grpc.testing.StreamingOutputCallRequest - 2, // 8: grpc.testing.TestService.HalfDuplexCall:input_type -> grpc.testing.StreamingOutputCallRequest - 0, // 9: grpc.testing.TestService.UnimplementedCall:input_type -> google.protobuf.Empty - 0, // 10: grpc.testing.TestService.UnimplementedStreamingOutputCall:input_type -> google.protobuf.Empty - 0, // 11: grpc.testing.UnimplementedService.UnimplementedCall:input_type -> google.protobuf.Empty - 0, // 12: grpc.testing.UnimplementedService.UnimplementedStreamingOutputCall:input_type -> google.protobuf.Empty - 4, // 13: grpc.testing.ReconnectService.Start:input_type -> grpc.testing.ReconnectParams - 0, // 14: grpc.testing.ReconnectService.Stop:input_type -> google.protobuf.Empty - 5, // 15: grpc.testing.LoadBalancerStatsService.GetClientStats:input_type -> grpc.testing.LoadBalancerStatsRequest - 6, // 16: grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats:input_type -> grpc.testing.LoadBalancerAccumulatedStatsRequest - 0, // 17: grpc.testing.XdsUpdateHealthService.SetServing:input_type -> google.protobuf.Empty - 0, // 18: grpc.testing.XdsUpdateHealthService.SetNotServing:input_type -> google.protobuf.Empty - 7, // 19: grpc.testing.XdsUpdateClientConfigureService.Configure:input_type -> grpc.testing.ClientConfigureRequest - 0, // 20: grpc.testing.TestService.EmptyCall:output_type -> google.protobuf.Empty - 8, // 21: grpc.testing.TestService.UnaryCall:output_type -> grpc.testing.SimpleResponse - 8, // 22: grpc.testing.TestService.FailUnaryCall:output_type -> grpc.testing.SimpleResponse - 8, // 23: grpc.testing.TestService.CacheableUnaryCall:output_type -> grpc.testing.SimpleResponse - 9, // 24: grpc.testing.TestService.StreamingOutputCall:output_type -> grpc.testing.StreamingOutputCallResponse - 9, // 25: grpc.testing.TestService.FailStreamingOutputCall:output_type -> grpc.testing.StreamingOutputCallResponse - 10, // 26: grpc.testing.TestService.StreamingInputCall:output_type -> grpc.testing.StreamingInputCallResponse - 9, // 27: grpc.testing.TestService.FullDuplexCall:output_type -> grpc.testing.StreamingOutputCallResponse - 9, // 28: grpc.testing.TestService.HalfDuplexCall:output_type -> grpc.testing.StreamingOutputCallResponse - 0, // 29: grpc.testing.TestService.UnimplementedCall:output_type -> google.protobuf.Empty - 0, // 30: grpc.testing.TestService.UnimplementedStreamingOutputCall:output_type -> google.protobuf.Empty - 0, // 31: grpc.testing.UnimplementedService.UnimplementedCall:output_type -> google.protobuf.Empty - 0, // 32: grpc.testing.UnimplementedService.UnimplementedStreamingOutputCall:output_type -> google.protobuf.Empty - 0, // 33: grpc.testing.ReconnectService.Start:output_type -> google.protobuf.Empty - 11, // 34: grpc.testing.ReconnectService.Stop:output_type -> grpc.testing.ReconnectInfo - 12, // 35: grpc.testing.LoadBalancerStatsService.GetClientStats:output_type -> grpc.testing.LoadBalancerStatsResponse - 13, // 36: grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats:output_type -> grpc.testing.LoadBalancerAccumulatedStatsResponse - 0, // 37: grpc.testing.XdsUpdateHealthService.SetServing:output_type -> google.protobuf.Empty - 0, // 38: grpc.testing.XdsUpdateHealthService.SetNotServing:output_type -> google.protobuf.Empty - 14, // 39: grpc.testing.XdsUpdateClientConfigureService.Configure:output_type -> grpc.testing.ClientConfigureResponse - 20, // [20:40] is the sub-list for method output_type - 0, // [0:20] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_grpc_testing_test_proto_init() } -func file_grpc_testing_test_proto_init() { - if File_grpc_testing_test_proto != nil { - return - } - file_grpc_testing_messages_proto_init() - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpc_testing_test_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 6, - }, - GoTypes: file_grpc_testing_test_proto_goTypes, - DependencyIndexes: file_grpc_testing_test_proto_depIdxs, - }.Build() - File_grpc_testing_test_proto = out.File - file_grpc_testing_test_proto_rawDesc = nil - file_grpc_testing_test_proto_goTypes = nil - file_grpc_testing_test_proto_depIdxs = nil -} diff --git a/internal/interop/interop.go b/internal/interop/interop.go index 0beb3f71..9bbcad09 100644 --- a/internal/interop/interop.go +++ b/internal/interop/interop.go @@ -14,13 +14,13 @@ package interop -import testpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" +import "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" // NonASCIIErrMsg is a non-ASCII error message. const NonASCIIErrMsg = "soirée 🎉" // readable non-ASCII // ErrorDetail is an error detail to be included in an error. -var ErrorDetail = &testpb.ErrorDetail{ //nolint:gochecknoglobals +var ErrorDetail = &conformance.ErrorDetail{ //nolint:gochecknoglobals Reason: NonASCIIErrMsg, Domain: "connect-crosstest", } diff --git a/internal/interop/interopconnect/test_cases.go b/internal/interop/interopconnect/test_cases.go index 76cdf34c..d86b0c8b 100644 --- a/internal/interop/interopconnect/test_cases.go +++ b/internal/interop/interopconnect/test_cases.go @@ -24,8 +24,8 @@ import ( "time" "github.com/bufbuild/connect-crosstest/internal/crosstesting" - connectpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/grpc/testing/testingconnect" - testpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/connectrpc/conformance/conformanceconnect" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" "github.com/bufbuild/connect-crosstest/internal/interop" "github.com/bufbuild/connect-go" "github.com/stretchr/testify/assert" @@ -56,20 +56,20 @@ var ( ) // clientNewPayload returns a payload of the given size. -func clientNewPayload(t crosstesting.TB, size int) (*testpb.Payload, error) { +func clientNewPayload(t crosstesting.TB, size int) (*conformance.Payload, error) { t.Helper() if size < 0 { return nil, fmt.Errorf("requested a response with invalid length %d", size) } body := make([]byte, size) - return &testpb.Payload{ - Type: testpb.PayloadType_COMPRESSABLE, + return &conformance.Payload{ + Type: conformance.PayloadType_COMPRESSABLE, Body: body, }, nil } // DoEmptyUnaryCall performs a unary RPC with empty request and response messages. -func DoEmptyUnaryCall(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoEmptyUnaryCall(t crosstesting.TB, client conformanceconnect.TestServiceClient) { reply, err := client.EmptyCall( context.Background(), connect.NewRequest(&emptypb.Empty{}), @@ -80,11 +80,11 @@ func DoEmptyUnaryCall(t crosstesting.TB, client connectpb.TestServiceClient) { } // DoCacheableUnaryCall performs an idempotent unary RPC with empty request and response messages. -func DoCacheableUnaryCall(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoCacheableUnaryCall(t crosstesting.TB, client conformanceconnect.TestServiceClient) { payload, err := clientNewPayload(t, 1) require.NoError(t, err) - req := &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseSize: int32(1), Payload: payload, } @@ -94,7 +94,7 @@ func DoCacheableUnaryCall(t crosstesting.TB, client connectpb.TestServiceClient) ) require.NoError(t, err) msg := reply.Msg - assert.True(t, proto.Equal(&testpb.SimpleResponse{ + assert.True(t, proto.Equal(&conformance.SimpleResponse{ Payload: payload, }, msg)) if reply.Header().Get("Request-Protocol") == connect.ProtocolConnect { @@ -104,29 +104,29 @@ func DoCacheableUnaryCall(t crosstesting.TB, client connectpb.TestServiceClient) } // DoLargeUnaryCall performs a unary RPC with large payload in the request and response. -func DoLargeUnaryCall(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoLargeUnaryCall(t crosstesting.TB, client conformanceconnect.TestServiceClient) { pl, err := clientNewPayload(t, largeReqSize) require.NoError(t, err) - req := &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseSize: int32(largeRespSize), Payload: pl, } reply, err := client.UnaryCall(context.Background(), connect.NewRequest(req)) require.NoError(t, err) - assert.Equal(t, reply.Msg.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.Msg.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.Msg.GetPayload().GetBody()), largeRespSize) t.Successf("successful large unary call") } // DoClientStreaming performs a client streaming RPC. -func DoClientStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoClientStreaming(t crosstesting.TB, client conformanceconnect.TestServiceClient) { stream := client.StreamingInputCall(context.Background()) var sum int for _, size := range reqSizes { pl, err := clientNewPayload(t, size) require.NoError(t, err) - req := &testpb.StreamingInputCallRequest{ + req := &conformance.StreamingInputCallRequest{ Payload: pl, } require.NoError(t, stream.Send(req)) @@ -139,15 +139,15 @@ func DoClientStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { } // DoServerStreaming performs a server streaming RPC. -func DoServerStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { - respParam := make([]*testpb.ResponseParameters, len(respSizes)) +func DoServerStreaming(t crosstesting.TB, client conformanceconnect.TestServiceClient) { + respParam := make([]*conformance.ResponseParameters, len(respSizes)) for i, s := range respSizes { - respParam[i] = &testpb.ResponseParameters{ + respParam[i] = &conformance.ResponseParameters{ Size: int32(s), } } - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, } stream, err := client.StreamingOutputCall(context.Background(), connect.NewRequest(req)) @@ -156,7 +156,7 @@ func DoServerStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { var index int for stream.Receive() { assert.NoError(t, stream.Err()) - assert.Equal(t, stream.Msg().GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, stream.Msg().GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(stream.Msg().GetPayload().GetBody()), respSizes[index]) index++ respCnt++ @@ -168,27 +168,27 @@ func DoServerStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { } // DoPingPong performs ping-pong style bi-directional streaming RPC. -func DoPingPong(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoPingPong(t crosstesting.TB, client conformanceconnect.TestServiceClient) { stream := client.FullDuplexCall(context.Background()) assert.NotNil(t, stream) var index int for index < len(reqSizes) { - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: int32(respSizes[index]), }, } pl, err := clientNewPayload(t, reqSizes[index]) require.NoError(t, err) - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: pl, } require.NoError(t, stream.Send(req)) reply, err := stream.Receive() require.NoError(t, err) - assert.Equal(t, reply.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.GetPayload().GetBody()), respSizes[index]) index++ } @@ -200,7 +200,7 @@ func DoPingPong(t crosstesting.TB, client connectpb.TestServiceClient) { } // DoEmptyStream sets up a bi-directional streaming with zero message. -func DoEmptyStream(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoEmptyStream(t crosstesting.TB, client conformanceconnect.TestServiceClient) { stream := client.FullDuplexCall(context.Background()) assert.NotNil(t, stream) require.NoError(t, stream.CloseRequest()) @@ -212,15 +212,15 @@ func DoEmptyStream(t crosstesting.TB, client connectpb.TestServiceClient) { } // DoTimeoutOnSleepingServer performs an RPC on a sleep server which causes RPC timeout. -func DoTimeoutOnSleepingServer(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoTimeoutOnSleepingServer(t crosstesting.TB, client conformanceconnect.TestServiceClient) { ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) defer cancel() stream := client.FullDuplexCall(ctx) assert.NotNil(t, stream) pl, err := clientNewPayload(t, 27182) require.NoError(t, err) - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, Payload: pl, } err = stream.Send(req) @@ -248,7 +248,7 @@ var testMetadata = metadata.MD{ //nolint:gochecknoglobals // We do want to make } // DoCancelAfterBegin cancels the RPC after metadata has been sent but before payloads are sent. -func DoCancelAfterBegin(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoCancelAfterBegin(t crosstesting.TB, client conformanceconnect.TestServiceClient) { // TODO(doria): don't use grpc metadata library here...? ctx, cancel := context.WithCancel(metadata.NewOutgoingContext(context.Background(), testMetadata)) stream := client.StreamingInputCall(ctx) @@ -260,19 +260,19 @@ func DoCancelAfterBegin(t crosstesting.TB, client connectpb.TestServiceClient) { } // DoCancelAfterFirstResponse cancels the RPC after receiving the first message from the server. -func DoCancelAfterFirstResponse(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoCancelAfterFirstResponse(t crosstesting.TB, client conformanceconnect.TestServiceClient) { ctx, cancel := context.WithCancel(context.Background()) stream := client.FullDuplexCall(ctx) assert.NotNil(t, stream) - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: 31415, }, } pl, err := clientNewPayload(t, 27182) require.NoError(t, err) - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: pl, } @@ -343,7 +343,7 @@ func validateMetadata( } // DoCustomMetadataUnary checks that metadata is echoed back to the client with unary call. -func DoCustomMetadataUnary(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoCustomMetadataUnary(t crosstesting.TB, client conformanceconnect.TestServiceClient) { customMetadataUnaryTest( t, client, @@ -357,7 +357,7 @@ func DoCustomMetadataUnary(t crosstesting.TB, client connectpb.TestServiceClient t.Successf("successful custom metadata unary") } -func DoCustomMetadataServerStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoCustomMetadataServerStreaming(t crosstesting.TB, client conformanceconnect.TestServiceClient) { customMetadataServerStreamingTest( t, client, @@ -372,7 +372,7 @@ func DoCustomMetadataServerStreaming(t crosstesting.TB, client connectpb.TestSer } // DoCustomMetadataFullDuplex checks that metadata is echoed back to the client with full duplex call. -func DoCustomMetadataFullDuplex(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoCustomMetadataFullDuplex(t crosstesting.TB, client conformanceconnect.TestServiceClient) { customMetadataFullDuplexTest( t, client, @@ -388,7 +388,7 @@ func DoCustomMetadataFullDuplex(t crosstesting.TB, client connectpb.TestServiceC // DoDuplicatedCustomMetadataUnary adds duplicated metadata keys and checks that the metadata is echoed back // to the client with unary call. -func DoDuplicatedCustomMetadataUnary(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoDuplicatedCustomMetadataUnary(t crosstesting.TB, client conformanceconnect.TestServiceClient) { customMetadataUnaryTest( t, client, @@ -402,7 +402,7 @@ func DoDuplicatedCustomMetadataUnary(t crosstesting.TB, client connectpb.TestSer t.Successf("successful duplicated custom metadata unary") } -func DoDuplicatedCustomMetadataServerStreaming(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoDuplicatedCustomMetadataServerStreaming(t crosstesting.TB, client conformanceconnect.TestServiceClient) { customMetadataServerStreamingTest( t, client, @@ -418,7 +418,7 @@ func DoDuplicatedCustomMetadataServerStreaming(t crosstesting.TB, client connect // DoDuplicatedCustomMetadataFullDuplex adds duplicated metadata keys and checks that the metadata is echoed back // to the client with full duplex call. -func DoDuplicatedCustomMetadataFullDuplex(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoDuplicatedCustomMetadataFullDuplex(t crosstesting.TB, client conformanceconnect.TestServiceClient) { customMetadataFullDuplexTest( t, client, @@ -434,15 +434,15 @@ func DoDuplicatedCustomMetadataFullDuplex(t crosstesting.TB, client connectpb.Te func customMetadataUnaryTest( t crosstesting.TB, - client connectpb.TestServiceClient, + client conformanceconnect.TestServiceClient, customMetadataString map[string][]string, customMetadataBinary map[string][][]byte, ) { // Testing with UnaryCall. payload, err := clientNewPayload(t, 1) require.NoError(t, err) - req := &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseSize: int32(1), Payload: payload, } @@ -463,26 +463,26 @@ func customMetadataUnaryTest( connectReq, ) require.NoError(t, err) - assert.Equal(t, reply.Msg.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.Msg.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.Msg.GetPayload().GetBody()), 1) validateMetadata(t, reply.Header(), reply.Trailer(), customMetadataString, customMetadataBinary) } func customMetadataServerStreamingTest( t crosstesting.TB, - client connectpb.TestServiceClient, + client conformanceconnect.TestServiceClient, customMetadataString map[string][]string, customMetadataBinary map[string][][]byte, ) { payload, err := clientNewPayload(t, 1) require.NoError(t, err) - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: 1, }, } - req := connect.NewRequest(&testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := connect.NewRequest(&conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: payload, }) @@ -507,7 +507,7 @@ func customMetadataServerStreamingTest( func customMetadataFullDuplexTest( t crosstesting.TB, - client connectpb.TestServiceClient, + client conformanceconnect.TestServiceClient, customMetadataString map[string][]string, customMetadataBinary map[string][][]byte, ) { @@ -516,13 +516,13 @@ func customMetadataFullDuplexTest( ctx := context.Background() stream := client.FullDuplexCall(ctx) assert.NotNil(t, stream) - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: 1, }, } - streamReq := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + streamReq := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: payload, } @@ -547,19 +547,19 @@ func customMetadataFullDuplexTest( } // DoStatusCodeAndMessageUnary checks that the status code is propagated back to the client with unary call. -func DoStatusCodeAndMessageUnary(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoStatusCodeAndMessageUnary(t crosstesting.TB, client conformanceconnect.TestServiceClient) { code := int32(connect.CodeUnknown) msg := "test status message" expectedErr := connect.NewError( connect.CodeUnknown, errors.New(msg), ) - respStatus := &testpb.EchoStatus{ + respStatus := &conformance.EchoStatus{ Code: code, Message: msg, } // Test UnaryCall. - req := &testpb.SimpleRequest{ + req := &conformance.SimpleRequest{ ResponseStatus: respStatus, } _, err := client.UnaryCall(context.Background(), connect.NewRequest(req)) @@ -570,21 +570,21 @@ func DoStatusCodeAndMessageUnary(t crosstesting.TB, client connectpb.TestService } // DoStatusCodeAndMessageFullDuplex checks that the status code is propagated back to the client with full duplex call. -func DoStatusCodeAndMessageFullDuplex(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoStatusCodeAndMessageFullDuplex(t crosstesting.TB, client conformanceconnect.TestServiceClient) { code := int32(connect.CodeUnknown) msg := "test status message" expectedErr := connect.NewError( connect.CodeUnknown, errors.New(msg), ) - respStatus := &testpb.EchoStatus{ + respStatus := &conformance.EchoStatus{ Code: code, Message: msg, } // Test FullDuplexCall. stream := client.FullDuplexCall(context.Background()) assert.NotNil(t, stream) - streamReq := &testpb.StreamingOutputCallRequest{ + streamReq := &conformance.StreamingOutputCallRequest{ ResponseStatus: respStatus, } require.NoError(t, stream.Send(streamReq)) @@ -598,12 +598,12 @@ func DoStatusCodeAndMessageFullDuplex(t crosstesting.TB, client connectpb.TestSe // DoSpecialStatusMessage verifies Unicode and whitespace is correctly processed // in status message. -func DoSpecialStatusMessage(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoSpecialStatusMessage(t crosstesting.TB, client conformanceconnect.TestServiceClient) { code := int32(connect.CodeUnknown) msg := "\t\ntest with whitespace\r\nand Unicode BMP ☺ and non-BMP 😈\t\n" expectedErr := connect.NewError(connect.CodeUnknown, errors.New(msg)) //nolint:stylecheck // we do want to test the behaviour for error string that end with a newline - req := &testpb.SimpleRequest{ - ResponseStatus: &testpb.EchoStatus{ + req := &conformance.SimpleRequest{ + ResponseStatus: &conformance.EchoStatus{ Code: code, Message: msg, }, @@ -618,14 +618,14 @@ func DoSpecialStatusMessage(t crosstesting.TB, client connectpb.TestServiceClien } // DoUnimplementedMethod attempts to call an unimplemented method. -func DoUnimplementedMethod(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoUnimplementedMethod(t crosstesting.TB, client conformanceconnect.TestServiceClient) { _, err := client.UnimplementedCall(context.Background(), connect.NewRequest(&emptypb.Empty{})) assert.Equal(t, connect.CodeOf(err), connect.CodeUnimplemented) t.Successf("successful unimplemented method") } // DoUnimplementedServerStreamingMethod performs a server streaming RPC that is unimplemented. -func DoUnimplementedServerStreamingMethod(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoUnimplementedServerStreamingMethod(t crosstesting.TB, client conformanceconnect.TestServiceClient) { stream, err := client.UnimplementedStreamingOutputCall(context.Background(), connect.NewRequest(&emptypb.Empty{})) require.NoError(t, err) stream.Receive() @@ -637,14 +637,14 @@ func DoUnimplementedServerStreamingMethod(t crosstesting.TB, client connectpb.Te } // DoUnimplementedService attempts to call a method from an unimplemented service. -func DoUnimplementedService(t crosstesting.TB, client connectpb.UnimplementedServiceClient) { +func DoUnimplementedService(t crosstesting.TB, client conformanceconnect.UnimplementedServiceClient) { _, err := client.UnimplementedCall(context.Background(), connect.NewRequest(&emptypb.Empty{})) assert.Equal(t, connect.CodeOf(err), connect.CodeUnimplemented) t.Successf("successful unimplemented service") } // DoUnimplementedServerStreamingService performs a server streaming RPC from an unimplemented service. -func DoUnimplementedServerStreamingService(t crosstesting.TB, client connectpb.UnimplementedServiceClient) { +func DoUnimplementedServerStreamingService(t crosstesting.TB, client conformanceconnect.UnimplementedServiceClient) { stream, err := client.UnimplementedStreamingOutputCall(context.Background(), connect.NewRequest(&emptypb.Empty{})) require.NoError(t, err) stream.Receive() @@ -656,12 +656,12 @@ func DoUnimplementedServerStreamingService(t crosstesting.TB, client connectpb.U } // DoFailWithNonASCIIError performs a unary RPC that always return a readable non-ASCII error. -func DoFailWithNonASCIIError(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoFailWithNonASCIIError(t crosstesting.TB, client conformanceconnect.TestServiceClient) { reply, err := client.FailUnaryCall( context.Background(), connect.NewRequest( - &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, }, ), ) @@ -679,9 +679,9 @@ func DoFailWithNonASCIIError(t crosstesting.TB, client connectpb.TestServiceClie } // DoFailServerStreamingWithNonASCIIError performs a server streaming RPC that always return a readable non-ASCII error. -func DoFailServerStreamingWithNonASCIIError(t crosstesting.TB, client connectpb.TestServiceClient) { - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, +func DoFailServerStreamingWithNonASCIIError(t crosstesting.TB, client conformanceconnect.TestServiceClient) { + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, } stream, err := client.FailStreamingOutputCall(context.Background(), connect.NewRequest(req)) require.NoError(t, err) @@ -700,15 +700,15 @@ func DoFailServerStreamingWithNonASCIIError(t crosstesting.TB, client connectpb. t.Successf("successful fail server streaming with non-ASCII error") } -func DoFailServerStreamingAfterResponse(t crosstesting.TB, client connectpb.TestServiceClient) { - respParam := make([]*testpb.ResponseParameters, len(respSizes)) +func DoFailServerStreamingAfterResponse(t crosstesting.TB, client conformanceconnect.TestServiceClient) { + respParam := make([]*conformance.ResponseParameters, len(respSizes)) for i, s := range respSizes { - respParam[i] = &testpb.ResponseParameters{ + respParam[i] = &conformance.ResponseParameters{ Size: int32(s), } } - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, } stream, err := client.FailStreamingOutputCall(context.Background(), connect.NewRequest(req)) @@ -734,7 +734,7 @@ func DoFailServerStreamingAfterResponse(t crosstesting.TB, client connectpb.Test } // DoUnresolvableHost attempts to call a method to an unresolvable host. -func DoUnresolvableHost(t crosstesting.TB, client connectpb.TestServiceClient) { +func DoUnresolvableHost(t crosstesting.TB, client conformanceconnect.TestServiceClient) { reply, err := client.EmptyCall( context.Background(), connect.NewRequest(&emptypb.Empty{}), diff --git a/internal/interop/interopconnect/test_server.go b/internal/interop/interopconnect/test_server.go index c961053d..3a7717e2 100644 --- a/internal/interop/interopconnect/test_server.go +++ b/internal/interop/interopconnect/test_server.go @@ -21,23 +21,23 @@ import ( "io" "time" - "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/grpc/testing/testingconnect" - testpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/connect/connectrpc/conformance/conformanceconnect" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" "github.com/bufbuild/connect-crosstest/internal/interop" "github.com/bufbuild/connect-go" "google.golang.org/protobuf/types/known/emptypb" ) // NewTestServiceHandler returns a new TestServiceHandler. -func NewTestServiceHandler() testingconnect.TestServiceHandler { +func NewTestServiceHandler() conformanceconnect.TestServiceHandler { return &testServer{} } type testServer struct { - testingconnect.UnimplementedTestServiceHandler + conformanceconnect.UnimplementedTestServiceHandler } -func (s *testServer) CacheableUnaryCall(ctx context.Context, request *connect.Request[testpb.SimpleRequest]) (*connect.Response[testpb.SimpleResponse], error) { +func (s *testServer) CacheableUnaryCall(ctx context.Context, request *connect.Request[conformance.SimpleRequest]) (*connect.Response[conformance.SimpleResponse], error) { response, err := s.UnaryCall(ctx, request) if response != nil { if request.Peer().Query.Has("message") { @@ -51,7 +51,7 @@ func (s *testServer) EmptyCall(ctx context.Context, request *connect.Request[emp return connect.NewResponse(new(emptypb.Empty)), nil } -func (s *testServer) UnaryCall(ctx context.Context, request *connect.Request[testpb.SimpleRequest]) (*connect.Response[testpb.SimpleResponse], error) { +func (s *testServer) UnaryCall(ctx context.Context, request *connect.Request[conformance.SimpleRequest]) (*connect.Response[conformance.SimpleResponse], error) { if status := request.Msg.GetResponseStatus(); status != nil && status.Code != 0 { return nil, connect.NewError(connect.Code(status.Code), errors.New(status.Message)) } @@ -60,7 +60,7 @@ func (s *testServer) UnaryCall(ctx context.Context, request *connect.Request[tes return nil, err } response := connect.NewResponse( - &testpb.SimpleResponse{ + &conformance.SimpleResponse{ Payload: payload, }, ) @@ -82,7 +82,7 @@ func (s *testServer) UnaryCall(ctx context.Context, request *connect.Request[tes return response, nil } -func (s *testServer) FailUnaryCall(ctx context.Context, request *connect.Request[testpb.SimpleRequest]) (*connect.Response[testpb.SimpleResponse], error) { +func (s *testServer) FailUnaryCall(ctx context.Context, request *connect.Request[conformance.SimpleRequest]) (*connect.Response[conformance.SimpleResponse], error) { err := connect.NewError(connect.CodeResourceExhausted, errors.New(interop.NonASCIIErrMsg)) detail, detailErr := connect.NewErrorDetail(interop.ErrorDetail) if detailErr != nil { @@ -92,7 +92,7 @@ func (s *testServer) FailUnaryCall(ctx context.Context, request *connect.Request return nil, err } -func (s *testServer) StreamingOutputCall(ctx context.Context, request *connect.Request[testpb.StreamingOutputCallRequest], stream *connect.ServerStream[testpb.StreamingOutputCallResponse]) error { +func (s *testServer) StreamingOutputCall(ctx context.Context, request *connect.Request[conformance.StreamingOutputCallRequest], stream *connect.ServerStream[conformance.StreamingOutputCallResponse]) error { if leadingMetadata := request.Header().Values(leadingMetadataKey); len(leadingMetadata) != 0 { for _, value := range leadingMetadata { stream.ResponseHeader().Add(leadingMetadataKey, value) @@ -121,7 +121,7 @@ func (s *testServer) StreamingOutputCall(ctx context.Context, request *connect.R if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: payload, }); err != nil { return err @@ -133,7 +133,7 @@ func (s *testServer) StreamingOutputCall(ctx context.Context, request *connect.R return nil } -func (s *testServer) FailStreamingOutputCall(ctx context.Context, request *connect.Request[testpb.StreamingOutputCallRequest], stream *connect.ServerStream[testpb.StreamingOutputCallResponse]) error { +func (s *testServer) FailStreamingOutputCall(ctx context.Context, request *connect.Request[conformance.StreamingOutputCallRequest], stream *connect.ServerStream[conformance.StreamingOutputCallResponse]) error { for _, param := range request.Msg.GetResponseParameters() { if us := param.GetIntervalUs(); us > 0 { time.Sleep(time.Duration(us) * time.Microsecond) @@ -148,7 +148,7 @@ func (s *testServer) FailStreamingOutputCall(ctx context.Context, request *conne if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: payload, }); err != nil { return err @@ -163,7 +163,7 @@ func (s *testServer) FailStreamingOutputCall(ctx context.Context, request *conne return err } -func (s *testServer) StreamingInputCall(ctx context.Context, stream *connect.ClientStream[testpb.StreamingInputCallRequest]) (*connect.Response[testpb.StreamingInputCallResponse], error) { +func (s *testServer) StreamingInputCall(ctx context.Context, stream *connect.ClientStream[conformance.StreamingInputCallRequest]) (*connect.Response[conformance.StreamingInputCallResponse], error) { var sum int for stream.Receive() { if err := ctx.Err(); err != nil { @@ -176,13 +176,13 @@ func (s *testServer) StreamingInputCall(ctx context.Context, stream *connect.Cli return nil, err } return connect.NewResponse( - &testpb.StreamingInputCallResponse{ + &conformance.StreamingInputCallResponse{ AggregatedPayloadSize: int32(sum), }, ), nil } -func (s *testServer) FullDuplexCall(ctx context.Context, stream *connect.BidiStream[testpb.StreamingOutputCallRequest, testpb.StreamingOutputCallResponse]) error { +func (s *testServer) FullDuplexCall(ctx context.Context, stream *connect.BidiStream[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]) error { if leadingMetadata := stream.RequestHeader().Values(leadingMetadataKey); len(leadingMetadata) != 0 { for _, value := range leadingMetadata { stream.ResponseHeader().Add(leadingMetadataKey, value) @@ -221,7 +221,7 @@ func (s *testServer) FullDuplexCall(ctx context.Context, stream *connect.BidiStr if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: payload, }); err != nil { return err @@ -230,8 +230,8 @@ func (s *testServer) FullDuplexCall(ctx context.Context, stream *connect.BidiStr } } -func (s *testServer) HalfDuplexCall(ctx context.Context, stream *connect.BidiStream[testpb.StreamingOutputCallRequest, testpb.StreamingOutputCallResponse]) error { - var msgBuf []*testpb.StreamingOutputCallRequest +func (s *testServer) HalfDuplexCall(ctx context.Context, stream *connect.BidiStream[conformance.StreamingOutputCallRequest, conformance.StreamingOutputCallResponse]) error { + var msgBuf []*conformance.StreamingOutputCallRequest for { if err := ctx.Err(); err != nil { return err @@ -256,7 +256,7 @@ func (s *testServer) HalfDuplexCall(ctx context.Context, stream *connect.BidiStr if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: payload, }); err != nil { return err @@ -266,17 +266,17 @@ func (s *testServer) HalfDuplexCall(ctx context.Context, stream *connect.BidiStr return nil } -func newServerPayload(payloadType testpb.PayloadType, size int32) (*testpb.Payload, error) { +func newServerPayload(payloadType conformance.PayloadType, size int32) (*conformance.Payload, error) { if size < 0 { return nil, fmt.Errorf("requested a response with invalid length %d", size) } body := make([]byte, size) switch payloadType { - case testpb.PayloadType_COMPRESSABLE: + case conformance.PayloadType_COMPRESSABLE: default: return nil, fmt.Errorf("unsupported payload type: %d", payloadType) } - return &testpb.Payload{ + return &conformance.Payload{ Type: payloadType, Body: body, }, nil diff --git a/internal/interop/interopgrpc/test_cases.go b/internal/interop/interopgrpc/test_cases.go index 7d408310..9084baef 100644 --- a/internal/interop/interopgrpc/test_cases.go +++ b/internal/interop/interopgrpc/test_cases.go @@ -44,7 +44,7 @@ import ( "time" "github.com/bufbuild/connect-crosstest/internal/crosstesting" - testpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" "github.com/bufbuild/connect-crosstest/internal/interop" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -77,20 +77,20 @@ var ( ) // clientNewPayload returns a payload of the given size. -func clientNewPayload(t crosstesting.TB, size int) (*testpb.Payload, error) { +func clientNewPayload(t crosstesting.TB, size int) (*conformance.Payload, error) { t.Helper() if size < 0 { return nil, fmt.Errorf("requested a response with invalid length %d", size) } body := make([]byte, size) - return &testpb.Payload{ - Type: testpb.PayloadType_COMPRESSABLE, + return &conformance.Payload{ + Type: conformance.PayloadType_COMPRESSABLE, Body: body, }, nil } // DoEmptyUnaryCall performs a unary RPC with empty request and response messages. -func DoEmptyUnaryCall(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoEmptyUnaryCall(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { reply, err := client.EmptyCall(context.Background(), &emptypb.Empty{}, args...) require.NoError(t, err) assert.True(t, proto.Equal(&emptypb.Empty{}, reply)) @@ -98,30 +98,30 @@ func DoEmptyUnaryCall(t crosstesting.TB, client testpb.TestServiceClient, args . } // DoLargeUnaryCall performs a unary RPC with large payload in the request and response. -func DoLargeUnaryCall(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoLargeUnaryCall(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { pl, err := clientNewPayload(t, largeReqSize) require.NoError(t, err) - req := &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseSize: int32(largeRespSize), Payload: pl, } reply, err := client.UnaryCall(context.Background(), req, args...) require.NoError(t, err) - assert.Equal(t, reply.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.GetPayload().GetBody()), largeRespSize) t.Successf("successful large unary call") } // DoClientStreaming performs a client streaming RPC. -func DoClientStreaming(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoClientStreaming(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { stream, err := client.StreamingInputCall(context.Background(), args...) require.NoError(t, err) var sum int for _, size := range reqSizes { pl, err := clientNewPayload(t, size) require.NoError(t, err) - req := &testpb.StreamingInputCallRequest{ + req := &conformance.StreamingInputCallRequest{ Payload: pl, } require.NoError(t, stream.Send(req)) @@ -134,15 +134,15 @@ func DoClientStreaming(t crosstesting.TB, client testpb.TestServiceClient, args } // DoServerStreaming performs a server streaming RPC. -func DoServerStreaming(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { - respParam := make([]*testpb.ResponseParameters, len(respSizes)) +func DoServerStreaming(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { + respParam := make([]*conformance.ResponseParameters, len(respSizes)) for i, s := range respSizes { - respParam[i] = &testpb.ResponseParameters{ + respParam[i] = &conformance.ResponseParameters{ Size: int32(s), } } - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, } stream, err := client.StreamingOutputCall(context.Background(), req, args...) @@ -156,7 +156,7 @@ func DoServerStreaming(t crosstesting.TB, client testpb.TestServiceClient, args rpcStatus = err break } - assert.Equal(t, reply.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.GetPayload().GetBody()), respSizes[index]) index++ respCnt++ @@ -167,27 +167,27 @@ func DoServerStreaming(t crosstesting.TB, client testpb.TestServiceClient, args } // DoPingPong performs ping-pong style bi-directional streaming RPC. -func DoPingPong(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoPingPong(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { stream, err := client.FullDuplexCall(context.Background(), args...) require.NoError(t, err) var index int for index < len(reqSizes) { - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: int32(respSizes[index]), }, } pl, err := clientNewPayload(t, reqSizes[index]) require.NoError(t, err) - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: pl, } require.NoError(t, stream.Send(req)) reply, err := stream.Recv() require.NoError(t, err) - assert.Equal(t, reply.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.GetPayload().GetBody()), respSizes[index]) index++ } @@ -198,7 +198,7 @@ func DoPingPong(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc } // DoEmptyStream sets up a bi-directional streaming with zero message. -func DoEmptyStream(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoEmptyStream(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { stream, err := client.FullDuplexCall(context.Background(), args...) require.NoError(t, err) require.NoError(t, stream.CloseSend()) @@ -209,7 +209,7 @@ func DoEmptyStream(t crosstesting.TB, client testpb.TestServiceClient, args ...g } // DoTimeoutOnSleepingServer performs an RPC on a sleep server which causes RPC timeout. -func DoTimeoutOnSleepingServer(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoTimeoutOnSleepingServer(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) defer cancel() stream, err := client.FullDuplexCall(ctx, args...) @@ -223,8 +223,8 @@ func DoTimeoutOnSleepingServer(t crosstesting.TB, client testpb.TestServiceClien require.NoError(t, err) pl, err := clientNewPayload(t, 27182) require.NoError(t, err) - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, Payload: pl, } err = stream.Send(req) @@ -241,7 +241,7 @@ var testMetadata = metadata.MD{ //nolint:gochecknoglobals // We do want to make } // DoCancelAfterBegin cancels the RPC after metadata has been sent but before payloads are sent. -func DoCancelAfterBegin(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoCancelAfterBegin(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { ctx, cancel := context.WithCancel(metadata.NewOutgoingContext(context.Background(), testMetadata)) stream, err := client.StreamingInputCall(ctx, args...) require.NoError(t, err) @@ -252,19 +252,19 @@ func DoCancelAfterBegin(t crosstesting.TB, client testpb.TestServiceClient, args } // DoCancelAfterFirstResponse cancels the RPC after receiving the first message from the server. -func DoCancelAfterFirstResponse(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoCancelAfterFirstResponse(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { ctx, cancel := context.WithCancel(context.Background()) stream, err := client.FullDuplexCall(ctx, args...) require.NoError(t, err) - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: 31415, }, } pl, err := clientNewPayload(t, 27182) require.NoError(t, err) - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: pl, } @@ -321,19 +321,19 @@ func validateMetadata(t crosstesting.TB, header, trailer, sent metadata.MD) { } // DoCustomMetadata checks that metadata is echoed back to the client. -func DoCustomMetadata(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoCustomMetadata(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { customMetadataTest(t, client, customMetadata, args...) t.Successf("successful custom metadata") } // DoDuplicateCustomMetadata adds duplicated metadata keys and checks that the metadata is echoed back // to the client. -func DoDuplicatedCustomMetadata(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoDuplicatedCustomMetadata(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { customMetadataTest(t, client, duplicatedCustomMetadata, args...) t.Successf("successful duplicated custom metadata") } -func customMetadataTest(t crosstesting.TB, client testpb.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { +func customMetadataTest(t crosstesting.TB, client conformance.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { // Testing with UnaryCall. customMetadataUnaryTest(t, client, customMetadata, args...) @@ -344,11 +344,11 @@ func customMetadataTest(t crosstesting.TB, client testpb.TestServiceClient, cust customMetadataFullDuplexTest(t, client, customMetadata, args...) } -func customMetadataUnaryTest(t crosstesting.TB, client testpb.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { +func customMetadataUnaryTest(t crosstesting.TB, client conformance.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { payload, err := clientNewPayload(t, 1) require.NoError(t, err) - req := &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseSize: int32(1), Payload: payload, } @@ -361,22 +361,22 @@ func customMetadataUnaryTest(t crosstesting.TB, client testpb.TestServiceClient, args..., ) require.NoError(t, err) - assert.Equal(t, reply.GetPayload().GetType(), testpb.PayloadType_COMPRESSABLE) + assert.Equal(t, reply.GetPayload().GetType(), conformance.PayloadType_COMPRESSABLE) assert.Equal(t, len(reply.GetPayload().GetBody()), 1) validateMetadata(t, header, trailer, customMetadata) } -func customMetadataServerStreamingTest(t crosstesting.TB, client testpb.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { +func customMetadataServerStreamingTest(t crosstesting.TB, client conformance.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { payload, err := clientNewPayload(t, 1) require.NoError(t, err) ctx := metadata.NewOutgoingContext(context.Background(), customMetadata) - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: 1, }, } - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: payload, } @@ -393,19 +393,19 @@ func customMetadataServerStreamingTest(t crosstesting.TB, client testpb.TestServ validateMetadata(t, streamHeader, streamTrailer, customMetadata) } -func customMetadataFullDuplexTest(t crosstesting.TB, client testpb.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { +func customMetadataFullDuplexTest(t crosstesting.TB, client conformance.TestServiceClient, customMetadata metadata.MD, args ...grpc.CallOption) { payload, err := clientNewPayload(t, 1) require.NoError(t, err) ctx := metadata.NewOutgoingContext(context.Background(), customMetadata) stream, err := client.FullDuplexCall(ctx, args...) require.NoError(t, err) - respParam := []*testpb.ResponseParameters{ + respParam := []*conformance.ResponseParameters{ { Size: 1, }, } - streamReq := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + streamReq := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, Payload: payload, } @@ -422,16 +422,16 @@ func customMetadataFullDuplexTest(t crosstesting.TB, client testpb.TestServiceCl } // DoStatusCodeAndMessage checks that the status code is propagated back to the client. -func DoStatusCodeAndMessage(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoStatusCodeAndMessage(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { code := int32(codes.Unknown) msg := "test status message" expectedErr := status.Error(codes.Code(code), msg) - respStatus := &testpb.EchoStatus{ + respStatus := &conformance.EchoStatus{ Code: code, Message: msg, } // Test UnaryCall. - req := &testpb.SimpleRequest{ + req := &conformance.SimpleRequest{ ResponseStatus: respStatus, } _, err := client.UnaryCall(context.Background(), req, args...) @@ -440,7 +440,7 @@ func DoStatusCodeAndMessage(t crosstesting.TB, client testpb.TestServiceClient, // Test FullDuplexCall. stream, err := client.FullDuplexCall(context.Background(), args...) require.NoError(t, err) - streamReq := &testpb.StreamingOutputCallRequest{ + streamReq := &conformance.StreamingOutputCallRequest{ ResponseStatus: respStatus, } require.NoError(t, stream.Send(streamReq)) @@ -452,12 +452,12 @@ func DoStatusCodeAndMessage(t crosstesting.TB, client testpb.TestServiceClient, // DoSpecialStatusMessage verifies Unicode and whitespace is correctly processed // in status message. -func DoSpecialStatusMessage(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoSpecialStatusMessage(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { code := int32(codes.Unknown) msg := "\t\ntest with whitespace\r\nand Unicode BMP ☺ and non-BMP 😈\t\n" expectedErr := status.Error(codes.Code(code), msg) - req := &testpb.SimpleRequest{ - ResponseStatus: &testpb.EchoStatus{ + req := &conformance.SimpleRequest{ + ResponseStatus: &conformance.EchoStatus{ Code: code, Message: msg, }, @@ -480,7 +480,7 @@ func DoUnimplementedMethod(t crosstesting.TB, cc *grpc.ClientConn, args ...grpc. } // DoUnimplementedServerStreamingMethod performs a server streaming RPC that is unimplemented. -func DoUnimplementedServerStreamingMethod(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoUnimplementedServerStreamingMethod(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { stream, err := client.UnimplementedStreamingOutputCall(context.Background(), &emptypb.Empty{}, args...) require.NoError(t, err) _, err = stream.Recv() @@ -489,14 +489,14 @@ func DoUnimplementedServerStreamingMethod(t crosstesting.TB, client testpb.TestS } // DoUnimplementedService attempts to call a method from an unimplemented service. -func DoUnimplementedService(t crosstesting.TB, client testpb.UnimplementedServiceClient, args ...grpc.CallOption) { +func DoUnimplementedService(t crosstesting.TB, client conformance.UnimplementedServiceClient, args ...grpc.CallOption) { _, err := client.UnimplementedCall(context.Background(), &emptypb.Empty{}, args...) assert.Equal(t, status.Code(err), codes.Unimplemented) t.Successf("successful unimplemented service") } // DoUnimplementedServerStreamingService performs a server streaming RPC from an unimplemented service. -func DoUnimplementedServerStreamingService(t crosstesting.TB, client testpb.UnimplementedServiceClient, args ...grpc.CallOption) { +func DoUnimplementedServerStreamingService(t crosstesting.TB, client conformance.UnimplementedServiceClient, args ...grpc.CallOption) { stream, err := client.UnimplementedStreamingOutputCall(context.Background(), &emptypb.Empty{}, args...) require.NoError(t, err) _, err = stream.Recv() @@ -505,11 +505,11 @@ func DoUnimplementedServerStreamingService(t crosstesting.TB, client testpb.Unim } // DoFailWithNonASCIIError performs a unary RPC that always return a readable non-ASCII error. -func DoFailWithNonASCIIError(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoFailWithNonASCIIError(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { reply, err := client.FailUnaryCall( context.Background(), - &testpb.SimpleRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + &conformance.SimpleRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, }, args..., ) @@ -522,16 +522,16 @@ func DoFailWithNonASCIIError(t crosstesting.TB, client testpb.TestServiceClient, errStatus, ok := status.FromError(err) require.True(t, ok) require.Len(t, errStatus.Details(), 1) - errorDetail, ok := errStatus.Details()[0].(*testpb.ErrorDetail) + errorDetail, ok := errStatus.Details()[0].(*conformance.ErrorDetail) require.True(t, ok) assert.True(t, proto.Equal(errorDetail, interop.ErrorDetail)) t.Successf("successful fail call with non-ASCII error") } // DoFailServerStreamingWithNonASCIIError performs a server streaming RPC that always return a readable non-ASCII error. -func DoFailServerStreamingWithNonASCIIError(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, +func DoFailServerStreamingWithNonASCIIError(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, } stream, err := client.FailStreamingOutputCall(context.Background(), req, args...) require.NoError(t, err) @@ -545,22 +545,22 @@ func DoFailServerStreamingWithNonASCIIError(t crosstesting.TB, client testpb.Tes errStatus, ok := status.FromError(err) require.True(t, ok) require.Len(t, errStatus.Details(), 1) - errorDetail, ok := errStatus.Details()[0].(*testpb.ErrorDetail) + errorDetail, ok := errStatus.Details()[0].(*conformance.ErrorDetail) require.True(t, ok) assert.True(t, proto.Equal(errorDetail, interop.ErrorDetail)) t.Successf("successful fail server streaming with non-ASCII error") } // DoFailServerStreamingAfterResponse performs a server streaming RPC that fails after responses have been sent from the server. -func DoFailServerStreamingAfterResponse(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { - respParam := make([]*testpb.ResponseParameters, len(respSizes)) +func DoFailServerStreamingAfterResponse(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { + respParam := make([]*conformance.ResponseParameters, len(respSizes)) for i, s := range respSizes { - respParam[i] = &testpb.ResponseParameters{ + respParam[i] = &conformance.ResponseParameters{ Size: int32(s), } } - req := &testpb.StreamingOutputCallRequest{ - ResponseType: testpb.PayloadType_COMPRESSABLE, + req := &conformance.StreamingOutputCallRequest{ + ResponseType: conformance.PayloadType_COMPRESSABLE, ResponseParameters: respParam, } stream, err := client.FailStreamingOutputCall(context.Background(), req, args...) @@ -581,14 +581,14 @@ func DoFailServerStreamingAfterResponse(t crosstesting.TB, client testpb.TestSer errStatus, ok := status.FromError(err) require.True(t, ok) require.Len(t, errStatus.Details(), 1) - errorDetail, ok := errStatus.Details()[0].(*testpb.ErrorDetail) + errorDetail, ok := errStatus.Details()[0].(*conformance.ErrorDetail) require.True(t, ok) assert.True(t, proto.Equal(errorDetail, interop.ErrorDetail)) t.Successf("successful fail server streaming after response") } // DoUnresolvableHost attempts to call a method to an unresolvable host. -func DoUnresolvableHost(t crosstesting.TB, client testpb.TestServiceClient, args ...grpc.CallOption) { +func DoUnresolvableHost(t crosstesting.TB, client conformance.TestServiceClient, args ...grpc.CallOption) { reply, err := client.EmptyCall(context.Background(), &emptypb.Empty{}, args...) assert.Nil(t, reply) assert.Error(t, err) diff --git a/internal/interop/interopgrpc/test_server.go b/internal/interop/interopgrpc/test_server.go index 088439d9..e0c64291 100644 --- a/internal/interop/interopgrpc/test_server.go +++ b/internal/interop/interopgrpc/test_server.go @@ -42,7 +42,7 @@ import ( "io" "time" - testpb "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/grpc/testing" + "github.com/bufbuild/connect-crosstest/internal/gen/proto/go/connectrpc/conformance" "github.com/bufbuild/connect-crosstest/internal/interop" "google.golang.org/grpc" "google.golang.org/grpc/codes" @@ -52,29 +52,29 @@ import ( ) // NewTestServer creates a test server for test service. -func NewTestServer() testpb.TestServiceServer { +func NewTestServer() conformance.TestServiceServer { return &testServer{} } type testServer struct { - testpb.UnimplementedTestServiceServer + conformance.UnimplementedTestServiceServer } func (s *testServer) EmptyCall(ctx context.Context, in *emptypb.Empty) (*emptypb.Empty, error) { return new(emptypb.Empty), nil } -func serverNewPayload(payloadType testpb.PayloadType, size int32) (*testpb.Payload, error) { +func serverNewPayload(payloadType conformance.PayloadType, size int32) (*conformance.Payload, error) { if size < 0 { return nil, fmt.Errorf("requested a response with invalid length %d", size) } body := make([]byte, size) switch payloadType { - case testpb.PayloadType_COMPRESSABLE: + case conformance.PayloadType_COMPRESSABLE: default: return nil, fmt.Errorf("unsupported payload type: %d", payloadType) } - return &testpb.Payload{ + return &conformance.Payload{ Type: payloadType, Body: body, }, nil @@ -89,7 +89,7 @@ func createMetadataPairs(metadataKey string, metadata []string) []string { return metadataPairs } -func (s *testServer) UnaryCall(ctx context.Context, req *testpb.SimpleRequest) (*testpb.SimpleResponse, error) { +func (s *testServer) UnaryCall(ctx context.Context, req *conformance.SimpleRequest) (*conformance.SimpleResponse, error) { responseStatus := req.GetResponseStatus() var header, trailer metadata.MD if data, ok := metadata.FromIncomingContext(ctx); ok { @@ -120,17 +120,17 @@ func (s *testServer) UnaryCall(ctx context.Context, req *testpb.SimpleRequest) ( if err != nil { return nil, err } - return &testpb.SimpleResponse{ + return &conformance.SimpleResponse{ Payload: pl, }, nil } -func (s *testServer) CacheableUnaryCall(ctx context.Context, request *testpb.SimpleRequest) (*testpb.SimpleResponse, error) { +func (s *testServer) CacheableUnaryCall(ctx context.Context, request *conformance.SimpleRequest) (*conformance.SimpleResponse, error) { return s.UnaryCall(ctx, request) } // FailUnaryCall is an additional RPC added for cross tests. -func (s *testServer) FailUnaryCall(ctx context.Context, in *testpb.SimpleRequest) (*testpb.SimpleResponse, error) { +func (s *testServer) FailUnaryCall(ctx context.Context, in *conformance.SimpleRequest) (*conformance.SimpleResponse, error) { errStatus := status.New(codes.ResourceExhausted, interop.NonASCIIErrMsg) errStatus, err := errStatus.WithDetails(interop.ErrorDetail) if err != nil { @@ -139,7 +139,7 @@ func (s *testServer) FailUnaryCall(ctx context.Context, in *testpb.SimpleRequest return nil, errStatus.Err() } -func (s *testServer) StreamingOutputCall(args *testpb.StreamingOutputCallRequest, stream testpb.TestService_StreamingOutputCallServer) error { +func (s *testServer) StreamingOutputCall(args *conformance.StreamingOutputCallRequest, stream conformance.TestService_StreamingOutputCallServer) error { responseStatus := args.GetResponseStatus() if data, ok := metadata.FromIncomingContext(stream.Context()); ok { if leadingMetadata, ok := data[leadingMetadataKey]; ok { @@ -178,7 +178,7 @@ func (s *testServer) StreamingOutputCall(args *testpb.StreamingOutputCallRequest if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: pl, }); err != nil { return err @@ -190,7 +190,7 @@ func (s *testServer) StreamingOutputCall(args *testpb.StreamingOutputCallRequest return nil } -func (s *testServer) FailStreamingOutputCall(args *testpb.StreamingOutputCallRequest, stream testpb.TestService_FailStreamingOutputCallServer) error { +func (s *testServer) FailStreamingOutputCall(args *conformance.StreamingOutputCallRequest, stream conformance.TestService_FailStreamingOutputCallServer) error { cs := args.GetResponseParameters() for _, responseParameter := range cs { if us := responseParameter.GetIntervalUs(); us > 0 { @@ -206,7 +206,7 @@ func (s *testServer) FailStreamingOutputCall(args *testpb.StreamingOutputCallReq if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: pl, }); err != nil { return err @@ -220,12 +220,12 @@ func (s *testServer) FailStreamingOutputCall(args *testpb.StreamingOutputCallReq return errStatus.Err() } -func (s *testServer) StreamingInputCall(stream testpb.TestService_StreamingInputCallServer) error { +func (s *testServer) StreamingInputCall(stream conformance.TestService_StreamingInputCallServer) error { var sum int for { req, err := stream.Recv() if errors.Is(err, io.EOF) { - return stream.SendAndClose(&testpb.StreamingInputCallResponse{ + return stream.SendAndClose(&conformance.StreamingInputCallResponse{ AggregatedPayloadSize: int32(sum), }) } @@ -240,7 +240,7 @@ func (s *testServer) StreamingInputCall(stream testpb.TestService_StreamingInput } } -func (s *testServer) FullDuplexCall(stream testpb.TestService_FullDuplexCallServer) error { +func (s *testServer) FullDuplexCall(stream conformance.TestService_FullDuplexCallServer) error { if data, ok := metadata.FromIncomingContext(stream.Context()); ok { if leadingMetadata, ok := data[leadingMetadataKey]; ok { var metadataPairs []string @@ -288,7 +288,7 @@ func (s *testServer) FullDuplexCall(stream testpb.TestService_FullDuplexCallServ if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: pl, }); err != nil { return err @@ -297,8 +297,8 @@ func (s *testServer) FullDuplexCall(stream testpb.TestService_FullDuplexCallServ } } -func (s *testServer) HalfDuplexCall(stream testpb.TestService_HalfDuplexCallServer) error { - var msgBuf []*testpb.StreamingOutputCallRequest +func (s *testServer) HalfDuplexCall(stream conformance.TestService_HalfDuplexCallServer) error { + var msgBuf []*conformance.StreamingOutputCallRequest for { if err := stream.Context().Err(); err != nil { return err @@ -323,7 +323,7 @@ func (s *testServer) HalfDuplexCall(stream testpb.TestService_HalfDuplexCallServ if err != nil { return err } - if err := stream.Send(&testpb.StreamingOutputCallResponse{ + if err := stream.Send(&conformance.StreamingOutputCallResponse{ Payload: pl, }); err != nil { return err diff --git a/proto/grpc/testing/messages.proto b/proto/connectrpc/conformance/messages.proto similarity index 93% rename from proto/grpc/testing/messages.proto rename to proto/connectrpc/conformance/messages.proto index 085c3d40..ef2c4935 100644 --- a/proto/grpc/testing/messages.proto +++ b/proto/connectrpc/conformance/messages.proto @@ -1,3 +1,17 @@ +// Copyright 2022 Buf Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // This is copied from gRPC's testing Protobuf definitions: https://github.com/grpc/grpc/blob/master/src/proto/grpc/testing/messages.proto // Copyright 2015-2016 gRPC authors. @@ -18,7 +32,7 @@ syntax = "proto3"; -package grpc.testing; +package connectrpc.conformance; import "google/protobuf/any.proto"; import "google/protobuf/wrappers.proto"; diff --git a/proto/grpc/testing/test.proto b/proto/connectrpc/conformance/test.proto similarity index 87% rename from proto/grpc/testing/test.proto rename to proto/connectrpc/conformance/test.proto index 43745f02..3e23b6d1 100644 --- a/proto/grpc/testing/test.proto +++ b/proto/connectrpc/conformance/test.proto @@ -1,3 +1,17 @@ +// Copyright 2022 Buf Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // This is copied from gRPC's testing Protobuf definitions: https://github.com/grpc/grpc/blob/master/src/proto/grpc/testing/test.proto // // The TestService has been extended to include the following RPCs: @@ -31,10 +45,10 @@ syntax = "proto3"; -package grpc.testing; +package connectrpc.conformance; +import "connectrpc/conformance/messages.proto"; import "google/protobuf/empty.proto"; -import "grpc/testing/messages.proto"; // A simple service to test the various types of RPCs and experiment with // performance with various types of payload. @@ -100,8 +114,8 @@ service UnimplementedService { // A service used to control reconnect server. service ReconnectService { - rpc Start(grpc.testing.ReconnectParams) returns (google.protobuf.Empty); - rpc Stop(google.protobuf.Empty) returns (grpc.testing.ReconnectInfo); + rpc Start(ReconnectParams) returns (google.protobuf.Empty); + rpc Stop(google.protobuf.Empty) returns (ReconnectInfo); } // A service used to obtain stats for verifying LB behavior. diff --git a/web/gen/proto/connect-web/grpc/testing/messages_pb.ts b/web/gen/proto/connect-web/connectrpc/conformance/messages_pb.ts similarity index 88% rename from web/gen/proto/connect-web/grpc/testing/messages_pb.ts rename to web/gen/proto/connect-web/connectrpc/conformance/messages_pb.ts index ab38d73c..a7e30597 100644 --- a/web/gen/proto/connect-web/grpc/testing/messages_pb.ts +++ b/web/gen/proto/connect-web/connectrpc/conformance/messages_pb.ts @@ -31,7 +31,7 @@ // Message definitions to be used by integration test service definitions. // @generated by protoc-gen-es v1.2.1 with parameter "target=ts" -// @generated from file grpc/testing/messages.proto (package grpc.testing, syntax proto3) +// @generated from file connectrpc/conformance/messages.proto (package connectrpc.conformance, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -41,7 +41,7 @@ import { Any, BoolValue, Message, proto3 } from "@bufbuild/protobuf"; /** * The type of payload that should be returned. * - * @generated from enum grpc.testing.PayloadType + * @generated from enum connectrpc.conformance.PayloadType */ export enum PayloadType { /** @@ -52,7 +52,7 @@ export enum PayloadType { COMPRESSABLE = 0, } // Retrieve enum metadata with: proto3.getEnumType(PayloadType) -proto3.util.setEnumType(PayloadType, "grpc.testing.PayloadType", [ +proto3.util.setEnumType(PayloadType, "connectrpc.conformance.PayloadType", [ { no: 0, name: "COMPRESSABLE" }, ]); @@ -64,7 +64,7 @@ proto3.util.setEnumType(PayloadType, "grpc.testing.PayloadType", [ * the address of this server from the gRPCLB server BalanceLoad RPC). Exactly * how this detection is done is context and server dependent. * - * @generated from enum grpc.testing.GrpclbRouteType + * @generated from enum connectrpc.conformance.GrpclbRouteType */ export enum GrpclbRouteType { /** @@ -89,7 +89,7 @@ export enum GrpclbRouteType { BACKEND = 2, } // Retrieve enum metadata with: proto3.getEnumType(GrpclbRouteType) -proto3.util.setEnumType(GrpclbRouteType, "grpc.testing.GrpclbRouteType", [ +proto3.util.setEnumType(GrpclbRouteType, "connectrpc.conformance.GrpclbRouteType", [ { no: 0, name: "GRPCLB_ROUTE_TYPE_UNKNOWN" }, { no: 1, name: "GRPCLB_ROUTE_TYPE_FALLBACK" }, { no: 2, name: "GRPCLB_ROUTE_TYPE_BACKEND" }, @@ -98,13 +98,13 @@ proto3.util.setEnumType(GrpclbRouteType, "grpc.testing.GrpclbRouteType", [ /** * A block of data, to simply increase gRPC message size. * - * @generated from message grpc.testing.Payload + * @generated from message connectrpc.conformance.Payload */ export class Payload extends Message { /** * The type of data in body. * - * @generated from field: grpc.testing.PayloadType type = 1; + * @generated from field: connectrpc.conformance.PayloadType type = 1; */ type = PayloadType.COMPRESSABLE; @@ -121,7 +121,7 @@ export class Payload extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.Payload"; + static readonly typeName = "connectrpc.conformance.Payload"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(PayloadType) }, { no: 2, name: "body", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, @@ -148,7 +148,7 @@ export class Payload extends Message { * A protobuf representation for grpc status. This is used by test * clients to specify a status that the server should attempt to return. * - * @generated from message grpc.testing.EchoStatus + * @generated from message connectrpc.conformance.EchoStatus */ export class EchoStatus extends Message { /** @@ -167,7 +167,7 @@ export class EchoStatus extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.EchoStatus"; + static readonly typeName = "connectrpc.conformance.EchoStatus"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -193,14 +193,14 @@ export class EchoStatus extends Message { /** * Unary request. * - * @generated from message grpc.testing.SimpleRequest + * @generated from message connectrpc.conformance.SimpleRequest */ export class SimpleRequest extends Message { /** * Desired payload type in the response from the server. * If response_type is RANDOM, server randomly chooses one from other formats. * - * @generated from field: grpc.testing.PayloadType response_type = 1; + * @generated from field: connectrpc.conformance.PayloadType response_type = 1; */ responseType = PayloadType.COMPRESSABLE; @@ -214,7 +214,7 @@ export class SimpleRequest extends Message { /** * Optional input payload sent along with the request. * - * @generated from field: grpc.testing.Payload payload = 3; + * @generated from field: connectrpc.conformance.Payload payload = 3; */ payload?: Payload; @@ -245,7 +245,7 @@ export class SimpleRequest extends Message { /** * Whether server should return a given status * - * @generated from field: grpc.testing.EchoStatus response_status = 7; + * @generated from field: connectrpc.conformance.EchoStatus response_status = 7; */ responseStatus?: EchoStatus; @@ -276,7 +276,7 @@ export class SimpleRequest extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.SimpleRequest"; + static readonly typeName = "connectrpc.conformance.SimpleRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "response_type", kind: "enum", T: proto3.getEnumType(PayloadType) }, { no: 2, name: "response_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, @@ -310,13 +310,13 @@ export class SimpleRequest extends Message { /** * Unary response, as configured by the request. * - * @generated from message grpc.testing.SimpleResponse + * @generated from message connectrpc.conformance.SimpleResponse */ export class SimpleResponse extends Message { /** * Payload to increase message size. * - * @generated from field: grpc.testing.Payload payload = 1; + * @generated from field: connectrpc.conformance.Payload payload = 1; */ payload?: Payload; @@ -346,7 +346,7 @@ export class SimpleResponse extends Message { /** * gRPCLB Path. * - * @generated from field: grpc.testing.GrpclbRouteType grpclb_route_type = 5; + * @generated from field: connectrpc.conformance.GrpclbRouteType grpclb_route_type = 5; */ grpclbRouteType = GrpclbRouteType.UNKNOWN; @@ -363,7 +363,7 @@ export class SimpleResponse extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.SimpleResponse"; + static readonly typeName = "connectrpc.conformance.SimpleResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "payload", kind: "message", T: Payload }, { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -393,13 +393,13 @@ export class SimpleResponse extends Message { /** * Client-streaming request. * - * @generated from message grpc.testing.StreamingInputCallRequest + * @generated from message connectrpc.conformance.StreamingInputCallRequest */ export class StreamingInputCallRequest extends Message { /** * Optional input payload sent along with the request. * - * @generated from field: grpc.testing.Payload payload = 1; + * @generated from field: connectrpc.conformance.Payload payload = 1; */ payload?: Payload; @@ -419,7 +419,7 @@ export class StreamingInputCallRequest extends Message [ { no: 1, name: "payload", kind: "message", T: Payload }, { no: 2, name: "expect_compressed", kind: "message", T: BoolValue }, @@ -445,7 +445,7 @@ export class StreamingInputCallRequest extends Message { /** @@ -461,7 +461,7 @@ export class StreamingInputCallResponse extends Message [ { no: 1, name: "aggregated_payload_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, ]); @@ -486,7 +486,7 @@ export class StreamingInputCallResponse extends Message { /** @@ -520,7 +520,7 @@ export class ResponseParameters extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ResponseParameters"; + static readonly typeName = "connectrpc.conformance.ResponseParameters"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "size", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 2, name: "interval_us", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, @@ -547,7 +547,7 @@ export class ResponseParameters extends Message { /** * Server-streaming request. * - * @generated from message grpc.testing.StreamingOutputCallRequest + * @generated from message connectrpc.conformance.StreamingOutputCallRequest */ export class StreamingOutputCallRequest extends Message { /** @@ -556,28 +556,28 @@ export class StreamingOutputCallRequest extends Message [ { no: 1, name: "response_type", kind: "enum", T: proto3.getEnumType(PayloadType) }, { no: 2, name: "response_parameters", kind: "message", T: ResponseParameters, repeated: true }, @@ -615,13 +615,13 @@ export class StreamingOutputCallRequest extends Message { /** * Payload to increase response size. * - * @generated from field: grpc.testing.Payload payload = 1; + * @generated from field: connectrpc.conformance.Payload payload = 1; */ payload?: Payload; @@ -631,7 +631,7 @@ export class StreamingOutputCallResponse extends Message [ { no: 1, name: "payload", kind: "message", T: Payload }, ]); @@ -657,7 +657,7 @@ export class StreamingOutputCallResponse extends Message { /** @@ -671,7 +671,7 @@ export class ReconnectParams extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ReconnectParams"; + static readonly typeName = "connectrpc.conformance.ReconnectParams"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "max_reconnect_backoff_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, ]); @@ -698,7 +698,7 @@ export class ReconnectParams extends Message { * Server tells client whether its reconnects are following the spec and the * reconnect backoffs it saw. * - * @generated from message grpc.testing.ReconnectInfo + * @generated from message connectrpc.conformance.ReconnectInfo */ export class ReconnectInfo extends Message { /** @@ -717,7 +717,7 @@ export class ReconnectInfo extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ReconnectInfo"; + static readonly typeName = "connectrpc.conformance.ReconnectInfo"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "passed", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 2, name: "backoff_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, @@ -741,7 +741,7 @@ export class ReconnectInfo extends Message { } /** - * @generated from message grpc.testing.LoadBalancerStatsRequest + * @generated from message connectrpc.conformance.LoadBalancerStatsRequest */ export class LoadBalancerStatsRequest extends Message { /** @@ -764,7 +764,7 @@ export class LoadBalancerStatsRequest extends Message } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.LoadBalancerStatsRequest"; + static readonly typeName = "connectrpc.conformance.LoadBalancerStatsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "num_rpcs", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 2, name: "timeout_sec", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, @@ -788,7 +788,7 @@ export class LoadBalancerStatsRequest extends Message } /** - * @generated from message grpc.testing.LoadBalancerStatsResponse + * @generated from message connectrpc.conformance.LoadBalancerStatsResponse */ export class LoadBalancerStatsResponse extends Message { /** @@ -806,7 +806,7 @@ export class LoadBalancerStatsResponse extends Message rpcs_by_method = 3; + * @generated from field: map rpcs_by_method = 3; */ rpcsByMethod: { [key: string]: LoadBalancerStatsResponse_RpcsByPeer } = {}; @@ -816,7 +816,7 @@ export class LoadBalancerStatsResponse extends Message [ { no: 1, name: "rpcs_by_peer", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} }, { no: 2, name: "num_failures", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, @@ -841,7 +841,7 @@ export class LoadBalancerStatsResponse extends Message { /** @@ -857,7 +857,7 @@ export class LoadBalancerStatsResponse_RpcsByPeer extends Message [ { no: 1, name: "rpcs_by_peer", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} }, ]); @@ -882,7 +882,7 @@ export class LoadBalancerStatsResponse_RpcsByPeer extends Message { constructor(data?: PartialMessage) { @@ -891,7 +891,7 @@ export class LoadBalancerAccumulatedStatsRequest extends Message [ ]); @@ -915,7 +915,7 @@ export class LoadBalancerAccumulatedStatsRequest extends Message { /** @@ -949,7 +949,7 @@ export class LoadBalancerAccumulatedStatsResponse extends Message stats_per_method = 4; + * @generated from field: map stats_per_method = 4; */ statsPerMethod: { [key: string]: LoadBalancerAccumulatedStatsResponse_MethodStats } = {}; @@ -959,7 +959,7 @@ export class LoadBalancerAccumulatedStatsResponse extends Message [ { no: 1, name: "num_rpcs_started_by_method", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} }, { no: 2, name: "num_rpcs_succeeded_by_method", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} }, @@ -985,7 +985,7 @@ export class LoadBalancerAccumulatedStatsResponse extends Message { /** @@ -1009,7 +1009,7 @@ export class LoadBalancerAccumulatedStatsResponse_MethodStats extends Message [ { no: 1, name: "rpcs_started", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 2, name: "result", kind: "map", K: 5 /* ScalarType.INT32 */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} }, @@ -1035,20 +1035,20 @@ export class LoadBalancerAccumulatedStatsResponse_MethodStats extends Message { /** * The types of RPCs the client sends. * - * @generated from field: repeated grpc.testing.ClientConfigureRequest.RpcType types = 1; + * @generated from field: repeated connectrpc.conformance.ClientConfigureRequest.RpcType types = 1; */ types: ClientConfigureRequest_RpcType[] = []; /** * The collection of custom metadata to be attached to RPCs sent by the client. * - * @generated from field: repeated grpc.testing.ClientConfigureRequest.Metadata metadata = 2; + * @generated from field: repeated connectrpc.conformance.ClientConfigureRequest.Metadata metadata = 2; */ metadata: ClientConfigureRequest_Metadata[] = []; @@ -1066,7 +1066,7 @@ export class ClientConfigureRequest extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ClientConfigureRequest"; + static readonly typeName = "connectrpc.conformance.ClientConfigureRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "types", kind: "enum", T: proto3.getEnumType(ClientConfigureRequest_RpcType), repeated: true }, { no: 2, name: "metadata", kind: "message", T: ClientConfigureRequest_Metadata, repeated: true }, @@ -1093,7 +1093,7 @@ export class ClientConfigureRequest extends Message { /** * Type of RPCs to send. * - * @generated from enum grpc.testing.ClientConfigureRequest.RpcType + * @generated from enum connectrpc.conformance.ClientConfigureRequest.RpcType */ export enum ClientConfigureRequest_RpcType { /** @@ -1107,7 +1107,7 @@ export enum ClientConfigureRequest_RpcType { UNARY_CALL = 1, } // Retrieve enum metadata with: proto3.getEnumType(ClientConfigureRequest_RpcType) -proto3.util.setEnumType(ClientConfigureRequest_RpcType, "grpc.testing.ClientConfigureRequest.RpcType", [ +proto3.util.setEnumType(ClientConfigureRequest_RpcType, "connectrpc.conformance.ClientConfigureRequest.RpcType", [ { no: 0, name: "EMPTY_CALL" }, { no: 1, name: "UNARY_CALL" }, ]); @@ -1115,11 +1115,11 @@ proto3.util.setEnumType(ClientConfigureRequest_RpcType, "grpc.testing.ClientConf /** * Metadata to be attached for the given type of RPCs. * - * @generated from message grpc.testing.ClientConfigureRequest.Metadata + * @generated from message connectrpc.conformance.ClientConfigureRequest.Metadata */ export class ClientConfigureRequest_Metadata extends Message { /** - * @generated from field: grpc.testing.ClientConfigureRequest.RpcType type = 1; + * @generated from field: connectrpc.conformance.ClientConfigureRequest.RpcType type = 1; */ type = ClientConfigureRequest_RpcType.EMPTY_CALL; @@ -1139,7 +1139,7 @@ export class ClientConfigureRequest_Metadata extends Message [ { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(ClientConfigureRequest_RpcType) }, { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -1166,7 +1166,7 @@ export class ClientConfigureRequest_Metadata extends Message { constructor(data?: PartialMessage) { @@ -1175,7 +1175,7 @@ export class ClientConfigureResponse extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ClientConfigureResponse"; + static readonly typeName = "connectrpc.conformance.ClientConfigureResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); @@ -1197,7 +1197,7 @@ export class ClientConfigureResponse extends Message { } /** - * @generated from message grpc.testing.ErrorDetail + * @generated from message connectrpc.conformance.ErrorDetail */ export class ErrorDetail extends Message { /** @@ -1216,7 +1216,7 @@ export class ErrorDetail extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ErrorDetail"; + static readonly typeName = "connectrpc.conformance.ErrorDetail"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ }, @@ -1240,7 +1240,7 @@ export class ErrorDetail extends Message { } /** - * @generated from message grpc.testing.ErrorStatus + * @generated from message connectrpc.conformance.ErrorStatus */ export class ErrorStatus extends Message { /** @@ -1264,7 +1264,7 @@ export class ErrorStatus extends Message { } static readonly runtime: typeof proto3 = proto3; - static readonly typeName = "grpc.testing.ErrorStatus"; + static readonly typeName = "connectrpc.conformance.ErrorStatus"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, diff --git a/web/gen/proto/connect-web/grpc/testing/test_connect.ts b/web/gen/proto/connect-web/connectrpc/conformance/test_connect.ts similarity index 78% rename from web/gen/proto/connect-web/grpc/testing/test_connect.ts rename to web/gen/proto/connect-web/connectrpc/conformance/test_connect.ts index e4305fef..5d119f90 100644 --- a/web/gen/proto/connect-web/grpc/testing/test_connect.ts +++ b/web/gen/proto/connect-web/connectrpc/conformance/test_connect.ts @@ -44,7 +44,7 @@ // of unary/streaming requests/responses. // @generated by protoc-gen-connect-es v0.10.0 with parameter "target=ts" -// @generated from file grpc/testing/test.proto (package grpc.testing, syntax proto3) +// @generated from file connectrpc/conformance/test.proto (package connectrpc.conformance, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -55,15 +55,15 @@ import { ClientConfigureRequest, ClientConfigureResponse, LoadBalancerAccumulate * A simple service to test the various types of RPCs and experiment with * performance with various types of payload. * - * @generated from service grpc.testing.TestService + * @generated from service connectrpc.conformance.TestService */ export const TestService = { - typeName: "grpc.testing.TestService", + typeName: "connectrpc.conformance.TestService", methods: { /** * One empty request followed by one empty response. * - * @generated from rpc grpc.testing.TestService.EmptyCall + * @generated from rpc connectrpc.conformance.TestService.EmptyCall */ emptyCall: { name: "EmptyCall", @@ -74,7 +74,7 @@ export const TestService = { /** * One request followed by one response. * - * @generated from rpc grpc.testing.TestService.UnaryCall + * @generated from rpc connectrpc.conformance.TestService.UnaryCall */ unaryCall: { name: "UnaryCall", @@ -85,7 +85,7 @@ export const TestService = { /** * One request followed by one response. This RPC always fails. * - * @generated from rpc grpc.testing.TestService.FailUnaryCall + * @generated from rpc connectrpc.conformance.TestService.FailUnaryCall */ failUnaryCall: { name: "FailUnaryCall", @@ -98,7 +98,7 @@ export const TestService = { * headers set such that a caching HTTP proxy (such as GFE) can * satisfy subsequent requests. * - * @generated from rpc grpc.testing.TestService.CacheableUnaryCall + * @generated from rpc connectrpc.conformance.TestService.CacheableUnaryCall */ cacheableUnaryCall: { name: "CacheableUnaryCall", @@ -111,7 +111,7 @@ export const TestService = { * One request followed by a sequence of responses (streamed download). * The server returns the payload with client desired type and sizes. * - * @generated from rpc grpc.testing.TestService.StreamingOutputCall + * @generated from rpc connectrpc.conformance.TestService.StreamingOutputCall */ streamingOutputCall: { name: "StreamingOutputCall", @@ -124,7 +124,7 @@ export const TestService = { * The server returns the payload with client desired type and sizes. * This RPC always responds with an error status. * - * @generated from rpc grpc.testing.TestService.FailStreamingOutputCall + * @generated from rpc connectrpc.conformance.TestService.FailStreamingOutputCall */ failStreamingOutputCall: { name: "FailStreamingOutputCall", @@ -136,7 +136,7 @@ export const TestService = { * A sequence of requests followed by one response (streamed upload). * The server returns the aggregated size of client payload as the result. * - * @generated from rpc grpc.testing.TestService.StreamingInputCall + * @generated from rpc connectrpc.conformance.TestService.StreamingInputCall */ streamingInputCall: { name: "StreamingInputCall", @@ -149,7 +149,7 @@ export const TestService = { * As one request could lead to multiple responses, this interface * demonstrates the idea of full duplexing. * - * @generated from rpc grpc.testing.TestService.FullDuplexCall + * @generated from rpc connectrpc.conformance.TestService.FullDuplexCall */ fullDuplexCall: { name: "FullDuplexCall", @@ -163,7 +163,7 @@ export const TestService = { * stream of responses are returned to the client when the server starts with * first request. * - * @generated from rpc grpc.testing.TestService.HalfDuplexCall + * @generated from rpc connectrpc.conformance.TestService.HalfDuplexCall */ halfDuplexCall: { name: "HalfDuplexCall", @@ -175,7 +175,7 @@ export const TestService = { * The test server will not implement this method. It will be used * to test the behavior when clients call unimplemented methods. * - * @generated from rpc grpc.testing.TestService.UnimplementedCall + * @generated from rpc connectrpc.conformance.TestService.UnimplementedCall */ unimplementedCall: { name: "UnimplementedCall", @@ -187,7 +187,7 @@ export const TestService = { * The test server will not implement this method. It will be used * to test the behavior when clients call unimplemented streaming output methods. * - * @generated from rpc grpc.testing.TestService.UnimplementedStreamingOutputCall + * @generated from rpc connectrpc.conformance.TestService.UnimplementedStreamingOutputCall */ unimplementedStreamingOutputCall: { name: "UnimplementedStreamingOutputCall", @@ -202,15 +202,15 @@ export const TestService = { * A simple service NOT implemented at servers so clients can test for * that case. * - * @generated from service grpc.testing.UnimplementedService + * @generated from service connectrpc.conformance.UnimplementedService */ export const UnimplementedService = { - typeName: "grpc.testing.UnimplementedService", + typeName: "connectrpc.conformance.UnimplementedService", methods: { /** * A call that no server should implement * - * @generated from rpc grpc.testing.UnimplementedService.UnimplementedCall + * @generated from rpc connectrpc.conformance.UnimplementedService.UnimplementedCall */ unimplementedCall: { name: "UnimplementedCall", @@ -221,7 +221,7 @@ export const UnimplementedService = { /** * A call that no server should implement * - * @generated from rpc grpc.testing.UnimplementedService.UnimplementedStreamingOutputCall + * @generated from rpc connectrpc.conformance.UnimplementedService.UnimplementedStreamingOutputCall */ unimplementedStreamingOutputCall: { name: "UnimplementedStreamingOutputCall", @@ -235,13 +235,13 @@ export const UnimplementedService = { /** * A service used to control reconnect server. * - * @generated from service grpc.testing.ReconnectService + * @generated from service connectrpc.conformance.ReconnectService */ export const ReconnectService = { - typeName: "grpc.testing.ReconnectService", + typeName: "connectrpc.conformance.ReconnectService", methods: { /** - * @generated from rpc grpc.testing.ReconnectService.Start + * @generated from rpc connectrpc.conformance.ReconnectService.Start */ start: { name: "Start", @@ -250,7 +250,7 @@ export const ReconnectService = { kind: MethodKind.Unary, }, /** - * @generated from rpc grpc.testing.ReconnectService.Stop + * @generated from rpc connectrpc.conformance.ReconnectService.Stop */ stop: { name: "Stop", @@ -264,15 +264,15 @@ export const ReconnectService = { /** * A service used to obtain stats for verifying LB behavior. * - * @generated from service grpc.testing.LoadBalancerStatsService + * @generated from service connectrpc.conformance.LoadBalancerStatsService */ export const LoadBalancerStatsService = { - typeName: "grpc.testing.LoadBalancerStatsService", + typeName: "connectrpc.conformance.LoadBalancerStatsService", methods: { /** * Gets the backend distribution for RPCs sent by a test client. * - * @generated from rpc grpc.testing.LoadBalancerStatsService.GetClientStats + * @generated from rpc connectrpc.conformance.LoadBalancerStatsService.GetClientStats */ getClientStats: { name: "GetClientStats", @@ -283,7 +283,7 @@ export const LoadBalancerStatsService = { /** * Gets the accumulated stats for RPCs sent by a test client. * - * @generated from rpc grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats + * @generated from rpc connectrpc.conformance.LoadBalancerStatsService.GetClientAccumulatedStats */ getClientAccumulatedStats: { name: "GetClientAccumulatedStats", @@ -297,13 +297,13 @@ export const LoadBalancerStatsService = { /** * A service to remotely control health status of an xDS test server. * - * @generated from service grpc.testing.XdsUpdateHealthService + * @generated from service connectrpc.conformance.XdsUpdateHealthService */ export const XdsUpdateHealthService = { - typeName: "grpc.testing.XdsUpdateHealthService", + typeName: "connectrpc.conformance.XdsUpdateHealthService", methods: { /** - * @generated from rpc grpc.testing.XdsUpdateHealthService.SetServing + * @generated from rpc connectrpc.conformance.XdsUpdateHealthService.SetServing */ setServing: { name: "SetServing", @@ -312,7 +312,7 @@ export const XdsUpdateHealthService = { kind: MethodKind.Unary, }, /** - * @generated from rpc grpc.testing.XdsUpdateHealthService.SetNotServing + * @generated from rpc connectrpc.conformance.XdsUpdateHealthService.SetNotServing */ setNotServing: { name: "SetNotServing", @@ -326,15 +326,15 @@ export const XdsUpdateHealthService = { /** * A service to dynamically update the configuration of an xDS test client. * - * @generated from service grpc.testing.XdsUpdateClientConfigureService + * @generated from service connectrpc.conformance.XdsUpdateClientConfigureService */ export const XdsUpdateClientConfigureService = { - typeName: "grpc.testing.XdsUpdateClientConfigureService", + typeName: "connectrpc.conformance.XdsUpdateClientConfigureService", methods: { /** * Update the tes client's configuration. * - * @generated from rpc grpc.testing.XdsUpdateClientConfigureService.Configure + * @generated from rpc connectrpc.conformance.XdsUpdateClientConfigureService.Configure */ configure: { name: "Configure", diff --git a/web/gen/proto/grpc-web/grpc/testing/TestServiceClientPb.ts b/web/gen/proto/grpc-web/connectrpc/conformance/TestServiceClientPb.ts similarity index 64% rename from web/gen/proto/grpc-web/grpc/testing/TestServiceClientPb.ts rename to web/gen/proto/grpc-web/connectrpc/conformance/TestServiceClientPb.ts index cb7b14d8..87ad8174 100644 --- a/web/gen/proto/grpc-web/grpc/testing/TestServiceClientPb.ts +++ b/web/gen/proto/grpc-web/connectrpc/conformance/TestServiceClientPb.ts @@ -1,5 +1,5 @@ /** - * @fileoverview gRPC-Web generated client stub for grpc.testing + * @fileoverview gRPC-Web generated client stub for connectrpc.conformance * @enhanceable * @public */ @@ -8,7 +8,7 @@ // versions: // protoc-gen-grpc-web v1.4.2 // protoc v0.0.0 -// source: grpc/testing/test.proto +// source: connectrpc/conformance/test.proto /* eslint-disable */ @@ -17,8 +17,8 @@ import * as grpcWeb from 'grpc-web'; +import * as connectrpc_conformance_messages_pb from '../../connectrpc/conformance/messages_pb'; import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; -import * as grpc_testing_messages_pb from '../../grpc/testing/messages_pb'; export class TestServiceClient { @@ -41,7 +41,7 @@ export class TestServiceClient { } methodDescriptorEmptyCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/EmptyCall', + '/connectrpc.conformance.TestService/EmptyCall', grpcWeb.MethodType.UNARY, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -69,7 +69,7 @@ export class TestServiceClient { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.TestService/EmptyCall', + '/connectrpc.conformance.TestService/EmptyCall', request, metadata || {}, this.methodDescriptorEmptyCall, @@ -77,42 +77,42 @@ export class TestServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.TestService/EmptyCall', + '/connectrpc.conformance.TestService/EmptyCall', request, metadata || {}, this.methodDescriptorEmptyCall); } methodDescriptorUnaryCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/UnaryCall', + '/connectrpc.conformance.TestService/UnaryCall', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.SimpleRequest, - grpc_testing_messages_pb.SimpleResponse, - (request: grpc_testing_messages_pb.SimpleRequest) => { + connectrpc_conformance_messages_pb.SimpleRequest, + connectrpc_conformance_messages_pb.SimpleResponse, + (request: connectrpc_conformance_messages_pb.SimpleRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.SimpleResponse.deserializeBinary + connectrpc_conformance_messages_pb.SimpleResponse.deserializeBinary ); unaryCall( - request: grpc_testing_messages_pb.SimpleRequest, - metadata: grpcWeb.Metadata | null): Promise; + request: connectrpc_conformance_messages_pb.SimpleRequest, + metadata: grpcWeb.Metadata | null): Promise; unaryCall( - request: grpc_testing_messages_pb.SimpleRequest, + request: connectrpc_conformance_messages_pb.SimpleRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.SimpleResponse) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.SimpleResponse) => void): grpcWeb.ClientReadableStream; unaryCall( - request: grpc_testing_messages_pb.SimpleRequest, + request: connectrpc_conformance_messages_pb.SimpleRequest, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.SimpleResponse) => void) { + response: connectrpc_conformance_messages_pb.SimpleResponse) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.TestService/UnaryCall', + '/connectrpc.conformance.TestService/UnaryCall', request, metadata || {}, this.methodDescriptorUnaryCall, @@ -120,42 +120,42 @@ export class TestServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.TestService/UnaryCall', + '/connectrpc.conformance.TestService/UnaryCall', request, metadata || {}, this.methodDescriptorUnaryCall); } methodDescriptorFailUnaryCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/FailUnaryCall', + '/connectrpc.conformance.TestService/FailUnaryCall', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.SimpleRequest, - grpc_testing_messages_pb.SimpleResponse, - (request: grpc_testing_messages_pb.SimpleRequest) => { + connectrpc_conformance_messages_pb.SimpleRequest, + connectrpc_conformance_messages_pb.SimpleResponse, + (request: connectrpc_conformance_messages_pb.SimpleRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.SimpleResponse.deserializeBinary + connectrpc_conformance_messages_pb.SimpleResponse.deserializeBinary ); failUnaryCall( - request: grpc_testing_messages_pb.SimpleRequest, - metadata: grpcWeb.Metadata | null): Promise; + request: connectrpc_conformance_messages_pb.SimpleRequest, + metadata: grpcWeb.Metadata | null): Promise; failUnaryCall( - request: grpc_testing_messages_pb.SimpleRequest, + request: connectrpc_conformance_messages_pb.SimpleRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.SimpleResponse) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.SimpleResponse) => void): grpcWeb.ClientReadableStream; failUnaryCall( - request: grpc_testing_messages_pb.SimpleRequest, + request: connectrpc_conformance_messages_pb.SimpleRequest, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.SimpleResponse) => void) { + response: connectrpc_conformance_messages_pb.SimpleResponse) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.TestService/FailUnaryCall', + '/connectrpc.conformance.TestService/FailUnaryCall', request, metadata || {}, this.methodDescriptorFailUnaryCall, @@ -163,42 +163,42 @@ export class TestServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.TestService/FailUnaryCall', + '/connectrpc.conformance.TestService/FailUnaryCall', request, metadata || {}, this.methodDescriptorFailUnaryCall); } methodDescriptorCacheableUnaryCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/CacheableUnaryCall', + '/connectrpc.conformance.TestService/CacheableUnaryCall', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.SimpleRequest, - grpc_testing_messages_pb.SimpleResponse, - (request: grpc_testing_messages_pb.SimpleRequest) => { + connectrpc_conformance_messages_pb.SimpleRequest, + connectrpc_conformance_messages_pb.SimpleResponse, + (request: connectrpc_conformance_messages_pb.SimpleRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.SimpleResponse.deserializeBinary + connectrpc_conformance_messages_pb.SimpleResponse.deserializeBinary ); cacheableUnaryCall( - request: grpc_testing_messages_pb.SimpleRequest, - metadata: grpcWeb.Metadata | null): Promise; + request: connectrpc_conformance_messages_pb.SimpleRequest, + metadata: grpcWeb.Metadata | null): Promise; cacheableUnaryCall( - request: grpc_testing_messages_pb.SimpleRequest, + request: connectrpc_conformance_messages_pb.SimpleRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.SimpleResponse) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.SimpleResponse) => void): grpcWeb.ClientReadableStream; cacheableUnaryCall( - request: grpc_testing_messages_pb.SimpleRequest, + request: connectrpc_conformance_messages_pb.SimpleRequest, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.SimpleResponse) => void) { + response: connectrpc_conformance_messages_pb.SimpleResponse) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.TestService/CacheableUnaryCall', + '/connectrpc.conformance.TestService/CacheableUnaryCall', request, metadata || {}, this.methodDescriptorCacheableUnaryCall, @@ -206,58 +206,58 @@ export class TestServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.TestService/CacheableUnaryCall', + '/connectrpc.conformance.TestService/CacheableUnaryCall', request, metadata || {}, this.methodDescriptorCacheableUnaryCall); } methodDescriptorStreamingOutputCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/StreamingOutputCall', + '/connectrpc.conformance.TestService/StreamingOutputCall', grpcWeb.MethodType.SERVER_STREAMING, - grpc_testing_messages_pb.StreamingOutputCallRequest, - grpc_testing_messages_pb.StreamingOutputCallResponse, - (request: grpc_testing_messages_pb.StreamingOutputCallRequest) => { + connectrpc_conformance_messages_pb.StreamingOutputCallRequest, + connectrpc_conformance_messages_pb.StreamingOutputCallResponse, + (request: connectrpc_conformance_messages_pb.StreamingOutputCallRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.StreamingOutputCallResponse.deserializeBinary + connectrpc_conformance_messages_pb.StreamingOutputCallResponse.deserializeBinary ); streamingOutputCall( - request: grpc_testing_messages_pb.StreamingOutputCallRequest, - metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream { + request: connectrpc_conformance_messages_pb.StreamingOutputCallRequest, + metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream { return this.client_.serverStreaming( this.hostname_ + - '/grpc.testing.TestService/StreamingOutputCall', + '/connectrpc.conformance.TestService/StreamingOutputCall', request, metadata || {}, this.methodDescriptorStreamingOutputCall); } methodDescriptorFailStreamingOutputCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/FailStreamingOutputCall', + '/connectrpc.conformance.TestService/FailStreamingOutputCall', grpcWeb.MethodType.SERVER_STREAMING, - grpc_testing_messages_pb.StreamingOutputCallRequest, - grpc_testing_messages_pb.StreamingOutputCallResponse, - (request: grpc_testing_messages_pb.StreamingOutputCallRequest) => { + connectrpc_conformance_messages_pb.StreamingOutputCallRequest, + connectrpc_conformance_messages_pb.StreamingOutputCallResponse, + (request: connectrpc_conformance_messages_pb.StreamingOutputCallRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.StreamingOutputCallResponse.deserializeBinary + connectrpc_conformance_messages_pb.StreamingOutputCallResponse.deserializeBinary ); failStreamingOutputCall( - request: grpc_testing_messages_pb.StreamingOutputCallRequest, - metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream { + request: connectrpc_conformance_messages_pb.StreamingOutputCallRequest, + metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream { return this.client_.serverStreaming( this.hostname_ + - '/grpc.testing.TestService/FailStreamingOutputCall', + '/connectrpc.conformance.TestService/FailStreamingOutputCall', request, metadata || {}, this.methodDescriptorFailStreamingOutputCall); } methodDescriptorUnimplementedCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/UnimplementedCall', + '/connectrpc.conformance.TestService/UnimplementedCall', grpcWeb.MethodType.UNARY, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -285,7 +285,7 @@ export class TestServiceClient { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.TestService/UnimplementedCall', + '/connectrpc.conformance.TestService/UnimplementedCall', request, metadata || {}, this.methodDescriptorUnimplementedCall, @@ -293,14 +293,14 @@ export class TestServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.TestService/UnimplementedCall', + '/connectrpc.conformance.TestService/UnimplementedCall', request, metadata || {}, this.methodDescriptorUnimplementedCall); } methodDescriptorUnimplementedStreamingOutputCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.TestService/UnimplementedStreamingOutputCall', + '/connectrpc.conformance.TestService/UnimplementedStreamingOutputCall', grpcWeb.MethodType.SERVER_STREAMING, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -315,7 +315,7 @@ export class TestServiceClient { metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream { return this.client_.serverStreaming( this.hostname_ + - '/grpc.testing.TestService/UnimplementedStreamingOutputCall', + '/connectrpc.conformance.TestService/UnimplementedStreamingOutputCall', request, metadata || {}, this.methodDescriptorUnimplementedStreamingOutputCall); @@ -343,7 +343,7 @@ export class UnimplementedServiceClient { } methodDescriptorUnimplementedCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.UnimplementedService/UnimplementedCall', + '/connectrpc.conformance.UnimplementedService/UnimplementedCall', grpcWeb.MethodType.UNARY, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -371,7 +371,7 @@ export class UnimplementedServiceClient { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.UnimplementedService/UnimplementedCall', + '/connectrpc.conformance.UnimplementedService/UnimplementedCall', request, metadata || {}, this.methodDescriptorUnimplementedCall, @@ -379,14 +379,14 @@ export class UnimplementedServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.UnimplementedService/UnimplementedCall', + '/connectrpc.conformance.UnimplementedService/UnimplementedCall', request, metadata || {}, this.methodDescriptorUnimplementedCall); } methodDescriptorUnimplementedStreamingOutputCall = new grpcWeb.MethodDescriptor( - '/grpc.testing.UnimplementedService/UnimplementedStreamingOutputCall', + '/connectrpc.conformance.UnimplementedService/UnimplementedStreamingOutputCall', grpcWeb.MethodType.SERVER_STREAMING, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -401,7 +401,7 @@ export class UnimplementedServiceClient { metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream { return this.client_.serverStreaming( this.hostname_ + - '/grpc.testing.UnimplementedService/UnimplementedStreamingOutputCall', + '/connectrpc.conformance.UnimplementedService/UnimplementedStreamingOutputCall', request, metadata || {}, this.methodDescriptorUnimplementedStreamingOutputCall); @@ -429,35 +429,35 @@ export class ReconnectServiceClient { } methodDescriptorStart = new grpcWeb.MethodDescriptor( - '/grpc.testing.ReconnectService/Start', + '/connectrpc.conformance.ReconnectService/Start', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.ReconnectParams, + connectrpc_conformance_messages_pb.ReconnectParams, google_protobuf_empty_pb.Empty, - (request: grpc_testing_messages_pb.ReconnectParams) => { + (request: connectrpc_conformance_messages_pb.ReconnectParams) => { return request.serializeBinary(); }, google_protobuf_empty_pb.Empty.deserializeBinary ); start( - request: grpc_testing_messages_pb.ReconnectParams, + request: connectrpc_conformance_messages_pb.ReconnectParams, metadata: grpcWeb.Metadata | null): Promise; start( - request: grpc_testing_messages_pb.ReconnectParams, + request: connectrpc_conformance_messages_pb.ReconnectParams, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: google_protobuf_empty_pb.Empty) => void): grpcWeb.ClientReadableStream; start( - request: grpc_testing_messages_pb.ReconnectParams, + request: connectrpc_conformance_messages_pb.ReconnectParams, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, response: google_protobuf_empty_pb.Empty) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.ReconnectService/Start', + '/connectrpc.conformance.ReconnectService/Start', request, metadata || {}, this.methodDescriptorStart, @@ -465,42 +465,42 @@ export class ReconnectServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.ReconnectService/Start', + '/connectrpc.conformance.ReconnectService/Start', request, metadata || {}, this.methodDescriptorStart); } methodDescriptorStop = new grpcWeb.MethodDescriptor( - '/grpc.testing.ReconnectService/Stop', + '/connectrpc.conformance.ReconnectService/Stop', grpcWeb.MethodType.UNARY, google_protobuf_empty_pb.Empty, - grpc_testing_messages_pb.ReconnectInfo, + connectrpc_conformance_messages_pb.ReconnectInfo, (request: google_protobuf_empty_pb.Empty) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.ReconnectInfo.deserializeBinary + connectrpc_conformance_messages_pb.ReconnectInfo.deserializeBinary ); stop( request: google_protobuf_empty_pb.Empty, - metadata: grpcWeb.Metadata | null): Promise; + metadata: grpcWeb.Metadata | null): Promise; stop( request: google_protobuf_empty_pb.Empty, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.ReconnectInfo) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.ReconnectInfo) => void): grpcWeb.ClientReadableStream; stop( request: google_protobuf_empty_pb.Empty, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.ReconnectInfo) => void) { + response: connectrpc_conformance_messages_pb.ReconnectInfo) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.ReconnectService/Stop', + '/connectrpc.conformance.ReconnectService/Stop', request, metadata || {}, this.methodDescriptorStop, @@ -508,7 +508,7 @@ export class ReconnectServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.ReconnectService/Stop', + '/connectrpc.conformance.ReconnectService/Stop', request, metadata || {}, this.methodDescriptorStop); @@ -536,35 +536,35 @@ export class LoadBalancerStatsServiceClient { } methodDescriptorGetClientStats = new grpcWeb.MethodDescriptor( - '/grpc.testing.LoadBalancerStatsService/GetClientStats', + '/connectrpc.conformance.LoadBalancerStatsService/GetClientStats', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.LoadBalancerStatsRequest, - grpc_testing_messages_pb.LoadBalancerStatsResponse, - (request: grpc_testing_messages_pb.LoadBalancerStatsRequest) => { + connectrpc_conformance_messages_pb.LoadBalancerStatsRequest, + connectrpc_conformance_messages_pb.LoadBalancerStatsResponse, + (request: connectrpc_conformance_messages_pb.LoadBalancerStatsRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.LoadBalancerStatsResponse.deserializeBinary + connectrpc_conformance_messages_pb.LoadBalancerStatsResponse.deserializeBinary ); getClientStats( - request: grpc_testing_messages_pb.LoadBalancerStatsRequest, - metadata: grpcWeb.Metadata | null): Promise; + request: connectrpc_conformance_messages_pb.LoadBalancerStatsRequest, + metadata: grpcWeb.Metadata | null): Promise; getClientStats( - request: grpc_testing_messages_pb.LoadBalancerStatsRequest, + request: connectrpc_conformance_messages_pb.LoadBalancerStatsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.LoadBalancerStatsResponse) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.LoadBalancerStatsResponse) => void): grpcWeb.ClientReadableStream; getClientStats( - request: grpc_testing_messages_pb.LoadBalancerStatsRequest, + request: connectrpc_conformance_messages_pb.LoadBalancerStatsRequest, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.LoadBalancerStatsResponse) => void) { + response: connectrpc_conformance_messages_pb.LoadBalancerStatsResponse) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.LoadBalancerStatsService/GetClientStats', + '/connectrpc.conformance.LoadBalancerStatsService/GetClientStats', request, metadata || {}, this.methodDescriptorGetClientStats, @@ -572,42 +572,42 @@ export class LoadBalancerStatsServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.LoadBalancerStatsService/GetClientStats', + '/connectrpc.conformance.LoadBalancerStatsService/GetClientStats', request, metadata || {}, this.methodDescriptorGetClientStats); } methodDescriptorGetClientAccumulatedStats = new grpcWeb.MethodDescriptor( - '/grpc.testing.LoadBalancerStatsService/GetClientAccumulatedStats', + '/connectrpc.conformance.LoadBalancerStatsService/GetClientAccumulatedStats', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.LoadBalancerAccumulatedStatsRequest, - grpc_testing_messages_pb.LoadBalancerAccumulatedStatsResponse, - (request: grpc_testing_messages_pb.LoadBalancerAccumulatedStatsRequest) => { + connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsRequest, + connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsResponse, + (request: connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.LoadBalancerAccumulatedStatsResponse.deserializeBinary + connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsResponse.deserializeBinary ); getClientAccumulatedStats( - request: grpc_testing_messages_pb.LoadBalancerAccumulatedStatsRequest, - metadata: grpcWeb.Metadata | null): Promise; + request: connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsRequest, + metadata: grpcWeb.Metadata | null): Promise; getClientAccumulatedStats( - request: grpc_testing_messages_pb.LoadBalancerAccumulatedStatsRequest, + request: connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.LoadBalancerAccumulatedStatsResponse) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsResponse) => void): grpcWeb.ClientReadableStream; getClientAccumulatedStats( - request: grpc_testing_messages_pb.LoadBalancerAccumulatedStatsRequest, + request: connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsRequest, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.LoadBalancerAccumulatedStatsResponse) => void) { + response: connectrpc_conformance_messages_pb.LoadBalancerAccumulatedStatsResponse) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.LoadBalancerStatsService/GetClientAccumulatedStats', + '/connectrpc.conformance.LoadBalancerStatsService/GetClientAccumulatedStats', request, metadata || {}, this.methodDescriptorGetClientAccumulatedStats, @@ -615,7 +615,7 @@ export class LoadBalancerStatsServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.LoadBalancerStatsService/GetClientAccumulatedStats', + '/connectrpc.conformance.LoadBalancerStatsService/GetClientAccumulatedStats', request, metadata || {}, this.methodDescriptorGetClientAccumulatedStats); @@ -643,7 +643,7 @@ export class XdsUpdateHealthServiceClient { } methodDescriptorSetServing = new grpcWeb.MethodDescriptor( - '/grpc.testing.XdsUpdateHealthService/SetServing', + '/connectrpc.conformance.XdsUpdateHealthService/SetServing', grpcWeb.MethodType.UNARY, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -671,7 +671,7 @@ export class XdsUpdateHealthServiceClient { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.XdsUpdateHealthService/SetServing', + '/connectrpc.conformance.XdsUpdateHealthService/SetServing', request, metadata || {}, this.methodDescriptorSetServing, @@ -679,14 +679,14 @@ export class XdsUpdateHealthServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.XdsUpdateHealthService/SetServing', + '/connectrpc.conformance.XdsUpdateHealthService/SetServing', request, metadata || {}, this.methodDescriptorSetServing); } methodDescriptorSetNotServing = new grpcWeb.MethodDescriptor( - '/grpc.testing.XdsUpdateHealthService/SetNotServing', + '/connectrpc.conformance.XdsUpdateHealthService/SetNotServing', grpcWeb.MethodType.UNARY, google_protobuf_empty_pb.Empty, google_protobuf_empty_pb.Empty, @@ -714,7 +714,7 @@ export class XdsUpdateHealthServiceClient { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.XdsUpdateHealthService/SetNotServing', + '/connectrpc.conformance.XdsUpdateHealthService/SetNotServing', request, metadata || {}, this.methodDescriptorSetNotServing, @@ -722,7 +722,7 @@ export class XdsUpdateHealthServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.XdsUpdateHealthService/SetNotServing', + '/connectrpc.conformance.XdsUpdateHealthService/SetNotServing', request, metadata || {}, this.methodDescriptorSetNotServing); @@ -750,35 +750,35 @@ export class XdsUpdateClientConfigureServiceClient { } methodDescriptorConfigure = new grpcWeb.MethodDescriptor( - '/grpc.testing.XdsUpdateClientConfigureService/Configure', + '/connectrpc.conformance.XdsUpdateClientConfigureService/Configure', grpcWeb.MethodType.UNARY, - grpc_testing_messages_pb.ClientConfigureRequest, - grpc_testing_messages_pb.ClientConfigureResponse, - (request: grpc_testing_messages_pb.ClientConfigureRequest) => { + connectrpc_conformance_messages_pb.ClientConfigureRequest, + connectrpc_conformance_messages_pb.ClientConfigureResponse, + (request: connectrpc_conformance_messages_pb.ClientConfigureRequest) => { return request.serializeBinary(); }, - grpc_testing_messages_pb.ClientConfigureResponse.deserializeBinary + connectrpc_conformance_messages_pb.ClientConfigureResponse.deserializeBinary ); configure( - request: grpc_testing_messages_pb.ClientConfigureRequest, - metadata: grpcWeb.Metadata | null): Promise; + request: connectrpc_conformance_messages_pb.ClientConfigureRequest, + metadata: grpcWeb.Metadata | null): Promise; configure( - request: grpc_testing_messages_pb.ClientConfigureRequest, + request: connectrpc_conformance_messages_pb.ClientConfigureRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.ClientConfigureResponse) => void): grpcWeb.ClientReadableStream; + response: connectrpc_conformance_messages_pb.ClientConfigureResponse) => void): grpcWeb.ClientReadableStream; configure( - request: grpc_testing_messages_pb.ClientConfigureRequest, + request: connectrpc_conformance_messages_pb.ClientConfigureRequest, metadata: grpcWeb.Metadata | null, callback?: (err: grpcWeb.RpcError, - response: grpc_testing_messages_pb.ClientConfigureResponse) => void) { + response: connectrpc_conformance_messages_pb.ClientConfigureResponse) => void) { if (callback !== undefined) { return this.client_.rpcCall( this.hostname_ + - '/grpc.testing.XdsUpdateClientConfigureService/Configure', + '/connectrpc.conformance.XdsUpdateClientConfigureService/Configure', request, metadata || {}, this.methodDescriptorConfigure, @@ -786,7 +786,7 @@ export class XdsUpdateClientConfigureServiceClient { } return this.client_.unaryCall( this.hostname_ + - '/grpc.testing.XdsUpdateClientConfigureService/Configure', + '/connectrpc.conformance.XdsUpdateClientConfigureService/Configure', request, metadata || {}, this.methodDescriptorConfigure); diff --git a/web/gen/proto/grpc-web/grpc/testing/messages_pb.d.ts b/web/gen/proto/grpc-web/connectrpc/conformance/messages_pb.d.ts similarity index 100% rename from web/gen/proto/grpc-web/grpc/testing/messages_pb.d.ts rename to web/gen/proto/grpc-web/connectrpc/conformance/messages_pb.d.ts diff --git a/web/gen/proto/grpc-web/grpc/testing/messages_pb.js b/web/gen/proto/grpc-web/connectrpc/conformance/messages_pb.js similarity index 59% rename from web/gen/proto/grpc-web/grpc/testing/messages_pb.js rename to web/gen/proto/grpc-web/connectrpc/conformance/messages_pb.js index bec922ab..81b4d39f 100644 --- a/web/gen/proto/grpc-web/grpc/testing/messages_pb.js +++ b/web/gen/proto/grpc-web/connectrpc/conformance/messages_pb.js @@ -1,4 +1,4 @@ -// source: grpc/testing/messages.proto +// source: connectrpc/conformance/messages.proto /** * @fileoverview * @enhanceable @@ -25,31 +25,31 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js' goog.object.extend(proto, google_protobuf_any_pb); var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); goog.object.extend(proto, google_protobuf_wrappers_pb); -goog.exportSymbol('proto.grpc.testing.ClientConfigureRequest', null, global); -goog.exportSymbol('proto.grpc.testing.ClientConfigureRequest.Metadata', null, global); -goog.exportSymbol('proto.grpc.testing.ClientConfigureRequest.RpcType', null, global); -goog.exportSymbol('proto.grpc.testing.ClientConfigureResponse', null, global); -goog.exportSymbol('proto.grpc.testing.EchoStatus', null, global); -goog.exportSymbol('proto.grpc.testing.ErrorDetail', null, global); -goog.exportSymbol('proto.grpc.testing.ErrorStatus', null, global); -goog.exportSymbol('proto.grpc.testing.GrpclbRouteType', null, global); -goog.exportSymbol('proto.grpc.testing.LoadBalancerAccumulatedStatsRequest', null, global); -goog.exportSymbol('proto.grpc.testing.LoadBalancerAccumulatedStatsResponse', null, global); -goog.exportSymbol('proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats', null, global); -goog.exportSymbol('proto.grpc.testing.LoadBalancerStatsRequest', null, global); -goog.exportSymbol('proto.grpc.testing.LoadBalancerStatsResponse', null, global); -goog.exportSymbol('proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer', null, global); -goog.exportSymbol('proto.grpc.testing.Payload', null, global); -goog.exportSymbol('proto.grpc.testing.PayloadType', null, global); -goog.exportSymbol('proto.grpc.testing.ReconnectInfo', null, global); -goog.exportSymbol('proto.grpc.testing.ReconnectParams', null, global); -goog.exportSymbol('proto.grpc.testing.ResponseParameters', null, global); -goog.exportSymbol('proto.grpc.testing.SimpleRequest', null, global); -goog.exportSymbol('proto.grpc.testing.SimpleResponse', null, global); -goog.exportSymbol('proto.grpc.testing.StreamingInputCallRequest', null, global); -goog.exportSymbol('proto.grpc.testing.StreamingInputCallResponse', null, global); -goog.exportSymbol('proto.grpc.testing.StreamingOutputCallRequest', null, global); -goog.exportSymbol('proto.grpc.testing.StreamingOutputCallResponse', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ClientConfigureRequest', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ClientConfigureRequest.Metadata', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ClientConfigureRequest.RpcType', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ClientConfigureResponse', null, global); +goog.exportSymbol('proto.connectrpc.conformance.EchoStatus', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ErrorDetail', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ErrorStatus', null, global); +goog.exportSymbol('proto.connectrpc.conformance.GrpclbRouteType', null, global); +goog.exportSymbol('proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest', null, global); +goog.exportSymbol('proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse', null, global); +goog.exportSymbol('proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats', null, global); +goog.exportSymbol('proto.connectrpc.conformance.LoadBalancerStatsRequest', null, global); +goog.exportSymbol('proto.connectrpc.conformance.LoadBalancerStatsResponse', null, global); +goog.exportSymbol('proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer', null, global); +goog.exportSymbol('proto.connectrpc.conformance.Payload', null, global); +goog.exportSymbol('proto.connectrpc.conformance.PayloadType', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ReconnectInfo', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ReconnectParams', null, global); +goog.exportSymbol('proto.connectrpc.conformance.ResponseParameters', null, global); +goog.exportSymbol('proto.connectrpc.conformance.SimpleRequest', null, global); +goog.exportSymbol('proto.connectrpc.conformance.SimpleResponse', null, global); +goog.exportSymbol('proto.connectrpc.conformance.StreamingInputCallRequest', null, global); +goog.exportSymbol('proto.connectrpc.conformance.StreamingInputCallResponse', null, global); +goog.exportSymbol('proto.connectrpc.conformance.StreamingOutputCallRequest', null, global); +goog.exportSymbol('proto.connectrpc.conformance.StreamingOutputCallResponse', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -60,16 +60,16 @@ goog.exportSymbol('proto.grpc.testing.StreamingOutputCallResponse', null, global * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.Payload = function(opt_data) { +proto.connectrpc.conformance.Payload = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.Payload, jspb.Message); +goog.inherits(proto.connectrpc.conformance.Payload, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.Payload.displayName = 'proto.grpc.testing.Payload'; + proto.connectrpc.conformance.Payload.displayName = 'proto.connectrpc.conformance.Payload'; } /** * Generated by JsPbCodeGenerator. @@ -81,16 +81,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.EchoStatus = function(opt_data) { +proto.connectrpc.conformance.EchoStatus = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.EchoStatus, jspb.Message); +goog.inherits(proto.connectrpc.conformance.EchoStatus, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.EchoStatus.displayName = 'proto.grpc.testing.EchoStatus'; + proto.connectrpc.conformance.EchoStatus.displayName = 'proto.connectrpc.conformance.EchoStatus'; } /** * Generated by JsPbCodeGenerator. @@ -102,16 +102,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.SimpleRequest = function(opt_data) { +proto.connectrpc.conformance.SimpleRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.SimpleRequest, jspb.Message); +goog.inherits(proto.connectrpc.conformance.SimpleRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.SimpleRequest.displayName = 'proto.grpc.testing.SimpleRequest'; + proto.connectrpc.conformance.SimpleRequest.displayName = 'proto.connectrpc.conformance.SimpleRequest'; } /** * Generated by JsPbCodeGenerator. @@ -123,16 +123,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.SimpleResponse = function(opt_data) { +proto.connectrpc.conformance.SimpleResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.SimpleResponse, jspb.Message); +goog.inherits(proto.connectrpc.conformance.SimpleResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.SimpleResponse.displayName = 'proto.grpc.testing.SimpleResponse'; + proto.connectrpc.conformance.SimpleResponse.displayName = 'proto.connectrpc.conformance.SimpleResponse'; } /** * Generated by JsPbCodeGenerator. @@ -144,16 +144,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.StreamingInputCallRequest = function(opt_data) { +proto.connectrpc.conformance.StreamingInputCallRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.StreamingInputCallRequest, jspb.Message); +goog.inherits(proto.connectrpc.conformance.StreamingInputCallRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.StreamingInputCallRequest.displayName = 'proto.grpc.testing.StreamingInputCallRequest'; + proto.connectrpc.conformance.StreamingInputCallRequest.displayName = 'proto.connectrpc.conformance.StreamingInputCallRequest'; } /** * Generated by JsPbCodeGenerator. @@ -165,16 +165,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.StreamingInputCallResponse = function(opt_data) { +proto.connectrpc.conformance.StreamingInputCallResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.StreamingInputCallResponse, jspb.Message); +goog.inherits(proto.connectrpc.conformance.StreamingInputCallResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.StreamingInputCallResponse.displayName = 'proto.grpc.testing.StreamingInputCallResponse'; + proto.connectrpc.conformance.StreamingInputCallResponse.displayName = 'proto.connectrpc.conformance.StreamingInputCallResponse'; } /** * Generated by JsPbCodeGenerator. @@ -186,16 +186,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ResponseParameters = function(opt_data) { +proto.connectrpc.conformance.ResponseParameters = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.ResponseParameters, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ResponseParameters, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ResponseParameters.displayName = 'proto.grpc.testing.ResponseParameters'; + proto.connectrpc.conformance.ResponseParameters.displayName = 'proto.connectrpc.conformance.ResponseParameters'; } /** * Generated by JsPbCodeGenerator. @@ -207,16 +207,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.StreamingOutputCallRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.testing.StreamingOutputCallRequest.repeatedFields_, null); +proto.connectrpc.conformance.StreamingOutputCallRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.connectrpc.conformance.StreamingOutputCallRequest.repeatedFields_, null); }; -goog.inherits(proto.grpc.testing.StreamingOutputCallRequest, jspb.Message); +goog.inherits(proto.connectrpc.conformance.StreamingOutputCallRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.StreamingOutputCallRequest.displayName = 'proto.grpc.testing.StreamingOutputCallRequest'; + proto.connectrpc.conformance.StreamingOutputCallRequest.displayName = 'proto.connectrpc.conformance.StreamingOutputCallRequest'; } /** * Generated by JsPbCodeGenerator. @@ -228,16 +228,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.StreamingOutputCallResponse = function(opt_data) { +proto.connectrpc.conformance.StreamingOutputCallResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.StreamingOutputCallResponse, jspb.Message); +goog.inherits(proto.connectrpc.conformance.StreamingOutputCallResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.StreamingOutputCallResponse.displayName = 'proto.grpc.testing.StreamingOutputCallResponse'; + proto.connectrpc.conformance.StreamingOutputCallResponse.displayName = 'proto.connectrpc.conformance.StreamingOutputCallResponse'; } /** * Generated by JsPbCodeGenerator. @@ -249,16 +249,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ReconnectParams = function(opt_data) { +proto.connectrpc.conformance.ReconnectParams = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.ReconnectParams, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ReconnectParams, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ReconnectParams.displayName = 'proto.grpc.testing.ReconnectParams'; + proto.connectrpc.conformance.ReconnectParams.displayName = 'proto.connectrpc.conformance.ReconnectParams'; } /** * Generated by JsPbCodeGenerator. @@ -270,16 +270,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ReconnectInfo = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.testing.ReconnectInfo.repeatedFields_, null); +proto.connectrpc.conformance.ReconnectInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.connectrpc.conformance.ReconnectInfo.repeatedFields_, null); }; -goog.inherits(proto.grpc.testing.ReconnectInfo, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ReconnectInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ReconnectInfo.displayName = 'proto.grpc.testing.ReconnectInfo'; + proto.connectrpc.conformance.ReconnectInfo.displayName = 'proto.connectrpc.conformance.ReconnectInfo'; } /** * Generated by JsPbCodeGenerator. @@ -291,16 +291,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.LoadBalancerStatsRequest = function(opt_data) { +proto.connectrpc.conformance.LoadBalancerStatsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.LoadBalancerStatsRequest, jspb.Message); +goog.inherits(proto.connectrpc.conformance.LoadBalancerStatsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.LoadBalancerStatsRequest.displayName = 'proto.grpc.testing.LoadBalancerStatsRequest'; + proto.connectrpc.conformance.LoadBalancerStatsRequest.displayName = 'proto.connectrpc.conformance.LoadBalancerStatsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -312,16 +312,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.LoadBalancerStatsResponse = function(opt_data) { +proto.connectrpc.conformance.LoadBalancerStatsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.LoadBalancerStatsResponse, jspb.Message); +goog.inherits(proto.connectrpc.conformance.LoadBalancerStatsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.LoadBalancerStatsResponse.displayName = 'proto.grpc.testing.LoadBalancerStatsResponse'; + proto.connectrpc.conformance.LoadBalancerStatsResponse.displayName = 'proto.connectrpc.conformance.LoadBalancerStatsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -333,16 +333,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer = function(opt_data) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer, jspb.Message); +goog.inherits(proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.displayName = 'proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer'; + proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.displayName = 'proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer'; } /** * Generated by JsPbCodeGenerator. @@ -354,16 +354,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest = function(opt_data) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.LoadBalancerAccumulatedStatsRequest, jspb.Message); +goog.inherits(proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.displayName = 'proto.grpc.testing.LoadBalancerAccumulatedStatsRequest'; + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.displayName = 'proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -375,16 +375,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse = function(opt_data) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.LoadBalancerAccumulatedStatsResponse, jspb.Message); +goog.inherits(proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.displayName = 'proto.grpc.testing.LoadBalancerAccumulatedStatsResponse'; + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.displayName = 'proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -396,16 +396,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats = function(opt_data) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats, jspb.Message); +goog.inherits(proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.displayName = 'proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats'; + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.displayName = 'proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats'; } /** * Generated by JsPbCodeGenerator. @@ -417,16 +417,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ClientConfigureRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.testing.ClientConfigureRequest.repeatedFields_, null); +proto.connectrpc.conformance.ClientConfigureRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.connectrpc.conformance.ClientConfigureRequest.repeatedFields_, null); }; -goog.inherits(proto.grpc.testing.ClientConfigureRequest, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ClientConfigureRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ClientConfigureRequest.displayName = 'proto.grpc.testing.ClientConfigureRequest'; + proto.connectrpc.conformance.ClientConfigureRequest.displayName = 'proto.connectrpc.conformance.ClientConfigureRequest'; } /** * Generated by JsPbCodeGenerator. @@ -438,16 +438,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ClientConfigureRequest.Metadata = function(opt_data) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.ClientConfigureRequest.Metadata, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ClientConfigureRequest.Metadata, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ClientConfigureRequest.Metadata.displayName = 'proto.grpc.testing.ClientConfigureRequest.Metadata'; + proto.connectrpc.conformance.ClientConfigureRequest.Metadata.displayName = 'proto.connectrpc.conformance.ClientConfigureRequest.Metadata'; } /** * Generated by JsPbCodeGenerator. @@ -459,16 +459,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ClientConfigureResponse = function(opt_data) { +proto.connectrpc.conformance.ClientConfigureResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.ClientConfigureResponse, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ClientConfigureResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ClientConfigureResponse.displayName = 'proto.grpc.testing.ClientConfigureResponse'; + proto.connectrpc.conformance.ClientConfigureResponse.displayName = 'proto.connectrpc.conformance.ClientConfigureResponse'; } /** * Generated by JsPbCodeGenerator. @@ -480,16 +480,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ErrorDetail = function(opt_data) { +proto.connectrpc.conformance.ErrorDetail = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.grpc.testing.ErrorDetail, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ErrorDetail, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ErrorDetail.displayName = 'proto.grpc.testing.ErrorDetail'; + proto.connectrpc.conformance.ErrorDetail.displayName = 'proto.connectrpc.conformance.ErrorDetail'; } /** * Generated by JsPbCodeGenerator. @@ -501,16 +501,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.grpc.testing.ErrorStatus = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.grpc.testing.ErrorStatus.repeatedFields_, null); +proto.connectrpc.conformance.ErrorStatus = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.connectrpc.conformance.ErrorStatus.repeatedFields_, null); }; -goog.inherits(proto.grpc.testing.ErrorStatus, jspb.Message); +goog.inherits(proto.connectrpc.conformance.ErrorStatus, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.grpc.testing.ErrorStatus.displayName = 'proto.grpc.testing.ErrorStatus'; + proto.connectrpc.conformance.ErrorStatus.displayName = 'proto.connectrpc.conformance.ErrorStatus'; } @@ -528,8 +528,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.Payload.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.Payload.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.Payload.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.Payload.toObject(opt_includeInstance, this); }; @@ -538,11 +538,11 @@ proto.grpc.testing.Payload.prototype.toObject = function(opt_includeInstance) { * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.Payload} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.Payload} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.Payload.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.Payload.toObject = function(includeInstance, msg) { var f, obj = { type: jspb.Message.getFieldWithDefault(msg, 1, 0), body: msg.getBody_asB64() @@ -559,23 +559,23 @@ proto.grpc.testing.Payload.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.Payload} + * @return {!proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.Payload.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.Payload.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.Payload; - return proto.grpc.testing.Payload.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.Payload; + return proto.connectrpc.conformance.Payload.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.Payload} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.Payload} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.Payload} + * @return {!proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.Payload.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.Payload.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -583,7 +583,7 @@ proto.grpc.testing.Payload.deserializeBinaryFromReader = function(msg, reader) { var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.grpc.testing.PayloadType} */ (reader.readEnum()); + var value = /** @type {!proto.connectrpc.conformance.PayloadType} */ (reader.readEnum()); msg.setType(value); break; case 2: @@ -603,9 +603,9 @@ proto.grpc.testing.Payload.deserializeBinaryFromReader = function(msg, reader) { * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.Payload.prototype.serializeBinary = function() { +proto.connectrpc.conformance.Payload.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.Payload.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.Payload.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -613,11 +613,11 @@ proto.grpc.testing.Payload.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.Payload} message + * @param {!proto.connectrpc.conformance.Payload} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.Payload.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.Payload.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getType(); if (f !== 0.0) { @@ -638,18 +638,18 @@ proto.grpc.testing.Payload.serializeBinaryToWriter = function(message, writer) { /** * optional PayloadType type = 1; - * @return {!proto.grpc.testing.PayloadType} + * @return {!proto.connectrpc.conformance.PayloadType} */ -proto.grpc.testing.Payload.prototype.getType = function() { - return /** @type {!proto.grpc.testing.PayloadType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.connectrpc.conformance.Payload.prototype.getType = function() { + return /** @type {!proto.connectrpc.conformance.PayloadType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.grpc.testing.PayloadType} value - * @return {!proto.grpc.testing.Payload} returns this + * @param {!proto.connectrpc.conformance.PayloadType} value + * @return {!proto.connectrpc.conformance.Payload} returns this */ -proto.grpc.testing.Payload.prototype.setType = function(value) { +proto.connectrpc.conformance.Payload.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -658,7 +658,7 @@ proto.grpc.testing.Payload.prototype.setType = function(value) { * optional bytes body = 2; * @return {!(string|Uint8Array)} */ -proto.grpc.testing.Payload.prototype.getBody = function() { +proto.connectrpc.conformance.Payload.prototype.getBody = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; @@ -668,7 +668,7 @@ proto.grpc.testing.Payload.prototype.getBody = function() { * This is a type-conversion wrapper around `getBody()` * @return {string} */ -proto.grpc.testing.Payload.prototype.getBody_asB64 = function() { +proto.connectrpc.conformance.Payload.prototype.getBody_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getBody())); }; @@ -681,7 +681,7 @@ proto.grpc.testing.Payload.prototype.getBody_asB64 = function() { * This is a type-conversion wrapper around `getBody()` * @return {!Uint8Array} */ -proto.grpc.testing.Payload.prototype.getBody_asU8 = function() { +proto.connectrpc.conformance.Payload.prototype.getBody_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getBody())); }; @@ -689,9 +689,9 @@ proto.grpc.testing.Payload.prototype.getBody_asU8 = function() { /** * @param {!(string|Uint8Array)} value - * @return {!proto.grpc.testing.Payload} returns this + * @return {!proto.connectrpc.conformance.Payload} returns this */ -proto.grpc.testing.Payload.prototype.setBody = function(value) { +proto.connectrpc.conformance.Payload.prototype.setBody = function(value) { return jspb.Message.setProto3BytesField(this, 2, value); }; @@ -712,8 +712,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.EchoStatus.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.EchoStatus.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.EchoStatus.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.EchoStatus.toObject(opt_includeInstance, this); }; @@ -722,11 +722,11 @@ proto.grpc.testing.EchoStatus.prototype.toObject = function(opt_includeInstance) * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.EchoStatus} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.EchoStatus} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.EchoStatus.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.EchoStatus.toObject = function(includeInstance, msg) { var f, obj = { code: jspb.Message.getFieldWithDefault(msg, 1, 0), message: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -743,23 +743,23 @@ proto.grpc.testing.EchoStatus.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.EchoStatus} + * @return {!proto.connectrpc.conformance.EchoStatus} */ -proto.grpc.testing.EchoStatus.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.EchoStatus.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.EchoStatus; - return proto.grpc.testing.EchoStatus.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.EchoStatus; + return proto.connectrpc.conformance.EchoStatus.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.EchoStatus} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.EchoStatus} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.EchoStatus} + * @return {!proto.connectrpc.conformance.EchoStatus} */ -proto.grpc.testing.EchoStatus.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.EchoStatus.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -787,9 +787,9 @@ proto.grpc.testing.EchoStatus.deserializeBinaryFromReader = function(msg, reader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.EchoStatus.prototype.serializeBinary = function() { +proto.connectrpc.conformance.EchoStatus.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.EchoStatus.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.EchoStatus.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -797,11 +797,11 @@ proto.grpc.testing.EchoStatus.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.EchoStatus} message + * @param {!proto.connectrpc.conformance.EchoStatus} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.EchoStatus.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.EchoStatus.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCode(); if (f !== 0) { @@ -824,16 +824,16 @@ proto.grpc.testing.EchoStatus.serializeBinaryToWriter = function(message, writer * optional int32 code = 1; * @return {number} */ -proto.grpc.testing.EchoStatus.prototype.getCode = function() { +proto.connectrpc.conformance.EchoStatus.prototype.getCode = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.EchoStatus} returns this + * @return {!proto.connectrpc.conformance.EchoStatus} returns this */ -proto.grpc.testing.EchoStatus.prototype.setCode = function(value) { +proto.connectrpc.conformance.EchoStatus.prototype.setCode = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -842,16 +842,16 @@ proto.grpc.testing.EchoStatus.prototype.setCode = function(value) { * optional string message = 2; * @return {string} */ -proto.grpc.testing.EchoStatus.prototype.getMessage = function() { +proto.connectrpc.conformance.EchoStatus.prototype.getMessage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.EchoStatus} returns this + * @return {!proto.connectrpc.conformance.EchoStatus} returns this */ -proto.grpc.testing.EchoStatus.prototype.setMessage = function(value) { +proto.connectrpc.conformance.EchoStatus.prototype.setMessage = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -872,8 +872,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.SimpleRequest.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.SimpleRequest.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.SimpleRequest.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.SimpleRequest.toObject(opt_includeInstance, this); }; @@ -882,19 +882,19 @@ proto.grpc.testing.SimpleRequest.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.SimpleRequest} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.SimpleRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.SimpleRequest.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.SimpleRequest.toObject = function(includeInstance, msg) { var f, obj = { responseType: jspb.Message.getFieldWithDefault(msg, 1, 0), responseSize: jspb.Message.getFieldWithDefault(msg, 2, 0), - payload: (f = msg.getPayload()) && proto.grpc.testing.Payload.toObject(includeInstance, f), + payload: (f = msg.getPayload()) && proto.connectrpc.conformance.Payload.toObject(includeInstance, f), fillUsername: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), fillOauthScope: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), responseCompressed: (f = msg.getResponseCompressed()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f), - responseStatus: (f = msg.getResponseStatus()) && proto.grpc.testing.EchoStatus.toObject(includeInstance, f), + responseStatus: (f = msg.getResponseStatus()) && proto.connectrpc.conformance.EchoStatus.toObject(includeInstance, f), expectCompressed: (f = msg.getExpectCompressed()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f), fillServerId: jspb.Message.getBooleanFieldWithDefault(msg, 9, false), fillGrpclbRouteType: jspb.Message.getBooleanFieldWithDefault(msg, 10, false) @@ -911,23 +911,23 @@ proto.grpc.testing.SimpleRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.SimpleRequest} + * @return {!proto.connectrpc.conformance.SimpleRequest} */ -proto.grpc.testing.SimpleRequest.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.SimpleRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.SimpleRequest; - return proto.grpc.testing.SimpleRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.SimpleRequest; + return proto.connectrpc.conformance.SimpleRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.SimpleRequest} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.SimpleRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.SimpleRequest} + * @return {!proto.connectrpc.conformance.SimpleRequest} */ -proto.grpc.testing.SimpleRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.SimpleRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -935,7 +935,7 @@ proto.grpc.testing.SimpleRequest.deserializeBinaryFromReader = function(msg, rea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.grpc.testing.PayloadType} */ (reader.readEnum()); + var value = /** @type {!proto.connectrpc.conformance.PayloadType} */ (reader.readEnum()); msg.setResponseType(value); break; case 2: @@ -943,8 +943,8 @@ proto.grpc.testing.SimpleRequest.deserializeBinaryFromReader = function(msg, rea msg.setResponseSize(value); break; case 3: - var value = new proto.grpc.testing.Payload; - reader.readMessage(value,proto.grpc.testing.Payload.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.Payload; + reader.readMessage(value,proto.connectrpc.conformance.Payload.deserializeBinaryFromReader); msg.setPayload(value); break; case 4: @@ -961,8 +961,8 @@ proto.grpc.testing.SimpleRequest.deserializeBinaryFromReader = function(msg, rea msg.setResponseCompressed(value); break; case 7: - var value = new proto.grpc.testing.EchoStatus; - reader.readMessage(value,proto.grpc.testing.EchoStatus.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.EchoStatus; + reader.readMessage(value,proto.connectrpc.conformance.EchoStatus.deserializeBinaryFromReader); msg.setResponseStatus(value); break; case 8: @@ -991,9 +991,9 @@ proto.grpc.testing.SimpleRequest.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.SimpleRequest.prototype.serializeBinary = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.SimpleRequest.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.SimpleRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1001,11 +1001,11 @@ proto.grpc.testing.SimpleRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.SimpleRequest} message + * @param {!proto.connectrpc.conformance.SimpleRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.SimpleRequest.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.SimpleRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getResponseType(); if (f !== 0.0) { @@ -1026,7 +1026,7 @@ proto.grpc.testing.SimpleRequest.serializeBinaryToWriter = function(message, wri writer.writeMessage( 3, f, - proto.grpc.testing.Payload.serializeBinaryToWriter + proto.connectrpc.conformance.Payload.serializeBinaryToWriter ); } f = message.getFillUsername(); @@ -1056,7 +1056,7 @@ proto.grpc.testing.SimpleRequest.serializeBinaryToWriter = function(message, wri writer.writeMessage( 7, f, - proto.grpc.testing.EchoStatus.serializeBinaryToWriter + proto.connectrpc.conformance.EchoStatus.serializeBinaryToWriter ); } f = message.getExpectCompressed(); @@ -1086,18 +1086,18 @@ proto.grpc.testing.SimpleRequest.serializeBinaryToWriter = function(message, wri /** * optional PayloadType response_type = 1; - * @return {!proto.grpc.testing.PayloadType} + * @return {!proto.connectrpc.conformance.PayloadType} */ -proto.grpc.testing.SimpleRequest.prototype.getResponseType = function() { - return /** @type {!proto.grpc.testing.PayloadType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.connectrpc.conformance.SimpleRequest.prototype.getResponseType = function() { + return /** @type {!proto.connectrpc.conformance.PayloadType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.grpc.testing.PayloadType} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @param {!proto.connectrpc.conformance.PayloadType} value + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setResponseType = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setResponseType = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -1106,44 +1106,44 @@ proto.grpc.testing.SimpleRequest.prototype.setResponseType = function(value) { * optional int32 response_size = 2; * @return {number} */ -proto.grpc.testing.SimpleRequest.prototype.getResponseSize = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getResponseSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setResponseSize = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setResponseSize = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** * optional Payload payload = 3; - * @return {?proto.grpc.testing.Payload} + * @return {?proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.SimpleRequest.prototype.getPayload = function() { - return /** @type{?proto.grpc.testing.Payload} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.Payload, 3)); +proto.connectrpc.conformance.SimpleRequest.prototype.getPayload = function() { + return /** @type{?proto.connectrpc.conformance.Payload} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.Payload, 3)); }; /** - * @param {?proto.grpc.testing.Payload|undefined} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @param {?proto.connectrpc.conformance.Payload|undefined} value + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setPayload = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setPayload = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.clearPayload = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.clearPayload = function() { return this.setPayload(undefined); }; @@ -1152,7 +1152,7 @@ proto.grpc.testing.SimpleRequest.prototype.clearPayload = function() { * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.hasPayload = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.hasPayload = function() { return jspb.Message.getField(this, 3) != null; }; @@ -1161,16 +1161,16 @@ proto.grpc.testing.SimpleRequest.prototype.hasPayload = function() { * optional bool fill_username = 4; * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.getFillUsername = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getFillUsername = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setFillUsername = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setFillUsername = function(value) { return jspb.Message.setProto3BooleanField(this, 4, value); }; @@ -1179,16 +1179,16 @@ proto.grpc.testing.SimpleRequest.prototype.setFillUsername = function(value) { * optional bool fill_oauth_scope = 5; * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.getFillOauthScope = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getFillOauthScope = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setFillOauthScope = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setFillOauthScope = function(value) { return jspb.Message.setProto3BooleanField(this, 5, value); }; @@ -1197,7 +1197,7 @@ proto.grpc.testing.SimpleRequest.prototype.setFillOauthScope = function(value) { * optional google.protobuf.BoolValue response_compressed = 6; * @return {?proto.google.protobuf.BoolValue} */ -proto.grpc.testing.SimpleRequest.prototype.getResponseCompressed = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getResponseCompressed = function() { return /** @type{?proto.google.protobuf.BoolValue} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 6)); }; @@ -1205,18 +1205,18 @@ proto.grpc.testing.SimpleRequest.prototype.getResponseCompressed = function() { /** * @param {?proto.google.protobuf.BoolValue|undefined} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setResponseCompressed = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setResponseCompressed = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.clearResponseCompressed = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.clearResponseCompressed = function() { return this.setResponseCompressed(undefined); }; @@ -1225,35 +1225,35 @@ proto.grpc.testing.SimpleRequest.prototype.clearResponseCompressed = function() * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.hasResponseCompressed = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.hasResponseCompressed = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional EchoStatus response_status = 7; - * @return {?proto.grpc.testing.EchoStatus} + * @return {?proto.connectrpc.conformance.EchoStatus} */ -proto.grpc.testing.SimpleRequest.prototype.getResponseStatus = function() { - return /** @type{?proto.grpc.testing.EchoStatus} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.EchoStatus, 7)); +proto.connectrpc.conformance.SimpleRequest.prototype.getResponseStatus = function() { + return /** @type{?proto.connectrpc.conformance.EchoStatus} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.EchoStatus, 7)); }; /** - * @param {?proto.grpc.testing.EchoStatus|undefined} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @param {?proto.connectrpc.conformance.EchoStatus|undefined} value + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setResponseStatus = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setResponseStatus = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.clearResponseStatus = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.clearResponseStatus = function() { return this.setResponseStatus(undefined); }; @@ -1262,7 +1262,7 @@ proto.grpc.testing.SimpleRequest.prototype.clearResponseStatus = function() { * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.hasResponseStatus = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.hasResponseStatus = function() { return jspb.Message.getField(this, 7) != null; }; @@ -1271,7 +1271,7 @@ proto.grpc.testing.SimpleRequest.prototype.hasResponseStatus = function() { * optional google.protobuf.BoolValue expect_compressed = 8; * @return {?proto.google.protobuf.BoolValue} */ -proto.grpc.testing.SimpleRequest.prototype.getExpectCompressed = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getExpectCompressed = function() { return /** @type{?proto.google.protobuf.BoolValue} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 8)); }; @@ -1279,18 +1279,18 @@ proto.grpc.testing.SimpleRequest.prototype.getExpectCompressed = function() { /** * @param {?proto.google.protobuf.BoolValue|undefined} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setExpectCompressed = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setExpectCompressed = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.clearExpectCompressed = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.clearExpectCompressed = function() { return this.setExpectCompressed(undefined); }; @@ -1299,7 +1299,7 @@ proto.grpc.testing.SimpleRequest.prototype.clearExpectCompressed = function() { * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.hasExpectCompressed = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.hasExpectCompressed = function() { return jspb.Message.getField(this, 8) != null; }; @@ -1308,16 +1308,16 @@ proto.grpc.testing.SimpleRequest.prototype.hasExpectCompressed = function() { * optional bool fill_server_id = 9; * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.getFillServerId = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getFillServerId = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false)); }; /** * @param {boolean} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setFillServerId = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setFillServerId = function(value) { return jspb.Message.setProto3BooleanField(this, 9, value); }; @@ -1326,16 +1326,16 @@ proto.grpc.testing.SimpleRequest.prototype.setFillServerId = function(value) { * optional bool fill_grpclb_route_type = 10; * @return {boolean} */ -proto.grpc.testing.SimpleRequest.prototype.getFillGrpclbRouteType = function() { +proto.connectrpc.conformance.SimpleRequest.prototype.getFillGrpclbRouteType = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); }; /** * @param {boolean} value - * @return {!proto.grpc.testing.SimpleRequest} returns this + * @return {!proto.connectrpc.conformance.SimpleRequest} returns this */ -proto.grpc.testing.SimpleRequest.prototype.setFillGrpclbRouteType = function(value) { +proto.connectrpc.conformance.SimpleRequest.prototype.setFillGrpclbRouteType = function(value) { return jspb.Message.setProto3BooleanField(this, 10, value); }; @@ -1356,8 +1356,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.SimpleResponse.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.SimpleResponse.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.SimpleResponse.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.SimpleResponse.toObject(opt_includeInstance, this); }; @@ -1366,13 +1366,13 @@ proto.grpc.testing.SimpleResponse.prototype.toObject = function(opt_includeInsta * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.SimpleResponse} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.SimpleResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.SimpleResponse.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.SimpleResponse.toObject = function(includeInstance, msg) { var f, obj = { - payload: (f = msg.getPayload()) && proto.grpc.testing.Payload.toObject(includeInstance, f), + payload: (f = msg.getPayload()) && proto.connectrpc.conformance.Payload.toObject(includeInstance, f), username: jspb.Message.getFieldWithDefault(msg, 2, ""), oauthScope: jspb.Message.getFieldWithDefault(msg, 3, ""), serverId: jspb.Message.getFieldWithDefault(msg, 4, ""), @@ -1391,23 +1391,23 @@ proto.grpc.testing.SimpleResponse.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.SimpleResponse} + * @return {!proto.connectrpc.conformance.SimpleResponse} */ -proto.grpc.testing.SimpleResponse.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.SimpleResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.SimpleResponse; - return proto.grpc.testing.SimpleResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.SimpleResponse; + return proto.connectrpc.conformance.SimpleResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.SimpleResponse} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.SimpleResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.SimpleResponse} + * @return {!proto.connectrpc.conformance.SimpleResponse} */ -proto.grpc.testing.SimpleResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.SimpleResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1415,8 +1415,8 @@ proto.grpc.testing.SimpleResponse.deserializeBinaryFromReader = function(msg, re var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.grpc.testing.Payload; - reader.readMessage(value,proto.grpc.testing.Payload.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.Payload; + reader.readMessage(value,proto.connectrpc.conformance.Payload.deserializeBinaryFromReader); msg.setPayload(value); break; case 2: @@ -1432,7 +1432,7 @@ proto.grpc.testing.SimpleResponse.deserializeBinaryFromReader = function(msg, re msg.setServerId(value); break; case 5: - var value = /** @type {!proto.grpc.testing.GrpclbRouteType} */ (reader.readEnum()); + var value = /** @type {!proto.connectrpc.conformance.GrpclbRouteType} */ (reader.readEnum()); msg.setGrpclbRouteType(value); break; case 6: @@ -1452,9 +1452,9 @@ proto.grpc.testing.SimpleResponse.deserializeBinaryFromReader = function(msg, re * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.SimpleResponse.prototype.serializeBinary = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.SimpleResponse.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.SimpleResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1462,18 +1462,18 @@ proto.grpc.testing.SimpleResponse.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.SimpleResponse} message + * @param {!proto.connectrpc.conformance.SimpleResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.SimpleResponse.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.SimpleResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPayload(); if (f != null) { writer.writeMessage( 1, f, - proto.grpc.testing.Payload.serializeBinaryToWriter + proto.connectrpc.conformance.Payload.serializeBinaryToWriter ); } f = message.getUsername(); @@ -1516,28 +1516,28 @@ proto.grpc.testing.SimpleResponse.serializeBinaryToWriter = function(message, wr /** * optional Payload payload = 1; - * @return {?proto.grpc.testing.Payload} + * @return {?proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.SimpleResponse.prototype.getPayload = function() { - return /** @type{?proto.grpc.testing.Payload} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.Payload, 1)); +proto.connectrpc.conformance.SimpleResponse.prototype.getPayload = function() { + return /** @type{?proto.connectrpc.conformance.Payload} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.Payload, 1)); }; /** - * @param {?proto.grpc.testing.Payload|undefined} value - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @param {?proto.connectrpc.conformance.Payload|undefined} value + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.setPayload = function(value) { +proto.connectrpc.conformance.SimpleResponse.prototype.setPayload = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.clearPayload = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.clearPayload = function() { return this.setPayload(undefined); }; @@ -1546,7 +1546,7 @@ proto.grpc.testing.SimpleResponse.prototype.clearPayload = function() { * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.SimpleResponse.prototype.hasPayload = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.hasPayload = function() { return jspb.Message.getField(this, 1) != null; }; @@ -1555,16 +1555,16 @@ proto.grpc.testing.SimpleResponse.prototype.hasPayload = function() { * optional string username = 2; * @return {string} */ -proto.grpc.testing.SimpleResponse.prototype.getUsername = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.getUsername = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.setUsername = function(value) { +proto.connectrpc.conformance.SimpleResponse.prototype.setUsername = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -1573,16 +1573,16 @@ proto.grpc.testing.SimpleResponse.prototype.setUsername = function(value) { * optional string oauth_scope = 3; * @return {string} */ -proto.grpc.testing.SimpleResponse.prototype.getOauthScope = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.getOauthScope = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.setOauthScope = function(value) { +proto.connectrpc.conformance.SimpleResponse.prototype.setOauthScope = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -1591,34 +1591,34 @@ proto.grpc.testing.SimpleResponse.prototype.setOauthScope = function(value) { * optional string server_id = 4; * @return {string} */ -proto.grpc.testing.SimpleResponse.prototype.getServerId = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.getServerId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.setServerId = function(value) { +proto.connectrpc.conformance.SimpleResponse.prototype.setServerId = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; /** * optional GrpclbRouteType grpclb_route_type = 5; - * @return {!proto.grpc.testing.GrpclbRouteType} + * @return {!proto.connectrpc.conformance.GrpclbRouteType} */ -proto.grpc.testing.SimpleResponse.prototype.getGrpclbRouteType = function() { - return /** @type {!proto.grpc.testing.GrpclbRouteType} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +proto.connectrpc.conformance.SimpleResponse.prototype.getGrpclbRouteType = function() { + return /** @type {!proto.connectrpc.conformance.GrpclbRouteType} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** - * @param {!proto.grpc.testing.GrpclbRouteType} value - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @param {!proto.connectrpc.conformance.GrpclbRouteType} value + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.setGrpclbRouteType = function(value) { +proto.connectrpc.conformance.SimpleResponse.prototype.setGrpclbRouteType = function(value) { return jspb.Message.setProto3EnumField(this, 5, value); }; @@ -1627,16 +1627,16 @@ proto.grpc.testing.SimpleResponse.prototype.setGrpclbRouteType = function(value) * optional string hostname = 6; * @return {string} */ -proto.grpc.testing.SimpleResponse.prototype.getHostname = function() { +proto.connectrpc.conformance.SimpleResponse.prototype.getHostname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.SimpleResponse} returns this + * @return {!proto.connectrpc.conformance.SimpleResponse} returns this */ -proto.grpc.testing.SimpleResponse.prototype.setHostname = function(value) { +proto.connectrpc.conformance.SimpleResponse.prototype.setHostname = function(value) { return jspb.Message.setProto3StringField(this, 6, value); }; @@ -1657,8 +1657,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.StreamingInputCallRequest.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.StreamingInputCallRequest.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.StreamingInputCallRequest.toObject(opt_includeInstance, this); }; @@ -1667,13 +1667,13 @@ proto.grpc.testing.StreamingInputCallRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.StreamingInputCallRequest} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.StreamingInputCallRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingInputCallRequest.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.StreamingInputCallRequest.toObject = function(includeInstance, msg) { var f, obj = { - payload: (f = msg.getPayload()) && proto.grpc.testing.Payload.toObject(includeInstance, f), + payload: (f = msg.getPayload()) && proto.connectrpc.conformance.Payload.toObject(includeInstance, f), expectCompressed: (f = msg.getExpectCompressed()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f) }; @@ -1688,23 +1688,23 @@ proto.grpc.testing.StreamingInputCallRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.StreamingInputCallRequest} + * @return {!proto.connectrpc.conformance.StreamingInputCallRequest} */ -proto.grpc.testing.StreamingInputCallRequest.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.StreamingInputCallRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.StreamingInputCallRequest; - return proto.grpc.testing.StreamingInputCallRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.StreamingInputCallRequest; + return proto.connectrpc.conformance.StreamingInputCallRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.StreamingInputCallRequest} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.StreamingInputCallRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.StreamingInputCallRequest} + * @return {!proto.connectrpc.conformance.StreamingInputCallRequest} */ -proto.grpc.testing.StreamingInputCallRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.StreamingInputCallRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1712,8 +1712,8 @@ proto.grpc.testing.StreamingInputCallRequest.deserializeBinaryFromReader = funct var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.grpc.testing.Payload; - reader.readMessage(value,proto.grpc.testing.Payload.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.Payload; + reader.readMessage(value,proto.connectrpc.conformance.Payload.deserializeBinaryFromReader); msg.setPayload(value); break; case 2: @@ -1734,9 +1734,9 @@ proto.grpc.testing.StreamingInputCallRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.StreamingInputCallRequest.prototype.serializeBinary = function() { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.StreamingInputCallRequest.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.StreamingInputCallRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1744,18 +1744,18 @@ proto.grpc.testing.StreamingInputCallRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.StreamingInputCallRequest} message + * @param {!proto.connectrpc.conformance.StreamingInputCallRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingInputCallRequest.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.StreamingInputCallRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPayload(); if (f != null) { writer.writeMessage( 1, f, - proto.grpc.testing.Payload.serializeBinaryToWriter + proto.connectrpc.conformance.Payload.serializeBinaryToWriter ); } f = message.getExpectCompressed(); @@ -1771,28 +1771,28 @@ proto.grpc.testing.StreamingInputCallRequest.serializeBinaryToWriter = function( /** * optional Payload payload = 1; - * @return {?proto.grpc.testing.Payload} + * @return {?proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.StreamingInputCallRequest.prototype.getPayload = function() { - return /** @type{?proto.grpc.testing.Payload} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.Payload, 1)); +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.getPayload = function() { + return /** @type{?proto.connectrpc.conformance.Payload} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.Payload, 1)); }; /** - * @param {?proto.grpc.testing.Payload|undefined} value - * @return {!proto.grpc.testing.StreamingInputCallRequest} returns this + * @param {?proto.connectrpc.conformance.Payload|undefined} value + * @return {!proto.connectrpc.conformance.StreamingInputCallRequest} returns this */ -proto.grpc.testing.StreamingInputCallRequest.prototype.setPayload = function(value) { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.setPayload = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.StreamingInputCallRequest} returns this + * @return {!proto.connectrpc.conformance.StreamingInputCallRequest} returns this */ -proto.grpc.testing.StreamingInputCallRequest.prototype.clearPayload = function() { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.clearPayload = function() { return this.setPayload(undefined); }; @@ -1801,7 +1801,7 @@ proto.grpc.testing.StreamingInputCallRequest.prototype.clearPayload = function() * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.StreamingInputCallRequest.prototype.hasPayload = function() { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.hasPayload = function() { return jspb.Message.getField(this, 1) != null; }; @@ -1810,7 +1810,7 @@ proto.grpc.testing.StreamingInputCallRequest.prototype.hasPayload = function() { * optional google.protobuf.BoolValue expect_compressed = 2; * @return {?proto.google.protobuf.BoolValue} */ -proto.grpc.testing.StreamingInputCallRequest.prototype.getExpectCompressed = function() { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.getExpectCompressed = function() { return /** @type{?proto.google.protobuf.BoolValue} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2)); }; @@ -1818,18 +1818,18 @@ proto.grpc.testing.StreamingInputCallRequest.prototype.getExpectCompressed = fun /** * @param {?proto.google.protobuf.BoolValue|undefined} value - * @return {!proto.grpc.testing.StreamingInputCallRequest} returns this + * @return {!proto.connectrpc.conformance.StreamingInputCallRequest} returns this */ -proto.grpc.testing.StreamingInputCallRequest.prototype.setExpectCompressed = function(value) { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.setExpectCompressed = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.StreamingInputCallRequest} returns this + * @return {!proto.connectrpc.conformance.StreamingInputCallRequest} returns this */ -proto.grpc.testing.StreamingInputCallRequest.prototype.clearExpectCompressed = function() { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.clearExpectCompressed = function() { return this.setExpectCompressed(undefined); }; @@ -1838,7 +1838,7 @@ proto.grpc.testing.StreamingInputCallRequest.prototype.clearExpectCompressed = f * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.StreamingInputCallRequest.prototype.hasExpectCompressed = function() { +proto.connectrpc.conformance.StreamingInputCallRequest.prototype.hasExpectCompressed = function() { return jspb.Message.getField(this, 2) != null; }; @@ -1859,8 +1859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.StreamingInputCallResponse.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.StreamingInputCallResponse.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.StreamingInputCallResponse.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.StreamingInputCallResponse.toObject(opt_includeInstance, this); }; @@ -1869,11 +1869,11 @@ proto.grpc.testing.StreamingInputCallResponse.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.StreamingInputCallResponse} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.StreamingInputCallResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingInputCallResponse.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.StreamingInputCallResponse.toObject = function(includeInstance, msg) { var f, obj = { aggregatedPayloadSize: jspb.Message.getFieldWithDefault(msg, 1, 0) }; @@ -1889,23 +1889,23 @@ proto.grpc.testing.StreamingInputCallResponse.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.StreamingInputCallResponse} + * @return {!proto.connectrpc.conformance.StreamingInputCallResponse} */ -proto.grpc.testing.StreamingInputCallResponse.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.StreamingInputCallResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.StreamingInputCallResponse; - return proto.grpc.testing.StreamingInputCallResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.StreamingInputCallResponse; + return proto.connectrpc.conformance.StreamingInputCallResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.StreamingInputCallResponse} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.StreamingInputCallResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.StreamingInputCallResponse} + * @return {!proto.connectrpc.conformance.StreamingInputCallResponse} */ -proto.grpc.testing.StreamingInputCallResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.StreamingInputCallResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -1929,9 +1929,9 @@ proto.grpc.testing.StreamingInputCallResponse.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.StreamingInputCallResponse.prototype.serializeBinary = function() { +proto.connectrpc.conformance.StreamingInputCallResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.StreamingInputCallResponse.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.StreamingInputCallResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -1939,11 +1939,11 @@ proto.grpc.testing.StreamingInputCallResponse.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.StreamingInputCallResponse} message + * @param {!proto.connectrpc.conformance.StreamingInputCallResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingInputCallResponse.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.StreamingInputCallResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAggregatedPayloadSize(); if (f !== 0) { @@ -1959,16 +1959,16 @@ proto.grpc.testing.StreamingInputCallResponse.serializeBinaryToWriter = function * optional int32 aggregated_payload_size = 1; * @return {number} */ -proto.grpc.testing.StreamingInputCallResponse.prototype.getAggregatedPayloadSize = function() { +proto.connectrpc.conformance.StreamingInputCallResponse.prototype.getAggregatedPayloadSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.StreamingInputCallResponse} returns this + * @return {!proto.connectrpc.conformance.StreamingInputCallResponse} returns this */ -proto.grpc.testing.StreamingInputCallResponse.prototype.setAggregatedPayloadSize = function(value) { +proto.connectrpc.conformance.StreamingInputCallResponse.prototype.setAggregatedPayloadSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -1989,8 +1989,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ResponseParameters.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ResponseParameters.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ResponseParameters.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ResponseParameters.toObject(opt_includeInstance, this); }; @@ -1999,11 +1999,11 @@ proto.grpc.testing.ResponseParameters.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ResponseParameters} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ResponseParameters} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ResponseParameters.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ResponseParameters.toObject = function(includeInstance, msg) { var f, obj = { size: jspb.Message.getFieldWithDefault(msg, 1, 0), intervalUs: jspb.Message.getFieldWithDefault(msg, 2, 0), @@ -2021,23 +2021,23 @@ proto.grpc.testing.ResponseParameters.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ResponseParameters} + * @return {!proto.connectrpc.conformance.ResponseParameters} */ -proto.grpc.testing.ResponseParameters.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ResponseParameters.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ResponseParameters; - return proto.grpc.testing.ResponseParameters.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ResponseParameters; + return proto.connectrpc.conformance.ResponseParameters.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ResponseParameters} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ResponseParameters} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ResponseParameters} + * @return {!proto.connectrpc.conformance.ResponseParameters} */ -proto.grpc.testing.ResponseParameters.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ResponseParameters.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2070,9 +2070,9 @@ proto.grpc.testing.ResponseParameters.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ResponseParameters.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ResponseParameters.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ResponseParameters.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ResponseParameters.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2080,11 +2080,11 @@ proto.grpc.testing.ResponseParameters.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ResponseParameters} message + * @param {!proto.connectrpc.conformance.ResponseParameters} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ResponseParameters.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ResponseParameters.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSize(); if (f !== 0) { @@ -2115,16 +2115,16 @@ proto.grpc.testing.ResponseParameters.serializeBinaryToWriter = function(message * optional int32 size = 1; * @return {number} */ -proto.grpc.testing.ResponseParameters.prototype.getSize = function() { +proto.connectrpc.conformance.ResponseParameters.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.ResponseParameters} returns this + * @return {!proto.connectrpc.conformance.ResponseParameters} returns this */ -proto.grpc.testing.ResponseParameters.prototype.setSize = function(value) { +proto.connectrpc.conformance.ResponseParameters.prototype.setSize = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -2133,16 +2133,16 @@ proto.grpc.testing.ResponseParameters.prototype.setSize = function(value) { * optional int32 interval_us = 2; * @return {number} */ -proto.grpc.testing.ResponseParameters.prototype.getIntervalUs = function() { +proto.connectrpc.conformance.ResponseParameters.prototype.getIntervalUs = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.ResponseParameters} returns this + * @return {!proto.connectrpc.conformance.ResponseParameters} returns this */ -proto.grpc.testing.ResponseParameters.prototype.setIntervalUs = function(value) { +proto.connectrpc.conformance.ResponseParameters.prototype.setIntervalUs = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -2151,7 +2151,7 @@ proto.grpc.testing.ResponseParameters.prototype.setIntervalUs = function(value) * optional google.protobuf.BoolValue compressed = 3; * @return {?proto.google.protobuf.BoolValue} */ -proto.grpc.testing.ResponseParameters.prototype.getCompressed = function() { +proto.connectrpc.conformance.ResponseParameters.prototype.getCompressed = function() { return /** @type{?proto.google.protobuf.BoolValue} */ ( jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 3)); }; @@ -2159,18 +2159,18 @@ proto.grpc.testing.ResponseParameters.prototype.getCompressed = function() { /** * @param {?proto.google.protobuf.BoolValue|undefined} value - * @return {!proto.grpc.testing.ResponseParameters} returns this + * @return {!proto.connectrpc.conformance.ResponseParameters} returns this */ -proto.grpc.testing.ResponseParameters.prototype.setCompressed = function(value) { +proto.connectrpc.conformance.ResponseParameters.prototype.setCompressed = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.ResponseParameters} returns this + * @return {!proto.connectrpc.conformance.ResponseParameters} returns this */ -proto.grpc.testing.ResponseParameters.prototype.clearCompressed = function() { +proto.connectrpc.conformance.ResponseParameters.prototype.clearCompressed = function() { return this.setCompressed(undefined); }; @@ -2179,7 +2179,7 @@ proto.grpc.testing.ResponseParameters.prototype.clearCompressed = function() { * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.ResponseParameters.prototype.hasCompressed = function() { +proto.connectrpc.conformance.ResponseParameters.prototype.hasCompressed = function() { return jspb.Message.getField(this, 3) != null; }; @@ -2190,7 +2190,7 @@ proto.grpc.testing.ResponseParameters.prototype.hasCompressed = function() { * @private {!Array} * @const */ -proto.grpc.testing.StreamingOutputCallRequest.repeatedFields_ = [2]; +proto.connectrpc.conformance.StreamingOutputCallRequest.repeatedFields_ = [2]; @@ -2207,8 +2207,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.StreamingOutputCallRequest.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.StreamingOutputCallRequest.toObject(opt_includeInstance, this); }; @@ -2217,17 +2217,17 @@ proto.grpc.testing.StreamingOutputCallRequest.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.StreamingOutputCallRequest} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.StreamingOutputCallRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingOutputCallRequest.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.StreamingOutputCallRequest.toObject = function(includeInstance, msg) { var f, obj = { responseType: jspb.Message.getFieldWithDefault(msg, 1, 0), responseParametersList: jspb.Message.toObjectList(msg.getResponseParametersList(), - proto.grpc.testing.ResponseParameters.toObject, includeInstance), - payload: (f = msg.getPayload()) && proto.grpc.testing.Payload.toObject(includeInstance, f), - responseStatus: (f = msg.getResponseStatus()) && proto.grpc.testing.EchoStatus.toObject(includeInstance, f) + proto.connectrpc.conformance.ResponseParameters.toObject, includeInstance), + payload: (f = msg.getPayload()) && proto.connectrpc.conformance.Payload.toObject(includeInstance, f), + responseStatus: (f = msg.getResponseStatus()) && proto.connectrpc.conformance.EchoStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -2241,23 +2241,23 @@ proto.grpc.testing.StreamingOutputCallRequest.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.StreamingOutputCallRequest} + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} */ -proto.grpc.testing.StreamingOutputCallRequest.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.StreamingOutputCallRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.StreamingOutputCallRequest; - return proto.grpc.testing.StreamingOutputCallRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.StreamingOutputCallRequest; + return proto.connectrpc.conformance.StreamingOutputCallRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.StreamingOutputCallRequest} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.StreamingOutputCallRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.StreamingOutputCallRequest} + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} */ -proto.grpc.testing.StreamingOutputCallRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.StreamingOutputCallRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2265,22 +2265,22 @@ proto.grpc.testing.StreamingOutputCallRequest.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.grpc.testing.PayloadType} */ (reader.readEnum()); + var value = /** @type {!proto.connectrpc.conformance.PayloadType} */ (reader.readEnum()); msg.setResponseType(value); break; case 2: - var value = new proto.grpc.testing.ResponseParameters; - reader.readMessage(value,proto.grpc.testing.ResponseParameters.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.ResponseParameters; + reader.readMessage(value,proto.connectrpc.conformance.ResponseParameters.deserializeBinaryFromReader); msg.addResponseParameters(value); break; case 3: - var value = new proto.grpc.testing.Payload; - reader.readMessage(value,proto.grpc.testing.Payload.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.Payload; + reader.readMessage(value,proto.connectrpc.conformance.Payload.deserializeBinaryFromReader); msg.setPayload(value); break; case 7: - var value = new proto.grpc.testing.EchoStatus; - reader.readMessage(value,proto.grpc.testing.EchoStatus.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.EchoStatus; + reader.readMessage(value,proto.connectrpc.conformance.EchoStatus.deserializeBinaryFromReader); msg.setResponseStatus(value); break; default: @@ -2296,9 +2296,9 @@ proto.grpc.testing.StreamingOutputCallRequest.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.serializeBinary = function() { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.StreamingOutputCallRequest.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.StreamingOutputCallRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2306,11 +2306,11 @@ proto.grpc.testing.StreamingOutputCallRequest.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.StreamingOutputCallRequest} message + * @param {!proto.connectrpc.conformance.StreamingOutputCallRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingOutputCallRequest.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.StreamingOutputCallRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getResponseType(); if (f !== 0.0) { @@ -2324,7 +2324,7 @@ proto.grpc.testing.StreamingOutputCallRequest.serializeBinaryToWriter = function writer.writeRepeatedMessage( 2, f, - proto.grpc.testing.ResponseParameters.serializeBinaryToWriter + proto.connectrpc.conformance.ResponseParameters.serializeBinaryToWriter ); } f = message.getPayload(); @@ -2332,7 +2332,7 @@ proto.grpc.testing.StreamingOutputCallRequest.serializeBinaryToWriter = function writer.writeMessage( 3, f, - proto.grpc.testing.Payload.serializeBinaryToWriter + proto.connectrpc.conformance.Payload.serializeBinaryToWriter ); } f = message.getResponseStatus(); @@ -2340,7 +2340,7 @@ proto.grpc.testing.StreamingOutputCallRequest.serializeBinaryToWriter = function writer.writeMessage( 7, f, - proto.grpc.testing.EchoStatus.serializeBinaryToWriter + proto.connectrpc.conformance.EchoStatus.serializeBinaryToWriter ); } }; @@ -2348,84 +2348,84 @@ proto.grpc.testing.StreamingOutputCallRequest.serializeBinaryToWriter = function /** * optional PayloadType response_type = 1; - * @return {!proto.grpc.testing.PayloadType} + * @return {!proto.connectrpc.conformance.PayloadType} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.getResponseType = function() { - return /** @type {!proto.grpc.testing.PayloadType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.getResponseType = function() { + return /** @type {!proto.connectrpc.conformance.PayloadType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.grpc.testing.PayloadType} value - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @param {!proto.connectrpc.conformance.PayloadType} value + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.setResponseType = function(value) { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.setResponseType = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; /** * repeated ResponseParameters response_parameters = 2; - * @return {!Array} + * @return {!Array} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.getResponseParametersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.grpc.testing.ResponseParameters, 2)); +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.getResponseParametersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.connectrpc.conformance.ResponseParameters, 2)); }; /** - * @param {!Array} value - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @param {!Array} value + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.setResponseParametersList = function(value) { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.setResponseParametersList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * @param {!proto.grpc.testing.ResponseParameters=} opt_value + * @param {!proto.connectrpc.conformance.ResponseParameters=} opt_value * @param {number=} opt_index - * @return {!proto.grpc.testing.ResponseParameters} + * @return {!proto.connectrpc.conformance.ResponseParameters} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.addResponseParameters = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.grpc.testing.ResponseParameters, opt_index); +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.addResponseParameters = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.connectrpc.conformance.ResponseParameters, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.clearResponseParametersList = function() { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.clearResponseParametersList = function() { return this.setResponseParametersList([]); }; /** * optional Payload payload = 3; - * @return {?proto.grpc.testing.Payload} + * @return {?proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.getPayload = function() { - return /** @type{?proto.grpc.testing.Payload} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.Payload, 3)); +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.getPayload = function() { + return /** @type{?proto.connectrpc.conformance.Payload} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.Payload, 3)); }; /** - * @param {?proto.grpc.testing.Payload|undefined} value - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @param {?proto.connectrpc.conformance.Payload|undefined} value + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.setPayload = function(value) { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.setPayload = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.clearPayload = function() { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.clearPayload = function() { return this.setPayload(undefined); }; @@ -2434,35 +2434,35 @@ proto.grpc.testing.StreamingOutputCallRequest.prototype.clearPayload = function( * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.hasPayload = function() { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.hasPayload = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional EchoStatus response_status = 7; - * @return {?proto.grpc.testing.EchoStatus} + * @return {?proto.connectrpc.conformance.EchoStatus} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.getResponseStatus = function() { - return /** @type{?proto.grpc.testing.EchoStatus} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.EchoStatus, 7)); +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.getResponseStatus = function() { + return /** @type{?proto.connectrpc.conformance.EchoStatus} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.EchoStatus, 7)); }; /** - * @param {?proto.grpc.testing.EchoStatus|undefined} value - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @param {?proto.connectrpc.conformance.EchoStatus|undefined} value + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.setResponseStatus = function(value) { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.setResponseStatus = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.StreamingOutputCallRequest} returns this + * @return {!proto.connectrpc.conformance.StreamingOutputCallRequest} returns this */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.clearResponseStatus = function() { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.clearResponseStatus = function() { return this.setResponseStatus(undefined); }; @@ -2471,7 +2471,7 @@ proto.grpc.testing.StreamingOutputCallRequest.prototype.clearResponseStatus = fu * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.StreamingOutputCallRequest.prototype.hasResponseStatus = function() { +proto.connectrpc.conformance.StreamingOutputCallRequest.prototype.hasResponseStatus = function() { return jspb.Message.getField(this, 7) != null; }; @@ -2492,8 +2492,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.StreamingOutputCallResponse.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.StreamingOutputCallResponse.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.StreamingOutputCallResponse.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.StreamingOutputCallResponse.toObject(opt_includeInstance, this); }; @@ -2502,13 +2502,13 @@ proto.grpc.testing.StreamingOutputCallResponse.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.StreamingOutputCallResponse} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.StreamingOutputCallResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingOutputCallResponse.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.StreamingOutputCallResponse.toObject = function(includeInstance, msg) { var f, obj = { - payload: (f = msg.getPayload()) && proto.grpc.testing.Payload.toObject(includeInstance, f) + payload: (f = msg.getPayload()) && proto.connectrpc.conformance.Payload.toObject(includeInstance, f) }; if (includeInstance) { @@ -2522,23 +2522,23 @@ proto.grpc.testing.StreamingOutputCallResponse.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.StreamingOutputCallResponse} + * @return {!proto.connectrpc.conformance.StreamingOutputCallResponse} */ -proto.grpc.testing.StreamingOutputCallResponse.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.StreamingOutputCallResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.StreamingOutputCallResponse; - return proto.grpc.testing.StreamingOutputCallResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.StreamingOutputCallResponse; + return proto.connectrpc.conformance.StreamingOutputCallResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.StreamingOutputCallResponse} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.StreamingOutputCallResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.StreamingOutputCallResponse} + * @return {!proto.connectrpc.conformance.StreamingOutputCallResponse} */ -proto.grpc.testing.StreamingOutputCallResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.StreamingOutputCallResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2546,8 +2546,8 @@ proto.grpc.testing.StreamingOutputCallResponse.deserializeBinaryFromReader = fun var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.grpc.testing.Payload; - reader.readMessage(value,proto.grpc.testing.Payload.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.Payload; + reader.readMessage(value,proto.connectrpc.conformance.Payload.deserializeBinaryFromReader); msg.setPayload(value); break; default: @@ -2563,9 +2563,9 @@ proto.grpc.testing.StreamingOutputCallResponse.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.StreamingOutputCallResponse.prototype.serializeBinary = function() { +proto.connectrpc.conformance.StreamingOutputCallResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.StreamingOutputCallResponse.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.StreamingOutputCallResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2573,18 +2573,18 @@ proto.grpc.testing.StreamingOutputCallResponse.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.StreamingOutputCallResponse} message + * @param {!proto.connectrpc.conformance.StreamingOutputCallResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.StreamingOutputCallResponse.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.StreamingOutputCallResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPayload(); if (f != null) { writer.writeMessage( 1, f, - proto.grpc.testing.Payload.serializeBinaryToWriter + proto.connectrpc.conformance.Payload.serializeBinaryToWriter ); } }; @@ -2592,28 +2592,28 @@ proto.grpc.testing.StreamingOutputCallResponse.serializeBinaryToWriter = functio /** * optional Payload payload = 1; - * @return {?proto.grpc.testing.Payload} + * @return {?proto.connectrpc.conformance.Payload} */ -proto.grpc.testing.StreamingOutputCallResponse.prototype.getPayload = function() { - return /** @type{?proto.grpc.testing.Payload} */ ( - jspb.Message.getWrapperField(this, proto.grpc.testing.Payload, 1)); +proto.connectrpc.conformance.StreamingOutputCallResponse.prototype.getPayload = function() { + return /** @type{?proto.connectrpc.conformance.Payload} */ ( + jspb.Message.getWrapperField(this, proto.connectrpc.conformance.Payload, 1)); }; /** - * @param {?proto.grpc.testing.Payload|undefined} value - * @return {!proto.grpc.testing.StreamingOutputCallResponse} returns this + * @param {?proto.connectrpc.conformance.Payload|undefined} value + * @return {!proto.connectrpc.conformance.StreamingOutputCallResponse} returns this */ -proto.grpc.testing.StreamingOutputCallResponse.prototype.setPayload = function(value) { +proto.connectrpc.conformance.StreamingOutputCallResponse.prototype.setPayload = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.grpc.testing.StreamingOutputCallResponse} returns this + * @return {!proto.connectrpc.conformance.StreamingOutputCallResponse} returns this */ -proto.grpc.testing.StreamingOutputCallResponse.prototype.clearPayload = function() { +proto.connectrpc.conformance.StreamingOutputCallResponse.prototype.clearPayload = function() { return this.setPayload(undefined); }; @@ -2622,7 +2622,7 @@ proto.grpc.testing.StreamingOutputCallResponse.prototype.clearPayload = function * Returns whether this field is set. * @return {boolean} */ -proto.grpc.testing.StreamingOutputCallResponse.prototype.hasPayload = function() { +proto.connectrpc.conformance.StreamingOutputCallResponse.prototype.hasPayload = function() { return jspb.Message.getField(this, 1) != null; }; @@ -2643,8 +2643,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ReconnectParams.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ReconnectParams.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ReconnectParams.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ReconnectParams.toObject(opt_includeInstance, this); }; @@ -2653,11 +2653,11 @@ proto.grpc.testing.ReconnectParams.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ReconnectParams} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ReconnectParams} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ReconnectParams.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ReconnectParams.toObject = function(includeInstance, msg) { var f, obj = { maxReconnectBackoffMs: jspb.Message.getFieldWithDefault(msg, 1, 0) }; @@ -2673,23 +2673,23 @@ proto.grpc.testing.ReconnectParams.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ReconnectParams} + * @return {!proto.connectrpc.conformance.ReconnectParams} */ -proto.grpc.testing.ReconnectParams.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ReconnectParams.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ReconnectParams; - return proto.grpc.testing.ReconnectParams.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ReconnectParams; + return proto.connectrpc.conformance.ReconnectParams.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ReconnectParams} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ReconnectParams} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ReconnectParams} + * @return {!proto.connectrpc.conformance.ReconnectParams} */ -proto.grpc.testing.ReconnectParams.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ReconnectParams.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2713,9 +2713,9 @@ proto.grpc.testing.ReconnectParams.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ReconnectParams.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ReconnectParams.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ReconnectParams.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ReconnectParams.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2723,11 +2723,11 @@ proto.grpc.testing.ReconnectParams.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ReconnectParams} message + * @param {!proto.connectrpc.conformance.ReconnectParams} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ReconnectParams.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ReconnectParams.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMaxReconnectBackoffMs(); if (f !== 0) { @@ -2743,16 +2743,16 @@ proto.grpc.testing.ReconnectParams.serializeBinaryToWriter = function(message, w * optional int32 max_reconnect_backoff_ms = 1; * @return {number} */ -proto.grpc.testing.ReconnectParams.prototype.getMaxReconnectBackoffMs = function() { +proto.connectrpc.conformance.ReconnectParams.prototype.getMaxReconnectBackoffMs = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.ReconnectParams} returns this + * @return {!proto.connectrpc.conformance.ReconnectParams} returns this */ -proto.grpc.testing.ReconnectParams.prototype.setMaxReconnectBackoffMs = function(value) { +proto.connectrpc.conformance.ReconnectParams.prototype.setMaxReconnectBackoffMs = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -2763,7 +2763,7 @@ proto.grpc.testing.ReconnectParams.prototype.setMaxReconnectBackoffMs = function * @private {!Array} * @const */ -proto.grpc.testing.ReconnectInfo.repeatedFields_ = [2]; +proto.connectrpc.conformance.ReconnectInfo.repeatedFields_ = [2]; @@ -2780,8 +2780,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ReconnectInfo.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ReconnectInfo.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ReconnectInfo.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ReconnectInfo.toObject(opt_includeInstance, this); }; @@ -2790,11 +2790,11 @@ proto.grpc.testing.ReconnectInfo.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ReconnectInfo} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ReconnectInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ReconnectInfo.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ReconnectInfo.toObject = function(includeInstance, msg) { var f, obj = { passed: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), backoffMsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f @@ -2811,23 +2811,23 @@ proto.grpc.testing.ReconnectInfo.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ReconnectInfo} + * @return {!proto.connectrpc.conformance.ReconnectInfo} */ -proto.grpc.testing.ReconnectInfo.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ReconnectInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ReconnectInfo; - return proto.grpc.testing.ReconnectInfo.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ReconnectInfo; + return proto.connectrpc.conformance.ReconnectInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ReconnectInfo} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ReconnectInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ReconnectInfo} + * @return {!proto.connectrpc.conformance.ReconnectInfo} */ -proto.grpc.testing.ReconnectInfo.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ReconnectInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2857,9 +2857,9 @@ proto.grpc.testing.ReconnectInfo.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ReconnectInfo.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ReconnectInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ReconnectInfo.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ReconnectInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2867,11 +2867,11 @@ proto.grpc.testing.ReconnectInfo.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ReconnectInfo} message + * @param {!proto.connectrpc.conformance.ReconnectInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ReconnectInfo.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ReconnectInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPassed(); if (f) { @@ -2894,16 +2894,16 @@ proto.grpc.testing.ReconnectInfo.serializeBinaryToWriter = function(message, wri * optional bool passed = 1; * @return {boolean} */ -proto.grpc.testing.ReconnectInfo.prototype.getPassed = function() { +proto.connectrpc.conformance.ReconnectInfo.prototype.getPassed = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value - * @return {!proto.grpc.testing.ReconnectInfo} returns this + * @return {!proto.connectrpc.conformance.ReconnectInfo} returns this */ -proto.grpc.testing.ReconnectInfo.prototype.setPassed = function(value) { +proto.connectrpc.conformance.ReconnectInfo.prototype.setPassed = function(value) { return jspb.Message.setProto3BooleanField(this, 1, value); }; @@ -2912,16 +2912,16 @@ proto.grpc.testing.ReconnectInfo.prototype.setPassed = function(value) { * repeated int32 backoff_ms = 2; * @return {!Array} */ -proto.grpc.testing.ReconnectInfo.prototype.getBackoffMsList = function() { +proto.connectrpc.conformance.ReconnectInfo.prototype.getBackoffMsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value - * @return {!proto.grpc.testing.ReconnectInfo} returns this + * @return {!proto.connectrpc.conformance.ReconnectInfo} returns this */ -proto.grpc.testing.ReconnectInfo.prototype.setBackoffMsList = function(value) { +proto.connectrpc.conformance.ReconnectInfo.prototype.setBackoffMsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; @@ -2929,18 +2929,18 @@ proto.grpc.testing.ReconnectInfo.prototype.setBackoffMsList = function(value) { /** * @param {number} value * @param {number=} opt_index - * @return {!proto.grpc.testing.ReconnectInfo} returns this + * @return {!proto.connectrpc.conformance.ReconnectInfo} returns this */ -proto.grpc.testing.ReconnectInfo.prototype.addBackoffMs = function(value, opt_index) { +proto.connectrpc.conformance.ReconnectInfo.prototype.addBackoffMs = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.grpc.testing.ReconnectInfo} returns this + * @return {!proto.connectrpc.conformance.ReconnectInfo} returns this */ -proto.grpc.testing.ReconnectInfo.prototype.clearBackoffMsList = function() { +proto.connectrpc.conformance.ReconnectInfo.prototype.clearBackoffMsList = function() { return this.setBackoffMsList([]); }; @@ -2961,8 +2961,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.LoadBalancerStatsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.LoadBalancerStatsRequest.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.LoadBalancerStatsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.LoadBalancerStatsRequest.toObject(opt_includeInstance, this); }; @@ -2971,11 +2971,11 @@ proto.grpc.testing.LoadBalancerStatsRequest.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.LoadBalancerStatsRequest} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.LoadBalancerStatsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerStatsRequest.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.LoadBalancerStatsRequest.toObject = function(includeInstance, msg) { var f, obj = { numRpcs: jspb.Message.getFieldWithDefault(msg, 1, 0), timeoutSec: jspb.Message.getFieldWithDefault(msg, 2, 0) @@ -2992,23 +2992,23 @@ proto.grpc.testing.LoadBalancerStatsRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.LoadBalancerStatsRequest} + * @return {!proto.connectrpc.conformance.LoadBalancerStatsRequest} */ -proto.grpc.testing.LoadBalancerStatsRequest.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.LoadBalancerStatsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.LoadBalancerStatsRequest; - return proto.grpc.testing.LoadBalancerStatsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.LoadBalancerStatsRequest; + return proto.connectrpc.conformance.LoadBalancerStatsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.LoadBalancerStatsRequest} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.LoadBalancerStatsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.LoadBalancerStatsRequest} + * @return {!proto.connectrpc.conformance.LoadBalancerStatsRequest} */ -proto.grpc.testing.LoadBalancerStatsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.LoadBalancerStatsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3036,9 +3036,9 @@ proto.grpc.testing.LoadBalancerStatsRequest.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.LoadBalancerStatsRequest.prototype.serializeBinary = function() { +proto.connectrpc.conformance.LoadBalancerStatsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.LoadBalancerStatsRequest.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.LoadBalancerStatsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3046,11 +3046,11 @@ proto.grpc.testing.LoadBalancerStatsRequest.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.LoadBalancerStatsRequest} message + * @param {!proto.connectrpc.conformance.LoadBalancerStatsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerStatsRequest.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.LoadBalancerStatsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getNumRpcs(); if (f !== 0) { @@ -3073,16 +3073,16 @@ proto.grpc.testing.LoadBalancerStatsRequest.serializeBinaryToWriter = function(m * optional int32 num_rpcs = 1; * @return {number} */ -proto.grpc.testing.LoadBalancerStatsRequest.prototype.getNumRpcs = function() { +proto.connectrpc.conformance.LoadBalancerStatsRequest.prototype.getNumRpcs = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.LoadBalancerStatsRequest} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerStatsRequest} returns this */ -proto.grpc.testing.LoadBalancerStatsRequest.prototype.setNumRpcs = function(value) { +proto.connectrpc.conformance.LoadBalancerStatsRequest.prototype.setNumRpcs = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -3091,16 +3091,16 @@ proto.grpc.testing.LoadBalancerStatsRequest.prototype.setNumRpcs = function(valu * optional int32 timeout_sec = 2; * @return {number} */ -proto.grpc.testing.LoadBalancerStatsRequest.prototype.getTimeoutSec = function() { +proto.connectrpc.conformance.LoadBalancerStatsRequest.prototype.getTimeoutSec = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.LoadBalancerStatsRequest} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerStatsRequest} returns this */ -proto.grpc.testing.LoadBalancerStatsRequest.prototype.setTimeoutSec = function(value) { +proto.connectrpc.conformance.LoadBalancerStatsRequest.prototype.setTimeoutSec = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -3121,8 +3121,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.LoadBalancerStatsResponse.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.LoadBalancerStatsResponse.toObject(opt_includeInstance, this); }; @@ -3131,15 +3131,15 @@ proto.grpc.testing.LoadBalancerStatsResponse.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.LoadBalancerStatsResponse} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.LoadBalancerStatsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerStatsResponse.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.toObject = function(includeInstance, msg) { var f, obj = { rpcsByPeerMap: (f = msg.getRpcsByPeerMap()) ? f.toObject(includeInstance, undefined) : [], numFailures: jspb.Message.getFieldWithDefault(msg, 2, 0), - rpcsByMethodMap: (f = msg.getRpcsByMethodMap()) ? f.toObject(includeInstance, proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.toObject) : [] + rpcsByMethodMap: (f = msg.getRpcsByMethodMap()) ? f.toObject(includeInstance, proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.toObject) : [] }; if (includeInstance) { @@ -3153,23 +3153,23 @@ proto.grpc.testing.LoadBalancerStatsResponse.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse} + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse} */ -proto.grpc.testing.LoadBalancerStatsResponse.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.LoadBalancerStatsResponse; - return proto.grpc.testing.LoadBalancerStatsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.LoadBalancerStatsResponse; + return proto.connectrpc.conformance.LoadBalancerStatsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.LoadBalancerStatsResponse} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.LoadBalancerStatsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse} + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse} */ -proto.grpc.testing.LoadBalancerStatsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3189,7 +3189,7 @@ proto.grpc.testing.LoadBalancerStatsResponse.deserializeBinaryFromReader = funct case 3: var value = msg.getRpcsByMethodMap(); reader.readMessage(value, function(message, reader) { - jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromReader, "", new proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer()); + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromReader, "", new proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer()); }); break; default: @@ -3205,9 +3205,9 @@ proto.grpc.testing.LoadBalancerStatsResponse.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.serializeBinary = function() { +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.LoadBalancerStatsResponse.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.LoadBalancerStatsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3215,11 +3215,11 @@ proto.grpc.testing.LoadBalancerStatsResponse.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.LoadBalancerStatsResponse} message + * @param {!proto.connectrpc.conformance.LoadBalancerStatsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerStatsResponse.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRpcsByPeerMap(true); if (f && f.getLength() > 0) { @@ -3234,7 +3234,7 @@ proto.grpc.testing.LoadBalancerStatsResponse.serializeBinaryToWriter = function( } f = message.getRpcsByMethodMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter); + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter); } }; @@ -3255,8 +3255,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.toObject(opt_includeInstance, this); }; @@ -3265,11 +3265,11 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.toObject = function(includeInstance, msg) { var f, obj = { rpcsByPeerMap: (f = msg.getRpcsByPeerMap()) ? f.toObject(includeInstance, undefined) : [] }; @@ -3285,23 +3285,23 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer} + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer} */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer; - return proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer; + return proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer} + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer} */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3327,9 +3327,9 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.serializeBinary = function() { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3337,11 +3337,11 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer} message + * @param {!proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRpcsByPeerMap(true); if (f && f.getLength() > 0) { @@ -3356,7 +3356,7 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.serializeBinaryToWriter * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.getRpcsByPeerMap = function(opt_noLazyCreate) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.prototype.getRpcsByPeerMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); @@ -3365,9 +3365,9 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.getRpcsByPeerM /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer} returns this */ -proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.clearRpcsByPeerMap = function() { +proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer.prototype.clearRpcsByPeerMap = function() { this.getRpcsByPeerMap().clear(); return this; }; @@ -3379,7 +3379,7 @@ proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer.prototype.clearRpcsByPee * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.getRpcsByPeerMap = function(opt_noLazyCreate) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.getRpcsByPeerMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); @@ -3388,9 +3388,9 @@ proto.grpc.testing.LoadBalancerStatsResponse.prototype.getRpcsByPeerMap = functi /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.clearRpcsByPeerMap = function() { +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.clearRpcsByPeerMap = function() { this.getRpcsByPeerMap().clear(); return this; }; @@ -3400,16 +3400,16 @@ proto.grpc.testing.LoadBalancerStatsResponse.prototype.clearRpcsByPeerMap = func * optional int32 num_failures = 2; * @return {number} */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.getNumFailures = function() { +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.getNumFailures = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.LoadBalancerStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.setNumFailures = function(value) { +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.setNumFailures = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; @@ -3418,20 +3418,20 @@ proto.grpc.testing.LoadBalancerStatsResponse.prototype.setNumFailures = function * map rpcs_by_method = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` - * @return {!jspb.Map} + * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.getRpcsByMethodMap = function(opt_noLazyCreate) { - return /** @type {!jspb.Map} */ ( +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.getRpcsByMethodMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, - proto.grpc.testing.LoadBalancerStatsResponse.RpcsByPeer)); + proto.connectrpc.conformance.LoadBalancerStatsResponse.RpcsByPeer)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerStatsResponse.prototype.clearRpcsByMethodMap = function() { +proto.connectrpc.conformance.LoadBalancerStatsResponse.prototype.clearRpcsByMethodMap = function() { this.getRpcsByMethodMap().clear(); return this; }; @@ -3453,8 +3453,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.toObject(opt_includeInstance, this); }; @@ -3463,11 +3463,11 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsRequest} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -3483,23 +3483,23 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsRequest} + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.LoadBalancerAccumulatedStatsRequest; - return proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest; + return proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsRequest} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsRequest} + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3519,9 +3519,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.prototype.serializeBinary = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3529,11 +3529,11 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsRequest} message + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerAccumulatedStatsRequest.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -3554,8 +3554,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.toObject(opt_includeInstance, this); }; @@ -3564,16 +3564,16 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.toObject = function(includeInstance, msg) { var f, obj = { numRpcsStartedByMethodMap: (f = msg.getNumRpcsStartedByMethodMap()) ? f.toObject(includeInstance, undefined) : [], numRpcsSucceededByMethodMap: (f = msg.getNumRpcsSucceededByMethodMap()) ? f.toObject(includeInstance, undefined) : [], numRpcsFailedByMethodMap: (f = msg.getNumRpcsFailedByMethodMap()) ? f.toObject(includeInstance, undefined) : [], - statsPerMethodMap: (f = msg.getStatsPerMethodMap()) ? f.toObject(includeInstance, proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject) : [] + statsPerMethodMap: (f = msg.getStatsPerMethodMap()) ? f.toObject(includeInstance, proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject) : [] }; if (includeInstance) { @@ -3587,23 +3587,23 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.LoadBalancerAccumulatedStatsResponse; - return proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse; + return proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3631,7 +3631,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.deserializeBinaryFromRea case 4: var value = msg.getStatsPerMethodMap(); reader.readMessage(value, function(message, reader) { - jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinaryFromReader, "", new proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats()); + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinaryFromReader, "", new proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats()); }); break; default: @@ -3647,9 +3647,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.serializeBinary = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3657,11 +3657,11 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} message + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getNumRpcsStartedByMethodMap(true); if (f && f.getLength() > 0) { @@ -3677,7 +3677,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.serializeBinaryToWriter } f = message.getStatsPerMethodMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBinaryToWriter); + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBinaryToWriter); } }; @@ -3698,8 +3698,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject(opt_includeInstance, this); }; @@ -3708,11 +3708,11 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.to * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject = function(includeInstance, msg) { var f, obj = { rpcsStarted: jspb.Message.getFieldWithDefault(msg, 1, 0), resultMap: (f = msg.getResultMap()) ? f.toObject(includeInstance, undefined) : [] @@ -3729,23 +3729,23 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.toObject = f /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats; - return proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats; + return proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3775,9 +3775,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.deserializeB * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.serializeBinary = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3785,11 +3785,11 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.se /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} message + * @param {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRpcsStarted(); if (f !== 0) { @@ -3809,16 +3809,16 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.serializeBin * optional int32 rpcs_started = 1; * @return {number} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.getRpcsStarted = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.getRpcsStarted = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} returns this */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.setRpcsStarted = function(value) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.setRpcsStarted = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -3829,7 +3829,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.se * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.getResultMap = function(opt_noLazyCreate) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.getResultMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); @@ -3838,9 +3838,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.ge /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats} returns this */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.clearResultMap = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.clearResultMap = function() { this.getResultMap().clear(); return this; }; @@ -3852,7 +3852,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats.prototype.cl * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsStartedByMethodMap = function(opt_noLazyCreate) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsStartedByMethodMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); @@ -3861,9 +3861,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsStar /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsStartedByMethodMap = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsStartedByMethodMap = function() { this.getNumRpcsStartedByMethodMap().clear(); return this; }; @@ -3875,7 +3875,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsSt * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsSucceededByMethodMap = function(opt_noLazyCreate) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsSucceededByMethodMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); @@ -3884,9 +3884,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsSucc /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsSucceededByMethodMap = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsSucceededByMethodMap = function() { this.getNumRpcsSucceededByMethodMap().clear(); return this; }; @@ -3898,7 +3898,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsSu * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsFailedByMethodMap = function(opt_noLazyCreate) { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsFailedByMethodMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); @@ -3907,9 +3907,9 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getNumRpcsFail /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsFailedByMethodMap = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsFailedByMethodMap = function() { this.getNumRpcsFailedByMethodMap().clear(); return this; }; @@ -3919,20 +3919,20 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearNumRpcsFa * map stats_per_method = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` - * @return {!jspb.Map} + * @return {!jspb.Map} */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.getStatsPerMethodMap = function(opt_noLazyCreate) { - return /** @type {!jspb.Map} */ ( +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.getStatsPerMethodMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, - proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.MethodStats)); + proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.MethodStats)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.grpc.testing.LoadBalancerAccumulatedStatsResponse} returns this + * @return {!proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse} returns this */ -proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearStatsPerMethodMap = function() { +proto.connectrpc.conformance.LoadBalancerAccumulatedStatsResponse.prototype.clearStatsPerMethodMap = function() { this.getStatsPerMethodMap().clear(); return this; }; @@ -3944,7 +3944,7 @@ proto.grpc.testing.LoadBalancerAccumulatedStatsResponse.prototype.clearStatsPerM * @private {!Array} * @const */ -proto.grpc.testing.ClientConfigureRequest.repeatedFields_ = [1,2]; +proto.connectrpc.conformance.ClientConfigureRequest.repeatedFields_ = [1,2]; @@ -3961,8 +3961,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ClientConfigureRequest.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ClientConfigureRequest.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ClientConfigureRequest.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ClientConfigureRequest.toObject(opt_includeInstance, this); }; @@ -3971,15 +3971,15 @@ proto.grpc.testing.ClientConfigureRequest.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ClientConfigureRequest} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ClientConfigureRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ClientConfigureRequest.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ClientConfigureRequest.toObject = function(includeInstance, msg) { var f, obj = { typesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, metadataList: jspb.Message.toObjectList(msg.getMetadataList(), - proto.grpc.testing.ClientConfigureRequest.Metadata.toObject, includeInstance), + proto.connectrpc.conformance.ClientConfigureRequest.Metadata.toObject, includeInstance), timeoutSec: jspb.Message.getFieldWithDefault(msg, 3, 0) }; @@ -3994,23 +3994,23 @@ proto.grpc.testing.ClientConfigureRequest.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ClientConfigureRequest} + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} */ -proto.grpc.testing.ClientConfigureRequest.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ClientConfigureRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ClientConfigureRequest; - return proto.grpc.testing.ClientConfigureRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ClientConfigureRequest; + return proto.connectrpc.conformance.ClientConfigureRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ClientConfigureRequest} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ClientConfigureRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ClientConfigureRequest} + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} */ -proto.grpc.testing.ClientConfigureRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ClientConfigureRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4018,14 +4018,14 @@ proto.grpc.testing.ClientConfigureRequest.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); for (var i = 0; i < values.length; i++) { msg.addTypes(values[i]); } break; case 2: - var value = new proto.grpc.testing.ClientConfigureRequest.Metadata; - reader.readMessage(value,proto.grpc.testing.ClientConfigureRequest.Metadata.deserializeBinaryFromReader); + var value = new proto.connectrpc.conformance.ClientConfigureRequest.Metadata; + reader.readMessage(value,proto.connectrpc.conformance.ClientConfigureRequest.Metadata.deserializeBinaryFromReader); msg.addMetadata(value); break; case 3: @@ -4045,9 +4045,9 @@ proto.grpc.testing.ClientConfigureRequest.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ClientConfigureRequest.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ClientConfigureRequest.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ClientConfigureRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4055,11 +4055,11 @@ proto.grpc.testing.ClientConfigureRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ClientConfigureRequest} message + * @param {!proto.connectrpc.conformance.ClientConfigureRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ClientConfigureRequest.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ClientConfigureRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTypesList(); if (f.length > 0) { @@ -4073,7 +4073,7 @@ proto.grpc.testing.ClientConfigureRequest.serializeBinaryToWriter = function(mes writer.writeRepeatedMessage( 2, f, - proto.grpc.testing.ClientConfigureRequest.Metadata.serializeBinaryToWriter + proto.connectrpc.conformance.ClientConfigureRequest.Metadata.serializeBinaryToWriter ); } f = message.getTimeoutSec(); @@ -4089,7 +4089,7 @@ proto.grpc.testing.ClientConfigureRequest.serializeBinaryToWriter = function(mes /** * @enum {number} */ -proto.grpc.testing.ClientConfigureRequest.RpcType = { +proto.connectrpc.conformance.ClientConfigureRequest.RpcType = { EMPTY_CALL: 0, UNARY_CALL: 1 }; @@ -4110,8 +4110,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ClientConfigureRequest.Metadata.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ClientConfigureRequest.Metadata.toObject(opt_includeInstance, this); }; @@ -4120,11 +4120,11 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ClientConfigureRequest.Metadata} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ClientConfigureRequest.Metadata.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.toObject = function(includeInstance, msg) { var f, obj = { type: jspb.Message.getFieldWithDefault(msg, 1, 0), key: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4142,23 +4142,23 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ClientConfigureRequest.Metadata} + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ClientConfigureRequest.Metadata; - return proto.grpc.testing.ClientConfigureRequest.Metadata.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ClientConfigureRequest.Metadata; + return proto.connectrpc.conformance.ClientConfigureRequest.Metadata.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ClientConfigureRequest.Metadata} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ClientConfigureRequest.Metadata} + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4166,7 +4166,7 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.grpc.testing.ClientConfigureRequest.RpcType} */ (reader.readEnum()); + var value = /** @type {!proto.connectrpc.conformance.ClientConfigureRequest.RpcType} */ (reader.readEnum()); msg.setType(value); break; case 2: @@ -4190,9 +4190,9 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ClientConfigureRequest.Metadata.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ClientConfigureRequest.Metadata.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4200,11 +4200,11 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ClientConfigureRequest.Metadata} message + * @param {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ClientConfigureRequest.Metadata.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getType(); if (f !== 0.0) { @@ -4232,18 +4232,18 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.serializeBinaryToWriter = fun /** * optional RpcType type = 1; - * @return {!proto.grpc.testing.ClientConfigureRequest.RpcType} + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.RpcType} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.getType = function() { - return /** @type {!proto.grpc.testing.ClientConfigureRequest.RpcType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.getType = function() { + return /** @type {!proto.connectrpc.conformance.ClientConfigureRequest.RpcType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!proto.grpc.testing.ClientConfigureRequest.RpcType} value - * @return {!proto.grpc.testing.ClientConfigureRequest.Metadata} returns this + * @param {!proto.connectrpc.conformance.ClientConfigureRequest.RpcType} value + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} returns this */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.setType = function(value) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.setType = function(value) { return jspb.Message.setProto3EnumField(this, 1, value); }; @@ -4252,16 +4252,16 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.setType = function( * optional string key = 2; * @return {string} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.getKey = function() { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.getKey = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.ClientConfigureRequest.Metadata} returns this + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} returns this */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.setKey = function(value) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.setKey = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4270,91 +4270,91 @@ proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.setKey = function(v * optional string value = 3; * @return {string} */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.getValue = function() { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.getValue = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.ClientConfigureRequest.Metadata} returns this + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} returns this */ -proto.grpc.testing.ClientConfigureRequest.Metadata.prototype.setValue = function(value) { +proto.connectrpc.conformance.ClientConfigureRequest.Metadata.prototype.setValue = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * repeated RpcType types = 1; - * @return {!Array} + * @return {!Array} */ -proto.grpc.testing.ClientConfigureRequest.prototype.getTypesList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.connectrpc.conformance.ClientConfigureRequest.prototype.getTypesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {!Array} value - * @return {!proto.grpc.testing.ClientConfigureRequest} returns this + * @param {!Array} value + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} returns this */ -proto.grpc.testing.ClientConfigureRequest.prototype.setTypesList = function(value) { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.setTypesList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** - * @param {!proto.grpc.testing.ClientConfigureRequest.RpcType} value + * @param {!proto.connectrpc.conformance.ClientConfigureRequest.RpcType} value * @param {number=} opt_index - * @return {!proto.grpc.testing.ClientConfigureRequest} returns this + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} returns this */ -proto.grpc.testing.ClientConfigureRequest.prototype.addTypes = function(value, opt_index) { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.addTypes = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.grpc.testing.ClientConfigureRequest} returns this + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} returns this */ -proto.grpc.testing.ClientConfigureRequest.prototype.clearTypesList = function() { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.clearTypesList = function() { return this.setTypesList([]); }; /** * repeated Metadata metadata = 2; - * @return {!Array} + * @return {!Array} */ -proto.grpc.testing.ClientConfigureRequest.prototype.getMetadataList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.grpc.testing.ClientConfigureRequest.Metadata, 2)); +proto.connectrpc.conformance.ClientConfigureRequest.prototype.getMetadataList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.connectrpc.conformance.ClientConfigureRequest.Metadata, 2)); }; /** - * @param {!Array} value - * @return {!proto.grpc.testing.ClientConfigureRequest} returns this + * @param {!Array} value + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} returns this */ -proto.grpc.testing.ClientConfigureRequest.prototype.setMetadataList = function(value) { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.setMetadataList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * @param {!proto.grpc.testing.ClientConfigureRequest.Metadata=} opt_value + * @param {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata=} opt_value * @param {number=} opt_index - * @return {!proto.grpc.testing.ClientConfigureRequest.Metadata} + * @return {!proto.connectrpc.conformance.ClientConfigureRequest.Metadata} */ -proto.grpc.testing.ClientConfigureRequest.prototype.addMetadata = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.grpc.testing.ClientConfigureRequest.Metadata, opt_index); +proto.connectrpc.conformance.ClientConfigureRequest.prototype.addMetadata = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.connectrpc.conformance.ClientConfigureRequest.Metadata, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.grpc.testing.ClientConfigureRequest} returns this + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} returns this */ -proto.grpc.testing.ClientConfigureRequest.prototype.clearMetadataList = function() { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.clearMetadataList = function() { return this.setMetadataList([]); }; @@ -4363,16 +4363,16 @@ proto.grpc.testing.ClientConfigureRequest.prototype.clearMetadataList = function * optional int32 timeout_sec = 3; * @return {number} */ -proto.grpc.testing.ClientConfigureRequest.prototype.getTimeoutSec = function() { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.getTimeoutSec = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.ClientConfigureRequest} returns this + * @return {!proto.connectrpc.conformance.ClientConfigureRequest} returns this */ -proto.grpc.testing.ClientConfigureRequest.prototype.setTimeoutSec = function(value) { +proto.connectrpc.conformance.ClientConfigureRequest.prototype.setTimeoutSec = function(value) { return jspb.Message.setProto3IntField(this, 3, value); }; @@ -4393,8 +4393,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ClientConfigureResponse.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ClientConfigureResponse.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ClientConfigureResponse.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ClientConfigureResponse.toObject(opt_includeInstance, this); }; @@ -4403,11 +4403,11 @@ proto.grpc.testing.ClientConfigureResponse.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ClientConfigureResponse} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ClientConfigureResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ClientConfigureResponse.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ClientConfigureResponse.toObject = function(includeInstance, msg) { var f, obj = { }; @@ -4423,23 +4423,23 @@ proto.grpc.testing.ClientConfigureResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ClientConfigureResponse} + * @return {!proto.connectrpc.conformance.ClientConfigureResponse} */ -proto.grpc.testing.ClientConfigureResponse.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ClientConfigureResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ClientConfigureResponse; - return proto.grpc.testing.ClientConfigureResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ClientConfigureResponse; + return proto.connectrpc.conformance.ClientConfigureResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ClientConfigureResponse} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ClientConfigureResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ClientConfigureResponse} + * @return {!proto.connectrpc.conformance.ClientConfigureResponse} */ -proto.grpc.testing.ClientConfigureResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ClientConfigureResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4459,9 +4459,9 @@ proto.grpc.testing.ClientConfigureResponse.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ClientConfigureResponse.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ClientConfigureResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ClientConfigureResponse.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ClientConfigureResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4469,11 +4469,11 @@ proto.grpc.testing.ClientConfigureResponse.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ClientConfigureResponse} message + * @param {!proto.connectrpc.conformance.ClientConfigureResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ClientConfigureResponse.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ClientConfigureResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; @@ -4494,8 +4494,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ErrorDetail.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ErrorDetail.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ErrorDetail.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ErrorDetail.toObject(opt_includeInstance, this); }; @@ -4504,11 +4504,11 @@ proto.grpc.testing.ErrorDetail.prototype.toObject = function(opt_includeInstance * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ErrorDetail} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ErrorDetail} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ErrorDetail.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ErrorDetail.toObject = function(includeInstance, msg) { var f, obj = { reason: jspb.Message.getFieldWithDefault(msg, 1, ""), domain: jspb.Message.getFieldWithDefault(msg, 2, "") @@ -4525,23 +4525,23 @@ proto.grpc.testing.ErrorDetail.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ErrorDetail} + * @return {!proto.connectrpc.conformance.ErrorDetail} */ -proto.grpc.testing.ErrorDetail.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ErrorDetail.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ErrorDetail; - return proto.grpc.testing.ErrorDetail.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ErrorDetail; + return proto.connectrpc.conformance.ErrorDetail.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ErrorDetail} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ErrorDetail} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ErrorDetail} + * @return {!proto.connectrpc.conformance.ErrorDetail} */ -proto.grpc.testing.ErrorDetail.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ErrorDetail.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4569,9 +4569,9 @@ proto.grpc.testing.ErrorDetail.deserializeBinaryFromReader = function(msg, reade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ErrorDetail.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ErrorDetail.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ErrorDetail.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ErrorDetail.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4579,11 +4579,11 @@ proto.grpc.testing.ErrorDetail.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ErrorDetail} message + * @param {!proto.connectrpc.conformance.ErrorDetail} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ErrorDetail.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ErrorDetail.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getReason(); if (f.length > 0) { @@ -4606,16 +4606,16 @@ proto.grpc.testing.ErrorDetail.serializeBinaryToWriter = function(message, write * optional string reason = 1; * @return {string} */ -proto.grpc.testing.ErrorDetail.prototype.getReason = function() { +proto.connectrpc.conformance.ErrorDetail.prototype.getReason = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.ErrorDetail} returns this + * @return {!proto.connectrpc.conformance.ErrorDetail} returns this */ -proto.grpc.testing.ErrorDetail.prototype.setReason = function(value) { +proto.connectrpc.conformance.ErrorDetail.prototype.setReason = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4624,16 +4624,16 @@ proto.grpc.testing.ErrorDetail.prototype.setReason = function(value) { * optional string domain = 2; * @return {string} */ -proto.grpc.testing.ErrorDetail.prototype.getDomain = function() { +proto.connectrpc.conformance.ErrorDetail.prototype.getDomain = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.ErrorDetail} returns this + * @return {!proto.connectrpc.conformance.ErrorDetail} returns this */ -proto.grpc.testing.ErrorDetail.prototype.setDomain = function(value) { +proto.connectrpc.conformance.ErrorDetail.prototype.setDomain = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4644,7 +4644,7 @@ proto.grpc.testing.ErrorDetail.prototype.setDomain = function(value) { * @private {!Array} * @const */ -proto.grpc.testing.ErrorStatus.repeatedFields_ = [3]; +proto.connectrpc.conformance.ErrorStatus.repeatedFields_ = [3]; @@ -4661,8 +4661,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.grpc.testing.ErrorStatus.prototype.toObject = function(opt_includeInstance) { - return proto.grpc.testing.ErrorStatus.toObject(opt_includeInstance, this); +proto.connectrpc.conformance.ErrorStatus.prototype.toObject = function(opt_includeInstance) { + return proto.connectrpc.conformance.ErrorStatus.toObject(opt_includeInstance, this); }; @@ -4671,11 +4671,11 @@ proto.grpc.testing.ErrorStatus.prototype.toObject = function(opt_includeInstance * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.grpc.testing.ErrorStatus} msg The msg instance to transform. + * @param {!proto.connectrpc.conformance.ErrorStatus} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ErrorStatus.toObject = function(includeInstance, msg) { +proto.connectrpc.conformance.ErrorStatus.toObject = function(includeInstance, msg) { var f, obj = { code: jspb.Message.getFieldWithDefault(msg, 1, 0), message: jspb.Message.getFieldWithDefault(msg, 2, ""), @@ -4694,23 +4694,23 @@ proto.grpc.testing.ErrorStatus.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.grpc.testing.ErrorStatus} + * @return {!proto.connectrpc.conformance.ErrorStatus} */ -proto.grpc.testing.ErrorStatus.deserializeBinary = function(bytes) { +proto.connectrpc.conformance.ErrorStatus.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.grpc.testing.ErrorStatus; - return proto.grpc.testing.ErrorStatus.deserializeBinaryFromReader(msg, reader); + var msg = new proto.connectrpc.conformance.ErrorStatus; + return proto.connectrpc.conformance.ErrorStatus.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.grpc.testing.ErrorStatus} msg The message object to deserialize into. + * @param {!proto.connectrpc.conformance.ErrorStatus} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.grpc.testing.ErrorStatus} + * @return {!proto.connectrpc.conformance.ErrorStatus} */ -proto.grpc.testing.ErrorStatus.deserializeBinaryFromReader = function(msg, reader) { +proto.connectrpc.conformance.ErrorStatus.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4743,9 +4743,9 @@ proto.grpc.testing.ErrorStatus.deserializeBinaryFromReader = function(msg, reade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.grpc.testing.ErrorStatus.prototype.serializeBinary = function() { +proto.connectrpc.conformance.ErrorStatus.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.grpc.testing.ErrorStatus.serializeBinaryToWriter(this, writer); + proto.connectrpc.conformance.ErrorStatus.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4753,11 +4753,11 @@ proto.grpc.testing.ErrorStatus.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.grpc.testing.ErrorStatus} message + * @param {!proto.connectrpc.conformance.ErrorStatus} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.grpc.testing.ErrorStatus.serializeBinaryToWriter = function(message, writer) { +proto.connectrpc.conformance.ErrorStatus.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCode(); if (f !== 0) { @@ -4788,16 +4788,16 @@ proto.grpc.testing.ErrorStatus.serializeBinaryToWriter = function(message, write * optional int32 code = 1; * @return {number} */ -proto.grpc.testing.ErrorStatus.prototype.getCode = function() { +proto.connectrpc.conformance.ErrorStatus.prototype.getCode = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.grpc.testing.ErrorStatus} returns this + * @return {!proto.connectrpc.conformance.ErrorStatus} returns this */ -proto.grpc.testing.ErrorStatus.prototype.setCode = function(value) { +proto.connectrpc.conformance.ErrorStatus.prototype.setCode = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; @@ -4806,16 +4806,16 @@ proto.grpc.testing.ErrorStatus.prototype.setCode = function(value) { * optional string message = 2; * @return {string} */ -proto.grpc.testing.ErrorStatus.prototype.getMessage = function() { +proto.connectrpc.conformance.ErrorStatus.prototype.getMessage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.grpc.testing.ErrorStatus} returns this + * @return {!proto.connectrpc.conformance.ErrorStatus} returns this */ -proto.grpc.testing.ErrorStatus.prototype.setMessage = function(value) { +proto.connectrpc.conformance.ErrorStatus.prototype.setMessage = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4824,7 +4824,7 @@ proto.grpc.testing.ErrorStatus.prototype.setMessage = function(value) { * repeated google.protobuf.Any details = 3; * @return {!Array} */ -proto.grpc.testing.ErrorStatus.prototype.getDetailsList = function() { +proto.connectrpc.conformance.ErrorStatus.prototype.getDetailsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); }; @@ -4832,9 +4832,9 @@ proto.grpc.testing.ErrorStatus.prototype.getDetailsList = function() { /** * @param {!Array} value - * @return {!proto.grpc.testing.ErrorStatus} returns this + * @return {!proto.connectrpc.conformance.ErrorStatus} returns this */ -proto.grpc.testing.ErrorStatus.prototype.setDetailsList = function(value) { +proto.connectrpc.conformance.ErrorStatus.prototype.setDetailsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; @@ -4844,16 +4844,16 @@ proto.grpc.testing.ErrorStatus.prototype.setDetailsList = function(value) { * @param {number=} opt_index * @return {!proto.google.protobuf.Any} */ -proto.grpc.testing.ErrorStatus.prototype.addDetails = function(opt_value, opt_index) { +proto.connectrpc.conformance.ErrorStatus.prototype.addDetails = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.grpc.testing.ErrorStatus} returns this + * @return {!proto.connectrpc.conformance.ErrorStatus} returns this */ -proto.grpc.testing.ErrorStatus.prototype.clearDetailsList = function() { +proto.connectrpc.conformance.ErrorStatus.prototype.clearDetailsList = function() { return this.setDetailsList([]); }; @@ -4861,17 +4861,17 @@ proto.grpc.testing.ErrorStatus.prototype.clearDetailsList = function() { /** * @enum {number} */ -proto.grpc.testing.PayloadType = { +proto.connectrpc.conformance.PayloadType = { COMPRESSABLE: 0 }; /** * @enum {number} */ -proto.grpc.testing.GrpclbRouteType = { +proto.connectrpc.conformance.GrpclbRouteType = { GRPCLB_ROUTE_TYPE_UNKNOWN: 0, GRPCLB_ROUTE_TYPE_FALLBACK: 1, GRPCLB_ROUTE_TYPE_BACKEND: 2 }; -goog.object.extend(exports, proto.grpc.testing); +goog.object.extend(exports, proto.connectrpc.conformance); diff --git a/web/gen/proto/grpc-web/grpc/testing/test_pb.d.ts b/web/gen/proto/grpc-web/connectrpc/conformance/test_pb.d.ts similarity index 57% rename from web/gen/proto/grpc-web/grpc/testing/test_pb.d.ts rename to web/gen/proto/grpc-web/connectrpc/conformance/test_pb.d.ts index f97b62e8..3bbc1388 100644 --- a/web/gen/proto/grpc-web/grpc/testing/test_pb.d.ts +++ b/web/gen/proto/grpc-web/connectrpc/conformance/test_pb.d.ts @@ -1,6 +1,6 @@ import * as jspb from 'google-protobuf' +import * as connectrpc_conformance_messages_pb from '../../connectrpc/conformance/messages_pb'; import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; -import * as grpc_testing_messages_pb from '../../grpc/testing/messages_pb'; diff --git a/web/gen/proto/grpc-web/grpc/testing/test_pb.js b/web/gen/proto/grpc-web/connectrpc/conformance/test_pb.js similarity index 80% rename from web/gen/proto/grpc-web/grpc/testing/test_pb.js rename to web/gen/proto/grpc-web/connectrpc/conformance/test_pb.js index 89c405c1..2363498a 100644 --- a/web/gen/proto/grpc-web/grpc/testing/test_pb.js +++ b/web/gen/proto/grpc-web/connectrpc/conformance/test_pb.js @@ -1,4 +1,4 @@ -// source: grpc/testing/test.proto +// source: connectrpc/conformance/test.proto /** * @fileoverview * @enhanceable @@ -21,7 +21,7 @@ var global = (function () { return this; }).call(null) || Function('return this')(); +var connectrpc_conformance_messages_pb = require('../../connectrpc/conformance/messages_pb.js'); +goog.object.extend(proto, connectrpc_conformance_messages_pb); var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js'); goog.object.extend(proto, google_protobuf_empty_pb); -var grpc_testing_messages_pb = require('../../grpc/testing/messages_pb.js'); -goog.object.extend(proto, grpc_testing_messages_pb); diff --git a/web/server/interop.ts b/web/server/interop.ts index 1f793b25..8e24fa46 100644 --- a/web/server/interop.ts +++ b/web/server/interop.ts @@ -16,7 +16,7 @@ import { ErrorDetail, Payload, PayloadType, -} from "../gen/proto/connect-web/grpc/testing/messages_pb.js"; +} from "../gen/proto/connect-web/connectrpc/conformance/messages_pb.js"; import { cors as connectCors } from "@bufbuild/connect"; export const interop = { diff --git a/web/server/routes.ts b/web/server/routes.ts index 1f2d4546..f8e591aa 100644 --- a/web/server/routes.ts +++ b/web/server/routes.ts @@ -27,16 +27,16 @@ import type { import { UnimplementedService, TestService, -} from "../gen/proto/connect-web/grpc/testing/test_connect.js"; +} from "../gen/proto/connect-web/connectrpc/conformance/test_connect.js"; import type { SimpleRequest, StreamingInputCallRequest, StreamingOutputCallRequest, -} from "../gen/proto/connect-web/grpc/testing/messages_pb.js"; +} from "../gen/proto/connect-web/connectrpc/conformance/messages_pb.js"; import { EchoStatus, ResponseParameters, -} from "../gen/proto/connect-web/grpc/testing/messages_pb.js"; +} from "../gen/proto/connect-web/connectrpc/conformance/messages_pb.js"; import { interop } from "./interop.js"; export default (router: ConnectRouter) => { diff --git a/web/spec/connect-web.callback.spec.ts b/web/spec/connect-web.callback.spec.ts index 0a0454cd..ad8f2abc 100644 --- a/web/spec/connect-web.callback.spec.ts +++ b/web/spec/connect-web.callback.spec.ts @@ -28,13 +28,13 @@ import { import { TestService, UnimplementedService, -} from "../gen/proto/connect-web/grpc/testing/test_connect"; +} from "../gen/proto/connect-web/connectrpc/conformance/test_connect"; import { ErrorDetail, SimpleRequest, StreamingOutputCallRequest, StreamingOutputCallResponse, -} from "../gen/proto/connect-web/grpc/testing/messages_pb"; +} from "../gen/proto/connect-web/connectrpc/conformance/messages_pb"; import { Empty } from "@bufbuild/protobuf"; // Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. diff --git a/web/spec/connect-web.promise.spec.ts b/web/spec/connect-web.promise.spec.ts index 10c0e4e9..414b451b 100644 --- a/web/spec/connect-web.promise.spec.ts +++ b/web/spec/connect-web.promise.spec.ts @@ -28,13 +28,13 @@ import { import { TestService, UnimplementedService, -} from "../gen/proto/connect-web/grpc/testing/test_connect"; +} from "../gen/proto/connect-web/connectrpc/conformance/test_connect"; import { ErrorDetail, SimpleRequest, StreamingOutputCallRequest, StreamingOutputCallResponse, -} from "../gen/proto/connect-web/grpc/testing/messages_pb"; +} from "../gen/proto/connect-web/connectrpc/conformance/messages_pb"; import { Empty } from "@bufbuild/protobuf"; // Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. diff --git a/web/spec/grpc-web.spec.ts b/web/spec/grpc-web.spec.ts index de2ee764..6ad8e105 100644 --- a/web/spec/grpc-web.spec.ts +++ b/web/spec/grpc-web.spec.ts @@ -22,7 +22,7 @@ import { TestServiceClient, UnimplementedServiceClient, -} from "../gen/proto/grpc-web/grpc/testing/TestServiceClientPb"; +} from "../gen/proto/grpc-web/connectrpc/conformance/TestServiceClientPb"; import { EchoStatus, ErrorDetail, @@ -32,7 +32,7 @@ import { SimpleRequest, StreamingOutputCallRequest, StreamingOutputCallResponse, -} from "../gen/proto/grpc-web/grpc/testing/messages_pb"; +} from "../gen/proto/grpc-web/connectrpc/conformance/messages_pb"; import caseless = require("caseless"); import { Message } from "google-protobuf"; import { Any } from "google-protobuf/google/protobuf/any_pb";