grpc_empty.pb.go 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: grpc/grpc_empty.proto
  3. package testing
  4. import (
  5. context "context"
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. grpc "google.golang.org/grpc"
  9. math "math"
  10. )
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // This is a compile-time assertion to ensure that this generated file
  16. // is compatible with the proto package it is being compiled against.
  17. // A compilation error at this line likely means your copy of the
  18. // proto package needs to be updated.
  19. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  20. func init() { proto.RegisterFile("grpc/grpc_empty.proto", fileDescriptor_c580a37f1c90e9b1) }
  21. var fileDescriptor_c580a37f1c90e9b1 = []byte{
  22. // 125 bytes of a gzipped FileDescriptorProto
  23. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x2f, 0x2a, 0x48,
  24. 0xd6, 0x07, 0x11, 0xf1, 0xa9, 0xb9, 0x05, 0x25, 0x95, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42,
  25. 0x3c, 0x20, 0x11, 0xbd, 0x92, 0xd4, 0xe2, 0x92, 0xcc, 0xbc, 0x74, 0x23, 0x3e, 0x2e, 0x1e, 0x57,
  26. 0x90, 0x64, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa, 0x93, 0x43, 0x94, 0x5d, 0x7a, 0x66, 0x49,
  27. 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x3e, 0x58,
  28. 0x63, 0x52, 0x69, 0x1a, 0x84, 0x91, 0xac, 0x9b, 0x9e, 0x9a, 0xa7, 0x9b, 0x9e, 0xaf, 0x0f, 0x32,
  29. 0x23, 0x25, 0xb1, 0x24, 0x11, 0x6c, 0x87, 0x35, 0xd4, 0xc4, 0x24, 0x36, 0xb0, 0x22, 0x63, 0x40,
  30. 0x00, 0x00, 0x00, 0xff, 0xff, 0x93, 0x1d, 0xf2, 0x47, 0x7f, 0x00, 0x00, 0x00,
  31. }
  32. // Reference imports to suppress errors if they are not otherwise used.
  33. var _ context.Context
  34. var _ grpc.ClientConn
  35. // This is a compile-time assertion to ensure that this generated file
  36. // is compatible with the grpc package it is being compiled against.
  37. const _ = grpc.SupportPackageIsVersion4
  38. // EmptyServiceClient is the client API for EmptyService service.
  39. //
  40. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  41. type EmptyServiceClient interface {
  42. }
  43. type emptyServiceClient struct {
  44. cc *grpc.ClientConn
  45. }
  46. func NewEmptyServiceClient(cc *grpc.ClientConn) EmptyServiceClient {
  47. return &emptyServiceClient{cc}
  48. }
  49. // EmptyServiceServer is the server API for EmptyService service.
  50. type EmptyServiceServer interface {
  51. }
  52. // UnimplementedEmptyServiceServer can be embedded to have forward compatible implementations.
  53. type UnimplementedEmptyServiceServer struct {
  54. }
  55. func RegisterEmptyServiceServer(s *grpc.Server, srv EmptyServiceServer) {
  56. s.RegisterService(&_EmptyService_serviceDesc, srv)
  57. }
  58. var _EmptyService_serviceDesc = grpc.ServiceDesc{
  59. ServiceName: "grpc.testing.EmptyService",
  60. HandlerType: (*EmptyServiceServer)(nil),
  61. Methods: []grpc.MethodDesc{},
  62. Streams: []grpc.StreamDesc{},
  63. Metadata: "grpc/grpc_empty.proto",
  64. }