company.pb.go 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: company.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 CompanyGardenDecreaseRequest struct {
  20. Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *CompanyGardenDecreaseRequest) Reset() { *m = CompanyGardenDecreaseRequest{} }
  26. func (m *CompanyGardenDecreaseRequest) String() string { return proto.CompactTextString(m) }
  27. func (*CompanyGardenDecreaseRequest) ProtoMessage() {}
  28. func (*CompanyGardenDecreaseRequest) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_ade57ca5b8f3903f, []int{0}
  30. }
  31. func (m *CompanyGardenDecreaseRequest) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_CompanyGardenDecreaseRequest.Unmarshal(m, b)
  33. }
  34. func (m *CompanyGardenDecreaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_CompanyGardenDecreaseRequest.Marshal(b, m, deterministic)
  36. }
  37. func (m *CompanyGardenDecreaseRequest) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_CompanyGardenDecreaseRequest.Merge(m, src)
  39. }
  40. func (m *CompanyGardenDecreaseRequest) XXX_Size() int {
  41. return xxx_messageInfo_CompanyGardenDecreaseRequest.Size(m)
  42. }
  43. func (m *CompanyGardenDecreaseRequest) XXX_DiscardUnknown() {
  44. xxx_messageInfo_CompanyGardenDecreaseRequest.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_CompanyGardenDecreaseRequest proto.InternalMessageInfo
  47. func (m *CompanyGardenDecreaseRequest) GetCid() int64 {
  48. if m != nil {
  49. return m.Cid
  50. }
  51. return 0
  52. }
  53. type CompanyGardenDecreaseReply struct {
  54. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  55. XXX_unrecognized []byte `json:"-"`
  56. XXX_sizecache int32 `json:"-"`
  57. }
  58. func (m *CompanyGardenDecreaseReply) Reset() { *m = CompanyGardenDecreaseReply{} }
  59. func (m *CompanyGardenDecreaseReply) String() string { return proto.CompactTextString(m) }
  60. func (*CompanyGardenDecreaseReply) ProtoMessage() {}
  61. func (*CompanyGardenDecreaseReply) Descriptor() ([]byte, []int) {
  62. return fileDescriptor_ade57ca5b8f3903f, []int{1}
  63. }
  64. func (m *CompanyGardenDecreaseReply) XXX_Unmarshal(b []byte) error {
  65. return xxx_messageInfo_CompanyGardenDecreaseReply.Unmarshal(m, b)
  66. }
  67. func (m *CompanyGardenDecreaseReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  68. return xxx_messageInfo_CompanyGardenDecreaseReply.Marshal(b, m, deterministic)
  69. }
  70. func (m *CompanyGardenDecreaseReply) XXX_Merge(src proto.Message) {
  71. xxx_messageInfo_CompanyGardenDecreaseReply.Merge(m, src)
  72. }
  73. func (m *CompanyGardenDecreaseReply) XXX_Size() int {
  74. return xxx_messageInfo_CompanyGardenDecreaseReply.Size(m)
  75. }
  76. func (m *CompanyGardenDecreaseReply) XXX_DiscardUnknown() {
  77. xxx_messageInfo_CompanyGardenDecreaseReply.DiscardUnknown(m)
  78. }
  79. var xxx_messageInfo_CompanyGardenDecreaseReply proto.InternalMessageInfo
  80. type CompanyObjStatisticSetRequest struct {
  81. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  82. ObjType int32 `protobuf:"varint,2,opt,name=obj_type,json=objType,proto3" json:"obj_type"`
  83. // 为负数表示减少
  84. TotalIncrease int64 `protobuf:"varint,3,opt,name=total_increase,json=totalIncrease,proto3" json:"total_increase"`
  85. Cid int64 `protobuf:"varint,4,opt,name=cid,proto3" json:"cid"`
  86. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  87. XXX_unrecognized []byte `json:"-"`
  88. XXX_sizecache int32 `json:"-"`
  89. }
  90. func (m *CompanyObjStatisticSetRequest) Reset() { *m = CompanyObjStatisticSetRequest{} }
  91. func (m *CompanyObjStatisticSetRequest) String() string { return proto.CompactTextString(m) }
  92. func (*CompanyObjStatisticSetRequest) ProtoMessage() {}
  93. func (*CompanyObjStatisticSetRequest) Descriptor() ([]byte, []int) {
  94. return fileDescriptor_ade57ca5b8f3903f, []int{2}
  95. }
  96. func (m *CompanyObjStatisticSetRequest) XXX_Unmarshal(b []byte) error {
  97. return xxx_messageInfo_CompanyObjStatisticSetRequest.Unmarshal(m, b)
  98. }
  99. func (m *CompanyObjStatisticSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  100. return xxx_messageInfo_CompanyObjStatisticSetRequest.Marshal(b, m, deterministic)
  101. }
  102. func (m *CompanyObjStatisticSetRequest) XXX_Merge(src proto.Message) {
  103. xxx_messageInfo_CompanyObjStatisticSetRequest.Merge(m, src)
  104. }
  105. func (m *CompanyObjStatisticSetRequest) XXX_Size() int {
  106. return xxx_messageInfo_CompanyObjStatisticSetRequest.Size(m)
  107. }
  108. func (m *CompanyObjStatisticSetRequest) XXX_DiscardUnknown() {
  109. xxx_messageInfo_CompanyObjStatisticSetRequest.DiscardUnknown(m)
  110. }
  111. var xxx_messageInfo_CompanyObjStatisticSetRequest proto.InternalMessageInfo
  112. func (m *CompanyObjStatisticSetRequest) GetGardenId() int64 {
  113. if m != nil {
  114. return m.GardenId
  115. }
  116. return 0
  117. }
  118. func (m *CompanyObjStatisticSetRequest) GetObjType() int32 {
  119. if m != nil {
  120. return m.ObjType
  121. }
  122. return 0
  123. }
  124. func (m *CompanyObjStatisticSetRequest) GetTotalIncrease() int64 {
  125. if m != nil {
  126. return m.TotalIncrease
  127. }
  128. return 0
  129. }
  130. func (m *CompanyObjStatisticSetRequest) GetCid() int64 {
  131. if m != nil {
  132. return m.Cid
  133. }
  134. return 0
  135. }
  136. type CompanyObjStatisticSetReply struct {
  137. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  138. XXX_unrecognized []byte `json:"-"`
  139. XXX_sizecache int32 `json:"-"`
  140. }
  141. func (m *CompanyObjStatisticSetReply) Reset() { *m = CompanyObjStatisticSetReply{} }
  142. func (m *CompanyObjStatisticSetReply) String() string { return proto.CompactTextString(m) }
  143. func (*CompanyObjStatisticSetReply) ProtoMessage() {}
  144. func (*CompanyObjStatisticSetReply) Descriptor() ([]byte, []int) {
  145. return fileDescriptor_ade57ca5b8f3903f, []int{3}
  146. }
  147. func (m *CompanyObjStatisticSetReply) XXX_Unmarshal(b []byte) error {
  148. return xxx_messageInfo_CompanyObjStatisticSetReply.Unmarshal(m, b)
  149. }
  150. func (m *CompanyObjStatisticSetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  151. return xxx_messageInfo_CompanyObjStatisticSetReply.Marshal(b, m, deterministic)
  152. }
  153. func (m *CompanyObjStatisticSetReply) XXX_Merge(src proto.Message) {
  154. xxx_messageInfo_CompanyObjStatisticSetReply.Merge(m, src)
  155. }
  156. func (m *CompanyObjStatisticSetReply) XXX_Size() int {
  157. return xxx_messageInfo_CompanyObjStatisticSetReply.Size(m)
  158. }
  159. func (m *CompanyObjStatisticSetReply) XXX_DiscardUnknown() {
  160. xxx_messageInfo_CompanyObjStatisticSetReply.DiscardUnknown(m)
  161. }
  162. var xxx_messageInfo_CompanyObjStatisticSetReply proto.InternalMessageInfo
  163. func init() {
  164. proto.RegisterType((*CompanyGardenDecreaseRequest)(nil), "pb_v1.CompanyGardenDecreaseRequest")
  165. proto.RegisterType((*CompanyGardenDecreaseReply)(nil), "pb_v1.CompanyGardenDecreaseReply")
  166. proto.RegisterType((*CompanyObjStatisticSetRequest)(nil), "pb_v1.CompanyObjStatisticSetRequest")
  167. proto.RegisterType((*CompanyObjStatisticSetReply)(nil), "pb_v1.CompanyObjStatisticSetReply")
  168. }
  169. func init() {
  170. proto.RegisterFile("company.proto", fileDescriptor_ade57ca5b8f3903f)
  171. }
  172. var fileDescriptor_ade57ca5b8f3903f = []byte{
  173. // 232 bytes of a gzipped FileDescriptorProto
  174. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0xce, 0xcf, 0x2d,
  175. 0x48, 0xcc, 0xab, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0x48, 0x8a, 0x2f, 0x33,
  176. 0x54, 0x32, 0xe0, 0x92, 0x71, 0x86, 0x88, 0xbb, 0x27, 0x16, 0xa5, 0xa4, 0xe6, 0xb9, 0xa4, 0x26,
  177. 0x17, 0xa5, 0x26, 0x16, 0xa7, 0x06, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x09, 0x70, 0x31,
  178. 0x27, 0x67, 0xa6, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0x81, 0x98, 0x4a, 0x32, 0x5c, 0x52,
  179. 0x38, 0x74, 0x14, 0xe4, 0x54, 0x2a, 0x4d, 0x60, 0xe4, 0x92, 0x85, 0x4a, 0xfb, 0x27, 0x65, 0x05,
  180. 0x97, 0x24, 0x96, 0x64, 0x16, 0x97, 0x64, 0x26, 0x07, 0xa7, 0x96, 0xc0, 0x4c, 0x94, 0xe6, 0xe2,
  181. 0x4c, 0x07, 0x6b, 0x8c, 0x87, 0x9b, 0xcb, 0x01, 0x11, 0xf0, 0x4c, 0x11, 0x92, 0xe4, 0xe2, 0xc8,
  182. 0x4f, 0xca, 0x8a, 0x2f, 0xa9, 0x2c, 0x48, 0x95, 0x60, 0x52, 0x60, 0xd4, 0x60, 0x0d, 0x62, 0xcf,
  183. 0x4f, 0xca, 0x0a, 0xa9, 0x2c, 0x48, 0x15, 0x52, 0xe5, 0xe2, 0x2b, 0xc9, 0x2f, 0x49, 0xcc, 0x89,
  184. 0xcf, 0xcc, 0x83, 0x58, 0x28, 0xc1, 0x0c, 0xd6, 0xcc, 0x0b, 0x16, 0xf5, 0x84, 0x0a, 0xc2, 0x1c,
  185. 0xcc, 0x82, 0x70, 0xb0, 0x2c, 0x97, 0x34, 0x2e, 0x17, 0x15, 0xe4, 0x54, 0x3a, 0x89, 0x47, 0x89,
  186. 0x16, 0x14, 0xe5, 0x17, 0xa4, 0x16, 0x95, 0x54, 0xea, 0x16, 0x57, 0x16, 0x97, 0xa4, 0xe6, 0xea,
  187. 0x17, 0x24, 0xe9, 0x97, 0x19, 0x26, 0xb1, 0x81, 0x03, 0xca, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff,
  188. 0x2d, 0xb1, 0x2d, 0x12, 0x39, 0x01, 0x00, 0x00,
  189. }