...

Source file src/google.golang.org/grpc/interop/grpc_testing/worker_service.pb.go

Documentation: google.golang.org/grpc/interop/grpc_testing

     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.33.0
    21  // 	protoc        v4.25.2
    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  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  var File_grpc_testing_worker_service_proto protoreflect.FileDescriptor
    40  
    41  var file_grpc_testing_worker_service_proto_rawDesc = []byte{
    42  	0x0a, 0x21, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x77,
    43  	0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
    44  	0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e,
    45  	0x67, 0x1a, 0x1a, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f,
    46  	0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x97, 0x02,
    47  	0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
    48  	0x45, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x67,
    49  	0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x72, 0x76,
    50  	0x65, 0x72, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65,
    51  	0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
    52  	0x75, 0x73, 0x28, 0x01, 0x30, 0x01, 0x12, 0x45, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x43, 0x6c, 0x69,
    53  	0x65, 0x6e, 0x74, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69,
    54  	0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1a, 0x2e,
    55  	0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69,
    56  	0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x28, 0x01, 0x30, 0x01, 0x12, 0x42, 0x0a,
    57  	0x09, 0x43, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x72, 0x70,
    58  	0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x52, 0x65,
    59  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73,
    60  	0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
    61  	0x65, 0x12, 0x34, 0x0a, 0x0a, 0x51, 0x75, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12,
    62  	0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x56,
    63  	0x6f, 0x69, 0x64, 0x1a, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69,
    64  	0x6e, 0x67, 0x2e, 0x56, 0x6f, 0x69, 0x64, 0x42, 0x27, 0x0a, 0x0f, 0x69, 0x6f, 0x2e, 0x67, 0x72,
    65  	0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x12, 0x57, 0x6f, 0x72, 0x6b,
    66  	0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
    67  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    68  }
    69  
    70  var file_grpc_testing_worker_service_proto_goTypes = []interface{}{
    71  	(*ServerArgs)(nil),   // 0: grpc.testing.ServerArgs
    72  	(*ClientArgs)(nil),   // 1: grpc.testing.ClientArgs
    73  	(*CoreRequest)(nil),  // 2: grpc.testing.CoreRequest
    74  	(*Void)(nil),         // 3: grpc.testing.Void
    75  	(*ServerStatus)(nil), // 4: grpc.testing.ServerStatus
    76  	(*ClientStatus)(nil), // 5: grpc.testing.ClientStatus
    77  	(*CoreResponse)(nil), // 6: grpc.testing.CoreResponse
    78  }
    79  var file_grpc_testing_worker_service_proto_depIdxs = []int32{
    80  	0, // 0: grpc.testing.WorkerService.RunServer:input_type -> grpc.testing.ServerArgs
    81  	1, // 1: grpc.testing.WorkerService.RunClient:input_type -> grpc.testing.ClientArgs
    82  	2, // 2: grpc.testing.WorkerService.CoreCount:input_type -> grpc.testing.CoreRequest
    83  	3, // 3: grpc.testing.WorkerService.QuitWorker:input_type -> grpc.testing.Void
    84  	4, // 4: grpc.testing.WorkerService.RunServer:output_type -> grpc.testing.ServerStatus
    85  	5, // 5: grpc.testing.WorkerService.RunClient:output_type -> grpc.testing.ClientStatus
    86  	6, // 6: grpc.testing.WorkerService.CoreCount:output_type -> grpc.testing.CoreResponse
    87  	3, // 7: grpc.testing.WorkerService.QuitWorker:output_type -> grpc.testing.Void
    88  	4, // [4:8] is the sub-list for method output_type
    89  	0, // [0:4] is the sub-list for method input_type
    90  	0, // [0:0] is the sub-list for extension type_name
    91  	0, // [0:0] is the sub-list for extension extendee
    92  	0, // [0:0] is the sub-list for field type_name
    93  }
    94  
    95  func init() { file_grpc_testing_worker_service_proto_init() }
    96  func file_grpc_testing_worker_service_proto_init() {
    97  	if File_grpc_testing_worker_service_proto != nil {
    98  		return
    99  	}
   100  	file_grpc_testing_control_proto_init()
   101  	type x struct{}
   102  	out := protoimpl.TypeBuilder{
   103  		File: protoimpl.DescBuilder{
   104  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   105  			RawDescriptor: file_grpc_testing_worker_service_proto_rawDesc,
   106  			NumEnums:      0,
   107  			NumMessages:   0,
   108  			NumExtensions: 0,
   109  			NumServices:   1,
   110  		},
   111  		GoTypes:           file_grpc_testing_worker_service_proto_goTypes,
   112  		DependencyIndexes: file_grpc_testing_worker_service_proto_depIdxs,
   113  	}.Build()
   114  	File_grpc_testing_worker_service_proto = out.File
   115  	file_grpc_testing_worker_service_proto_rawDesc = nil
   116  	file_grpc_testing_worker_service_proto_goTypes = nil
   117  	file_grpc_testing_worker_service_proto_depIdxs = nil
   118  }
   119  

View as plain text