grpc.pb.go 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Code generated by protoc-gen-go. DO NOT EDIT.
  5. // source: grpc/grpc.proto
  6. package grpc
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. type Request struct {
  14. state protoimpl.MessageState
  15. sizeCache protoimpl.SizeCache
  16. unknownFields protoimpl.UnknownFields
  17. }
  18. func (x *Request) Reset() {
  19. *x = Request{}
  20. }
  21. func (x *Request) String() string {
  22. return protoimpl.X.MessageStringOf(x)
  23. }
  24. func (*Request) ProtoMessage() {}
  25. func (x *Request) ProtoReflect() protoreflect.Message {
  26. mi := &file_grpc_grpc_proto_msgTypes[0]
  27. if protoimpl.UnsafeEnabled && x != nil {
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. if ms.LoadMessageInfo() == nil {
  30. ms.StoreMessageInfo(mi)
  31. }
  32. return ms
  33. }
  34. return mi.MessageOf(x)
  35. }
  36. // Deprecated: Use Request.ProtoReflect.Descriptor instead.
  37. func (*Request) Descriptor() ([]byte, []int) {
  38. return file_grpc_grpc_proto_rawDescGZIP(), []int{0}
  39. }
  40. type Response struct {
  41. state protoimpl.MessageState
  42. sizeCache protoimpl.SizeCache
  43. unknownFields protoimpl.UnknownFields
  44. }
  45. func (x *Response) Reset() {
  46. *x = Response{}
  47. }
  48. func (x *Response) String() string {
  49. return protoimpl.X.MessageStringOf(x)
  50. }
  51. func (*Response) ProtoMessage() {}
  52. func (x *Response) ProtoReflect() protoreflect.Message {
  53. mi := &file_grpc_grpc_proto_msgTypes[1]
  54. if protoimpl.UnsafeEnabled && x != nil {
  55. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  56. if ms.LoadMessageInfo() == nil {
  57. ms.StoreMessageInfo(mi)
  58. }
  59. return ms
  60. }
  61. return mi.MessageOf(x)
  62. }
  63. // Deprecated: Use Response.ProtoReflect.Descriptor instead.
  64. func (*Response) Descriptor() ([]byte, []int) {
  65. return file_grpc_grpc_proto_rawDescGZIP(), []int{1}
  66. }
  67. var File_grpc_grpc_proto protoreflect.FileDescriptor
  68. var file_grpc_grpc_proto_rawDesc = []byte{
  69. 0x0a, 0x0f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  70. 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  71. 0x63, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  72. 0x74, 0x22, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc9, 0x02,
  73. 0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49,
  74. 0x0a, 0x0a, 0x75, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x2e, 0x67,
  75. 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72,
  76. 0x70, 0x63, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x70,
  77. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72, 0x70, 0x63,
  78. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x64, 0x6f, 0x77,
  79. 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x2e, 0x67,
  80. 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72,
  81. 0x70, 0x63, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x70,
  82. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72, 0x70, 0x63,
  83. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0d, 0x75,
  84. 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x2e, 0x67,
  85. 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72,
  86. 0x70, 0x63, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x70,
  87. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72, 0x70, 0x63,
  88. 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x12, 0x4c, 0x0a, 0x09, 0x62,
  89. 0x69, 0x64, 0x69, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
  90. 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52,
  91. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  92. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73,
  93. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x6f, 0x6f,
  94. 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70,
  95. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74,
  96. 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61,
  97. 0x74, 0x61, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  98. }
  99. var (
  100. file_grpc_grpc_proto_rawDescOnce sync.Once
  101. file_grpc_grpc_proto_rawDescData = file_grpc_grpc_proto_rawDesc
  102. )
  103. func file_grpc_grpc_proto_rawDescGZIP() []byte {
  104. file_grpc_grpc_proto_rawDescOnce.Do(func() {
  105. file_grpc_grpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_grpc_proto_rawDescData)
  106. })
  107. return file_grpc_grpc_proto_rawDescData
  108. }
  109. var file_grpc_grpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  110. var file_grpc_grpc_proto_goTypes = []interface{}{
  111. (*Request)(nil), // 0: goproto.protoc.grpc.Request
  112. (*Response)(nil), // 1: goproto.protoc.grpc.Response
  113. }
  114. var file_grpc_grpc_proto_depIdxs = []int32{
  115. 0, // 0: goproto.protoc.grpc.test_service.unary_call:input_type -> goproto.protoc.grpc.Request
  116. 0, // 1: goproto.protoc.grpc.test_service.downstream_call:input_type -> goproto.protoc.grpc.Request
  117. 0, // 2: goproto.protoc.grpc.test_service.upstream_call:input_type -> goproto.protoc.grpc.Request
  118. 0, // 3: goproto.protoc.grpc.test_service.bidi_call:input_type -> goproto.protoc.grpc.Request
  119. 1, // 4: goproto.protoc.grpc.test_service.unary_call:output_type -> goproto.protoc.grpc.Response
  120. 1, // 5: goproto.protoc.grpc.test_service.downstream_call:output_type -> goproto.protoc.grpc.Response
  121. 1, // 6: goproto.protoc.grpc.test_service.upstream_call:output_type -> goproto.protoc.grpc.Response
  122. 1, // 7: goproto.protoc.grpc.test_service.bidi_call:output_type -> goproto.protoc.grpc.Response
  123. 4, // [4:8] is the sub-list for method output_type
  124. 0, // [0:4] is the sub-list for method input_type
  125. 0, // [0:0] is the sub-list for extension type_name
  126. 0, // [0:0] is the sub-list for extension extendee
  127. 0, // [0:0] is the sub-list for field type_name
  128. }
  129. func init() { file_grpc_grpc_proto_init() }
  130. func file_grpc_grpc_proto_init() {
  131. if File_grpc_grpc_proto != nil {
  132. return
  133. }
  134. if !protoimpl.UnsafeEnabled {
  135. file_grpc_grpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  136. switch v := v.(*Request); i {
  137. case 0:
  138. return &v.state
  139. case 1:
  140. return &v.sizeCache
  141. case 2:
  142. return &v.unknownFields
  143. default:
  144. return nil
  145. }
  146. }
  147. file_grpc_grpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  148. switch v := v.(*Response); i {
  149. case 0:
  150. return &v.state
  151. case 1:
  152. return &v.sizeCache
  153. case 2:
  154. return &v.unknownFields
  155. default:
  156. return nil
  157. }
  158. }
  159. }
  160. type x struct{}
  161. out := protoimpl.TypeBuilder{
  162. File: protoimpl.DescBuilder{
  163. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  164. RawDescriptor: file_grpc_grpc_proto_rawDesc,
  165. NumEnums: 0,
  166. NumMessages: 2,
  167. NumExtensions: 0,
  168. NumServices: 1,
  169. },
  170. GoTypes: file_grpc_grpc_proto_goTypes,
  171. DependencyIndexes: file_grpc_grpc_proto_depIdxs,
  172. MessageInfos: file_grpc_grpc_proto_msgTypes,
  173. }.Build()
  174. File_grpc_grpc_proto = out.File
  175. file_grpc_grpc_proto_rawDesc = nil
  176. file_grpc_grpc_proto_goTypes = nil
  177. file_grpc_grpc_proto_depIdxs = nil
  178. }