garden_service.pb.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: garden_service.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb
  5. import (
  6. context "context"
  7. fmt "fmt"
  8. proto "github.com/golang/protobuf/proto"
  9. grpc "google.golang.org/grpc"
  10. math "math"
  11. )
  12. // Reference imports to suppress errors if they are not otherwise used.
  13. var _ = proto.Marshal
  14. var _ = fmt.Errorf
  15. var _ = math.Inf
  16. // This is a compile-time assertion to ensure that this generated file
  17. // is compatible with the proto package it is being compiled against.
  18. // A compilation error at this line likely means your copy of the
  19. // proto package needs to be updated.
  20. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  21. func init() {
  22. proto.RegisterFile("garden_service.proto", fileDescriptor_e527eed98167eca4)
  23. }
  24. var fileDescriptor_e527eed98167eca4 = []byte{
  25. // 96 bytes of a gzipped FileDescriptorProto
  26. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x49, 0x4f, 0x2c, 0x4a,
  27. 0x49, 0xcd, 0x8b, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
  28. 0x17, 0xe2, 0x2a, 0x48, 0xd2, 0x83, 0x8a, 0x18, 0x71, 0x70, 0xb1, 0xb9, 0x83, 0xd5, 0x38, 0xc9,
  29. 0x46, 0x49, 0x17, 0x14, 0xe5, 0x17, 0xa4, 0x16, 0x95, 0x54, 0xea, 0x26, 0xe7, 0xe7, 0x16, 0x24,
  30. 0xe6, 0x55, 0xea, 0xa6, 0x27, 0x96, 0xa4, 0x96, 0x27, 0x56, 0xea, 0x17, 0x24, 0x25, 0xb1, 0x81,
  31. 0xf5, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x9d, 0xfb, 0xe9, 0x53, 0x00, 0x00, 0x00,
  32. }
  33. // Reference imports to suppress errors if they are not otherwise used.
  34. var _ context.Context
  35. var _ grpc.ClientConnInterface
  36. // This is a compile-time assertion to ensure that this generated file
  37. // is compatible with the grpc package it is being compiled against.
  38. const _ = grpc.SupportPackageIsVersion6
  39. // GardenClient is the client API for Garden service.
  40. //
  41. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  42. type GardenClient interface {
  43. }
  44. type gardenClient struct {
  45. cc grpc.ClientConnInterface
  46. }
  47. func NewGardenClient(cc grpc.ClientConnInterface) GardenClient {
  48. return &gardenClient{cc}
  49. }
  50. // GardenServer is the server API for Garden service.
  51. type GardenServer interface {
  52. }
  53. // UnimplementedGardenServer can be embedded to have forward compatible implementations.
  54. type UnimplementedGardenServer struct {
  55. }
  56. func RegisterGardenServer(s *grpc.Server, srv GardenServer) {
  57. s.RegisterService(&_Garden_serviceDesc, srv)
  58. }
  59. var _Garden_serviceDesc = grpc.ServiceDesc{
  60. ServiceName: "pb.service.Garden",
  61. HandlerType: (*GardenServer)(nil),
  62. Methods: []grpc.MethodDesc{},
  63. Streams: []grpc.StreamDesc{},
  64. Metadata: "garden_service.proto",
  65. }