github.com/renbou/grpcbridge@v0.0.2-0.20240416012907-bcbd8b12648a/internal/bridgetest/testpb/testsvc.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        (unknown)
     5  // source: testsvc.proto
     6  
     7  package testpb
     8  
     9  import (
    10  	_ "google.golang.org/genproto/googleapis/api/annotations"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type Combined struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Scalars    *Scalars    `protobuf:"bytes,1,opt,name=scalars,proto3" json:"scalars,omitempty"`
    30  	NonScalars *NonScalars `protobuf:"bytes,2,opt,name=non_scalars,json=nonScalars,proto3" json:"non_scalars,omitempty"`
    31  }
    32  
    33  func (x *Combined) Reset() {
    34  	*x = Combined{}
    35  	if protoimpl.UnsafeEnabled {
    36  		mi := &file_testsvc_proto_msgTypes[0]
    37  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    38  		ms.StoreMessageInfo(mi)
    39  	}
    40  }
    41  
    42  func (x *Combined) String() string {
    43  	return protoimpl.X.MessageStringOf(x)
    44  }
    45  
    46  func (*Combined) ProtoMessage() {}
    47  
    48  func (x *Combined) ProtoReflect() protoreflect.Message {
    49  	mi := &file_testsvc_proto_msgTypes[0]
    50  	if protoimpl.UnsafeEnabled && x != nil {
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		if ms.LoadMessageInfo() == nil {
    53  			ms.StoreMessageInfo(mi)
    54  		}
    55  		return ms
    56  	}
    57  	return mi.MessageOf(x)
    58  }
    59  
    60  // Deprecated: Use Combined.ProtoReflect.Descriptor instead.
    61  func (*Combined) Descriptor() ([]byte, []int) {
    62  	return file_testsvc_proto_rawDescGZIP(), []int{0}
    63  }
    64  
    65  func (x *Combined) GetScalars() *Scalars {
    66  	if x != nil {
    67  		return x.Scalars
    68  	}
    69  	return nil
    70  }
    71  
    72  func (x *Combined) GetNonScalars() *NonScalars {
    73  	if x != nil {
    74  		return x.NonScalars
    75  	}
    76  	return nil
    77  }
    78  
    79  var File_testsvc_proto protoreflect.FileDescriptor
    80  
    81  var file_testsvc_proto_rawDesc = []byte{
    82  	0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x73, 0x76, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
    83  	0x25, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65,
    84  	0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e,
    85  	0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
    86  	0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
    87  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70,
    88  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65,
    89  	0x64, 0x12, 0x48, 0x0a, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01,
    90  	0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e,
    91  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74,
    92  	0x65, 0x73, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61,
    93  	0x72, 0x73, 0x52, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x0b, 0x6e,
    94  	0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
    95  	0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e,
    96  	0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73,
    97  	0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x6e, 0x53, 0x63, 0x61, 0x6c,
    98  	0x61, 0x72, 0x73, 0x52, 0x0a, 0x6e, 0x6f, 0x6e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x32,
    99  	0xb1, 0x06, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
   100  	0x6e, 0x0a, 0x0c, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12,
   101  	0x2e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74,
   102  	0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74,
   103  	0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x1a,
   104  	0x2e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74,
   105  	0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74,
   106  	0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12,
   107  	0xb1, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x2e,
   108  	0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   109  	0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e,
   110  	0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x1a, 0x2f,
   111  	0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   112  	0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e,
   113  	0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x22,
   114  	0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x3a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76,
   115  	0x61, 0x6c, 0x75, 0x65, 0x22, 0x2d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x75,
   116  	0x6e, 0x61, 0x72, 0x79, 0x2f, 0x7b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c,
   117  	0x75, 0x65, 0x7d, 0x2f, 0x7b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c,
   118  	0x75, 0x65, 0x7d, 0x12, 0xd2, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6d,
   119  	0x62, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x2f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64,
   120  	0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64,
   121  	0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x43, 0x6f,
   122  	0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x1a, 0x2f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69,
   123  	0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69,
   124  	0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e, 0x43,
   125  	0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x3a,
   126  	0x0b, 0x6e, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x62, 0x0b, 0x6e, 0x6f,
   127  	0x6e, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x22, 0x3d, 0x2f, 0x73, 0x65, 0x72, 0x76,
   128  	0x69, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x2f, 0x7b, 0x73, 0x63,
   129  	0x61, 0x6c, 0x61, 0x72, 0x73, 0x2e, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
   130  	0x7d, 0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x69, 0x6e,
   131  	0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x64,
   132  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x2e, 0x67,
   133  	0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   134  	0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74, 0x65,
   135  	0x73, 0x74, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x1a, 0x2f, 0x2e, 0x67,
   136  	0x72, 0x70, 0x63, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   137  	0x61, 0x6c, 0x2e, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74, 0x65,
   138  	0x73, 0x74, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x22, 0x2f, 0x82,
   139  	0xd3, 0xe4, 0x93, 0x02, 0x29, 0x62, 0x0b, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x5f, 0x66, 0x69, 0x65,
   140  	0x6c, 0x64, 0x22, 0x1a, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x62, 0x61, 0x64,
   141  	0x2d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2d, 0x70, 0x61, 0x74, 0x68, 0x12, 0x82,
   142  	0x01, 0x0a, 0x04, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x2f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72,
   143  	0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62, 0x72,
   144  	0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x2e,
   145  	0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x1a, 0x2f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x62,
   146  	0x72, 0x69, 0x64, 0x67, 0x65, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x62,
   147  	0x72, 0x69, 0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62,
   148  	0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x69, 0x6e, 0x65, 0x64, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02,
   149  	0x12, 0x3a, 0x01, 0x2a, 0x22, 0x0d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x65,
   150  	0x63, 0x68, 0x6f, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   151  	0x6d, 0x2f, 0x72, 0x65, 0x6e, 0x62, 0x6f, 0x75, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x62, 0x72, 0x69,
   152  	0x64, 0x67, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x62, 0x72, 0x69,
   153  	0x64, 0x67, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x62, 0x62, 0x06,
   154  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   155  }
   156  
   157  var (
   158  	file_testsvc_proto_rawDescOnce sync.Once
   159  	file_testsvc_proto_rawDescData = file_testsvc_proto_rawDesc
   160  )
   161  
   162  func file_testsvc_proto_rawDescGZIP() []byte {
   163  	file_testsvc_proto_rawDescOnce.Do(func() {
   164  		file_testsvc_proto_rawDescData = protoimpl.X.CompressGZIP(file_testsvc_proto_rawDescData)
   165  	})
   166  	return file_testsvc_proto_rawDescData
   167  }
   168  
   169  var file_testsvc_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   170  var file_testsvc_proto_goTypes = []interface{}{
   171  	(*Combined)(nil),   // 0: grpcbridge.internal.bridgetest.testpb.Combined
   172  	(*Scalars)(nil),    // 1: grpcbridge.internal.bridgetest.testpb.Scalars
   173  	(*NonScalars)(nil), // 2: grpcbridge.internal.bridgetest.testpb.NonScalars
   174  }
   175  var file_testsvc_proto_depIdxs = []int32{
   176  	1, // 0: grpcbridge.internal.bridgetest.testpb.Combined.scalars:type_name -> grpcbridge.internal.bridgetest.testpb.Scalars
   177  	2, // 1: grpcbridge.internal.bridgetest.testpb.Combined.non_scalars:type_name -> grpcbridge.internal.bridgetest.testpb.NonScalars
   178  	1, // 2: grpcbridge.internal.bridgetest.testpb.TestService.UnaryUnbound:input_type -> grpcbridge.internal.bridgetest.testpb.Scalars
   179  	1, // 3: grpcbridge.internal.bridgetest.testpb.TestService.UnaryBound:input_type -> grpcbridge.internal.bridgetest.testpb.Scalars
   180  	0, // 4: grpcbridge.internal.bridgetest.testpb.TestService.UnaryCombined:input_type -> grpcbridge.internal.bridgetest.testpb.Combined
   181  	1, // 5: grpcbridge.internal.bridgetest.testpb.TestService.BadResponsePath:input_type -> grpcbridge.internal.bridgetest.testpb.Scalars
   182  	0, // 6: grpcbridge.internal.bridgetest.testpb.TestService.Echo:input_type -> grpcbridge.internal.bridgetest.testpb.Combined
   183  	1, // 7: grpcbridge.internal.bridgetest.testpb.TestService.UnaryUnbound:output_type -> grpcbridge.internal.bridgetest.testpb.Scalars
   184  	0, // 8: grpcbridge.internal.bridgetest.testpb.TestService.UnaryBound:output_type -> grpcbridge.internal.bridgetest.testpb.Combined
   185  	0, // 9: grpcbridge.internal.bridgetest.testpb.TestService.UnaryCombined:output_type -> grpcbridge.internal.bridgetest.testpb.Combined
   186  	0, // 10: grpcbridge.internal.bridgetest.testpb.TestService.BadResponsePath:output_type -> grpcbridge.internal.bridgetest.testpb.Combined
   187  	0, // 11: grpcbridge.internal.bridgetest.testpb.TestService.Echo:output_type -> grpcbridge.internal.bridgetest.testpb.Combined
   188  	7, // [7:12] is the sub-list for method output_type
   189  	2, // [2:7] is the sub-list for method input_type
   190  	2, // [2:2] is the sub-list for extension type_name
   191  	2, // [2:2] is the sub-list for extension extendee
   192  	0, // [0:2] is the sub-list for field type_name
   193  }
   194  
   195  func init() { file_testsvc_proto_init() }
   196  func file_testsvc_proto_init() {
   197  	if File_testsvc_proto != nil {
   198  		return
   199  	}
   200  	file_messages_proto_init()
   201  	if !protoimpl.UnsafeEnabled {
   202  		file_testsvc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   203  			switch v := v.(*Combined); i {
   204  			case 0:
   205  				return &v.state
   206  			case 1:
   207  				return &v.sizeCache
   208  			case 2:
   209  				return &v.unknownFields
   210  			default:
   211  				return nil
   212  			}
   213  		}
   214  	}
   215  	type x struct{}
   216  	out := protoimpl.TypeBuilder{
   217  		File: protoimpl.DescBuilder{
   218  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   219  			RawDescriptor: file_testsvc_proto_rawDesc,
   220  			NumEnums:      0,
   221  			NumMessages:   1,
   222  			NumExtensions: 0,
   223  			NumServices:   1,
   224  		},
   225  		GoTypes:           file_testsvc_proto_goTypes,
   226  		DependencyIndexes: file_testsvc_proto_depIdxs,
   227  		MessageInfos:      file_testsvc_proto_msgTypes,
   228  	}.Build()
   229  	File_testsvc_proto = out.File
   230  	file_testsvc_proto_rawDesc = nil
   231  	file_testsvc_proto_goTypes = nil
   232  	file_testsvc_proto_depIdxs = nil
   233  }