google.golang.org/grpc@v1.74.2/interop/grpc_testing/benchmark_service.pb.go (about) 1 // Copyright 2015 gRPC authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // An integration test service that covers all the method signature permutations 16 // of unary/streaming requests/responses. 17 18 // Code generated by protoc-gen-go. DO NOT EDIT. 19 // versions: 20 // protoc-gen-go v1.36.6 21 // protoc v5.27.1 22 // source: grpc/testing/benchmark_service.proto 23 24 package grpc_testing 25 26 import ( 27 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 28 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 29 reflect "reflect" 30 unsafe "unsafe" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 var File_grpc_testing_benchmark_service_proto protoreflect.FileDescriptor 41 42 const file_grpc_testing_benchmark_service_proto_rawDesc = "" + 43 "\n" + 44 "$grpc/testing/benchmark_service.proto\x12\fgrpc.testing\x1a\x1bgrpc/testing/messages.proto2\xa6\x03\n" + 45 "\x10BenchmarkService\x12F\n" + 46 "\tUnaryCall\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse\x12N\n" + 47 "\rStreamingCall\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse(\x010\x01\x12R\n" + 48 "\x13StreamingFromClient\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse(\x01\x12R\n" + 49 "\x13StreamingFromServer\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse0\x01\x12R\n" + 50 "\x11StreamingBothWays\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse(\x010\x01B*\n" + 51 "\x0fio.grpc.testingB\x15BenchmarkServiceProtoP\x01b\x06proto3" 52 53 var file_grpc_testing_benchmark_service_proto_goTypes = []any{ 54 (*SimpleRequest)(nil), // 0: grpc.testing.SimpleRequest 55 (*SimpleResponse)(nil), // 1: grpc.testing.SimpleResponse 56 } 57 var file_grpc_testing_benchmark_service_proto_depIdxs = []int32{ 58 0, // 0: grpc.testing.BenchmarkService.UnaryCall:input_type -> grpc.testing.SimpleRequest 59 0, // 1: grpc.testing.BenchmarkService.StreamingCall:input_type -> grpc.testing.SimpleRequest 60 0, // 2: grpc.testing.BenchmarkService.StreamingFromClient:input_type -> grpc.testing.SimpleRequest 61 0, // 3: grpc.testing.BenchmarkService.StreamingFromServer:input_type -> grpc.testing.SimpleRequest 62 0, // 4: grpc.testing.BenchmarkService.StreamingBothWays:input_type -> grpc.testing.SimpleRequest 63 1, // 5: grpc.testing.BenchmarkService.UnaryCall:output_type -> grpc.testing.SimpleResponse 64 1, // 6: grpc.testing.BenchmarkService.StreamingCall:output_type -> grpc.testing.SimpleResponse 65 1, // 7: grpc.testing.BenchmarkService.StreamingFromClient:output_type -> grpc.testing.SimpleResponse 66 1, // 8: grpc.testing.BenchmarkService.StreamingFromServer:output_type -> grpc.testing.SimpleResponse 67 1, // 9: grpc.testing.BenchmarkService.StreamingBothWays:output_type -> grpc.testing.SimpleResponse 68 5, // [5:10] is the sub-list for method output_type 69 0, // [0:5] is the sub-list for method input_type 70 0, // [0:0] is the sub-list for extension type_name 71 0, // [0:0] is the sub-list for extension extendee 72 0, // [0:0] is the sub-list for field type_name 73 } 74 75 func init() { file_grpc_testing_benchmark_service_proto_init() } 76 func file_grpc_testing_benchmark_service_proto_init() { 77 if File_grpc_testing_benchmark_service_proto != nil { 78 return 79 } 80 file_grpc_testing_messages_proto_init() 81 type x struct{} 82 out := protoimpl.TypeBuilder{ 83 File: protoimpl.DescBuilder{ 84 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 85 RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_testing_benchmark_service_proto_rawDesc), len(file_grpc_testing_benchmark_service_proto_rawDesc)), 86 NumEnums: 0, 87 NumMessages: 0, 88 NumExtensions: 0, 89 NumServices: 1, 90 }, 91 GoTypes: file_grpc_testing_benchmark_service_proto_goTypes, 92 DependencyIndexes: file_grpc_testing_benchmark_service_proto_depIdxs, 93 }.Build() 94 File_grpc_testing_benchmark_service_proto = out.File 95 file_grpc_testing_benchmark_service_proto_goTypes = nil 96 file_grpc_testing_benchmark_service_proto_depIdxs = nil 97 }