// Code generated by protoc-gen-go. DO NOT EDIT. // source: area.proto package user 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 FindAreaByParentIdReq struct { ParentId int32 `protobuf:"varint,1,opt,name=parentId,proto3" json:"parentId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FindAreaByParentIdReq) Reset() { *m = FindAreaByParentIdReq{} } func (m *FindAreaByParentIdReq) String() string { return proto.CompactTextString(m) } func (*FindAreaByParentIdReq) ProtoMessage() {} func (*FindAreaByParentIdReq) Descriptor() ([]byte, []int) { return fileDescriptor_e4d14b2d06184cbd, []int{0} } func (m *FindAreaByParentIdReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAreaByParentIdReq.Unmarshal(m, b) } func (m *FindAreaByParentIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FindAreaByParentIdReq.Marshal(b, m, deterministic) } func (m *FindAreaByParentIdReq) XXX_Merge(src proto.Message) { xxx_messageInfo_FindAreaByParentIdReq.Merge(m, src) } func (m *FindAreaByParentIdReq) XXX_Size() int { return xxx_messageInfo_FindAreaByParentIdReq.Size(m) } func (m *FindAreaByParentIdReq) XXX_DiscardUnknown() { xxx_messageInfo_FindAreaByParentIdReq.DiscardUnknown(m) } var xxx_messageInfo_FindAreaByParentIdReq proto.InternalMessageInfo func (m *FindAreaByParentIdReq) GetParentId() int32 { if m != nil { return m.ParentId } return 0 } type Area struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId int32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Longitude float32 `protobuf:"fixed32,4,opt,name=longitude,proto3" json:"longitude,omitempty"` Latitude float32 `protobuf:"fixed32,5,opt,name=latitude,proto3" json:"latitude,omitempty"` Level int32 `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty"` Sort int32 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Area) Reset() { *m = Area{} } func (m *Area) String() string { return proto.CompactTextString(m) } func (*Area) ProtoMessage() {} func (*Area) Descriptor() ([]byte, []int) { return fileDescriptor_e4d14b2d06184cbd, []int{1} } func (m *Area) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Area.Unmarshal(m, b) } func (m *Area) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Area.Marshal(b, m, deterministic) } func (m *Area) XXX_Merge(src proto.Message) { xxx_messageInfo_Area.Merge(m, src) } func (m *Area) XXX_Size() int { return xxx_messageInfo_Area.Size(m) } func (m *Area) XXX_DiscardUnknown() { xxx_messageInfo_Area.DiscardUnknown(m) } var xxx_messageInfo_Area proto.InternalMessageInfo func (m *Area) GetId() int32 { if m != nil { return m.Id } return 0 } func (m *Area) GetParentId() int32 { if m != nil { return m.ParentId } return 0 } func (m *Area) GetName() string { if m != nil { return m.Name } return "" } func (m *Area) GetLongitude() float32 { if m != nil { return m.Longitude } return 0 } func (m *Area) GetLatitude() float32 { if m != nil { return m.Latitude } return 0 } func (m *Area) GetLevel() int32 { if m != nil { return m.Level } return 0 } func (m *Area) GetSort() int32 { if m != nil { return m.Sort } return 0 } type FindAreaByParentIdReply struct { List []*Area `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FindAreaByParentIdReply) Reset() { *m = FindAreaByParentIdReply{} } func (m *FindAreaByParentIdReply) String() string { return proto.CompactTextString(m) } func (*FindAreaByParentIdReply) ProtoMessage() {} func (*FindAreaByParentIdReply) Descriptor() ([]byte, []int) { return fileDescriptor_e4d14b2d06184cbd, []int{2} } func (m *FindAreaByParentIdReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAreaByParentIdReply.Unmarshal(m, b) } func (m *FindAreaByParentIdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FindAreaByParentIdReply.Marshal(b, m, deterministic) } func (m *FindAreaByParentIdReply) XXX_Merge(src proto.Message) { xxx_messageInfo_FindAreaByParentIdReply.Merge(m, src) } func (m *FindAreaByParentIdReply) XXX_Size() int { return xxx_messageInfo_FindAreaByParentIdReply.Size(m) } func (m *FindAreaByParentIdReply) XXX_DiscardUnknown() { xxx_messageInfo_FindAreaByParentIdReply.DiscardUnknown(m) } var xxx_messageInfo_FindAreaByParentIdReply proto.InternalMessageInfo func (m *FindAreaByParentIdReply) GetList() []*Area { if m != nil { return m.List } return nil } func init() { proto.RegisterType((*FindAreaByParentIdReq)(nil), "user.FindAreaByParentIdReq") proto.RegisterType((*Area)(nil), "user.Area") proto.RegisterType((*FindAreaByParentIdReply)(nil), "user.FindAreaByParentIdReply") } func init() { proto.RegisterFile("area.proto", fileDescriptor_e4d14b2d06184cbd) } var fileDescriptor_e4d14b2d06184cbd = []byte{ // 256 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xc1, 0x4a, 0xc4, 0x30, 0x10, 0x86, 0x4d, 0x37, 0x5d, 0xed, 0x2c, 0x78, 0x18, 0x14, 0xc3, 0xae, 0x4a, 0xe9, 0xa9, 0xa7, 0x1e, 0x76, 0x4f, 0x1e, 0xf5, 0x20, 0x78, 0x93, 0xf8, 0x00, 0x12, 0xcd,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