123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: system.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type GardenIdInfo struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- GardenName string `protobuf:"bytes,2,opt,name=garden_name,json=gardenName,proto3" json:"garden_name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GardenIdInfo) Reset() { *m = GardenIdInfo{} }
- func (m *GardenIdInfo) String() string { return proto.CompactTextString(m) }
- func (*GardenIdInfo) ProtoMessage() {}
- func (*GardenIdInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_86a7260ebdc12f47, []int{0}
- }
- func (m *GardenIdInfo) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GardenIdInfo.Unmarshal(m, b)
- }
- func (m *GardenIdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GardenIdInfo.Marshal(b, m, deterministic)
- }
- func (m *GardenIdInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GardenIdInfo.Merge(m, src)
- }
- func (m *GardenIdInfo) XXX_Size() int {
- return xxx_messageInfo_GardenIdInfo.Size(m)
- }
- func (m *GardenIdInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_GardenIdInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_GardenIdInfo proto.InternalMessageInfo
- func (m *GardenIdInfo) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *GardenIdInfo) GetGardenName() string {
- if m != nil {
- return m.GardenName
- }
- return ""
- }
- type GardenIdsRequest struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GardenIdsRequest) Reset() { *m = GardenIdsRequest{} }
- func (m *GardenIdsRequest) String() string { return proto.CompactTextString(m) }
- func (*GardenIdsRequest) ProtoMessage() {}
- func (*GardenIdsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_86a7260ebdc12f47, []int{1}
- }
- func (m *GardenIdsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GardenIdsRequest.Unmarshal(m, b)
- }
- func (m *GardenIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GardenIdsRequest.Marshal(b, m, deterministic)
- }
- func (m *GardenIdsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GardenIdsRequest.Merge(m, src)
- }
- func (m *GardenIdsRequest) XXX_Size() int {
- return xxx_messageInfo_GardenIdsRequest.Size(m)
- }
- func (m *GardenIdsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GardenIdsRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GardenIdsRequest proto.InternalMessageInfo
- type GardenIdsReply struct {
- GardenIds []*GardenIdInfo `protobuf:"bytes,1,rep,name=garden_ids,json=gardenIds,proto3" json:"garden_ids"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GardenIdsReply) Reset() { *m = GardenIdsReply{} }
- func (m *GardenIdsReply) String() string { return proto.CompactTextString(m) }
- func (*GardenIdsReply) ProtoMessage() {}
- func (*GardenIdsReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_86a7260ebdc12f47, []int{2}
- }
- func (m *GardenIdsReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GardenIdsReply.Unmarshal(m, b)
- }
- func (m *GardenIdsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GardenIdsReply.Marshal(b, m, deterministic)
- }
- func (m *GardenIdsReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GardenIdsReply.Merge(m, src)
- }
- func (m *GardenIdsReply) XXX_Size() int {
- return xxx_messageInfo_GardenIdsReply.Size(m)
- }
- func (m *GardenIdsReply) XXX_DiscardUnknown() {
- xxx_messageInfo_GardenIdsReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_GardenIdsReply proto.InternalMessageInfo
- func (m *GardenIdsReply) GetGardenIds() []*GardenIdInfo {
- if m != nil {
- return m.GardenIds
- }
- return nil
- }
- func init() {
- proto.RegisterType((*GardenIdInfo)(nil), "pb_v1.GardenIdInfo")
- proto.RegisterType((*GardenIdsRequest)(nil), "pb_v1.GardenIdsRequest")
- proto.RegisterType((*GardenIdsReply)(nil), "pb_v1.GardenIdsReply")
- }
- func init() {
- proto.RegisterFile("system.proto", fileDescriptor_86a7260ebdc12f47)
- }
- var fileDescriptor_86a7260ebdc12f47 = []byte{
- // 184 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0xae, 0x2c, 0x2e,
- 0x49, 0xcd, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0x48, 0x8a, 0x2f, 0x33, 0x54,
- 0xf2, 0xe1, 0xe2, 0x71, 0x4f, 0x2c, 0x4a, 0x49, 0xcd, 0xf3, 0x4c, 0xf1, 0xcc, 0x4b,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