google.golang.org/grpc@v1.74.2/interop/grpc_testing/worker_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/worker_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_worker_service_proto protoreflect.FileDescriptor 41 42 const file_grpc_testing_worker_service_proto_rawDesc = "" + 43 "\n" + 44 "!grpc/testing/worker_service.proto\x12\fgrpc.testing\x1a\x1agrpc/testing/control.proto2\x97\x02\n" + 45 "\rWorkerService\x12E\n" + 46 "\tRunServer\x12\x18.grpc.testing.ServerArgs\x1a\x1a.grpc.testing.ServerStatus(\x010\x01\x12E\n" + 47 "\tRunClient\x12\x18.grpc.testing.ClientArgs\x1a\x1a.grpc.testing.ClientStatus(\x010\x01\x12B\n" + 48 "\tCoreCount\x12\x19.grpc.testing.CoreRequest\x1a\x1a.grpc.testing.CoreResponse\x124\n" + 49 "\n" + 50 "QuitWorker\x12\x12.grpc.testing.Void\x1a\x12.grpc.testing.VoidB'\n" + 51 "\x0fio.grpc.testingB\x12WorkerServiceProtoP\x01b\x06proto3" 52 53 var file_grpc_testing_worker_service_proto_goTypes = []any{ 54 (*ServerArgs)(nil), // 0: grpc.testing.ServerArgs 55 (*ClientArgs)(nil), // 1: grpc.testing.ClientArgs 56 (*CoreRequest)(nil), // 2: grpc.testing.CoreRequest 57 (*Void)(nil), // 3: grpc.testing.Void 58 (*ServerStatus)(nil), // 4: grpc.testing.ServerStatus 59 (*ClientStatus)(nil), // 5: grpc.testing.ClientStatus 60 (*CoreResponse)(nil), // 6: grpc.testing.CoreResponse 61 } 62 var file_grpc_testing_worker_service_proto_depIdxs = []int32{ 63 0, // 0: grpc.testing.WorkerService.RunServer:input_type -> grpc.testing.ServerArgs 64 1, // 1: grpc.testing.WorkerService.RunClient:input_type -> grpc.testing.ClientArgs 65 2, // 2: grpc.testing.WorkerService.CoreCount:input_type -> grpc.testing.CoreRequest 66 3, // 3: grpc.testing.WorkerService.QuitWorker:input_type -> grpc.testing.Void 67 4, // 4: grpc.testing.WorkerService.RunServer:output_type -> grpc.testing.ServerStatus 68 5, // 5: grpc.testing.WorkerService.RunClient:output_type -> grpc.testing.ClientStatus 69 6, // 6: grpc.testing.WorkerService.CoreCount:output_type -> grpc.testing.CoreResponse 70 3, // 7: grpc.testing.WorkerService.QuitWorker:output_type -> grpc.testing.Void 71 4, // [4:8] is the sub-list for method output_type 72 0, // [0:4] is the sub-list for method input_type 73 0, // [0:0] is the sub-list for extension type_name 74 0, // [0:0] is the sub-list for extension extendee 75 0, // [0:0] is the sub-list for field type_name 76 } 77 78 func init() { file_grpc_testing_worker_service_proto_init() } 79 func file_grpc_testing_worker_service_proto_init() { 80 if File_grpc_testing_worker_service_proto != nil { 81 return 82 } 83 file_grpc_testing_control_proto_init() 84 type x struct{} 85 out := protoimpl.TypeBuilder{ 86 File: protoimpl.DescBuilder{ 87 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 88 RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_testing_worker_service_proto_rawDesc), len(file_grpc_testing_worker_service_proto_rawDesc)), 89 NumEnums: 0, 90 NumMessages: 0, 91 NumExtensions: 0, 92 NumServices: 1, 93 }, 94 GoTypes: file_grpc_testing_worker_service_proto_goTypes, 95 DependencyIndexes: file_grpc_testing_worker_service_proto_depIdxs, 96 }.Build() 97 File_grpc_testing_worker_service_proto = out.File 98 file_grpc_testing_worker_service_proto_goTypes = nil 99 file_grpc_testing_worker_service_proto_depIdxs = nil 100 }