github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/grpc/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.25.0
    21  // 	protoc        v3.14.0
    22  // source: grpc/testing/worker_service.proto
    23  
    24  package grpc_testing
    25  
    26  import (
    27  	proto "github.com/golang/protobuf/proto"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	reflect "reflect"
    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  // This is a compile-time assertion that a sufficiently up-to-date version
    41  // of the legacy proto package is being used.
    42  const _ = proto.ProtoPackageIsVersion4
    43  
    44  var File_grpc_testing_worker_service_proto protoreflect.FileDescriptor
    45  
    46  var file_grpc_testing_worker_service_proto_rawDesc = []byte{
    47  	0x0a, 0x21, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x77,
    48  	0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
    49  	0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e,
    50  	0x67, 0x1a, 0x1a, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f,
    51  	0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x97, 0x02,
    52  	0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
    53  	0x45, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x67,
    54  	0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x72, 0x76,
    55  	0x65, 0x72, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65,
    56  	0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
    57  	0x75, 0x73, 0x28, 0x01, 0x30, 0x01, 0x12, 0x45, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x43, 0x6c, 0x69,
    58  	0x65, 0x6e, 0x74, 0x12, 0x18, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69,
    59  	0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1a, 0x2e,
    60  	0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6c, 0x69,
    61  	0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x28, 0x01, 0x30, 0x01, 0x12, 0x42, 0x0a,
    62  	0x09, 0x43, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x72, 0x70,
    63  	0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x52, 0x65,
    64  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73,
    65  	0x74, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
    66  	0x65, 0x12, 0x34, 0x0a, 0x0a, 0x51, 0x75, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12,
    67  	0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x56,
    68  	0x6f, 0x69, 0x64, 0x1a, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69,
    69  	0x6e, 0x67, 0x2e, 0x56, 0x6f, 0x69, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    70  }
    71  
    72  var file_grpc_testing_worker_service_proto_goTypes = []interface{}{
    73  	(*ServerArgs)(nil),   // 0: grpc.testing.ServerArgs
    74  	(*ClientArgs)(nil),   // 1: grpc.testing.ClientArgs
    75  	(*CoreRequest)(nil),  // 2: grpc.testing.CoreRequest
    76  	(*Void)(nil),         // 3: grpc.testing.Void
    77  	(*ServerStatus)(nil), // 4: grpc.testing.ServerStatus
    78  	(*ClientStatus)(nil), // 5: grpc.testing.ClientStatus
    79  	(*CoreResponse)(nil), // 6: grpc.testing.CoreResponse
    80  }
    81  var file_grpc_testing_worker_service_proto_depIdxs = []int32{
    82  	0, // 0: grpc.testing.WorkerService.RunServer:input_type -> grpc.testing.ServerArgs
    83  	1, // 1: grpc.testing.WorkerService.RunClient:input_type -> grpc.testing.ClientArgs
    84  	2, // 2: grpc.testing.WorkerService.CoreCount:input_type -> grpc.testing.CoreRequest
    85  	3, // 3: grpc.testing.WorkerService.QuitWorker:input_type -> grpc.testing.Void
    86  	4, // 4: grpc.testing.WorkerService.RunServer:output_type -> grpc.testing.ServerStatus
    87  	5, // 5: grpc.testing.WorkerService.RunClient:output_type -> grpc.testing.ClientStatus
    88  	6, // 6: grpc.testing.WorkerService.CoreCount:output_type -> grpc.testing.CoreResponse
    89  	3, // 7: grpc.testing.WorkerService.QuitWorker:output_type -> grpc.testing.Void
    90  	4, // [4:8] is the sub-list for method output_type
    91  	0, // [0:4] is the sub-list for method input_type
    92  	0, // [0:0] is the sub-list for extension type_name
    93  	0, // [0:0] is the sub-list for extension extendee
    94  	0, // [0:0] is the sub-list for field type_name
    95  }
    96  
    97  func init() { file_grpc_testing_worker_service_proto_init() }
    98  func file_grpc_testing_worker_service_proto_init() {
    99  	if File_grpc_testing_worker_service_proto != nil {
   100  		return
   101  	}
   102  	file_grpc_testing_control_proto_init()
   103  	type x struct{}
   104  	out := protoimpl.TypeBuilder{
   105  		File: protoimpl.DescBuilder{
   106  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   107  			RawDescriptor: file_grpc_testing_worker_service_proto_rawDesc,
   108  			NumEnums:      0,
   109  			NumMessages:   0,
   110  			NumExtensions: 0,
   111  			NumServices:   1,
   112  		},
   113  		GoTypes:           file_grpc_testing_worker_service_proto_goTypes,
   114  		DependencyIndexes: file_grpc_testing_worker_service_proto_depIdxs,
   115  	}.Build()
   116  	File_grpc_testing_worker_service_proto = out.File
   117  	file_grpc_testing_worker_service_proto_rawDesc = nil
   118  	file_grpc_testing_worker_service_proto_goTypes = nil
   119  	file_grpc_testing_worker_service_proto_depIdxs = nil
   120  }