google.golang.org/grpc@v1.74.2/interop/grpc_testing/test.pb.go (about)

     1  // Copyright 2015-2016 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/test.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_test_proto protoreflect.FileDescriptor
    41  
    42  const file_grpc_testing_test_proto_rawDesc = "" +
    43  	"\n" +
    44  	"\x17grpc/testing/test.proto\x12\fgrpc.testing\x1a\x18grpc/testing/empty.proto\x1a\x1bgrpc/testing/messages.proto2\xcb\x05\n" +
    45  	"\vTestService\x125\n" +
    46  	"\tEmptyCall\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty\x12F\n" +
    47  	"\tUnaryCall\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse\x12O\n" +
    48  	"\x12CacheableUnaryCall\x12\x1b.grpc.testing.SimpleRequest\x1a\x1c.grpc.testing.SimpleResponse\x12l\n" +
    49  	"\x13StreamingOutputCall\x12(.grpc.testing.StreamingOutputCallRequest\x1a).grpc.testing.StreamingOutputCallResponse0\x01\x12i\n" +
    50  	"\x12StreamingInputCall\x12'.grpc.testing.StreamingInputCallRequest\x1a(.grpc.testing.StreamingInputCallResponse(\x01\x12i\n" +
    51  	"\x0eFullDuplexCall\x12(.grpc.testing.StreamingOutputCallRequest\x1a).grpc.testing.StreamingOutputCallResponse(\x010\x01\x12i\n" +
    52  	"\x0eHalfDuplexCall\x12(.grpc.testing.StreamingOutputCallRequest\x1a).grpc.testing.StreamingOutputCallResponse(\x010\x01\x12=\n" +
    53  	"\x11UnimplementedCall\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty2U\n" +
    54  	"\x14UnimplementedService\x12=\n" +
    55  	"\x11UnimplementedCall\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty2\x89\x01\n" +
    56  	"\x10ReconnectService\x12;\n" +
    57  	"\x05Start\x12\x1d.grpc.testing.ReconnectParams\x1a\x13.grpc.testing.Empty\x128\n" +
    58  	"\x04Stop\x12\x13.grpc.testing.Empty\x1a\x1b.grpc.testing.ReconnectInfo2\x86\x02\n" +
    59  	"\x18LoadBalancerStatsService\x12c\n" +
    60  	"\x0eGetClientStats\x12&.grpc.testing.LoadBalancerStatsRequest\x1a'.grpc.testing.LoadBalancerStatsResponse\"\x00\x12\x84\x01\n" +
    61  	"\x19GetClientAccumulatedStats\x121.grpc.testing.LoadBalancerAccumulatedStatsRequest\x1a2.grpc.testing.LoadBalancerAccumulatedStatsResponse\"\x002\xcc\x01\n" +
    62  	"\vHookService\x120\n" +
    63  	"\x04Hook\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty\x12L\n" +
    64  	"\x0fSetReturnStatus\x12$.grpc.testing.SetReturnStatusRequest\x1a\x13.grpc.testing.Empty\x12=\n" +
    65  	"\x11ClearReturnStatus\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty2\xd5\x01\n" +
    66  	"\x16XdsUpdateHealthService\x126\n" +
    67  	"\n" +
    68  	"SetServing\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty\x129\n" +
    69  	"\rSetNotServing\x12\x13.grpc.testing.Empty\x1a\x13.grpc.testing.Empty\x12H\n" +
    70  	"\x0fSendHookRequest\x12\x19.grpc.testing.HookRequest\x1a\x1a.grpc.testing.HookResponse2{\n" +
    71  	"\x1fXdsUpdateClientConfigureService\x12X\n" +
    72  	"\tConfigure\x12$.grpc.testing.ClientConfigureRequest\x1a%.grpc.testing.ClientConfigureResponseB\x1d\n" +
    73  	"\x1bio.grpc.testing.integrationb\x06proto3"
    74  
    75  var file_grpc_testing_test_proto_goTypes = []any{
    76  	(*Empty)(nil),                                // 0: grpc.testing.Empty
    77  	(*SimpleRequest)(nil),                        // 1: grpc.testing.SimpleRequest
    78  	(*StreamingOutputCallRequest)(nil),           // 2: grpc.testing.StreamingOutputCallRequest
    79  	(*StreamingInputCallRequest)(nil),            // 3: grpc.testing.StreamingInputCallRequest
    80  	(*ReconnectParams)(nil),                      // 4: grpc.testing.ReconnectParams
    81  	(*LoadBalancerStatsRequest)(nil),             // 5: grpc.testing.LoadBalancerStatsRequest
    82  	(*LoadBalancerAccumulatedStatsRequest)(nil),  // 6: grpc.testing.LoadBalancerAccumulatedStatsRequest
    83  	(*SetReturnStatusRequest)(nil),               // 7: grpc.testing.SetReturnStatusRequest
    84  	(*HookRequest)(nil),                          // 8: grpc.testing.HookRequest
    85  	(*ClientConfigureRequest)(nil),               // 9: grpc.testing.ClientConfigureRequest
    86  	(*SimpleResponse)(nil),                       // 10: grpc.testing.SimpleResponse
    87  	(*StreamingOutputCallResponse)(nil),          // 11: grpc.testing.StreamingOutputCallResponse
    88  	(*StreamingInputCallResponse)(nil),           // 12: grpc.testing.StreamingInputCallResponse
    89  	(*ReconnectInfo)(nil),                        // 13: grpc.testing.ReconnectInfo
    90  	(*LoadBalancerStatsResponse)(nil),            // 14: grpc.testing.LoadBalancerStatsResponse
    91  	(*LoadBalancerAccumulatedStatsResponse)(nil), // 15: grpc.testing.LoadBalancerAccumulatedStatsResponse
    92  	(*HookResponse)(nil),                         // 16: grpc.testing.HookResponse
    93  	(*ClientConfigureResponse)(nil),              // 17: grpc.testing.ClientConfigureResponse
    94  }
    95  var file_grpc_testing_test_proto_depIdxs = []int32{
    96  	0,  // 0: grpc.testing.TestService.EmptyCall:input_type -> grpc.testing.Empty
    97  	1,  // 1: grpc.testing.TestService.UnaryCall:input_type -> grpc.testing.SimpleRequest
    98  	1,  // 2: grpc.testing.TestService.CacheableUnaryCall:input_type -> grpc.testing.SimpleRequest
    99  	2,  // 3: grpc.testing.TestService.StreamingOutputCall:input_type -> grpc.testing.StreamingOutputCallRequest
   100  	3,  // 4: grpc.testing.TestService.StreamingInputCall:input_type -> grpc.testing.StreamingInputCallRequest
   101  	2,  // 5: grpc.testing.TestService.FullDuplexCall:input_type -> grpc.testing.StreamingOutputCallRequest
   102  	2,  // 6: grpc.testing.TestService.HalfDuplexCall:input_type -> grpc.testing.StreamingOutputCallRequest
   103  	0,  // 7: grpc.testing.TestService.UnimplementedCall:input_type -> grpc.testing.Empty
   104  	0,  // 8: grpc.testing.UnimplementedService.UnimplementedCall:input_type -> grpc.testing.Empty
   105  	4,  // 9: grpc.testing.ReconnectService.Start:input_type -> grpc.testing.ReconnectParams
   106  	0,  // 10: grpc.testing.ReconnectService.Stop:input_type -> grpc.testing.Empty
   107  	5,  // 11: grpc.testing.LoadBalancerStatsService.GetClientStats:input_type -> grpc.testing.LoadBalancerStatsRequest
   108  	6,  // 12: grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats:input_type -> grpc.testing.LoadBalancerAccumulatedStatsRequest
   109  	0,  // 13: grpc.testing.HookService.Hook:input_type -> grpc.testing.Empty
   110  	7,  // 14: grpc.testing.HookService.SetReturnStatus:input_type -> grpc.testing.SetReturnStatusRequest
   111  	0,  // 15: grpc.testing.HookService.ClearReturnStatus:input_type -> grpc.testing.Empty
   112  	0,  // 16: grpc.testing.XdsUpdateHealthService.SetServing:input_type -> grpc.testing.Empty
   113  	0,  // 17: grpc.testing.XdsUpdateHealthService.SetNotServing:input_type -> grpc.testing.Empty
   114  	8,  // 18: grpc.testing.XdsUpdateHealthService.SendHookRequest:input_type -> grpc.testing.HookRequest
   115  	9,  // 19: grpc.testing.XdsUpdateClientConfigureService.Configure:input_type -> grpc.testing.ClientConfigureRequest
   116  	0,  // 20: grpc.testing.TestService.EmptyCall:output_type -> grpc.testing.Empty
   117  	10, // 21: grpc.testing.TestService.UnaryCall:output_type -> grpc.testing.SimpleResponse
   118  	10, // 22: grpc.testing.TestService.CacheableUnaryCall:output_type -> grpc.testing.SimpleResponse
   119  	11, // 23: grpc.testing.TestService.StreamingOutputCall:output_type -> grpc.testing.StreamingOutputCallResponse
   120  	12, // 24: grpc.testing.TestService.StreamingInputCall:output_type -> grpc.testing.StreamingInputCallResponse
   121  	11, // 25: grpc.testing.TestService.FullDuplexCall:output_type -> grpc.testing.StreamingOutputCallResponse
   122  	11, // 26: grpc.testing.TestService.HalfDuplexCall:output_type -> grpc.testing.StreamingOutputCallResponse
   123  	0,  // 27: grpc.testing.TestService.UnimplementedCall:output_type -> grpc.testing.Empty
   124  	0,  // 28: grpc.testing.UnimplementedService.UnimplementedCall:output_type -> grpc.testing.Empty
   125  	0,  // 29: grpc.testing.ReconnectService.Start:output_type -> grpc.testing.Empty
   126  	13, // 30: grpc.testing.ReconnectService.Stop:output_type -> grpc.testing.ReconnectInfo
   127  	14, // 31: grpc.testing.LoadBalancerStatsService.GetClientStats:output_type -> grpc.testing.LoadBalancerStatsResponse
   128  	15, // 32: grpc.testing.LoadBalancerStatsService.GetClientAccumulatedStats:output_type -> grpc.testing.LoadBalancerAccumulatedStatsResponse
   129  	0,  // 33: grpc.testing.HookService.Hook:output_type -> grpc.testing.Empty
   130  	0,  // 34: grpc.testing.HookService.SetReturnStatus:output_type -> grpc.testing.Empty
   131  	0,  // 35: grpc.testing.HookService.ClearReturnStatus:output_type -> grpc.testing.Empty
   132  	0,  // 36: grpc.testing.XdsUpdateHealthService.SetServing:output_type -> grpc.testing.Empty
   133  	0,  // 37: grpc.testing.XdsUpdateHealthService.SetNotServing:output_type -> grpc.testing.Empty
   134  	16, // 38: grpc.testing.XdsUpdateHealthService.SendHookRequest:output_type -> grpc.testing.HookResponse
   135  	17, // 39: grpc.testing.XdsUpdateClientConfigureService.Configure:output_type -> grpc.testing.ClientConfigureResponse
   136  	20, // [20:40] is the sub-list for method output_type
   137  	0,  // [0:20] is the sub-list for method input_type
   138  	0,  // [0:0] is the sub-list for extension type_name
   139  	0,  // [0:0] is the sub-list for extension extendee
   140  	0,  // [0:0] is the sub-list for field type_name
   141  }
   142  
   143  func init() { file_grpc_testing_test_proto_init() }
   144  func file_grpc_testing_test_proto_init() {
   145  	if File_grpc_testing_test_proto != nil {
   146  		return
   147  	}
   148  	file_grpc_testing_empty_proto_init()
   149  	file_grpc_testing_messages_proto_init()
   150  	type x struct{}
   151  	out := protoimpl.TypeBuilder{
   152  		File: protoimpl.DescBuilder{
   153  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   154  			RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_testing_test_proto_rawDesc), len(file_grpc_testing_test_proto_rawDesc)),
   155  			NumEnums:      0,
   156  			NumMessages:   0,
   157  			NumExtensions: 0,
   158  			NumServices:   7,
   159  		},
   160  		GoTypes:           file_grpc_testing_test_proto_goTypes,
   161  		DependencyIndexes: file_grpc_testing_test_proto_depIdxs,
   162  	}.Build()
   163  	File_grpc_testing_test_proto = out.File
   164  	file_grpc_testing_test_proto_goTypes = nil
   165  	file_grpc_testing_test_proto_depIdxs = nil
   166  }