Documentation ¶
Index ¶
- Variables
- type Cat
- func (*Cat) Descriptor() ([]byte, []int)deprecated
- func (x *Cat) GetArea() string
- func (x *Cat) GetBrithDay() *core.Timestamp
- func (x *Cat) GetCreateTime() *core.Timestamp
- func (x *Cat) GetDeleteTime() *core.Timestamp
- func (x *Cat) GetId() string
- func (x *Cat) GetLastFoundTime() *core.Timestamp
- func (x *Cat) GetLocation() string
- func (x *Cat) GetName() string
- func (x *Cat) GetNickName() string
- func (x *Cat) GetSex() string
- func (x *Cat) GetState() string
- func (x *Cat) GetStatus() string
- func (x *Cat) GetUpdateTime() *core.Timestamp
- func (*Cat) ProtoMessage()
- func (x *Cat) ProtoReflect() protoreflect.Message
- func (x *Cat) Reset()
- func (x *Cat) String() string
- type FamilyTree
- func (*FamilyTree) Descriptor() ([]byte, []int)deprecated
- func (x *FamilyTree) GetAncestor() []string
- func (x *FamilyTree) GetCatId() string
- func (x *FamilyTree) GetChild() []string
- func (x *FamilyTree) GetName() string
- func (x *FamilyTree) GetNickName() string
- func (x *FamilyTree) GetParent() []string
- func (x *FamilyTree) GetSex() string
- func (x *FamilyTree) GetSpouse() []string
- func (*FamilyTree) ProtoMessage()
- func (x *FamilyTree) ProtoReflect() protoreflect.Message
- func (x *FamilyTree) Reset()
- func (x *FamilyTree) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cat_cat_proto protoreflect.FileDescriptor
View Source
var File_cat_family_tree_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cat ¶
type Cat struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nickName,omitempty"` Sex string `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex,omitempty"` BrithDay *core.Timestamp `protobuf:"bytes,5,opt,name=brith_day,json=brithDay,proto3" json:"brithDay,omitempty"` Location string `protobuf:"bytes,20,opt,name=location,proto3" json:"location,omitempty"` Area string `protobuf:"bytes,21,opt,name=area,proto3" json:"area,omitempty"` LastFoundTime *core.Timestamp `protobuf:"bytes,25,opt,name=last_found_time,json=lastFoundTime,proto3" json:"lastFoundTime,omitempty"` Status string `protobuf:"bytes,50,opt,name=status,proto3" json:"status,omitempty"` State string `protobuf:"bytes,55,opt,name=state,proto3" json:"state,omitempty"` CreateTime *core.Timestamp `protobuf:"bytes,100,opt,name=create_time,json=createTime,proto3" json:"createTime,omitempty"` UpdateTime *core.Timestamp `protobuf:"bytes,101,opt,name=update_time,json=updateTime,proto3" json:"updateTime,omitempty"` DeleteTime *core.Timestamp `protobuf:"bytes,102,opt,name=delete_time,json=deleteTime,proto3" json:"deleteTime,omitempty"` // contains filtered or unexported fields }
func (*Cat) Descriptor
deprecated
func (*Cat) GetBrithDay ¶
func (*Cat) GetCreateTime ¶
func (*Cat) GetDeleteTime ¶
func (*Cat) GetLastFoundTime ¶
func (*Cat) GetLocation ¶
func (*Cat) GetNickName ¶
func (*Cat) GetUpdateTime ¶
func (*Cat) ProtoMessage ¶
func (*Cat) ProtoMessage()
func (*Cat) ProtoReflect ¶
func (x *Cat) ProtoReflect() protoreflect.Message
type FamilyTree ¶
type FamilyTree struct { CatId string `protobuf:"bytes,1,opt,name=cat_id,json=catId,proto3" json:"catId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nickName,omitempty"` Sex string `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex,omitempty"` Ancestor []string `protobuf:"bytes,10,rep,name=ancestor,proto3" json:"ancestor,omitempty"` Parent []string `protobuf:"bytes,20,rep,name=parent,proto3" json:"parent,omitempty"` Spouse []string `protobuf:"bytes,25,rep,name=spouse,proto3" json:"spouse,omitempty"` Child []string `protobuf:"bytes,30,rep,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
func (*FamilyTree) Descriptor
deprecated
func (*FamilyTree) Descriptor() ([]byte, []int)
Deprecated: Use FamilyTree.ProtoReflect.Descriptor instead.
func (*FamilyTree) GetAncestor ¶
func (x *FamilyTree) GetAncestor() []string
func (*FamilyTree) GetCatId ¶
func (x *FamilyTree) GetCatId() string
func (*FamilyTree) GetChild ¶
func (x *FamilyTree) GetChild() []string
func (*FamilyTree) GetName ¶
func (x *FamilyTree) GetName() string
func (*FamilyTree) GetNickName ¶
func (x *FamilyTree) GetNickName() string
func (*FamilyTree) GetParent ¶
func (x *FamilyTree) GetParent() []string
func (*FamilyTree) GetSex ¶
func (x *FamilyTree) GetSex() string
func (*FamilyTree) GetSpouse ¶
func (x *FamilyTree) GetSpouse() []string
func (*FamilyTree) ProtoMessage ¶
func (*FamilyTree) ProtoMessage()
func (*FamilyTree) ProtoReflect ¶
func (x *FamilyTree) ProtoReflect() protoreflect.Message
func (*FamilyTree) Reset ¶
func (x *FamilyTree) Reset()
func (*FamilyTree) String ¶
func (x *FamilyTree) String() string
Click to show internal directories.
Click to hide internal directories.