system.pb.go 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: system.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type GardenIdInfo struct {
  20. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  21. GardenName string `protobuf:"bytes,2,opt,name=garden_name,json=gardenName,proto3" json:"garden_name"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *GardenIdInfo) Reset() { *m = GardenIdInfo{} }
  27. func (m *GardenIdInfo) String() string { return proto.CompactTextString(m) }
  28. func (*GardenIdInfo) ProtoMessage() {}
  29. func (*GardenIdInfo) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_86a7260ebdc12f47, []int{0}
  31. }
  32. func (m *GardenIdInfo) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_GardenIdInfo.Unmarshal(m, b)
  34. }
  35. func (m *GardenIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_GardenIdInfo.Marshal(b, m, deterministic)
  37. }
  38. func (m *GardenIdInfo) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_GardenIdInfo.Merge(m, src)
  40. }
  41. func (m *GardenIdInfo) XXX_Size() int {
  42. return xxx_messageInfo_GardenIdInfo.Size(m)
  43. }
  44. func (m *GardenIdInfo) XXX_DiscardUnknown() {
  45. xxx_messageInfo_GardenIdInfo.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_GardenIdInfo proto.InternalMessageInfo
  48. func (m *GardenIdInfo) GetGardenId() int64 {
  49. if m != nil {
  50. return m.GardenId
  51. }
  52. return 0
  53. }
  54. func (m *GardenIdInfo) GetGardenName() string {
  55. if m != nil {
  56. return m.GardenName
  57. }
  58. return ""
  59. }
  60. type GardenIdsRequest struct {
  61. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  62. XXX_unrecognized []byte `json:"-"`
  63. XXX_sizecache int32 `json:"-"`
  64. }
  65. func (m *GardenIdsRequest) Reset() { *m = GardenIdsRequest{} }
  66. func (m *GardenIdsRequest) String() string { return proto.CompactTextString(m) }
  67. func (*GardenIdsRequest) ProtoMessage() {}
  68. func (*GardenIdsRequest) Descriptor() ([]byte, []int) {
  69. return fileDescriptor_86a7260ebdc12f47, []int{1}
  70. }
  71. func (m *GardenIdsRequest) XXX_Unmarshal(b []byte) error {
  72. return xxx_messageInfo_GardenIdsRequest.Unmarshal(m, b)
  73. }
  74. func (m *GardenIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  75. return xxx_messageInfo_GardenIdsRequest.Marshal(b, m, deterministic)
  76. }
  77. func (m *GardenIdsRequest) XXX_Merge(src proto.Message) {
  78. xxx_messageInfo_GardenIdsRequest.Merge(m, src)
  79. }
  80. func (m *GardenIdsRequest) XXX_Size() int {
  81. return xxx_messageInfo_GardenIdsRequest.Size(m)
  82. }
  83. func (m *GardenIdsRequest) XXX_DiscardUnknown() {
  84. xxx_messageInfo_GardenIdsRequest.DiscardUnknown(m)
  85. }
  86. var xxx_messageInfo_GardenIdsRequest proto.InternalMessageInfo
  87. type GardenIdsReply struct {
  88. GardenIds []*GardenIdInfo `protobuf:"bytes,1,rep,name=garden_ids,json=gardenIds,proto3" json:"garden_ids"`
  89. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  90. XXX_unrecognized []byte `json:"-"`
  91. XXX_sizecache int32 `json:"-"`
  92. }
  93. func (m *GardenIdsReply) Reset() { *m = GardenIdsReply{} }
  94. func (m *GardenIdsReply) String() string { return proto.CompactTextString(m) }
  95. func (*GardenIdsReply) ProtoMessage() {}
  96. func (*GardenIdsReply) Descriptor() ([]byte, []int) {
  97. return fileDescriptor_86a7260ebdc12f47, []int{2}
  98. }
  99. func (m *GardenIdsReply) XXX_Unmarshal(b []byte) error {
  100. return xxx_messageInfo_GardenIdsReply.Unmarshal(m, b)
  101. }
  102. func (m *GardenIdsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  103. return xxx_messageInfo_GardenIdsReply.Marshal(b, m, deterministic)
  104. }
  105. func (m *GardenIdsReply) XXX_Merge(src proto.Message) {
  106. xxx_messageInfo_GardenIdsReply.Merge(m, src)
  107. }
  108. func (m *GardenIdsReply) XXX_Size() int {
  109. return xxx_messageInfo_GardenIdsReply.Size(m)
  110. }
  111. func (m *GardenIdsReply) XXX_DiscardUnknown() {
  112. xxx_messageInfo_GardenIdsReply.DiscardUnknown(m)
  113. }
  114. var xxx_messageInfo_GardenIdsReply proto.InternalMessageInfo
  115. func (m *GardenIdsReply) GetGardenIds() []*GardenIdInfo {
  116. if m != nil {
  117. return m.GardenIds
  118. }
  119. return nil
  120. }
  121. func init() {
  122. proto.RegisterType((*GardenIdInfo)(nil), "pb_v1.GardenIdInfo")
  123. proto.RegisterType((*GardenIdsRequest)(nil), "pb_v1.GardenIdsRequest")
  124. proto.RegisterType((*GardenIdsReply)(nil), "pb_v1.GardenIdsReply")
  125. }
  126. func init() {
  127. proto.RegisterFile("system.proto", fileDescriptor_86a7260ebdc12f47)
  128. }
  129. var fileDescriptor_86a7260ebdc12f47 = []byte{
  130. // 184 bytes of a gzipped FileDescriptorProto
  131. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0xae, 0x2c, 0x2e,
  132. 0x49, 0xcd, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0x48, 0x8a, 0x2f, 0x33, 0x54,
  133. 0xf2, 0xe1, 0xe2, 0x71, 0x4f, 0x2c, 0x4a, 0x49, 0xcd, 0xf3, 0x4c, 0xf1, 0xcc, 0x4b, 0xcb, 0x17,
  134. 0x92, 0xe6, 0xe2, 0x4c, 0x07, 0xf3, 0xe3, 0x33, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x98, 0x83,
  135. 0x38, 0xd2, 0xa1, 0x0a, 0x84, 0xe4, 0xb9, 0xb8, 0xa1, 0x92, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0x4c,
  136. 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x5c, 0x10, 0x21, 0xbf, 0xc4, 0xdc, 0x54, 0x25, 0x21, 0x2e, 0x01,
  137. 0x98, 0x69, 0xc5, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x4a, 0x2e, 0x5c, 0x7c, 0x48, 0x62,
  138. 0x05, 0x39, 0x95, 0x42, 0x46, 0x5c, 0x5c, 0x70, 0x3b, 0x8a, 0x25, 0x18, 0x15, 0x98, 0x35, 0xb8,
  139. 0x8d, 0x84, 0xf5, 0xc0, 0xee, 0xd1, 0x43, 0x76, 0x4c, 0x10, 0x27, 0xcc, 0xe6, 0x62, 0x27, 0xd1,
  140. 0x28, 0xe1, 0x82, 0xa2, 0xfc, 0x82, 0xd4, 0xa2, 0x92, 0x4a, 0xdd, 0x92, 0xc4, 0xe2, 0x6c, 0xfd,
  141. 0x82, 0x24, 0xfd, 0x32, 0xc3, 0x24, 0x36, 0xb0, 0x67, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff,
  142. 0xc2, 0xc2, 0x52, 0x65, 0xdc, 0x00, 0x00, 0x00,
  143. }